PandA-2024.02
Public Member Functions | Private Attributes
SelectEdge< Graph > Struct Template Reference

Predicate functor object used to select the proper set of edges. More...

#include <graph.hpp>

Collaboration diagram for SelectEdge< Graph >:
Collaboration graph
[legend]

Public Member Functions

 SelectEdge ()
 Default constructor. More...
 
 SelectEdge (const int _selector, Graph *_g)
 Constructor for filtering only on selector. More...
 
 SelectEdge (const int _selector, Graph *_g, const CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > &_subgraph_vertices)
 Constructor for filtering also on vertices. More...
 
template<typename Edge >
bool operator() (const Edge &e) const
 

Private Attributes

int selector
 The selector associated with the filtered graph. More...
 
Graphg
 The bulk graph. More...
 
CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > subgraph_vertices
 The vertices of subgraph. More...
 
bool empty
 true when the subvertices set is empty More...
 

Detailed Description

template<typename Graph>
struct SelectEdge< Graph >

Predicate functor object used to select the proper set of edges.

Definition at line 699 of file graph.hpp.

Constructor & Destructor Documentation

◆ SelectEdge() [1/3]

template<typename Graph >
SelectEdge< Graph >::SelectEdge ( )
inline

Default constructor.

Definition at line 718 of file graph.hpp.

◆ SelectEdge() [2/3]

template<typename Graph >
SelectEdge< Graph >::SelectEdge ( const int  _selector,
Graph _g 
)
inline

Constructor for filtering only on selector.

Parameters
_selectoris the selector of the filtered graph
_gis the graph

Definition at line 727 of file graph.hpp.

◆ SelectEdge() [3/3]

template<typename Graph >
SelectEdge< Graph >::SelectEdge ( const int  _selector,
Graph _g,
const CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > &  _subgraph_vertices 
)
inline

Constructor for filtering also on vertices.

Parameters
_selectoris the selector of the filtered graph
_gis the graph
_subgraph_verticesis the set of vertices of the filtered graph

Definition at line 737 of file graph.hpp.

Member Function Documentation

◆ operator()()

template<typename Graph >
template<typename Edge >
bool SelectEdge< Graph >::operator() ( const Edge e) const
inline

Definition at line 744 of file graph.hpp.

References lenet_tvm::target.

Field Documentation

◆ empty

template<typename Graph >
bool SelectEdge< Graph >::empty
private

true when the subvertices set is empty

Definition at line 712 of file graph.hpp.

◆ g

template<typename Graph >
Graph* SelectEdge< Graph >::g
private

The bulk graph.

Definition at line 706 of file graph.hpp.

◆ selector

template<typename Graph >
int SelectEdge< Graph >::selector
private

The selector associated with the filtered graph.

Definition at line 703 of file graph.hpp.

◆ subgraph_vertices

template<typename Graph >
CustomUnorderedSet<typename boost::graph_traits<Graph>::vertex_descriptor> SelectEdge< Graph >::subgraph_vertices
private

The vertices of subgraph.

Definition at line 709 of file graph.hpp.


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

Generated on Mon Feb 12 2024 13:04:03 for PandA-2024.02 by doxygen 1.8.13