CBMC
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
graphmlt Class Reference

#include <graphml.h>

+ Inheritance diagram for graphmlt:
+ Collaboration diagram for graphmlt:

Public Types

typedef std::map< std::string, std::string >  key_valuest
 
- Public Types inherited from grapht< xml_graph_nodet >
 
 
typedef std::vector< nodetnodest
 
 
 
typedef std::list< node_indextpatht
 

Public Member Functions

bool  has_node (const std::string &node_name) const
 
node_indext  add_node_if_not_exists (std::string node_name)
 
- Public Member Functions inherited from grapht< xml_graph_nodet >
node_indext  add_node (arguments &&... values)
 
void  swap (grapht &other)
 
 
 
 
 
std::size_t  size () const
 
 
 
 
 
 
 
 
 
 
 
 
void  clear ()
 
 
 
 
  Run depth-first search on the graph, starting from a single source node.
 
std::vector< node_indextget_reachable (const std::vector< node_indext > &src, bool forwards) const
  Run depth-first search on the graph, starting from multiple source nodes.
 
  Removes any edges between nodes in a graph that are unreachable from a given start node.
 
void  disconnect_unreachable (const std::vector< node_indext > &src)
  Removes any edges between nodes in a graph that are unreachable from a vector of start nodes.
 
std::vector< typename N::node_indext >  depth_limited_search (typename N::node_indext src, std::size_t limit) const
  Run recursive depth-limited search on the graph, starting from multiple source nodes, to find the nodes reachable within n steps.
 
std::vector< typename N::node_indext >  depth_limited_search (std::vector< typename N::node_indext > &src, std::size_t limit) const
  Run recursive depth-limited search on the graph, starting from multiple source nodes, to find the nodes reachable within n steps.
 
  Ensure a graph is chordal (contains no 4+-cycles without an edge crossing the cycle) by adding extra edges.
 
std::size_t  connected_subgraphs (std::vector< node_indext > &subgraph_nr)
  Find connected subgraphs in an undirected graph.
 
std::size_t  SCCs (std::vector< node_indext > &subgraph_nr) const
  Computes strongly-connected components of a graph and yields a vector expressing a mapping from nodes to components indices.
 
 
std::list< node_indexttopsort () const
  Find a topological order of the nodes if graph is DAG, return empty list for non-DAG or empty graph.
 
 
 
void  output_dot (std::ostream &out) const
 
 
 

Public Attributes

 

Additional Inherited Members

- Protected Member Functions inherited from grapht< xml_graph_nodet >
 
std::vector< typename N::node_indext >  depth_limited_search (std::vector< typename N::node_indext > &src, std::size_t limit, std::vector< bool > &visited) const
  Run recursive depth-limited search on the graph, starting from multiple source nodes, to find the nodes reachable within n steps.
 
void  tarjan (class tarjant &t, node_indext v) const
 
- Protected Attributes inherited from grapht< xml_graph_nodet >
 

Detailed Description

Definition at line 43 of file graphml.h.

Member Typedef Documentation

◆  key_valuest

typedef std::map<std::string, std::string> graphmlt::key_valuest

Definition at line 66 of file graphml.h.

Member Function Documentation

◆  add_node_if_not_exists()

node_indext graphmlt::add_node_if_not_exists ( std::string  node_name )
inline

Definition at line 55 of file graphml.h.

◆  has_node()

bool graphmlt::has_node ( const std::string &  node_name ) const
inline

Definition at line 46 of file graphml.h.

Member Data Documentation

◆  key_values

key_valuest graphmlt::key_values

Definition at line 67 of file graphml.h.


The documentation for this class was generated from the following file:
  • /home/runner/work/cbmc/cbmc/src/xmllang/graphml.h

AltStyle によって変換されたページ (->オリジナル) /