# net::group
#include <group.hpp>
# Public Functions
Name | |
---|---|
group() =default | |
group(network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & n) | |
group(const group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & ) =default | |
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & | operator=(const group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & ) =default |
group(group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > && ) =default | |
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & | operator=(group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > && ) =default |
void | belong(network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & n) |
template <typename absorb_type ,typename contract_type > void | absorb(const NodeKey & key, const absorb_type & absorb_fun, const contract_type & contract_fun) |
void | take(const NodeKey & key) |
void | draw(const bool label_bond) |
const NodeVal & | get_val() |
# Public Attributes
Name | |
---|---|
network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > * | net |
NodeVal | val |
std::set< NodeKey, typename Trait::nodekey_less > | contains |
# Detailed Description
template <typename NodeVal ,
typename EdgeVal ,
typename NodeKey =std::string,
typename EdgeKey =stdEdgeKey,
typename Trait =default_traits<NodeVal, EdgeVal, NodeKey, EdgeKey>>
struct net::group;
# Public Functions Documentation
# function group
group() =default
# function group
group(
network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & n
)
# function group
group(
const group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > &
) =default
# function operator=
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & operator=(
const group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > &
) =default
# function group
group(
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > &&
) =default
# function operator=
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & operator=(
group< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > &&
) =default
# function belong
void belong(
network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > & n
)
# function absorb
template <typename absorb_type ,
typename contract_type >
void absorb(
const NodeKey & key,
const absorb_type & absorb_fun,
const contract_type & contract_fun
)
# function take
void take(
const NodeKey & key
)
# function draw
void draw(
const bool label_bond
)
# function get_val
const NodeVal & get_val()
# Public Attributes Documentation
# variable net
network< NodeVal, EdgeVal, NodeKey, EdgeKey, Trait > * net;
# variable val
NodeVal val;
# variable contains
std::set< NodeKey, typename Trait::nodekey_less > contains;
Updated on 15 June 2022 at 16:04:19 CST