org.drools.planner.core.score
Class AbstractScore<S extends Score>

java.lang.Object
  extended by org.drools.planner.core.score.AbstractScore<S>
All Implemented Interfaces:
Serializable, Comparable<S>, Score<S>
Direct Known Subclasses:
DefaultHardAndSoftLongScore, DefaultHardAndSoftScore, DefaultSimpleDoubleScore, DefaultSimpleScore

public abstract class AbstractScore<S extends Score>
extends Object
implements Score<S>, Serializable

Abstract superclass for Score.

Subclasses must be immutable.

See Also:
Score, DefaultHardAndSoftScore, Serialized Form

Constructor Summary
AbstractScore()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.planner.core.score.Score
add, divide, multiply, subtract, toDoubleArray
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

AbstractScore

public AbstractScore()


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