Package com.dna.jopt.member.bucket.route
Class LogicEntityRouteComparators
java.lang.Object
com.dna.jopt.member.bucket.route.LogicEntityRouteComparators
The Class LogicEntityRouteComparators is a collection of different
comparators for routes.
- Since:
- Sep 27, 2019
- Version:
- Sep 27, 2019
- Author:
- Jens Richter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator<ILogicEntityRoute>
The Constant AVERAGECOSTANDUTILIZATION.static final Comparator<ILogicEntityRoute>
static final Comparator<ILogicEntityRoute>
The Constant DUTYHOURSSTART. -
Method Summary
-
Field Details
-
CONSTRAINT_ID
-
DUTYHOURSSTART
The Constant DUTYHOURSSTART. Can be used to sort routes by theirIWorkingHours
start. -
AVERAGECOSTANDUTILIZATION
The Constant AVERAGECOSTANDUTILIZATION. Can be used to sort routes by their average cost utilization start. We calculate the average cost per node divided by the utilization. If utilization is zero the solution is regarded as worse than a solution that is carrying nodes.Attention: This is not necessarily true, as also empty routes make sense if the number of resources is much higher than needed for the whole job.
-