net.sourceforge.cilib.neuralnetwork.testarea
Class NNFunctionAdapter

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.neuralnetwork.testarea.NNFunctionAdapter
All Implemented Interfaces:
Serializable, Cloneable

public class NNFunctionAdapter
extends Function

TODO: Complete this javadoc.

See Also:
Serialized Form

Constructor Summary
NNFunctionAdapter()
           
 
Method Summary
 Double evaluate(Type in)
          Each function must provide an implementation which returns the function value at the given position.
 NNFunctionAdapter getClone()
          Create a cloned copy of the current object and return it.
 String getIntialisationDomain()
           
 Object getMaximum()
          Accessor for the function maximum.
 EvaluationMediator getMediator()
           
 Object getMinimum()
          Accessor for the function minimum.
 void setIntialisationDomain(String intialisationDomain)
           
 void setMediator(EvaluationMediator mediator)
           
 
Methods inherited from class net.sourceforge.cilib.functions.Function
getBehavioralDomainRegistry, getDimension, getDomain, getDomainRegistry, setBehavioralDomain, setBehaviouralDomainRegistry, setDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NNFunctionAdapter

public NNFunctionAdapter()
Method Detail

evaluate

public Double evaluate(Type in)
Description copied from class: Function
Each function must provide an implementation which returns the function value at the given position. The length of the position array should be the same as the function dimension.

Specified by:
evaluate in class Function
Parameters:
in - the position
Returns:
The result of the evaluation.

getMaximum

public Object getMaximum()
Description copied from class: Function
Accessor for the function maximum. This is the maximum value of the function in the given domain.

Specified by:
getMaximum in class Function
Returns:
The maximum of the function.

getMinimum

public Object getMinimum()
Description copied from class: Function
Accessor for the function minimum. This is the minimum value of the function in the given domain.

Specified by:
getMinimum in class Function
Returns:
The minimum function value.

getClone

public NNFunctionAdapter getClone()
Description copied from interface: Cloneable
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.

Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

getMediator

public EvaluationMediator getMediator()

setMediator

public void setMediator(EvaluationMediator mediator)

getIntialisationDomain

public String getIntialisationDomain()

setIntialisationDomain

public void setIntialisationDomain(String intialisationDomain)


Copyright © 2009 CIRG. All Rights Reserved.