SSF.App.Worm
Class ASGraph

java.lang.Object
  |
  +--SSF.App.Worm.ASGraph

public class ASGraph
extends java.lang.Object

The Internet at the AS (interdomain) level. (Abstracted representation.)


Nested Class Summary
 class ASGraph.Edge
           
 class ASGraph.OutputManager
          Not used at the moment.
 
Field Summary
 AS[] ases
          ASs
 java.util.HashMap asLookupFromNum
          Lookup table (ASN->index).
 boolean DEBUG
           
 int numASs
          Number of ASs - corresponds to: number of strata in epidemiological model.
 
Constructor Summary
ASGraph(java.lang.String topologyFile)
           
 
Method Summary
 int asnToIndex(int asn)
          Translate ASN to index in ases[].
 void closeOutputManager()
           
 void createOutputManager(boolean stdOut, boolean globalsOut, boolean doLayout, java.lang.String gmlFile, java.lang.String namFile, java.lang.String dmlFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public boolean DEBUG

numASs

public int numASs
Number of ASs - corresponds to: number of strata in epidemiological model.


ases

public AS[] ases
ASs


asLookupFromNum

public java.util.HashMap asLookupFromNum
Lookup table (ASN->index). Translate from ASN to index.

Constructor Detail

ASGraph

public ASGraph(java.lang.String topologyFile)
Parameters:
topologyFile - Adjacency list format file describing interdomain topology.
Method Detail

createOutputManager

public void createOutputManager(boolean stdOut,
                                boolean globalsOut,
                                boolean doLayout,
                                java.lang.String gmlFile,
                                java.lang.String namFile,
                                java.lang.String dmlFile)

closeOutputManager

public void closeOutputManager()

asnToIndex

public int asnToIndex(int asn)
Translate ASN to index in ases[].