Include file:
#include "mcrl2/lts/lts_fsm.h
mcrl2::lts::detail::
lts_fsm_base
¶mcrl2::lts::detail::lts_fsm_base::
probabilistic_state
¶typedef for mcrl2::lts::probabilistic_state< std::size_t, mcrl2::lts::probabilistic_arbitrary_precision_fraction >
mcrl2::lts::detail::lts_fsm_base::
state_probability_pair
¶typedef for mcrl2::lps::state_probability_pair< std::size_t, mcrl2::lts::probabilistic_arbitrary_precision_fraction >
mcrl2::lts::detail::lts_fsm_base::
m_parameters
¶m_parameters contain the parameters corresponding to the consecutive elements of a state vector. A parameter consists of two strings: a variable name and a string indicating its sort.
mcrl2::lts::detail::lts_fsm_base::
m_state_element_values
¶state_element_values contain the values that can occur at the i-th position of a state label
add_process_parameter
(const std::string &name, const std::string &sort)¶Set the state parameters for this LTS.
Parameters:
add_state_element_value
(std::size_t idx, const std::string &s)¶Adds a string to the state element values for the idx-th position in a state vector. Returns the number given to this string.
Parameters:
Returns: The index for the added parameter.
clear
()Clear the transitions system.
The state values, action values and transitions are reset. The number of states, actions and transitions are set to 0.
clear_process_parameters
()¶Clear the state parameters for this LTS.
operator==
(const lts_fsm_base &other) const¶process_parameter
(std::size_t i) const¶Returns the i-th parameter of the state vectors stored in this LTS.
Parameters:
Returns: The variable/sort of the state parameter at index i.
process_parameters
() constReturn the parameters of the state vectors stored in this LTS.
Returns: The state parameters stored in this LTS.
state_element_value
(std::size_t parameter_index, std::size_t element_index) const¶Returns the element_index’th element for the parameter with index parameter_index.
If there are no values for the parameter_index, the element_index is transformed to a string, and this string is returned.
Parameters:
Returns: The string corresponding to the two given indices.
state_element_values
(std::size_t idx) const¶Provides the vector of strings that correspond to the values of the number at position idx in a vector.
Parameters:
Returns: A vector containing strings representing the possible values that this parameter can have.
state_label_to_string
(const state_label_fsm &l) const¶Pretty print a state value of this FSM.
The label l is printed as (t1,…,tn). It uses information from the lts.
Parameters:
Returns: The pretty-printed representation of value.
swap
(lts_fsm_base &other)¶Standard swap function.
type
() constThe lts_type of this labelled transition system. In this case lts_fsm.
Returns: Returns lts_fsm as type of this transition system.