net.sourceforge.cilib.neuralnetwork.foundation
Interface NNError

All Superinterfaces:
Cloneable, Comparable<Fitness>, Fitness, Initializable, Serializable, Type
All Known Implementing Classes:
ClassificationErrorReal, MSEErrorFunction

public interface NNError
extends Fitness, Initializable

TODO: Complete this javadoc.


Method Summary
 void computeIteration(TypeList output, NNPattern input)
           
 void finaliseError()
           
 NNError getClone()
          Create a cloned copy of the current object and return it.
 String getName()
           
 Double getValue()
          Returns the underlying fitness value.
 void setNoOutputs(int nr)
           
 void setNoPatterns(int noPatterns)
           
 void setValue(Object val)
           
 
Methods inherited from interface net.sourceforge.cilib.problem.Fitness
compareTo, newInstance
 
Methods inherited from interface net.sourceforge.cilib.type.types.Type
equals, hashCode
 
Methods inherited from interface net.sourceforge.cilib.neuralnetwork.foundation.Initializable
initialize
 

Method Detail

computeIteration

void computeIteration(TypeList output,
                      NNPattern input)

finaliseError

void finaliseError()

getClone

NNError getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Specified by:
getClone in interface Fitness
Specified by:
getClone in interface Type
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

setValue

void setValue(Object val)

getValue

Double getValue()
Returns the underlying fitness value.

Specified by:
getValue in interface Fitness
Returns:
the actual fitness value.

getName

String getName()

setNoPatterns

void setNoPatterns(int noPatterns)

setNoOutputs

void setNoOutputs(int nr)


Copyright © 2009 CIRG. All Rights Reserved.