ZeroErr
zeroerr::Arbitrary< bool > Class Reference

#include <arbitrary.h>

Inheritance diagram for zeroerr::Arbitrary< bool >:
Collaboration diagram for zeroerr::Arbitrary< bool >:

Public Types

using ValueType = bool
 
using CorpusType = bool
 

Public Member Functions

CorpusType GetRandomCorpus (Rng &rng) const override
 
void Mutate (Rng &, CorpusType &v, bool) const override
 
- Public Member Functions inherited from zeroerr::DomainConvertable< bool >
virtual bool GetValue (const bool &v) const
 
virtual bool FromValue (const bool &v) const
 
- Public Member Functions inherited from zeroerr::Domain< ValueType, CorpusType >
virtual ~Domain ()=default
 
virtual ValueType GetRandomValue (Rng &rng) const
 
virtual CorpusType FromValue (const ValueType &v) const =0
 
virtual ValueType GetValue (const CorpusType &v) const =0
 
virtual CorpusType ParseCorpus (IRObject v) const
 
virtual IRObject SerializeCorpus (const CorpusType &v) const
 
virtual void Mutate (Rng &rng, CorpusType &v, bool only_shrink=false) const =0
 

Member Typedef Documentation

◆ CorpusType

using zeroerr::Arbitrary< bool >::CorpusType = bool

◆ ValueType

using zeroerr::Arbitrary< bool >::ValueType = bool

Member Function Documentation

◆ GetRandomCorpus()

CorpusType zeroerr::Arbitrary< bool >::GetRandomCorpus ( Rng rng) const
inlineoverridevirtual

◆ Mutate()

void zeroerr::Arbitrary< bool >::Mutate ( Rng ,
CorpusType v,
bool   
) const
inlineoverride

The documentation for this class was generated from the following file: