EVolve.visualization
Class Predictor

java.lang.Object
  |
  +--EVolve.visualization.Predictor
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DefaultPredictor

public abstract class Predictor
extends java.lang.Object
implements java.lang.Cloneable

Predictor used in prediction visualization.


Constructor Summary
Predictor()
           
 
Method Summary
 java.lang.Object clone()
           
abstract  boolean isCorrect()
          Tells if the prediction is correct.
abstract  void newTarget(long target)
          Receives a new target.
abstract  void newTarget2(long target)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Predictor

public Predictor()
Method Detail

newTarget

public abstract void newTarget(long target)
Receives a new target.

Parameters:
target - the new target

isCorrect

public abstract boolean isCorrect()
Tells if the prediction is correct.

Returns:
true if the prediction is correct

newTarget2

public abstract void newTarget2(long target)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object