Graph
Class ASNodeConf

java.lang.Object
  |
  +--Graph.NodeConf
        |
        +--Graph.ASNodeConf

public final class ASNodeConf
extends NodeConf

provides Autonomous System (AS) level attributes to a Node


Constructor Summary
ASNodeConf()
           
ASNodeConf(int asType)
           
ASNodeConf(int x, int y, int z)
           
ASNodeConf(int x, int y, int z, int type)
           
ASNodeConf(int asType, Topology routerT)
           
ASNodeConf(Topology t)
           
 
Method Summary
 Topology getTopology()
           
 int getType()
           
 void setASIDForTopology(int asID)
          Helper function for TopDownHier Model, basically go thru subgraph (routers) of this AS node, and assign each member router this as id.
 void setTopology(Topology t, int asID)
           
 void setType(int t)
           
 
Methods inherited from class Graph.NodeConf
getCost, getNodeType, getX, getY, getZ, setCoordinates, setCost, setNodeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASNodeConf

public ASNodeConf()

ASNodeConf

public ASNodeConf(int x,
                  int y,
                  int z)

ASNodeConf

public ASNodeConf(int x,
                  int y,
                  int z,
                  int type)

ASNodeConf

public ASNodeConf(int asType)

ASNodeConf

public ASNodeConf(int asType,
                  Topology routerT)

ASNodeConf

public ASNodeConf(Topology t)
Method Detail

getType

public int getType()

getTopology

public Topology getTopology()

setType

public void setType(int t)

setTopology

public void setTopology(Topology t,
                        int asID)

setASIDForTopology

public void setASIDForTopology(int asID)
Helper function for TopDownHier Model, basically go thru subgraph (routers) of this AS node, and assign each member router this as id.