org.drools.planner.examples.machinereassignment.domain
Class MachineReassignment

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.machinereassignment.domain.MachineReassignment
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, Solution<HardAndSoftLongScore>

public class MachineReassignment
extends AbstractPersistable
implements Solution<HardAndSoftLongScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
MachineReassignment()
           
 
Method Summary
 MachineReassignment cloneSolution()
          Clone will only deep copy the processAssignmentList.
 boolean equals(Object o)
           
 List<MrBalancePenalty> getBalancePenaltyList()
           
 MrGlobalPenaltyInfo getGlobalPenaltyInfo()
           
 List<MrLocation> getLocationList()
           
 List<MrMachineCapacity> getMachineCapacityList()
           
 List<MrMachine> getMachineList()
           
 List<MrMachineMoveCost> getMachineMoveCostList()
           
 List<MrNeighborhood> getNeighborhoodList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<MrProcessAssignment> getProcessAssignmentList()
           
 List<MrProcess> getProcessList()
           
 List<MrResource> getResourceList()
           
 HardAndSoftLongScore getScore()
           
 List<MrServiceDependency> getServiceDependencyList()
           
 List<MrService> getServiceList()
           
 int hashCode()
           
 void setBalancePenaltyList(List<MrBalancePenalty> balancePenaltyList)
           
 void setGlobalPenaltyInfo(MrGlobalPenaltyInfo globalPenaltyInfo)
           
 void setLocationList(List<MrLocation> locationList)
           
 void setMachineCapacityList(List<MrMachineCapacity> machineCapacityList)
           
 void setMachineList(List<MrMachine> machineList)
           
 void setMachineMoveCostList(List<MrMachineMoveCost> machineMoveCostList)
           
 void setNeighborhoodList(List<MrNeighborhood> neighborhoodList)
           
 void setProcessAssignmentList(List<MrProcessAssignment> processAssignmentList)
           
 void setProcessList(List<MrProcess> processList)
           
 void setResourceList(List<MrResource> resourceList)
           
 void setScore(HardAndSoftLongScore score)
           
 void setServiceDependencyList(List<MrServiceDependency> serviceDependencyList)
           
 void setServiceList(List<MrService> serviceList)
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MachineReassignment

public MachineReassignment()
Method Detail

getGlobalPenaltyInfo

public MrGlobalPenaltyInfo getGlobalPenaltyInfo()

setGlobalPenaltyInfo

public void setGlobalPenaltyInfo(MrGlobalPenaltyInfo globalPenaltyInfo)

getResourceList

public List<MrResource> getResourceList()

setResourceList

public void setResourceList(List<MrResource> resourceList)

getNeighborhoodList

public List<MrNeighborhood> getNeighborhoodList()

setNeighborhoodList

public void setNeighborhoodList(List<MrNeighborhood> neighborhoodList)

getLocationList

public List<MrLocation> getLocationList()

setLocationList

public void setLocationList(List<MrLocation> locationList)

getMachineList

public List<MrMachine> getMachineList()

setMachineList

public void setMachineList(List<MrMachine> machineList)

getMachineCapacityList

public List<MrMachineCapacity> getMachineCapacityList()

setMachineCapacityList

public void setMachineCapacityList(List<MrMachineCapacity> machineCapacityList)

getMachineMoveCostList

public List<MrMachineMoveCost> getMachineMoveCostList()

setMachineMoveCostList

public void setMachineMoveCostList(List<MrMachineMoveCost> machineMoveCostList)

getServiceList

public List<MrService> getServiceList()

setServiceList

public void setServiceList(List<MrService> serviceList)

getServiceDependencyList

public List<MrServiceDependency> getServiceDependencyList()

setServiceDependencyList

public void setServiceDependencyList(List<MrServiceDependency> serviceDependencyList)

getProcessList

public List<MrProcess> getProcessList()

setProcessList

public void setProcessList(List<MrProcess> processList)

getBalancePenaltyList

public List<MrBalancePenalty> getBalancePenaltyList()

setBalancePenaltyList

public void setBalancePenaltyList(List<MrBalancePenalty> balancePenaltyList)

getProcessAssignmentList

public List<MrProcessAssignment> getProcessAssignmentList()

setProcessAssignmentList

public void setProcessAssignmentList(List<MrProcessAssignment> processAssignmentList)

getScore

public HardAndSoftLongScore getScore()
Specified by:
getScore in interface Solution<HardAndSoftLongScore>

setScore

public void setScore(HardAndSoftLongScore score)
Specified by:
setScore in interface Solution<HardAndSoftLongScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface Solution<HardAndSoftLongScore>

cloneSolution

public MachineReassignment cloneSolution()
Clone will only deep copy the processAssignmentList.

Specified by:
cloneSolution in interface Solution<HardAndSoftLongScore>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.