mCRL2
Loading...
Searching...
No Matches
mcrl2::pbes_system::detail::control_flow_graph< Vertex > Struct Template Reference

#include <stategraph_graph.h>

Public Member Functions

const Vertex & find_vertex (const Vertex &u) const
 
void compute_index ()
 
std::set< const Vertex * > index (const core::identifier_string &X) const
 
bool has_vertex (const core::identifier_string &X, std::size_t p) const
 
 control_flow_graph ()=default
 Default constructor.
 
 control_flow_graph (const control_flow_graph< Vertex > &other)
 Copy constructor N.B. The implementation is rather inefficient!
 
void self_check () const
 
std::pair< typename std::set< Vertex >::iterator, bool > insert (const Vertex &u)
 
const Vertex & insert_vertex (const Vertex &v_)
 
void insert_edge (const Vertex &u, std::size_t i, const Vertex &v)
 
bool has_label (const core::identifier_string &X, std::size_t label) const
 
std::set< Vertex >::const_iterator begin () const
 
std::set< Vertex >::const_iterator end () const
 

Public Attributes

std::set< Vertex > vertices
 
std::map< core::identifier_string, std::set< const Vertex * > > m_graph_index
 

Detailed Description

template<typename Vertex>
struct mcrl2::pbes_system::detail::control_flow_graph< Vertex >

Definition at line 309 of file stategraph_graph.h.

Constructor & Destructor Documentation

◆ control_flow_graph() [1/2]

template<typename Vertex >
mcrl2::pbes_system::detail::control_flow_graph< Vertex >::control_flow_graph ( )
default

Default constructor.

◆ control_flow_graph() [2/2]

template<typename Vertex >
mcrl2::pbes_system::detail::control_flow_graph< Vertex >::control_flow_graph ( const control_flow_graph< Vertex > &  other)
inline

Copy constructor N.B. The implementation is rather inefficient!

Definition at line 368 of file stategraph_graph.h.

Member Function Documentation

◆ begin()

template<typename Vertex >
std::set< Vertex >::const_iterator mcrl2::pbes_system::detail::control_flow_graph< Vertex >::begin ( ) const
inline

Definition at line 497 of file stategraph_graph.h.

◆ compute_index()

template<typename Vertex >
void mcrl2::pbes_system::detail::control_flow_graph< Vertex >::compute_index ( )
inline

Definition at line 327 of file stategraph_graph.h.

◆ end()

template<typename Vertex >
std::set< Vertex >::const_iterator mcrl2::pbes_system::detail::control_flow_graph< Vertex >::end ( ) const
inline

Definition at line 502 of file stategraph_graph.h.

◆ find_vertex()

template<typename Vertex >
const Vertex & mcrl2::pbes_system::detail::control_flow_graph< Vertex >::find_vertex ( const Vertex &  u) const
inline

Definition at line 316 of file stategraph_graph.h.

◆ has_label()

template<typename Vertex >
bool mcrl2::pbes_system::detail::control_flow_graph< Vertex >::has_label ( const core::identifier_string &  X,
std::size_t  label 
) const
inline

Definition at line 477 of file stategraph_graph.h.

◆ has_vertex()

template<typename Vertex >
bool mcrl2::pbes_system::detail::control_flow_graph< Vertex >::has_vertex ( const core::identifier_string &  X,
std::size_t  p 
) const
inline

Definition at line 352 of file stategraph_graph.h.

◆ index()

template<typename Vertex >
std::set< const Vertex * > mcrl2::pbes_system::detail::control_flow_graph< Vertex >::index ( const core::identifier_string &  X) const
inline

Definition at line 339 of file stategraph_graph.h.

◆ insert()

template<typename Vertex >
std::pair< typename std::set< Vertex >::iterator, bool > mcrl2::pbes_system::detail::control_flow_graph< Vertex >::insert ( const Vertex &  u)
inline

Definition at line 439 of file stategraph_graph.h.

◆ insert_edge()

template<typename Vertex >
void mcrl2::pbes_system::detail::control_flow_graph< Vertex >::insert_edge ( const Vertex &  u,
std::size_t  i,
const Vertex &  v 
)
inline

Definition at line 457 of file stategraph_graph.h.

◆ insert_vertex()

template<typename Vertex >
const Vertex & mcrl2::pbes_system::detail::control_flow_graph< Vertex >::insert_vertex ( const Vertex &  v_)
inline

Definition at line 445 of file stategraph_graph.h.

◆ self_check()

template<typename Vertex >
void mcrl2::pbes_system::detail::control_flow_graph< Vertex >::self_check ( ) const
inline

Definition at line 398 of file stategraph_graph.h.

Member Data Documentation

◆ m_graph_index

template<typename Vertex >
std::map<core::identifier_string, std::set<const Vertex*> > mcrl2::pbes_system::detail::control_flow_graph< Vertex >::m_graph_index

Definition at line 314 of file stategraph_graph.h.

◆ vertices

template<typename Vertex >
std::set<Vertex> mcrl2::pbes_system::detail::control_flow_graph< Vertex >::vertices

Definition at line 311 of file stategraph_graph.h.


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