lppl  v2.0.0
proposal.hpp File Reference
#include <iostream>
#include <utility>
#include <variant>
#include <functional_util.hpp>
#include <record.hpp>
#include <query.hpp>

Typedefs

template<typename O , typename... Ts>
using FilterValueType = std::shared_ptr< record_collection_t< O, Ts... > >
 Type of values returned from filtering algorithms. More...
 

Functions

template<typename Out , typename... In>
node_t< Out > extract (record_t< In... > &r_in, std::string address)
 Creates a bare node of type node_t<Out> from a record of nearly arbitrary type. More...
 
bool in (std::string a, std::vector< std::string > vec)
 
template<typename D , typename P , typename RNG , typename... Ts>
auto propose (record_t< DTypes< Ts... >> &r, std::string address, P &&dist, RNG &rng)
 Propose a value from distribution of type P into a model node of type D. More...
 
template<typename D , typename... Out>
void transfer (record_t< DTypes< Out... >> &r_out, std::string address, node_t< D > &&n)
 Transfers a newly created node into a record of a compatible type. More...
 

Detailed Description


This file is part of fmcs. Copyright David Rushing Dewhurst, 2022 - present. Some rights reserved.