be.ac.ulg.montefiore.run.totem.topgen.topology
Class WrapperConstants

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.topology.WrapperConstants

public final class WrapperConstants
extends java.lang.Object

Creation date: Apr 25, 2007

Author:
Jean Lepropre (lepropre@run.montefiore.ulg.ac.be), Georges Nimubona (nimubonageorges@hotmail.com)

Field Summary
static int DISTRIBUTION_BIMODAL
           
static int DISTRIBUTION_CONSTANT
           
static int DISTRIBUTION_INV_NORMAL
           
static int DISTRIBUTION_LOGISTIC
           
static int DISTRIBUTION_LOGLOGISTIC
           
static int DISTRIBUTION_LOGNORMAL
           
static int DISTRIBUTION_NORMAL
           
static int DISTRIBUTION_POISSON
           
static int DISTRIBUTION_UNIFORM_FLOAT
           
static int DISTRIBUTION_UNIFORM_INT
           
static int GRAVITY_FRICTION_DISTANCE
           
static int GRAVITY_FRICTION_DISTRIBUTION
           
static int GUI_AS_ASSIGNMENT
           
static int GUI_BOTTOM_ALPHA
           
static int GUI_BOTTOM_BETA
           
static int GUI_DISTR
           
static int GUI_DISTR_BIMODAL
           
static int GUI_DISTR_CONSTANT
           
static int GUI_DISTR_NORMAL
           
static int GUI_DISTR_POISSON
           
static int GUI_DISTR_UNIFORM_FLOAT
           
static int GUI_DISTR_UNIFORM_INT
           
static int GUI_EDGE_CONNECTION_MODEL
           
static int GUI_GRAVITY_DISTRIBUTION
           
static int GUI_GRAVITY_FRICTION
           
static int GUI_GROUPING_MODEL
           
static int GUI_INTER_BW
           
static int GUI_SYNTH_DISTR
           
static int GUI_TOP_ALPHA
           
static int GUI_TOP_BETA
           
static int METRIC_HOP_COUNT
           
static int METRIC_INV_BW
           
static int MODEL_BA1
           
static int MODEL_BA2
           
static int MODEL_GLP
           
static int MODEL_WAXMAN
           
static int TRAFFIC_MODEL_GRAVITY
           
static int TRAFFIC_MODEL_SYNTH
           
static int TYPE_AS_ONLY
           
static int TYPE_BOTTOM_UP
           
static int TYPE_ROUTER_ONLY
           
static int TYPE_TOP_DOWN
           
 
Method Summary
static int getASAssignment(java.lang.String ASAssignment)
           
static int getDistribution(java.lang.String distribution)
           
static int getEdgeConnectionModel(java.lang.String edgeConn)
           
static int getFrictionFactor(java.lang.String frictionFactor)
           
static int getGroupingModel(java.lang.String groupingModel)
           
static int getGrowthType(java.lang.String growthType)
           
static int getInterBWDist(java.lang.String dist)
           
static int getIntraBWDist(java.lang.String dist)
           
static int getMetric(java.lang.String metric)
           
static int getModel0(java.lang.String model)
           
static int getModel1(java.lang.String model)
           
static int getNodePlacement(java.lang.String nodePlacement)
           
static int getNumberOfModels(int topologyType)
          Returns the number of models according to topologyType.
static int getPrefConn(java.lang.String prefConn)
           
static java.lang.String getStrASAssignment(int ASAssignment)
           
static java.lang.String getStrDistribution(int distribution)
           
static java.lang.String getStrEdgeConnectionModel(int edgeConn)
           
static java.lang.String getStrFrictionFactor(int frictionFactor)
           
static java.lang.String getStrGroupingModel(int groupingModel)
           
static java.lang.String getStrGrowthType(int growthType)
           
static java.lang.String getStrInterBWDist(int interBWDist)
           
static java.lang.String getStrIntraBWDist(int intraBWDist)
           
static java.lang.String getStrMetric(int metric)
           
static java.lang.String getStrModel0(int model0)
           
static java.lang.String getStrModel1(int model1)
           
