FastFractal Class Reference

Collaboration diagram for FastFractal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FastFractal (String unitFunctionName, int fractalDepth, int density, long index, int dimensions) throws Exception
double evaluate (double[] point)
double[] evaluate (double[][] points)

Detailed Description

This is the top level class (called by the user) for generating fast multidimensional fractal functions.

Each function (or "landscape") is made from a base function (or unit function) at various scales. For the fast multidimensional functions these are subclasses of UnitFunction1D.

The choice of base function determines a class of fractal functions. Each instance within that class is then determined by three parameters: the fractal depth, the density, and a sequence number.

For the motivation behind the fractal functions see: MacNish, C., Towards Unbiased Benchmarking of Evolutionary and Hybrid Algorithms for Real-valued Optimisation, Connection Science, Vol. 19, No. 4, December 2007. Or visit Cara MacNish's website.

See also:
UnitFunction1D
Author:
ahref="http://www.csse.uwa.edu.au/~cara/">CaraMacNish</a>,UniversityofWesternAustralia@version1.0RC1,7thNov2007<br>Forthelatestversionandadditionalinformationseethe@link<ahref="http://www.cs.bham.ac.uk/research/projects/ecb/">BirminghamRepository</a>

Definition at line 32 of file FastFractal.java.


Constructor & Destructor Documentation

FastFractal::FastFractal ( String  unitFunctionName,
int  fractalDepth,
int  density,
long  index,
int  dimensions 
) throws Exception [inline]

Create a fast fractal function generator.

Parameters:
unitFunctionName the name of the base function for the generator. It must match the class name of a subclass of UnitFunction1D.
fractalDepth recursive depth of fractal - each increment adds detail at half the scale (double the resolution). Must be between 1 and 48 (the maximum supported by IEEE 64-bit floating point resolution).
density average number of base functions per unit area at each resolution
index the sequence number of this surface (for the given fractal depth and density)
dimensions number of dimensions (free variables) of the parameter space

Definition at line 49 of file FastFractal.java.


Member Function Documentation

double [] FastFractal::evaluate ( double  points[][]  )  [inline]

Evaluate the function on an array of points.

Parameters:
points the points to evaluate. The array must be size nxD where n is the number of points to evaluate and D is the dimension.
Returns:
an array of the n values

Definition at line 84 of file FastFractal.java.

Here is the call graph for this function:

double FastFractal::evaluate ( double[]  point  )  [inline]

Evaluate the function at the given point.

Parameters:
point the point to evaluate. The size of the array must match the dimension of the problem. point[0] is co-ordinate x1, point[1] is co-ordinate x2, ..., point [D-1] is co-ordinate xD, where D is the dimension.
Returns:
the value

Definition at line 62 of file FastFractal.java.

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on Sun May 9 12:26:14 2010 for Realea by  doxygen 1.6.1