edu.byu.ece.graph
Class DebugSubGraph
java.lang.Object
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
|
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 |
DEFAULT_DEPTH
public static final int DEFAULT_DEPTH
- See Also:
- Constant Field Values
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
DebugSubGraph
public DebugSubGraph()
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 -