Class VFState
java.lang.Object
org.openscience.cdk.smsd.algorithm.vflib.map.VFState
- All Implemented Interfaces:
IState
Deprecated.
SMSD has been deprecated from the CDK with a newer, more recent
version of SMSD is available at http://github.com/asad/smsd.
This class finds mapping states between query and target
molecules.
A state shares its mapping with its child states, so a child must be
backtracked before the parent is used again. The public constructor
creates a state for matching the whole query (substructure search);
VFMCSMapper uses partial states for the connected MCS search.
- Author:
- Syed Asad Rahman <asad@ebi.ac.uk>
-
Constructor Summary
ConstructorsConstructorDescriptionVFState(IQuery query, TargetProperties target) Deprecated.Creates the root state for mapping the whole query onto the target (substructure search). -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Returns this IState's atom map to its original condition.getMap()Deprecated.Returns the current mapping of query atoms onto target atoms.booleanDeprecated.Returns true if another candidate match can be found or false otherwise.booleanisDead()Deprecated.Returns true if no match will come from this IState.booleanisGoal()Deprecated.Returns true if all atoms in the query molecule have been mapped.booleanisMatchFeasible(Match match) Deprecated.Returns true if the given match will work with the current map, or false otherwise.Deprecated.Returns the next candidate match.Deprecated.Returns a state in which the atoms in match have been added to the current mapping.
-
Constructor Details
-
VFState
Deprecated.Creates the root state for mapping the whole query onto the target (substructure search).- Parameters:
query- the compiled querytarget- the target molecule
-
-
Method Details
-
backTrack
-
getMap
-
hasNextCandidate
public boolean hasNextCandidate()Deprecated.Returns true if another candidate match can be found or false otherwise.- Specified by:
hasNextCandidatein interfaceIState- Returns:
- true if another candidate mapping can be found or false otherwise.
-
isDead
-
isGoal
-
isMatchFeasible
Deprecated.Returns true if the given match will work with the current map, or false otherwise.- Specified by:
isMatchFeasiblein interfaceIState- Parameters:
match- the match to consider- Returns:
- true if the given match will work with the current map, or false otherwise.
-
nextCandidate
Deprecated.Returns the next candidate match.- Specified by:
nextCandidatein interfaceIState- Returns:
- the next candidate match.
-
nextState
Deprecated.Returns a state in which the atoms in match have been added to the current mapping.
-