Class LogisticMap
java.lang.Object
org.episteme.core.mathematics.analysis.chaos.LogisticMap
- All Implemented Interfaces:
Function<Double,Double>, DiscreteMap<Double>, Function<Double, Double>, Relation<Double, Double>
The Logistic Map: x_{n+1} = r * x_n * (1 - x_n).
A classic example of how complex, chaotic behaviour can arise from very simple non-linear dynamical equations. The logistic map exhibits a period-doubling route to chaos as the parameter r increases.
Parameter Ranges:
- 0 ≤ r ≤ 1: Population dies out
- 1 invalid input: '<' r invalid input: '<' 3: Converges to (r-1)/r
- 3 ≤ r invalid input: '<' 1+√6 ≈ 3.45: Oscillates between two values
- r ≈ 3.57: Period-doubling cascade to chaos
- r = 4: Fully chaotic on [0, 1]
References
- May, Robert M. (1976). "Simple mathematical models with very complicated dynamics". Nature. 261 (5560): 459–467. doi:10.1038/261459a0
- Wikipedia: Logistic map
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionLogisticMap(double r) Creates a Logistic Map with parameter r (double precision).LogisticMap(Real r) Creates a Logistic Map with parameter r (arbitrary precision). -
Method Summary
Modifier and TypeMethodDescriptionJava Function interface implementation - delegates to evaluate().Evaluates this function at the given point.Returns the codomain description.Returns the domain description.getR()Returns the growth rate parameter.Iterates the logistic map (arbitrary precision).toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DiscreteMap
getLyapunovExponent, iterateMethods inherited from interface Function
andThen, compose, contains, evaluate, getBackend, isContinuous, isDifferentiable, setBackend
-
Constructor Details
-
LogisticMap
public LogisticMap(double r) Creates a Logistic Map with parameter r (double precision).For arbitrary precision, use
LogisticMap(Real).- Parameters:
r- the growth rate parameter (typically [0, 4])
-
LogisticMap
Creates a Logistic Map with parameter r (arbitrary precision).- Parameters:
r- the growth rate parameter (typically [0, 4])
-
-
Method Details
-
apply
-
evaluate
-
iterate
-
getR
-
getDomain
-
getCodomain
-
toString
-