The Octet Molecular Representation Framework v0.8.2

net.sf.octet.query
Interface MoleculeQueryStrategy

All Superinterfaces:
ConfigurationComparator, ConformationComparator, IsomorphismTraverser
All Known Implementing Classes:
BilateralQueryStrategy, UnilateralQueryStrategy

public interface MoleculeQueryStrategy
extends IsomorphismTraverser, ConfigurationComparator, ConformationComparator

A strategy for MoleculeQueries. Concrete implementations of MoleculeQueryStrategy can be used to dynamically compose query behavior at runtime, reducing the need to subclass MoleculeQuery implementations.

Author:
Richard Apodaca
See Also:
"Strategy Pattern (GoF95)"

Nested Class Summary
 
Nested classes inherited from class net.sf.octet.traversal.IsomorphismTraverser
IsomorphismTraverser.Handler
 
Method Summary
 AtomQuery createAtomQuery(Atom atom, Molecule molecule)
          Creates an AtomQuery for atom in the context of molecule.
 
Methods inherited from interface net.sf.octet.traversal.IsomorphismTraverser
traverse
 
Methods inherited from interface net.sf.octet.query.ConfigurationComparator
compare
 
Methods inherited from interface net.sf.octet.query.ConformationComparator
compare
 

Method Detail

createAtomQuery

public AtomQuery createAtomQuery(Atom atom,
                                 Molecule molecule)
Creates an AtomQuery for atom in the context of molecule.

Parameters:
atom - the atom after which the AtomQuery will be modeled
molecule - the context of atom
Returns:
a fully-functional AtomQuery based on the properties of atom

The Octet Molecular Representation Framework v0.8.2