OptaPlanner examples 6.2.0.Beta1

org.optaplanner.examples.cheaptime.domain
Class CheapTimeSolution

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.cheaptime.domain.CheapTimeSolution
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore>

public class CheapTimeSolution
extends AbstractPersistable
implements org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
CheapTimeSolution()
           
 
Method Summary
 int getGlobalPeriodRangeFrom()
           
 int getGlobalPeriodRangeTo()
           
 List<MachineCapacity> getMachineCapacityList()
           
 List<Machine> getMachineList()
           
 List<PeriodPowerCost> getPeriodPowerCostList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<Resource> getResourceList()
           
 org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getScore()
           
 List<TaskAssignment> getTaskAssignmentList()
           
 List<Task> getTaskList()
           
 List<TaskRequirement> getTaskRequirementList()
           
 int getTimeResolutionInMinutes()
           
 void setGlobalPeriodRangeFrom(int globalPeriodRangeFrom)
           
 void setGlobalPeriodRangeTo(int globalPeriodRangeTo)
           
 void setMachineCapacityList(List<MachineCapacity> machineCapacityList)
           
 void setMachineList(List<Machine> machineList)
           
 void setPeriodPowerCostList(List<PeriodPowerCost> periodPowerCostList)
           
 void setResourceList(List<Resource> resourceList)
           
 void setScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
           
 void setTaskAssignmentList(List<TaskAssignment> taskAssignmentList)
           
 void setTaskList(List<Task> taskList)
           
 void setTaskRequirementList(List<TaskRequirement> taskRequirementList)
           
 void setTimeResolutionInMinutes(int timeResolutionInMinutes)
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheapTimeSolution

public CheapTimeSolution()
Method Detail

getTimeResolutionInMinutes

public int getTimeResolutionInMinutes()

setTimeResolutionInMinutes

public void setTimeResolutionInMinutes(int timeResolutionInMinutes)

getGlobalPeriodRangeFrom

public int getGlobalPeriodRangeFrom()

setGlobalPeriodRangeFrom

public void setGlobalPeriodRangeFrom(int globalPeriodRangeFrom)

getGlobalPeriodRangeTo

public int getGlobalPeriodRangeTo()

setGlobalPeriodRangeTo

public void setGlobalPeriodRangeTo(int globalPeriodRangeTo)

getResourceList

public List<Resource> getResourceList()

getMachineList

public List<Machine> getMachineList()

setMachineList

public void setMachineList(List<Machine> machineList)

setResourceList

public void setResourceList(List<Resource> resourceList)

getMachineCapacityList

public List<MachineCapacity> getMachineCapacityList()

setMachineCapacityList

public void setMachineCapacityList(List<MachineCapacity> machineCapacityList)

getTaskList

public List<Task> getTaskList()

setTaskList

public void setTaskList(List<Task> taskList)

getTaskRequirementList

public List<TaskRequirement> getTaskRequirementList()

setTaskRequirementList

public void setTaskRequirementList(List<TaskRequirement> taskRequirementList)

getPeriodPowerCostList

public List<PeriodPowerCost> getPeriodPowerCostList()

setPeriodPowerCostList

public void setPeriodPowerCostList(List<PeriodPowerCost> periodPowerCostList)

getTaskAssignmentList

public List<TaskAssignment> getTaskAssignmentList()

setTaskAssignmentList

public void setTaskAssignmentList(List<TaskAssignment> taskAssignmentList)

getScore

public org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getScore()
Specified by:
getScore in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore>

setScore

public void setScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
Specified by:
setScore in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore>

OptaPlanner examples 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.