Class MrBalancePenalty
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.machinereassignment.domain.MrBalancePenalty
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
Constructor Summary
ConstructorsConstructorDescriptionMrBalancePenalty
(long id, MrResource originResource, MrResource targetResource, int multiplicand, int weight) MrBalancePenalty
(MrResource originResource, MrResource targetResource, int multiplicand, int weight) -
Method Summary
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId, toString
-
Constructor Details
-
MrBalancePenalty
public MrBalancePenalty(MrResource originResource, MrResource targetResource, int multiplicand, int weight) -
MrBalancePenalty
public MrBalancePenalty(long id, MrResource originResource, MrResource targetResource, int multiplicand, int weight)
-
-
Method Details
-
getOriginResource
-
getTargetResource
-
getMultiplicand
public int getMultiplicand() -
getWeight
public int getWeight() -
setWeight
public void setWeight(int weight)
-