Class AbstractOptimizationOutcome
java.lang.Object
com.dna.jopt.framework.outcomewrapper.AbstractOptimizationOutcome
- All Implemented Interfaces:
IOptimizationOutcome
,Serializable
- Direct Known Subclasses:
OptimizationProgress
,OptimizationResult
- See Also:
-
Constructor Summary
ConstructorDescriptionAbstractOptimizationOutcome
(IEntity resultEntity, IOptimization optimization) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
distributeJobViolations2Nodes
(List<ILogicEntityRoute> routes, List<IViolation> jobVios) double
Gets the job cost.int
Gets the job element count.int
Gets the job idle time seconds.int
Gets the job productive time seconds.double
Gets the job relationship cost.int
Gets the job route count.Gets the job specific violation summary.int
Gets the job termination transition distance meter.int
Gets the job termination transition time seconds.int
Gets the job time seconds.int
Gets the job transition distance meter.int
Gets the job transition time seconds.double
Gets the job utilization percent.Gets the job violations.Gets the joined violation summary.getResourceId
(ILogicEntityRoute route) Gets the resource id.Gets the resource working hours.Gets the result entity.double
getRouteCost
(ILogicEntityRoute route) Gets the route cost.int
getRouteId
(ILogicEntityRoute route) Gets the route id.int
Gets the route idle time seconds.int
Gets the route productive time seconds.Gets the routes.getRouteStartId
(ILogicEntityRoute route) Gets the route start id.Gets the route termination id.int
Gets the route termination transition distance meter.int
Gets the route termination transition time seconds.int
Gets the route time seconds.int
Gets the route transition distance meter.int
Gets the route transition time seconds.double
Gets the route utilization percent.Gets the route violations.Gets the route violation summaries.Gets the route violation summary.Gets the unassigned nodes.
-
Constructor Details
-
AbstractOptimizationOutcome
-
-
Method Details
-
getResultEntity
Description copied from interface:IOptimizationOutcome
Gets the result entity.- Specified by:
getResultEntity
in interfaceIOptimizationOutcome
- Returns:
- the result entity
-
distributeJobViolations2Nodes
public static void distributeJobViolations2Nodes(List<ILogicEntityRoute> routes, List<IViolation> jobVios) -
getJobRouteCount
public int getJobRouteCount()Description copied from interface:IOptimizationOutcome
Gets the job route count.- Specified by:
getJobRouteCount
in interfaceIOptimizationOutcome
- Returns:
- the job route count
-
getJobViolations
Description copied from interface:IOptimizationOutcome
Gets the job violations.- Specified by:
getJobViolations
in interfaceIOptimizationOutcome
- Returns:
- the job violations
-
getJobSpecificViolationSummary
Description copied from interface:IOptimizationOutcome
Gets the job specific violation summary.- Specified by:
getJobSpecificViolationSummary
in interfaceIOptimizationOutcome
- Returns:
- the job specific violation summary
-
getJobElementCount
public int getJobElementCount()Description copied from interface:IOptimizationOutcome
Gets the job element count.- Specified by:
getJobElementCount
in interfaceIOptimizationOutcome
- Returns:
- the job element count
-
getJobCost
public double getJobCost()Description copied from interface:IOptimizationOutcome
Gets the job cost.- Specified by:
getJobCost
in interfaceIOptimizationOutcome
- Returns:
- the job cost
-
getJobRelationshipCost
public double getJobRelationshipCost()Description copied from interface:IOptimizationOutcome
Gets the job relationship cost.- Specified by:
getJobRelationshipCost
in interfaceIOptimizationOutcome
- Returns:
- the job relationship cost
-
getJobIdleTimeSeconds
public int getJobIdleTimeSeconds()Description copied from interface:IOptimizationOutcome
Gets the job idle time seconds.- Specified by:
getJobIdleTimeSeconds
in interfaceIOptimizationOutcome
- Returns:
- the job idle time seconds
-
getJobProductiveTimeSeconds
public int getJobProductiveTimeSeconds()Description copied from interface:IOptimizationOutcome
Gets the job productive time seconds.- Specified by:
getJobProductiveTimeSeconds
in interfaceIOptimizationOutcome
- Returns:
- the job productive time seconds
-
getJobTransitionTimeSeconds
public int getJobTransitionTimeSeconds()Description copied from interface:IOptimizationOutcome
Gets the job transition time seconds.- Specified by:
getJobTransitionTimeSeconds
in interfaceIOptimizationOutcome
- Returns:
- the job transition time seconds
-
getJobTerminationTransitionTimeSeconds
public int getJobTerminationTransitionTimeSeconds()Description copied from interface:IOptimizationOutcome
Gets the job termination transition time seconds.- Specified by:
getJobTerminationTransitionTimeSeconds
in interfaceIOptimizationOutcome
- Returns:
- the job termination transition time seconds
-
getJobTransitionDistanceMeter
public int getJobTransitionDistanceMeter()Description copied from interface:IOptimizationOutcome
Gets the job transition distance meter.- Specified by:
getJobTransitionDistanceMeter
in interfaceIOptimizationOutcome
- Returns:
- the job transition distance meter
-
getJobTerminationTransitionDistanceMeter
public int getJobTerminationTransitionDistanceMeter()Description copied from interface:IOptimizationOutcome
Gets the job termination transition distance meter.- Specified by:
getJobTerminationTransitionDistanceMeter
in interfaceIOptimizationOutcome
- Returns:
- the job termination transition distance meter
-
getJobUtilizationPercent
public double getJobUtilizationPercent()Description copied from interface:IOptimizationOutcome
Gets the job utilization percent.- Specified by:
getJobUtilizationPercent
in interfaceIOptimizationOutcome
- Returns:
- the job utilization percent
-
getJobTimeSeconds
public int getJobTimeSeconds()Description copied from interface:IOptimizationOutcome
Gets the job time seconds.- Specified by:
getJobTimeSeconds
in interfaceIOptimizationOutcome
- Returns:
- the job time seconds
-
getRoutes
Description copied from interface:IOptimizationOutcome
Gets the routes.- Specified by:
getRoutes
in interfaceIOptimizationOutcome
- Returns:
- the routes
-
getUnassignedNodes
Description copied from interface:IOptimizationOutcome
Gets the unassigned nodes.- Specified by:
getUnassignedNodes
in interfaceIOptimizationOutcome
- Returns:
- the unassigned nodes
-
getRouteId
Description copied from interface:IOptimizationOutcome
Gets the route id.- Specified by:
getRouteId
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route id
-
getRouteStartId
Description copied from interface:IOptimizationOutcome
Gets the route start id.- Specified by:
getRouteStartId
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route start id
-
getRouteTerminationId
Description copied from interface:IOptimizationOutcome
Gets the route termination id.- Specified by:
getRouteTerminationId
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route termination id
-
getResourceId
Description copied from interface:IOptimizationOutcome
Gets the resource id.- Specified by:
getResourceId
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the resource id
-
getResourceWorkingHours
Description copied from interface:IOptimizationOutcome
Gets the resource working hours.- Specified by:
getResourceWorkingHours
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the resource working hours
-
getRouteCost
Description copied from interface:IOptimizationOutcome
Gets the route cost.- Specified by:
getRouteCost
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route cost
-
getRouteIdleTimeSeconds
Description copied from interface:IOptimizationOutcome
Gets the route idle time seconds.- Specified by:
getRouteIdleTimeSeconds
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route idle time seconds
-
getRouteProductiveTimeSeconds
Description copied from interface:IOptimizationOutcome
Gets the route productive time seconds.- Specified by:
getRouteProductiveTimeSeconds
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route productive time seconds
-
getRouteTransitionTimeSeconds
Description copied from interface:IOptimizationOutcome
Gets the route transition time seconds.- Specified by:
getRouteTransitionTimeSeconds
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route transition time seconds
-
getRouteTerminationTransitionTimeSeconds
Description copied from interface:IOptimizationOutcome
Gets the route termination transition time seconds.- Specified by:
getRouteTerminationTransitionTimeSeconds
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route termination transition time seconds
-
getRouteTransitionDistanceMeter
Description copied from interface:IOptimizationOutcome
Gets the route transition distance meter.- Specified by:
getRouteTransitionDistanceMeter
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route transition distance meter
-
getRouteTerminationTransitionDistanceMeter
Description copied from interface:IOptimizationOutcome
Gets the route termination transition distance meter.- Specified by:
getRouteTerminationTransitionDistanceMeter
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route termination transition distance meter
-
getRouteUtilizationPercent
Description copied from interface:IOptimizationOutcome
Gets the route utilization percent.- Specified by:
getRouteUtilizationPercent
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route utilization percent
-
getRouteTimeSeconds
Description copied from interface:IOptimizationOutcome
Gets the route time seconds.- Specified by:
getRouteTimeSeconds
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route time seconds
-
getRouteViolations
Description copied from interface:IOptimizationOutcome
Gets the route violations.- Specified by:
getRouteViolations
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route violations
-
getRouteViolationSummary
Description copied from interface:IOptimizationOutcome
Gets the route violation summary.- Specified by:
getRouteViolationSummary
in interfaceIOptimizationOutcome
- Parameters:
route
- the route- Returns:
- the route violation summary
-
getRouteViolationSummaries
Description copied from interface:IOptimizationOutcome
Gets the route violation summaries.- Specified by:
getRouteViolationSummaries
in interfaceIOptimizationOutcome
- Returns:
- the route violation summaries
-
getJoinedViolationSummary
Description copied from interface:IOptimizationOutcome
Gets the joined violation summary.- Specified by:
getJoinedViolationSummary
in interfaceIOptimizationOutcome
- Returns:
- the joined violation summary
-