public class KooleTalimApprox.Network extends Object
Modifier and Type | Field and Description |
---|---|
boolean[] |
isNotOverFlow |
boolean[] |
isOverFlow |
int[] |
lastSk |
int[][] |
pos |
int[][] |
prevSk |
int[][] |
route |
Constructor and Description |
---|
KooleTalimApprox.Network(int numTypes,
int numGroups,
int[][] route,
int[] numAgents)
Create the instance that will contain the routing data.
|
Modifier and Type | Method and Description |
---|---|
void |
fillRouting(int numTypes,
int numGroups,
int[][] route,
int[] numAgents)
Fills the routing network node ordering.
|
public int[][] route
public int[][] pos
public int[][] prevSk
public int[] lastSk
public boolean[] isOverFlow
public boolean[] isNotOverFlow
public KooleTalimApprox.Network(int numTypes, int numGroups, int[][] route, int[] numAgents)
numTypes
- the number of call types.numGroups
- the number of groupsroute
- the routing order for each call type.numAgents
- the staffing vector.public void fillRouting(int numTypes, int numGroups, int[][] route, int[] numAgents)
numTypes
- the number of call types.numGroups
- the number of agent groups.route
- a matrix of size [number of call types][route length], where
the for each call type, there is an order (list) of groups that can serve this call type.
This param can have the same structure as the matrix TypeToGroupMap from
QueuePriorityRouter.getTypeToGroupMap()
.numAgents
- the staffing vector that contains the number of agents for each group.