Skylark (Sketching Library)  0.1
Public Types | Public Member Functions | Public Attributes
skylark::utility::uniform_distribution_t< bool > Struct Template Reference

#include <distributions.hpp>

List of all members.

Public Types

typedef bool result_type

Public Member Functions

 uniform_distribution_t ()
template<typename URNG >
bool operator() (URNG &urng) const
void reset ()

Public Attributes

boost::random::uniform_int_distribution
< int > 
distribution

Detailed Description

template<>
struct skylark::utility::uniform_distribution_t< bool >

Uniform distribution specialization for bool's

Definition at line 128 of file distributions.hpp.


Member Typedef Documentation

Definition at line 130 of file distributions.hpp.


Constructor & Destructor Documentation

Definition at line 134 of file distributions.hpp.


Member Function Documentation

template<typename URNG >
bool skylark::utility::uniform_distribution_t< bool >::operator() ( URNG &  urng) const [inline]

Definition at line 137 of file distributions.hpp.

void skylark::utility::uniform_distribution_t< bool >::reset ( ) [inline]

Definition at line 140 of file distributions.hpp.


Member Data Documentation

boost::random::uniform_int_distribution<int> skylark::utility::uniform_distribution_t< bool >::distribution

Definition at line 132 of file distributions.hpp.


The documentation for this struct was generated from the following file: