|
Drools Planner distribution 6.0.0.Alpha9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.planner.core.score.constraint.ConstraintOccurrence
org.drools.planner.core.score.constraint.DoubleConstraintOccurrence
public class DoubleConstraintOccurrence
| Field Summary | |
|---|---|
protected double |
weight
|
| Fields inherited from class org.drools.planner.core.score.constraint.ConstraintOccurrence |
|---|
causes, constraintType, ruleId |
| Constructor Summary | |
|---|---|
DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
double weight,
Object... causes)
|
|
DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
Object... causes)
|
|
DoubleConstraintOccurrence(String ruleId,
double weight,
Object... causes)
|
|
DoubleConstraintOccurrence(String ruleId,
Object... causes)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
double |
getWeight()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class org.drools.planner.core.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 ConstraintOccurrencepublic int hashCode()
hashCode in class ConstraintOccurrencepublic String toString()
toString in class ConstraintOccurrence
|
Drools Planner distribution 6.0.0.Alpha9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||