org.encog.engine.concurrency.calc
Class CalculationResult

java.lang.Object
  extended by 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.
 
Method Summary
 double getError()
           
 boolean isExecuted()
           
 boolean isSuccessful()
           
 void setError(double error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalculationResult

public CalculationResult(boolean successful,
                         boolean executed)
Construct a calculation result.

Parameters:
successful - What it successful?
executed - Did it execute?
Method Detail

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.