mascoptDev.algos.abstractalgos
Class GraphCopy

java.lang.Object
  |
  +--mascoptDev.algos.abstractalgos.GraphCopy

public class GraphCopy
extends Object

Author:
fpeix

Constructor Summary
GraphCopy(AbstractGraph g)
          Constructor
 
Method Summary
 AbstractGraph getCopyOfGraph()
          Give the copy of the graph
 void makeCopy()
          Make the copy of the graph
 void setCopyAll()
           
 void setEdgeCopy(boolean flag)
           
 void setEdgeCopyValue(boolean flag)
           
 void setVertexCopy(boolean flag)
           
 void setVertexCopyValue(boolean flag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphCopy

public GraphCopy(AbstractGraph g)
Constructor

Parameters:
g - The graph we want to copy
Method Detail

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