A
- public class TetrahedralCentre<A> extends AbstractLigand<A> implements Centre<A>
Constructor and Description |
---|
TetrahedralCentre(MutableDescriptor descriptor,
A atom) |
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.
|
A |
getParent() |
java.lang.Boolean |
isParent(A 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.
|
getArcs, getAuxiliary, getDepth, getDescriptor, getDistanceFromRoot, getLigands, getParentArc, getProvider, getVisited, isBranching, isDuplicate, isTerminal, isVisited, reset, setAuxiliary, setDescriptor, setDuplicate, setProvider, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getArcs, getAuxiliary, getDepth, getDescriptor, getDistanceFromRoot, getLigands, getParentArc, getVisited, isBranching, isDuplicate, isTerminal, isVisited, reset, setAuxiliary, setDescriptor
public TetrahedralCentre(MutableDescriptor descriptor, A atom)
descriptor
- atom
- public void setParent(A atom)
Ligand
public java.util.Set<A> getAtoms()
Centre
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
public java.lang.Boolean isParent(A atom)
Ligand