Package jadex.micro.examples.mandelbrot
Class LyapunovAlgorithm
- java.lang.Object
- 
- jadex.micro.examples.mandelbrot.LyapunovAlgorithm
 
- 
- All Implemented Interfaces:
- IFractalAlgorithm
 
 public class LyapunovAlgorithm extends java.lang.Object implements IFractalAlgorithm Algorithm for calculating Lyapunov fractals.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringGENERATORGenerator string (any combination of As and Bs).
 - 
Constructor SummaryConstructors Constructor Description LyapunovAlgorithm()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdetermineColor(double a, double b, short max)Determine the color of a point.booleanequals(java.lang.Object obj)Test if two objects are equal.AreaDatagetDefaultSettings()Get default settings for rendering the fractal.inthashCode()Get the hash code.booleanisOptimizationAllowed()Can areas be filled?java.lang.StringtoString()Get a string representation.booleanuseColorCycle()Should a cyclic color scheme be used?
 
- 
- 
- 
Field Detail- 
GENERATORpublic static final java.lang.String GENERATOR Generator string (any combination of As and Bs).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
determineColorpublic short determineColor(double a, double b, short max)Determine the color of a point.- Specified by:
- determineColorin interface- IFractalAlgorithm
- Parameters:
- x- The x coordinate.
- y- The y coordinate.
- max- The maximum depth.
- Returns:
- A value for the point from 0 to max-1 or -1 for max.
 
 - 
getDefaultSettingspublic AreaData getDefaultSettings() Get default settings for rendering the fractal.- Specified by:
- getDefaultSettingsin interface- IFractalAlgorithm
 
 - 
useColorCyclepublic boolean useColorCycle() Should a cyclic color scheme be used?- Specified by:
- useColorCyclein interface- IFractalAlgorithm
 
 - 
isOptimizationAllowedpublic boolean isOptimizationAllowed() Can areas be filled?- Specified by:
- isOptimizationAllowedin interface- IFractalAlgorithm
 
 - 
toStringpublic java.lang.String toString() Get a string representation.- Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if two objects are equal.- Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() Get the hash code.- Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-