org.jscience.mathematics.analysis.chaos
Class LogisticMap

java.lang.Object
  extended by org.jscience.mathematics.analysis.chaos.LogisticMap
All Implemented Interfaces:
AbstractMapping, PrimitiveMapping

public final class LogisticMap
extends java.lang.Object
implements PrimitiveMapping

The LogisticMap class provides an object that encapsulates the logistic map. xn+1 = r xn (1-xn)


Field Summary
static double R_16CYCLE
          16-cycle bifurcation point.
static double R_2CYCLE
          2-cycle bifurcation point.
static double R_4CYCLE
          4-cycle bifurcation point.
static double R_8CYCLE
          8-cycle bifurcation point.
static double R_ACCUMULATION
          Accumulation point.
 
Constructor Summary
LogisticMap(double rval)
          Constructs a logistic map.
 
Method Summary
 double hausdorffDimension()
          DOCUMENT ME!
 double iterate(int n, double x)
          Iterates the map.
 double map(double x)
          Performs the mapping.
 double map(float x)
          DOCUMENT ME!
 double map(int x)
          DOCUMENT ME!
 double map(long x)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

R_2CYCLE

public static final double R_2CYCLE
2-cycle bifurcation point.

See Also:
Constant Field Values

R_4CYCLE

public static final double R_4CYCLE
4-cycle bifurcation point.


R_8CYCLE

public static final double R_8CYCLE
8-cycle bifurcation point.

See Also:
Constant Field Values

R_16CYCLE

public static final double R_16CYCLE
16-cycle bifurcation point.

See Also:
Constant Field Values

R_ACCUMULATION

public static final double R_ACCUMULATION
Accumulation point.

See Also:
Constant Field Values
Constructor Detail

LogisticMap

public LogisticMap(double rval)
Constructs a logistic map.

Parameters:
rval - the value of the r parameter
Method Detail

map

public double map(double x)
Performs the mapping.

Specified by:
map in interface PrimitiveMapping
Parameters:
x - a double
Returns:
DOCUMENT ME!
See Also:
org.jscience.mathematics.analysis.IntervalList.

map

public double map(float x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMapping
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

public double map(long x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMapping
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

public double map(int x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMapping
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

hausdorffDimension

public double hausdorffDimension()
DOCUMENT ME!

Returns:
DOCUMENT ME!

iterate

public double iterate(int n,
                      double x)
Iterates the map.

Parameters:
n - the number of iterations
x - the initial value
Returns:
DOCUMENT ME!