public static final class PbkStaffing.LocalSearchResults extends Object
Constructor and Description |
---|
PbkStaffing.LocalSearchResults(int[] staffing,
double f,
DoubleMatrix2D sl)
Represents the results of the local search.
|
Modifier and Type | Method and Description |
---|---|
double |
getObjectiveCost()
Returns the staffing cost.
|
DoubleMatrix2D |
getServiceLevel()
Returns the service level of this solution.
|
int[] |
getStaffing()
Returns the staffing vector.
|
public PbkStaffing.LocalSearchResults(int[] staffing, double f, DoubleMatrix2D sl)
staffing
- the staffing vector. A deep copy is done.f
- the associated costsl
- the service level with this solutionpublic int[] getStaffing()
public double getObjectiveCost()
public DoubleMatrix2D getServiceLevel()