JSci.maths.chaos
Class LogisticMap

java.lang.Object
  extended by JSci.maths.chaos.LogisticMap
All Implemented Interfaces:
Mapping

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

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()
           
 double iterate(int n, double x)
          Iterates the map.
 double map(double x)
          Performs the mapping.
 
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 Mapping
Parameters:
x - a double

hausdorffDimension

public double hausdorffDimension()

iterate

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

Parameters:
n - the number of iterations
x - the initial value