# SmiDiscreteEvent Class Reference

`#include <SmiDiscreteDistribution.hpp>`

Inheritance diagram for SmiDiscreteEvent:
[legend]
Collaboration diagram for SmiDiscreteEvent:
[legend]

List of all members.

## Public Member Functions
void | setEventProb (double p)
const double | getEventProb ()
| SmiDiscreteEvent (SmiLinearData d, double p)
| ~SmiDiscreteEvent ()
## Private Attributes
double | prob_
## Friends
void | SmiDiscreteUnitTest ()

## Detailed Description

Definition at line 69 of file SmiDiscreteDistribution.hpp.

## Constructor & Destructor Documentation

SmiDiscreteEvent::SmiDiscreteEvent | ( | SmiLinearData | d,
|  | double | p |
| ) |  |  | `[inline]`

Definition at line 75 of file SmiDiscreteDistribution.hpp.

SmiDiscreteEvent::~SmiDiscreteEvent | ( |  | ) | `[inline]`

Definition at line 76 of file SmiDiscreteDistribution.hpp.

## Member Function Documentation

void SmiDiscreteEvent::setEventProb | ( | double | p | ) | `[inline]`

Definition at line 73 of file SmiDiscreteDistribution.hpp.

const double SmiDiscreteEvent::getEventProb | ( |  | ) | `[inline]`

Definition at line 74 of file SmiDiscreteDistribution.hpp.

## Friends And Related Function Documentation

void SmiDiscreteUnitTest | ( |  | ) | `[friend]`

## Member Data Documentation

double SmiDiscreteEvent::prob_`[private]`

Definition at line 78 of file SmiDiscreteDistribution.hpp.

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

- /home/coin/svn-release/Smi-0.93.1/Smi/src/SmiDiscreteDistribution.hpp