1 #ifndef SGM_MC_EDGE_HH_
2 #define SGM_MC_EDGE_HH_
43 : constrainedFromID(constrainedFromID)
44 , constrainedToID(constrainedToID)
84 clone(
void )
const = 0;
102 remap(
const Match & old2newIndexMapping,
const size_t unmatchedIndex = UINT_MAX ) = 0;
159 :
MC_Edge((size_t)INT_MAX,(size_t)INT_MAX)
177 :
MC_Edge(constrainedFromID,constrainedToID)
201 const Match & match )
const
251 remap(
const Match & old2newIndexMapping,
const size_t unmatchedIndex = UINT_MAX )
257 if (old2newIndexMapping.at(this->constrainedFromID) == unmatchedIndex
362 :
MC_Edge((size_t)INT_MAX,(size_t)INT_MAX)
372 :
MC_Edge(constrainedFromID, constrainedToID)
384 :
MC_Edge( constrainedFromID, constrainedToID )
385 , edgeLabels( edgeLabels )
398 :
MC_Edge( constrainedFromID, constrainedToID )
399 , edgeLabels( edgeLabels )
400 , compareType( compareType )
434 const Match & match )
const
438 match.at(this->constrainedFromID)
441 match.at(this->constrainedFromID)
445 if (curEdge == edgeEnd) {
464 bool allFound =
true;
465 for( ; allFound && curEdge != edgeEnd; ++curEdge ) {
483 bool allNotFound =
true;
484 for( ; allNotFound && curEdge != edgeEnd; ++curEdge ) {
505 if (l->compare(label)==0)
541 remap(
const Match & old2newIndexMapping,
const size_t unmatchedIndex = UINT_MAX )
547 if (old2newIndexMapping.at(this->constrainedFromID) == unmatchedIndex
580 for (LabelSet::const_iterator l=this->
edgeLabels.begin();