Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.planner.core.score.buildin.simpledouble
Interface SimpleDoubleScore

All Superinterfaces:
  Comparable<SimpleDoubleScore>, Score<SimpleDoubleScore>

All Known Implementing Classes:
  DefaultSimpleDoubleScore

    public interface SimpleDoubleScore

extends Score<SimpleDoubleScore>

A SimpleScore is a Score based on double constraints.

Implementations must be immutable.

See Also:
  `Score`, `DefaultDoubleSimpleScore`

Method Summary
`double` | `getScore()` The total of the broken negative constraints and fulfilled postive hard constraints.

Methods inherited from interface org.drools.planner.core.score.Score
`add, divide, multiply, subtract, toDoubleLevels`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### getScore

    double getScore()

  The total of the broken negative constraints and fulfilled postive hard constraints. Their weight is included in the total. The score is usually a negative number because most use cases only have negative constraints.

  Returns:
    higher is better, usually negative, 0 if no constraints are broken/fulfilled

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.