etomica.nbr
Class CriterionMolecularNonAdjacent
java.lang.Object
etomica.nbr.CriterionAdapter
etomica.nbr.CriterionMolecular
etomica.nbr.CriterionMolecularNonAdjacent
- All Implemented Interfaces:
- NeighborCriterion, Serializable
public final class CriterionMolecularNonAdjacent
- extends CriterionMolecular
Pair criterion that judges whether two atoms are or are not in the same
molecule, and whether or not they are separated by a minimum number of bonds.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
accept(IAtomList pair)
Returns false if pair is/isn't in same molecule (depending on setting
of intraMolecular); if matches this criterion, return value will be
that given by any subCriterion. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CriterionMolecularNonAdjacent
public CriterionMolecularNonAdjacent(NeighborCriterion criterion)
accept
public boolean accept(IAtomList pair)
- Description copied from class:
CriterionMolecular
- Returns false if pair is/isn't in same molecule (depending on setting
of intraMolecular); if matches this criterion, return value will be
that given by any subCriterion.
- Specified by:
accept in interface NeighborCriterion- Overrides:
accept in class CriterionMolecular