Lumiera  0.pre.03
»edit your freedom«
TestChainLoad< maxFan >::NodeControlBinding Class Reference

#include "/Werk/devel/lumi/tests/vault/gear/test-chain-load.hpp"

Description

template<size_t maxFan = DEFAULT_FAN>
class vault::gear::test::TestChainLoad< maxFan >::NodeControlBinding

Policy/Binding for generation of random parameters by »drawing« based on the node-hash.

Notably this policy template maps the ways to spell out »Ctrl rules« to configure the probability profile of the topology parameters seeding, expansion, reduction and pruning. The RandomDraw component used to implement those rules provides a builder-DSL and accepts λ-bindings in various forms to influence mapping of Node hash into result parameters.

Definition at line 908 of file test-chain-load.hpp.

Classes

struct  Adaptor
 Adaptor to handle further mapping functions. More...
 
struct  Adaptor< RES(double)>
 rules may also build solely on the (guessed) height. More...
 
struct  Adaptor< RES(size_t)>
 allow simple rules directly manipulating the hash value More...
 
struct  Adaptor< RES(size_t, double)>
 allow rules additionally involving the height of the graph, which also represents time. More...
 

Static Protected Member Functions

static size_t defaultSrc (Node *node)
 by default use Node-hash directly as source of randomness
 
static double guessHeight (size_t level)
 
static size_t level (Node *node)
 

Class Documentation

◆ vault::gear::test::TestChainLoad::NodeControlBinding::Adaptor

struct vault::gear::test::TestChainLoad::NodeControlBinding::Adaptor
+ Collaboration diagram for TestChainLoad< maxFan >::NodeControlBinding::Adaptor< SIG >:
+ Inheritance diagram for TestChainLoad< maxFan >::NodeControlBinding:
+ Collaboration diagram for TestChainLoad< maxFan >::NodeControlBinding:

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