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

MSLRandomSource Class Reference

#include <random.h>

List of all members.

Public Methods

unsigned long get_rand31 ()
unsigned long get_rand32 ()
 MSLRandomSource ()
 MSLRandomSource (int p)
 MSLRandomSource (int low, int high)
unsigned long get ()
void set_seed (int s)
void set_range (int low, int high)
int set_precision (int p)
int get_precision ()
MSLRandomSource& operator>> (unsigned char &x)
MSLRandomSource& operator>> (int &x)
MSLRandomSource& operator>> (long &x)
MSLRandomSource& operator>> (unsigned int &x)
MSLRandomSource& operator>> (unsigned long &x)
MSLRandomSource& operator>> (double &x)
MSLRandomSource& operator>> (float &x)
MSLRandomSource& operator>> (bool &b)
int operator() ()
int operator() (int prec)
int operator() (int low, int high)


Constructor & Destructor Documentation

MSLRandomSource::MSLRandomSource ( )
 

MSLRandomSource::MSLRandomSource ( int p )
 

MSLRandomSource::MSLRandomSource ( int low,
int high )
 


Member Function Documentation

unsigned long MSLRandomSource::get ( ) [inline]
 

int MSLRandomSource::get_precision ( ) [inline]
 

unsigned long MSLRandomSource::get_rand31 ( )
 

unsigned long MSLRandomSource::get_rand32 ( )
 

int MSLRandomSource::operator() ( int low,
int high )
 

int MSLRandomSource::operator() ( int prec )
 

int MSLRandomSource::operator() ( )
 

MSLRandomSource& MSLRandomSource::operator>> ( bool & b )
 

MSLRandomSource& MSLRandomSource::operator>> ( float & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( double & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( unsigned long & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( unsigned int & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( long & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( int & x )
 

MSLRandomSource& MSLRandomSource::operator>> ( unsigned char & x )
 

int MSLRandomSource::set_precision ( int p )
 

void MSLRandomSource::set_range ( int low,
int high )
 

void MSLRandomSource::set_seed ( int s )
 


The documentation for this class was generated from the following file: Motion Strategy Library


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.