MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / countElement

Method countElement

include/DataSet.h:128–138  ·  view source on GitHub ↗

check if an element exists */

Source from the content-addressed store, hash-verified

126
127 /** check if an element exists */
128 int countElement(const KeyType &ID, const double Timestamp) const
129 {
130 if (!this->checkID(ID))
131 {
132 return 0;
133 }
134 else
135 {
136 return _DataStreams.at(ID).count(Timestamp);
137 }
138 }
139
140 int countElements(const KeyType &ID) const
141 {

Callers 15

getUniqueIDsMethod · 0.95
CreateGraphAndSolveFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
MaxAbsErrorFunction · 0.80
WriteDataToFileFunction · 0.80
addStateMethod · 0.80
setConstantMethod · 0.80
setVariableMethod · 0.80

Calls 2

checkIDMethod · 0.95
countMethod · 0.80

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
MaxAbsErrorFunction · 0.64