nl.uu.cs.treewidth.graph
Class Graph.Copier<CopiedData>

java.lang.Object
  extended by nl.uu.cs.treewidth.graph.Graph.Copier<CopiedData>
Type Parameters:
CopiedData -
All Implemented Interfaces:
Graph.Convertor<CopiedData,CopiedData>
Enclosing class:
Graph<Data>

public static class Graph.Copier<CopiedData>
extends java.lang.Object
implements Graph.Convertor<CopiedData,CopiedData>

Does NOT make a deep copy of the vertices' data.

Author:
tw team

Constructor Summary
Graph.Copier()
           
 
Method Summary
 CopiedData convert(Vertex<? extends CopiedData> old)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph.Copier

public Graph.Copier()
Method Detail

convert

public CopiedData convert(Vertex<? extends CopiedData> old)
Specified by:
convert in interface Graph.Convertor<CopiedData,CopiedData>