|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalgs.model.network.debug.CreateImage
public class CreateImage
Given a FlowNetwork object, use the DottyDebugger to represent the flow graph.
| Field Summary | |
|---|---|
protected DottyDebugger |
dd
Debugger to use, which defaults to having directed edges shown. |
| Constructor Summary | |
|---|---|
CreateImage()
|
|
| Method Summary | |
|---|---|
protected void |
assignVertices(FlowNetwork<?> fn)
Assign node entities for all nodes in the graph according to their unique indices. |
protected IGraphEntity |
get(int idx)
Get the node identified by the integer index. |
void |
outputGraph(FlowNetwork<?> fn)
Output to stdout a dotty representation without cut. |
void |
outputGraph(FlowNetwork<?> fn,
boolean includeCut)
Output to stdout a dotty representation and include the minCut. |
protected void |
set(int idx,
IGraphEntity ge)
Set the node to be associated with the integer index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DottyDebugger dd
| Constructor Detail |
|---|
public CreateImage()
| Method Detail |
|---|
public void outputGraph(FlowNetwork<?> fn)
fn - The flow network
public void outputGraph(FlowNetwork<?> fn,
boolean includeCut)
fn - the flow networkincludeCut - determine whether to include the cutprotected IGraphEntity get(int idx)
idx -
protected void set(int idx,
IGraphEntity ge)
idx - unique index valuege - graph entity to be associated with that index.protected void assignVertices(FlowNetwork<?> fn)
fn - the flow network problem.
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||