mCRL2
Loading...
Searching...
No Matches
mcrl2::pbes_system::detail::stategraph_equation Class Reference

#include <stategraph_pbes.h>

Inheritance diagram for mcrl2::pbes_system::detail::stategraph_equation:
mcrl2::pbes_system::pbes_equation

Public Member Functions

 stategraph_equation (const pbes_equation &eqn, const data::rewriter &rewr)
 
void compute_source_target_copy (data::rewriter &R)
 
void set_control_flow_parameters (const std::set< std::size_t > &CFP) const
 Sets the control flow parameters of this equation.
 
void set_data_parameters (const std::set< std::size_t > &DP) const
 Sets the data parameters of this equation.
 
const data::variable_vector & control_flow_parameters () const
 
const std::vector< std::size_t > & control_flow_parameter_indices () const
 
const data::variable_vector & data_parameters () const
 
const std::vector< std::size_t > & data_parameter_indices () const
 
bool is_simple () const
 
const pbes_expression & simple_guard () const
 
const std::vector< data::variable > & parameters () const
 
const std::vector< predicate_variable > & predicate_variables () const
 
std::vector< predicate_variable > & predicate_variables ()
 
std::string print () const
 
std::string print_source_target_copy () const
 
data::data_expression_list project (const data::data_expression_list &e) const
 
- Public Member Functions inherited from mcrl2::pbes_system::pbes_equation
 pbes_equation ()=default
 Constructor.
 
 pbes_equation (const fixpoint_symbol &symbol, const propositional_variable &variable, const pbes_expression &expr)
 Constructor.
 
const fixpoint_symbol & symbol () const
 Returns the fixpoint symbol of the equation.
 
fixpoint_symbol & symbol ()
 Returns the fixpoint symbol of the equation.
 
const propositional_variable & variable () const
 Returns the pbes variable of the equation.
 
propositional_variable & variable ()
 Returns the pbes variable of the equation.
 
const pbes_expression & formula () const
 Returns the predicate formula on the right hand side of the equation.
 
pbes_expression & formula ()
 Returns the predicate formula on the right hand side of the equation.
 
bool is_solved () const
 Returns true if the predicate formula on the right hand side contains no predicate variables.
 
void swap (pbes_equation &other) noexcept
 Swaps the contents.
 
bool operator< (const pbes_equation &other) const
 A comparison operator on pbes equations.
 

Protected Member Functions

void find_equality_conjuncts (const pbes_expression &x, const std::vector< data::variable > &d, std::map< data::variable, data::data_expression > &result) const
 
bool is_cf (const std::map< core::identifier_string, std::vector< bool > > &is_control_flow, const core::identifier_string &X, std::size_t i) const
 
void compute_source ()
 
void compute_target (data::rewriter &R)
 
void compute_copy ()
 
void compute_used ()
 
void compute_changed ()
 

Protected Attributes

std::vector< predicate_variable > m_predvars
 
std::vector< data::variable > m_parameters
 
pbes_expression m_condition
 
std::vector< std::size_t > m_control_flow_parameter_indices
 
data::variable_vector m_control_flow_parameters
 
std::vector< std::size_t > m_data_parameter_indices
 
data::variable_vector m_data_parameters
 
- Protected Attributes inherited from mcrl2::pbes_system::pbes_equation
fixpoint_symbol m_symbol
 The fixpoint symbol of the equation.
 
propositional_variable m_variable
 The variable on the left hand side of the equation.
 
pbes_expression m_formula
 The expression on the right hand side of the equation.
 

Additional Inherited Members

- Public Types inherited from mcrl2::pbes_system::pbes_equation
using term_type = pbes_expression
 The expression type of the equation.
 
using variable_type = propositional_variable
 The variable type of the equation.
 
using symbol_type = fixpoint_symbol
 The symbol type of the equation.
 

Detailed Description

Definition at line 145 of file stategraph_pbes.h.

Constructor & Destructor Documentation

◆ stategraph_equation()

mcrl2::pbes_system::detail::stategraph_equation::stategraph_equation ( const pbes_equation &  eqn,
const data::rewriter &  rewr 
)
inline

Definition at line 322 of file stategraph_pbes.h.

Member Function Documentation

◆ compute_changed()

void mcrl2::pbes_system::detail::stategraph_equation::compute_changed ( )
inlineprotected

Definition at line 300 of file stategraph_pbes.h.

◆ compute_copy()

void mcrl2::pbes_system::detail::stategraph_equation::compute_copy ( )
inlineprotected

Definition at line 250 of file stategraph_pbes.h.

◆ compute_source()

void mcrl2::pbes_system::detail::stategraph_equation::compute_source ( )
inlineprotected

Definition at line 211 of file stategraph_pbes.h.

◆ compute_source_target_copy()

void mcrl2::pbes_system::detail::stategraph_equation::compute_source_target_copy ( data::rewriter &  R)
inline

Definition at line 337 of file stategraph_pbes.h.

◆ compute_target()

void mcrl2::pbes_system::detail::stategraph_equation::compute_target ( data::rewriter &  R)
inlineprotected

Definition at line 233 of file stategraph_pbes.h.

◆ compute_used()

void mcrl2::pbes_system::detail::stategraph_equation::compute_used ( )
inlineprotected

