Next: Private Types
Up: Alias Class Reference
Previous: Alias Class Reference
  Contents
- int size () const
-
- Give the size of aliasing array.
-
-
- double threshold (const int i) const
-
- Give the threshold corresponding to the ith aliasing array index.
-
-
- int col (const int i) const
-
- Give the column index corresponding to the ith aliasing array index.
-
-
- int alias (const int i) const
-
- Give the alias index corresponding to the ith aliasing array index.
-
-
- void init (const int d)
-
- Initialization of aliasing tables.
-
-
- void mk_walker (const int d)
-
- Construction of Walker array.
-
-
- void transpose (const int d)
-
- Transposition of Walker array.
-
-
- int read (const string path)
-
- Reading of aliasing data for simulation step.
-
-
- void write_construct (const string file_name, const int d)
-
- Writing of definitive Walker array (stored by column).
-
-
- int walk (const double rand, const int j, const int n, const int d, const int i)
-
- Walker's algorithm for discrete distributions.
-
-
Next: Private Types
Up: Alias Class Reference
Previous: Alias Class Reference
  Contents
Florent Morata
2002-12-11