mascoptDev.algos.abstractalgos
Class GraphCopy
java.lang.Object
|
+--mascoptDev.algos.abstractalgos.GraphCopy
- public class GraphCopy
- extends Object
- Author:
- fpeix
GraphCopy
public GraphCopy(AbstractGraph g)
- Constructor
- Parameters:
g
- The graph we want to copy
setEdgeCopy
public void setEdgeCopy(boolean flag)
setVertexCopy
public void setVertexCopy(boolean flag)
setEdgeCopyValue
public void setEdgeCopyValue(boolean flag)
setVertexCopyValue
public void setVertexCopyValue(boolean flag)
setCopyAll
public void setCopyAll()
makeCopy
public void makeCopy()
- Make the copy of the graph
getCopyOfGraph
public AbstractGraph getCopyOfGraph()
- Give the copy of the graph
- Returns:
- The copy of the graph