# net::keyset
#include <tensor_contract_tools.hpp>
# Public Functions
Name | |
---|---|
keyset< KeySetType > | absorb(const keyset< KeySetType > & a, const int & b) |
keyset< KeySetType > | contract(const keyset< KeySetType > & a, const keyset< KeySetType > & b) |
keyset() =default | |
template <typename NodeType > | keyset(const typename KeySetType::key_type & k, const NodeType & n) |
std::string | show() const |
keyset< KeySetType > | forget_history(const typename KeySetType::key_type & k) |
# Public Attributes
Name | |
---|---|
KeySetType | node_set |
# Detailed Description
template <typename KeySetType >
struct net::keyset;
# Public Functions Documentation
# function absorb
static inline keyset< KeySetType > absorb(
const keyset< KeySetType > & a,
const int & b
)
# function contract
static inline keyset< KeySetType > contract(
const keyset< KeySetType > & a,
const keyset< KeySetType > & b
)
# function keyset
keyset() =default
# function keyset
template <typename NodeType >
inline keyset(
const typename KeySetType::key_type & k,
const NodeType & n
)
# function show
inline std::string show() const
# function forget_history
inline keyset< KeySetType > forget_history(
const typename KeySetType::key_type & k
)
# Public Attributes Documentation
# variable node_set
KeySetType node_set;
Updated on 15 June 2022 at 16:04:19 CST