Tenncor
Classes | Namespaces | Typedefs | Functions | Variables
group.hpp File Reference
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include "tag/tag.hpp"
Include dependency graph for group.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tag::GroupTag
 
struct  tag::GroupRegistry
 
struct  tag::Subgraph
 Subgraph group encapsulation. More...
 

Namespaces

 tag
 

Typedefs

using tag::TensSetT = std::unordered_set< TensKey, TensKeyHash >
 Tensor ref set. More...
 
using tag::AGroupsT = std::map< std::string, std::unordered_set< std::string > >
 
using tag::AdjMapT = std::unordered_map< teq::iTensor *, AGroupsT >
 Map tensors to groups. More...
 
using tag::SgraphptrT = std::shared_ptr< Subgraph >
 Smart pointer of the subgraph. More...
 
using tag::SubgraphsT = std::unordered_set< SgraphptrT >
 Set of subgraphs. More...
 
using tag::SubgraphAssocsT = std::unordered_map< teq::iTensor *, SubgraphsT >
 Root of the subgraph associated with the subgraph representations. More...
 

Functions

GroupRegistry & tag::get_group_reg (void)
 Return reference to global group registry. More...
 
void tag::recursive_group_tag (teq::TensptrT tens, std::string group, teq::TensSetT stops, GroupRegistry &registry=get_group_reg())
 
void tag::adjacencies (AdjMapT &out, teq::TensptrsT roots, GroupRegistry &registry=get_group_reg())
 
void tag::beautify_groups (SubgraphAssocsT &out, const AdjMapT &adjs)
 
void tag::filter_head (SubgraphAssocsT &out, const SubgraphAssocsT &assocs)
 

Variables

const std::string tag::groups_key
 Identifier of groups tag. More...