public abstract class Objective
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_name
the name of the objective
|
Constructor and Description |
---|
Objective(java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this objective.
|
abstract double |
satisfaction(double value)
Determines how satisfied the user is with the specified value for this objective.
|
java.lang.String |
toString()
A description of this objective.
|
public Objective(java.lang.String name)
name
- the name to assign the objectivepublic abstract double satisfaction(double value)
value
- The value associated with this objective for a particular trialpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object