static java.lang.String getStrNodePlacement(int nodePlacement)
           
static java.lang.String getStrPrefConn(int prefConn)
           
static java.lang.String getStrTopologyType(int topologyType)
           
static java.lang.String getStrTrafficModel(int trafficModel)
           
static int getTopologyType(java.lang.String topologyType)
           
static int getTrafficModel(java.lang.String trafficModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_AS_ONLY

public static final int TYPE_AS_ONLY
See Also:
Constant Field Values

TYPE_ROUTER_ONLY

public static final int TYPE_ROUTER_ONLY
See Also:
Constant Field Values

TYPE_TOP_DOWN

public static final int TYPE_TOP_DOWN
See Also:
Constant Field Values

TYPE_BOTTOM_UP

public static final int TYPE_BOTTOM_UP
See Also:
Constant Field Values

MODEL_WAXMAN

public static final int MODEL_WAXMAN
See Also:
Constant Field Values

MODEL_BA1

public static final int MODEL_BA1
See Also:
Constant Field Values

MODEL_BA2

public static final int MODEL_BA2
See Also:
Constant Field Values

MODEL_GLP

public static final int MODEL_GLP
See Also:
Constant Field Values

GUI_EDGE_CONNECTION_MODEL

public static final int GUI_EDGE_CONNECTION_MODEL
See Also:
Constant Field Values

GUI_GROUPING_MODEL

public static final int GUI_GROUPING_MODEL
See Also:
Constant Field Values

GUI_AS_ASSIGNMENT

public static final int GUI_AS_ASSIGNMENT
See Also:
Constant Field Values

GUI_INTER_BW

public static final int GUI_INTER_BW
See Also:
Constant Field Values

GUI_TOP_ALPHA

public static final int GUI_TOP_ALPHA
See Also:
Constant Field Values

GUI_TOP_BETA

public static final int GUI_TOP_BETA
See Also:
Constant Field Values

GUI_BOTTOM_ALPHA

public static final int GUI_BOTTOM_ALPHA
See Also:
Constant Field Values

GUI_BOTTOM_BETA

public static final int GUI_BOTTOM_BETA
See Also:
Constant Field Values

GUI_SYNTH_DISTR

public static final int GUI_SYNTH_DISTR
See Also:
Constant Field Values

GUI_GRAVITY_FRICTION

public static final int GUI_GRAVITY_FRICTION
See Also:
Constant Field Values

GUI_GRAVITY_DISTRIBUTION

public static final int GUI_GRAVITY_DISTRIBUTION
See Also:
Constant Field Values

GUI_DISTR

public static final int GUI_DISTR
See Also:
Constant Field Values

GUI_DISTR_BIMODAL

public static final int GUI_DISTR_BIMODAL
See Also:
Constant Field Values

GUI_DISTR_CONSTANT

public static final int GUI_DISTR_CONSTANT
See Also:
Constant Field Values

GUI_DISTR_NORMAL

public static final int GUI_DISTR_NORMAL
See Also:
Constant Field Values

GUI_DISTR_POISSON

public static final int GUI_DISTR_POISSON
See Also:
Constant Field Values

GUI_DISTR_UNIFORM_FLOAT

public static final int GUI_DISTR_UNIFORM_FLOAT
See Also:
Constant Field Values

GUI_DISTR_UNIFORM_INT

public static final int GUI_DISTR_UNIFORM_INT
See Also:
Constant Field Values

METRIC_HOP_COUNT

public static final int METRIC_HOP_COUNT
See Also:
Constant Field Values

METRIC_INV_BW

public static final int METRIC_INV_BW
See Also:
Constant Field Values

TRAFFIC_MODEL_SYNTH

public static final int TRAFFIC_MODEL_SYNTH
See Also:
Constant Field Values

TRAFFIC_MODEL_GRAVITY

public static final int TRAFFIC_MODEL_GRAVITY
See Also:
Constant Field Values

DISTRIBUTION_BIMODAL

public static final int DISTRIBUTION_BIMODAL
See Also:
Constant Field Values

DISTRIBUTION_CONSTANT

public static final int DISTRIBUTION_CONSTANT
See Also:
Constant Field Values

DISTRIBUTION_NORMAL

public static final int DISTRIBUTION_NORMAL
See Also:
Constant Field Values

DISTRIBUTION_POISSON

public static final int DISTRIBUTION_POISSON
See Also:
Constant Field Values

DISTRIBUTION_UNIFORM_FLOAT

public static final int DISTRIBUTION_UNIFORM_FLOAT
See Also:
Constant Field Values

DISTRIBUTION_UNIFORM_INT

public static final int DISTRIBUTION_UNIFORM_INT
See Also:
Constant Field Values

DISTRIBUTION_INV_NORMAL

public static final int DISTRIBUTION_INV_NORMAL
See Also:
Constant Field Values

DISTRIBUTION_LOGISTIC

public static final int DISTRIBUTION_LOGISTIC
See Also:
Constant Field Values

DISTRIBUTION_LOGLOGISTIC

public static final int DISTRIBUTION_LOGLOGISTIC
See Also:
Constant Field Values

DISTRIBUTION_LOGNORMAL

public static final int DISTRIBUTION_LOGNORMAL
See Also:
Constant Field Values

GRAVITY_FRICTION_DISTANCE

public static final int GRAVITY_FRICTION_DISTANCE
See Also:
Constant Field Values

GRAVITY_FRICTION_DISTRIBUTION

public static final int GRAVITY_FRICTION_DISTRIBUTION
See Also:
Constant Field Values
Method Detail

getNumberOfModels

public static int getNumberOfModels(int topologyType)
Returns the number of models according to topologyType.

Parameters:
topologyType - A type of topology.
Returns:
The number of models.

getStrASAssignment

public static java.lang.String getStrASAssignment(int ASAssignment)

getASAssignment

public static int getASAssignment(java.lang.String ASAssignment)

getStrDistribution

public static java.lang.String getStrDistribution(int distribution)

getDistribution

public static int getDistribution(java.lang.String distribution)

getStrEdgeConnectionModel

public static java.lang.String getStrEdgeConnectionModel(int edgeConn)

getEdgeConnectionModel

public static int getEdgeConnectionModel(java.lang.String edgeConn)

getStrFrictionFactor

public static java.lang.String getStrFrictionFactor(int frictionFactor)

getFrictionFactor

public static int getFrictionFactor(java.lang.String frictionFactor)

getStrGroupingModel

public static java.lang.String getStrGroupingModel(int groupingModel)

getGroupingModel

public static int getGroupingModel(java.lang.String groupingModel)

getStrGrowthType

public static java.lang.String getStrGrowthType(int growthType)

getGrowthType

public static int getGrowthType(java.lang.String growthType)

getStrInterBWDist

public static java.lang.String getStrInterBWDist(int interBWDist)

getInterBWDist

public static int getInterBWDist(java.lang.String dist)

getStrIntraBWDist

public static java.lang.String getStrIntraBWDist(int intraBWDist)

getIntraBWDist

public static int getIntraBWDist(java.lang.String dist)

getStrMetric

public static java.lang.String getStrMetric(int metric)

getMetric

public static int getMetric(java.lang.String metric)

getStrModel0

public static java.lang.String getStrModel0(int model0)

getModel0

public static int getModel0(java.lang.String model)

getStrModel1

public static java.lang.String getStrModel1(int model1)

getModel1

public static int getModel1(java.lang.String model)

getStrNodePlacement

public static java.lang.String getStrNodePlacement(int nodePlacement)

getNodePlacement

public static int getNodePlacement(java.lang.String nodePlacement)

getStrPrefConn

public static java.lang.String getStrPrefConn(int prefConn)

getPrefConn

public static int getPrefConn(java.lang.String prefConn)

getStrTopologyType

public static java.lang.String getStrTopologyType(int topologyType)

getTopologyType

public static int getTopologyType(java.lang.String topologyType)

getStrTrafficModel

public static java.lang.String getStrTrafficModel(int trafficModel)

getTrafficModel

public static int getTrafficModel(java.lang.String trafficModel)


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.