|
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.AllCyclesMoleculeQuery
Queries the set of all cycles in a Molecule. AllCyclesMoleculeQuery
can be used with any instance of CycleTraverser to implement
custom cycle-perception strategies. HanserCycleTraverser is used by
default.
| Constructor Summary | |
AllCyclesMoleculeQuery()
Constructs a fully-functional AllCyclesMoleculeQuery that uses
a HanserCycleTraverser for cycle perception. |
|
AllCyclesMoleculeQuery(CycleTraverser traverser)
Constructs a fully-functional AllCyclesMoleculequery that delegates
cycle perception to traverser. |
|
| Method Summary | |
int |
countMatches(Molecule molecule)
Returns the number of non-degenerate occurrences of this query in the specified Molecule. |
AtomGraphCollection |
getMatches(Molecule molecule)
Returns a mapping of all occurrences of this query onto the specified
Molecule. |
boolean |
match(Molecule molecule)
Returns true if this MoleculeQuery matches molecule,
or false otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllCyclesMoleculeQuery()
AllCyclesMoleculeQuery that uses
a HanserCycleTraverser for cycle perception.
public AllCyclesMoleculeQuery(CycleTraverser traverser)
AllCyclesMoleculequery that delegates
cycle perception to traverser.
traverser - the CycleTraverser that will be used for cycle
perception| Method Detail |
public boolean match(Molecule molecule)
MoleculeQuerytrue if this MoleculeQuery matches molecule,
or false otherwise.
match in interface MoleculeQuerymolecule - the Molecule to query
true if a match was found, or false otherwisepublic int countMatches(Molecule molecule)
MoleculeQueryMolecule.
countMatches in interface MoleculeQuerymolecule - the Molecule to query
moleculepublic AtomGraphCollection getMatches(Molecule molecule)
MoleculeQuery
Molecule.
getMatches in interface MoleculeQuerymolecule - the Molecule to query
molecule
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||