Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LDSqNetz Class Reference

Implementation of the (0,s) nets, according to an algorithm given by Lecot for Niederreiter's construction using hyperderivatives of polynomials. More...

#include <SimSeqs.h>

Inheritance diagram for LDSqNetz:

Inheritance graph
[legend]
Collaboration diagram for LDSqNetz:

Collaboration graph
[legend]
List of all members.

Public Methods

 LDSqNetz (long *b=NULL, long bas=5, long dm=0, long iterations=0, long lamb=5, char *ex="ts",char *nm="(t, s)-Sequence")

Protected Methods

virtual long CalculateNextElement (long nr, double *buffer, long bufflen)
virtual long InitData (long genau, double genau1)
virtual long ExitData ()
virtual long* InitGenericBases (long dm)

Protected Attributes

long base
long nu
long lambda
long nprime
long ncurr
long ncmax
long* ncoeff
long * ypji
long ypjilen

Detailed Description

Implementation of the (0,s) nets, according to an algorithm given by Lecot for Niederreiter's construction using hyperderivatives of polynomials.


Constructor & Destructor Documentation

LDSqNetz::LDSqNetz ( long * b = NULL,
long bas = 5,
long dm = 0,
long iterations = 0,
long lamb = 5,
char * ex = "ts",
char * nm = "(t,s)-Sequence" )
 


Member Function Documentation

long LDSqNetz::CalculateNextElement ( long nr,
double * buffer,
long bufflen ) [protected, virtual]
 

Calculates the next element and stores it to the buffer.

If bufflen>dim, the remaining dimensions are pseudo-random numbers (i.e. the sequence is a hybrid sequence) This function should never be called directly! Use NextElement(..) instead!!!

See also:
NextElement()

Reimplemented from LDSqBase.

long LDSqNetz::ExitData ( ) [protected, virtual]
 

Do class-specific freeing of memory etc.

Called by the destructor

Reimplemented from LDSqBase.

long LDSqNetz::InitData ( long genau,
double genau1 ) [protected, virtual]
 

initialize the method specific data.

Reimplemented from LDSqBase.

long * LDSqNetz::InitGenericBases ( long dm ) [protected, virtual]
 

This net sequences just need dm different integers, no need for them to be prime numbers, so use the dm lowest integers instead to minimize the discrepancy.

Reimplemented from LDSqBase.


Member Data Documentation

long LDSqNetz::base [protected]
 

long LDSqNetz::lambda [protected]
 

long LDSqNetz::ncmax [protected]
 

long * LDSqNetz::ncoeff [protected]
 

long LDSqNetz::ncurr [protected]
 

long LDSqNetz::nprime [protected]
 

long LDSqNetz::nu [protected]
 

long * LDSqNetz::ypji [protected]
 

long LDSqNetz::ypjilen [protected]
 


The documentation for this class was generated from the following files:
Generated at Wed Jun 20 19:48:26 2001 for LDSequences by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001