CGRA-ME
|
#include <GraphAlgorithmHelpers.h>
Public Types | |
using | VisitorPtr = std::remove_reference_t< Visitor > * |
Public Member Functions | |
ForwardingVisitor (VisitorPtr visitor) | |
ForwardingVisitor (const ForwardingVisitor &)=default | |
ForwardingVisitor & | operator= (const ForwardingVisitor &)=default |
ForwardingVisitor (ForwardingVisitor &&)=default | |
ForwardingVisitor & | operator= (ForwardingVisitor &&)=default |
template<typename VertexID > | |
void | onExamine (const VertexID &v) |
template<typename VertexID1 , typename VertexID2 > | |
void | onExamineEdge (const VertexID1 &v1, const VertexID2 &v2) |
template<typename VertexID > | |
bool | shouldIgnore (const VertexID &v) |
template<typename VertexID1 , typename VertexID2 > | |
bool | shouldIgnoreEdge (const VertexID1 &v1, const VertexID2 &v2) |
template<typename VertexID > | |
void | onSkipped (const VertexID &v) |
template<typename VertexID1 , typename VertexID2 > | |
void | onSkippedEdge (const VertexID1 &v1, const VertexID2 &v2) |
Public Attributes | |
VisitorPtr | ref |
A class for help with composing visitors together. Given a pointer to a visitor, it (by default) delegates all callbacks to that visitor, allowing the composing code to only override/change certain callbacks.
Definition at line 110 of file GraphAlgorithmHelpers.h.
using ForwardingVisitor< Visitor >::VisitorPtr = std::remove_reference_t<Visitor>* |
Definition at line 112 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 115 of file GraphAlgorithmHelpers.h.
|
default |
|
default |
|
inline |
Definition at line 123 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 126 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 135 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 138 of file GraphAlgorithmHelpers.h.
|
default |
|
default |
|
inline |
Definition at line 129 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 132 of file GraphAlgorithmHelpers.h.
VisitorPtr ForwardingVisitor< Visitor >::ref |
Definition at line 113 of file GraphAlgorithmHelpers.h.