public class MGA2StagePriorityMin extends Object
Use a modified genetic algorithm (MGA) to optimize the routing.
Constructor and Description |
---|
MGA2StagePriorityMin() |
Modifier and Type | Method and Description |
---|---|
static void |
exportSolution(String outputFn,
CallCenter cc,
double[][] ranksTG,
double[][] ranksGT,
double[][] minIdleAgentsGT)
Exports the routing solution from this 2-stage MGA optimization to a new call center XML
parameter file.
|
static void |
main(String[] args) |
public static void exportSolution(String outputFn, CallCenter cc, double[][] ranksTG, double[][] ranksGT, double[][] minIdleAgentsGT)
outputFn
- the filename of the new XML file that will contain the routing solution.cc
- the call center model.ranksTG
- the type-to-group priority ranks.ranksGT
- the group-to-type priority ranks.minIdleAgentsGT
- the minimum idle agent thresholds (group-to-type) matrix.