Tenncor
Public Member Functions | Public Attributes | List of all members
teq::ParentFinder Struct Referencefinal

Traveler that for each child tracks the relationship to all parents. More...

#include <traveler.hpp>

Inheritance diagram for teq::ParentFinder:
Inheritance graph
[legend]
Collaboration diagram for teq::ParentFinder:
Collaboration graph
[legend]

Public Member Functions

void visit (iLeaf *leaf) override
 Implementation of iTraveler. More...
 
void visit (iFunctor *func) override
 Implementation of iTraveler. More...
 
- Public Member Functions inherited from teq::iTraveler
virtual ~iTraveler (void)=default
 

Public Attributes

std::unordered_map< iTensor *, ParentMapTparents_
 

Detailed Description

Traveler that for each child tracks the relationship to all parents.

Member Function Documentation

◆ visit() [1/2]

void teq::ParentFinder::visit ( iLeaf leaf)
inlineoverridevirtual

Implementation of iTraveler.

Implements teq::iTraveler.

◆ visit() [2/2]

void teq::ParentFinder::visit ( iFunctor func)
inlineoverridevirtual

Implementation of iTraveler.

Implements teq::iTraveler.

Member Data Documentation

◆ parents_

std::unordered_map<iTensor*,ParentMapT> teq::ParentFinder::parents_

Tracks child to parents relationship Maps child tensor to parent mapping to indices that point to child


The documentation for this struct was generated from the following file: