public static class LocalSearchSingle.Solution extends Object
Constructor and Description |
---|
LocalSearchSingle.Solution(int[] staffing,
int[] rPlus,
int[] rMinus,
double cost) |
Modifier and Type | Method and Description |
---|---|
double |
getCost()
Returns the cost of this scenario, without multiplying
by the probability mass of this scenario.
|
int[] |
getRMinus()
Returns the recourse variables for removing agents.
|
int[] |
getRPlus()
Returns the recourse variables for adding agents.
|
int[] |
getStaffing()
Returns the staffing vector.
|
String |
toString()
Returns the staffing, rPlus and rMinus vectors, followed by the cost as a String.
|
public LocalSearchSingle.Solution(int[] staffing, int[] rPlus, int[] rMinus, double cost)
public int[] getStaffing()
public int[] getRPlus()
public int[] getRMinus()
public double getCost()