OptaPlanner examples 6.2.0.CR1

org.optaplanner.examples.cloudbalancing.domain
Class CloudBalance

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.cloudbalancing.domain.CloudBalance
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

public class CloudBalance
extends AbstractPersistable
implements org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
CloudBalance()
           
 
Method Summary
 List<CloudComputer> getComputerList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<CloudProcess> getProcessList()
           
 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
           
 void setComputerList(List<CloudComputer> computerList)
           
 void setProcessList(List<CloudProcess> processList)
           
 void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
           
 
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

CloudBalance

public CloudBalance()
Method Detail

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 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
Specified by:
getScore in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

setScore

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

getProblemFacts

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

OptaPlanner examples 6.2.0.CR1

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