ZeroErr
|
#include <container_of.h>
Public Types | |
using | ValueType = T |
using | CorpusType = std::vector< typename InnerDomain::CorpusType > |
Public Member Functions | |
SequenceContainerOf (InnerDomain &&inner_domain) | |
virtual ValueType | GetValue (const CorpusType &v) const override |
virtual CorpusType | FromValue (const ValueType &v) const override |
CorpusType | GetRandomCorpus (Rng &rng) const override |
void | Mutate (Rng &rng, CorpusType &v, bool only_shrink) const override |
Public Member Functions inherited from zeroerr::Domain< T, std::vector< InnerDomain::CorpusType > > | |
virtual | ~Domain ()=default |
virtual T | GetRandomValue (Rng &rng) const |
virtual T | GetValue (const std::vector< InnerDomain::CorpusType > &v) const=0 |
virtual std::vector< InnerDomain::CorpusType > | ParseCorpus (IRObject v) const |
virtual IRObject | SerializeCorpus (const std::vector< InnerDomain::CorpusType > &v) const |
virtual void | Mutate (Rng &rng, std::vector< InnerDomain::CorpusType > &v, bool only_shrink=false) const=0 |
Public Member Functions inherited from zeroerr::ContainerOfBase | |
void | WithMaxSize (unsigned _max_size) |
void | WithMinSize (unsigned _min_size) |
void | WithSize (unsigned _size) |
Additional Inherited Members | |
Public Attributes inherited from zeroerr::ContainerOfBase | |
int | min_size = 0 |
int | max_size = 100 |
int | size = -1 |
using zeroerr::SequenceContainerOf< T, InnerDomain >::CorpusType = std::vector<typename InnerDomain::CorpusType> |
using zeroerr::SequenceContainerOf< T, InnerDomain >::ValueType = T |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverride |