org.simulator.math
Class RelativeSquaredError

java.lang.Object
  extended by org.simulator.math.QualityMeasure
      extended by org.simulator.math.N_Metric
          extended by org.simulator.math.RelativeSquaredError
All Implemented Interfaces:
Serializable

public class RelativeSquaredError
extends N_Metric

An implementation of the relative squared error with a default value to avoid division by zero. Actually, the exponent in this error function is 2 (squared error). Irrespectively, it is possible to set the exponent to different values.

Since:
1.0
Version:
$Rev: 391 $
Author:
Andreas Dräger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.simulator.math.N_Metric
root
 
Fields inherited from class org.simulator.math.QualityMeasure
defaultValue, meanFunction
 
Constructor Summary
RelativeSquaredError()
          Constructs a new RelativeSquaredError.
 
Method Summary
 
Methods inherited from class org.simulator.math.N_Metric
distance, distanceToZero, getRoot, setRoot
 
Methods inherited from class org.simulator.math.QualityMeasure
distance, distance, distance, getColumnDistances, getDefaultValue, getMeanFunction, setDefaultValue, setMeanFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeSquaredError

public RelativeSquaredError()
Constructs a new RelativeSquaredError. Here the root is the default value to be returned by the distance function.


Generated at April 19 2013
Version 1.3 Revision 424