Graph
Class EdgeConf

java.lang.Object
  |
  +--Graph.EdgeConf
Direct Known Subclasses:
ASEdgeConf, RouterEdgeConf

public class EdgeConf
extends java.lang.Object

EdgeConf, short for EdgeConfiguration serves as base class for further derivation, see ASEdgeConf, RouterEdgeConf etc. All information related to the semantics of the edge (such as bandwidth, delay etc) should be provided in classes that extend the EdgeConf class. This allows for a clear distinction between a Graph Edge and a Edge in your application.


Field Summary
 double bw
           
 int edgeType
           
 
Constructor Summary
EdgeConf()
           
 
Method Summary
 double getBW()
           
 int getEdgeType()
           
 void setBW(double d)
           
 void setEdgeType(int t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bw

public double bw

edgeType

public int edgeType
Constructor Detail

EdgeConf

public EdgeConf()
Method Detail

getEdgeType

public int getEdgeType()

getBW

public double getBW()

setEdgeType

public void setEdgeType(int t)

setBW

public void setBW(double d)