|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.inria.opengve.bridge.algorithms.common.CopyPath<V,E>
public abstract class CopyPath<V,E extends Link<V>>
This class is the bridge implememtation of path copy. By copy we means that we copy only edgeSet and vertexSet. The vertices and edges are not copied. So vertices and edges are shared between the original and is copy.
Constructor Summary | |
---|---|
CopyPath()
|
Method Summary | |
---|---|
Path<V,E> |
copyPath(Path<V,E> p)
Copy the path p. |
abstract Path<V,E> |
createPath()
Create an empty path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyPath()
Method Detail |
---|
public abstract Path<V,E> createPath()
public Path<V,E> copyPath(Path<V,E> p)
p
- the path to be copied.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |