@@ -34,6 +34,62 @@ namespace geode
3434 .def ( pybind11::init< std::string >() )
3535 .def ( " get" , &DistributionType::get )
3636 .def ( " matches" , &DistributionType::operator == );
37+
38+ // UniformClosed<double>
39+ pybind11::class_< geode::UniformClosed< double > >( m, " UniformClosed" )
40+ .def ( pybind11::init<>() )
41+ .def_readwrite (
42+ " min_value" , &geode::UniformClosed< double >::min_value )
43+ .def_readwrite (
44+ " max_value" , &geode::UniformClosed< double >::max_value )
45+ .def ( " is_valid" , &geode::UniformClosed< double >::is_valid )
46+ .def ( " distribution_type_static" ,
47+ &geode::UniformClosed< double >::distribution_type_static )
48+ .def ( " distribution_type" ,
49+ &geode::UniformClosed< double >::distribution_type )
50+ .def ( " string" , &geode::UniformClosed< double >::string );
51+
52+ // UniformClosedOpen<double>
53+ pybind11::class_< geode::UniformClosedOpen< double > >(
54+ m, " UniformClosedOpen" )
55+ .def ( pybind11::init<>() )
56+ .def_readwrite (
57+ " min_value" , &geode::UniformClosedOpen< double >::min_value )
58+ .def_readwrite (
59+ " max_value" , &geode::UniformClosedOpen< double >::max_value )
60+ .def ( " is_valid" , &geode::UniformClosedOpen< double >::is_valid )
61+ .def ( " distribution_type_static" ,
62+ &geode::UniformClosedOpen< double >::distribution_type_static )
63+ .def ( " distribution_type" ,
64+ &geode::UniformClosedOpen< double >::distribution_type )
65+ .def ( " string" , &geode::UniformClosedOpen< double >::string );
66+
67+ // Gaussian
68+ pybind11::class_< geode::Gaussian >( m, " Gaussian" )
69+ .def ( pybind11::init<>() )
70+ .def_readwrite ( " mean" , &geode::Gaussian::mean )
71+ .def_readwrite (
72+ " standard_deviation" , &geode::Gaussian::standard_deviation )
73+ .def ( " is_valid" , &geode::Gaussian::is_valid )
74+ .def ( " distribution_type_static" ,
75+ &geode::Gaussian::distribution_type_static )
76+ .def ( " distribution_type" , &geode::Gaussian::distribution_type )
77+ .def ( " string" , &geode::Gaussian::string );
78+
79+ // TruncatedGaussian
80+ pybind11::class_< geode::TruncatedGaussian >( m, " TruncatedGaussian" )
81+ .def ( pybind11::init<>() )
82+ .def_readwrite ( " mean" , &geode::TruncatedGaussian::mean )
83+ .def_readwrite ( " standard_deviation" ,
84+ &geode::TruncatedGaussian::standard_deviation )
85+ .def_readwrite ( " min_value" , &geode::TruncatedGaussian::min_value )
86+ .def_readwrite ( " max_value" , &geode::TruncatedGaussian::max_value )
87+ .def ( " is_valid" , &geode::TruncatedGaussian::is_valid )
88+ .def ( " distribution_type_static" ,
89+ &geode::TruncatedGaussian::distribution_type_static )
90+ .def ( " distribution_type" ,
91+ &geode::TruncatedGaussian::distribution_type )
92+ .def ( " string" , &geode::TruncatedGaussian::string );
3793 }
3894
3995} // namespace geode
0 commit comments