org.optaplanner.core.api.score.constraint.primdouble
Class DoubleConstraintMatch
java.lang.Object
org.optaplanner.core.api.score.constraint.ConstraintMatch
org.optaplanner.core.api.score.constraint.primdouble.DoubleConstraintMatch
- All Implemented Interfaces:
- Serializable, Comparable<ConstraintMatch>
public class DoubleConstraintMatch
- extends ConstraintMatch
- See Also:
- Serialized Form
constraintMatchTotal
protected final DoubleConstraintMatchTotal constraintMatchTotal
weight
protected final double weight
DoubleConstraintMatch
public DoubleConstraintMatch(DoubleConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
double weight)
getConstraintMatchTotal
public DoubleConstraintMatchTotal getConstraintMatchTotal()
- Specified by:
getConstraintMatchTotal
in class ConstraintMatch
getWeight
public double getWeight()
getWeightAsNumber
public Number getWeightAsNumber()
- Specified by:
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.