public class MatchingAllAlgBackTrackingBFImpl extends MatchingAlgAbstract implements MatchingAllAlg
Modifier and Type | Field and Description |
---|---|
protected boolean |
computeOnlyAllOptMappings |
Constructor and Description |
---|
MatchingAllAlgBackTrackingBFImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<MatchMapping> |
getAllOptimalMapping(EGraph g1,
EGraph g2) |
MatchMapping |
getOptimalMapping(EGraph g1,
EGraph g2) |
boolean |
isComputeOnlyAllOptMappings() |
protected void |
recurse(java.util.List<ENode> sources,
java.util.List<ENode> targets,
MatchMapping mapping,
java.util.List<MatchMapping> mappings,
int minCost) |
void |
setComputeOnlyAllOptMappings(boolean computeOnlyAllOptMappings) |
addMappingOnlyIfOpt, cloneMappingAndAddTo, getCostStrategy, getCriteria, getHeuristicfunction, getNodesAllowedToMap, isValid, matchDummyStartEndAndUpdateMapping, matchOtherLabels, setCostFunction, setCriteria, setHeuristicfunction, setMatchingLabelSet, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCostStrategy, setCostFunction, setMatchingLabelSet
public boolean isComputeOnlyAllOptMappings()
public void setComputeOnlyAllOptMappings(boolean computeOnlyAllOptMappings)
public java.util.List<MatchMapping> getAllOptimalMapping(EGraph g1, EGraph g2)
getAllOptimalMapping
in interface MatchingAllAlg
public MatchMapping getOptimalMapping(EGraph g1, EGraph g2)
getOptimalMapping
in interface MatchingAlg
getOptimalMapping
in class MatchingAlgAbstract
protected void recurse(java.util.List<ENode> sources, java.util.List<ENode> targets, MatchMapping mapping, java.util.List<MatchMapping> mappings, int minCost)