|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.webGUI.topgen.WebAppParameters
public class WebAppParameters
This class retains the choices made by the user and gives some information according to these choices.
Creation date: 2004
Constructor Summary | |
---|---|
WebAppParameters()
|
Method Summary | |
---|---|
int |
getASAssignment()
Returns the selected AS Assignment method. |
float |
getBottomAlpha()
Returns the selected value for the Alpha/p parameter for the bottom-level model. |
float |
getBottomBeta()
Returns the selected value for the Beta/q parameter for the bottom-level model. |
int |
getBottomGrowthType()
Returns the selected growth type for the bottom-level model. |
int |
getBottomHS()
Returns the selected value for the HS parameter for the bottom-level model. |
int |
getBottomLS()
Returns the selected value for the LS parameter for the bottom-level model. |
int |
getBottomM()
Returns the selected value for the M parameter for the bottom-level model. |
int |
getBottomN()
Returns the selected value for the N parameter for the bottom-level model. |
int |
getBottomNodePlacement()
Returns the selected node placement method for the bottom-level model. |
int |
getBottomPrefConn()
Returns the selected preferential connectivity method for the bottom-level model. |
int |
getEdgeConnectionModel()
Returns the selected edge connection model. |
int |
getGravityFrictionFactor()
Returns the selected gravity model friction factor. |
int |
getGravityFrictionFactorDistribution()
Returns the selected gravity model friction factor distribution. |
double |
getGravityScalingConstant()
Returns the gravity scaling constant. |
int |
getGroupingModel()
Returns the selected grouping model. |
int |
getInterBWDist()
Returns the selected inter bandwith distribution method. |
int |
getIntraBWDist()
Returns the selected intra bandwith distribution method. |
int |
getK()
Returns the selected k for the Smallest k-Degree edge connection model. |
float |
getMaxInterBW()
Returns the selected maximum for the inter bandwith distribution method. |
float |
getMaxIntraBW()
Returns the selected maximum for the intra bandwith distribution method. |
int |
getMetric()
Returns the selected metric. |
float |
getMinInterBW()
Returns the selected minimum for the inter bandwith distribution method. |
float |
getMinIntraBW()
Returns the selected minimum for the intra bandwith distribution method. |
int |
getModel0()
Returns the selected top-level model. |
int |
getModel1()
Returns the selected bottom-level model. |
int |
getNumberOfAS()
Returns the selected number of AS for the grouping method. |
int |
getNumberOfTopologies()
Returns the given number of topologies. |
int |
getNumberOfTrafficMatrices()
|
java.lang.String |
getScenarioPrefix()
Returns the prefix for the scenario XML files. |
int |
getSyntheticTrafficDistribution()
Returns the selected traffic distribution. |
float |
getTopAlpha()
Returns the selected value for the Alpha/p parameter for the top-level model. |
float |
getTopBeta()
Returns the selected value for the Beta/q parameter for the top-level model. |
int |
getTopGrowthType()
Returns the selected growth type for the top-level model. |
int |
getTopHS()
Returns the selected value for the HS parameter for the top-level model. |
int |
getTopLS()
Returns the selected value for the LS parameter for the top-level model. |
int |
getTopM()
Returns the selected value for the M parameter for the top-level model. |
int |
getTopN()
Returns the selected value for the N parameter for the top-level model. |
int |
getTopNodePlacement()
Returns the selected node placement method for the top-level model. |
java.lang.String |
getTopologyPrefix()
Returns the prefix for the topology XML files. |
int |
getTopologyType()
Returns the selected type of topology. |
int |
getTopPrefConn()
Returns the selected preferential connectivity method for the top-level model. |
double |
getTrafficBimodalCoinFlip()
Returns the coin flip of the bimodal distribution. |
double |
getTrafficBimodalMean1()
Returns the first mean of the bimodal distribution. |
double |
getTrafficBimodalMean2()
Returns the second mean of the bimodal distribution. |
double |
getTrafficBimodalStddev1()
Returns the first standard deviation of the bimodal distribution. |
double |
getTrafficBimodalStddev2()
Returns the second standard deviation of the bimodal distribution. |
double |
getTrafficConstant()
Returns the constant of the constant distribution. |
double |
getTrafficFraction()
Returns the fraction of the number of pairs of nodes that must generate traffic. |
double |
getTrafficInvNormalLambda()
|
double |
getTrafficInvNormalMu()
|
double |
getTrafficLogisticMu()
|
double |
getTrafficLogisticSigma()
|
double |
getTrafficLogLogisticMu()
|
double |
getTrafficLogLogisticSigma()
|
double |
getTrafficLogNormalMu()
|
double |
getTrafficLogNormalSigma()
|
java.lang.String |
getTrafficMatrixPrefix()
Returns the prefix for the traffic matrix XML files. |
int |
getTrafficModel()
Returns the selected traffic model. |
double |
getTrafficNormalMean()
Returns the mean of the normal distribution. |
double |
getTrafficNormalStddev()
Returns the standard deviation of the normal distribution. |
double |
getTrafficPoissonMean()
Returns the mean of the Poisson distribution. |
double |
getTrafficUniformFloatLower()
Returns the lower bound of the Uniform float distribution. |
double |
getTrafficUniformFloatUpper()
Returns the upper bound of the Uniform float distribution. |
long |
getTrafficUniformIntLower()
Returns the lower bound of the Uniform integer distribution. |
long |
getTrafficUniformIntUpper()
Returns the upper bound of the Uniform integer distribution. |
boolean |
isEnabled(int component)
Determines whether the component component of the
web-app should be enabled or not. |
boolean |
isMustBeConnected()
Returns a boolean saying that the topology must be connected or not. |
boolean |
isMustBeDualConnected()
|
boolean |
isTrafficDesired()
Returns true if traffic generation is desired. |
void |
setASAssignment(int method)
Sets the selected AS Assignment method. |
void |
setBottomAlpha(float alpha)
Sets the selected value for the Alpha/p parameter for the bottom-level model. |
void |
setBottomBeta(float beta)
Sets the selected value for the Beta/q parameter for the bottom-level model. |
void |
setBottomGrowthType(int type)
Sets the selected growth type for the bottom-level model. |
void |
setBottomHS(int bottomHS)
Sets the selected value for the HS parameter for the bottom-level model. |
void |
setBottomLS(int bottomLS)
Sets the selected value for the LS parameter for the bottom-level model. |
void |
setBottomM(int m)
Sets the selected value for the M parameter for the bottom-level model. |
void |
setBottomN(int bottomN)
Sets the selected value for the N parameter for the bottom-level model. |
void |
setBottomNodePlacement(int method)
Sets the selected node placement method for the bottom-level model. |
void |
setBottomPrefConn(int method)
Sets the selected preferential connectivity method for the bottom-level model. |
void |
setEdgeConnectionModel(int model)
Sets the selected edge connection model. |
void |
setGravityFrictionFactor(int factor)
Sets the selected gravity model friction factor. |
void |
setGravityFrictionFactorDistribution(int distribution)
Sets the selected gravity model friction factor distribution. |
void |
setGravityScalingConstant(double value)
Sets the gravity scaling constant. |
void |
setGroupingModel(int model)
Sets the selected grouping model. |
void |
setInterBWDist(int method)
Sets the selected inter bandwith distribution method. |
void |
setIntraBWDist(int method)
Sets the selected intra bandwith distribution method. |
void |
setK(int k)
Sets the selected k for the Smallest k-Degree edge connection model. |
void |
setMaxInterBW(float max)
Sets the selected maximum for the inter bandwith distribution method. |
void |
setMaxIntraBW(float max)
Sets the selected maximum for the intra bandwith distribution method. |
void |
setMetric(int metric)
Sets the selected metric. |
void |
setMinInterBW(float min)
Sets the selected minimum for the inter bandwith distribution method. |
void |
setMinIntraBW(float min)
Sets the selected minimum for the intra bandwith distribution method. |
void |
setModel0(int model)
Sets the selected top-level model. |
void |
setModel1(int model)
Sets the selected bottom-level model. |
void |
setMustBeConnected(boolean b)
Sets the fact that the topology must be connected or not. |
void |
setMustBeDualConnected(boolean mustBeDualConnected)
|
void |
setNumberOfAS(int num)
Sets the selected number of AS for the grouping method. |
void |
setNumberOfTopologies(int num)
Sets the given number of topologies. |
void |
setNumberOfTrafficMatrices(int numberOfTrafficMatrices)
|
void |
setScenarioPrefix(java.lang.String s)
Sets the prefix for the scenario XML files. |
void |
setSyntheticTrafficDistribution(int distribution)
Sets the selected traffic distribution. |
void |
setTopAlpha(float alpha)
Sets the selected value for the Alpha/p parameter for the top-level model. |
void |
setTopBeta(float beta)
Sets the selected value for the Beta/q parameter for the top-level model. |
void |
setTopGrowthType(int type)
Sets the selected growth type for the top-level model. |
void |
setTopHS(int topHS)
Sets the selected value for the HS parameter for the top-level model. |
void |
setTopLS(int topLS)
Sets the selected value for the LS parameter for the top-level model. |
void |
setTopM(int m)
Sets the selected value for the M parameter for the top-level model. |
void |
setTopN(int topN)
Sets the selected value for the N parameter for the top-level model. |
void |
setTopNodePlacement(int method)
Sets the selected node placement method for the top-level model. |
void |
setTopologyPrefix(java.lang.String s)
Sets the prefix for the topology XML files. |
void |
setTopologyType(int type)
Sets the selected type of topology. |
void |
setTopPrefConn(int method)
Sets the selected preferential connectivity method for the top-level model. |
void |
setTrafficBimodalCoinFlip(double value)
Sets the coin flip of the bimodal distribution. |
void |
setTrafficBimodalMean1(double value)
Sets the first mean of the bimodal distribution. |
void |
setTrafficBimodalMean2(double value)
Sets the second mean of the bimodal distribution. |
void |
setTrafficBimodalStddev1(double value)
Sets the first standard deviation of the bimodal distribution. |
void |
setTrafficBimodalStddev2(double value)
Sets the second standard deviation of the bimodal distribution. |
void |
setTrafficConstant(double value)
Sets the constant of the constant distribution. |
void |
setTrafficDesired(boolean b)
Enables or disables the traffic generation. |
void |
setTrafficFraction(double value)
Sets the fraction of the number of pairs of nodes that must generate traffic. |
void |
setTrafficInvNormalLambda(double trafficInvNormalLambda)
|
void |
setTrafficInvNormalMu(double trafficInvNormalMu)
|
void |
setTrafficLogisticMu(double trafficLogisticMu)
|
void |
setTrafficLogisticSigma(double trafficLogisticSigma)
|
void |
setTrafficLogLogisticMu(double trafficLogLogisticMu)
|
void |
setTrafficLogLogisticSigma(double trafficLogLogisticSigma)
|
void |
setTrafficLogNormalMu(double trafficLogNormalMu)
|
void |
setTrafficLogNormalSigma(double trafficLogNormalSigma)
|
void |
setTrafficMatrixPrefix(java.lang.String s)
Sets the prefix for the traffic matrix XML files. |
void |
setTrafficModel(int model)
Sets the selected traffic model. |
void |
setTrafficNormalMean(double value)
Sets the mean of the normal distribution. |
void |
setTrafficNormalStddev(double value)
Sets the standard deviation of the normal distribution. |
void |
setTrafficPoissonMean(double value)
Sets the mean of the Poisson distribution. |
void |
setTrafficUniformFloatLower(double value)
Sets the lower bound of the Uniform float distribution. |
void |
setTrafficUniformFloatUpper(double value)
Sets the upper bound of the Uniform float distribution. |
void |
setTrafficUniformIntLower(long value)
Sets the lower bound of the Uniform integer distribution. |
void |
setTrafficUniformIntUpper(long value)
Sets the upper bound of the Uniform integer distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebAppParameters()
Method Detail |
---|
public int getASAssignment()
public float getBottomAlpha()
public float getBottomBeta()
public int getBottomGrowthType()
public int getBottomHS()
public int getBottomLS()
public int getBottomM()
public int getBottomN()
public int getBottomNodePlacement()
public int getBottomPrefConn()
public java.lang.String getTrafficMatrixPrefix()
public int getEdgeConnectionModel()
public int getGravityFrictionFactor()
public int getGravityFrictionFactorDistribution()
public double getGravityScalingConstant()
public int getGroupingModel()
public int getInterBWDist()
public int getIntraBWDist()
public int getK()
public float getMaxInterBW()
public float getMaxIntraBW()
public int getMetric()
public float getMinInterBW()
public float getMinIntraBW()
public boolean isMustBeConnected()
public int getModel0()
public int getModel1()
public int getNumberOfAS()
public int getNumberOfTopologies()
public java.lang.String getScenarioPrefix()
public float getTopAlpha()
public float getTopBeta()
public int getTopGrowthType()
public int getTopHS()
public int getTopLS()
public int getTopM()
public int getTopN()
public int getTopNodePlacement()
public int getTopPrefConn()
public java.lang.String getTopologyPrefix()
public int getTopologyType()
public int getSyntheticTrafficDistribution()
public double getTrafficBimodalMean1()
public double getTrafficBimodalStddev1()
public double getTrafficBimodalMean2()
public double getTrafficBimodalStddev2()
public double getTrafficBimodalCoinFlip()
public double getTrafficConstant()
public double getTrafficFraction()
public int getTrafficModel()
public double getTrafficNormalMean()
public double getTrafficNormalStddev()
public double getTrafficPoissonMean()
public double getTrafficUniformFloatLower()
public double getTrafficUniformFloatUpper()
public long getTrafficUniformIntLower()
public long getTrafficUniformIntUpper()
public boolean isEnabled(int component)
component
of the
web-app should be enabled or not.
component
- A component (see constants GUI_* in WebAppConstants).
component
should be
enabled and false otherwise.public boolean isTrafficDesired()
true
if traffic generation is desired.
public void setASAssignment(int method)
public void setBottomAlpha(float alpha)
public void setBottomBeta(float beta)
public void setBottomGrowthType(int type)
public void setBottomHS(int bottomHS)
public void setBottomLS(int bottomLS)
public void setBottomM(int m)
public void setBottomN(int bottomN)
public void setBottomNodePlacement(int method)
public void setBottomPrefConn(int method)
public void setTrafficMatrixPrefix(java.lang.String s)
public void setEdgeConnectionModel(int model)
public void setGravityFrictionFactor(int factor)
public void setGravityFrictionFactorDistribution(int distribution)
public void setGravityScalingConstant(double value)
public void setGroupingModel(int model)
public void setInterBWDist(int method)
public void setIntraBWDist(int method)
public void setK(int k)
public void setMaxInterBW(float max)
public void setMaxIntraBW(float max)
public void setMetric(int metric)
public void setMinInterBW(float min)
public void setMinIntraBW(float min)
public void setMustBeConnected(boolean b)
public void setModel0(int model)
public void setModel1(int model)
public void setNumberOfAS(int num)
public void setNumberOfTopologies(int num)
public void setScenarioPrefix(java.lang.String s)
public void setTopAlpha(float alpha)
public void setTopBeta(float beta)
public void setTopGrowthType(int type)
public void setTopHS(int topHS)
public void setTopLS(int topLS)
public void setTopM(int m)
public void setTopN(int topN)
public void setTopNodePlacement(int method)
public void setTopologyPrefix(java.lang.String s)
public void setTopPrefConn(int method)
public void setTopologyType(int type)
public void setTrafficDesired(boolean b)
public void setSyntheticTrafficDistribution(int distribution)
public void setTrafficBimodalMean1(double value)
public void setTrafficBimodalStddev1(double value)
public void setTrafficBimodalMean2(double value)
public void setTrafficBimodalStddev2(double value)
public void setTrafficBimodalCoinFlip(double value)
public void setTrafficConstant(double value)
public void setTrafficFraction(double value)
public void setTrafficModel(int model)
public void setTrafficNormalMean(double value)
public void setTrafficNormalStddev(double value)
public void setTrafficPoissonMean(double value)
public void setTrafficUniformFloatLower(double value)
public void setTrafficUniformFloatUpper(double value)
public void setTrafficUniformIntLower(long value)
public void setTrafficUniformIntUpper(long value)
public int getNumberOfTrafficMatrices()
public void setNumberOfTrafficMatrices(int numberOfTrafficMatrices)
numberOfTrafficMatrices
- The numberOfTrafficMatrices to set.public boolean isMustBeDualConnected()
public void setMustBeDualConnected(boolean mustBeDualConnected)
mustBeDualConnected
- The mustBeDualConnected to set.public double getTrafficInvNormalLambda()
public void setTrafficInvNormalLambda(double trafficInvNormalLambda)
trafficInvNormalLambda
- The trafficInvNormalLambda to set.public double getTrafficInvNormalMu()
public void setTrafficInvNormalMu(double trafficInvNormalMu)
trafficInvNormalMu
- The trafficInvNormalMu to set.public double getTrafficLogisticMu()
public void setTrafficLogisticMu(double trafficLogisticMu)
trafficLogisticMu
- The trafficLogisticMu to set.public double getTrafficLogisticSigma()
public void setTrafficLogisticSigma(double trafficLogisticSigma)
trafficLogisticSigma
- The trafficLogisticSigma to set.public double getTrafficLogLogisticMu()
public void setTrafficLogLogisticMu(double trafficLogLogisticMu)
trafficLogLogisticMu
- The trafficLogLogisticMu to set.public double getTrafficLogLogisticSigma()
public void setTrafficLogLogisticSigma(double trafficLogLogisticSigma)
trafficLogLogisticSigma
- The trafficLogLogisticSigma to set.public double getTrafficLogNormalMu()
public void setTrafficLogNormalMu(double trafficLogNormalMu)
trafficLogNormalMu
- The trafficLogNormalMu to set.public double getTrafficLogNormalSigma()
public void setTrafficLogNormalSigma(double trafficLogNormalSigma)
trafficLogNormalSigma
- The trafficLogNormalSigma to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |