|
Storm 1.11.1.1
A Modern Probabilistic Model Checker
|
#include <StateBlock.h>

Public Types | |
| typedef FlatSetStateContainer | container_type |
| typedef container_type::value_type | value_type |
| typedef container_type::iterator | iterator |
| typedef container_type::const_iterator | const_iterator |
Public Member Functions | |
| StateBlock ()=default | |
| StateBlock (StateBlock const &other)=default | |
| StateBlock (StateBlock &&other)=default | |
| StateBlock & | operator= (StateBlock const &other)=default |
| StateBlock & | operator= (StateBlock &&other)=default |
| template<typename InputIterator > | |
| StateBlock (InputIterator first, InputIterator last, bool sortedAndUnique=false) | |
| Creates a state block and inserts all elements in the given range. | |
| StateBlock (std::initializer_list< sparse::state_type > list) | |
| Constructs a state block from the given initializer list. | |
| bool | operator== (StateBlock const &other) const |
| Checks whether the two state blocks contain exactly the same states. | |
| iterator | begin () |
| Returns an iterator to the states in this SCC. | |
| const_iterator | begin () const |
| Returns a const iterator to the states in this SCC. | |
| const_iterator | cbegin () const |
| Returns a const iterator to the states in this SCC. | |
| iterator | end () |
| Returns an iterator that points one past the end of the states in this SCC. | |
| const_iterator | end () const |
| Returns a const iterator that points one past the end of the states in this SCC. | |
| const_iterator | cend () const |
| Returns a const iterator that points one past the end of the states in this SCC. | |
| bool | containsState (value_type const &state) const |
| Retrieves whether the given state is in the SCC. | |
| void | insert (value_type const &state) |
| Inserts the given element into this SCC. | |
| iterator | insert (container_type::const_iterator iterator, value_type const &state) |
| Inserts the given element into this SCC. | |
| void | erase (value_type const &state) |
| Removes the given element from this SCC. | |
| std::size_t | size () const |
| Retrieves the number of states in this SCC. | |
| bool | empty () const |
| Retrieves whether this SCC is empty. | |
| container_type const & | getStates () const |
| Retrieves the set of states contained in the StateBlock. | |
Definition at line 19 of file StateBlock.h.
| typedef container_type::const_iterator storm::storage::StateBlock::const_iterator |
Definition at line 25 of file StateBlock.h.
Definition at line 21 of file StateBlock.h.
| typedef container_type::iterator storm::storage::StateBlock::iterator |
Definition at line 24 of file StateBlock.h.
| typedef container_type::value_type storm::storage::StateBlock::value_type |
Definition at line 22 of file StateBlock.h.
|
default |
|
default |
|
default |
|
inline |
Creates a state block and inserts all elements in the given range.
| first | The first element of the range to insert. |
| last | The last element of the range (that is itself not inserted). |
| sortedAndUnique | If set to true, the input range is assumed to be sorted and duplicate-free. |
Definition at line 41 of file StateBlock.h.
|
inline |
Constructs a state block from the given initializer list.
| list | The list of states to add to this state block. |
Definition at line 54 of file StateBlock.h.
| StateBlock::iterator storm::storage::StateBlock::begin | ( | ) |
Returns an iterator to the states in this SCC.
Definition at line 5 of file StateBlock.cpp.
| StateBlock::const_iterator storm::storage::StateBlock::begin | ( | ) | const |
Returns a const iterator to the states in this SCC.
Definition at line 9 of file StateBlock.cpp.
|
inline |
Returns a const iterator to the states in this SCC.
Definition at line 87 of file StateBlock.h.
|
inline |
Returns a const iterator that points one past the end of the states in this SCC.
Definition at line 110 of file StateBlock.h.
| bool storm::storage::StateBlock::containsState | ( | value_type const & | state | ) | const |
Retrieves whether the given state is in the SCC.
| state | The state for which to query membership. |
Definition at line 41 of file StateBlock.cpp.
| bool storm::storage::StateBlock::empty | ( | ) | const |
Retrieves whether this SCC is empty.
Definition at line 25 of file StateBlock.cpp.
| StateBlock::iterator storm::storage::StateBlock::end | ( | ) |
Returns an iterator that points one past the end of the states in this SCC.
Definition at line 13 of file StateBlock.cpp.
| StateBlock::const_iterator storm::storage::StateBlock::end | ( | ) | const |
Returns a const iterator that points one past the end of the states in this SCC.
Definition at line 17 of file StateBlock.cpp.
| void storm::storage::StateBlock::erase | ( | value_type const & | state | ) |
Removes the given element from this SCC.
| state | The element to remove. |
Definition at line 37 of file StateBlock.cpp.
| StateBlock::container_type const & storm::storage::StateBlock::getStates | ( | ) | const |
Retrieves the set of states contained in the StateBlock.
Definition at line 45 of file StateBlock.cpp.
| StateBlock::iterator storm::storage::StateBlock::insert | ( | container_type::const_iterator | iterator, |
| value_type const & | state | ||
| ) |
Inserts the given element into this SCC.
| state | The state to add to this SCC. |
Definition at line 33 of file StateBlock.cpp.
| void storm::storage::StateBlock::insert | ( | value_type const & | state | ) |
Inserts the given element into this SCC.
| state | The state to add to this SCC. |
Definition at line 29 of file StateBlock.cpp.
|
default |
|
default |
|
inline |
Checks whether the two state blocks contain exactly the same states.
| other | The state block with which to compare the current one. |
Definition at line 64 of file StateBlock.h.
| std::size_t storm::storage::StateBlock::size | ( | ) | const |
Retrieves the number of states in this SCC.
Definition at line 21 of file StateBlock.cpp.