@TestClass(value="org.openscience.cdk.smsd.algorithm.vflib.VFLibTest") public interface IState
Modifier and Type | Method and Description |
---|---|
void |
backTrack()
Returns this IState's atom map to its original condition.
|
Map<INode,IAtom> |
getMap()
Returns the current mapping of query atoms onto target atoms.
|
boolean |
hasNextCandidate()
Returns true if another candidate match can be found or
false otherwise.
|
boolean |
isDead()
Returns true if no match will come from this IState.
|
boolean |
isGoal()
Returns true if all atoms in the query molecule have been
mapped.
|
boolean |
isMatchFeasible(Match match)
Returns true if the given match will work with the current
map, or false otherwise.
|
Match |
nextCandidate()
Returns the next candidate match.
|
IState |
nextState(Match match)
Returns a state in which the atoms in match have been
added to the current mapping.
|
Map<INode,IAtom> getMap()
boolean hasNextCandidate()
Match nextCandidate()
boolean isMatchFeasible(Match match)
match
- the match to considerboolean isGoal()
boolean isDead()
IState nextState(Match match)
match
- the match to consider.void backTrack()