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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraintViolation
(String violation) Adds a constraint violation.void
addCost
(double cost) void
addRouteViolation
(IViolation routeViolation) copy()
Gets the constraint violations.double
getCost()
Gets the cost.double
double
Gets the cost banned resource.double
Gets the cost capacity.double
double
double
Gets the cost distance.double
Gets the cost early.double
double
double
Gets the cost late.double
Gets the cost mandatory resource.double
Gets the cost max route distance.double
Gets the cost max route time.double
double
double
Gets the cost node type.double
Gets the cost preferred resource.double
double
Gets the cost distance.double
double
double
double
Gets the cost un preferred resource.double
getNodeViolations
(String nodeId) int
Gets the number of constraint violations.int
int
int
Gets the number of violations daily break.int
int
Gets the number of violations node timewindow.int
Gets the number of violations node timewindow early.int
Gets the number of violations node timewindow late.int
Gets the number of violations node type.int
Gets the number of violations route capacity.int
Gets the number of violations route distance.int
Gets the num violations route time.int
Gets the number of violations useless unload all.double
double
int
Gets the total early time.int
Gets the total late time.double
Gets the total load violation amount.double
Gets the total time window deviation.void
putNodeViolations
(List<IViolation> violations, String nodeId) void
void
Reset the violation counter.void
setConstraintViolations
(List<String> constraintViolations) Sets the constraint violations.void
setCost
(double cost) Sets the cost.void
setCostAfterEndAnchor
(double costAfterEndAnchor) void
setCostBannedResource
(double costBannedResource) Sets the cost banned resource.void
setCostCapacity
(double costCapacity) Sets the cost capacity.void
setCostCapacityOverload
(double costCapacityOverload) void
setCostColorCapacityUsage
(double costColorCapacityUsage) void
setCostDistance
(double costDistance) Sets the cost distance.void
setCostEarly
(double costEarly) Sets the cost early.void
setCostGeoUnclustered
(double costGeoUnclustered) void
setCostInjectedRestriction
(double costInjectedRestriction) void
setCostLate
(double costLate) Sets the cost late.void
setCostMandatoryResource
(double costMandatoryResource) Sets the cost mandatory resource.void
setCostMaxRouteDistance
(double costMaxRouteDistance) Sets the cost max route distance.void
setCostMaxRouteTime
(double costMaxRouteTime) Sets the cost max route time.void
setCostMisc
(double miscCost) void
setCostMissedServiceHour
(double costMissedServiceHour) void
setCostNodeType
(double costNodeType) Sets the cost node type.void
setCostPreferredResource
(double costPreferredResource) Sets the cost preferred resource.void
setCostResourceOutOfWork
(double costResourceOutOfWork) void
setCostRouteDistancePattern
(double costRouteDistancePattern) Sets the cost distance.void
setCostRouteTime
(double costRouteTime) void
setCostStayOvertime
(double costStayOvertime) void
setCostTimeCompactness
(double costTimeCompactness) void
setCostUnPreferredResource
(double costUnPreferredResource) Sets the cost un preferred resource.void
setNodeFixCost
(double nodeFixCost) void
setNodeViolationMap
(Map<String, List<IViolation>> nodeViolationMap) void
setNodeViolations
(List<IViolation> violations, String nodeId) Deprecated.void
setNumConstraintViolations
(int numConstraintViolations) Sets the number of constraint violations.void
setNumViolationsAterEndAnchor
(int numViolationsAterEndAnchor) void
setNumViolationsColorNodeCapacity
(int numViolationsColorNodeCapacity) void
setNumViolationsDailyBreak
(int numViolationsDailyBreak) Sets the number of violations daily break.void
setNumViolationsMissedServiceHours
(int numViolationsMissedServiceHours) void
setNumViolationsNodeTimewindow
(int numViolationsNodeTimewindow) Sets the number of violations node timewindow.void
setNumViolationsNodeTimewindowEarly
(int numViolationsNodeTimewindowEarly) Sets the number of violations node timewindow early.void
setNumViolationsNodeTimewindowLate
(int numViolationsNodeTimewindowLate) Sets the number of violations node timewindow late.void
setNumViolationsNodeType
(int numViolationsNodeType) Sets the number of violations node type.void
setNumViolationsRouteCapacity
(int numViolationsRouteCapacity) Sets the number of violations route capacity.void
setNumViolationsRouteDistance
(int numViolationsRouteDistance) Sets the number of violations route distance.void
setNumViolationsRouteTime
(int numViolationsRouteTime) Sets the number of violations route time.void
setNumViolationsUselessUnloadAll
(int numViolationsUselessUnloadAll) Sets the number of violations useless unload all.void
setResourceFixCost
(double costResourceFixCost) void
setRouteViolations
(List<IViolation> routeViolations) void
setStayOutFixCost
(double stayOutFixCost) void
setTotalEarlyTime
(int totalEarlyTime) Sets the total early time.void
setTotalLateTime
(int totalLateTime) Sets the total late time.void
setTotalLoadViolationAmount
(double totalLoadViolationAmount) Sets the total load violation amount.void
setTotalTimeWindowDeviation
(double totalTimeWindowDeviation) Sets the total time window deviation.toString()
-
Constructor Details
-
LogicRouteCostAndViolationController
public LogicRouteCostAndViolationController()
-
-
Method Details
-
getNodeViolations
- Specified by:
getNodeViolations
in interfaceILogicRouteCostAndViolationController
-
getNodeViolationMap
- Specified by:
getNodeViolationMap
in interfaceILogicRouteCostAndViolationController
-
setNodeViolationMap
- Specified by:
setNodeViolationMap
in interfaceILogicRouteCostAndViolationController
-
setNodeViolations
Deprecated.Puts the node violations to the existing ones.- Specified by:
setNodeViolations
in interfaceILogicRouteCostAndViolationController
- Parameters:
violations
- the violationsnodeId
- the node id
-
putNodeViolations
- Specified by:
putNodeViolations
in interfaceILogicRouteCostAndViolationController
-
setRouteViolations
- Specified by:
setRouteViolations
in interfaceILogicRouteCostAndViolationController
-
addRouteViolation
- Specified by:
addRouteViolation
in interfaceILogicRouteCostAndViolationController
-
getRouteViolations
- Specified by:
getRouteViolations
in interfaceILogicRouteCostAndViolationController
-
setCost
public void setCost(double cost) Sets the cost.- Specified by:
setCost
in interfaceILogicRouteCostAndViolationController
- Parameters:
cost
- the new cost
-
getCost
public double getCost()Gets the cost.- Specified by:
getCost
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost
-
addCost
public void addCost(double cost) - Specified by:
addCost
in interfaceILogicRouteCostAndViolationController
-
setNumConstraintViolations
public void setNumConstraintViolations(int numConstraintViolations) Sets the number of constraint violations.- Specified by:
setNumConstraintViolations
in interfaceILogicRouteCostAndViolationController
- Parameters:
numConstraintViolations
- the new number of constraint violations
-
getNumConstraintViolations
public int getNumConstraintViolations()Gets the number of constraint violations.- Specified by:
getNumConstraintViolations
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of constraint violations
-
setTotalTimeWindowDeviation
public void setTotalTimeWindowDeviation(double totalTimeWindowDeviation) Sets the total time window deviation.- Specified by:
setTotalTimeWindowDeviation
in interfaceILogicRouteCostAndViolationController
- Parameters:
totalTimeWindowDeviation
- the new total time window deviation
-
getTotalTimeWindowDeviation
public double getTotalTimeWindowDeviation()Gets the total time window deviation.- Specified by:
getTotalTimeWindowDeviation
in interfaceILogicRouteCostAndViolationController
- Returns:
- the total time window deviation
-
addConstraintViolation
Adds a constraint violation.- Specified by:
addConstraintViolation
in interfaceILogicRouteCostAndViolationController
- Parameters:
violation
- the violation
-
setConstraintViolations
Sets the constraint violations.- Specified by:
setConstraintViolations
in interfaceILogicRouteCostAndViolationController
- Parameters:
constraintViolations
- the new constraint violations
-
getConstraintViolations
Gets the constraint violations.- Specified by:
getConstraintViolations
in interfaceILogicRouteCostAndViolationController
- Returns:
- the constraint violations
-
setNumViolationsRouteTime
public void setNumViolationsRouteTime(int numViolationsRouteTime) Sets the number of violations route time.- Specified by:
setNumViolationsRouteTime
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsRouteTime
- the new number of violations route time
-
getNumViolationsRouteTime
public int getNumViolationsRouteTime()Gets the num violations route time.- Specified by:
getNumViolationsRouteTime
in interfaceILogicRouteCostAndViolationController
- Returns:
- the num violations route time
-
setNumViolationsRouteDistance
public void setNumViolationsRouteDistance(int numViolationsRouteDistance) Sets the number of violations route distance.- Specified by:
setNumViolationsRouteDistance
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsRouteDistance
- the new number of violations route distance
-
getNumViolationsRouteDistance
public int getNumViolationsRouteDistance()Gets the number of violations route distance.- Specified by:
getNumViolationsRouteDistance
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations route distance
-
setNumViolationsNodeType
public void setNumViolationsNodeType(int numViolationsNodeType) Sets the number of violations node type.- Specified by:
setNumViolationsNodeType
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsNodeType
- the new number of violations node type
-
getNumViolationsNodeType
public int getNumViolationsNodeType()Gets the number of violations node type.- Specified by:
getNumViolationsNodeType
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations node type
-
setNumViolationsNodeTimewindow
public void setNumViolationsNodeTimewindow(int numViolationsNodeTimewindow) Sets the number of violations node timewindow.- Specified by:
setNumViolationsNodeTimewindow
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsNodeTimewindow
- the new number of violations node timewindow
-
getNumViolationsNodeTimewindow
public int getNumViolationsNodeTimewindow()Gets the number of violations node timewindow.- Specified by:
getNumViolationsNodeTimewindow
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations node timewindow
-
setNumViolationsRouteCapacity
public void setNumViolationsRouteCapacity(int numViolationsRouteCapacity) Sets the number of violations route capacity.- Specified by:
setNumViolationsRouteCapacity
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsRouteCapacity
- the new number of violations route capacity
-
getNumViolationsRouteCapacity
public int getNumViolationsRouteCapacity()Gets the number of violations route capacity.- Specified by:
getNumViolationsRouteCapacity
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations route capacity
-
setNumViolationsUselessUnloadAll
public void setNumViolationsUselessUnloadAll(int numViolationsUselessUnloadAll) Sets the number of violations useless unload all.- Specified by:
setNumViolationsUselessUnloadAll
in 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:
getNumViolationsUselessUnloadAll
in 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:
setNumViolationsNodeTimewindowEarly
in 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:
getNumViolationsNodeTimewindowEarly
in 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:
setNumViolationsNodeTimewindowLate
in 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:
getNumViolationsNodeTimewindowLate
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations node timewindow late
-
getNumViolationsMissedServiceHours
public int getNumViolationsMissedServiceHours()- Specified by:
getNumViolationsMissedServiceHours
in interfaceILogicRouteCostAndViolationController
-
setNumViolationsMissedServiceHours
public void setNumViolationsMissedServiceHours(int numViolationsMissedServiceHours) - Specified by:
setNumViolationsMissedServiceHours
in interfaceILogicRouteCostAndViolationController
-
getNumViolationsColorNodeCapacity
public int getNumViolationsColorNodeCapacity()- Specified by:
getNumViolationsColorNodeCapacity
in interfaceILogicRouteCostAndViolationController
-
setNumViolationsColorNodeCapacity
public void setNumViolationsColorNodeCapacity(int numViolationsColorNodeCapacity) - Specified by:
setNumViolationsColorNodeCapacity
in interfaceILogicRouteCostAndViolationController
-
setNumViolationsAterEndAnchor
public void setNumViolationsAterEndAnchor(int numViolationsAterEndAnchor) - Specified by:
setNumViolationsAterEndAnchor
in interfaceILogicRouteCostAndViolationController
-
getNumViolationsAfterEndAnchor
public int getNumViolationsAfterEndAnchor()- Specified by:
getNumViolationsAfterEndAnchor
in interfaceILogicRouteCostAndViolationController
-
setNumViolationsDailyBreak
public void setNumViolationsDailyBreak(int numViolationsDailyBreak) Sets the number of violations daily break.- Specified by:
setNumViolationsDailyBreak
in interfaceILogicRouteCostAndViolationController
- Parameters:
numViolationsDailyBreak
- the new number of violations daily break
-
getNumViolationsDailyBreak
public int getNumViolationsDailyBreak()Gets the number of violations daily break.- Specified by:
getNumViolationsDailyBreak
in interfaceILogicRouteCostAndViolationController
- Returns:
- the number of violations daily break
-
setTotalLateTime
public void setTotalLateTime(int totalLateTime) Sets the total late time.- Specified by:
setTotalLateTime
in interfaceILogicRouteCostAndViolationController
- Parameters:
totalLateTime
- the new total late time
-
getTotalLateTime
public int getTotalLateTime()Gets the total late time.- Specified by:
getTotalLateTime
in interfaceILogicRouteCostAndViolationController
- Returns:
- the total late time
-
setTotalEarlyTime
public void setTotalEarlyTime(int totalEarlyTime) Sets the total early time.- Specified by:
setTotalEarlyTime
in interfaceILogicRouteCostAndViolationController
- Parameters:
totalEarlyTime
- the new total early time
-
getTotalEarlyTime
public int getTotalEarlyTime()Gets the total early time.- Specified by:
getTotalEarlyTime
in interfaceILogicRouteCostAndViolationController
- Returns:
- the total early time
-
setTotalLoadViolationAmount
public void setTotalLoadViolationAmount(double totalLoadViolationAmount) Sets the total load violation amount.- Specified by:
setTotalLoadViolationAmount
in interfaceILogicRouteCostAndViolationController
- Parameters:
totalLoadViolationAmount
- the new total load violation amount
-
getTotalLoadViolationAmount
public double getTotalLoadViolationAmount()Gets the total load violation amount.- Specified by:
getTotalLoadViolationAmount
in interfaceILogicRouteCostAndViolationController
- Returns:
- the total load violation amount
-
getCostEarly
public double getCostEarly()Gets the cost early.- Specified by:
getCostEarly
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost early
-
setCostEarly
public void setCostEarly(double costEarly) Sets the cost early.- Specified by:
setCostEarly
in interfaceILogicRouteCostAndViolationController
- Parameters:
costEarly
- the new cost early
-
getCostLate
public double getCostLate()Gets the cost late.- Specified by:
getCostLate
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost late
-
setCostLate
public void setCostLate(double costLate) Sets the cost late.- Specified by:
setCostLate
in interfaceILogicRouteCostAndViolationController
- Parameters:
costLate
- the new cost late
-
getCostMissedServiceHour
public double getCostMissedServiceHour()- Specified by:
getCostMissedServiceHour
in interfaceILogicRouteCostAndViolationController
-
setCostMissedServiceHour
public void setCostMissedServiceHour(double costMissedServiceHour) - Specified by:
setCostMissedServiceHour
in interfaceILogicRouteCostAndViolationController
-
getCostCapacity
public double getCostCapacity()Gets the cost capacity.- Specified by:
getCostCapacity
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost capacity
-
setCostCapacity
public void setCostCapacity(double costCapacity) Sets the cost capacity.- Specified by:
setCostCapacity
in interfaceILogicRouteCostAndViolationController
- Parameters:
costCapacity
- the new cost capacity
-
setCostCapacityOverload
public void setCostCapacityOverload(double costCapacityOverload) - Specified by:
setCostCapacityOverload
in interfaceILogicRouteCostAndViolationController
-
getCostCapacityOverload
public double getCostCapacityOverload()- Specified by:
getCostCapacityOverload
in interfaceILogicRouteCostAndViolationController
-
getCostDistance
public double getCostDistance()Gets the cost distance.- Specified by:
getCostDistance
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost distance
-
setCostDistance
public void setCostDistance(double costDistance) Sets the cost distance.- Specified by:
setCostDistance
in interfaceILogicRouteCostAndViolationController
- Parameters:
costDistance
- the new cost distance
-
getCostRouteDistancePattern
public double getCostRouteDistancePattern()Gets the cost distance.- Specified by:
getCostRouteDistancePattern
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost distance
-
setCostRouteDistancePattern
public void setCostRouteDistancePattern(double costRouteDistancePattern) Sets the cost distance.- Specified by:
setCostRouteDistancePattern
in interfaceILogicRouteCostAndViolationController
- Parameters:
costRouteDistancePattern
- the new cost route distance pattern
-
getCostRouteTime
public double getCostRouteTime()- Specified by:
getCostRouteTime
in interfaceILogicRouteCostAndViolationController
-
setCostRouteTime
public void setCostRouteTime(double costRouteTime) - Specified by:
setCostRouteTime
in interfaceILogicRouteCostAndViolationController
-
getResourceFixCost
public double getResourceFixCost()- Specified by:
getResourceFixCost
in interfaceILogicRouteCostAndViolationController
-
setResourceFixCost
public void setResourceFixCost(double costResourceFixCost) - Specified by:
setResourceFixCost
in interfaceILogicRouteCostAndViolationController
-
getCostMaxRouteDistance
public double getCostMaxRouteDistance()Gets the cost max route distance.- Specified by:
getCostMaxRouteDistance
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost max route distance
-
setCostMaxRouteDistance
public void setCostMaxRouteDistance(double costMaxRouteDistance) Sets the cost max route distance.- Specified by:
setCostMaxRouteDistance
in interfaceILogicRouteCostAndViolationController
- Parameters:
costMaxRouteDistance
- the new cost max route distance
-
getCostMaxRouteTime
public double getCostMaxRouteTime()Gets the cost max route time.- Specified by:
getCostMaxRouteTime
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost max route time
-
setCostMaxRouteTime
public void setCostMaxRouteTime(double costMaxRouteTime) Sets the cost max route time.- Specified by:
setCostMaxRouteTime
in interfaceILogicRouteCostAndViolationController
- Parameters:
costMaxRouteTime
- the new cost max route time
-
getCostNodeType
public double getCostNodeType()Gets the cost node type.- Specified by:
getCostNodeType
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost node type
-
setCostNodeType
public void setCostNodeType(double costNodeType) Sets the cost node type.- Specified by:
setCostNodeType
in interfaceILogicRouteCostAndViolationController
- Parameters:
costNodeType
- the new cost node type
-
getCostPreferredResource
public double getCostPreferredResource()Gets the cost preferred resource.- Specified by:
getCostPreferredResource
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost preferred resource
-
getCostUnPreferredResource
public double getCostUnPreferredResource()Gets the cost un preferred resource.- Specified by:
getCostUnPreferredResource
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost un preferred resource
-
setCostUnPreferredResource
public void setCostUnPreferredResource(double costUnPreferredResource) Sets the cost un preferred resource.- Specified by:
setCostUnPreferredResource
in interfaceILogicRouteCostAndViolationController
- Parameters:
costUnPreferredResource
- the new cost un preferred resource
-
setCostPreferredResource
public void setCostPreferredResource(double costPreferredResource) Sets the cost preferred resource.- Specified by:
setCostPreferredResource
in interfaceILogicRouteCostAndViolationController
- Parameters:
costPreferredResource
- the new cost preferred resource
-
setCostBannedResource
public void setCostBannedResource(double costBannedResource) Sets the cost banned resource.- Specified by:
setCostBannedResource
in interfaceILogicRouteCostAndViolationController
- Parameters:
costBannedResource
- the new cost banned resource
-
setCostMandatoryResource
public void setCostMandatoryResource(double costMandatoryResource) Sets the cost mandatory resource.- Specified by:
setCostMandatoryResource
in interfaceILogicRouteCostAndViolationController
- Parameters:
costMandatoryResource
- the new cost mandatory resource
-
getCostBannedResource
public double getCostBannedResource()Gets the cost banned resource.- Specified by:
getCostBannedResource
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost banned resource
-
getCostMandatoryResource
public double getCostMandatoryResource()Gets the cost mandatory resource.- Specified by:
getCostMandatoryResource
in interfaceILogicRouteCostAndViolationController
- Returns:
- the cost mandatory resource
-
getCostTimeCompactness
public double getCostTimeCompactness()- Specified by:
getCostTimeCompactness
in interfaceILogicRouteCostAndViolationController
-
setCostTimeCompactness
public void setCostTimeCompactness(double costTimeCompactness) - Specified by:
setCostTimeCompactness
in interfaceILogicRouteCostAndViolationController
-
getCostGeoUnclustered
public double getCostGeoUnclustered()- Specified by:
getCostGeoUnclustered
in interfaceILogicRouteCostAndViolationController
-
setCostGeoUnclustered
public void setCostGeoUnclustered(double costGeoUnclustered) - Specified by:
setCostGeoUnclustered
in interfaceILogicRouteCostAndViolationController
-
getStayOutFixCost
public double getStayOutFixCost()- Specified by:
getStayOutFixCost
in interfaceILogicRouteCostAndViolationController
-
setStayOutFixCost
public void setStayOutFixCost(double stayOutFixCost) - Specified by:
setStayOutFixCost
in interfaceILogicRouteCostAndViolationController
-
getNodeFixCost
public double getNodeFixCost() -
setNodeFixCost
public void setNodeFixCost(double nodeFixCost) - Specified by:
setNodeFixCost
in interfaceILogicRouteCostAndViolationController
-
getCostMisc
public double getCostMisc()- Specified by:
getCostMisc
in interfaceILogicRouteCostAndViolationController
-
setCostMisc
public void setCostMisc(double miscCost) - Specified by:
setCostMisc
in interfaceILogicRouteCostAndViolationController
-
getCostResourceOutOfWork
public double getCostResourceOutOfWork()- Specified by:
getCostResourceOutOfWork
in interfaceILogicRouteCostAndViolationController
-
setCostResourceOutOfWork
public void setCostResourceOutOfWork(double costResourceOutOfWork) - Specified by:
setCostResourceOutOfWork
in interfaceILogicRouteCostAndViolationController
-
getCostStayOvertime
public double getCostStayOvertime()- Specified by:
getCostStayOvertime
in interfaceILogicRouteCostAndViolationController
-
setCostStayOvertime
public void setCostStayOvertime(double costStayOvertime) - Specified by:
setCostStayOvertime
in interfaceILogicRouteCostAndViolationController
-
getCostInjectedRestriction
public double getCostInjectedRestriction()- Specified by:
getCostInjectedRestriction
in interfaceILogicRouteCostAndViolationController
-
setCostInjectedRestriction
public void setCostInjectedRestriction(double costInjectedRestriction) - Specified by:
setCostInjectedRestriction
in interfaceILogicRouteCostAndViolationController
-
setCostColorCapacityUsage
public void setCostColorCapacityUsage(double costColorCapacityUsage) - Specified by:
setCostColorCapacityUsage
in interfaceILogicRouteCostAndViolationController
-
getCostColorCapacityUsage
public double getCostColorCapacityUsage()- Specified by:
getCostColorCapacityUsage
in interfaceILogicRouteCostAndViolationController
-
setCostAfterEndAnchor
public void setCostAfterEndAnchor(double costAfterEndAnchor) - Specified by:
setCostAfterEndAnchor
in interfaceILogicRouteCostAndViolationController
-
getCostAfterEndAnchor
public double getCostAfterEndAnchor()- Specified by:
getCostAfterEndAnchor
in interfaceILogicRouteCostAndViolationController
-
toString
-
getViolationSummary
- Specified by:
getViolationSummary
in interfaceILogicRouteCostAndViolationController
-
resetViolationCounter
public void resetViolationCounter()Reset the violation counter.
numViolationsRouteTime = 0;
numViolationsRouteDistance = 0;
numViolationsNodeType = 0;
numViolationsNodeTimewindow = 0;
numViolationsRouteCapacity = 0;
numViolationsUselessUnloadAll = 0;- Specified by:
resetViolationCounter
in interfaceILogicRouteCostAndViolationController
-
resetCosts
public void resetCosts()- Specified by:
resetCosts
in interfaceILogicRouteCostAndViolationController
-
copy
- Specified by:
copy
in interfaceILogicRouteCostAndViolationController
-