|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HardAndSoftScore
A HardAndSoftScore is a Score based on hard constraints and soft int constraints. Hard constraints have priority over soft constraints.
Implementations must be immutable.
Score,
DefaultHardAndSoftScore| Method Summary | |
|---|---|
int |
getHardScore()
The total of the broken negative hard constraints and fulfilled positive hard constraints. |
int |
getSoftScore()
The total of the broken negative soft constraints and fulfilled positive soft constraints. |
| Methods inherited from interface org.drools.planner.core.score.Score |
|---|
add, divide, multiply, subtract, toDoubleArray |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
int getHardScore()
int getSoftScore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||