umontreal.iro.lecuyer.hups
Class F2wNetLFSR
java.lang.Object
umontreal.iro.lecuyer.hups.PointSet
umontreal.iro.lecuyer.hups.DigitalNet
umontreal.iro.lecuyer.hups.DigitalNetBase2
umontreal.iro.lecuyer.hups.F2wNetLFSR
public class F2wNetLFSR
- extends DigitalNetBase2
This class implements a digital net in base 2 starting from a
linear feedback shift register generator. It is exactly the same
point set as the one defined in the class
F2wCycleBasedLFSR
.
See the description
of this class for more details on the way the point set is constructed.
Constructing a point set using this class, instead of using
F2wCycleBasedLFSR
,
makes SSJ construct a digital net in base 2. This is useful if one
wants to randomize using one of the randomizations included in the class
DigitalNet
.
Constructor Summary |
F2wNetLFSR(int w,
int r,
int modQ,
int step,
int nbcoeff,
int[] coeff,
int[] nocoeff,
int dim)
Constructs a point set with 2rw points. |
F2wNetLFSR(String filename,
int no,
int dim)
Constructs a point set after reading its parameters from
file filename; the parameters are located at line numbered no
of filename. |
Method Summary |
String |
toString()
Formats a string that contains information about the point set. |
Methods inherited from class umontreal.iro.lecuyer.hups.DigitalNetBase2 |
addRandomShift, addRandomShift, clearRandomShift, getCoordinate, getCoordinateNoGray, iBinomialMatrixScramble, iBinomialMatrixScrambleFaurePermut, iBinomialMatrixScrambleFaurePermutAll, iBinomialMatrixScrambleFaurePermutDiag, iterator, iteratorNoGray, leftMatrixScramble, leftMatrixScrambleDiag, leftMatrixScrambleFaurePermut, leftMatrixScrambleFaurePermutAll, leftMatrixScrambleFaurePermutDiag, printGeneratorMatrices, printGeneratorMatricesTrans, rightMatrixScramble, stripedMatrixScramble, stripedMatrixScrambleFaurePermutAll |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getDimension, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream |
F2wNetLFSR
public F2wNetLFSR(int w,
int r,
int modQ,
int step,
int nbcoeff,
int[] coeff,
int[] nocoeff,
int dim)
- Constructs a point set with 2rw points. See the description of the class
F2wStructure
for the meaning of the parameters.
F2wNetLFSR
public F2wNetLFSR(String filename,
int no,
int dim)
- Constructs a point set after reading its parameters from
file filename; the parameters are located at line numbered no
of filename. The available files are listed in the description of class
F2wStructure
.
toString
public String toString()
- Description copied from class:
PointSet
- Formats a string that contains information about the point set.
- Overrides:
toString
in class DigitalNetBase2
- Returns:
- string representation of the point set information
jHepWork 3.0 ©