agg.convert
Class AGG2ColorGraph

java.lang.Object
  extended by agg.convert.AGG2ColorGraph

public class AGG2ColorGraph
extends java.lang.Object


Constructor Summary
AGG2ColorGraph()
          Save an AGG graph in GraphColor format.
 
Method Summary
static void exportAGG2ColorGraph(GraGra gra, java.lang.String outFileName, Type nodetype, Type edgetype)
          Export the host graph of the specified GraGra in GraphColor format.
static void exportAGG2ColorGraph(Graph graph, java.lang.String outFileName, Type nodeType, Type edgeType)
          Export the specified Graph in GraphColor format.
static boolean importColorGraph2AGG(GraGra gra, Graph graph, java.lang.String colorFileName, Type nodeType, Type edgeType)
          Import a ColorGraph which is specified by String colorFileName into the specified Graph of the specified GraGra.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGG2ColorGraph

public AGG2ColorGraph()
Save an AGG graph in GraphColor format.

Method Detail

exportAGG2ColorGraph

public static void exportAGG2ColorGraph(GraGra gra,
                                        java.lang.String outFileName,
                                        Type nodetype,
                                        Type edgetype)
Export the host graph of the specified GraGra in GraphColor format.

Parameters:
gra -
outFileName - is the full file name and must end with ".col"
nodeType -
edgeType -

exportAGG2ColorGraph

public static void exportAGG2ColorGraph(Graph graph,
                                        java.lang.String outFileName,
                                        Type nodeType,
                                        Type edgeType)
Export the specified Graph in GraphColor format.

Parameters:
graph -
outFileName - is the full file name and must end with ".col"
nodeType -
edgeType -

importColorGraph2AGG

public static boolean importColorGraph2AGG(GraGra gra,
                                           Graph graph,
                                           java.lang.String colorFileName,
                                           Type nodeType,
                                           Type edgeType)
Import a ColorGraph which is specified by String colorFileName into the specified Graph of the specified GraGra.

Parameters:
gra -
graph -
colorFileName - is the full file name and must end with ".res"