Cortenn
|
#include <shear.hpp>
Public Member Functions | |
LeafFinder (T target, GetLeafValT< T > get_leaf) | |
void | visit (ade::iLeaf *leaf) override |
Implementation of iTraveler. More... | |
void | visit (ade::iFunctor *func) override |
Implementation of iTraveler. More... | |
Public Attributes | |
T | target_ |
Target of label all paths are travelling to. More... | |
GetLeafValT< T > | get_leaf_ |
Leaf value getter. More... | |
std::unordered_set< ade::iTensor * > | founds_ |
Set of leaf nodes found. More... | |
ParentMapT | parents_ |
Map of parent nodes in path. More... | |
Find leaf nodes by some attribute associated to leaf This traveler identifies nodes along some path for TargetPruner to work on
|
inline |
|
inlineoverride |
Implementation of iTraveler.
|
inlineoverride |
Implementation of iTraveler.
std::unordered_set<ade::iTensor*> opt::LeafFinder< T >::founds_ |
Set of leaf nodes found.
GetLeafValT<T> opt::LeafFinder< T >::get_leaf_ |
Leaf value getter.
ParentMapT opt::LeafFinder< T >::parents_ |
Map of parent nodes in path.
T opt::LeafFinder< T >::target_ |
Target of label all paths are travelling to.