cauldron  0.0.0
 All Classes Namespaces Files Functions Variables Typedefs
booleans.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "bases.h"
4 
5 
6 namespace cauldron {
11 class Booleans : public CloneHelper<bool, Booleans> {
12  public:
17  explicit Booleans(double probability = 0.5);
18 
22  bool operator()() const override;
23 
24  private:
25  double probability_;
26 };
27 }
Definition: bases.h:97
Booleans(double probability=0.5)
Definition: booleans.cpp:5
Definition: booleans.h:11
bool operator()() const override
Definition: booleans.cpp:9