|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.discrepancy.Discrepancy
umontreal.iro.lecuyer.discrepancy.Palpha
public class Palpha
Extends the class Discrepancy
and implements the methods required
to compute the Pα
figure of merit for a lattice point set Ψs
which is the intersection of a lattice L and the unit hypercube [0, 1)s
in s dimensions. Ψs contains n points. For an arbitrary integer
α > 1, it is defined as
bernoulliPoly
in class util/Num).
One may generalize the Pα by introducing a weight for each dimension to give the weighted Pα defined by
Constructor Summary | |
---|---|
Palpha(double[][] points,
int n,
int s,
double[] beta,
int alpha)
Constructor with n points in s dimensions and with alpha = α. |
|
Palpha(double[][] points,
int n,
int s,
int alpha)
Constructor with all βj = 1 (see eq.). |
|
Palpha(int alpha)
Constructor with parameter alpha = α. |
|
Palpha(int n,
int s,
double[] beta,
int alpha)
Constructor with n points in s dimensions and with alpha = α. |
|
Palpha(Rank1Lattice set,
double[] beta,
int alpha)
Constructor with the lattice set with weights beta[j]= βj and parameter alpha = α. |
Method Summary | |
---|---|
double |
compute(double[][] points,
int n,
int s)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points. |
double |
compute(double[][] points,
int n,
int s,
double[] beta)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points, with weights βj = beta[j]. |
double |
compute(double[][] points,
int n,
int s,
double[] beta,
int alpha)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points, with weights βj = beta[j] and with α = alpha. |
double |
compute(double[][] points,
int n,
int s,
int alpha)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points, with all weights βj = 1 and α = alpha. |
void |
setBeta(double[] beta)
Sets the values of βj = |
String |
toString()
Returns the parameters of this class. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Palpha(double[][] points, int n, int s, double[] beta, int alpha)
public Palpha(double[][] points, int n, int s, int alpha)
public Palpha(int n, int s, double[] beta, int alpha)
public Palpha(int alpha)
public Palpha(Rank1Lattice set, double[] beta, int alpha)
Method Detail |
---|
public double compute(double[][] points, int n, int s)
compute
in class Discrepancy
public double compute(double[][] points, int n, int s, double[] beta)
compute
in class Discrepancy
public double compute(double[][] points, int n, int s, int alpha)
public double compute(double[][] points, int n, int s, double[] beta, int alpha)
public String toString()
Discrepancy
toString
in class Discrepancy
public void setBeta(double[] beta)
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |