@TestClass(value="org.openscience.cdk.graph.MinimalPathIteratorTest") public class MinimalPathIterator extends Object implements Iterator
Constructor and Description |
---|
MinimalPathIterator(org._3pq.jgrapht.graph.SimpleGraph g,
Object sourceVertex,
Object targetVertex)
Creates a minimal path iterator for the specified undirected graph.
|
public MinimalPathIterator(org._3pq.jgrapht.graph.SimpleGraph g, Object sourceVertex, Object targetVertex)
g
- the specified graphsourceVertex
- the start vertex for the pathstargetVertex
- the target vertex for the paths@TestMethod(value="testMinimalPathIterator") public boolean hasNext()
@TestMethod(value="testMinimalPathIterator") public Object next()
@TestMethod(value="testRemove") public void remove()