jsci.maths.chaos
Class CantorDust

java.lang.Object
  extended by jsci.maths.chaos.CantorDust

public abstract class CantorDust
extends Object

The CantorDust class provides an object that encapsulates the Cantor dust fractal.


Constructor Summary
CantorDust()
           
 
Method Summary
 double hausdorffDimension()
           
 void recurse(double start, double end, int n)
          The recursive algorithm for Cantor dust.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CantorDust

public CantorDust()
Method Detail

hausdorffDimension

public double hausdorffDimension()

recurse

public void recurse(double start,
                    double end,
                    int n)
The recursive algorithm for Cantor dust.

Parameters:
start - the start of the line.
end - the end of the line.
n - the number of recursions.


jHepWork 3.1 ©