|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optaplanner.core.impl.score.constraint.ConstraintOccurrence
org.optaplanner.core.impl.score.constraint.DoubleConstraintOccurrence
@Deprecated public class DoubleConstraintOccurrence
Will be removed in version 6.1.0.Beta1.
Field Summary | |
---|---|
protected double |
weight
Deprecated. |
Fields inherited from class org.optaplanner.core.impl.score.constraint.ConstraintOccurrence |
---|
causes, constraintType, ruleId |
Constructor Summary | |
---|---|
DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
double weight,
Object... causes)
Deprecated. |
|
DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
Object... causes)
Deprecated. |
|
DoubleConstraintOccurrence(String ruleId,
double weight,
Object... causes)
Deprecated. |
|
DoubleConstraintOccurrence(String ruleId,
Object... causes)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Deprecated. |
double |
getWeight()
Deprecated. |
int |
hashCode()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class org.optaplanner.core.impl.score.constraint.ConstraintOccurrence |
---|
compareTo, getCauses, getConstraintType, getRuleId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double weight
Constructor Detail |
---|
public DoubleConstraintOccurrence(String ruleId, Object... causes)
public DoubleConstraintOccurrence(String ruleId, ConstraintType constraintType, Object... causes)
public DoubleConstraintOccurrence(String ruleId, double weight, Object... causes)
public DoubleConstraintOccurrence(String ruleId, ConstraintType constraintType, double weight, Object... causes)
Method Detail |
---|
public double getWeight()
public boolean equals(Object o)
equals
in class ConstraintOccurrence
public int hashCode()
hashCode
in class ConstraintOccurrence
public String toString()
toString
in class ConstraintOccurrence
|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |