org.drools.planner.examples.cloudbalancing.domain
Class CloudBalance
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.cloudbalancing.domain.CloudBalance
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, Solution<HardAndSoftScore>
public class CloudBalance
- extends AbstractPersistable
- implements Solution<HardAndSoftScore>
- See Also:
- Serialized Form
CloudBalance
public CloudBalance()
getComputerList
public List<CloudComputer> getComputerList()
setComputerList
public void setComputerList(List<CloudComputer> computerList)
getProcessList
public List<CloudProcess> getProcessList()
setProcessList
public void setProcessList(List<CloudProcess> processList)
getScore
public HardAndSoftScore getScore()
- Specified by:
getScore in interface Solution<HardAndSoftScore>
setScore
public void setScore(HardAndSoftScore score)
- Specified by:
setScore in interface Solution<HardAndSoftScore>
getProblemFacts
public Collection<? extends Object> getProblemFacts()
- Specified by:
getProblemFacts in interface Solution<HardAndSoftScore>
cloneSolution
public CloudBalance cloneSolution()
- Clone will only deep copy the
processList.
- Specified by:
cloneSolution in interface Solution<HardAndSoftScore>
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.