Class LogisticMap
java.lang.Object
org.episteme.core.mathematics.dynamical.LogisticMap
- All Implemented Interfaces:
DiscreteMap, DynamicalMap<double[]>
Represents the Logistic map: x_{n+1} = r * x_n * (1 - x_n).
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the dimension of the state space.doubleReturns the Hausdorff dimension (fractal dimension) of the attractor, if known.double[]map(double[] state) Applies the map to a state.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DynamicalMap
iterate
-
Constructor Details
-
LogisticMap
public LogisticMap(double r) Creates a Logistic map with parameter r.- Parameters:
r- the growth rate parameter (typically [0, 4])
-
-
Method Details
-
map
public double[] map(double[] state) Description copied from interface:DynamicalMapApplies the map to a state.- Specified by:
mapin interfaceDynamicalMap<double[]>- Parameters:
state- the current state- Returns:
- the next state
-
dimensions
public int dimensions()Description copied from interface:DiscreteMapReturns the dimension of the state space.- Specified by:
dimensionsin interfaceDiscreteMap- Returns:
- the dimension
-
hausdorffDimension
public double hausdorffDimension()Description copied from interface:DiscreteMapReturns the Hausdorff dimension (fractal dimension) of the attractor, if known.- Specified by:
hausdorffDimensionin interfaceDiscreteMap- Returns:
- the Hausdorff dimension
-