18using std::stringstream;
30 ss <<
"nofLinks=" << nofLinks <<
"\n";
31 for (int32_t i = 0; i < nofLinks; i++) {
42 for (int32_t i = 0; i < nofLinks; i++) {
49 int32_t addedIndex = -1;
51 for (int32_t i = 0; i < nofLinks; i++) {
53 if (link == newLink) {
61 addedIndex =
fLinks.size() - 1;
73 CbmLink link(weight, index, entry, file);
void AddWeight(float weight)
virtual std::string ToString() const
Return string representation of the object.
void AddLinks(const CbmMatch &match)
const CbmLink & GetLink(int32_t i) const
int32_t GetNofLinks() const
void AddLink(const CbmLink &newLink)
std::vector< CbmLink > fLinks
CbmMatch()
Default constructor.
virtual ~CbmMatch()
Destructor.
virtual std::string ToString() const
Return string representation of the object.