|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peersim.transport.TriangularMatrixParser
public class TriangularMatrixParser
Initializes static singleton E2ENetwork
by reading a trace
file containing the latency distance measured between a set of
"virtual" routers. Latency is assumed to be symmetric, so the
latency between x and y is equal to the latency to y and x.
The format of the file is as follows: all values are stored as
integers. The first value is the number of nodes considered.
The rest of the values correspond to a "strictly upper triangular
matrix" (see this
link), ordered first by row than by column.
Parameter Summary | |
---|---|
file
This configuration parameter identifies the filename of the file containing the measurements. |
|
ratio
The ratio between the time units used in the configuration file and the time units used in the Peersim simulator. |
Constructor Summary | |
---|---|
TriangularMatrixParser(java.lang.String prefix)
Read the configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Initializes static singleton E2ENetwork by reading a king data set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
file
ratio
Constructor Detail |
---|
public TriangularMatrixParser(java.lang.String prefix)
Method Detail |
---|
public boolean execute()
E2ENetwork
by reading a king data set.
execute
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |