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 classF2wCycleBasedLFSR. 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 classDigitalNet.
-
-
Constructor Summary
Constructors Constructor and Description 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(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringtoString()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.DigitalNet
eraseOriginalGeneratorMatrices, resetGeneratorMatrices, unrandomize
-
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
-
-
-
-
Constructor Detail
-
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 classF2wStructurefor the meaning of the parameters.
-
F2wNetLFSR
public F2wNetLFSR(java.lang.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 classF2wStructure.
-
-
Method Detail
-
toString
public java.lang.String toString()
Description copied from class:PointSetFormats a string that contains information about the point set.- Overrides:
toStringin classDigitalNetBase2- Returns:
- string representation of the point set information
-
-
DMelt 3.0 © DataMelt by jWork.ORG