cbr.framework
Class Outcome

java.lang.Object
  extended by cbr.framework.Outcome

public class Outcome
extends Object

This class provides information about the final outcome that resulted from applying a Solution to a Case. The Outcome is a numerical measure of a Case's success.


Constructor Summary
Outcome()
          Default constructor.
Outcome(double value)
          Value-supplied Constructor.
 
Method Summary
 double getValue()
          Get the value of the outcome.
 void setValue(double value)
          Set the outcome value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Outcome

public Outcome()
Default constructor. Sets the Outcomes value to 0.


Outcome

public Outcome(double value)
Value-supplied Constructor. Sets the Outcomes value to the value supplied.

Parameters:
value - the outcomes value
Method Detail

getValue

public double getValue()
Get the value of the outcome.

Returns:
the value of the outcome

setValue

public void setValue(double value)
Set the outcome value.

Parameters:
value - the outcome value