Class MrGlobalPenaltyInfo
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.machinereassignment.domain.MrGlobalPenaltyInfo
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
ConstructorsConstructorDescriptionMrGlobalPenaltyInfo(long id) MrGlobalPenaltyInfo(long id, int processMoveCostWeight, int serviceMoveCostWeight, int machineMoveCostWeight) -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidsetMachineMoveCostWeight(int machineMoveCostWeight) voidsetProcessMoveCostWeight(int processMoveCostWeight) voidsetServiceMoveCostWeight(int serviceMoveCostWeight) Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId, toString
-
Constructor Details
-
MrGlobalPenaltyInfo
public MrGlobalPenaltyInfo(long id) -
MrGlobalPenaltyInfo
public MrGlobalPenaltyInfo(long id, int processMoveCostWeight, int serviceMoveCostWeight, int machineMoveCostWeight)
-
-
Method Details
-
getProcessMoveCostWeight
public int getProcessMoveCostWeight() -
setProcessMoveCostWeight
public void setProcessMoveCostWeight(int processMoveCostWeight) -
getServiceMoveCostWeight
public int getServiceMoveCostWeight() -
setServiceMoveCostWeight
public void setServiceMoveCostWeight(int serviceMoveCostWeight) -
getMachineMoveCostWeight
public int getMachineMoveCostWeight() -
setMachineMoveCostWeight
public void setMachineMoveCostWeight(int machineMoveCostWeight)
-