|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.App.Worm.AS
An (abstract representation of an) Autonomous System.
| Field Summary | |
java.util.LinkedList |
adjacencyList
Adjacencies with other ASs. |
int |
asNumber
AS number. |
java.util.LinkedList |
borderRouterList
List of all border routers in this AS that occur in the network level model. |
int |
index
Index in ASGraph array. |
java.util.LinkedList |
susceptibleHostList
List of all susceptible hosts in this AS that occur in the network level model. |
int |
triggeredInfections
Number of infections that have been triggered in the network level model so far. |
WormEpidemicState |
wormModel
Worm epidemic state in this AS. |
WormTrafficState |
wormTraffic
Worm-induced traffic state in this AS. |
| Constructor Summary | |
AS(ASGraph asGraph)
|
|
| Method Summary | |
float |
getNumScanning()
Get number of hosts in this AS that are scanning and whose scans reach the outside. |
float |
getScanPermeability()
Get fraction of scans from outside that will permeate the gateways and reach the inside of the AS. |
void |
init(int _index)
Set index. |
void |
output()
For now: do nothing. |
java.lang.String |
toString()
|
void |
triggerInfections(int numNewInfections)
Signal the network model about new infections in hosts that are modeled at the network level. |
void |
updateBorderRouters(float scanRatePerRouter)
Update the scan rate seen by registered border routers at the network level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int index
public int asNumber
public java.util.LinkedList adjacencyList
public java.util.LinkedList susceptibleHostList
public java.util.LinkedList borderRouterList
public int triggeredInfections
public WormEpidemicState wormModel
public WormTrafficState wormTraffic
| Constructor Detail |
public AS(ASGraph asGraph)
| Method Detail |
public void init(int _index)
public void output()
public void triggerInfections(int numNewInfections)
public void updateBorderRouters(float scanRatePerRouter)
public float getNumScanning()
public float getScanPermeability()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||