Definition at line 269 of file stategraph_pbes.h.

◆ control_flow_parameter_indices()

const std::vector< std::size_t > & mcrl2::pbes_system::detail::stategraph_equation::control_flow_parameter_indices ( ) const
inline

Definition at line 373 of file stategraph_pbes.h.

◆ control_flow_parameters()

const data::variable_vector & mcrl2::pbes_system::detail::stategraph_equation::control_flow_parameters ( ) const
inline

Definition at line 368 of file stategraph_pbes.h.

◆ data_parameter_indices()

const std::vector< std::size_t > & mcrl2::pbes_system::detail::stategraph_equation::data_parameter_indices ( ) const
inline

Definition at line 383 of file stategraph_pbes.h.

◆ data_parameters()

const data::variable_vector & mcrl2::pbes_system::detail::stategraph_equation::data_parameters ( ) const
inline

Definition at line 378 of file stategraph_pbes.h.

◆ find_equality_conjuncts()

void mcrl2::pbes_system::detail::stategraph_equation::find_equality_conjuncts ( const pbes_expression &  x,
const std::vector< data::variable > &  d,
std::map< data::variable, data::data_expression > &  result 
) const
inlineprotected

Definition at line 157 of file stategraph_pbes.h.

◆ is_cf()

bool mcrl2::pbes_system::detail::stategraph_equation::is_cf ( const std::map< core::identifier_string, std::vector< bool > > &  is_control_flow,
const core::identifier_string &  X,
std::size_t  i 
) const
inlineprotected

Definition at line 201 of file stategraph_pbes.h.

◆ is_simple()

bool mcrl2::pbes_system::detail::stategraph_equation::is_simple ( ) const
inline

Definition at line 388 of file stategraph_pbes.h.

◆ parameters()

const std::vector< data::variable > & mcrl2::pbes_system::detail::stategraph_equation::parameters ( ) const
inline

Definition at line 406 of file stategraph_pbes.h.

◆ predicate_variables() [1/2]

std::vector< predicate_variable > & mcrl2::pbes_system::detail::stategraph_equation::predicate_variables ( )
inline

Definition at line 416 of file stategraph_pbes.h.

◆ predicate_variables() [2/2]

const std::vector< predicate_variable > & mcrl2::pbes_system::detail::stategraph_equation::predicate_variables ( ) const
inline

Definition at line 411 of file stategraph_pbes.h.

◆ print()

std::string mcrl2::pbes_system::detail::stategraph_equation::print ( ) const
inline

Definition at line 421 of file stategraph_pbes.h.

◆ print_source_target_copy()

std::string mcrl2::pbes_system::detail::stategraph_equation::print_source_target_copy ( ) const
inline

Definition at line 434 of file stategraph_pbes.h.

◆ project()

data::data_expression_list mcrl2::pbes_system::detail::stategraph_equation::project ( const data::data_expression_list &  e) const
inline

Definition at line 472 of file stategraph_pbes.h.

◆ set_control_flow_parameters()

void mcrl2::pbes_system::detail::stategraph_equation::set_control_flow_parameters ( const std::set< std::size_t > &  CFP) const
inline

Sets the control flow parameters of this equation.

Parameters
CFPcontains the indices of the control flow parameters of this equation

Definition at line 348 of file stategraph_pbes.h.

◆ set_data_parameters()

void mcrl2::pbes_system::detail::stategraph_equation::set_data_parameters ( const std::set< std::size_t > &  DP) const
inline

Sets the data parameters of this equation.

Parameters
DPcontains the indices of the control flow parameters of this equation

Definition at line 359 of file stategraph_pbes.h.

◆ simple_guard()

const pbes_expression & mcrl2::pbes_system::detail::stategraph_equation::simple_guard ( ) const
inline

Definition at line 401 of file stategraph_pbes.h.

Member Data Documentation

◆ m_condition

pbes_expression mcrl2::pbes_system::detail::stategraph_equation::m_condition
protected

Definition at line 150 of file stategraph_pbes.h.

◆ m_control_flow_parameter_indices

std::vector<std::size_t> mcrl2::pbes_system::detail::stategraph_equation::m_control_flow_parameter_indices
mutableprotected

Definition at line 151 of file stategraph_pbes.h.

◆ m_control_flow_parameters

data::variable_vector mcrl2::pbes_system::detail::stategraph_equation::m_control_flow_parameters
mutableprotected

Definition at line 152 of file stategraph_pbes.h.

◆ m_data_parameter_indices

std::vector<std::size_t> mcrl2::pbes_system::detail::stategraph_equation::m_data_parameter_indices
mutableprotected

Definition at line 153 of file stategraph_pbes.h.

◆ m_data_parameters

data::variable_vector mcrl2::pbes_system::detail::stategraph_equation::m_data_parameters
mutableprotected

Definition at line 154 of file stategraph_pbes.h.

◆ m_parameters

std::vector<data::variable> mcrl2::pbes_system::detail::stategraph_equation::m_parameters
protected

Definition at line 149 of file stategraph_pbes.h.

◆ m_predvars

std::vector<predicate_variable> mcrl2::pbes_system::detail::stategraph_equation::m_predvars
protected

Definition at line 148 of file stategraph_pbes.h.


The documentation for this class was generated from the following file: