@TestClass(value="org.openscience.cdk.ringsearch.PathTest") public class Path extends Vector
Constructor and Description |
---|
Path()
Constructs an empty path
|
Path(IAtom atom1,
IAtom atom2)
Constructs a new Path with two Atoms
|
Modifier and Type | Method and Description |
---|---|
int |
getIntersectionSize(Path other) |
static Path |
join(Path path1,
Path path2,
IAtom atom)
Joins two paths.
|
String |
toString(IAtomContainer ac) |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
@TestMethod(value="testJoin") public static Path join(Path path1, Path path2, IAtom atom)
path1
- First path to joinpath2
- Second path to joinatom
- The atom which is the joint point@TestMethod(value="testGetIntersectionSize") public int getIntersectionSize(Path other)
public String toString(IAtomContainer ac)