Class LogicRouteCostAndViolationController
java.lang.Object
com.dna.jopt.member.bucket.route.controller.costandviolation.LogicRouteCostAndViolationController
- All Implemented Interfaces:
ILogicRouteCostAndViolationController,Serializable,Cloneable
public class LogicRouteCostAndViolationController
extends Object
implements ILogicRouteCostAndViolationController
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraintViolation(String violation) Adds a constraint violation.voidaddCost(double cost) voidaddRouteViolation(IViolation routeViolation) copy()Gets the constraint violations.doublegetCost()Gets the cost.doubledoubleGets the cost banned resource.doubleGets the cost capacity.doubledoubledoubleGets the cost distance.doubleGets the cost early.doubledoubledoubleGets the cost late.doubleGets the cost mandatory resource.doubleGets the cost max route distance.doubleGets the cost max route time.doubledoubledoubleGets the cost node type.doubleGets the cost preferred resource.doubledoubleGets the cost distance.doubledoubledoubledoubleGets the cost un preferred resource.doublegetNodeViolations(String nodeId) intGets the number of constraint violations.intintintGets the number of violations daily break.intintGets the number of violations node timewindow.intGets the number of violations node timewindow early.intGets the number of violations node timewindow late.intGets the number of violations node type.intGets the number of violations route capacity.intGets the number of violations route distance.intGets the num violations route time.intGets the number of violations useless unload all.doubledoubleintGets the total early time.intGets the total late time.doubleGets the total load violation amount.doubleGets the total time window deviation.voidputNodeViolations(List<IViolation> violations, String nodeId) voidvoidReset the violation counter.voidsetConstraintViolations(List<String> constraintViolations) Sets the constraint violations.voidsetCost(double cost) Sets the cost.voidsetCostAfterEndAnchor(double costAfterEndAnchor) voidsetCostBannedResource(double costBannedResource) Sets the cost banned resource.voidsetCostCapacity(double costCapacity) Sets the cost capacity.voidsetCostCapacityOverload(double costCapacityOverload) voidsetCostColorCapacityUsage(double costColorCapacityUsage) voidsetCostDistance(double costDistance) Sets the cost distance.voidsetCostEarly(double costEarly) Sets the cost early.voidsetCostGeoUnclustered(double costGeoUnclustered) voidsetCostInjectedRestriction(double costInjectedRestriction) voidsetCostLate(double costLate) Sets the cost late.voidsetCostMandatoryResource(double costMandatoryResource) Sets the cost mandatory resource.voidsetCostMaxRouteDistance(double costMaxRouteDistance) Sets the cost max route distance.voidsetCostMaxRouteTime(double costMaxRouteTime) Sets the cost max route time.voidsetCostMisc(double miscCost) voidsetCostMissedServiceHour(double costMissedServiceHour) voidsetCostNodeType(double costNodeType) Sets the cost node type.voidsetCostPreferredResource(double costPreferredResource) Sets the cost preferred resource.voidsetCostResourceOutOfWork(double costResourceOutOfWork) voidsetCostRouteDistancePattern(double costRouteDistancePattern) Sets the cost distance.voidsetCostRouteTime(double costRouteTime) voidsetCostStayOvertime(double costStayOvertime) voidsetCostTimeCompactness(double costTimeCompactness) voidsetCostUnPreferredResource(double costUnPreferredResource) Sets the cost un preferred resource.voidsetNodeFixCost(double nodeFixCost) voidsetNodeViolationMap(Map<String, List<IViolation>> nodeViolationMap) voidsetNodeViolations(List<IViolation> violations, String nodeId) Deprecated.voidsetNumConstraintViolations(int numConstraintViolations) Sets the number of constraint violations.voidsetNumViolationsAterEndAnchor(int numViolationsAterEndAnchor) voidsetNumViolationsColorNodeCapacity(int numViolationsColorNodeCapacity) voidsetNumViolationsDailyBreak(int numViolationsDailyBreak) Sets the number of violations daily break.voidsetNumViolationsMissedServiceHours(int numViolationsMissedServiceHours) voidsetNumViolationsNodeTimewindow(int numViolationsNodeTimewindow) Sets the number of violations node timewindow.voidsetNumViolationsNodeTimewindowEarly(int numViolationsNodeTimewindowEarly) Sets the number of violations node timewindow early.voidsetNumViolationsNodeTimewindowLate(int numViolationsNodeTimewindowLate) Sets the number of violations node timewindow late.voidsetNumViolationsNodeType(int numViolationsNodeType) Sets the number of violations node type.voidsetNumViolationsRouteCapacity(int numViolationsRouteCapacity) Sets the number of violations route capacity.voidsetNumViolationsRouteDistance(int numViolationsRouteDistance) Sets the number of violations route distance.voidsetNumViolationsRouteTime(int numViolationsRouteTime) Sets the number of violations route time.voidsetNumViolationsUselessUnloadAll(int numViolationsUselessUnloadAll) Sets the number of violations useless unload all.voidsetResourceFixCost(double costResourceFixCost) voidsetRouteViolations(List<IViolation> routeViolations) voidsetStayOutFixCost(double stayOutFixCost) voidsetTotalEarlyTime(int totalEarlyTime) Sets the total early time.voidsetTotalLateTime(int totalLateTime) Sets the total late time.voidsetTotalLoadViolationAmount(double totalLoadViolationAmount) Sets the total load violation amount.voidsetTotalTimeWindowDeviation(double totalTimeWindowDeviation) Sets the total time window deviation.toString()
-
Constructor Details
-
LogicRouteCostAndViolationController
public LogicRouteCostAndViolationController()
-
-
Method Details
-
getNodeViolations
- Specified by:
getNodeViolationsin interfaceILogicRouteCostAndViolationController
-
getNodeViolationMap
- Specified by:
getNodeViolationMapin interfaceILogicRouteCostAndViolationController
-
setNodeViolationMap
- Specified by:
setNodeViolationMapin interfaceILogicRouteCostAndViolationController
-
setNodeViolations
Deprecated.Puts the node violations to the existing ones.- Specified by:
setNodeViolationsin interfaceILogicRouteCostAndViolationController- Parameters:
violations- the violationsnodeId- the node id
-
putNodeViolations
- Specified by:
putNodeViolationsin interfaceILogicRouteCostAndViolationController
-
setRouteViolations
- Specified by:
setRouteViolationsin interfaceILogicRouteCostAndViolationController
-
addRouteViolation
- Specified by:
addRouteViolationin interfaceILogicRouteCostAndViolationController
-
getRouteViolations
- Specified by:
getRouteViolationsin interfaceILogicRouteCostAndViolationController
-
setCost
public void setCost(double cost) Sets the cost.- Specified by:
setCostin interfaceILogicRouteCostAndViolationController- Parameters:
cost- the new cost
-
getCost
public double getCost()Gets the cost.- Specified by:
getCostin interfaceILogicRouteCostAndViolationController- Returns:
- the cost
-
addCost
public void addCost(double cost) - Specified by:
addCostin interfaceILogicRouteCostAndViolationController
-
setNumConstraintViolations
public void setNumConstraintViolations(int numConstraintViolations) Sets the number of constraint violations.- Specified by:
setNumConstraintViolationsin interfaceILogicRouteCostAndViolationController- Parameters:
numConstraintViolations- the new number of constraint violations
-
getNumConstraintViolations
public int getNumConstraintViolations()Gets the number of constraint violations.- Specified by:
getNumConstraintViolationsin interfaceILogicRouteCostAndViolationController- Returns:
- the number of constraint violations
-
setTotalTimeWindowDeviation
public void setTotalTimeWindowDeviation(double totalTimeWindowDeviation) Sets the total time window deviation.- Specified by:
setTotalTimeWindowDeviationin interfaceILogicRouteCostAndViolationController- Parameters:
totalTimeWindowDeviation- the new total time window deviation
-
getTotalTimeWindowDeviation
public double getTotalTimeWindowDeviation()Gets the total time window deviation.- Specified by:
getTotalTimeWindowDeviationin interfaceILogicRouteCostAndViolationController- Returns:
- the total time window deviation
-
addConstraintViolation
Adds a constraint violation.- Specified by:
addConstraintViolationin interfaceILogicRouteCostAndViolationController- Parameters:
violation- the violation
-
setConstraintViolations
Sets the constraint violations.- Specified by:
setConstraintViolationsin interfaceILogicRouteCostAndViolationController- Parameters:
constraintViolations- the new constraint violations
-
getConstraintViolations
Gets the constraint violations.- Specified by:
getConstraintViolationsin interfaceILogicRouteCostAndViolationController- Returns:
- the constraint violations
-
setNumViolationsRouteTime
public void setNumViolationsRouteTime(int numViolationsRouteTime) Sets the number of violations route time.- Specified by:
setNumViolationsRouteTimein interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsRouteTime- the new number of violations route time
-
getNumViolationsRouteTime
public int getNumViolationsRouteTime()Gets the num violations route time.- Specified by:
getNumViolationsRouteTimein interfaceILogicRouteCostAndViolationController- Returns:
- the num violations route time
-
setNumViolationsRouteDistance
public void setNumViolationsRouteDistance(int numViolationsRouteDistance) Sets the number of violations route distance.- Specified by:
setNumViolationsRouteDistancein interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsRouteDistance- the new number of violations route distance
-
getNumViolationsRouteDistance
public int getNumViolationsRouteDistance()Gets the number of violations route distance.- Specified by:
getNumViolationsRouteDistancein interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations route distance
-
setNumViolationsNodeType
public void setNumViolationsNodeType(int numViolationsNodeType) Sets the number of violations node type.- Specified by:
setNumViolationsNodeTypein interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsNodeType- the new number of violations node type
-
getNumViolationsNodeType
public int getNumViolationsNodeType()Gets the number of violations node type.- Specified by:
getNumViolationsNodeTypein interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations node type
-
setNumViolationsNodeTimewindow
public void setNumViolationsNodeTimewindow(int numViolationsNodeTimewindow) Sets the number of violations node timewindow.- Specified by:
setNumViolationsNodeTimewindowin interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsNodeTimewindow- the new number of violations node timewindow
-
getNumViolationsNodeTimewindow
public int getNumViolationsNodeTimewindow()Gets the number of violations node timewindow.- Specified by:
getNumViolationsNodeTimewindowin interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations node timewindow
-
setNumViolationsRouteCapacity
public void setNumViolationsRouteCapacity(int numViolationsRouteCapacity) Sets the number of violations route capacity.- Specified by:
setNumViolationsRouteCapacityin interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsRouteCapacity- the new number of violations route capacity
-
getNumViolationsRouteCapacity
public int getNumViolationsRouteCapacity()Gets the number of violations route capacity.- Specified by:
getNumViolationsRouteCapacityin interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations route capacity
-
setNumViolationsUselessUnloadAll
public void setNumViolationsUselessUnloadAll(int numViolationsUselessUnloadAll) Sets the number of violations useless unload all.- Specified by:
setNumViolationsUselessUnloadAllin interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsUselessUnloadAll- the new number of violations useless unload all
-
getNumViolationsUselessUnloadAll
public int getNumViolationsUselessUnloadAll()Gets the number of violations useless unload all.- Specified by:
getNumViolationsUselessUnloadAllin interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations useless unload all
-
setNumViolationsNodeTimewindowEarly
public void setNumViolationsNodeTimewindowEarly(int numViolationsNodeTimewindowEarly) Sets the number of violations node timewindow early.- Specified by:
setNumViolationsNodeTimewindowEarlyin interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsNodeTimewindowEarly- the new number of violations node timewindow early
-
getNumViolationsNodeTimewindowEarly
public int getNumViolationsNodeTimewindowEarly()Gets the number of violations node timewindow early.- Specified by:
getNumViolationsNodeTimewindowEarlyin interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations node timewindow early
-
setNumViolationsNodeTimewindowLate
public void setNumViolationsNodeTimewindowLate(int numViolationsNodeTimewindowLate) Sets the number of violations node timewindow late.- Specified by:
setNumViolationsNodeTimewindowLatein interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsNodeTimewindowLate- the new number of violations node timewindow late
-
getNumViolationsNodeTimewindowLate
public int getNumViolationsNodeTimewindowLate()Gets the number of violations node timewindow late.- Specified by:
getNumViolationsNodeTimewindowLatein interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations node timewindow late
-
getNumViolationsMissedServiceHours
public int getNumViolationsMissedServiceHours()- Specified by:
getNumViolationsMissedServiceHoursin interfaceILogicRouteCostAndViolationController
-
setNumViolationsMissedServiceHours
public void setNumViolationsMissedServiceHours(int numViolationsMissedServiceHours) - Specified by:
setNumViolationsMissedServiceHoursin interfaceILogicRouteCostAndViolationController
-
getNumViolationsColorNodeCapacity
public int getNumViolationsColorNodeCapacity()- Specified by:
getNumViolationsColorNodeCapacityin interfaceILogicRouteCostAndViolationController
-
setNumViolationsColorNodeCapacity
public void setNumViolationsColorNodeCapacity(int numViolationsColorNodeCapacity) - Specified by:
setNumViolationsColorNodeCapacityin interfaceILogicRouteCostAndViolationController
-
setNumViolationsAterEndAnchor
public void setNumViolationsAterEndAnchor(int numViolationsAterEndAnchor) - Specified by:
setNumViolationsAterEndAnchorin interfaceILogicRouteCostAndViolationController
-
getNumViolationsAfterEndAnchor
public int getNumViolationsAfterEndAnchor()- Specified by:
getNumViolationsAfterEndAnchorin interfaceILogicRouteCostAndViolationController
-
setNumViolationsDailyBreak
public void setNumViolationsDailyBreak(int numViolationsDailyBreak) Sets the number of violations daily break.- Specified by:
setNumViolationsDailyBreakin interfaceILogicRouteCostAndViolationController- Parameters:
numViolationsDailyBreak- the new number of violations daily break
-
getNumViolationsDailyBreak
public int getNumViolationsDailyBreak()Gets the number of violations daily break.- Specified by:
getNumViolationsDailyBreakin interfaceILogicRouteCostAndViolationController- Returns:
- the number of violations daily break
-
setTotalLateTime
public void setTotalLateTime(int totalLateTime) Sets the total late time.- Specified by:
setTotalLateTimein interfaceILogicRouteCostAndViolationController- Parameters:
totalLateTime- the new total late time
-
getTotalLateTime
public int getTotalLateTime()Gets the total late time.- Specified by:
getTotalLateTimein interfaceILogicRouteCostAndViolationController- Returns:
- the total late time
-
setTotalEarlyTime
public void setTotalEarlyTime(int totalEarlyTime) Sets the total early time.- Specified by:
setTotalEarlyTimein interfaceILogicRouteCostAndViolationController- Parameters:
totalEarlyTime- the new total early time
-
getTotalEarlyTime
public int getTotalEarlyTime()Gets the total early time.- Specified by:
getTotalEarlyTimein interfaceILogicRouteCostAndViolationController- Returns:
- the total early time
-
setTotalLoadViolationAmount
public void setTotalLoadViolationAmount(double totalLoadViolationAmount) Sets the total load violation amount.- Specified by:
setTotalLoadViolationAmountin interfaceILogicRouteCostAndViolationController- Parameters:
totalLoadViolationAmount- the new total load violation amount
-
getTotalLoadViolationAmount
public double getTotalLoadViolationAmount()Gets the total load violation amount.- Specified by:
getTotalLoadViolationAmountin interfaceILogicRouteCostAndViolationController- Returns:
- the total load violation amount
-
getCostEarly
public double getCostEarly()Gets the cost early.- Specified by:
getCostEarlyin interfaceILogicRouteCostAndViolationController- Returns:
- the cost early
-
setCostEarly
public void setCostEarly(double costEarly) Sets the cost early.- Specified by:
setCostEarlyin interfaceILogicRouteCostAndViolationController- Parameters:
costEarly- the new cost early
-
getCostLate
public double getCostLate()Gets the cost late.- Specified by:
getCostLatein interfaceILogicRouteCostAndViolationController- Returns:
- the cost late
-
setCostLate
public void setCostLate(double costLate) Sets the cost late.- Specified by:
setCostLatein interfaceILogicRouteCostAndViolationController- Parameters:
costLate- the new cost late
-
getCostMissedServiceHour
public double getCostMissedServiceHour()- Specified by:
getCostMissedServiceHourin interfaceILogicRouteCostAndViolationController
-
setCostMissedServiceHour
public void setCostMissedServiceHour(double costMissedServiceHour) - Specified by:
setCostMissedServiceHourin interfaceILogicRouteCostAndViolationController
-
getCostCapacity
public double getCostCapacity()Gets the cost capacity.- Specified by:
getCostCapacityin interfaceILogicRouteCostAndViolationController- Returns:
- the cost capacity
-
setCostCapacity
public void setCostCapacity(double costCapacity) Sets the cost capacity.- Specified by:
setCostCapacityin interfaceILogicRouteCostAndViolationController- Parameters:
costCapacity- the new cost capacity
-
setCostCapacityOverload
public void setCostCapacityOverload(double costCapacityOverload) - Specified by:
setCostCapacityOverloadin interfaceILogicRouteCostAndViolationController
-
getCostCapacityOverload
public double getCostCapacityOverload()- Specified by:
getCostCapacityOverloadin interfaceILogicRouteCostAndViolationController
-
getCostDistance
public double getCostDistance()Gets the cost distance.- Specified by:
getCostDistancein interfaceILogicRouteCostAndViolationController- Returns:
- the cost distance
-
setCostDistance
public void setCostDistance(double costDistance) Sets the cost distance.- Specified by:
setCostDistancein interfaceILogicRouteCostAndViolationController- Parameters:
costDistance- the new cost distance
-
getCostRouteDistancePattern
public double getCostRouteDistancePattern()Gets the cost distance.- Specified by:
getCostRouteDistancePatternin interfaceILogicRouteCostAndViolationController- Returns:
- the cost distance
-
setCostRouteDistancePattern
public void setCostRouteDistancePattern(double costRouteDistancePattern) Sets the cost distance.- Specified by:
setCostRouteDistancePatternin interfaceILogicRouteCostAndViolationController- Parameters:
costRouteDistancePattern- the new cost route distance pattern
-
getCostRouteTime
public double getCostRouteTime()- Specified by:
getCostRouteTimein interfaceILogicRouteCostAndViolationController
-
setCostRouteTime
public void setCostRouteTime(double costRouteTime) - Specified by:
setCostRouteTimein interfaceILogicRouteCostAndViolationController
-
getResourceFixCost
public double getResourceFixCost()- Specified by:
getResourceFixCostin interfaceILogicRouteCostAndViolationController
-
setResourceFixCost
public void setResourceFixCost(double costResourceFixCost) - Specified by:
setResourceFixCostin interfaceILogicRouteCostAndViolationController
-
getCostMaxRouteDistance
public double getCostMaxRouteDistance()Gets the cost max route distance.- Specified by:
getCostMaxRouteDistancein interfaceILogicRouteCostAndViolationController- Returns:
- the cost max route distance
-
setCostMaxRouteDistance
public void setCostMaxRouteDistance(double costMaxRouteDistance) Sets the cost max route distance.- Specified by:
setCostMaxRouteDistancein interfaceILogicRouteCostAndViolationController- Parameters:
costMaxRouteDistance- the new cost max route distance
-
getCostMaxRouteTime
public double getCostMaxRouteTime()Gets the cost max route time.- Specified by:
getCostMaxRouteTimein interfaceILogicRouteCostAndViolationController- Returns:
- the cost max route time
-
setCostMaxRouteTime
public void setCostMaxRouteTime(double costMaxRouteTime) Sets the cost max route time.- Specified by:
setCostMaxRouteTimein interfaceILogicRouteCostAndViolationController- Parameters:
costMaxRouteTime- the new cost max route time
-
getCostNodeType
public double getCostNodeType()Gets the cost node type.- Specified by:
getCostNodeTypein interfaceILogicRouteCostAndViolationController- Returns:
- the cost node type
-
setCostNodeType
public void setCostNodeType(double costNodeType) Sets the cost node type.- Specified by:
setCostNodeTypein interfaceILogicRouteCostAndViolationController- Parameters:
costNodeType- the new cost node type
-
getCostPreferredResource
public double getCostPreferredResource()Gets the cost preferred resource.- Specified by:
getCostPreferredResourcein interfaceILogicRouteCostAndViolationController- Returns:
- the cost preferred resource
-
getCostUnPreferredResource
public double getCostUnPreferredResource()Gets the cost un preferred resource.- Specified by:
getCostUnPreferredResourcein interfaceILogicRouteCostAndViolationController- Returns:
- the cost un preferred resource
-
setCostUnPreferredResource
public void setCostUnPreferredResource(double costUnPreferredResource) Sets the cost un preferred resource.- Specified by:
setCostUnPreferredResourcein interfaceILogicRouteCostAndViolationController- Parameters:
costUnPreferredResource- the new cost un preferred resource
-
setCostPreferredResource
public void setCostPreferredResource(double costPreferredResource) Sets the cost preferred resource.- Specified by:
setCostPreferredResourcein interfaceILogicRouteCostAndViolationController- Parameters:
costPreferredResource- the new cost preferred resource
-
setCostBannedResource
public void setCostBannedResource(double costBannedResource) Sets the cost banned resource.- Specified by:
setCostBannedResourcein interfaceILogicRouteCostAndViolationController- Parameters:
costBannedResource- the new cost banned resource
-
setCostMandatoryResource
public void setCostMandatoryResource(double costMandatoryResource) Sets the cost mandatory resource.- Specified by:
setCostMandatoryResourcein interfaceILogicRouteCostAndViolationController- Parameters:
costMandatoryResource- the new cost mandatory resource
-
getCostBannedResource
public double getCostBannedResource()Gets the cost banned resource.- Specified by:
getCostBannedResourcein interfaceILogicRouteCostAndViolationController- Returns:
- the cost banned resource
-
getCostMandatoryResource
public double getCostMandatoryResource()Gets the cost mandatory resource.- Specified by:
getCostMandatoryResourcein interfaceILogicRouteCostAndViolationController- Returns:
- the cost mandatory resource
-
getCostTimeCompactness
public double getCostTimeCompactness()- Specified by:
getCostTimeCompactnessin interfaceILogicRouteCostAndViolationController
-
setCostTimeCompactness
public void setCostTimeCompactness(double costTimeCompactness) - Specified by:
setCostTimeCompactnessin interfaceILogicRouteCostAndViolationController
-
getCostGeoUnclustered
public double getCostGeoUnclustered()- Specified by:
getCostGeoUnclusteredin interfaceILogicRouteCostAndViolationController
-
setCostGeoUnclustered
public void setCostGeoUnclustered(double costGeoUnclustered) - Specified by:
setCostGeoUnclusteredin interfaceILogicRouteCostAndViolationController
-
getStayOutFixCost
public double getStayOutFixCost()- Specified by:
getStayOutFixCostin interfaceILogicRouteCostAndViolationController
-
setStayOutFixCost
public void setStayOutFixCost(double stayOutFixCost) - Specified by:
setStayOutFixCostin interfaceILogicRouteCostAndViolationController
-
getNodeFixCost
public double getNodeFixCost()- Specified by:
getNodeFixCostin interfaceILogicRouteCostAndViolationController
-
setNodeFixCost
public void setNodeFixCost(double nodeFixCost) - Specified by:
setNodeFixCostin interfaceILogicRouteCostAndViolationController
-
getCostMisc
public double getCostMisc()- Specified by:
getCostMiscin interfaceILogicRouteCostAndViolationController
-
setCostMisc
public void setCostMisc(double miscCost) - Specified by:
setCostMiscin interfaceILogicRouteCostAndViolationController
-
getCostResourceOutOfWork
public double getCostResourceOutOfWork()- Specified by:
getCostResourceOutOfWorkin interfaceILogicRouteCostAndViolationController
-
setCostResourceOutOfWork
public void setCostResourceOutOfWork(double costResourceOutOfWork) - Specified by:
setCostResourceOutOfWorkin interfaceILogicRouteCostAndViolationController
-
getCostStayOvertime
public double getCostStayOvertime()- Specified by:
getCostStayOvertimein interfaceILogicRouteCostAndViolationController
-
setCostStayOvertime
public void setCostStayOvertime(double costStayOvertime) - Specified by:
setCostStayOvertimein interfaceILogicRouteCostAndViolationController
-
getCostInjectedRestriction
public double getCostInjectedRestriction()- Specified by:
getCostInjectedRestrictionin interfaceILogicRouteCostAndViolationController
-
setCostInjectedRestriction
public void setCostInjectedRestriction(double costInjectedRestriction) - Specified by:
setCostInjectedRestrictionin interfaceILogicRouteCostAndViolationController
-
setCostColorCapacityUsage
public void setCostColorCapacityUsage(double costColorCapacityUsage) - Specified by:
setCostColorCapacityUsagein interfaceILogicRouteCostAndViolationController
-
getCostColorCapacityUsage
public double getCostColorCapacityUsage()- Specified by:
getCostColorCapacityUsagein interfaceILogicRouteCostAndViolationController
-
setCostAfterEndAnchor
public void setCostAfterEndAnchor(double costAfterEndAnchor) - Specified by:
setCostAfterEndAnchorin interfaceILogicRouteCostAndViolationController
-
getCostAfterEndAnchor
public double getCostAfterEndAnchor()- Specified by:
getCostAfterEndAnchorin interfaceILogicRouteCostAndViolationController
-
toString
-
getViolationSummary
- Specified by:
getViolationSummaryin interfaceILogicRouteCostAndViolationController
-
resetViolationCounter
public void resetViolationCounter()Reset the violation counter.
numViolationsRouteTime = 0;
numViolationsRouteDistance = 0;
numViolationsNodeType = 0;
numViolationsNodeTimewindow = 0;
numViolationsRouteCapacity = 0;
numViolationsUselessUnloadAll = 0;- Specified by:
resetViolationCounterin interfaceILogicRouteCostAndViolationController
-
resetCosts
public void resetCosts()- Specified by:
resetCostsin interfaceILogicRouteCostAndViolationController
-
copy
- Specified by:
copyin interfaceILogicRouteCostAndViolationController
-