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
ConstructorsConstructorDescriptionAbstractOptimizationOutcome(IEntity resultEntity, IOptimization optimization) -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddistributeJobViolations2Nodes(List<ILogicEntityRoute> routes, List<IViolation> jobVios) doubleGets the job cost.intGets the job element count.intGets the job idle time seconds.intGets the total number of scheduled nodesintintGets the job productive time seconds.doubleGets the job relationship cost.intGets the total number of distinct resourcesintGets the job route count.Gets the job specific violation summary.intGets the job termination transition distance meter.intGets the job termination transition time seconds.intGets the job time seconds.intGets the job transition distance meter.intGets the job transition time seconds.intGets the job scheduled routes count.doubleGets the job utilization percent.Gets the job violations.Gets the joined violation summary.Gets the optimization ident.getResourceId(ILogicEntityRoute route) Gets the resource id.Gets the resource working hours.Gets the result entity.doublegetRouteCost(ILogicEntityRoute route) Gets the route cost.intgetRouteId(ILogicEntityRoute route) Gets the route id.intGets the route idle time seconds.intGets the route productive time seconds.Gets the routes.getRouteStartId(ILogicEntityRoute route) Gets the route start id.Gets the route termination id.intGets the route termination transition distance meter.intGets the route termination transition time seconds.intGets the route time seconds.intGets the route transition distance meter.intGets the route transition time seconds.doubleGets 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
-
getOptimizationIdent
Description copied from interface:IOptimizationOutcomeGets the optimization ident.- Specified by:
getOptimizationIdentin interfaceIOptimizationOutcome- Returns:
- the optimization ident
-
getResultEntity
Description copied from interface:IOptimizationOutcomeGets the result entity.- Specified by:
getResultEntityin interfaceIOptimizationOutcome- Returns:
- the result entity
-
distributeJobViolations2Nodes
public static void distributeJobViolations2Nodes(List<ILogicEntityRoute> routes, List<IViolation> jobVios) -
getJobRouteCount
public int getJobRouteCount()Description copied from interface:IOptimizationOutcomeGets the job route count.- Specified by:
getJobRouteCountin interfaceIOptimizationOutcome- Returns:
- the job route count
-
getJobViolations
Description copied from interface:IOptimizationOutcomeGets the job violations.- Specified by:
getJobViolationsin interfaceIOptimizationOutcome- Returns:
- the job violations
-
getJobSpecificViolationSummary
Description copied from interface:IOptimizationOutcomeGets the job specific violation summary.- Specified by:
getJobSpecificViolationSummaryin interfaceIOptimizationOutcome- Returns:
- the job specific violation summary
-
getJobElementCount
public int getJobElementCount()Description copied from interface:IOptimizationOutcomeGets the job element count.- Specified by:
getJobElementCountin interfaceIOptimizationOutcome- Returns:
- the job element count
-
getJobNodesCount
public int getJobNodesCount()Description copied from interface:IOptimizationOutcomeGets the total number of scheduled nodes- Specified by:
getJobNodesCountin interfaceIOptimizationOutcome- Returns:
- the job nodes count
-
getJobPillarsCount
public int getJobPillarsCount()- Specified by:
getJobPillarsCountin interfaceIOptimizationOutcome
-
getJobResourceCount
public int getJobResourceCount()Description copied from interface:IOptimizationOutcomeGets the total number of distinct resources- Specified by:
getJobResourceCountin interfaceIOptimizationOutcome- Returns:
- the job resource count
-
getJobCost
public double getJobCost()Description copied from interface:IOptimizationOutcomeGets the job cost.- Specified by:
getJobCostin interfaceIOptimizationOutcome- Returns:
- the job cost
-
getJobRelationshipCost
public double getJobRelationshipCost()Description copied from interface:IOptimizationOutcomeGets the job relationship cost.- Specified by:
getJobRelationshipCostin interfaceIOptimizationOutcome- Returns:
- the job relationship cost
-
getJobIdleTimeSeconds
public int getJobIdleTimeSeconds()Description copied from interface:IOptimizationOutcomeGets the job idle time seconds.- Specified by:
getJobIdleTimeSecondsin interfaceIOptimizationOutcome- Returns:
- the job idle time seconds
-
getJobProductiveTimeSeconds
public int getJobProductiveTimeSeconds()Description copied from interface:IOptimizationOutcomeGets the job productive time seconds.- Specified by:
getJobProductiveTimeSecondsin interfaceIOptimizationOutcome- Returns:
- the job productive time seconds
-
getJobTransitionTimeSeconds
public int getJobTransitionTimeSeconds()Description copied from interface:IOptimizationOutcomeGets the job transition time seconds.- Specified by:
getJobTransitionTimeSecondsin interfaceIOptimizationOutcome- Returns:
- the job transition time seconds
-
getJobTerminationTransitionTimeSeconds
public int getJobTerminationTransitionTimeSeconds()Description copied from interface:IOptimizationOutcomeGets the job termination transition time seconds.- Specified by:
getJobTerminationTransitionTimeSecondsin interfaceIOptimizationOutcome- Returns:
- the job termination transition time seconds
-
getJobTransitionDistanceMeter
public int getJobTransitionDistanceMeter()Description copied from interface:IOptimizationOutcomeGets the job transition distance meter.- Specified by:
getJobTransitionDistanceMeterin interfaceIOptimizationOutcome- Returns:
- the job transition distance meter
-
getJobTerminationTransitionDistanceMeter
public int getJobTerminationTransitionDistanceMeter()Description copied from interface:IOptimizationOutcomeGets the job termination transition distance meter.- Specified by:
getJobTerminationTransitionDistanceMeterin interfaceIOptimizationOutcome- Returns:
- the job termination transition distance meter
-
getJobUtilizationPercent
public double getJobUtilizationPercent()Description copied from interface:IOptimizationOutcomeGets the job utilization percent.- Specified by:
getJobUtilizationPercentin interfaceIOptimizationOutcome- Returns:
- the job utilization percent
-
getJobTimeSeconds
public int getJobTimeSeconds()Description copied from interface:IOptimizationOutcomeGets the job time seconds.- Specified by:
getJobTimeSecondsin interfaceIOptimizationOutcome- Returns:
- the job time seconds
-
getRoutes
Description copied from interface:IOptimizationOutcomeGets the routes.- Specified by:
getRoutesin interfaceIOptimizationOutcome- Returns:
- the routes
-
getUnassignedNodes
Description copied from interface:IOptimizationOutcomeGets the unassigned nodes.- Specified by:
getUnassignedNodesin interfaceIOptimizationOutcome- Returns:
- the unassigned nodes
-
getRouteId
Description copied from interface:IOptimizationOutcomeGets the route id.- Specified by:
getRouteIdin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route id
-
getRouteStartId
Description copied from interface:IOptimizationOutcomeGets the route start id.- Specified by:
getRouteStartIdin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route start id
-
getRouteTerminationId
Description copied from interface:IOptimizationOutcomeGets the route termination id.- Specified by:
getRouteTerminationIdin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route termination id
-
getResourceId
Description copied from interface:IOptimizationOutcomeGets the resource id.- Specified by:
getResourceIdin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the resource id
-
getResourceWorkingHours
Description copied from interface:IOptimizationOutcomeGets the resource working hours.- Specified by:
getResourceWorkingHoursin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the resource working hours
-
getRouteCost
Description copied from interface:IOptimizationOutcomeGets the route cost.- Specified by:
getRouteCostin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route cost
-
getRouteIdleTimeSeconds
Description copied from interface:IOptimizationOutcomeGets the route idle time seconds.- Specified by:
getRouteIdleTimeSecondsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route idle time seconds
-
getRouteProductiveTimeSeconds
Description copied from interface:IOptimizationOutcomeGets the route productive time seconds.- Specified by:
getRouteProductiveTimeSecondsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route productive time seconds
-
getRouteTransitionTimeSeconds
Description copied from interface:IOptimizationOutcomeGets the route transition time seconds.- Specified by:
getRouteTransitionTimeSecondsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route transition time seconds
-
getRouteTerminationTransitionTimeSeconds
Description copied from interface:IOptimizationOutcomeGets the route termination transition time seconds.- Specified by:
getRouteTerminationTransitionTimeSecondsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route termination transition time seconds
-
getRouteTransitionDistanceMeter
Description copied from interface:IOptimizationOutcomeGets the route transition distance meter.- Specified by:
getRouteTransitionDistanceMeterin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route transition distance meter
-
getRouteTerminationTransitionDistanceMeter
Description copied from interface:IOptimizationOutcomeGets the route termination transition distance meter.- Specified by:
getRouteTerminationTransitionDistanceMeterin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route termination transition distance meter
-
getRouteUtilizationPercent
Description copied from interface:IOptimizationOutcomeGets the route utilization percent.- Specified by:
getRouteUtilizationPercentin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route utilization percent
-
getRouteTimeSeconds
Description copied from interface:IOptimizationOutcomeGets the route time seconds.- Specified by:
getRouteTimeSecondsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route time seconds
-
getRouteViolations
Description copied from interface:IOptimizationOutcomeGets the route violations.- Specified by:
getRouteViolationsin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route violations
-
getRouteViolationSummary
Description copied from interface:IOptimizationOutcomeGets the route violation summary.- Specified by:
getRouteViolationSummaryin interfaceIOptimizationOutcome- Parameters:
route- the route- Returns:
- the route violation summary
-
getRouteViolationSummaries
Description copied from interface:IOptimizationOutcomeGets the route violation summaries.- Specified by:
getRouteViolationSummariesin interfaceIOptimizationOutcome- Returns:
- the route violation summaries
-
getJoinedViolationSummary
Description copied from interface:IOptimizationOutcomeGets the joined violation summary.- Specified by:
getJoinedViolationSummaryin interfaceIOptimizationOutcome- Returns:
- the joined violation summary
-
getJobUnScheduledRoutesCount
public int getJobUnScheduledRoutesCount()Description copied from interface:IOptimizationOutcomeGets the job scheduled routes count.- Specified by:
getJobUnScheduledRoutesCountin interfaceIOptimizationOutcome- Returns:
- the job scheduled routes count
-