|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbcds.phison.sim.SimParams
public class SimParams
Parameters that the user can pass to the simulator. Basically, a SimParams instance stores the values processed by ArgsParser in Sim.java. An instance of this class should be considered read-only.
Field Summary | |
---|---|
java.lang.String[] |
argv
The user-provided list of command-line arguments. |
double |
capmult
|
Consts.COST_TYPE |
costtype
|
int |
cur_rep
The current repetition number. |
java.util.Set<Consts.DEBUG> |
debug
Set flags which might be used for debugging/extra verbosity. |
java.lang.String |
dtypes_file
Name of file containing demand types definition. |
java.lang.String |
env_file
Name of file containing environment values for processing modules. |
boolean |
iep_only
Only process connection requests where both nodes are in iepairs. |
java.lang.String |
iepairs_file
Name of the file containing the list of ingress and egress nodes. |
boolean |
load_std_modules
Autoload "standard" processing modules. |
int |
maxconn
|
java.lang.Integer |
maxtime
|
java.lang.String |
mod_prefixes
Module name prefixes. |
java.lang.String |
modules
A comma-separated list of processing modules. |
int |
num_rep
Number of repetitions/replicas. |
int |
num_workers
Number of worker threads to be created. |
java.lang.Integer |
pl_limit
opt_pl_limit: maximum acceptable the path length. |
boolean |
quiet
Whether to print some extra messages, or be completely quiet. |
java.lang.String |
ra
|
java.lang.String |
ra_prefixes
Routing algorithms' name prefixes. |
java.lang.String |
rep_out_file
File name where stdout will be sent, especially when num_workers is greater than 1. |
java.lang.String |
st_exporters
A comma-separated list of statistics exporters. |
java.lang.String |
topol_file
|
java.lang.String |
topol_name
|
Consts.TRAF_TYPE |
traf_type
|
java.lang.String |
trf_file
Name of file containing "traffic" (in fact, events) in the .trf format. |
java.lang.String |
zonemap_file
Name of the file containing the definition of "zones" within the topology. |
Constructor Summary | |
---|---|
SimParams()
Default constructor. |
|
SimParams(SimParams other)
Copy constructor (shallow). |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String ra
public Consts.TRAF_TYPE traf_type
public java.lang.String topol_file
public java.lang.String topol_name
public double capmult
public int maxconn
public java.lang.Integer maxtime
public Consts.COST_TYPE costtype
public java.lang.String zonemap_file
public java.lang.String iepairs_file
IEPReader
. This field may be null.
public java.lang.String trf_file
TrafficReader
.
public java.lang.String dtypes_file
DemandTypesReader
.
This field may be null.
public java.lang.Integer pl_limit
public boolean iep_only
public java.util.Set<Consts.DEBUG> debug
public java.lang.String env_file
public java.lang.String modules
public boolean load_std_modules
public java.lang.String mod_prefixes
public java.lang.String ra_prefixes
public int num_rep
public int cur_rep
public int num_workers
public java.lang.String rep_out_file
public java.lang.String st_exporters
StatsExporter
.
public boolean quiet
public java.lang.String[] argv
Constructor Detail |
---|
public SimParams()
public SimParams(SimParams other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |