net.sourceforge.cilib.functions.continuous
Class FunctionDimensionMapping

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.functions.ContinuousFunction
          extended by net.sourceforge.cilib.functions.continuous.FunctionDimensionMapping
All Implemented Interfaces:
Serializable, Cloneable

public class FunctionDimensionMapping
extends ContinuousFunction

TODO: Complete this javadoc.

See Also:
Serialized Form

Constructor Summary
FunctionDimensionMapping()
          Create an instance of FunctionDimensionMapping.
 
Method Summary
 double evaluate(Vector x)
          Evaluate the function with the given Vector as input.
 FunctionDimensionMapping getClone()
          Create a cloned copy of the current object and return it.
 double getDataDimension()
          Get the dimension of the data.
 double[][] getHigherDimensionDistanceMatrix()
           
 double getNumber()
           
 void setDataDimension(int dimension)
          Set the dimension of the data.
 void setHigherDimensionDistanceMatrix(double[][] higherDimensionDistanceMatrix)
           
 void setNumber(int number)
           
 
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction
evaluate, getMaximum, getMinimum
 
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

FunctionDimensionMapping

public FunctionDimensionMapping()
Create an instance of FunctionDimensionMapping.

Method Detail

getClone

public FunctionDimensionMapping 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 class ContinuousFunction
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

evaluate

public double evaluate(Vector x)
Evaluate the function with the given Vector as input.

Specified by:
evaluate in class ContinuousFunction
Parameters:
x - The input Vector.
Returns:
The value of the evaluation.

getDataDimension

public double getDataDimension()
Get the dimension of the data.

Returns:
Returns the dimension.

setDataDimension

public void setDataDimension(int dimension)
Set the dimension of the data.

Parameters:
dimension - The dimension to set.

getNumber

public double getNumber()
Returns:
Returns the number.

setNumber

public void setNumber(int number)
Parameters:
number - The number to set.

getHigherDimensionDistanceMatrix

public double[][] getHigherDimensionDistanceMatrix()
Returns:
Returns the higherDimensionDistanceMatrix.

setHigherDimensionDistanceMatrix

public void setHigherDimensionDistanceMatrix(double[][] higherDimensionDistanceMatrix)
Parameters:
higherDimensionDistanceMatrix - The higherDimensionDistanceMatrix to set.


Copyright © 2009 CIRG. All Rights Reserved.