|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is the basic algorithm interface.
This interface was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
static byte |
ROUTING
Indicates a routing algorithm. |
static byte |
RWA
Indicates a routing and wavelength algorithm. |
static byte |
UNKNOWN
Indicates an unknown algorithm type. |
static byte |
WAVELENGTH
Indicates a wavelength algorithm. |
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg,
Glass net)
Configure the Centralized Algorithm. |
java.lang.Object[] |
execute(Glass net,
OpticalConnection[] routes,
java.lang.Object[] parameter)
This method executes the algorithm. |
java.util.Vector |
execute(Glass net,
java.util.Vector routes,
java.util.Vector parameter)
This method executes the algorithm. |
java.lang.String |
getName()
Returns the name of the algorithm. |
byte |
getType()
Returns the type of the algorithm. |
| Field Detail |
public static final byte UNKNOWN
public static final byte ROUTING
public static final byte WAVELENGTH
public static final byte RWA
| Method Detail |
public java.util.Vector execute(Glass net,
java.util.Vector routes,
java.util.Vector parameter)
throws AlgorithmException
net - The Net object that contains the topology.routes - The vector of the requested routes.parameter - The vector containing the parameters for the algorithm.
AlgorithmException - An AlgorithmException occured.
public java.lang.Object[] execute(Glass net,
OpticalConnection[] routes,
java.lang.Object[] parameter)
throws AlgorithmException
net - The Net object that contains the topology.routes - The array of the requested routes.parameter - The array containing the parameters for the algorithm.
AlgorithmException - An AlgorithmException occured.
public void config(com.renesys.raceway.DML.Configuration cfg,
Glass net)
throws com.renesys.raceway.DML.configException
cfg - configurationnet - The Glass object that contains the topology.
com.renesys.raceway.DML.configException - when a configuration exception occurs.public java.lang.String getName()
public byte getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||