Include file:
#include "mcrl2/lps/ltsmin.h
mcrl2::lps::
pins
¶mcrl2::lps::pins::
guard_evaluation_t
¶Values:
- GUARD_FALSE
guard evaluations have ternary logic. A guard may not always rewrite to true or false
mcrl2::lps::pins::
substitution_t
¶typedef for data::rewriter::substitution_type
mcrl2::lps::pins::
m_data_types
¶mcrl2::lps::pins::
m_generator
¶mcrl2::lps::pins::
m_generator_reduced
¶mcrl2::lps::pins::
m_guards
¶mcrl2::lps::pins::
m_specification
¶mcrl2::lps::pins::
m_specification_reduced
¶mcrl2::lps::pins::
m_unique_data_types
¶The unique type mappings (is contained in m_data_types).
action_label_type_map
()¶Returns the action data type.
action_label_type_map
() const¶Returns the action data type.
data
() constReturns the data specification of the LPS specification.
initialize_read_write_groups
()¶print_vector
(const Container &c) const¶print_vector
(Iter first, Iter last) const¶process
() const¶Returns the process of the LPS specification.
process_reduced
() const¶Returns the reduced process of the LPS specification, i.e. with conditions with guards removed.
state_type_map
(std::size_t i)¶Returns the data type of the i-th state parameter.
state_type_map
(std::size_t i) const¶Returns the data type of the i-th state parameter.
_long
(ltsmin_state_type const &src, std::size_t group, StateFunction &f, const ltsmin_state_type &dest, int *const &labels, lps::next_state_generator *generator)¶Iterates over the ‘next states’ of a particular summand of state src that are generated by a group of summands, and invokes a callback function for each discovered state.
StateFunction is a callback function that must provide the function operator() with the following interface: void operator()(ltsmin_state_type const& next_state, int* const& edge_labels, int group);
where
Parameters:
data_type
(std::size_t i)¶Returns a reference to the datatype map with index i.
Pre: 0 <= i < datatype_count()
datatype_count
() const¶Returns the number of unique datatype maps. Note that the datatype map for action labels is included, so this number equals the number of different process parameter types + 1.
edge_label_count
() const¶Returns the number of labels per edge.
edge_label_name
(std::size_t) const¶Returns the name of the i-th action label (always “action”).
Pre: 0 <= i < edge_label_count()
edge_label_type
(std::size_t) const¶Returns the datatype map index corresponding to edge label i.
Pre: 0 <= i < edge_label_count()
eval_guard_long
(ltsmin_state_type const &src, std::size_t guard)¶get_initial_state
(ltsmin_state_type &s)¶Assigns the initial state to s.
group_count
() const¶Returns the number of available groups. This equals the number of action summands of the LPS.
guard_count
() const¶guard_info
(std::size_t index) const¶guard_name
(std::size_t index)¶guard_parameters
(std::size_t index) const¶info
()¶Prints an overview of several relevant attributes.
next_state_all
(ltsmin_state_type const &src, StateFunction &f, ltsmin_state_type const &dest, int *const &labels)¶Iterates over the ‘next states’ of state src, and invokes a callback function for each discovered state.
StateFunction is a callback function that must provide the function operator() with the following interface: void operator()(ltsmin_state_type const& next_state, int* const& edge_labels, int group=-1);
where
Parameters:
next_state_long
(ltsmin_state_type const &src, std::size_t group, StateFunction &f, ltsmin_state_type const &dest, int *const &labels)¶pins
(const std::string &filename, const std::string &rewriter_strategy)¶Constructor.
Parameters:
process_parameter_count
() const¶Returns the number of process parameters of the LPS.
process_parameter_name
(std::size_t i) const¶Returns a human-readable, unique name for process parameter i.
process_parameter_type
(std::size_t i) const¶Returns the datatype map index corresponding to process parameter i.
Pre: 0 <= i < process_parameter_count()
read_group
(std::size_t index) const¶Indices of process parameters that influence event or next state of a summand by being read.
Parameters:
Returns: reference to a vector of indices of parameters
Pre: 0 <= i < group_count()
reduce_specification
(const lps::specification &spec)¶extracts all guards from the original specification and returns a new one with the guards removed.
summand_action_names
(std::size_t i) const¶Returns the names of the actions that appear in the summand with index i, with 0 <= i < group_count().
update_group
(std::size_t index) const¶Indices of process parameters that influence event or next state of a summand by being read except from the guards.
Parameters:
Returns: reference to a vector of indices of parameters
Pre: 0 <= i < group_count()
update_long
(ltsmin_state_type const &src, std::size_t group, StateFunction &f, ltsmin_state_type const &dest, int *const &labels)¶write_group
(std::size_t index) const¶Indices of process parameters that influence event or next state of a summand by being written.
Parameters:
Returns: reference to a vector of indices of parameters
Pre: 0 <= i < group_count()
~pins
()¶