Package jadex.micro.examples.mandelbrot
Interface IFractalAlgorithm
- 
- All Known Implementing Classes:
- LyapunovAlgorithm,- MandelbrotAlgorithm
 
 public interface IFractalAlgorithmAlgorithm for calculating a fractal.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description shortdetermineColor(double x, double y, short max)Determine the color of a point.AreaDatagetDefaultSettings()Get default settings for rendering the fractal.booleanisOptimizationAllowed()Can areas be filled?booleanuseColorCycle()Should a cyclic color scheme be used?
 
- 
- 
- 
Method Detail- 
determineColorshort determineColor(double x, double y, short max)Determine the color of a point.- 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 if the value is at the maximum.
 
 - 
isOptimizationAllowedboolean isOptimizationAllowed() Can areas be filled?
 - 
getDefaultSettingsAreaData getDefaultSettings() Get default settings for rendering the fractal.
 - 
useColorCycleboolean useColorCycle() Should a cyclic color scheme be used?
 
- 
 
-