ZeroErr
载入中...
搜索中...
未找到
zeroerr::Arbitrary< bool >类 参考

#include <arbitrary.h>

类 zeroerr::Arbitrary< bool > 继承关系图:
zeroerr::Arbitrary< bool > 的协作图:

Public 类型

using ValueType = bool
 
using CorpusType = bool
 

Public 成员函数

CorpusType GetRandomCorpus (Rng &rng) const override
 
void Mutate (Rng &, CorpusType &v, bool) const override
 
- Public 成员函数 继承自 zeroerr::DomainConvertable< bool >
virtual bool GetValue (const bool &v) const
 
virtual bool FromValue (const bool &v) const
 
- Public 成员函数 继承自 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
 

成员类型定义说明

◆ CorpusType

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

◆ ValueType

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

成员函数说明

◆ GetRandomCorpus()

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

◆ Mutate()

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

该类的文档由以下文件生成: