edu.iastate.metnet.graphmodel
Class CategoryEncoder

java.lang.Object
  extended by edu.iastate.metnet.graphmodel.CategoryEncoder

public class CategoryEncoder
extends java.lang.Object


Field Summary
(package private) static java.util.Hashtable hash
          unique identifier for every graph element
(package private) static org.apache.log4j.Logger logger
          log4j facility
 
Constructor Summary
CategoryEncoder()
           
 
Method Summary
static java.lang.String encode(org.jgraph.JGraph graph, java.lang.Object[] cells)
          encode the graph by encoding vertices and edges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility


hash

static transient java.util.Hashtable hash
unique identifier for every graph element

Constructor Detail

CategoryEncoder

public CategoryEncoder()
Method Detail

encode

public static java.lang.String encode(org.jgraph.JGraph graph,
                                      java.lang.Object[] cells)
encode the graph by encoding vertices and edges

Parameters:
graph - the graph to be encoded
cells - the cells
Returns:
the encoded bitstream