Tenncor
|
#include <traveler.hpp>
Public Member Functions | |
PathFinder (const iTensor *target) | |
void | visit (iLeaf *leaf) override |
Implementation of iTraveler. More... | |
void | visit (iFunctor *func) override |
Implementation of iTraveler. More... | |
![]() | |
virtual | ~iTraveler (void)=default |
Public Attributes | |
const iTensor * | target_ |
Target of tensor all paths are travelling to. More... | |
ParentMapT | parents_ |
Map of parent to child indices that lead to target tensor. More... | |
Traveler that paints paths to a target tensor All nodes in the path are added as keys to the parents_ map with the values being a boolean vector denoting nodes leading to target For a boolean value x at index i in mapped vector, x is true if the ith child leads to target
|
inline |
|
inlineoverridevirtual |
Implementation of iTraveler.
Implements teq::iTraveler.
|
inlineoverridevirtual |
Implementation of iTraveler.
Implements teq::iTraveler.
ParentMapT teq::PathFinder::parents_ |
Map of parent to child indices that lead to target tensor.
const iTensor* teq::PathFinder::target_ |
Target of tensor all paths are travelling to.