#include <BeliefState.hh>
This class defines a belief state of a Component From a belief state a transition can be triggered and generate a new BeliefState
Definition at line 53 of file BeliefState.hh.
◆ BeliefState() [1/5]
Diades::Automata::BeliefState::BeliefState |
( |
const Component & |
comp | ) |
|
Default constructor, build an empty belief state
- Parameters
-
◆ BeliefState() [2/5]
Diades::Automata::BeliefState::BeliefState |
( |
const Component & |
comp, |
|
|
State |
s |
|
) |
| |
Parametrized constructor
- Parameters
-
- Precondition
- s is a state of comp Build the belief state { s }
◆ BeliefState() [3/5]
Diades::Automata::BeliefState::BeliefState |
( |
const Component & |
comp, |
|
|
const set< State > & |
s |
|
) |
| |
Parametrized constructor
- Parameters
-
comp | Component of the belief state |
s | a set of State |
- Precondition
- s is a set of states from Tsys Build the belief state s
◆ BeliefState() [4/5]
Diades::Automata::BeliefState::BeliefState |
( |
const Component & |
comp, |
|
|
const unordered_set< State > & |
s |
|
) |
| |
Parametrized constructor
- Parameters
-
comp | Component of the belief state |
s | a set of State |
- Precondition
- s is a set of states from Tsys Build the belief state s
◆ BeliefState() [5/5]
Diades::Automata::BeliefState::BeliefState |
( |
const BeliefState & |
bs | ) |
|
◆ component()
const Component& Diades::Automata::BeliefState::component |
( |
| ) |
const |
|
inline |
Transition System
- Returns
- the transition system of the belief state
Definition at line 166 of file BeliefState.hh.
◆ nextBeliefState() [1/2]
Next belief state
- Parameters
-
- Returns
- the belief state obtained after triggering the event e from the current belief state in the Component
◆ nextBeliefState() [2/2]
BeliefState* Diades::Automata::BeliefState::nextBeliefState |
( |
Event |
e, |
|
|
const set< Event > & |
ignored |
|
) |
| const |
Next belief state
- Parameters
-
- Returns
- the belief state obtained after triggering the event e from the current belief state in the Component. The events from 'ignored' are ignored, i.e. if, from a state s of the current belief state there is a sequence of events e1->...->en->e that reaches a state s' and every event ei belongs to 'ignored' then s' belongs to the returned BeleifState. from the current belief state in the Component
- Precondition
- c does not belong to 'ignored'
◆ operator=()
◆ operator==()
bool Diades::Automata::BeliefState::operator== |
( |
const BeliefState & |
bs | ) |
const |
|
inline |
◆ previousBeliefState()
BeliefState* Diades::Automata::BeliefState::previousBeliefState |
( |
Event |
e | ) |
const |
Previous belief state
- Parameters
-
- Returns
- the biggest previous belief state Bprev such that from every state of Bprev, there is a state in the current BeliefState that results from the trigger of e
◆ _comp
const Component& Diades::Automata::BeliefState::_comp |
|
private |
The documentation for this class was generated from the following file:
- /home/yannick/laas/redmine/tools/diades/include/diades/automata/BeliefState.hh