public class RoutObjFuncOccuFairness extends AbstractRoutingObjFunc
The score formula is :
The best score is 0 if the all the agent groups have the same occupancy ratio.
cc, eval, numGroups, numTypes
Constructor and Description |
---|
RoutObjFuncOccuFairness(CallCenterSim eval)
Create the objective function with weight parameters si = 1, for all agent groups.
|
RoutObjFuncOccuFairness(CallCenterSim eval,
boolean printName) |
RoutObjFuncOccuFairness(CallCenterSim eval,
double[] s)
Create the objective function with given weight value for each agent group, see the
description of the score formula in the Class description.
|
RoutObjFuncOccuFairness(CallCenterSim eval,
double[] s,
boolean printName) |
Modifier and Type | Method and Description |
---|---|
double |
getScore()
Get the score based on the last simulation.
|
void |
printFunctionName()
Print the name of the function.
|
getCallCenter, getEval, setEval
public RoutObjFuncOccuFairness(CallCenterSim eval)
eval
- the call center simulator.public RoutObjFuncOccuFairness(CallCenterSim eval, boolean printName)
public RoutObjFuncOccuFairness(CallCenterSim eval, double[] s)
eval
- the call center simulator.s
- the score weight for each agent group, see the formula. This constructor
creates a deep copy of this vector. If null, then all the score weight si = 1.public RoutObjFuncOccuFairness(CallCenterSim eval, double[] s, boolean printName)
public void printFunctionName()
AbstractRoutingObjFunc
printFunctionName
in interface RoutingObjectiveFunc
printFunctionName
in class AbstractRoutingObjFunc
public double getScore()
AbstractRoutingObjFunc
getScore
in interface RoutingObjectiveFunc
getScore
in class AbstractRoutingObjFunc