public abstract class AbstractTask extends Object implements ITask
| Constructor and Description |
|---|
AbstractTask() |
| Modifier and Type | Method and Description |
|---|---|
AbstractTask |
clone() |
double |
getEvaluation(mikera.vectorz.AVector input,
mikera.vectorz.AVector output)
Returns the evaluation of the given output vector
|
abstract void |
getInput(mikera.vectorz.AVector inputOut)
Gets the input vector for the task, advancing the task state to the next stage
|
void |
getTarget(mikera.vectorz.AVector input,
mikera.vectorz.AVector targetOut)
Gets the target vector for the task
|
boolean |
isComplete()
Returns true if the task execution has finished
|
void |
reset()
Resets the task to a random initial state
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExampleCount, getInputLength, getOutputLengthpublic void reset()
ITaskpublic abstract void getInput(mikera.vectorz.AVector inputOut)
ITaskpublic void getTarget(mikera.vectorz.AVector input,
mikera.vectorz.AVector targetOut)
ITaskpublic double getEvaluation(mikera.vectorz.AVector input,
mikera.vectorz.AVector output)
ITaskgetEvaluation in interface ITaskpublic boolean isComplete()
ITaskisComplete in interface ITaskpublic AbstractTask clone()
Copyright © 2013. All Rights Reserved.