A
- public class PlanarCentre<A> extends AbstractLigand<A> implements Centre<A>
Constructor and Description |
---|
PlanarCentre(A first,
A second,
MutableDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Clean up the digraph
|
A |
getAtom() |
java.util.Set<A> |
getAtoms()
Access the centre atoms that define this centre.
|
java.util.List<Ligand<A>> |
getLigands()
Access the child ligands.
|
A |
getParent() |
java.lang.Boolean |
isParent(java.lang.Object atom)
Determines if the provided atom is this ligands parent.
|
Descriptor |
perceive(java.util.List<Ligand<A>> proximal,
PriorityRule<A> rule,
SignCalculator<A> calculator) |
Descriptor |
perceive(PriorityRule<A> rule,
SignCalculator<A> calculator)
Perceives the descriptor for this centre given a priority rule and a calculator for the sign of the space.
|
int |
perceiveAuxiliary(java.util.Collection<Centre<A>> centres,
PriorityRule<A> rule,
SignCalculator<A> calculator) |
void |
setParent(A atom)
Set the parent of ligand for when we are shuffling around for auxiliary descriptors.
|
void |
setProvider(ConnectionProvider<A> provider) |
java.lang.String |
toString() |
getArcs, getAuxiliary, getDepth, getDescriptor, getDistanceFromRoot, getParentArc, getProvider, getVisited, isBranching, isDuplicate, isTerminal, isVisited, reset, setAuxiliary, setDescriptor, setDuplicate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getArcs, getAuxiliary, getDepth, getDescriptor, getDistanceFromRoot, getParentArc, getVisited, isBranching, isDuplicate, isTerminal, isVisited, reset, setAuxiliary, setDescriptor
public PlanarCentre(A first, A second, MutableDescriptor descriptor)
first
- second
- descriptor
- public void setProvider(ConnectionProvider<A> provider)
setProvider
in class AbstractLigand<A>
provider
- public java.util.List<Ligand<A>> getLigands()
Ligand
getLigands
in interface Ligand<A>
getLigands
in class AbstractLigand<A>
public java.lang.String toString()
toString
in class AbstractLigand<A>
public java.lang.Boolean isParent(java.lang.Object atom)
Ligand
public java.util.Set<A> getAtoms()
Centre
public void setParent(A atom)
Ligand
public int perceiveAuxiliary(java.util.Collection<Centre<A>> centres, PriorityRule<A> rule, SignCalculator<A> calculator)
perceiveAuxiliary
in interface Centre<A>
centres
- rule
- calculator
- public Descriptor perceive(java.util.List<Ligand<A>> proximal, PriorityRule<A> rule, SignCalculator<A> calculator)
public Descriptor perceive(PriorityRule<A> rule, SignCalculator<A> calculator)
Centre