public final class Indictment extends Object implements Serializable, Comparable<Indictment>
Score of a PlanningSolution, from the opposite side than ConstraintMatchTotal.
Retrievable from ScoreDirector.getIndictmentMap().| Constructor and Description |
|---|
Indictment(Object justification,
Score zeroScore) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraintMatch(ConstraintMatch constraintMatch) |
int |
compareTo(Indictment other) |
boolean |
equals(Object o) |
int |
getConstraintMatchCount() |
Set<ConstraintMatch> |
getConstraintMatchSet() |
Object |
getJustification() |
Score |
getScore()
Sum of the
getConstraintMatchSet()'s ConstraintMatch.getScore(). |
Score |
getScoreTotal()
Deprecated.
in favor of
getScore() |
int |
hashCode() |
void |
removeConstraintMatch(ConstraintMatch constraintMatch) |
String |
toString() |
public Object getJustification()
public Set<ConstraintMatch> getConstraintMatchSet()
public int getConstraintMatchCount()
>= 0public Score getScore()
getConstraintMatchSet()'s ConstraintMatch.getScore().@Deprecated public Score getScoreTotal()
getScore()public void addConstraintMatch(ConstraintMatch constraintMatch)
public void removeConstraintMatch(ConstraintMatch constraintMatch)
public int compareTo(Indictment other)
compareTo in interface Comparable<Indictment>Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.