Tenncor
Classes | Namespaces | Typedefs | Functions
traveler.hpp File Reference
#include "estd/estd.hpp"
#include "estd/range.hpp"
#include "teq/ileaf.hpp"
#include "teq/ifunctor.hpp"
Include dependency graph for traveler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  teq::OnceTraveler
 Extremely generic traveler that visits every node in the graph once. More...
 
struct  teq::GraphStat
 Traveler that maps each tensor to its subtree's maximum depth. More...
 
struct  teq::PathFinder
 
struct  teq::ParentFinder
 Traveler that for each child tracks the relationship to all parents. More...
 
struct  teq::HeightMatrix
 Leaves set and sets of functors ordered by height (by ascending order) More...
 

Namespaces

 teq
 

Typedefs

using teq::ParentMapT = std::unordered_map< iTensor *, std::vector< size_t > >
 Map tensors to indices of children. More...
 
using teq::OwnerMapT = std::unordered_map< iTensor *, TensrefT >
 Map between tensor and its corresponding smart pointer. More...
 

Functions

OwnerMapT teq::track_owners (TensptrsT roots)