Package org.openscience.cdk.geometry.cip
Class VisitedAtoms
java.lang.Object
org.openscience.cdk.geometry.cip.VisitedAtoms
Helper class for the
CIPTool to keep track of which atoms have
already been visited.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VisitedAtoms
public VisitedAtoms()Creates a new empty list of visitedIAtoms.
-
-
Method Details
-
isVisited
Returns true if the given atom already has been visited. -
visited
Marks the given atom as visited.- Parameters:
atom-IAtomthat is now marked as visited
-
visited
Adds all atoms from thevisitedAtomslist to the current list.- Parameters:
visitedAtoms- theVisitedAtomsfrom which all atoms are added
-