gov.nist.antd.merlin.algorithm.route.util
Class Edge

java.lang.Object
  |
  +--gov.nist.antd.merlin.algorithm.route.util.Edge

public class Edge
extends java.lang.Object

This class is the representation of an edge in the graph

 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
, rouil

Field Summary
 OpticalLink cost
          Edge cost
 Vertex dest
          Second vertex in Edge
 
Constructor Summary
Edge(Vertex dest, OpticalLink cost)
          Default constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dest

public Vertex dest
Second vertex in Edge


cost

public OpticalLink cost
Edge cost

Constructor Detail

Edge

public Edge(Vertex dest,
            OpticalLink cost)
Default constructor

Parameters:
dest - The second vertex in the edge.
cost - The cost of this edge.