public static class MGAPriorityDelayMin.Results extends Object implements Comparable<MGAPriorityDelayMin.Results>
Constructor and Description |
---|
MGAPriorityDelayMin.Results(MGAPriorityDelayMin.PriorityRanks pr,
MGAPriorityDelayMin.Delays d,
MGAPriorityDelayMin.MinIdleAgents minAgents,
double f)
Construct the object that will contain the given routing solution and cost.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MGAPriorityDelayMin.Results r)
The sorting rule is based on the values (costs) of the solutions, with lower costs
being better (returns a positive value).
|
MGAPriorityDelayMin.Delays |
getDelays()
Returns the delay values of this solution.
|
MGAPriorityDelayMin.MinIdleAgents |
getMinIdleAgents()
Returns the minimum idle agent thresholds.
|
MGAPriorityDelayMin.PriorityRanks |
getRanks()
Returns the priority ranks of this solution.
|
double |
getValue()
Returns the value (or cost) of the solution.
|
public MGAPriorityDelayMin.Results(MGAPriorityDelayMin.PriorityRanks pr, MGAPriorityDelayMin.Delays d, MGAPriorityDelayMin.MinIdleAgents minAgents, double f)
pr
- the priority routing of this solution.d
- the delays of this solution.minAgents
- the minimum idle agent thresholds of this solution.f
- the value of the solution.public MGAPriorityDelayMin.PriorityRanks getRanks()
public MGAPriorityDelayMin.Delays getDelays()
public MGAPriorityDelayMin.MinIdleAgents getMinIdleAgents()
public double getValue()
public int compareTo(MGAPriorityDelayMin.Results r)
compareTo
in interface Comparable<MGAPriorityDelayMin.Results>
r
- the results to compare