FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::AbSection Struct Reference

#include <fastmm/config/config.hpp>

Public Member Functions

bool enabled () const noexcept
 

Public Attributes

std::string name
 
std::string assignment
 "instrument" | "time" | "crossover" | "branch"
 
std::uint64_t seed = 1
 
std::int64_t block_s = 0
 time, crossover: the block, seconds
 
std::string start
 UTC; empty: from the start of the session.
 
std::string end
 UTC; empty: no end.
 
std::map< std::string, double > weights
 instrument, crossover: the weight of each instrument ("venue:symbol" or "symbol") the split balances the arms on; empty: every instrument weighs the same.
 
std::map< std::string, std::string > assign
 instrument, crossover: the arm of each instrument ("venue:symbol" or "symbol" = arm name) instead of a drawn split; an instrument not listed stays out of the test.
 
std::int64_t block_offset_s = 0
 time, crossover: blocks start this many seconds after multiples of block_s since the epoch.
 
std::vector< AbArmSection > arms
 

Member Function Documentation

◆ enabled()

bool fastmm::AbSection::enabled ( ) const
inlinenoexcept

Member Data Documentation

◆ name

std::string fastmm::AbSection::name

◆ assignment

std::string fastmm::AbSection::assignment

"instrument" | "time" | "crossover" | "branch"

◆ seed

std::uint64_t fastmm::AbSection::seed = 1

◆ block_s

std::int64_t fastmm::AbSection::block_s = 0

time, crossover: the block, seconds

◆ start

std::string fastmm::AbSection::start

UTC; empty: from the start of the session.

◆ end

std::string fastmm::AbSection::end

UTC; empty: no end.

◆ weights

std::map<std::string, double> fastmm::AbSection::weights

instrument, crossover: the weight of each instrument ("venue:symbol" or "symbol") the split balances the arms on; empty: every instrument weighs the same.

◆ assign

std::map<std::string, std::string> fastmm::AbSection::assign

instrument, crossover: the arm of each instrument ("venue:symbol" or "symbol" = arm name) instead of a drawn split; an instrument not listed stays out of the test.

◆ block_offset_s

std::int64_t fastmm::AbSection::block_offset_s = 0

time, crossover: blocks start this many seconds after multiples of block_s since the epoch.

◆ arms

std::vector<AbArmSection> fastmm::AbSection::arms