org.optaplanner.examples.cheaptime.solver
Class CheapTimeCostCalculator
java.lang.Object
org.optaplanner.examples.cheaptime.solver.CheapTimeCostCalculator
public class CheapTimeCostCalculator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MICROS_PER_ONE_AS_LONG
public static final long MICROS_PER_ONE_AS_LONG
- See Also:
- Constant Field Values
MICROS_PER_ONE_AS_DOUBLE
public static final double MICROS_PER_ONE_AS_DOUBLE
- See Also:
- Constant Field Values
MICROS_PER_ONE_AS_BIG_DECIMAL
public static final BigDecimal MICROS_PER_ONE_AS_BIG_DECIMAL
toMicroCost
public static long toMicroCost(long cost)
parseMicroCost
public static long parseMicroCost(String costString)
multiplyTwoMicros
public static long multiplyTwoMicros(long aMicros,
long bMicros)
divideTwoMicros
public static long divideTwoMicros(long aMicros,
long bMicros)
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.