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

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

#include <graph.hpp>

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

Public Member Functions

 SelectVertex ()
 Constructor to select all the vertices. More...
 
 SelectVertex (const CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > &_subset)
 Constructor. More...
 
bool operator() (const typename boost::graph_traits< Graph >::vertex_descriptor &v) const
 Operator to check if a vertex has to be selected. More...
 

Private Attributes

bool all
 True if all the vertices have to be selected. More...
 
CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > subset
 The set of vertices to be considered. More...
 

Detailed Description

template<typename Graph>
struct SelectVertex< Graph >

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

Definition at line 651 of file graph.hpp.

Constructor & Destructor Documentation

◆ SelectVertex() [1/2]

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

Constructor to select all the vertices.

Definition at line 664 of file graph.hpp.

◆ SelectVertex() [2/2]

template<typename Graph >
SelectVertex< Graph >::SelectVertex ( const CustomUnorderedSet< typename boost::graph_traits< Graph >::vertex_descriptor > &  _subset)
inlineexplicit

Constructor.

Parameters
_subsetis the set of vertices to be considered

Definition at line 672 of file graph.hpp.

Member Function Documentation

◆ operator()()

template<typename Graph >
bool SelectVertex< Graph >::operator() ( const typename boost::graph_traits< Graph >::vertex_descriptor &  v) const
inline

Operator to check if a vertex has to be selected.

Parameters
vis the vertex to be analyzed
Returns
true if the vertex has to be selected

Definition at line 682 of file graph.hpp.

Field Documentation

◆ all

template<typename Graph >
bool SelectVertex< Graph >::all
private

True if all the vertices have to be selected.

Definition at line 655 of file graph.hpp.

◆ subset

template<typename Graph >
CustomUnorderedSet<typename boost::graph_traits<Graph>::vertex_descriptor> SelectVertex< Graph >::subset
private

The set of vertices to be considered.

Definition at line 658 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