SSJ
V. 1.2.5.

umontreal.iro.lecuyer.hups
Class F2wNetLFSR

java.lang.Object
  extended by umontreal.iro.lecuyer.hups.PointSet
      extended by umontreal.iro.lecuyer.hups.DigitalNet
          extended by umontreal.iro.lecuyer.hups.DigitalNetBase2
              extended by 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 the 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, leftMatrixScrambleRest, resetGeneratorMatrices, unrandomize
 
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet
addRandomShift, addRandomShift, formatPoints, formatPoints, getDimension, getNumPoints, randomize, randomize, randomize, randomize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 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.

Method Detail

toString

public String toString()
Description copied from class: PointSet
Formats a string that contains the information about the point set.

Overrides:
toString in class DigitalNetBase2
Returns:
string representation of the point set information

SSJ
V. 1.2.5.

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