walker::ctr::InitPolicy class

InitPolicy options: outsource searches to base templated on enum type.

Base classes

template<typename Enum>
class tk::Toggle
Toggle is the base for an Option, doing generic searches.

Public types

using keywords = brigand::list<kw::raw, kw::zero, kw::jointdelta, kw::jointgaussian, kw::jointcorrgaussian, kw::jointbeta, kw::jointgamma, kw::jointdirichlet>
Valid expected choices to make them also available at compile-time.

Constructors, destructors, conversion operators

InitPolicy() explicit
Options constructor.

Public functions

auto code(InitPolicyType p) const -> const std::string&
Return policy code based on Enum.

Function documentation

walker::ctr::InitPolicy::InitPolicy() explicit

Options constructor.

Simply initialize in-line and pass associations to base, which will handle client interactions

const std::string& walker::ctr::InitPolicy::code(InitPolicyType p) const

Return policy code based on Enum.

Parameters
in Enum value of the option requested
Returns Policy code of the option