OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.cheaptime.domain
Class Machine

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.cheaptime.domain.Machine
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class Machine
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Machine()
           
 
Method Summary
 int getIndex()
           
 String getLabel()
           
 MachineCapacity getMachineCapacity(Resource resource)
           
 List<MachineCapacity> getMachineCapacityList()
           
 long getPowerConsumptionMicros()
           
 long getSpinUpDownCostMicros()
           
 void setIndex(int index)
           
 void setMachineCapacityList(List<MachineCapacity> machineCapacityList)
           
 void setPowerConsumptionMicros(long powerConsumptionMicros)
           
 void setSpinUpDownCostMicros(long spinUpDownCostMicros)
           
 
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

Machine

public Machine()
Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getPowerConsumptionMicros

public long getPowerConsumptionMicros()

setPowerConsumptionMicros

public void setPowerConsumptionMicros(long powerConsumptionMicros)

getSpinUpDownCostMicros

public long getSpinUpDownCostMicros()

setSpinUpDownCostMicros

public void setSpinUpDownCostMicros(long spinUpDownCostMicros)

getMachineCapacityList

public List<MachineCapacity> getMachineCapacityList()

setMachineCapacityList

public void setMachineCapacityList(List<MachineCapacity> machineCapacityList)

getMachineCapacity

public MachineCapacity getMachineCapacity(Resource resource)

getLabel

public String getLabel()

OptaPlanner distribution 6.2.1-SNAPSHOT

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