Catalano.Math.Functions.Chaotic
Class LogisticMap
- java.lang.Object
-
- Catalano.Math.Functions.Chaotic.LogisticMap
-
- All Implemented Interfaces:
- IChaoticFunction
public class LogisticMap extends java.lang.Object implements IChaoticFunction
Logistic map.
-
-
Constructor Summary
Constructors Constructor and Description LogisticMap()Initialize a new instance of the LogisticMap class.LogisticMap(double r)Initialize a new instance of the LogisticMap class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleGenerate(double x)Generate a value from the chaotic function.double[]Generate(double initialState, int iterations)Generate a map from the chaotic function.
-
-
-
Constructor Detail
-
LogisticMap
public LogisticMap()
Initialize a new instance of the LogisticMap class.
-
LogisticMap
public LogisticMap(double r)
Initialize a new instance of the LogisticMap class.- Parameters:
r- Parameter u.
-
-
Method Detail
-
Generate
public double Generate(double x)
Description copied from interface:IChaoticFunctionGenerate a value from the chaotic function.- Specified by:
Generatein interfaceIChaoticFunction- Parameters:
x- Value.- Returns:
- Value.
-
Generate
public double[] Generate(double initialState, int iterations)Description copied from interface:IChaoticFunctionGenerate a map from the chaotic function.- Specified by:
Generatein interfaceIChaoticFunction- Parameters:
initialState- Initial state (value).iterations- Number of iterations.- Returns:
- Chaotic map.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG