Class IdleCost
- java.lang.Object
-
- org.optaplanner.examples.cheaptime.optional.score.drools.IdleCost
-
- All Implemented Interfaces:
Comparable<IdleCost>
public class IdleCost extends Object implements Comparable<IdleCost>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IdleCost other)booleanequals(Object o)intgetActivePeriodAfterIdle()longgetCost()MachinegetMachine()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
IdleCost
public IdleCost(Machine machine, int activePeriodAfterIdle, long cost)
-
-
Method Detail
-
getMachine
public Machine getMachine()
-
getActivePeriodAfterIdle
public int getActivePeriodAfterIdle()
-
getCost
public long getCost()
-
compareTo
public int compareTo(IdleCost other)
- Specified by:
compareToin interfaceComparable<IdleCost>
-
-