All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tw.edu.ncnu.im.cnclab.Algor.ResidualGraph

java.lang.Object
   |
   +----tw.edu.ncnu.im.cnclab.Algor.Algorithm
           |
           +----tw.edu.ncnu.im.cnclab.Algor.ResidualGraph

public class ResidualGraph
extends Algorithm
The ResidualGraph class is used to generate the resiudal graph of this graph.

Version:
0.4 Jul 8, 1999
Author:
Ding-Yi Chen

Variable Index

 o EDGE

Constructor Index

 o ResidualGraph()

Method Index

 o algorImpl()
Implementation of this algorithm.
 o setArg(Object[])
Set arguments from the argument list.

Variables

 o EDGE
 public static final Color EDGE

Constructors

 o ResidualGraph
 public ResidualGraph()

Methods

 o setArg
 protected void setArg(Object args[]) throws IllegalArgumentException
Set arguments from the argument list.

Valid args: Object[]{Integer(int sourceNode),Integer(int sinkNode)}

Parameters:
args - The list of arguments.
Throws: IllegalArgumentException
Illegal argument defined.
Overrides:
setArg in class Algorithm
 o algorImpl
 protected Object algorImpl()
Implementation of this algorithm.

Returns:
The residual graph of graph.
Overrides:
algorImpl in class Algorithm

All Packages  Class Hierarchy  This Package  Previous  Next  Index