org.drools.planner.core.score.constraint
Class DoubleConstraintOccurrence
java.lang.Object
org.drools.planner.core.score.constraint.ConstraintOccurrence
org.drools.planner.core.score.constraint.DoubleConstraintOccurrence
- All Implemented Interfaces:
- Serializable, Comparable<ConstraintOccurrence>
public class DoubleConstraintOccurrence
- extends ConstraintOccurrence
- See Also:
- Serialized Form
|
Field Summary |
protected double |
weight
|
weight
protected double weight
DoubleConstraintOccurrence
public DoubleConstraintOccurrence(String ruleId,
Object... causes)
DoubleConstraintOccurrence
public DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
Object... causes)
DoubleConstraintOccurrence
public DoubleConstraintOccurrence(String ruleId,
double weight,
Object... causes)
DoubleConstraintOccurrence
public DoubleConstraintOccurrence(String ruleId,
ConstraintType constraintType,
double weight,
Object... causes)
getWeight
public double getWeight()
equals
public boolean equals(Object o)
- Overrides:
equals in class ConstraintOccurrence
hashCode
public int hashCode()
- Overrides:
hashCode in class ConstraintOccurrence
toString
public String toString()
- Overrides:
toString in class ConstraintOccurrence
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.