public static class MGAPriorityDelayMin.PriorityRanks extends Object
Constructor and Description |
---|
MGAPriorityDelayMin.PriorityRanks(int numTypes,
int numGroups)
Create an empty priority rule.
|
MGAPriorityDelayMin.PriorityRanks(int numTypes,
int numGroups,
double[][] ranksTG,
double[][] ranksGT)
Create the priority rules from the ranksTG and ranksGT parameters.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Set<Integer>> |
getGTPriority(int group)
Get the list of preference of this agent group.
|
double[][] |
getRanksGT()
Create the ranksGT matrix from the priorities.
|
double[][] |
getRanksTG()
Create the ranksTG matrix from the priorities.
|
ArrayList<Set<Integer>> |
getTGPriority(int callType)
Get the list of preference of this call type.
|
void |
setGTPriority(int group,
ArrayList<Set<Integer>> p)
Set the list of preference of this agent group.
|
void |
setTGPriority(int callType,
ArrayList<Set<Integer>> p)
Set the list of preference of this call type.
|
public MGAPriorityDelayMin.PriorityRanks(int numTypes, int numGroups)
setTGPriority(int, java.util.ArrayList<java.util.Set<java.lang.Integer>>)
and setGTPriority(int, java.util.ArrayList<java.util.Set<java.lang.Integer>>)
.numTypes
- the number of call types.numGroups
- the number of agent groups.public MGAPriorityDelayMin.PriorityRanks(int numTypes, int numGroups, double[][] ranksTG, double[][] ranksGT)
numTypes
- the number of call types.numGroups
- the number of agent groups.ranksTG
- the ranksTG for agent's pref routing.ranksGT
- the ranksGT for agent's pref routing.public void setTGPriority(int callType, ArrayList<Set<Integer>> p)
callType
- the call type to set.p
- the priority list.public void setGTPriority(int group, ArrayList<Set<Integer>> p)
group
- the agent group to set.p
- the priority list.public ArrayList<Set<Integer>> getTGPriority(int callType)
callType
- the call type.public ArrayList<Set<Integer>> getGTPriority(int group)
group
- the agent group.public double[][] getRanksTG()
public double[][] getRanksGT()