helix.graph.algo.c3part
Class MultiGraphDebugger

java.lang.Object
  extended by helix.graph.algo.c3part.MultiGraphDebugger

public class MultiGraphDebugger
extends Object

a class for debugging multigraph


Constructor Summary
MultiGraphDebugger()
           
 
Method Summary
static int checkColors(Graph multi, String prefix, boolean fixme)
          check colors of multigraph pass null as compress to ignore compression
static int checkColors(Vertex V, Vertex U, String prefix, boolean fixme)
          check colors of edge U-V
static void fixColors(Graph multi)
          fix colors of multigraph
static void fixColors(Vertex V, Vertex U)
          fix colors of edge UV
static void printNode(Vertex V, String prefix, boolean aliasToo)
          print node
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGraphDebugger

public MultiGraphDebugger()
Method Detail

printNode

public static void printNode(Vertex V,
                             String prefix,
                             boolean aliasToo)
print node


checkColors

public static int checkColors(Vertex V,
                              Vertex U,
                              String prefix,
                              boolean fixme)
check colors of edge U-V


checkColors

public static int checkColors(Graph multi,
                              String prefix,
                              boolean fixme)
check colors of multigraph pass null as compress to ignore compression


fixColors

public static void fixColors(Vertex V,
                             Vertex U)
fix colors of edge UV


fixColors

public static void fixColors(Graph multi)
fix colors of multigraph