QuasiRandom
Class Halton

java.lang.Object
  extended byQuasiRandom.LowDiscrepancySequence
      extended byQuasiRandom.Halton

public class Halton
extends LowDiscrepancySequence

The Halton sequence.


Constructor Summary
Halton(int dim)
           
 
Method Summary
 java.lang.String getName()
          Name of sequence.
 double[] nextPoint()
          The next Halton point in a sequential computation (implements LowDiscrepancySequence).
 double[] point(int n)
          The n-th Halton point
 double point(int n, int s)
          coordinate s=0,1,...,dim-1 of nth Halton point.
 
Methods inherited from class QuasiRandom.LowDiscrepancySequence
L2_discrepancy, L2_discrepancy, nextPoint, nextQuasiNormalVector, projectionPlot, restart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Halton

public Halton(int dim)
Parameters:
dim - dimension of the Halton sequence.
Method Detail

point

public double point(int n,
                    int s)
coordinate s=0,1,...,dim-1 of nth Halton point.

Parameters:
n - index of Halton point.
s - index of coordinate (dimension).

point

public double[] point(int n)
The n-th Halton point

Parameters:
n - index of Halton point.

nextPoint

public double[] nextPoint()
The next Halton point in a sequential computation (implements LowDiscrepancySequence).

Specified by:
nextPoint in class LowDiscrepancySequence

getName

public java.lang.String getName()
Description copied from class: LowDiscrepancySequence
Name of sequence.

Specified by:
getName in class LowDiscrepancySequence