edu.byu.ece.graph
Class DebugSubGraph

java.lang.Object
  extended by edu.byu.ece.graph.DebugSubGraph

public class DebugSubGraph
extends java.lang.Object

Allows the user to create a Graph representing a portion of an EdifCell based on a specific EdifCellInstance in that EdifCell.

Author:
Brian Pratt

Field Summary
static boolean DEBUG
           
static int DEFAULT_DEPTH
           
 
Constructor Summary
DebugSubGraph()
           
 
Method Summary
static void addNeighbors(java.lang.Object node, int depth, BasicGraph graph, java.util.Collection neighbors, boolean pred, boolean succ)
           
static java.util.Collection getNeighbors(EdifCellInstance eci, int depth, BasicGraph graph, boolean bidirectional)
           
static AbstractEdifGraph getSubGraph(java.lang.String eciName, int depth, EdifCell cell, boolean bidirectional, boolean flatten)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DEPTH

public static final int DEFAULT_DEPTH
See Also:
Constant Field Values

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

DebugSubGraph

public DebugSubGraph()
Method Detail

addNeighbors

public static void addNeighbors(java.lang.Object node,
                                int depth,
                                BasicGraph graph,
                                java.util.Collection neighbors,
                                boolean pred,
                                boolean succ)

getNeighbors

public static java.util.Collection getNeighbors(EdifCellInstance eci,
                                                int depth,
                                                BasicGraph graph,
                                                boolean bidirectional)

getSubGraph

public static AbstractEdifGraph getSubGraph(java.lang.String eciName,
                                            int depth,
                                            EdifCell cell,
                                            boolean bidirectional,
                                            boolean flatten)
                                     throws InvalidEdifNameException
Throws:
InvalidEdifNameException

main

public static void main(java.lang.String[] args)
Parameters:
args -