Include file:
#include "mcrl2/pbes/pbes_explorer.h
mcrl2::pbes_system::
explorer
¶mcrl2::pbes_system::explorer::
operation_type
¶typedef for parity_game_generator::operation_type
The expression type of the equation.
mcrl2::pbes_system::explorer::
localmaps_data2int
¶mcrl2::pbes_system::explorer::
localmaps_int2data
¶data_to_string
(const data::data_expression &e)¶Returns a string representation for the data expression e.
Parameters:
Returns: a string representation without internal rewriter quirks.
get_data_value
(int type_no, int index)¶Returns the value at position index in the local store for the data type with number type_no. An exception is thrown if the index does not exist in the store.
Parameters:
Returns: the value at position index in local store type_no.
get_state
(const propositional_variable_instantiation &expr) const¶Returns a PBES_State object for expr.
Parameters:
get_value_index
(int type_no, const data_expression &value)¶Returns the index of value in the local store for the data type with number type_no. The value is added to the store if it is not already present.
Parameters:
Returns: the index of value in local store type_no.
explorer
(const pbes &p_, const std::string &rewrite_strategy, bool reset_flag, bool always_split_flag)¶Constructor.
Parameters:
explorer
(const std::string &filename, const std::string &rewrite_strategy, bool reset_flag, bool always_split_flag)¶Constructor.
explorer
Parameters:
from_state_vector
(int *const &src)¶Transforms a state vector src into a PBES_State object object containing the variable and parameter values that are represented by the indices in src.
Parameters:
Returns: a PBES_State object containing the variable and parameter values that are represented by the indices in src.
get_index
(int type_no, const std::string &s)¶Returns the index of value in the local store for the data type with number type_no. Type 0 is reserved for the string representations of variable names. The value is added to the store if it is not already present.
Parameters:
Returns: The index of value in local store type_no.
get_initial_state
() const¶Returns the initial state.
get_string_index
(const std::string &s)¶Returns the index of s in the local store for string values. This store is reserved for the string representations of variable names. The value is added to the store if it is not already present.
Parameters:
Returns: the index of s in the local store for string values.
get_string_value
(int index)¶Returns the string at position index in the local store for string values. An exception is thrown if the index does not exist in the store.
Parameters:
Returns: the string value at position index in the local store for string values.
get_successors
(const ltsmin_state &state)¶Computes successor states for a state. Serves as a wrapper around the get_successors function of the pbes_greybox_interface.
Parameters:
Returns: a list of successor states.
get_successors
(const ltsmin_state &state, int group)¶Computes successor states for a state as defined in transition group group. Serves as a wrapper around the get_successors function of the pbes_greybox_interface.
Parameters:
Returns: a list of successor states.
get_value
(int type_no, int index)¶Returns the value at position index in the local store for the data type with number type_no. Type 0 is reserved for the string representations of variable names. An exception is thrown if the index does not exist in the store.
Parameters:
Returns: a string representation of the value at position index in local store type_no.
initial_state
(int *state)¶next_state_all
(int *const &src, callback &cb)¶Iterates over the successors of a state and invokes a callback function for each successor state.
Parameters:
voidoperator()(int*const&next_state,intgroup); where
- next_state is the target state of the transition
- group is the number of the transition group, or -1 if it is unknown which group
next_state_long
(int *const &src, int group, callback &cb)¶Iterates over the successors of a state for a certain transition group and invokes a callback function for each successor state.
Parameters:
voidoperator()(int*const&next_state,intgroup); where
- next_state is the target state of the transition
- group is the number of the transition group, or -1 if it is unknown which group
to_state_vector
(const ltsmin_state &dst_state, int *dst, const ltsmin_state &src_state, int *const &src)¶Transforms a PBES state to a state vector, represented by an array of integers.
Parameters:
~explorer
()Destructor.
false_state
()¶Returns the state representing false.
true_state
()¶Returns the state representing true.