OptaPlanner core 6.0.0.CR4

org.optaplanner.core.api.score.constraint.primint
Class IntConstraintMatch

java.lang.Object
  extended by org.optaplanner.core.api.score.constraint.ConstraintMatch
      extended by org.optaplanner.core.api.score.constraint.primint.IntConstraintMatch
All Implemented Interfaces:
Serializable, Comparable<ConstraintMatch>

public class IntConstraintMatch
extends ConstraintMatch

See Also:
Serialized Form

Field Summary
protected  IntConstraintMatchTotal constraintMatchTotal
           
protected  int weight
           
 
Fields inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch
justificationList
 
Constructor Summary
IntConstraintMatch(IntConstraintMatchTotal constraintMatchTotal, List<Object> justificationList, int weight)
           
 
Method Summary
 IntConstraintMatchTotal getConstraintMatchTotal()
           
 int getWeight()
           
 Number getWeightAsNumber()
           
 
Methods inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch
compareTo, getJustificationList, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constraintMatchTotal

protected final IntConstraintMatchTotal constraintMatchTotal

weight

protected final int weight
Constructor Detail

IntConstraintMatch

public IntConstraintMatch(IntConstraintMatchTotal constraintMatchTotal,
                          List<Object> justificationList,
                          int weight)
Method Detail

getConstraintMatchTotal

public IntConstraintMatchTotal getConstraintMatchTotal()
Specified by:
getConstraintMatchTotal in class ConstraintMatch

getWeight

public int getWeight()

getWeightAsNumber

public Number getWeightAsNumber()
Specified by:
getWeightAsNumber in class ConstraintMatch

OptaPlanner core 6.0.0.CR4

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.