|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optaplanner.core.api.score.constraint.ConstraintMatch
org.optaplanner.core.api.score.constraint.primint.IntConstraintMatch
public class IntConstraintMatch
Field Summary | |
---|---|
protected int |
weight
|
Fields inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch |
---|
constraintName, constraintPackage, justificationList, scoreLevel |
Constructor Summary | |
---|---|
IntConstraintMatch(String constraintPackage,
String constraintName,
int scoreLevel,
List<Object> justificationList,
int weight)
|
Method Summary | |
---|---|
int |
getWeight()
|
Number |
getWeightAsNumber()
|
Methods inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch |
---|
compareTo, getConstraintName, getConstraintPackage, getIdentificationString, getJustificationList, getScoreLevel, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final int weight
Constructor Detail |
---|
public IntConstraintMatch(String constraintPackage, String constraintName, int scoreLevel, List<Object> justificationList, int weight)
Method Detail |
---|
public int getWeight()
public Number getWeightAsNumber()
getWeightAsNumber
in class ConstraintMatch
|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |