SSJ
V. labo.

umontreal.iro.lecuyer.discrepancy
Class BigDiscShiftBaker1

java.lang.Object
  extended by umontreal.iro.lecuyer.discrepancy.Discrepancy
      extended by umontreal.iro.lecuyer.discrepancy.BigDiscrepancy
          extended by umontreal.iro.lecuyer.discrepancy.BigDiscShiftBaker1
Direct Known Subclasses:
BigDiscShiftBaker1Lattice

public class BigDiscShiftBaker1
extends BigDiscrepancy

This class computes the same discrepancy as in DiscShiftBaker1 [see eq.], but uses multi-precision real numbers.

No method are implemented yet for this class.

Only the subclass BigDiscShiftBaker1Lattice has implemented methods to compute the discrepancy.


Constructor Summary
BigDiscShiftBaker1()
          Empty constructor.
BigDiscShiftBaker1(double[][] points, int n, int s)
          Constructor with the n points points[i] in s dimensions, with all the weights γr = 1.
BigDiscShiftBaker1(double[][] points, int n, int s, double[] gamma)
          Constructor with the n points points[i] in s dimensions, with weights γr = gamma[r-1].
BigDiscShiftBaker1(int n, int s, double[] gamma)
          Constructor for a lattice of n points in s dimensions, with weights γr = gamma[r-1], r = 1, 2,…, s.
BigDiscShiftBaker1(PointSet set)
          Constructor with the point set set.
 
Method Summary
 double compute(double[][] points, int n, int s)
          NOT IMPLEMENTED.
 double compute(double[][] points, int n, int s, double[] gamma)
          NOT IMPLEMENTED.
 
Methods inherited from class umontreal.iro.lecuyer.discrepancy.Discrepancy
compute, compute, compute, compute, compute, compute, compute, compute, formatPoints, getDimension, getGamma, getName, getNumPoints, setGamma, setPoints, setPoints, sort, toArray, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigDiscShiftBaker1

public BigDiscShiftBaker1(double[][] points,
                          int n,
                          int s)
Constructor with the n points points[i] in s dimensions, with all the weights γr = 1. points[i][r] is the r-th coordinate of point i. Indices i and r start at 0.


BigDiscShiftBaker1

public BigDiscShiftBaker1(double[][] points,
                          int n,
                          int s,
                          double[] gamma)
Constructor with the n points points[i] in s dimensions, with weights γr = gamma[r-1]. points[i][r] is the r-th coordinate of point i. Indices i and r start at 0.


BigDiscShiftBaker1

public BigDiscShiftBaker1(int n,
                          int s,
                          double[] gamma)
Constructor for a lattice of n points in s dimensions, with weights γr = gamma[r-1], r = 1, 2,…, s. The n points will be chosen later.


BigDiscShiftBaker1

public BigDiscShiftBaker1(PointSet set)
Constructor with the point set set. All the points are copied in an internal array.


BigDiscShiftBaker1

public BigDiscShiftBaker1()
Empty constructor. One must set the points, the dimension, and the weight factors before calling any method.

Method Detail

compute

public double compute(double[][] points,
                      int n,
                      int s)
NOT IMPLEMENTED.

Specified by:
compute in class Discrepancy

compute

public double compute(double[][] points,
                      int n,
                      int s,
                      double[] gamma)
NOT IMPLEMENTED.

Overrides:
compute in class Discrepancy

SSJ
V. labo.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.