mCRL2
|
#include <state_probability_pair.h>
Public Member Functions | |
state_probability_pair (const STATE &state, const PROBABILITY &probability) | |
constructor. | |
state_probability_pair (const state_probability_pair &p)=default | |
Copy constructor;. | |
state_probability_pair (state_probability_pair &&p)=default | |
state_probability_pair & | operator= (const state_probability_pair &p)=default |
Standard assignment. | |
state_probability_pair & | operator= (state_probability_pair &&p)=default |
bool | operator== (const state_probability_pair &other) const |
Standard equality operator. | |
const STATE & | state () const |
Get the state from a state probability pair. | |
STATE & | state () |
Get the state in a state probability pair. | |
const PROBABILITY & | probability () const |
get the probability from a state proability pair. | |
PROBABILITY & | probability () |
Set the probability in a state probability pair. | |
Protected Attributes | |
STATE | m_state |
PROBABILITY | m_probability |
Definition at line 33 of file state_probability_pair.h.
|
inline |
constructor.
state | The state. |
probability | The probability of the occurrence of this state. |
Definition at line 45 of file state_probability_pair.h.
|
default |
Copy constructor;.
p | The state probability pair to be copied. |
|
default |
|
default |
Standard assignment.
p | The state probability pair to be assigned. |
|
default |
|
inline |
Standard equality operator.
Definition at line 66 of file state_probability_pair.h.
|
inline |
Set the probability in a state probability pair.
Definition at line 101 of file state_probability_pair.h.
|
inline |
get the probability from a state proability pair.
Definition at line 95 of file state_probability_pair.h.
|
inline |
Get the state in a state probability pair.
Definition at line 89 of file state_probability_pair.h.
|
inline |
Get the state from a state probability pair.
Definition at line 83 of file state_probability_pair.h.
|
protected |
Definition at line 39 of file state_probability_pair.h.
|
protected |
Definition at line 37 of file state_probability_pair.h.