Public Member Functions | Private Attributes
bsl_opinion Class Reference

#include <bsl_opinion.h>

List of all members.

Public Member Functions

 bsl_opinion ()
 bsl_opinion (float u, float b)
 bsl_opinion (float u, float b, float a)
 bsl_opinion (float b)
 constructor where uncertainty is assumed to go away when a belief value is set.
 bsl_opinion (bsl_opinion const &o)
 copy constructor.
 ~bsl_opinion ()
 destructor.
float u () const
float b () const
float a () const
float d () const
float expectation () const
void set (float u, float b)
void set_u (float u)
void set_b (float b)
void set_a (float a)
bool operator== (bsl_opinion const &o) const

Private Attributes

float u_
float b_
float a_

Detailed Description

Definition at line 24 of file bsl_opinion.h.


Constructor & Destructor Documentation

bsl_opinion::bsl_opinion ( ) [inline]

Definition at line 27 of file bsl_opinion.h.

bsl_opinion::bsl_opinion ( float  u,
float  b 
) [inline]

Definition at line 28 of file bsl_opinion.h.

bsl_opinion::bsl_opinion ( float  u,
float  b,
float  a 
) [inline]

Definition at line 29 of file bsl_opinion.h.

bsl_opinion::bsl_opinion ( float  b) [inline]

constructor where uncertainty is assumed to go away when a belief value is set.

Definition at line 32 of file bsl_opinion.h.

bsl_opinion::bsl_opinion ( bsl_opinion const &  o) [inline]

copy constructor.

Definition at line 35 of file bsl_opinion.h.

bsl_opinion::~bsl_opinion ( ) [inline]

destructor.

Definition at line 38 of file bsl_opinion.h.


Member Function Documentation

float bsl_opinion::a ( ) const [inline]

Definition at line 44 of file bsl_opinion.h.

float bsl_opinion::b ( ) const [inline]

Definition at line 42 of file bsl_opinion.h.

float bsl_opinion::d ( ) const [inline]

Definition at line 46 of file bsl_opinion.h.

float bsl_opinion::expectation ( ) const [inline]

Definition at line 48 of file bsl_opinion.h.

bool bsl_opinion::operator== ( bsl_opinion const &  o) const [inline]

Definition at line 58 of file bsl_opinion.h.

void bsl_opinion::set ( float  u,
float  b 
) [inline]

Definition at line 50 of file bsl_opinion.h.

void bsl_opinion::set_a ( float  a) [inline]

Definition at line 56 of file bsl_opinion.h.

void bsl_opinion::set_b ( float  b) [inline]

Definition at line 54 of file bsl_opinion.h.

void bsl_opinion::set_u ( float  u) [inline]

Definition at line 52 of file bsl_opinion.h.

float bsl_opinion::u ( ) const [inline]

Definition at line 40 of file bsl_opinion.h.


Member Data Documentation

float bsl_opinion::a_ [private]

Definition at line 63 of file bsl_opinion.h.

float bsl_opinion::b_ [private]

Definition at line 62 of file bsl_opinion.h.

float bsl_opinion::u_ [private]

Definition at line 61 of file bsl_opinion.h.


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