org.optaplanner.core.api.score.constraint.primdouble
public class DoubleConstraintMatch extends ConstraintMatch
Modifier and Type | Field and Description |
---|---|
protected DoubleConstraintMatchTotal |
constraintMatchTotal |
protected double |
weight |
justificationList
Constructor and Description |
---|
DoubleConstraintMatch(DoubleConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
double weight) |
Modifier and Type | Method and Description |
---|---|
DoubleConstraintMatchTotal |
getConstraintMatchTotal() |
double |
getWeight() |
Number |
getWeightAsNumber() |
compareTo, getJustificationList, toString
protected final DoubleConstraintMatchTotal constraintMatchTotal
protected final double weight
public DoubleConstraintMatch(DoubleConstraintMatchTotal constraintMatchTotal, List<Object> justificationList, double weight)
public DoubleConstraintMatchTotal getConstraintMatchTotal()
getConstraintMatchTotal
in class ConstraintMatch
public double getWeight()
public Number getWeightAsNumber()
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.