public class ScenariosParams extends Object
ScenarioDataParams
.
Each scenario is defined by:
The probability masses of all scenarios must sum up to 1.
Modifier and Type | Field and Description |
---|---|
double |
chanceConstraintProb
Represents the chance constraint probability to satisfy the scenarios.
|
List<Double> |
minusCost
This list contains the recourse cost of removing one agent.
|
double |
minusCostMult
The penalty cost multiplier for removing an agent as a recourse action.
|
int |
numScenarios
The number of scenarios.
|
List<Double> |
plusCost
This list contains the recourse cost of adding one agent.
|
double |
plusCostMult
The penalty cost multiplier for adding an agent as a recourse action.
|
boolean |
uniformDist
Determines if the scenarios have a uniform distribution,
such that all scenarios have the same probability.
|
boolean |
useCostMult
Determines if the stochastic program should use the recourse cost
multiplier (set to
true ) or not (set to false ). |
boolean |
useRecourse
Determines if the stochastic problem uses recourse variables.
|
Constructor and Description |
---|
ScenariosParams() |
Modifier and Type | Method and Description |
---|---|
List<ScenarioDataParams> |
getScenarioList()
Returns the list of scenarios.
|
void |
setScenarioList(List<ScenarioDataParams> list)
Sets the list of scenarios.
|
public int numScenarios
getScenarioList()
.public boolean useRecourse
public boolean uniformDist
true
, then the probability mass parameter of the
scenarios will be ignored by the stochastic optimization program.
If set to false
, then during the un-marshalling of the parameters,
it will automatically set the probability mass of the scenarios to the correct value.
By default, this is set to false
.
public double chanceConstraintProb
chanceConstraintProb
scenarios.public boolean useCostMult
true
) or not (set to false
).public double plusCostMult
public double minusCostMult
public List<Double> plusCost
null
), then the recourse cost will
use the multiplier plusCostMult
.public List<Double> minusCost
null
), then the recourse cost will
use the multiplier minusCostMult
.public void setScenarioList(List<ScenarioDataParams> list)
list
- the list of scenariospublic List<ScenarioDataParams> getScenarioList()