|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.query.BilateralQueryStrategy
A MoleculeQueryStrategy consistent with exact structure matching.
BilateralQueryStrategy requires a reciprocal one-to-one correspondence between
all features in two Molecules.
| Nested Class Summary |
| Nested classes inherited from class net.sf.octet.traversal.IsomorphismTraverser |
IsomorphismTraverser.Handler |
| Constructor Summary | |
BilateralQueryStrategy()
Constructs a fully-functional BilateralQueryStrategy. |
|
BilateralQueryStrategy(IsomorphismTraverser traverser)
Constructs a fully functional BilateralQueryStrategy that
delegates traversal operations to traverser. |
|
| Method Summary | |
boolean |
compare(Configuration input,
Configuration model,
AtomMap map)
Compares input with model using map to
correlate Atoms between the two. |
boolean |
compare(Conformation input,
Conformation model,
AtomMap map)
Compares input to model, using the specified AtomMap
to correlate Atoms between the two. |
AtomQuery |
createAtomQuery(Atom atom,
Molecule molecule)
Creates an AtomQuery for atom in the context
of molecule. |
void |
traverse(AtomGraph input,
AtomGraph model,
IsomorphismTraverser.Handler handler)
Traverses the Atoms and AtomPairs in model
that are isomorphic with those contained in input while
forwarding traversal events to handler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BilateralQueryStrategy()
BilateralQueryStrategy.
public BilateralQueryStrategy(IsomorphismTraverser traverser)
BilateralQueryStrategy that
delegates traversal operations to traverser.
traverser - the IsomorphismTraverser to which this BilateralQueryStrategy
will delegate traversal responsibilities| Method Detail |
public AtomQuery createAtomQuery(Atom atom,
Molecule molecule)
MoleculeQueryStrategyAtomQuery for atom in the context
of molecule.
createAtomQuery in interface MoleculeQueryStrategyatom - the atom after which the AtomQuery will be modeledmolecule - the context of atom
public void traverse(AtomGraph input,
AtomGraph model,
IsomorphismTraverser.Handler handler)
IsomorphismTraverserAtoms and AtomPairs in model
that are isomorphic with those contained in input while
forwarding traversal events to handler.
traverse in interface IsomorphismTraverserinput - the AtomGraph whose elements will be compared to modelmodel - the AtomGraph whose elements that are isomorphic to
model will be traversedhandler - receives traversal events
public boolean compare(Configuration input,
Configuration model,
AtomMap map)
ConfigurationComparatorinput with model using map to
correlate Atoms between the two. Returns true if
commonality was detected, or false otherwise.
compare in interface ConfigurationComparatorinput - the Configuration whose features will be compared with those of model
using mapmodel - the reference Configurationmap - the mapping of the atoms of input onto map
public boolean compare(Conformation input,
Conformation model,
AtomMap map)
ConformationComparatorinput to model, using the specified AtomMap
to correlate Atoms between the two. Returns true if a match
was detected, or false otherwise.
compare in interface ConformationComparatorinput - the Conformation whose features will be compared with those of model
using mapmodel - the reference Conformationmap - the mapping of the atoms of input onto map
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||