edu.gwu.csd.algorithm.util
Class PathCreator
java.lang.Object
|
+--edu.gwu.csd.algorithm.util.PathCreator
- public class PathCreator
- extends java.lang.Object
This class generates a path out of a route. If ressources will be created
when necessary.
This class 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.
- Author:
- borchert
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathCreator
public PathCreator()
createPath
public static void createPath(OpticalConnection conn,
boolean switching)
- This method creates the optical path out of a list of vectors.
- Parameters:
conn - Optical connection that contains the route.switching - Should wavelengthswitching be allowed.
getFiberVector
private static java.util.Vector getFiberVector(OpticalConnection conn)
- This method creates the route of fibers for the optical path.
- Parameters:
conn - The Connection object that contains the path.
- Returns:
- A vector containing the fibers.