Find combinations of items from an input vector.
More...
#include <value.hpp>
|
| Combinations (Value< std::vector< T >> *val, const std::string alias="") |
|
| DerivedValue (const std::string &name, const std::string &alias="") |
|
void | log () |
|
std::vector< HomoTuple< T, Size >::type > & | get_value () |
| Calculate, if necessary, and return the value held by this object.
|
|
| Value (const std::string &name, const std::string &alias="") |
|
void | enable_logging (const std::function< std::string(std::vector< HomoTuple< T, Size >::type >)> &value_to_string=[](std::vector< HomoTuple< T, Size >::type >){return "";}) |
|
void | disable_logging () |
|
|
static std::string | fmt_name (Value< std::vector< T >> *val) |
|
|
typedef HomoTuple< T, Size >::type | tuple_type |
|
|
Value< std::vector< T > > * | val |
|
|
std::vector< HomoTuple< T, Size >::type > | value |
|
std::function< std::string(std::vector< HomoTuple< T, Size >::type >)> | value_to_string |
|
template<typename T, int Size>
class fv::Combinations< T, Size >
Find combinations of items from an input vector.
◆ update_value()
template<typename T, int Size>
Updates the internal value.
This function should be overridden by any child class to do the actual work of updating value based on whatever rules the class chooses. Normally, this consists of geting the values from some associated Value objects, doing some calculation on them, and storing the result in value.
!!
Implements fv::DerivedValue< std::vector< HomoTuple< T, Size >::type > >.
The documentation for this class was generated from the following file: