|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HardAndSoftLongScore
A HardAndSoftScore is a Score based on hard constraints and soft long constraints. Hard constraints have priority over soft constraints.
Implementations must be immutable.
Score,
DefaultHardAndSoftLongScore| Method Summary | |
|---|---|
long |
getHardScore()
The total of the broken negative hard constraints and fulfilled positive hard constraints. |
long |
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 |
|---|
long getHardScore()
long getSoftScore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||