org.encog.engine.concurrency.calc
Class CalculationResult
java.lang.Object
org.encog.engine.concurrency.calc.CalculationResult
public class CalculationResult
- extends Object
The result from a calculation.
|
Constructor Summary |
CalculationResult(boolean successful,
boolean executed)
Construct a calculation result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalculationResult
public CalculationResult(boolean successful,
boolean executed)
- Construct a calculation result.
- Parameters:
successful - What it successful?executed - Did it execute?
getError
public double getError()
- Returns:
- the error
isExecuted
public boolean isExecuted()
- Returns:
- the executed
isSuccessful
public boolean isSuccessful()
- Returns:
- the successful
setError
public void setError(double error)
- Parameters:
error - the error to set
Copyright © 2011. All Rights Reserved.