From 15d5c8ced9dfaf21595e2450a43ccf39e447cbc6 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Tue, 9 Apr 2019 16:48:36 +0200 Subject: [PATCH 01/16] Apply COW and CGS on CategoricalSample, NominalSampleSpace and OrdinalSampleSpace --- src/cpp/sample_space.cpp | 292 +++++++++++++++++++-------------------- src/cpp/sample_space.h | 11 +- 2 files changed, 150 insertions(+), 153 deletions(-) diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index 6ec62707..271ac0cd 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -7,25 +7,25 @@ namespace statiskit {} CategoricalSampleSpace::CategoricalSampleSpace(const std::set< std::string >& values) - { _values = values; } + { this->values = std::make_shared< std::set< std::string > >(values); } CategoricalSampleSpace::CategoricalSampleSpace(const CategoricalSampleSpace& sample_space) { - _values = sample_space._values; - _encoding = sample_space._encoding; + this->values = sample_space.values; + this->encoding = sample_space.encoding; } CategoricalSampleSpace::~CategoricalSampleSpace() {} const std::set< std::string >& CategoricalSampleSpace::get_values() const - { return _values; } + { return *(this->values.get()); } encoding_type CategoricalSampleSpace::get_encoding() const - { return _encoding; } + { return this->encoding; } Index CategoricalSampleSpace::get_cardinality() const - { return _values.size(); } + { return this->values->size(); } outcome_type CategoricalSampleSpace::get_outcome() const { return CATEGORICAL; } @@ -33,23 +33,19 @@ namespace statiskit bool CategoricalSampleSpace::is_compatible(const UnivariateEvent* event) const { bool compatible = !event; - if(!compatible) - { - if(event->get_outcome() == CATEGORICAL) - { - switch(event->get_event()) - { + if (!compatible) { + if (event->get_outcome() == CATEGORICAL) { + switch (event->get_event()) { case ELEMENTARY: - compatible = is_compatible_value(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); //_values.find(static_cast< const CategoricalElementaryEvent* >(event)->get_value()) != _values.cend(); + compatible = this->is_compatible_value(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; case CENSORED: { - const std::vector< std::string >& __values = static_cast< const CategoricalCensoredEvent* >(event)->get_values(); - std::vector< std::string >::const_iterator it = __values.cbegin(), ite = __values.cend(); + const std::vector< std::string >& values = static_cast< const CategoricalCensoredEvent* >(event)->get_values(); + std::vector< std::string >::const_iterator it = values.cbegin(), ite = values.cend(); compatible = true; - while(compatible && it != ite) - { - compatible = is_compatible_value(*it); + while (compatible && it != ite) { + compatible = this->is_compatible_value(*it); ++it; } } @@ -64,20 +60,20 @@ namespace statiskit } bool CategoricalSampleSpace::is_compatible_value(const std::string& value) const - { return _values.find(value) != _values.end(); } + { return this->values->find(value) != this->values->end(); } NominalSampleSpace::NominalSampleSpace(const std::set< std::string >& values) : CategoricalSampleSpace(values) { - _reference = _values.cend(); - --_reference; - _encoding = TREATMENT; + this->reference = this->values->cend(); + --(this->reference); + this->encoding = TREATMENT; } NominalSampleSpace::NominalSampleSpace(const NominalSampleSpace& sample_space) : CategoricalSampleSpace(sample_space) { - _reference = _values.cbegin(); - advance(_reference, distance(sample_space._values.cbegin(), sample_space._reference)); - _encoding = sample_space._encoding; + this->reference = this->values->cbegin(); + advance(this->reference, distance(sample_space.values->cbegin(), sample_space.reference)); + this->encoding = sample_space.encoding; } NominalSampleSpace::~NominalSampleSpace() @@ -87,67 +83,63 @@ namespace statiskit { return NONE; } const std::string& NominalSampleSpace::get_reference() const - { return *_reference; } + { return *(this->reference); } void NominalSampleSpace::set_reference(const std::string& reference) { - std::set< std::string >::const_iterator it = _values.find(reference); - if(it != _values.cend()) - { _reference = it; } - else - { throw std::runtime_error("invalid reference"); } + std::set< std::string >::const_iterator it = this->values->find(reference); + if (it != this->values->cend()) { + this->reference = it; + } else { + throw std::runtime_error("invalid reference"); + } } void NominalSampleSpace::randomize() { - _reference = _values.cbegin(); - boost::random::uniform_int_distribution<> dist(0, get_cardinality()-1); + this->reference = this->values->cbegin(); + boost::random::uniform_int_distribution<> dist(0, this->get_cardinality()-1); boost::variate_generator > simulator(__impl::get_random_generator(), dist); - advance(_reference, simulator()); + advance(this->reference, simulator()); } void NominalSampleSpace::set_encoding(const encoding_type& encoding) { - if(encoding > DEVIATION) - { throw std::runtime_error("invalid encoding"); } - _encoding = encoding; + if (encoding > DEVIATION) { + throw std::runtime_error("invalid encoding"); + } + this->encoding = encoding; } Eigen::RowVectorXd NominalSampleSpace::encode(const std::string& value) const { Eigen::RowVectorXd dummy; - Index cardinality = get_cardinality(); - if(cardinality > 1) - { + Index cardinality = this->get_cardinality(); + if (cardinality > 1) { --cardinality; - std::set< std::string >::const_iterator it = _values.find(value); - if(it == _values.cend()) - { dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); } - else - { - Index index = distance(_values.cbegin(), it), ref_index = distance(_values.cbegin(), _reference); - switch(_encoding) - { + std::set< std::string >::const_iterator it = this->values->find(value); + if (it == this->values->cend()) { + dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); + } else { + Index index = distance(this->values->cbegin(), it), ref_index = distance(this->values->cbegin(), this->reference); + switch (this->encoding) { case TREATMENT: dummy = Eigen::RowVectorXd::Zero(cardinality); - if(index < ref_index) - { dummy(index) = 1; } - else if(index > ref_index) - { + if (index < ref_index) { + dummy(index) = 1; + } else if(index > ref_index) { --index; dummy(index) = 1; } break; case DEVIATION: - if(index == ref_index) - { dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); } - else - { + if (index == ref_index) { + dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); + } else { dummy = Eigen::RowVectorXd::Zero(cardinality); - if(index < ref_index) - { dummy(index) = 1; } - else if(index > ref_index) - { + if (index < ref_index) { + dummy(index) = 1; + } else if(index > ref_index) { --index; dummy(index) = 1; } @@ -157,30 +149,31 @@ namespace statiskit break; } } + } else { + dummy = Eigen::RowVectorXd(); } - else - { dummy = Eigen::RowVectorXd(); } return dummy; } std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal() const - { return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(_values.cbegin(), _values.cend())); } + { return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(this->values->cbegin(), this->values->cend())); } std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy() const { return std::make_unique< NominalSampleSpace >(*this); } OrdinalSampleSpace::OrdinalSampleSpace(const std::vector< std::string >& values) : CategoricalSampleSpace(std::set< std::string >(values.cbegin(), values.cend())) { - _encoding = CUMULATIVE; - _rank = std::vector< Index >(_values.size()); - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) - { _rank[distance(_values.begin(), _values.find(values[size]))] = size; } + this->encoding = CUMULATIVE; + this->_rank = std::make_shared< std::vector< Index > >((this->values->size())); + for (Index size = 0, max_size = this->values->size(); size < max_size; ++size) { + (*this->_rank)[distance(this->values->begin(), this->values->find(values[size]))] = size; + } } OrdinalSampleSpace::OrdinalSampleSpace(const OrdinalSampleSpace& sample_space) : CategoricalSampleSpace(sample_space) { - _rank = sample_space._rank; - _encoding = sample_space._encoding; + this->_rank = sample_space._rank; + this->encoding = sample_space.encoding; } OrdinalSampleSpace::~OrdinalSampleSpace() @@ -190,91 +183,91 @@ namespace statiskit { return TOTAL; } void OrdinalSampleSpace::set_encoding(const encoding_type& encoding) - { _encoding = encoding; } + { this->encoding = encoding; } Eigen::RowVectorXd OrdinalSampleSpace::encode(const std::string& value) const { Eigen::RowVectorXd dummy; Index cardinality = get_cardinality(); - if(cardinality > 1) - { + if (cardinality > 1) { --cardinality; - std::set< std::string >::const_iterator it = _values.find(value); + std::set< std::string >::const_iterator it = this->values->find(value); Index index, max_index; - if(it == _values.cend()) - { dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); } - else - { - switch(_encoding) - { + if (it == this->values->cend()) { + dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); + } else { + switch (this->encoding) { case TREATMENT: - index = _rank[distance(_values.cbegin(), it)]; + index = (*this->_rank)[distance(this->values->cbegin(), it)]; dummy = Eigen::RowVectorXd::Zero(cardinality); - if(index < cardinality) - { dummy(index) = 1; } + if (index < cardinality) { + dummy(index) = 1; + } break; case DEVIATION: - if(index == cardinality) - { dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); } - else - { + if (index == cardinality) { + dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); + } else { dummy = Eigen::RowVectorXd::Zero(cardinality); - if(index < cardinality) - { dummy(index) = 1; } + if (index < cardinality) { + dummy(index) = 1; + } } break; case CUMULATIVE: dummy = Eigen::RowVectorXd::Zero(cardinality); - for(index = 0, max_index = std::min(cardinality, _rank[distance(_values.cbegin(), it)]); index < max_index; ++index) - { dummy(index) = 1; } + for (index = 0, max_index = std::min(cardinality, (*this->_rank)[distance(this->values->cbegin(), it)]); index < max_index; ++index) { + dummy(index) = 1; + } break; } } + } else { + dummy = Eigen::RowVectorXd(); } - else - { dummy = Eigen::RowVectorXd(); } return dummy; } std::vector< std::string > OrdinalSampleSpace::get_ordered() const { std::vector< std::string > values(get_cardinality()); - for(std::set< std::string >::const_iterator it = _values.cbegin(), ite = _values.cend(); it != ite; ++it) - { values[_rank[distance(_values.cbegin(), it)]] = *it; } + for (std::set< std::string >::const_iterator it = this->values->cbegin(), ite = this->values->cend(); it != ite; ++it) { + values[(*this->_rank)[distance(this->values->cbegin(), it)]] = *it; + } return values; } void OrdinalSampleSpace::set_ordered(const std::vector< std::string >& ordered) { - if(ordered.size() != _values.size()) - { throw std::runtime_error("rank"); } - std::vector< Index > rank(ordered.size(), ordered.size()); - for(Index size = 0, max_size = ordered.size(); size < max_size; ++size) - { - std::set< std::string >::iterator it = _values.find(ordered[size]); - if(it == _values.end()) + if (ordered.size() != this->values->size()) { + throw std::runtime_error("rank"); + } + std::shared_ptr< std::vector< Index > > rank = std::make_shared< std::vector< Index > >(ordered.size(), ordered.size()); + for (Index size = 0, max_size = ordered.size(); size < max_size; ++size) { + std::set< std::string >::iterator it = this->values->find(ordered[size]); + if(it == this->values->end()) { throw std::runtime_error("rank"); } - rank[distance(_values.begin(), it)] = size; + (*this->_rank)[distance(this->values->begin(), it)] = size; } for(Index size = 0, max_size = ordered.size(); size < max_size; ++size) { - if(rank[size] >= ordered.size()) + if((*this->_rank)[size] >= ordered.size()) { throw std::runtime_error("ordered"); } } - _rank = rank; + this->_rank = rank; } const std::vector< Index >& OrdinalSampleSpace::get_rank() const - { return _rank; } + { return *this->_rank; } void OrdinalSampleSpace::set_rank(const std::vector< Index >& rank) { - if(rank.size() != _values.size()) + if(rank.size() != this->values->size()) { throw std::runtime_error("rank"); } Indices order = Indices(); - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) + for(Index size = 0, max_size = this->values->size(); size < max_size; ++size) { order.insert(order.end(), size); } - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) + for(Index size = 0, max_size = this->values->size(); size < max_size; ++size) { Indices::iterator it = order.find(rank[size]); if(it == order.end()) @@ -283,33 +276,38 @@ namespace statiskit } if(order.size() != 0) { throw std::runtime_error("rank"); } - _rank = rank; + this->_rank = std::make_shared< std::vector< Index > >(rank); } void OrdinalSampleSpace::randomize() { - std::set< std::string >::iterator ita = _values.begin(), ite = _values.end(); - ++ita; - while(ita != ite) + detach(); + std::set< std::string >::iterator first_it = this->values->begin(), it_end = this->values->end(); + ++first_it; + while(first_it != it_end) { - std::set< std::string >::iterator itb = _values.begin(); - boost::random::uniform_int_distribution<> dist(0, distance(_values.begin(), ita)); + std::set< std::string >::iterator second_it = this->values->begin(); + boost::random::uniform_int_distribution<> dist(0, distance(this->values->begin(), first_it)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); - advance(itb, simulator()); - Index buffer = _rank[distance(_values.cbegin(), ita)]; - _rank[distance(_values.cbegin(), ita)] = _rank[distance(_values.cbegin(), itb)]; - _rank[distance(_values.cbegin(), itb)] = buffer; - ++ita; + advance(second_it, simulator()); + Index buffer = (*this->_rank)[distance(this->values->cbegin(), first_it)]; + (*this->_rank)[distance(this->values->cbegin(), first_it)] = (*this->_rank)[distance(this->values->cbegin(), second_it)]; + (*this->_rank)[distance(this->values->cbegin(), second_it)] = buffer; + ++first_it; } } - std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy() const - { return std::make_unique< OrdinalSampleSpace >(*this); } - std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal() const - { return std::make_unique< NominalSampleSpace >(_values); } + { return std::make_unique< NominalSampleSpace >(*(this->values.get())); } + std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy() const + { return std::make_unique< OrdinalSampleSpace >(*this); } + void OrdinalSampleSpace::detach() + { + if(this->_rank && !this->_rank.unique()) + { this->_rank = std::make_shared< std::vector< Index > >(*this->_rank);} + } HierarchicalSampleSpace::HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space) : CategoricalSampleSpace(root_sample_space.get_values()) { _tree_sample_space[""] = static_cast< CategoricalSampleSpace* >(root_sample_space.copy().release()); @@ -361,25 +359,25 @@ namespace statiskit void HierarchicalSampleSpace::partition(const std::string& leave, const CategoricalSampleSpace& sample_space) { - if(CategoricalSampleSpace::is_compatible_value(leave)) - { + if (CategoricalSampleSpace::is_compatible_value(leave)) { const std::set< std::string >& values = sample_space.get_values(); std::set< std::string >::const_iterator it = values.cbegin(), it_end = values.cend(); - while(it != it_end && !is_compatible_value(*it)) - { ++it; } - if(it == it_end) - { - _values.erase(leave); - _values.insert(values.cbegin(), values.cend()); - _tree_sample_space[leave] = static_cast< CategoricalSampleSpace* >(sample_space.copy().release()); - for(std::set< std::string >::const_iterator it = sample_space.get_values().cbegin(), it_end = sample_space.get_values().cend(); it != it_end; ++it) - { _parents[*it] = leave; } - } - else - { throw in_set_error("leave", *it, __impl::keys(_tree_sample_space)); } - } - else - { throw in_set_error("leave", leave, _values, false); } + while (it != it_end && !this->is_compatible_value(*it)) { + ++it; + } + if (it == it_end) { + this->values->erase(leave); + this->values->insert(values.cbegin(), values.cend()); + this->_tree_sample_space[leave] = static_cast< CategoricalSampleSpace* >(sample_space.copy().release()); + for (std::set< std::string >::const_iterator it = sample_space.get_values().cbegin(), it_end = sample_space.get_values().cend(); it != it_end; ++it) { + this->_parents[*it] = leave; + } + } else { + throw in_set_error("leave", *it, __impl::keys(this->_tree_sample_space)); + } + } else { + throw in_set_error("leave", leave, *this->values, false); + } } UnivariateConditionalData HierarchicalSampleSpace::split(const std::string& non_leave, const UnivariateConditionalData& data) const @@ -388,19 +386,17 @@ namespace statiskit UnivariateDataFrame response_data(*((_tree_sample_space.find(non_leave))->second)); std::map< std::string, std::string > new_leaves; - for(std::set< std::string >::const_iterator it = _values.begin(), it_end = _values.cend(); it != it_end; ++it) - { new_leaves[*it] = children(non_leave, *it); } + for (std::set< std::string >::const_iterator it = this->values->begin(), it_end = this->values->cend(); it != it_end; ++it) { + new_leaves[*it] = this->children(non_leave, *it); + } std::unique_ptr< UnivariateConditionalData::Generator > generator = data.generator(); std::vector< double > weights; - while(generator->is_valid()) - { + while (generator->is_valid()) { const CategoricalElementaryEvent* response_event = static_cast< const CategoricalElementaryEvent* >(generator->response()->copy().release()); - if(response_event) - { + if (response_event) { std::string new_response = new_leaves.find(response_event->get_value())->second; - if(new_response != "") - { + if (new_response != "") { CategoricalElementaryEvent* new_response_event = new CategoricalElementaryEvent(new_response); response_data.add_event(new_response_event); delete new_response_event; diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index f30fda2c..18c23993 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -61,11 +61,10 @@ namespace statiskit virtual Eigen::RowVectorXd encode(const std::string& outcome) const = 0; protected: - std::set< std::string > _values; - encoding_type _encoding; + std::shared_ptr< std::set< std::string > > values; + encoding_type encoding; virtual bool is_compatible_value(const std::string& value) const; - }; class OrdinalSampleSpace; @@ -93,7 +92,7 @@ namespace statiskit std::unique_ptr< UnivariateSampleSpace > copy() const; protected: - std::set< std::string >::const_iterator _reference; + std::set< std::string >::const_iterator reference; }; class STATISKIT_CORE_API OrdinalSampleSpace : public CategoricalSampleSpace @@ -122,7 +121,9 @@ namespace statiskit virtual std::unique_ptr< UnivariateSampleSpace > copy() const; protected: - std::vector< Index > _rank; + std::shared_ptr< std::vector< Index > > _rank; + + virtual void detach(); }; class UnivariateConditionalData; From 123bb37f723362a848ad2ca96dd2d32e0c369009 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Thu, 11 Apr 2019 12:43:22 +0200 Subject: [PATCH 02/16] Test sublime text build system --- src/cpp/base.cpp | 2 +- src/cpp/base.h | 39 ++- src/cpp/distribution.cpp | 2 +- src/cpp/sample_space.cpp | 9 +- src/cpp/sample_space.h | 2 + src/py/statiskit/core/_core.py | 330 +++++++++--------- ...apper_0281a28ebbe655cabfc3d1baabb16b6c.cpp | 10 +- ...apper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp | 22 +- ...apper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp | 26 +- ...apper_06b2640afe975f8dbf856bb3a88451cf.cpp | 14 +- ...apper_075f4a1dea37583ebdb7b34686ef683f.cpp | 22 +- ...apper_0950e6469e715d39b9590b5a0c7f484e.cpp | 10 +- ...apper_098b1688f9d6517bac4fe76bfdbe24bd.cpp | 10 + ...apper_09fa62065c8f5098af0f7db57ad3e6a9.cpp | 14 +- ...apper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp | 24 +- ...apper_0ec3624c447f5547b35390faafaf867f.cpp | 22 +- ...apper_0f631b8bbb065d39a1378915b306a904.cpp | 8 + ...apper_10d55631c3925ada88a549c3ce423021.cpp | 14 +- ...apper_10d5b7d349c75b6b89998f9a341fb629.cpp | 4 + ...apper_1151599a3fae506b8f5a5bddf7efd129.cpp | 12 +- ...apper_13232a7341945cd08787bdf29befb389.cpp | 12 +- ...apper_13ec603d05f1534bbe1491c0634dca90.cpp | 2 + ...apper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp | 15 +- ...apper_167b2440c33657b2abc8311b6621a7bb.cpp | 22 +- ...apper_16a072b3aa3255f989f89ed810798d2e.cpp | 22 +- ...apper_176ad7b821255b478820451a70624393.cpp | 4 + ...apper_1790dd7d2111554099562871bb0f85af.cpp | 8 +- ...apper_17c6ed20c6a8518c806e33b3fcfab409.cpp | 10 +- ...apper_1935a142d4425b8e9212ebbb3d98b996.cpp | 10 +- ...apper_1bbe231bce835ebeb36da82ccdeb5997.cpp | 14 +- ...apper_206185953d7651e78a6714d1fe602758.cpp | 8 + ...apper_214e9eab615f5960b6c5415c0c55fa0c.cpp | 22 +- ...apper_223fb8b8797b558497d5dea978484cfc.cpp | 10 +- ...apper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp | 14 +- ...apper_2513f8d88792503e97d2b3f6b8c31e6f.cpp | 8 + ...apper_2613fe07dc7251cea4181b6d9d00aad1.cpp | 10 +- ...apper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp | 10 +- ...apper_295ece6953a856c8b865758b0a34795c.cpp | 8 + ...apper_2bc4b4cf9a315380aa25500e269996ba.cpp | 10 +- ...apper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp | 10 +- ...apper_2ff2806eb8795c00b3220e66ed037bae.cpp | 22 +- ...apper_30b90e733d3b5718b760496782efec78.cpp | 14 +- ...apper_3185f3f8abfe5447acd1b43172130b8e.cpp | 14 +- ...apper_31aa0a631312549a9cf4cb8740b55a7f.cpp | 10 + ...apper_32c776be879e5a4f8e5388d5cb33ecc4.cpp | 10 + ...apper_3389d2f38d825c49975e5cfc9a0517d5.cpp | 22 +- ...apper_340c5465095052af9d63bdb8d9799d79.cpp | 2 + ...apper_346ee3489d025beead99ffc0c8770939.cpp | 14 +- ...apper_354f862e227e590491c20a9acad58d0b.cpp | 8 + ...apper_39737fb8eb785c29bb3a9eca8ab9e325.cpp | 8 + ...apper_3ae69567ec205969a9f2da364450fd2e.cpp | 6 +- ...apper_3b85938d896e56519b8342119ca08869.cpp | 14 +- ...apper_3c4215c1e4465be3a5f234b657381458.cpp | 2 + ...apper_3ca8ff4e14d1580fa17364607bc956c4.cpp | 4 + ...apper_3d6a15edb2225daba874c2b80defe6b4.cpp | 10 +- ...apper_3e3d38965c5e5a02ae621877dba470cf.cpp | 4 + ...apper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp | 24 +- ...apper_413148ff15d05180b4dbaaac395b3625.cpp | 10 +- ...apper_41e812da3d3654cd9fb33041c3acf25f.cpp | 10 +- ...apper_432843a5646c5268bb35f7309d2d4b33.cpp | 14 +- ...apper_43d603893a165ed2bf34ad286a50f22e.cpp | 10 +- ...apper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp | 4 + ...apper_4540538b16205d90be33cf08feed0673.cpp | 12 +- ...apper_473e4f9a05ed5118bd06e179489a35f4.cpp | 22 +- ...apper_484cc9c9d3f856c7aa18f642966f14a9.cpp | 4 + ...apper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp | 14 +- ...apper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp | 10 +- ...apper_5186497276525dcc88f6e6e8b313d2af.cpp | 4 + ...apper_528d7cd3a92d569d897fdc1e61483003.cpp | 14 +- ...apper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp | 22 +- ...apper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp | 10 +- ...apper_5517439c40d6505682aa2e58ed6cea33.cpp | 2 + ...apper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp | 22 +- ...apper_57247d6d8d8354eda6e19f19da8dc732.cpp | 10 +- ...apper_5856b02a98b7543baa5144338b21e69d.cpp | 10 +- ...apper_5877793da2745ffb9f47b225e5ec26b6.cpp | 14 +- ...apper_58960b7597495bb78bb15e0b1e8c9de8.cpp | 14 +- ...apper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp | 14 +- ...apper_5b5f1c1f4aa852eab398cea6df20fee2.cpp | 14 +- ...apper_5bbb1918edfa5fb49894cb0a6bf46044.cpp | 10 +- ...apper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp | 10 +- ...apper_5e9c2eecb34851cd99100ce520f53c6e.cpp | 10 +- ...apper_603c48a232f0549ab95e7c0325f6f159.cpp | 14 +- ...apper_61234f1033f25f108ec6c1bb0d3ddf38.cpp | 26 +- ...apper_61733bdc2db95f128686b3292ae9259a.cpp | 27 +- ...apper_622b4b6c4fef5b119cba23181cff6cf6.cpp | 10 + ...apper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp | 10 +- ...apper_643847dccc2b560082343f2bbda15cba.cpp | 8 +- ...apper_64ae6eddce405116ba534ed722881799.cpp | 10 +- ...apper_65233ae509075a4885c6c150d99046ae.cpp | 14 +- ...apper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp | 8 +- ...apper_66595150e9b05d2aaf4d9f52269aca0d.cpp | 10 +- ...apper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp | 18 +- ...apper_67cb5425a85056b38615b0d4e5c587b3.cpp | 10 +- ...apper_681ebebfc39f52e7b797a69c6f165cc7.cpp | 14 +- ...apper_6923aecde43059bd8a00d1bd199ffa8d.cpp | 24 +- ...apper_69ca358c24cd5cabb1a6b9e1358519e4.cpp | 6 +- ...apper_6c36c615980657b7b51c6c44de94c819.cpp | 12 +- ...apper_6d1d52249a4c562691e57f68df4bcc06.cpp | 10 + ...apper_6eb1ba92b1d158b09999c16267a2ec28.cpp | 10 +- ...apper_7164ab149b5259c39291b9f2886585fb.cpp | 14 +- ...apper_73f4a03ba6125d598bb6a6a8f7de7664.cpp | 14 +- ...apper_74f6b70412845069a8b8594df02c99e5.cpp | 22 +- ...apper_7504e6a86bdf57c0a7e644a6615fcd51.cpp | 22 +- ...apper_7510c84a2e4c5022ac15bd97a576d4b0.cpp | 10 +- ...apper_76d258d0b30f5e3a94d02ba97954104b.cpp | 10 + ...apper_7963cd416f6c50c09445d3b27e4f9428.cpp | 22 +- ...apper_79be5108bb8c56d9825ee10945271a59.cpp | 22 +- ...apper_7b337e963b005631b0b064a739f3b591.cpp | 10 +- ...apper_7d0c9ca0e35156dda4481073c8664c19.cpp | 24 +- ...apper_7ed55bcdec33582fb2767f7d96937c85.cpp | 8 + ...apper_7ee099e22285561eb2a1e4dac64d4ff9.cpp | 14 +- ...apper_8486f4aa8ce25724972cec18f80c00cc.cpp | 22 +- ...apper_84c9be0b16d95273a960328d06f07469.cpp | 10 +- ...apper_861c54941e635197a1fd90e0eb95cd28.cpp | 22 +- ...apper_86541250592e58489f051f41f0896e22.cpp | 14 +- ...apper_87b566a692cb54b18914b54eb295ef9a.cpp | 2 + ...apper_881a8218d7d65c82b32d722273692e73.cpp | 10 +- ...apper_88cb53c05b215504b1f0ee0564765af0.cpp | 12 + ...apper_8a467c708d9c5620937b1f63cde332b1.cpp | 14 +- ...apper_8d6042c687a1543d97b4931d7ca1fca8.cpp | 12 +- ...apper_90681e203d925f7c8b9ca14a02786804.cpp | 10 +- ...apper_9519b407cd30535e9a46079d8d8e90b2.cpp | 10 +- ...apper_9547a153430f5693a08b4dbbf3204f78.cpp | 10 +- ...apper_964cf359ff005773acf9fc2bf7c5743b.cpp | 14 +- ...apper_9805623587005093969beb2ea47b0499.cpp | 10 +- ...apper_988ed407a0da542eb838d5681ba5ffd1.cpp | 22 +- ...apper_98e77d2afcc252cba528077bc2cc3103.cpp | 8 + ...apper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp | 27 +- ...apper_9af672b8799e52dda111d00a974022cd.cpp | 4 + ...apper_9b1c85d3df8e5cba922fb88752a0d746.cpp | 4 + ...apper_9b457c1fefee52aeba68eb2ee374d6c8.cpp | 10 +- ...apper_9b52bf3c9c595cdb890173a39b0d02c4.cpp | 4 + ...apper_9f71ff88156f5fd0a459f920329e5dc8.cpp | 4 + ...apper_a004a7cf0d095bdeadf276d9713e024f.cpp | 4 + ...apper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp | 12 +- ...apper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp | 6 + ...apper_a4463e49d7865a6497ec20612e342cbe.cpp | 20 +- ...apper_a4d6cfc5f43a5e10a524a2cea681460d.cpp | 10 + ...apper_a744c0e699b3529e8ea41b36264771ec.cpp | 10 +- ...apper_aa6b2bab0be654649ef497aa71dff2e3.cpp | 8 +- ...apper_abb8de3fed35566b9c88aebdaec5f1a0.cpp | 12 +- ...apper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp | 2 + ...apper_b014379d48a45dac9f7ee65cf09afac7.cpp | 20 +- ...apper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp | 10 +- ...apper_b101d02bb3d95e95ac86387f50f9bccd.cpp | 22 +- ...apper_b129309aaed65ac0b06bd5889ca44405.cpp | 10 +- ...apper_b14b3594a74c5ccc968141047b5145f4.cpp | 4 + ...apper_b191a9bdcde4562cb6bfc0666feb816d.cpp | 14 +- ...apper_b24ad967ae66587ba612c3f37635bddb.cpp | 12 +- ...apper_b588087797ae51f7bce93503c0c1a013.cpp | 10 +- ...apper_b65e2bfb02355375b92295f460fb1b15.cpp | 10 +- ...apper_b745bd62c1315087a0aa661317232745.cpp | 20 +- ...apper_b9daedbb8a1d5864bc019efa0a0d17df.cpp | 4 + ...apper_bb48025bb0a15b5c907ff0400bf2207a.cpp | 22 +- ...apper_bc77a106572e58ba96fe5742a38e574c.cpp | 22 +- ...apper_be720dbf462e5dce8b7d4a0b04921c48.cpp | 10 +- ...apper_bf2c6deebd8e55f3824ecd5cf9312434.cpp | 4 + ...apper_bf5b68f25d1f5ab9ad2c936351edf740.cpp | 24 +- ...apper_c0bee75b3bf95732b384679bc9ef8f9f.cpp | 10 +- ...apper_c1af1f263c37571f8e1257a72f39fd05.cpp | 10 + ...apper_c285de96478650da951aca759bc2616e.cpp | 27 +- ...apper_c4726473069d576fbb9e53aacbf298ea.cpp | 2 + ...apper_c50f0d84f3a05771b904e670721690e3.cpp | 20 +- ...apper_c64f8514180b56eabe5b4d197177f547.cpp | 14 +- ...apper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp | 2 + ...apper_c92b9bfaab03555f87343457a8d1a2b0.cpp | 10 +- ...apper_ca5d28928ff15dbc886e10017edb407d.cpp | 14 +- ...apper_caa62ffec61a5e0a99ca640a1ed36905.cpp | 14 +- ...apper_cac66b5845885b48b2bb02c9d01b81db.cpp | 10 +- ...apper_cc3bc950f48855398043fabd1fa92b62.cpp | 22 +- ...apper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp | 10 +- ...apper_cf0179fb6c94524589e450e5bcacc532.cpp | 6 +- ...apper_cf0415be3d965595a8486e9a8659c1a9.cpp | 18 +- ...apper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp | 10 +- ...apper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp | 12 +- ...apper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp | 24 +- ...apper_d33d975672ef54f0b9b5e01d57fdf32b.cpp | 4 + ...apper_d4b7bfff2e0551769c3e6767fe7dca05.cpp | 12 +- ...apper_d63319879d9750a497ce0eb3e49e5d7a.cpp | 10 +- ...apper_d6970cd0a37451cfbcd48d316b17aaa0.cpp | 10 +- ...apper_d84d3426cce55670b51d351b388a8ae8.cpp | 12 +- ...apper_da164767fc675bd29ae86f87eff482aa.cpp | 4 + ...apper_daf74149f27453a7a5360a8ea7e9d69c.cpp | 8 + ...apper_dcb42c58c45353839bf4d081d804b14c.cpp | 12 +- ...apper_dd64d489201652bd9b30c6b9ce866197.cpp | 18 +- ...apper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp | 14 +- ...apper_e04333cf88f85b74a12abe551bc271c3.cpp | 14 +- ...apper_e04b2c4523535837960c26d5b28953fc.cpp | 10 +- ...apper_e19df620173959fc805b30a13ab6379a.cpp | 10 +- ...apper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp | 10 +- ...apper_e2aa406ade4850eda910a734d419832b.cpp | 10 +- ...apper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp | 10 +- ...apper_e695b5b519815f1f96debe2f459d2f2b.cpp | 6 + ...apper_eae24fefebd9570687e8a345f6e50c1b.cpp | 22 +- ...apper_eb4ed1ac11775528a15a11246865cec3.cpp | 4 +- ...apper_ef06cd7866a05e8a9b9f746a2f9da324.cpp | 22 +- ...apper_f09c97b097575bf2b4af254e6faa082c.cpp | 4 + ...apper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp | 2 + ...apper_f1f8a991c324584993f9a58dcb9c014e.cpp | 4 + ...apper_f550a61e11625416b81603dbfad86987.cpp | 10 +- ...apper_f76f62b9f79a5f43900330c071ce00fb.cpp | 14 +- ...apper_f81a8ee127995b0890ddd9786aab755d.cpp | 10 +- ...apper_f93af042f688513484b1158c96b9eaef.cpp | 22 +- ...apper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp | 10 +- ...apper_faed70c01c41556a87ba6c938ce7c777.cpp | 12 + ...apper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp | 10 +- ...apper_fcc6162c378c5756b392afed99931125.cpp | 10 +- ...apper_fd63b9f470165717923109c2f3c8739d.cpp | 10 +- ...apper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp | 22 +- 210 files changed, 1528 insertions(+), 1362 deletions(-) diff --git a/src/cpp/base.cpp b/src/cpp/base.cpp index b5882cc0..2e6f2267 100644 --- a/src/cpp/base.cpp +++ b/src/cpp/base.cpp @@ -82,7 +82,7 @@ namespace statiskit void set_seed(const Index& seed) { __impl::_random_generator.seed(seed); } - not_implemented_error::not_implemented_error(const std::string& function) : std::runtime_error("'" + function + "' is not yet implemented") + not_implemented_error::not_implemented_error(const std::string& function, const std::string& file, const unsigned int& line) : std::runtime_error("'" + function + "' in file '" + file + "' at line " + __impl::to_string(line) + " is not implemented") {} proxy_connection_error::proxy_connection_error() : std::exception() diff --git a/src/cpp/base.h b/src/cpp/base.h index 950f16c4..e67ef5ee 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -16,32 +16,35 @@ #include #if defined WIN32 || defined _WIN32 || defined __CYGWIN__ - #ifdef LIBSTATISKIT_CORE - #ifdef __GNUC__ - #define STATISKIT_CORE_API __attribute__ ((dllexport)) + #define __PRETTY_FUNCTION__ __FUNCSIG__ + #ifdef LIBSTATISKIT_CORE + #ifdef __GNUC__ + #define STATISKIT_CORE_API __attribute__ ((dllexport)) + #else + #define STATISKIT_CORE_API __declspec(dllexport) + #endif #else - #define STATISKIT_CORE_API __declspec(dllexport) + #ifdef __GNUC__ + #define STATISKIT_CORE_API __attribute__ ((dllimport)) + #else + #define STATISKIT_CORE_API __declspec(dllimport) + #endif #endif - #else - #ifdef __GNUC__ - #define STATISKIT_CORE_API __attribute__ ((dllimport)) +#else + #if __GNUC__ >= 4 + #define STATISKIT_CORE_API __attribute__ ((visibility ("default"))) #else - #define STATISKIT_CORE_API __declspec(dllimport) + #define STATISKIT_CORE_API #endif - #endif -#else - #if __GNUC__ >= 4 - #define STATISKIT_CORE_API __attribute__ ((visibility ("default"))) - #else - #define STATISKIT_CORE_API - #endif #endif +#define NOT_IMPLEMENTED() _Pragma("message \"not implemented function\""); throw not_implemented_error(__PRETTY_FUNCTION__, __FILE__, __LINE__) + #ifdef NDEBUG -#define BREAKPOINT __pragma(message("BREAKPOINT found in file '" __FILE__ "' at line " STR(__LINE__)) " but not used"); +#define BREAKPOINT() _Pragma("message \"breakpoint ignored\"") #else #include -#define BREAKPOINT std::raise(SIGINT); +#define BREAKPOINT() std::raise(SIGINT) #endif namespace statiskit @@ -88,7 +91,7 @@ namespace statiskit STATISKIT_CORE_API void set_seed(const Index& seed); struct STATISKIT_CORE_API not_implemented_error : std::runtime_error - { not_implemented_error(const std::string& function); }; + { not_implemented_error(const std::string& function, const std::string& file, const unsigned int& line); }; struct STATISKIT_CORE_API proxy_connection_error : std::exception { proxy_connection_error(); }; diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index cb5c6121..bef8ac43 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -2723,7 +2723,7 @@ namespace statiskit double MultinormalDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { - throw not_implemented_error("probability"); + NOT_IMPLEMENTED(); return 0.; } diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index 271ac0cd..76bbce15 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -348,13 +348,14 @@ namespace statiskit } void HierarchicalSampleSpace::set_encoding(const encoding_type& encoding) - {} + { + NOT_IMPLEMENTED(); + } Eigen::RowVectorXd HierarchicalSampleSpace::encode(const std::string& value) const { - Eigen::RowVectorXd dummy; // TODO - throw not_implemented_error("encode"); - return dummy; + NOT_IMPLEMENTED(); + return Eigen::RowVectorXd(); } void HierarchicalSampleSpace::partition(const std::string& leave, const CategoricalSampleSpace& sample_space) diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 18c23993..0a8d971e 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -161,6 +161,8 @@ namespace statiskit std::map< std::string, std::string > _parents; virtual bool is_compatible_value(const std::string& value) const; + + virtual void detach(); }; struct STATISKIT_CORE_API DiscreteSampleSpace : public UnivariateSampleSpace diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index a5ad995f..44678e62 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -1,8 +1,8 @@ __all__ = [] # Import dependency decorator modules -import statiskit.stl._stl import statiskit.linalg._linalg +import statiskit.stl._stl # Import Boost.Python module from . import __core @@ -167,188 +167,188 @@ __core.statiskit._MixtureDistributionEMEstimation = (__core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87, __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b, __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436, __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00, __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57, __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774, __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c, __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b) # Define aliases -__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 -__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 -__core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator -__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution -__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData -__core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 -__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator -__core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b -__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution -__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c __core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData -__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator -__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution -__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator -__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution -__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData -__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution -__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 -__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator -__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation +__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation +__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution __core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 -__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 -__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator -__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 +__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent +__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator +__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac +__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator +__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution +__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator +__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 +__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 +__core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation +__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b +__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 __core.statiskit.UnivariateConditionalDistributionEstimation.CopyType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 +__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace +__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 __core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation __core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator -__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution -__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation -__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator -__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 -__core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution -__core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 -__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator -__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 __core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution -__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 -__core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 +__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData +__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution +__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution +__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator +__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution __core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator +__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution +__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator +__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator +__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 +__core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda +__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator +__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution +__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator +__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 +__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 +__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 +__core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData +__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 +__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation +__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution +__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator __core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f -__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData __core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b +__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a.EstimatedType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 __core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e.EstimatedType = __core.statiskit.GeometricDistribution -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator -__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution +__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation +__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution __core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution -__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b +__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution +__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution __core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator -__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator -__core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution -__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution -__core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a.EstimatedType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator -__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde -__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 -__core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator -__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 __core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution -__core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 -__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 -__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution __core.statiskit.UnivariateDistributionEstimation.EstimatedType = __core.statiskit.UnivariateDistribution -__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution -__core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator -__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 -__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution +__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator +__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution +__core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator +__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 +__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator +__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator __core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution __core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4.EstimatedType = __core.statiskit.PoissonDistribution -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution +__core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437.EstimatedType = __core.statiskit.MultinomialSingularDistribution +__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b +__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace +__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator +__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d +__core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator +__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution +__core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator +__core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c.EstimatedType = __core.statiskit.NormalDistribution +__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 +__core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation +__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde +__core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 +__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a +__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator +__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 __core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator +__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 +__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation +__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 +__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator +__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData +__core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 +__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f +__core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution +__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution __core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution -__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData -__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution -__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b -__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator +__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 +__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator __core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 -__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution -__core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437.EstimatedType = __core.statiskit.MultinomialSingularDistribution -__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 -__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace -__core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution -__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator -__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f +__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData +__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution +__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution +__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 +__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 +__core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation +__core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution +__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator +__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb __core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution -__core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation -__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator -__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution +__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution +__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 +__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b +__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData +__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d +__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c __core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData -__core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation -__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a -__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d -__core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 -__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c.EstimatedType = __core.statiskit.NormalDistribution -__core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator -__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator -__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 -__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 -__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator -__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 +__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData +__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData +__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb +__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator diff --git a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp b/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp index e2842d1a..99bc89e7 100644 --- a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp +++ b/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_d1b9702be8e75e50b289d463019d92e6; - virtual return_type_d1b9702be8e75e50b289d463019d92e6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d1b9702be8e75e50b289d463019d92e6, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp index 129fe3e2..13265d17 100644 --- a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp +++ b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistribution::DiscreteUnivariateDistribution; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp b/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp index 1e11cbb1..59f1f81b 100644 --- a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp +++ b/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::UnivariateMixtureDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; - virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; - typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; - typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; - virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; - typedef double return_type_b288349953745909be3b581da8f23621; - typedef int const & param_b288349953745909be3b581da8f23621_0_type; - virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; + + public: typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp b/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp index dd53f541..4a7736d0 100644 --- a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp +++ b/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_ca4ace19940e584a9d9874ea517d3698; - virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; + + protected: typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; - typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; - typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; - virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp b/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp index adda8ee5..63543756 100644 --- a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp +++ b/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_990d49f9e519539f96548744996a00d6; - virtual return_type_990d49f9e519539f96548744996a00d6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_990d49f9e519539f96548744996a00d6, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp b/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp index 89d3fa7c..a0e3e3ae 100644 --- a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp +++ b/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp index e55d8698..f9ea51bb 100644 --- a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp +++ b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistribution::ContinuousMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp b/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp index 01007a92..fe5cfc22 100644 --- a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp +++ b/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_9bf4a42ed922526b8a2d3061d558d03c; - virtual return_type_9bf4a42ed922526b8a2d3061d558d03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9bf4a42ed922526b8a2d3061d558d03c, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_d4181de1506551d9b4cabd76eecd0c24; - virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; + + protected: typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; - typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; - typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; - virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp index a3f72c25..4ee9c005 100644 --- a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp +++ b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp b/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp index b633ccb7..be10ee0d 100644 --- a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp +++ b/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f402cac9059e5e20b69fc300fa5650c4; - virtual return_type_f402cac9059e5e20b69fc300fa5650c4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f402cac9059e5e20b69fc300fa5650c4, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp index 1dbbf73a..79ced433 100644 --- a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp +++ b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp @@ -9,13 +9,21 @@ namespace autowig public: using ::statiskit::UnivariateSampleSpace::UnivariateSampleSpace; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_2875d281654d56729645a2393c5d7ae3; virtual return_type_2875d281654d56729645a2393c5d7ae3 get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_2875d281654d56729645a2393c5d7ae3, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp b/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp index 6625d328..5fcc92a9 100644 --- a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp +++ b/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_1b474f5a5e7a5dc3894e485ae0076666; - virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; + + protected: typedef double return_type_75c720739866535bb74aece0734d68b3; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; - typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; - typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; - virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp index ad9e5d64..30ebcc74 100644 --- a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp +++ b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::ContinuousUnivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; + + public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp b/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp index d76a593c..061472f4 100644 --- a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp +++ b/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp @@ -9,20 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_8f9a0a3b8c0951f2806ca5d130c33585; - virtual return_type_8f9a0a3b8c0951f2806ca5d130c33585 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f9a0a3b8c0951f2806ca5d130c33585, class_type, copy, ); }; + + public: typedef void return_type_d15c4654ed8057b88112aca660e855c0; typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; - virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp b/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp index 59beeefc..b5460fb4 100644 --- a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp +++ b/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp @@ -9,21 +9,29 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::MixtureDistribution; + + public: typedef void return_type_68960ed00cc65811a690382a0d67ba31; typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; - virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp index b00e3027..da938b01 100644 --- a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp +++ b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::MultivariateDispersionEstimation; + + public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp index dcb5881d..bc23677d 100644 --- a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp +++ b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp @@ -9,22 +9,27 @@ namespace autowig public: using ::statiskit::CategoricalSampleSpace::CategoricalSampleSpace; + + protected: typedef bool return_type_e2b5e198a60f55b48e6693e16f1ecddb; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_e2b5e198a60f55b48e6693e16f1ecddb_0_type; virtual return_type_e2b5e198a60f55b48e6693e16f1ecddb is_compatible_value(param_e2b5e198a60f55b48e6693e16f1ecddb_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e2b5e198a60f55b48e6693e16f1ecddb, class_type, is_compatible_value, param_0); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_8066b9427c14500d8e4b87e8f42da7e4; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8066b9427c14500d8e4b87e8f42da7e4_0_type; virtual return_type_8066b9427c14500d8e4b87e8f42da7e4 encode(param_8066b9427c14500d8e4b87e8f42da7e4_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8066b9427c14500d8e4b87e8f42da7e4, class_type, encode, param_0); }; + + public: typedef void return_type_5ccffeb21f59579f833d8cfccb48fce9; typedef enum ::statiskit::encoding_type const & param_5ccffeb21f59579f833d8cfccb48fce9_0_type; virtual return_type_5ccffeb21f59579f833d8cfccb48fce9 set_encoding(param_5ccffeb21f59579f833d8cfccb48fce9_0_type param_0) override { PYBIND11_OVERLOAD_PURE(return_type_5ccffeb21f59579f833d8cfccb48fce9, class_type, set_encoding, param_0); }; - typedef enum ::statiskit::outcome_type return_type_8d0ebb7ac2a9544280755c9cf75dbb4e; - virtual return_type_8d0ebb7ac2a9544280755c9cf75dbb4e get_outcome() const override { PYBIND11_OVERLOAD(return_type_8d0ebb7ac2a9544280755c9cf75dbb4e, class_type, get_outcome, ); }; - typedef bool return_type_bc7a777830665a5e86e410c50a9fd373; - typedef struct ::statiskit::UnivariateEvent const * param_bc7a777830665a5e86e410c50a9fd373_0_type; - virtual return_type_bc7a777830665a5e86e410c50a9fd373 is_compatible(param_bc7a777830665a5e86e410c50a9fd373_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_bc7a777830665a5e86e410c50a9fd373, class_type, is_compatible, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; }; diff --git a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp b/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp index 5dd540bb..dcb4723f 100644 --- a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp +++ b/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_9557888cca23511a9622d71b4381fa7f; - virtual return_type_9557888cca23511a9622d71b4381fa7f copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9557888cca23511a9622d71b4381fa7f, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp b/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp index 5955b092..f0ed73ce 100644 --- a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp +++ b/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_6d7c86f859f35a218843b3acfcd8082b; - virtual return_type_6d7c86f859f35a218843b3acfcd8082b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6d7c86f859f35a218843b3acfcd8082b, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp index 31011647..126493cb 100644 --- a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp +++ b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_8c923ab987815d75950c21bd5ebe0e9a; virtual return_type_8c923ab987815d75950c21bd5ebe0e9a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8c923ab987815d75950c21bd5ebe0e9a, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp b/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp index 474392ad..e6aaa21e 100644 --- a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp +++ b/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp @@ -9,12 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_8c86d1b0ff0a5245afa03a841d54847a; - virtual return_type_8c86d1b0ff0a5245afa03a841d54847a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8c86d1b0ff0a5245afa03a841d54847a, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; + + public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp b/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp index 34062cf3..90530932 100644 --- a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp +++ b/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp b/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp index e16faa9a..8ca44a0a 100644 --- a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp +++ b/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp b/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp index 96d0e137..5f61fa55 100644 --- a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp +++ b/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; - virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; + + protected: typedef double return_type_a8793d7694b85cea8bead585bebfa116; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; - typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; - typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; - virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp index 2bd59c79..7c13959c 100644 --- a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp +++ b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp b/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp index 9533b351..530da666 100644 --- a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp +++ b/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_2369dcf3b82d5305ab0576938e592359; - virtual return_type_2369dcf3b82d5305ab0576938e592359 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2369dcf3b82d5305ab0576938e592359, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp b/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp index 33b69b1e..6b4f499e 100644 --- a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp +++ b/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp b/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp index 83ec69eb..864540b6 100644 --- a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp +++ b/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_46f16d5140fa5510a7b1b2288f37a965; - virtual return_type_46f16d5140fa5510a7b1b2288f37a965 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_46f16d5140fa5510a7b1b2288f37a965, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_381c73e64ead5c259f146f94a515f23e; - virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; + + protected: typedef double return_type_3f32a8595a7457cdb1730a938df93a52; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; - typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; - typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; - virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp index 35581c31..2b06e1c0 100644 --- a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp +++ b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp @@ -8,12 +8,20 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; + + public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp b/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp index bc40284a..35d4bb2a 100644 --- a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp +++ b/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_3cb42436d25c59818a9ec433b9e6d07c; - virtual return_type_3cb42436d25c59818a9ec433b9e6d07c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3cb42436d25c59818a9ec433b9e6d07c, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp b/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp index 6ccf8f90..f44c3887 100644 --- a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp +++ b/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp index 75339314..b1f3050d 100644 --- a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp +++ b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistribution::CategoricalUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp b/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp index 9cad6d6b..16da7b31 100644 --- a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp +++ b/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp b/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp index 7e77fd4d..0ab1c93e 100644 --- a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp +++ b/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp b/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp index ef9fc2bc..248b0b3c 100644 --- a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp +++ b/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_3b15dd13d58f5621aef0faf3baab830e; - virtual return_type_3b15dd13d58f5621aef0faf3baab830e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3b15dd13d58f5621aef0faf3baab830e, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp b/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp index 046ca2d9..e4479b8f 100644 --- a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp +++ b/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f8b834cb036053208f0363c03de22f19; - virtual return_type_f8b834cb036053208f0363c03de22f19 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f8b834cb036053208f0363c03de22f19, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_ca4ace19940e584a9d9874ea517d3698; - virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; + + protected: typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; - typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; - typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; - virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp b/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp index 653fb6ed..194561b7 100644 --- a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp +++ b/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_0def23e37b8e561c9b9ff59c00924f09; - virtual return_type_0def23e37b8e561c9b9ff59c00924f09 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0def23e37b8e561c9b9ff59c00924f09, class_type, copy, ); }; + + public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; - virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; - virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; + + public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp index c0d25237..29ad33ce 100644 --- a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp +++ b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistribution::DiscreteMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp index 01029e71..9d02ee8f 100644 --- a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp +++ b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistribution::DiscreteMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp b/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp index 3386e87a..8027e592 100644 --- a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp +++ b/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0388db40fe585921af9148fd9208197d; - virtual return_type_0388db40fe585921af9148fd9208197d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0388db40fe585921af9148fd9208197d, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp index fa9d1506..5b4c3920 100644 --- a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp +++ b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::UnivariateDistributionEstimation; + + public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp b/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp index 8dcce0d7..a59f1051 100644 --- a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp +++ b/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_55e0ad648dde5414b320fb3f17e3b500; - virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; + + protected: typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; - typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; - typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; - virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp index 09685440..0ad85879 100644 --- a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp +++ b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistribution::DiscreteUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp index 3391b4ac..fc355d3d 100644 --- a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp +++ b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp @@ -8,12 +8,20 @@ namespace autowig { public: + + public: typedef double return_type_1aba7220d8185b52a1202c2468b95edb; virtual return_type_1aba7220d8185b52a1202c2468b95edb weight() const override { PYBIND11_OVERLOAD_PURE(return_type_1aba7220d8185b52a1202c2468b95edb, class_type, weight, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_06724bc676b252b98a07b30de6e65bee; virtual return_type_06724bc676b252b98a07b30de6e65bee event() const override { PYBIND11_OVERLOAD_PURE(return_type_06724bc676b252b98a07b30de6e65bee, class_type, event, ); }; + + public: typedef struct ::statiskit::UnivariateData::Generator & return_type_de48c02aa8db50929f6a3f8784c2ec4d; virtual return_type_de48c02aa8db50929f6a3f8784c2ec4d operator++() override { PYBIND11_OVERLOAD_PURE(return_type_de48c02aa8db50929f6a3f8784c2ec4d, class_type, operator++, ); }; + + public: typedef bool return_type_ef9b151802e1543cb7c98d1c40761fbe; virtual return_type_ef9b151802e1543cb7c98d1c40761fbe is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_ef9b151802e1543cb7c98d1c40761fbe, class_type, is_valid, ); }; }; diff --git a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp index e666b523..5f0c0753 100644 --- a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp +++ b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteEvent::DiscreteEvent; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp b/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp index cbede903..b5d0f1d2 100644 --- a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp +++ b/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_211930b4467c5394b7933fdf64c94e73; - virtual return_type_211930b4467c5394b7933fdf64c94e73 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_211930b4467c5394b7933fdf64c94e73, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_1b474f5a5e7a5dc3894e485ae0076666; - virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; + + protected: typedef double return_type_75c720739866535bb74aece0734d68b3; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; - typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; - typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; - virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp b/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp index 9605392a..f195a235 100644 --- a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp +++ b/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp @@ -8,6 +8,8 @@ namespace autowig { public: + + public: typedef ::statiskit::SingularDistributionEstimation::estimated_type const * return_type_5a217a5a2172529fb9cae0338394139f; virtual return_type_5a217a5a2172529fb9cae0338394139f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_5a217a5a2172529fb9cae0338394139f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp index fc8de258..c316bf7d 100644 --- a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp +++ b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_7b1ce88d04fc5ffb8e9402122cfa4883; virtual return_type_7b1ce88d04fc5ffb8e9402122cfa4883 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7b1ce88d04fc5ffb8e9402122cfa4883, class_type, copy, ); }; + + public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp b/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp index e0c012f7..3469efee 100644 --- a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp +++ b/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp index 527e90c0..ef0edf2f 100644 --- a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp +++ b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_b99a360f77cf53eb8f24401404499387; virtual return_type_b99a360f77cf53eb8f24401404499387 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_b99a360f77cf53eb8f24401404499387, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp b/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp index 862c9bf7..0620a87f 100644 --- a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp +++ b/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp @@ -9,32 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_28dc383dfbf7582aa9f956fa8a4a6234; - virtual return_type_28dc383dfbf7582aa9f956fa8a4a6234 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_28dc383dfbf7582aa9f956fa8a4a6234, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp b/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp index 372bb044..801494f5 100644 --- a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp +++ b/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp index 418f4fc6..00631905 100644 --- a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp +++ b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp b/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp index d05a8d4f..fc6776e8 100644 --- a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp +++ b/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_c82d383b9d4b56a280155ae882087ecb; - virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; + + protected: typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; - typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; - typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; - virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp b/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp index 40258824..61ddf05a 100644 --- a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp +++ b/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_f7ce59e3c2a75d608a6dbf9d4d96253d; - virtual return_type_f7ce59e3c2a75d608a6dbf9d4d96253d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f7ce59e3c2a75d608a6dbf9d4d96253d, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp index 3c3e3eb6..1601f785 100644 --- a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp +++ b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::MultivariateDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp index d06180ba..228ca613 100644 --- a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp +++ b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::MultivariateDistribution::MultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -38,7 +48,7 @@ void wrapper_4540538b16205d90be33cf08feed0673(pybind11::module& module) { pybind11::class_::Type > class_4540538b16205d90be33cf08feed0673(module, "MultivariateDistribution", ""); - class_4540538b16205d90be33cf08feed0673.def("get_nb_components", method_pointer_6bbdbd5137365f409e51be059aaa5dec, "Get the number of components of the distribution.\n\n:Return Type:\n :cpp:any:`unsigned` long int\n\n"); + class_4540538b16205d90be33cf08feed0673.def("get_nb_components", method_pointer_6bbdbd5137365f409e51be059aaa5dec, "Get the number of components of the distribution.\n\n:Return Type:\n [STRIKEOUT::cpp:any:statiskit::Index]\n\n"); class_4540538b16205d90be33cf08feed0673.def("get_nb_parameters", method_pointer_d6b37eb7a2815c508032d7111fe27b25, "Get the number of parameters of the distribution.\n\n:Return Type:\n :cpp:any:`unsigned` int\n\n"); class_4540538b16205d90be33cf08feed0673.def("probability", method_pointer_1b1aa04affe25769a45aa61f808a0a19, ""); class_4540538b16205d90be33cf08feed0673.def("loglikelihood", method_pointer_6285df200fdc5073aaa5aab9a61032f1, "Compute the log-likelihood of an univariate dataset according to the\nconsidered multiivariate distribution.\n\n:Parameter:\n `data` (:cpp:class:`::statiskit::MultivariateData`) - The considered multivariate dataset.\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp b/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp index fe767894..c5498999 100644 --- a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp +++ b/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_156b4d4dac65559aa215ae8033a77464; - virtual return_type_156b4d4dac65559aa215ae8033a77464 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_156b4d4dac65559aa215ae8033a77464, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp index da9e2a9c..7ae1a296 100644 --- a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp +++ b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_8f20422aab135f9fb601488df3d82cfa; virtual return_type_8f20422aab135f9fb601488df3d82cfa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8f20422aab135f9fb601488df3d82cfa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp b/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp index 55a6cf32..a6e307fb 100644 --- a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp +++ b/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_c2857e0629345afa858086d561ab4c94; - virtual return_type_c2857e0629345afa858086d561ab4c94 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c2857e0629345afa858086d561ab4c94, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_1863dd311c78529ba677c48bf437e4ae; - virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; + + protected: typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; - typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; - typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; - virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp b/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp index 053945cc..09e20171 100644 --- a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp +++ b/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp index 4143eef2..3cf3f392 100644 --- a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp +++ b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSolver::SlopeHeuristicSolver; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp b/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp index 36b9d588..51bb0647 100644 --- a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp +++ b/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_ac1d2084aec051319f07ccbf56f83bc3; - virtual return_type_ac1d2084aec051319f07ccbf56f83bc3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ac1d2084aec051319f07ccbf56f83bc3, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; - virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; + + protected: typedef double return_type_a8793d7694b85cea8bead585bebfa116; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; - typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; - typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; - virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp index 9981d777..cd16bfff 100644 --- a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp +++ b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp @@ -9,30 +9,44 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistribution::ContinuousUnivariateDistribution; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp b/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp index bce915a1..137c5aa5 100644 --- a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp +++ b/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp index b88c0b69..e4c121bd 100644 --- a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp +++ b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp @@ -8,6 +8,8 @@ namespace autowig { public: + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp b/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp index 50223172..714a4576 100644 --- a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp +++ b/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp @@ -9,29 +9,23 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::UnivariateMixtureDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; - virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; - typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; - virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; - typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; - virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; + + public: typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp b/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp index f232d8be..8be564ec 100644 --- a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp +++ b/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp b/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp index 090e113d..374d6afb 100644 --- a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp +++ b/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp b/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp index 7b3cbeaf..5a266ee1 100644 --- a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp +++ b/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_053e767a390652988ee6da6fefa3ee5e; - virtual return_type_053e767a390652988ee6da6fefa3ee5e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_053e767a390652988ee6da6fefa3ee5e, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_def090d4b953521f8c2bc7b02153b148; - virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; + + protected: typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; - typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; - typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; - virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp b/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp index 6be9daf1..da857627 100644 --- a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp +++ b/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_78031971f0705ffc86e8634f03598d07; - virtual return_type_78031971f0705ffc86e8634f03598d07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_78031971f0705ffc86e8634f03598d07, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_cc937d079d9f5df3a0af0c0ca425c038; - virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; + + protected: typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; - typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; - typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; - virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp b/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp index 00e3f2cd..f8871b32 100644 --- a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp +++ b/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_def090d4b953521f8c2bc7b02153b148; - virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; + + protected: typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; - typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; - typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; - virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp index 69b02c89..a37f0dcc 100644 --- a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp +++ b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp @@ -9,21 +9,27 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::MultivariateData >::WeightedData; + + public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; - virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; - virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; + + public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp b/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp index 382812d5..1d6b7daa 100644 --- a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp +++ b/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp b/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp index 865c323f..20554b31 100644 --- a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp +++ b/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp b/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp index 5bf8ba4e..a7682bfc 100644 --- a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp +++ b/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_54ccfbb2a06051f0a2246692c1943769; - virtual return_type_54ccfbb2a06051f0a2246692c1943769 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_54ccfbb2a06051f0a2246692c1943769, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp b/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp index e421a886..345f82fc 100644 --- a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp +++ b/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_431ab0a81913563e8a2199e34aeb94d0; - virtual return_type_431ab0a81913563e8a2199e34aeb94d0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_431ab0a81913563e8a2199e34aeb94d0, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_64dbb43dd673576da853b5fa47a4cd5e; - virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; + + protected: typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; - typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; - typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; - virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp b/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp index f03beeb3..c3cb9eda 100644 --- a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp +++ b/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::UnivariateMixtureDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; + + public: typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp b/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp index 52535be2..5a30b86c 100644 --- a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp +++ b/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp @@ -9,34 +9,19 @@ namespace autowig public: using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; - virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; - typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; - virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; - typedef double return_type_13b291014f9656599dba7f710c381612; - typedef double const & param_13b291014f9656599dba7f710c381612_0_type; - virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; + + public: typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp index d01c3a4c..e8ad9e70 100644 --- a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp +++ b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistribution::ContinuousMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp b/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp index 50804084..53c553bb 100644 --- a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp +++ b/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< unsigned int, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp index 3eda216a..8a18de39 100644 --- a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp +++ b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp @@ -9,16 +9,16 @@ namespace autowig public: using ::statiskit::SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver; + + protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; - typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; - virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp index 57a39d98..ded5acf6 100644 --- a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp +++ b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp @@ -9,15 +9,17 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::UnivariateData >::WeightedData; + + public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_57b9553abf9954478e69ba31cf3316cb; - virtual return_type_57b9553abf9954478e69ba31cf3316cb generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_57b9553abf9954478e69ba31cf3316cb, class_type, generator, ); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; - virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp b/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp index eb3a4c9e..9583a4da 100644 --- a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp +++ b/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_d4181de1506551d9b4cabd76eecd0c24; - virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; + + protected: typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; - typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; - typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; - virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp index c7a76a05..15d0e32a 100644 --- a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp +++ b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteSampleSpace::DiscreteSampleSpace; - typedef enum ::statiskit::ordering_type return_type_1c79f8878a485dcf8ba547f4277ceac9; - virtual return_type_1c79f8878a485dcf8ba547f4277ceac9 get_ordering() const override { PYBIND11_OVERLOAD(return_type_1c79f8878a485dcf8ba547f4277ceac9, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ef088c60e12c52ca84b4af897e2a354b; - virtual return_type_ef088c60e12c52ca84b4af897e2a354b get_outcome() const override { PYBIND11_OVERLOAD(return_type_ef088c60e12c52ca84b4af897e2a354b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp b/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp index 37bbe1db..642e51fd 100644 --- a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp +++ b/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp b/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp index c3c79a50..b1aab039 100644 --- a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp +++ b/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp @@ -9,25 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7dbece17872e5cce898e9d7b8293d883; - virtual return_type_7dbece17872e5cce898e9d7b8293d883 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7dbece17872e5cce898e9d7b8293d883, class_type, copy, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp b/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp index d9f1cfda..d4770f60 100644 --- a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp +++ b/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp b/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp index 35ec8bee..6cc35e23 100644 --- a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp +++ b/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_c68c83f5773a5706b0b93719a1508225; - virtual return_type_c68c83f5773a5706b0b93719a1508225 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c68c83f5773a5706b0b93719a1508225, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_4c55f907bce55349844e6cc78c19f098; - virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; + + protected: typedef double return_type_327da71272ea5094808d7deb45c022e6; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; - typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; - typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; - virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp b/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp index a103a126..c1baa3d1 100644 --- a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp +++ b/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp @@ -9,34 +9,46 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; }; diff --git a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp index 253a610f..82785d3d 100644 --- a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp +++ b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousEvent::ContinuousEvent; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp b/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp index 90d4664a..e82fd620 100644 --- a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp +++ b/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp @@ -9,20 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_61603fcc9028554ca7ca4d0e23c17a66; - virtual return_type_61603fcc9028554ca7ca4d0e23c17a66 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_61603fcc9028554ca7ca4d0e23c17a66, class_type, copy, ); }; + + public: typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; - virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp index 32158093..9a071940 100644 --- a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp +++ b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistribution::MultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp index 2311c458..b33a61aa 100644 --- a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp +++ b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp b/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp index bcf8a6da..c7b802ee 100644 --- a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp +++ b/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; - virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; + + protected: typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; - typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; - typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; - virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp b/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp index 11455ae5..bcfb729a 100644 --- a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp +++ b/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_381c73e64ead5c259f146f94a515f23e; - virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; + + protected: typedef double return_type_3f32a8595a7457cdb1730a938df93a52; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; - typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; - typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; - virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp b/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp index d4da9781..a3d65bcd 100644 --- a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp +++ b/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp @@ -9,31 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0927c177d8f25e769df847098dc0fbdf; - virtual return_type_0927c177d8f25e769df847098dc0fbdf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0927c177d8f25e769df847098dc0fbdf, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; - virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; - typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; - virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; - typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; - virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; + + public: typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp b/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp index b630347d..f896a2a6 100644 --- a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp +++ b/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e731d0981dfa5ad7932de7d2d4730d2d; - virtual return_type_e731d0981dfa5ad7932de7d2d4730d2d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e731d0981dfa5ad7932de7d2d4730d2d, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp b/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp index 24556231..70b2b93b 100644 --- a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp +++ b/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_9cfff9401f1a5379b50bfde6487367bd; - virtual return_type_9cfff9401f1a5379b50bfde6487367bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9cfff9401f1a5379b50bfde6487367bd, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp index 02d29efb..1ff20b49 100644 --- a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp +++ b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp @@ -8,17 +8,27 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp b/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp index f056071d..a2f68aad 100644 --- a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp +++ b/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8900ad62e63950c5a85971d4d5a063e4; - virtual return_type_8900ad62e63950c5a85971d4d5a063e4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8900ad62e63950c5a85971d4d5a063e4, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp b/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp index 4bd6dc59..1ef43fcd 100644 --- a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp +++ b/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7c517b8061e85c15a1150cdc0c876aad; - virtual return_type_7c517b8061e85c15a1150cdc0c876aad copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7c517b8061e85c15a1150cdc0c876aad, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp b/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp index 3967e74d..5c0c9415 100644 --- a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp +++ b/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp b/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp index 78848bd8..04b9f829 100644 --- a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp +++ b/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp @@ -9,34 +9,42 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp index f6846501..31456a40 100644 --- a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp +++ b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistribution::UnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp b/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp index 496daa68..4f5a486d 100644 --- a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp +++ b/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_4c55f907bce55349844e6cc78c19f098; - virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; + + protected: typedef double return_type_327da71272ea5094808d7deb45c022e6; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; - typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; - typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; - virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp b/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp index 115e7e89..abe16910 100644 --- a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp +++ b/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_c1b9b85064ea5c2083c7e6ac77d19f03; - virtual return_type_c1b9b85064ea5c2083c7e6ac77d19f03 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1b9b85064ea5c2083c7e6ac77d19f03, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp b/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp index 593e6077..94583914 100644 --- a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp +++ b/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp b/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp index 1db5b289..8122b934 100644 --- a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp +++ b/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a58dd202321053739da0da35b6fe998a; - virtual return_type_a58dd202321053739da0da35b6fe998a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a58dd202321053739da0da35b6fe998a, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp b/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp index 9faa40c9..feea6a0f 100644 --- a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp +++ b/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_5ff7db9761e15a5f9e6244d676d443a8; - virtual return_type_5ff7db9761e15a5f9e6244d676d443a8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ff7db9761e15a5f9e6244d676d443a8, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_55e0ad648dde5414b320fb3f17e3b500; - virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; + + protected: typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; - typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; - typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; - virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp index 1be6917f..8fa9046a 100644 --- a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp +++ b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::UnivariateDispersionEstimation; + + public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp b/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp index 31dce04f..bf4d5c6c 100644 --- a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp +++ b/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp index 1ed0bb8c..ffd3346d 100644 --- a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp +++ b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp @@ -8,18 +8,30 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; + + public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp b/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp index fe5d6f87..7ea14ebe 100644 --- a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp +++ b/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_3e4097cae0375266a0709347ead82e61; - virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; + + protected: typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; - typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; - typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; - virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp b/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp index 5fcd916b..0a181a9e 100644 --- a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp +++ b/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp @@ -9,20 +9,28 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_d15c4654ed8057b88112aca660e855c0; typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; - virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp b/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp index a378039e..03c495f0 100644 --- a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp +++ b/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f19d92ac6e4f5f648d37804c69a385bd; - virtual return_type_f19d92ac6e4f5f648d37804c69a385bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f19d92ac6e4f5f648d37804c69a385bd, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp b/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp index eef45e85..288ea946 100644 --- a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp +++ b/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp b/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp index 323d848d..1ee1df10 100644 --- a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp +++ b/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp b/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp index 527b4285..5bc39cac 100644 --- a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp +++ b/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_cc937d079d9f5df3a0af0c0ca425c038; - virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; + + protected: typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; - typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; - typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; - virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp b/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp index 5aa71679..ef55e3c0 100644 --- a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp +++ b/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp b/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp index 285f83d8..b93872f1 100644 --- a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp +++ b/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4845db8dd90f581fa8c1e9b58aa36976; - virtual return_type_4845db8dd90f581fa8c1e9b58aa36976 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4845db8dd90f581fa8c1e9b58aa36976, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp index 9d8fe1b3..38d8ba87 100644 --- a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp +++ b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp @@ -8,12 +8,20 @@ namespace autowig { public: + + public: typedef double return_type_97dd3ac3ad43541faf4f468d1c840930; virtual return_type_97dd3ac3ad43541faf4f468d1c840930 weight() const override { PYBIND11_OVERLOAD_PURE(return_type_97dd3ac3ad43541faf4f468d1c840930, class_type, weight, ); }; + + public: typedef struct ::statiskit::MultivariateEvent const * return_type_8c2339dd565653b4a935b28162423031; virtual return_type_8c2339dd565653b4a935b28162423031 event() const override { PYBIND11_OVERLOAD_PURE(return_type_8c2339dd565653b4a935b28162423031, class_type, event, ); }; + + public: typedef struct ::statiskit::MultivariateData::Generator & return_type_63b969fdfda0571a865b8fd09d42ff6f; virtual return_type_63b969fdfda0571a865b8fd09d42ff6f operator++() override { PYBIND11_OVERLOAD_PURE(return_type_63b969fdfda0571a865b8fd09d42ff6f, class_type, operator++, ); }; + + public: typedef bool return_type_d3e757b7d5b05c689e6686d4856df74c; virtual return_type_d3e757b7d5b05c689e6686d4856df74c is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_d3e757b7d5b05c689e6686d4856df74c, class_type, is_valid, ); }; }; diff --git a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp b/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp index 76df888c..5d2df754 100644 --- a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp +++ b/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp @@ -9,34 +9,19 @@ namespace autowig public: using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - typedef double return_type_c4dc031fcd6b5b508c63fc475642c309; - virtual return_type_c4dc031fcd6b5b508c63fc475642c309 get_variance() const override { PYBIND11_OVERLOAD(return_type_c4dc031fcd6b5b508c63fc475642c309, class_type, get_variance, ); }; - typedef double return_type_b7de9903a18f5021ac4a5f63c60a0db4; - virtual return_type_b7de9903a18f5021ac4a5f63c60a0db4 get_mean() const override { PYBIND11_OVERLOAD(return_type_b7de9903a18f5021ac4a5f63c60a0db4, class_type, get_mean, ); }; - typedef double return_type_e3a3227c8b17560ea250e74ba2447dfc; - typedef int const & param_e3a3227c8b17560ea250e74ba2447dfc_0_type; - virtual return_type_e3a3227c8b17560ea250e74ba2447dfc cdf(param_e3a3227c8b17560ea250e74ba2447dfc_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e3a3227c8b17560ea250e74ba2447dfc, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; - virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; - typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; - typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; - virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; - typedef double return_type_b288349953745909be3b581da8f23621; - typedef int const & param_b288349953745909be3b581da8f23621_0_type; - virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; + + public: typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp index 3e06ca8f..e23b940c 100644 --- a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp +++ b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::DiscreteMultivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp index 89922a10..39acb870 100644 --- a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp +++ b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_fd8c28a661ec58aba7edb069108b96b4; virtual return_type_fd8c28a661ec58aba7edb069108b96b4 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_fd8c28a661ec58aba7edb069108b96b4, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp b/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp index 5c5be751..0baa076a 100644 --- a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp +++ b/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp index f12bccdb..cd959f36 100644 --- a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp +++ b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::CategoricalUnivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; + + public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp index 0ce5f8b7..6f6ff764 100644 --- a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp +++ b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::ContinuousMultivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp index 4ec71b5c..c5d55c5f 100644 --- a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp +++ b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::CategoricalMultivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp b/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp index 37016bbb..08f52ca9 100644 --- a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp +++ b/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp @@ -9,20 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_6dffe773391b54129ba5e7a4d7a1ce93; - virtual return_type_6dffe773391b54129ba5e7a4d7a1ce93 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6dffe773391b54129ba5e7a4d7a1ce93, class_type, copy, ); }; + + public: typedef void return_type_b53a6340c14552d5865d67a55ffa953b; typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; - virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp index 1202e930..5b8bcbff 100644 --- a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp +++ b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp @@ -8,11 +8,17 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_10a704d5992d559888ef502fa18a5a47; typedef ::statiskit::Index const & param_10a704d5992d559888ef502fa18a5a47_0_type; virtual return_type_10a704d5992d559888ef502fa18a5a47 get(param_10a704d5992d559888ef502fa18a5a47_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_10a704d5992d559888ef502fa18a5a47, class_type, get, param_0); }; + + public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp index fe88fae1..7195dcde 100644 --- a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp +++ b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp @@ -9,25 +9,13 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::CategoricalUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp index 9138dfeb..25071bdd 100644 --- a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp +++ b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistribution::CategoricalMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp b/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp index a1d2727f..1b9d2020 100644 --- a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp +++ b/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp index caa9087e..052d01ec 100644 --- a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp +++ b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousSampleSpace::ContinuousSampleSpace; - typedef enum ::statiskit::ordering_type return_type_dd35b002873d50f698c1c0f5e685daf1; - virtual return_type_dd35b002873d50f698c1c0f5e685daf1 get_ordering() const override { PYBIND11_OVERLOAD(return_type_dd35b002873d50f698c1c0f5e685daf1, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ce443c4aefe55cf5b2debe02d45c58ed; - virtual return_type_ce443c4aefe55cf5b2debe02d45c58ed get_outcome() const override { PYBIND11_OVERLOAD(return_type_ce443c4aefe55cf5b2debe02d45c58ed, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp b/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp index 198aba6a..966a70eb 100644 --- a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp +++ b/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp @@ -9,21 +9,25 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_5ffb2d1e87a256369b8d70fb5cea4fb5; - virtual return_type_5ffb2d1e87a256369b8d70fb5cea4fb5 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ffb2d1e87a256369b8d70fb5cea4fb5, class_type, copy, ); }; + + public: typedef void return_type_68960ed00cc65811a690382a0d67ba31; typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; - virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp index f54ededf..79bf817c 100644 --- a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp +++ b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; + + public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp b/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp index 08713644..72858c63 100644 --- a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp +++ b/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp @@ -9,27 +9,11 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0e4345f3571359f58c41cadd98747428; - virtual return_type_0e4345f3571359f58c41cadd98747428 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0e4345f3571359f58c41cadd98747428, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp b/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp index ca08a4c7..5517b4f1 100644 --- a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp +++ b/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp b/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp index bbe41648..aa7585ef 100644 --- a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp +++ b/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_05579a3737225709b6044b99e252ec00; - virtual return_type_05579a3737225709b6044b99e252ec00 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_05579a3737225709b6044b99e252ec00, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp b/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp index aa0b7e43..5679797c 100644 --- a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp +++ b/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp index e3c5ade4..ba353f9c 100644 --- a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp +++ b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::DiscreteMultivariateDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp b/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp index e5fb3e36..c6647bc2 100644 --- a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp +++ b/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; - virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; + + protected: typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; - typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; - typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; - virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp b/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp index 68e4df17..f601be6c 100644 --- a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp +++ b/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp @@ -9,20 +9,28 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; - virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp b/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp index 5086f1a0..78b2bf48 100644 --- a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp +++ b/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp b/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp index d6355ef6..7d965def 100644 --- a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp +++ b/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp b/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp index b83d5f38..30289b88 100644 --- a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp +++ b/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp @@ -9,27 +9,11 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_14ec867b8d5d5bccb7161a3ea83a61a4; - virtual return_type_14ec867b8d5d5bccb7161a3ea83a61a4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_14ec867b8d5d5bccb7161a3ea83a61a4, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp index 6bbcc77e..044360d8 100644 --- a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp +++ b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp b/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp index f6e97214..9383645f 100644 --- a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp +++ b/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3; - virtual return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp b/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp index d38ee9f3..1b4b1497 100644 --- a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp +++ b/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_95733c9061a45d4b93bf81942cfb0f70; - virtual return_type_95733c9061a45d4b93bf81942cfb0f70 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_95733c9061a45d4b93bf81942cfb0f70, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp b/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp index b992a41d..903f6c79 100644 --- a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp +++ b/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp index 379f2879..a5ede255 100644 --- a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp +++ b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; + + public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp index f17e150e..fc2b8657 100644 --- a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp +++ b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp b/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp index d393dbd8..5213e6b4 100644 --- a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp +++ b/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp index 39c3003a..c4ec39fe 100644 --- a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp +++ b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistribution::CategoricalMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp b/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp index 4b071346..871e3d55 100644 --- a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp +++ b/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp @@ -9,36 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a4b7a69c09035fa9b547fc42980b79e0; - virtual return_type_a4b7a69c09035fa9b547fc42980b79e0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a4b7a69c09035fa9b547fc42980b79e0, class_type, copy, ); }; - typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; - virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; - typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; - virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; - typedef double return_type_13b291014f9656599dba7f710c381612; - typedef double const & param_13b291014f9656599dba7f710c381612_0_type; - virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; + + public: typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp index dd611759..26d31ead 100644 --- a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp +++ b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistributionEstimation::CategoricalUnivariateDistributionEstimation; + + public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp b/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp index 1b0fd2e2..d4eee673 100644 --- a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp +++ b/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp @@ -9,29 +9,37 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; }; diff --git a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp b/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp index 16ea30a4..825e3d12 100644 --- a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp +++ b/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_32372a30c33c5afe84773c34bf9d184a; - virtual return_type_32372a30c33c5afe84773c34bf9d184a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_32372a30c33c5afe84773c34bf9d184a, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_3e4097cae0375266a0709347ead82e61; - virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; + + protected: typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; - typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; - typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; - virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp index d4ded7c0..1119d69a 100644 --- a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp +++ b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp @@ -8,6 +8,8 @@ namespace autowig { public: + + public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp b/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp index a3a39150..88df6935 100644 --- a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp +++ b/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp b/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp index 75284c82..7e01ab67 100644 --- a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp +++ b/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_83006002ee8051fbae55f45fd302b03c; - virtual return_type_83006002ee8051fbae55f45fd302b03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83006002ee8051fbae55f45fd302b03c, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_c82d383b9d4b56a280155ae882087ecb; - virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; + + protected: typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; - typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; - typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; - virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp b/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp index 665baa24..1af1efc7 100644 --- a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp +++ b/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp @@ -8,28 +8,18 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_64dbb43dd673576da853b5fa47a4cd5e; - virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; + + protected: typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; - typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; - typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; - virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_217dfb0ca4fa5215b0825f96ef9498a2; - virtual return_type_217dfb0ca4fa5215b0825f96ef9498a2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_217dfb0ca4fa5215b0825f96ef9498a2, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp b/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp index 33561974..b0d9611c 100644 --- a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp +++ b/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp b/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp index bfa8ac21..87c417f0 100644 --- a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp +++ b/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8212df695c38549281a6bcb634bd2f31; - virtual return_type_8212df695c38549281a6bcb634bd2f31 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8212df695c38549281a6bcb634bd2f31, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp b/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp index 1b01542f..5acd1eb2 100644 --- a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp +++ b/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp index c56004fa..39205754 100644 --- a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp +++ b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalEvent::CategoricalEvent; - typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; - virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp index 3a79abe3..0a03a456 100644 --- a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp +++ b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp @@ -9,25 +9,35 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistribution::CategoricalUnivariateDistribution; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp b/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp index bb4b4a35..c44ddf8d 100644 --- a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp +++ b/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp b/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp index 9fab872d..c6a9cad9 100644 --- a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp +++ b/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp @@ -9,20 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_051df2c50206554b9bded4a431031ce8; - virtual return_type_051df2c50206554b9bded4a431031ce8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_051df2c50206554b9bded4a431031ce8, class_type, copy, ); }; + + public: typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_95135a341c905d84966c263f09456897; - virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp b/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp index 77058ebb..49eb5b32 100644 --- a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp +++ b/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp @@ -9,32 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_fc52469705645be59b8a970932051267; - virtual return_type_fc52469705645be59b8a970932051267 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_fc52469705645be59b8a970932051267, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp index bdaaa0e0..f5500ebe 100644 --- a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp +++ b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp @@ -8,8 +8,12 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_8b9c71aa21be519083da91720a92b999; virtual return_type_8b9c71aa21be519083da91720a92b999 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b9c71aa21be519083da91720a92b999, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp b/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp index 46342eb7..02dfaba6 100644 --- a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp +++ b/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp @@ -9,20 +9,28 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_95135a341c905d84966c263f09456897; - virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp b/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp index a8846021..326ccee2 100644 --- a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp +++ b/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp b/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp index 502bd2c1..bb8e4097 100644 --- a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp +++ b/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_a0b487653a3856b1bb4b5c6fad17a750; - virtual return_type_a0b487653a3856b1bb4b5c6fad17a750 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a0b487653a3856b1bb4b5c6fad17a750, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp b/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp index 996af5fe..fe70069a 100644 --- a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp +++ b/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp @@ -9,18 +9,26 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6297c3d2b63f55c6978039eca42dfda2; - virtual return_type_6297c3d2b63f55c6978039eca42dfda2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6297c3d2b63f55c6978039eca42dfda2, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; + + public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp index 5a40dea2..9c8a3874 100644 --- a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp +++ b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::DiscreteUnivariateConditionalDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; + + public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp index 853feff3..10b77461 100644 --- a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp +++ b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp @@ -9,14 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateDistribution::UnivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef double return_type_e54dcb61962b537ca725a1f2230202dc; typedef struct ::statiskit::UnivariateEvent const * param_e54dcb61962b537ca725a1f2230202dc_0_type; typedef bool const & param_e54dcb61962b537ca725a1f2230202dc_1_type; virtual return_type_e54dcb61962b537ca725a1f2230202dc probability(param_e54dcb61962b537ca725a1f2230202dc_0_type param_0, param_e54dcb61962b537ca725a1f2230202dc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e54dcb61962b537ca725a1f2230202dc, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp b/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp index 77bb9cb5..a73dd54b 100644 --- a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp +++ b/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp @@ -9,20 +9,28 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::MixtureDistribution; + + public: typedef void return_type_b53a6340c14552d5865d67a55ffa953b; typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; - virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp b/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp index a2a8d02b..48fbcba9 100644 --- a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp +++ b/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp @@ -9,25 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_99af24b40b3d53da8f2cb45b8bcb63cf; - virtual return_type_99af24b40b3d53da8f2cb45b8bcb63cf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_99af24b40b3d53da8f2cb45b8bcb63cf, class_type, copy, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp b/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp index 18d2cf25..531bd096 100644 --- a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp +++ b/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_8f1ca79a82965d5faaad8f93d5e9b64d; - virtual return_type_8f1ca79a82965d5faaad8f93d5e9b64d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f1ca79a82965d5faaad8f93d5e9b64d, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; - virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; + + protected: typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; - typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; - typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; - virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp b/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp index a3e915a8..edf16c01 100644 --- a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp +++ b/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp @@ -8,28 +8,22 @@ namespace autowig { public: - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_1863dd311c78529ba677c48bf437e4ae; - virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; + + protected: typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; - typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; - typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; - virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp b/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp index d42b8f97..c95fbbc2 100644 --- a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp +++ b/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp b/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp index 24a2c2e5..c88724b4 100644 --- a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp +++ b/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp @@ -8,23 +8,21 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp b/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp index 9a95a756..f931431a 100644 --- a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp +++ b/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp b/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp index 26a3d077..9f1b65d8 100644 --- a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp +++ b/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp b/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp index c878df47..d2089581 100644 --- a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp +++ b/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_34554cc3c7cd588495a9eee3f1557c07; - virtual return_type_34554cc3c7cd588495a9eee3f1557c07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_34554cc3c7cd588495a9eee3f1557c07, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp index eb200c24..31e69e15 100644 --- a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp +++ b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp @@ -9,10 +9,16 @@ namespace autowig public: using ::statiskit::UnivariateEvent::UnivariateEvent; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_68e98310906f5b1a8f388fded81a6acd; virtual return_type_68e98310906f5b1a8f388fded81a6acd get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_68e98310906f5b1a8f388fded81a6acd, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp b/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp index c8dc6032..d45c103e 100644 --- a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp +++ b/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7e17c519dc5859c698700d1e3a4bc0f1; - virtual return_type_7e17c519dc5859c698700d1e3a4bc0f1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7e17c519dc5859c698700d1e3a4bc0f1, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp b/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp index 5fbd6cd6..d9698636 100644 --- a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp +++ b/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_9b565121c8e55dc993b285b56b1874cc; - virtual return_type_9b565121c8e55dc993b285b56b1874cc copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b565121c8e55dc993b285b56b1874cc, class_type, copy, ); }; + + public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp index f8a1fbe0..2339cd6b 100644 --- a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp +++ b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp index 1aa2b9ce..1ee380ee 100644 --- a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp +++ b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistributionEstimation::CategoricalMultivariateDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp index d676d6fc..aef71e0f 100644 --- a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp +++ b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp @@ -9,6 +9,8 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::ContinuousUnivariateDistributionEstimation; + + public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp index c63fb837..f2b72df4 100644 --- a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp +++ b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistributionEstimation::ContinuousMultivariateDistributionEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; + + public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp b/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp index 8af956c9..93e259de 100644 --- a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp +++ b/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp b/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp index ebab0043..37396419 100644 --- a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp +++ b/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp @@ -9,28 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_6b9c5246bc7c5b2390495090a05fd9b1; - virtual return_type_6b9c5246bc7c5b2390495090a05fd9b1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6b9c5246bc7c5b2390495090a05fd9b1, class_type, copy, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; - virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; + + protected: typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; - typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; - typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; - virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: - using class_type::children; using class_type::scoring; - using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp b/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp index daff6ed7..16dea4f9 100644 --- a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp +++ b/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp b/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp index 93cff02d..b4e84bd0 100644 --- a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp +++ b/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_08012a56a0945c3c8be996ca7758f77d; - virtual return_type_08012a56a0945c3c8be996ca7758f77d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_08012a56a0945c3c8be996ca7758f77d, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp b/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp index ef7cec0c..2d02cc2f 100644 --- a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp +++ b/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp index 2dd2e51c..df7a912e 100644 --- a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp +++ b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp @@ -8,19 +8,31 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::MultivariateSampleSpace > > return_type_40d149de873956828c7a7bb6efb1b291; virtual return_type_40d149de873956828c7a7bb6efb1b291 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_40d149de873956828c7a7bb6efb1b291, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_453c7ae8bd33563d9ea0317dca724475; typedef struct ::statiskit::MultivariateEvent const & param_453c7ae8bd33563d9ea0317dca724475_0_type; virtual return_type_453c7ae8bd33563d9ea0317dca724475 encode(param_453c7ae8bd33563d9ea0317dca724475_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_453c7ae8bd33563d9ea0317dca724475, class_type, encode, param_0); }; + + public: typedef ::statiskit::Index return_type_58045e2837b651c18e64ce6ac4e0be9e; virtual return_type_58045e2837b651c18e64ce6ac4e0be9e encode() const override { PYBIND11_OVERLOAD(return_type_58045e2837b651c18e64ce6ac4e0be9e, class_type, encode, ); }; + + public: typedef bool return_type_817740fe51f5581ca0b50fe3fdee1e78; typedef struct ::statiskit::MultivariateEvent const * param_817740fe51f5581ca0b50fe3fdee1e78_0_type; virtual return_type_817740fe51f5581ca0b50fe3fdee1e78 is_compatible(param_817740fe51f5581ca0b50fe3fdee1e78_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_817740fe51f5581ca0b50fe3fdee1e78, class_type, is_compatible, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_89faf58ffa485b8fafccbd250d1fe75d; typedef ::statiskit::Index const & param_89faf58ffa485b8fafccbd250d1fe75d_0_type; virtual return_type_89faf58ffa485b8fafccbd250d1fe75d get(param_89faf58ffa485b8fafccbd250d1fe75d_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_89faf58ffa485b8fafccbd250d1fe75d, class_type, get, param_0); }; + + public: typedef ::statiskit::Index return_type_34b56241180a545dbbc2cc99f5f4650e; virtual return_type_34b56241180a545dbbc2cc99f5f4650e size() const override { PYBIND11_OVERLOAD_PURE(return_type_34b56241180a545dbbc2cc99f5f4650e, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp b/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp index 02cfd22f..ab026431 100644 --- a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp +++ b/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_c5864745a15a526abae4cd03bf6d4f57; - virtual return_type_c5864745a15a526abae4cd03bf6d4f57 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c5864745a15a526abae4cd03bf6d4f57, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp b/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp index 66220ee4..cd0aa5ca 100644 --- a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp +++ b/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_13ce002a16d358ed963cfab919445ca1; - virtual return_type_13ce002a16d358ed963cfab919445ca1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_13ce002a16d358ed963cfab919445ca1, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp b/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp index 45184325..4a7dbf9f 100644 --- a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp +++ b/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< statiskit::Index, struct ::std::hash< statiskit::Index >, struct ::std::equal_to< statiskit::Index >, class ::std::allocator< statiskit::Index > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: - using class_type::identifier; - using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp b/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp index 299a98f7..3f507735 100644 --- a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp +++ b/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_93b7a51440745d11aeeaf8c9c3a6b384; - virtual return_type_93b7a51440745d11aeeaf8c9c3a6b384 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_93b7a51440745d11aeeaf8c9c3a6b384, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } From 600fb001917bc023697f9e1ca509cf3a2cb11cec Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Sat, 13 Apr 2019 14:48:00 +0200 Subject: [PATCH 03/16] Remove comments in tests since they are not really informative and mask some info --- src/cpp/base.cpp | 13 +- src/cpp/base.h | 41 +-- src/cpp/base.hpp | 24 +- src/cpp/data.cpp | 4 - src/cpp/sample_space.cpp | 106 +++--- src/cpp/sample_space.h | 112 +++--- src/py/statiskit/core/_core.py | 324 +++++++++--------- src/py/wrapper/_core.cpp | 2 - ...apper_0281a28ebbe655cabfc3d1baabb16b6c.cpp | 10 +- ...apper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp | 22 +- ...apper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp | 26 +- ...apper_06b2640afe975f8dbf856bb3a88451cf.cpp | 14 +- ...apper_075f4a1dea37583ebdb7b34686ef683f.cpp | 22 +- ...apper_0950e6469e715d39b9590b5a0c7f484e.cpp | 10 +- ...apper_098b1688f9d6517bac4fe76bfdbe24bd.cpp | 10 - ...apper_09fa62065c8f5098af0f7db57ad3e6a9.cpp | 14 +- ...apper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp | 24 +- ...apper_0ec3624c447f5547b35390faafaf867f.cpp | 22 +- ...apper_0f631b8bbb065d39a1378915b306a904.cpp | 8 - ...apper_10d55631c3925ada88a549c3ce423021.cpp | 14 +- ...apper_10d5b7d349c75b6b89998f9a341fb629.cpp | 4 - ...apper_1151599a3fae506b8f5a5bddf7efd129.cpp | 12 +- ...apper_13232a7341945cd08787bdf29befb389.cpp | 14 +- ...apper_13ec603d05f1534bbe1491c0634dca90.cpp | 2 - ...apper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp | 15 +- ...apper_167b2440c33657b2abc8311b6621a7bb.cpp | 22 +- ...apper_16a072b3aa3255f989f89ed810798d2e.cpp | 22 +- ...apper_176ad7b821255b478820451a70624393.cpp | 4 - ...apper_1790dd7d2111554099562871bb0f85af.cpp | 8 +- ...apper_17c6ed20c6a8518c806e33b3fcfab409.cpp | 10 +- ...apper_1935a142d4425b8e9212ebbb3d98b996.cpp | 10 +- ...apper_1bbe231bce835ebeb36da82ccdeb5997.cpp | 14 +- ...apper_206185953d7651e78a6714d1fe602758.cpp | 8 - ...apper_214e9eab615f5960b6c5415c0c55fa0c.cpp | 22 +- ...apper_223fb8b8797b558497d5dea978484cfc.cpp | 10 +- ...apper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp | 14 +- ...apper_2513f8d88792503e97d2b3f6b8c31e6f.cpp | 8 - ...apper_2613fe07dc7251cea4181b6d9d00aad1.cpp | 10 +- ...apper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp | 10 +- ...apper_295ece6953a856c8b865758b0a34795c.cpp | 8 - ...apper_2bc4b4cf9a315380aa25500e269996ba.cpp | 10 +- ...apper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp | 10 +- ...apper_2ff2806eb8795c00b3220e66ed037bae.cpp | 22 +- ...apper_30b90e733d3b5718b760496782efec78.cpp | 14 +- ...apper_3185f3f8abfe5447acd1b43172130b8e.cpp | 14 +- ...apper_31aa0a631312549a9cf4cb8740b55a7f.cpp | 10 - ...apper_32c776be879e5a4f8e5388d5cb33ecc4.cpp | 10 - ...apper_3389d2f38d825c49975e5cfc9a0517d5.cpp | 22 +- ...apper_340c5465095052af9d63bdb8d9799d79.cpp | 2 - ...apper_346ee3489d025beead99ffc0c8770939.cpp | 14 +- ...apper_354f862e227e590491c20a9acad58d0b.cpp | 8 - ...apper_39737fb8eb785c29bb3a9eca8ab9e325.cpp | 8 - ...apper_3ae69567ec205969a9f2da364450fd2e.cpp | 6 +- ...apper_3b85938d896e56519b8342119ca08869.cpp | 14 +- ...apper_3c4215c1e4465be3a5f234b657381458.cpp | 2 - ...apper_3ca8ff4e14d1580fa17364607bc956c4.cpp | 4 - ...apper_3d6a15edb2225daba874c2b80defe6b4.cpp | 10 +- ...apper_3e3d38965c5e5a02ae621877dba470cf.cpp | 4 - ...apper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp | 24 +- ...apper_413148ff15d05180b4dbaaac395b3625.cpp | 10 +- ...apper_41e812da3d3654cd9fb33041c3acf25f.cpp | 10 +- ...apper_432843a5646c5268bb35f7309d2d4b33.cpp | 14 +- ...apper_43d603893a165ed2bf34ad286a50f22e.cpp | 10 +- ...apper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp | 4 - ...apper_4540538b16205d90be33cf08feed0673.cpp | 12 +- ...apper_473e4f9a05ed5118bd06e179489a35f4.cpp | 22 +- ...apper_484cc9c9d3f856c7aa18f642966f14a9.cpp | 4 - ...apper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp | 14 +- ...apper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp | 10 +- ...apper_5186497276525dcc88f6e6e8b313d2af.cpp | 4 - ...apper_528d7cd3a92d569d897fdc1e61483003.cpp | 14 +- ...apper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp | 22 +- ...apper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp | 10 +- ...apper_5517439c40d6505682aa2e58ed6cea33.cpp | 2 - ...apper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp | 22 +- ...apper_57247d6d8d8354eda6e19f19da8dc732.cpp | 10 +- ...apper_5856b02a98b7543baa5144338b21e69d.cpp | 10 +- ...apper_5877793da2745ffb9f47b225e5ec26b6.cpp | 14 +- ...apper_58960b7597495bb78bb15e0b1e8c9de8.cpp | 14 +- ...apper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp | 14 +- ...apper_5b5f1c1f4aa852eab398cea6df20fee2.cpp | 14 +- ...apper_5bbb1918edfa5fb49894cb0a6bf46044.cpp | 10 +- ...apper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp | 10 +- ...apper_5e9c2eecb34851cd99100ce520f53c6e.cpp | 10 +- ...apper_603c48a232f0549ab95e7c0325f6f159.cpp | 14 +- ...apper_61234f1033f25f108ec6c1bb0d3ddf38.cpp | 26 +- ...apper_61733bdc2db95f128686b3292ae9259a.cpp | 27 +- ...apper_622b4b6c4fef5b119cba23181cff6cf6.cpp | 10 - ...apper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp | 10 +- ...apper_643847dccc2b560082343f2bbda15cba.cpp | 8 +- ...apper_64ae6eddce405116ba534ed722881799.cpp | 10 +- ...apper_65233ae509075a4885c6c150d99046ae.cpp | 14 +- ...apper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp | 8 +- ...apper_66595150e9b05d2aaf4d9f52269aca0d.cpp | 10 +- ...apper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp | 18 +- ...apper_67cb5425a85056b38615b0d4e5c587b3.cpp | 10 +- ...apper_681ebebfc39f52e7b797a69c6f165cc7.cpp | 14 +- ...apper_6923aecde43059bd8a00d1bd199ffa8d.cpp | 26 +- ...apper_69ca358c24cd5cabb1a6b9e1358519e4.cpp | 6 +- ...apper_6c36c615980657b7b51c6c44de94c819.cpp | 12 +- ...apper_6d1d52249a4c562691e57f68df4bcc06.cpp | 10 - ...apper_6eb1ba92b1d158b09999c16267a2ec28.cpp | 10 +- ...apper_6ebe27bc0146505b8291b992f2b16ca6.cpp | 10 - ...apper_7164ab149b5259c39291b9f2886585fb.cpp | 14 +- ...apper_73f4a03ba6125d598bb6a6a8f7de7664.cpp | 14 +- ...apper_74f6b70412845069a8b8594df02c99e5.cpp | 22 +- ...apper_7504e6a86bdf57c0a7e644a6615fcd51.cpp | 22 +- ...apper_7510c84a2e4c5022ac15bd97a576d4b0.cpp | 10 +- ...apper_76d258d0b30f5e3a94d02ba97954104b.cpp | 10 - ...apper_7963cd416f6c50c09445d3b27e4f9428.cpp | 22 +- ...apper_79be5108bb8c56d9825ee10945271a59.cpp | 22 +- ...apper_7b337e963b005631b0b064a739f3b591.cpp | 10 +- ...apper_7d0c9ca0e35156dda4481073c8664c19.cpp | 26 +- ...apper_7ed55bcdec33582fb2767f7d96937c85.cpp | 8 - ...apper_7ee099e22285561eb2a1e4dac64d4ff9.cpp | 14 +- ...apper_8486f4aa8ce25724972cec18f80c00cc.cpp | 22 +- ...apper_84c9be0b16d95273a960328d06f07469.cpp | 10 +- ...apper_850400feaf015819b89ae0fb0bc38962.cpp | 4 +- ...apper_861c54941e635197a1fd90e0eb95cd28.cpp | 22 +- ...apper_86541250592e58489f051f41f0896e22.cpp | 14 +- ...apper_87b566a692cb54b18914b54eb295ef9a.cpp | 2 - ...apper_881a8218d7d65c82b32d722273692e73.cpp | 10 +- ...apper_88cb53c05b215504b1f0ee0564765af0.cpp | 12 - ...apper_8a467c708d9c5620937b1f63cde332b1.cpp | 14 +- ...apper_8d6042c687a1543d97b4931d7ca1fca8.cpp | 14 +- ...apper_8efea02ccdc156c4aa5aae37b04b810a.cpp | 8 +- ...apper_90681e203d925f7c8b9ca14a02786804.cpp | 10 +- ...apper_9519b407cd30535e9a46079d8d8e90b2.cpp | 10 +- ...apper_9547a153430f5693a08b4dbbf3204f78.cpp | 10 +- ...apper_964cf359ff005773acf9fc2bf7c5743b.cpp | 14 +- ...apper_9805623587005093969beb2ea47b0499.cpp | 10 +- ...apper_988ed407a0da542eb838d5681ba5ffd1.cpp | 22 +- ...apper_98e77d2afcc252cba528077bc2cc3103.cpp | 8 - ...apper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp | 27 +- ...apper_9af672b8799e52dda111d00a974022cd.cpp | 4 - ...apper_9b1c85d3df8e5cba922fb88752a0d746.cpp | 4 - ...apper_9b457c1fefee52aeba68eb2ee374d6c8.cpp | 10 +- ...apper_9b52bf3c9c595cdb890173a39b0d02c4.cpp | 4 - ...apper_9f71ff88156f5fd0a459f920329e5dc8.cpp | 4 - ...apper_a004a7cf0d095bdeadf276d9713e024f.cpp | 4 - ...apper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp | 12 +- ...apper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp | 6 - ...apper_a4463e49d7865a6497ec20612e342cbe.cpp | 20 +- ...apper_a4d6cfc5f43a5e10a524a2cea681460d.cpp | 10 - ...apper_a744c0e699b3529e8ea41b36264771ec.cpp | 10 +- ...apper_aa6b2bab0be654649ef497aa71dff2e3.cpp | 8 +- ...apper_abb8de3fed35566b9c88aebdaec5f1a0.cpp | 12 +- ...apper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp | 2 - ...apper_b014379d48a45dac9f7ee65cf09afac7.cpp | 20 +- ...apper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp | 10 +- ...apper_b101d02bb3d95e95ac86387f50f9bccd.cpp | 22 +- ...apper_b129309aaed65ac0b06bd5889ca44405.cpp | 10 +- ...apper_b14b3594a74c5ccc968141047b5145f4.cpp | 4 - ...apper_b191a9bdcde4562cb6bfc0666feb816d.cpp | 14 +- ...apper_b24ad967ae66587ba612c3f37635bddb.cpp | 14 +- ...apper_b588087797ae51f7bce93503c0c1a013.cpp | 10 +- ...apper_b65e2bfb02355375b92295f460fb1b15.cpp | 10 +- ...apper_b745bd62c1315087a0aa661317232745.cpp | 20 +- ...apper_b9daedbb8a1d5864bc019efa0a0d17df.cpp | 4 - ...apper_bb48025bb0a15b5c907ff0400bf2207a.cpp | 22 +- ...apper_bc77a106572e58ba96fe5742a38e574c.cpp | 22 +- ...apper_be720dbf462e5dce8b7d4a0b04921c48.cpp | 10 +- ...apper_bf2c6deebd8e55f3824ecd5cf9312434.cpp | 4 - ...apper_bf5b68f25d1f5ab9ad2c936351edf740.cpp | 24 +- ...apper_c0bee75b3bf95732b384679bc9ef8f9f.cpp | 10 +- ...apper_c1af1f263c37571f8e1257a72f39fd05.cpp | 10 - ...apper_c285de96478650da951aca759bc2616e.cpp | 27 +- ...apper_c4726473069d576fbb9e53aacbf298ea.cpp | 2 - ...apper_c50f0d84f3a05771b904e670721690e3.cpp | 22 +- ...apper_c64f8514180b56eabe5b4d197177f547.cpp | 14 +- ...apper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp | 2 - ...apper_c92b9bfaab03555f87343457a8d1a2b0.cpp | 10 +- ...apper_ca5d28928ff15dbc886e10017edb407d.cpp | 14 +- ...apper_caa62ffec61a5e0a99ca640a1ed36905.cpp | 14 +- ...apper_cac66b5845885b48b2bb02c9d01b81db.cpp | 10 +- ...apper_cc3bc950f48855398043fabd1fa92b62.cpp | 22 +- ...apper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp | 10 +- ...apper_cf0179fb6c94524589e450e5bcacc532.cpp | 6 +- ...apper_cf0415be3d965595a8486e9a8659c1a9.cpp | 18 +- ...apper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp | 10 +- ...apper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp | 12 +- ...apper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp | 24 +- ...apper_d33d975672ef54f0b9b5e01d57fdf32b.cpp | 4 - ...apper_d4b7bfff2e0551769c3e6767fe7dca05.cpp | 14 +- ...apper_d63319879d9750a497ce0eb3e49e5d7a.cpp | 10 +- ...apper_d6970cd0a37451cfbcd48d316b17aaa0.cpp | 10 +- ...apper_d84d3426cce55670b51d351b388a8ae8.cpp | 12 +- ...apper_da164767fc675bd29ae86f87eff482aa.cpp | 4 - ...apper_daf74149f27453a7a5360a8ea7e9d69c.cpp | 8 - ...apper_dcb42c58c45353839bf4d081d804b14c.cpp | 14 +- ...apper_dd64d489201652bd9b30c6b9ce866197.cpp | 18 +- ...apper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp | 14 +- ...apper_e04333cf88f85b74a12abe551bc271c3.cpp | 14 +- ...apper_e04b2c4523535837960c26d5b28953fc.cpp | 10 +- ...apper_e19df620173959fc805b30a13ab6379a.cpp | 10 +- ...apper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp | 10 +- ...apper_e2aa406ade4850eda910a734d419832b.cpp | 10 +- ...apper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp | 10 +- ...apper_e695b5b519815f1f96debe2f459d2f2b.cpp | 6 - ...apper_eae24fefebd9570687e8a345f6e50c1b.cpp | 22 +- ...apper_eb4ed1ac11775528a15a11246865cec3.cpp | 4 +- ...apper_ef06cd7866a05e8a9b9f746a2f9da324.cpp | 22 +- ...apper_f09c97b097575bf2b4af254e6faa082c.cpp | 4 - ...apper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp | 2 - ...apper_f1f8a991c324584993f9a58dcb9c014e.cpp | 4 - ...apper_f550a61e11625416b81603dbfad86987.cpp | 10 +- ...apper_f76f62b9f79a5f43900330c071ce00fb.cpp | 14 +- ...apper_f81a8ee127995b0890ddd9786aab755d.cpp | 10 +- ...apper_f93af042f688513484b1158c96b9eaef.cpp | 22 +- ...apper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp | 10 +- ...apper_faed70c01c41556a87ba6c938ce7c777.cpp | 12 - ...apper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp | 10 +- ...apper_fcc6162c378c5756b392afed99931125.cpp | 10 +- ...apper_fd63b9f470165717923109c2f3c8739d.cpp | 10 +- ...apper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp | 22 +- test/test_beta.py | 2 - test/test_beta_binomial.py | 2 - test/test_beta_negative_binomial.py | 2 - test/test_binomial.py | 4 - test/test_categorical.py | 12 - test/test_data.py | 12 - test/test_distribution.py | 6 - test/test_gamma.py | 2 - test/test_geometric.py | 3 - test/test_gompertz.py | 3 - test/test_gumbel.py | 3 - test/test_laplace.py | 2 - test/test_logarithmic.py | 3 - test/test_logistic.py | 2 - test/test_mixture.py | 4 +- test/test_multinormal.py | 3 - test/test_negative_binomial.py | 7 +- test/test_non-standard-student.py | 3 - test/test_normal.py | 3 - test/test_sample_space.py | 13 - test/test_selection.py | 6 - test/test_slope_heuristic.py | 3 - test/test_splitting.py | 4 - test/test_student.py | 3 - 239 files changed, 1499 insertions(+), 1778 deletions(-) delete mode 100644 src/py/wrapper/wrapper_6ebe27bc0146505b8291b992f2b16ca6.cpp diff --git a/src/cpp/base.cpp b/src/cpp/base.cpp index 2e6f2267..518a58be 100644 --- a/src/cpp/base.cpp +++ b/src/cpp/base.cpp @@ -43,7 +43,7 @@ namespace statiskit boost::mt19937 _random_generator = boost::mt19937(0); - boost::mt19937& get_random_generator() + boost::mt19937& get_random_generator(void) { return _random_generator; } std::unordered_map< uintptr_t, unsigned int > iterations = std::unordered_map< uintptr_t, unsigned int >(); @@ -76,7 +76,7 @@ namespace statiskit } } - void set_seed() + void set_seed(void) { __impl::_random_generator.seed(); } void set_seed(const Index& seed) @@ -85,9 +85,6 @@ namespace statiskit not_implemented_error::not_implemented_error(const std::string& function, const std::string& file, const unsigned int& line) : std::runtime_error("'" + function + "' in file '" + file + "' at line " + __impl::to_string(line) + " is not implemented") {} - proxy_connection_error::proxy_connection_error() : std::exception() - {} - parameter_error::parameter_error(const std::string& parameter, const std::string& error) : std::runtime_error("'" + parameter + "' parameter: " + error) {} @@ -100,7 +97,7 @@ namespace statiskit nullptr_error::nullptr_error(const std::string& parameter) : parameter_error(parameter, "cannot be set to nullptr") {} - Schedule::~Schedule() + Schedule::~Schedule(void) {} ExponentialSchedule::ExponentialSchedule(const double& theta) @@ -109,13 +106,13 @@ namespace statiskit ExponentialSchedule::ExponentialSchedule(const ExponentialSchedule& schedule) { _theta = schedule._theta; } - ExponentialSchedule::~ExponentialSchedule() + ExponentialSchedule::~ExponentialSchedule(void) {} double ExponentialSchedule::operator() (const double& stage) const { return exp(- stage / _theta); } - const double& ExponentialSchedule::get_theta() const + const double& ExponentialSchedule::get_theta(void) const { return _theta; } void ExponentialSchedule::set_theta(const double& theta) diff --git a/src/cpp/base.h b/src/cpp/base.h index e67ef5ee..a410591c 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -52,11 +52,11 @@ namespace statiskit template struct PolymorphicCopy : public B { - PolymorphicCopy(); + PolymorphicCopy(void); PolymorphicCopy(const PolymorphicCopy& other); - virtual ~PolymorphicCopy() = default; + virtual ~PolymorphicCopy(void) = default; - virtual std::unique_ptr< T > copy() const; + virtual std::unique_ptr< T > copy(void) const; }; namespace __impl @@ -76,7 +76,7 @@ namespace statiskit * * The random generator used is the Mersenne Twister random generator of the Boost.Random library */ - STATISKIT_CORE_API boost::mt19937& get_random_generator(); + STATISKIT_CORE_API boost::mt19937& get_random_generator(void); STATISKIT_CORE_API unsigned int get_maxits(const uintptr_t& ptr, const unsigned int& maxits); STATISKIT_CORE_API void set_maxits(const uintptr_t& ptr, const unsigned int& maxits); @@ -87,15 +87,12 @@ namespace statiskit template std::set< U > keys(const std::map< U, V >& map); } - STATISKIT_CORE_API void set_seed(); + STATISKIT_CORE_API void set_seed(void); STATISKIT_CORE_API void set_seed(const Index& seed); struct STATISKIT_CORE_API not_implemented_error : std::runtime_error { not_implemented_error(const std::string& function, const std::string& file, const unsigned int& line); }; - struct STATISKIT_CORE_API proxy_connection_error : std::exception - { proxy_connection_error(); }; - struct STATISKIT_CORE_API parameter_error : std::runtime_error { parameter_error(const std::string& parameter, const std::string& error); }; @@ -135,17 +132,17 @@ namespace statiskit class Optimization : public T { public: - Optimization(); + Optimization(void); Optimization(const Optimization< T >& optimization); - virtual ~Optimization(); + virtual ~Optimization(void); - const double& get_mindiff() const; + const double& get_mindiff(void) const; void set_mindiff(const double& mindiff); - unsigned int get_minits() const; + unsigned int get_minits(void) const; void set_minits(const unsigned int& maxits); - unsigned int get_maxits() const; + unsigned int get_maxits(void) const; void set_maxits(const unsigned int& maxits); protected: @@ -158,11 +155,11 @@ namespace statiskit struct STATISKIT_CORE_API Schedule { - virtual ~Schedule() = 0; + virtual ~Schedule(void) = 0; virtual double operator() (const double& stage) const = 0; - virtual std::unique_ptr< Schedule > copy() const = 0; + virtual std::unique_ptr< Schedule > copy(void) const = 0; }; class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy< Schedule, ExponentialSchedule > @@ -170,11 +167,11 @@ namespace statiskit public: ExponentialSchedule(const double& theta); ExponentialSchedule(const ExponentialSchedule& schedule); - virtual ~ExponentialSchedule(); + virtual ~ExponentialSchedule(void); virtual double operator() (const double& stage) const; - const double& get_theta() const; + const double& get_theta(void) const; void set_theta(const double& theta); protected: @@ -185,17 +182,17 @@ namespace statiskit class SimulatedAnnealing : public T { public: - SimulatedAnnealing(); + SimulatedAnnealing(void); SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing); - virtual ~SimulatedAnnealing(); + virtual ~SimulatedAnnealing(void); - const Schedule* get_schedule() const; + const Schedule* get_schedule(void) const; void set_schedule(const Schedule& schedule); - unsigned int get_minits() const; + unsigned int get_minits(void) const; void set_minits(const unsigned int& maxits); - unsigned int get_maxits() const; + unsigned int get_maxits(void) const; void set_maxits(const unsigned int& maxits); protected: diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index 638fd32a..ac1bd37c 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -8,7 +8,7 @@ namespace statiskit { template - PolymorphicCopy< T, D, B >::PolymorphicCopy() : B() + PolymorphicCopy< T, D, B >::PolymorphicCopy(void) : B() {} template @@ -16,7 +16,7 @@ namespace statiskit {} template - std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy() const + std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy(void) const { return std::make_unique< D >(static_cast< const D& >(*this)); } namespace __impl @@ -124,7 +124,7 @@ namespace statiskit {} template - Optimization< T >::Optimization() + Optimization< T >::Optimization(void) { _mindiff = 1e-5; _minits = 1; @@ -140,11 +140,11 @@ namespace statiskit } template - Optimization< T >::~Optimization() + Optimization< T >::~Optimization(void) {} template - const double& Optimization< T >::get_mindiff() const + const double& Optimization< T >::get_mindiff(void) const { return _mindiff; } template @@ -152,7 +152,7 @@ namespace statiskit { _mindiff = mindiff; } template - unsigned int Optimization< T >::get_minits() const + unsigned int Optimization< T >::get_minits(void) const { return _minits; } template @@ -160,7 +160,7 @@ namespace statiskit { _minits = minits; } template - unsigned int Optimization< T >::get_maxits() const + unsigned int Optimization< T >::get_maxits(void) const { return _maxits; } template @@ -182,7 +182,7 @@ namespace statiskit } template - SimulatedAnnealing< T >::SimulatedAnnealing() + SimulatedAnnealing< T >::SimulatedAnnealing(void) { _schedule = new ExponentialSchedule(1.); _minits = 1; @@ -201,7 +201,7 @@ namespace statiskit } template - SimulatedAnnealing< T >::~SimulatedAnnealing() + SimulatedAnnealing< T >::~SimulatedAnnealing(void) { if(_schedule) { @@ -211,7 +211,7 @@ namespace statiskit } template - const Schedule* SimulatedAnnealing< T >::get_schedule() const + const Schedule* SimulatedAnnealing< T >::get_schedule(void) const { return _schedule; } template @@ -219,7 +219,7 @@ namespace statiskit { _schedule = schedule.copy().release(); } template - unsigned int SimulatedAnnealing< T >::get_minits() const + unsigned int SimulatedAnnealing< T >::get_minits(void) const { return _minits; } template @@ -227,7 +227,7 @@ namespace statiskit { _minits = minits; } template - unsigned int SimulatedAnnealing< T >::get_maxits() const + unsigned int SimulatedAnnealing< T >::get_maxits(void) const { return _maxits; } template diff --git a/src/cpp/data.cpp b/src/cpp/data.cpp index 354e97da..b8f8211e 100644 --- a/src/cpp/data.cpp +++ b/src/cpp/data.cpp @@ -352,15 +352,11 @@ namespace statiskit const UnivariateEvent* UnivariateDataFrame::Generator::event() const { - if(!_data) - { throw proxy_connection_error(); } return _data->get_event(_index); } double UnivariateDataFrame::Generator::weight() const { - if(!_data) - { throw proxy_connection_error(); } return 1; } diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index 76bbce15..e082c99a 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -3,7 +3,7 @@ namespace statiskit { - UnivariateSampleSpace::~UnivariateSampleSpace() + UnivariateSampleSpace::~UnivariateSampleSpace(void) {} CategoricalSampleSpace::CategoricalSampleSpace(const std::set< std::string >& values) @@ -15,19 +15,19 @@ namespace statiskit this->encoding = sample_space.encoding; } - CategoricalSampleSpace::~CategoricalSampleSpace() + CategoricalSampleSpace::~CategoricalSampleSpace(void) {} - const std::set< std::string >& CategoricalSampleSpace::get_values() const + const std::set< std::string >& CategoricalSampleSpace::get_values(void) const { return *(this->values.get()); } - encoding_type CategoricalSampleSpace::get_encoding() const + encoding_type CategoricalSampleSpace::get_encoding(void) const { return this->encoding; } - Index CategoricalSampleSpace::get_cardinality() const + Index CategoricalSampleSpace::get_cardinality(void) const { return this->values->size(); } - outcome_type CategoricalSampleSpace::get_outcome() const + outcome_type CategoricalSampleSpace::get_outcome(void) const { return CATEGORICAL; } bool CategoricalSampleSpace::is_compatible(const UnivariateEvent* event) const @@ -76,13 +76,13 @@ namespace statiskit this->encoding = sample_space.encoding; } - NominalSampleSpace::~NominalSampleSpace() + NominalSampleSpace::~NominalSampleSpace(void) {} - ordering_type NominalSampleSpace::get_ordering() const + ordering_type NominalSampleSpace::get_ordering(void) const { return NONE; } - const std::string& NominalSampleSpace::get_reference() const + const std::string& NominalSampleSpace::get_reference(void) const { return *(this->reference); } void NominalSampleSpace::set_reference(const std::string& reference) @@ -95,7 +95,7 @@ namespace statiskit } } - void NominalSampleSpace::randomize() + void NominalSampleSpace::randomize(void) { this->reference = this->values->cbegin(); boost::random::uniform_int_distribution<> dist(0, this->get_cardinality()-1); @@ -155,10 +155,10 @@ namespace statiskit return dummy; } - std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal() const + std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal(void) const { return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(this->values->cbegin(), this->values->cend())); } - std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy() const + std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy(void) const { return std::make_unique< NominalSampleSpace >(*this); } OrdinalSampleSpace::OrdinalSampleSpace(const std::vector< std::string >& values) : CategoricalSampleSpace(std::set< std::string >(values.cbegin(), values.cend())) @@ -176,10 +176,10 @@ namespace statiskit this->encoding = sample_space.encoding; } - OrdinalSampleSpace::~OrdinalSampleSpace() + OrdinalSampleSpace::~OrdinalSampleSpace(void) {} - ordering_type OrdinalSampleSpace::get_ordering() const + ordering_type OrdinalSampleSpace::get_ordering(void) const { return TOTAL; } void OrdinalSampleSpace::set_encoding(const encoding_type& encoding) @@ -228,8 +228,9 @@ namespace statiskit return dummy; } - std::vector< std::string > OrdinalSampleSpace::get_ordered() const + std::vector< std::string > OrdinalSampleSpace::get_ordered(void) const { + BREAKPOINT(); std::vector< std::string > values(get_cardinality()); for (std::set< std::string >::const_iterator it = this->values->cbegin(), ite = this->values->cend(); it != ite; ++it) { values[(*this->_rank)[distance(this->values->cbegin(), it)]] = *it; @@ -257,7 +258,7 @@ namespace statiskit this->_rank = rank; } - const std::vector< Index >& OrdinalSampleSpace::get_rank() const + const std::vector< Index >& OrdinalSampleSpace::get_rank(void) const { return *this->_rank; } void OrdinalSampleSpace::set_rank(const std::vector< Index >& rank) @@ -279,7 +280,7 @@ namespace statiskit this->_rank = std::make_shared< std::vector< Index > >(rank); } - void OrdinalSampleSpace::randomize() + void OrdinalSampleSpace::randomize(void) { detach(); std::set< std::string >::iterator first_it = this->values->begin(), it_end = this->values->end(); @@ -297,13 +298,13 @@ namespace statiskit } } - std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal() const + std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal(void) const { return std::make_unique< NominalSampleSpace >(*(this->values.get())); } - std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy() const + std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy(void) const { return std::make_unique< OrdinalSampleSpace >(*this); } - void OrdinalSampleSpace::detach() + void OrdinalSampleSpace::detach(void) { if(this->_rank && !this->_rank.unique()) { this->_rank = std::make_shared< std::vector< Index > >(*this->_rank);} @@ -324,14 +325,14 @@ namespace statiskit _parents = p_sample_space._parents; } - HierarchicalSampleSpace::~HierarchicalSampleSpace() + HierarchicalSampleSpace::~HierarchicalSampleSpace(void) { for(std::map< std::string, CategoricalSampleSpace* >::iterator it = _tree_sample_space.begin(), it_end = _tree_sample_space.end(); it != it_end; ++it) { delete it->second; } _tree_sample_space.clear(); } - ordering_type HierarchicalSampleSpace::get_ordering() const + ordering_type HierarchicalSampleSpace::get_ordering(void) const { // std::map< std::string, CategoricalSampleSpace* >::const_iterator it = _tree_sample_space.cbegin(), it_end = _tree_sample_space.cend(); // ordering_type ordering = it->second->get_ordering(); @@ -436,19 +437,19 @@ namespace statiskit { return ""; } } - std::unique_ptr< UnivariateSampleSpace > HierarchicalSampleSpace::copy() const + std::unique_ptr< UnivariateSampleSpace > HierarchicalSampleSpace::copy(void) const { return std::make_unique< HierarchicalSampleSpace >(*this); } - HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cbegin() const + HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cbegin(void) const { return _tree_sample_space.cbegin(); } - HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cend() const + HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cend(void) const { return _tree_sample_space.cend(); } const CategoricalSampleSpace* HierarchicalSampleSpace::get_sample_space(const std::string& value) { return _tree_sample_space[value]; } - std::map< std::string, std::string > HierarchicalSampleSpace::get_parents() const + std::map< std::string, std::string > HierarchicalSampleSpace::get_parents(void) const { return _parents; } // const std::string HierarchicalSampleSpace::get_parent(const std::string& value) @@ -471,10 +472,15 @@ namespace statiskit return compatible; } - outcome_type DiscreteSampleSpace::get_outcome() const + void HierarchicalSampleSpace::detach(void) + { + NOT_IMPLEMENTED(); + } + + outcome_type DiscreteSampleSpace::get_outcome(void) const { return DISCRETE; } - ordering_type DiscreteSampleSpace::get_ordering() const + ordering_type DiscreteSampleSpace::get_ordering(void) const { return TOTAL; } IntegerSampleSpace::IntegerSampleSpace(const int& lower_bound, const int& upper_bound) @@ -483,7 +489,7 @@ namespace statiskit _upper_bound = upper_bound; } - IntegerSampleSpace::~IntegerSampleSpace() + IntegerSampleSpace::~IntegerSampleSpace(void) {} bool IntegerSampleSpace::is_compatible(const UnivariateEvent* event) const @@ -548,29 +554,29 @@ namespace statiskit return compatible; } - const int& IntegerSampleSpace::get_lower_bound() const + const int& IntegerSampleSpace::get_lower_bound(void) const { return _lower_bound; } - const int& IntegerSampleSpace::get_upper_bound() const + const int& IntegerSampleSpace::get_upper_bound(void) const { return _upper_bound; } - std::unique_ptr< UnivariateSampleSpace > IntegerSampleSpace::copy() const + std::unique_ptr< UnivariateSampleSpace > IntegerSampleSpace::copy(void) const { return std::make_unique< IntegerSampleSpace >(*this); } const IntegerSampleSpace NN = IntegerSampleSpace(0); - const IntegerSampleSpace& get_NN() + const IntegerSampleSpace& get_NN(void) { return NN; } const IntegerSampleSpace ZZ = IntegerSampleSpace(); - const IntegerSampleSpace& get_ZZ() + const IntegerSampleSpace& get_ZZ(void) { return ZZ; } - outcome_type ContinuousSampleSpace::get_outcome() const + outcome_type ContinuousSampleSpace::get_outcome(void) const { return CONTINUOUS; } - ordering_type ContinuousSampleSpace::get_ordering() const + ordering_type ContinuousSampleSpace::get_ordering(void) const { return TOTAL; } RealSampleSpace::RealSampleSpace(const double& lhs, const double& rhs, const bool& left_closed, const bool& right_closed) @@ -589,7 +595,7 @@ namespace statiskit _right_closed = right_closed && !boost::math::isinf(_upper_bound); } - RealSampleSpace::~RealSampleSpace() + RealSampleSpace::~RealSampleSpace(void) {} bool RealSampleSpace::is_compatible(const UnivariateEvent* event) const @@ -682,34 +688,34 @@ namespace statiskit return compatible; } - const double& RealSampleSpace::get_lower_bound() const + const double& RealSampleSpace::get_lower_bound(void) const { return _lower_bound; } - const double& RealSampleSpace::get_upper_bound() const + const double& RealSampleSpace::get_upper_bound(void) const { return _upper_bound; } - const bool& RealSampleSpace::get_left_closed() const + const bool& RealSampleSpace::get_left_closed(void) const { return _left_closed; } - const bool& RealSampleSpace::get_right_closed() const + const bool& RealSampleSpace::get_right_closed(void) const { return _right_closed; } - std::unique_ptr< UnivariateSampleSpace > RealSampleSpace::copy() const + std::unique_ptr< UnivariateSampleSpace > RealSampleSpace::copy(void) const { return std::make_unique< RealSampleSpace >(*this); } const RealSampleSpace RR = RealSampleSpace(); - const RealSampleSpace& get_RR() + const RealSampleSpace& get_RR(void) { return RR; } const RealSampleSpace PR = RealSampleSpace(0); - const RealSampleSpace& get_PR() + const RealSampleSpace& get_PR(void) { return PR; } const RealSampleSpace NR = RealSampleSpace(-1*std::numeric_limits< double >::infinity(), 0); - const RealSampleSpace& get_NR() + const RealSampleSpace& get_NR(void) { return NR; } /*Eigen::MatrixXd MultivariateSampleSpace::encode(const MultivariateEvent& event, const std::set< std::set >& interactions) const @@ -808,7 +814,7 @@ namespace statiskit } }*/ - MultivariateSampleSpace::~MultivariateSampleSpace() + MultivariateSampleSpace::~MultivariateSampleSpace(void) {} bool MultivariateSampleSpace::is_compatible(const MultivariateEvent* event) const @@ -830,7 +836,7 @@ namespace statiskit return compatible; } - Index MultivariateSampleSpace::encode() const + Index MultivariateSampleSpace::encode(void) const { Index _size = 0; for(Index index = 0, max_index = size(); index < max_index; ++index) @@ -919,7 +925,7 @@ namespace statiskit { _sample_spaces[index] = sample_space._sample_spaces[index]->copy().release(); } } - VectorSampleSpace::~VectorSampleSpace() + VectorSampleSpace::~VectorSampleSpace(void) { for(Index index = 0, max_index = _sample_spaces.size(); index < max_index; ++index) { @@ -929,7 +935,7 @@ namespace statiskit _sample_spaces.clear(); } - Index VectorSampleSpace::size() const + Index VectorSampleSpace::size(void) const {return _sample_spaces.size(); } const UnivariateSampleSpace* VectorSampleSpace::get(const Index& index) const @@ -941,7 +947,7 @@ namespace statiskit _sample_spaces[index] = sample_space.copy().release(); } - std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy() const + std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy(void) const { return std::make_unique< VectorSampleSpace >(*this); } } diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 0a8d971e..b622f567 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -22,15 +22,15 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateSampleSpace { - virtual ~UnivariateSampleSpace() = 0; + virtual ~UnivariateSampleSpace(void) = 0; - virtual outcome_type get_outcome() const = 0; + virtual outcome_type get_outcome(void) const = 0; - virtual ordering_type get_ordering() const = 0; + virtual ordering_type get_ordering(void) const = 0; virtual bool is_compatible(const UnivariateEvent* event) const = 0; - virtual std::unique_ptr< UnivariateSampleSpace > copy() const = 0; + virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const = 0; }; enum encoding_type @@ -45,17 +45,17 @@ namespace statiskit public: CategoricalSampleSpace(const std::set< std::string >& values); CategoricalSampleSpace(const CategoricalSampleSpace& sample_space); - virtual ~CategoricalSampleSpace(); + virtual ~CategoricalSampleSpace(void); virtual bool is_compatible(const UnivariateEvent* event) const; - virtual outcome_type get_outcome() const; + virtual outcome_type get_outcome(void) const; - Index get_cardinality() const; + Index get_cardinality(void) const; - const std::set< std::string >& get_values() const; + const std::set< std::string >& get_values(void) const; - encoding_type get_encoding() const; + encoding_type get_encoding(void) const; virtual void set_encoding(const encoding_type& encoding) = 0; virtual Eigen::RowVectorXd encode(const std::string& outcome) const = 0; @@ -74,22 +74,22 @@ namespace statiskit public: NominalSampleSpace(const std::set< std::string >& values); NominalSampleSpace(const NominalSampleSpace& sample_space); - virtual ~NominalSampleSpace(); + virtual ~NominalSampleSpace(void); - virtual ordering_type get_ordering() const; + virtual ordering_type get_ordering(void) const; - const std::string& get_reference() const; + const std::string& get_reference(void) const; void set_reference(const std::string& reference); - void randomize(); + void randomize(void); void set_encoding(const encoding_type& encoding); virtual Eigen::RowVectorXd encode(const std::string& value) const; - std::unique_ptr< OrdinalSampleSpace > as_ordinal() const; + std::unique_ptr< OrdinalSampleSpace > as_ordinal(void) const; - std::unique_ptr< UnivariateSampleSpace > copy() const; + std::unique_ptr< UnivariateSampleSpace > copy(void) const; protected: std::set< std::string >::const_iterator reference; @@ -100,30 +100,30 @@ namespace statiskit public: OrdinalSampleSpace(const std::vector< std::string >& values); OrdinalSampleSpace(const OrdinalSampleSpace& sample_space); - virtual ~OrdinalSampleSpace(); + virtual ~OrdinalSampleSpace(void); - virtual ordering_type get_ordering() const; + virtual ordering_type get_ordering(void) const; - std::vector< std::string > get_ordered() const; + std::vector< std::string > get_ordered(void) const; void set_ordered(const std::vector< std::string >& ordered); - const std::vector< Index >& get_rank() const; + const std::vector< Index >& get_rank(void) const; void set_rank(const std::vector< Index >& rank); - void randomize(); + void randomize(void); void set_encoding(const encoding_type& encoding); virtual Eigen::RowVectorXd encode(const std::string& value) const; - std::unique_ptr< NominalSampleSpace > as_nominal() const; + std::unique_ptr< NominalSampleSpace > as_nominal(void) const; - virtual std::unique_ptr< UnivariateSampleSpace > copy() const; + virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; protected: std::shared_ptr< std::vector< Index > > _rank; - virtual void detach(); + virtual void detach(void); }; class UnivariateConditionalData; @@ -135,9 +135,9 @@ namespace statiskit HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space); HierarchicalSampleSpace(const HierarchicalSampleSpace& p_sample_space); - virtual ~HierarchicalSampleSpace(); + virtual ~HierarchicalSampleSpace(void); - virtual ordering_type get_ordering() const; + virtual ordering_type get_ordering(void) const; void set_encoding(const encoding_type& encoding); @@ -146,13 +146,13 @@ namespace statiskit void partition(const std::string& leave, const CategoricalSampleSpace& sample_space); // partition the leave "value" into a sample space UnivariateConditionalData split(const std::string& non_leave, const UnivariateConditionalData& data) const; - virtual std::unique_ptr< UnivariateSampleSpace > copy() const; + virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; - const_iterator cbegin() const; - const_iterator cend() const; + const_iterator cbegin(void) const; + const_iterator cend(void) const; const CategoricalSampleSpace* get_sample_space(const std::string& value); - std::map< std::string, std::string > get_parents() const; + std::map< std::string, std::string > get_parents(void) const; //const std::string get_parent(const std::string& value); std::string children(const std::string& non_leave, const std::string& leave) const; @@ -162,62 +162,62 @@ namespace statiskit virtual bool is_compatible_value(const std::string& value) const; - virtual void detach(); + virtual void detach(void); }; struct STATISKIT_CORE_API DiscreteSampleSpace : public UnivariateSampleSpace { - virtual outcome_type get_outcome() const; + virtual outcome_type get_outcome(void) const; - virtual ordering_type get_ordering() const; + virtual ordering_type get_ordering(void) const; }; class STATISKIT_CORE_API IntegerSampleSpace : public DiscreteSampleSpace { public: IntegerSampleSpace(const int& lower_bound=std::numeric_limits< int >::min(), const int& upper_bound=std::numeric_limits< int >::max()); - virtual ~IntegerSampleSpace(); + virtual ~IntegerSampleSpace(void); virtual bool is_compatible(const UnivariateEvent* event) const; - const int& get_lower_bound() const; + const int& get_lower_bound(void) const; - const int& get_upper_bound() const; + const int& get_upper_bound(void) const; - virtual std::unique_ptr< UnivariateSampleSpace > copy() const; + virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; protected: int _lower_bound; int _upper_bound; }; - STATISKIT_CORE_API const IntegerSampleSpace& get_NN(); - STATISKIT_CORE_API const IntegerSampleSpace& get_ZZ(); + STATISKIT_CORE_API const IntegerSampleSpace& get_NN(void); + STATISKIT_CORE_API const IntegerSampleSpace& get_ZZ(void); struct STATISKIT_CORE_API ContinuousSampleSpace : public UnivariateSampleSpace { - virtual outcome_type get_outcome() const; + virtual outcome_type get_outcome(void) const; - virtual ordering_type get_ordering() const; + virtual ordering_type get_ordering(void) const; }; class STATISKIT_CORE_API RealSampleSpace : public ContinuousSampleSpace { public: RealSampleSpace(const double& lower_bound=-1*std::numeric_limits< double >::infinity(), const double& upper_bound=std::numeric_limits< double >::infinity(), const bool& left_closed=false, const bool& right_closed=false); - virtual ~RealSampleSpace(); + virtual ~RealSampleSpace(void); virtual bool is_compatible(const UnivariateEvent* event) const; - const double& get_lower_bound() const; + const double& get_lower_bound(void) const; - const double& get_upper_bound() const; + const double& get_upper_bound(void) const; - const bool& get_left_closed() const; + const bool& get_left_closed(void) const; - const bool& get_right_closed() const; + const bool& get_right_closed(void) const; - virtual std::unique_ptr< UnivariateSampleSpace > copy() const; + virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; protected: double _lower_bound; @@ -226,25 +226,25 @@ namespace statiskit bool _right_closed; }; - STATISKIT_CORE_API const RealSampleSpace& get_RR(); - STATISKIT_CORE_API const RealSampleSpace& get_PR(); - STATISKIT_CORE_API const RealSampleSpace& get_NR(); + STATISKIT_CORE_API const RealSampleSpace& get_RR(void); + STATISKIT_CORE_API const RealSampleSpace& get_PR(void); + STATISKIT_CORE_API const RealSampleSpace& get_NR(void); struct STATISKIT_CORE_API MultivariateSampleSpace { - virtual ~MultivariateSampleSpace() = 0; + virtual ~MultivariateSampleSpace(void) = 0; - virtual Index size() const = 0; + virtual Index size(void) const = 0; virtual const UnivariateSampleSpace* get(const Index& index) const = 0; virtual bool is_compatible(const MultivariateEvent* event) const; - virtual Index encode() const; + virtual Index encode(void) const; virtual Eigen::RowVectorXd encode(const MultivariateEvent& event) const; - virtual std::unique_ptr< MultivariateSampleSpace > copy() const = 0; + virtual std::unique_ptr< MultivariateSampleSpace > copy(void) const = 0; }; class STATISKIT_CORE_API VectorSampleSpace : public MultivariateSampleSpace @@ -252,14 +252,14 @@ namespace statiskit public: VectorSampleSpace(const std::vector< UnivariateSampleSpace* >& sample_spaces); VectorSampleSpace(const VectorSampleSpace& sample_space); - virtual ~VectorSampleSpace(); + virtual ~VectorSampleSpace(void); - virtual Index size() const; + virtual Index size(void) const; virtual const UnivariateSampleSpace* get(const Index& index) const; virtual void set(const Index& index, const UnivariateSampleSpace& sample_space); - virtual std::unique_ptr< MultivariateSampleSpace > copy() const; + virtual std::unique_ptr< MultivariateSampleSpace > copy(void) const; protected: std::vector< UnivariateSampleSpace* > _sample_spaces; diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index 44678e62..f8e1f8fc 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -167,188 +167,188 @@ __core.statiskit._MixtureDistributionEMEstimation = (__core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87, __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b, __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436, __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00, __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57, __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774, __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c, __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b) # Define aliases -__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation -__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 -__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent -__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator -__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac -__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator -__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution -__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 -__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator -__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 -__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 +__core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation +__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator +__core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation +__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d +__core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution +__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution +__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde __core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation -__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 -__core.statiskit.UnivariateConditionalDistributionEstimation.CopyType = __core.statiskit.UnivariateConditionalDistributionEstimation +__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution +__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData +__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d +__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 +__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution +__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 __core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 __core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 -__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace -__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 -__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution -__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData -__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution -__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator -__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator -__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution __core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator +__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 +__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution __core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator -__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution __core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution +__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 +__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b +__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator __core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 -__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator -__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator +__core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 +__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 +__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator +__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 +__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution +__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace +__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution +__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b +__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution +__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator +__core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution +__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator __core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f __core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda -__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator -__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator -__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b +__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData __core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 -__core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData -__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution -__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator -__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator -__core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b +__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution +__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 +__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation +__core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 +__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator +__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace +__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData +__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a.EstimatedType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 -__core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e.EstimatedType = __core.statiskit.GeometricDistribution -__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution +__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 +__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution +__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 +__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator +__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution +__core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 +__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator +__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator +__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator +__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData +__core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 +__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution +__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 +__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 +__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac +__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb +__core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution +__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 __core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution -__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent -__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution -__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData +__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 __core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator +__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator __core.statiskit.UnivariateDistributionEstimation.EstimatedType = __core.statiskit.UnivariateDistribution -__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator -__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator +__core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a +__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.UnivariateConditionalDistributionEstimation.CopyType = __core.statiskit.UnivariateConditionalDistributionEstimation +__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData +__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation +__core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e.EstimatedType = __core.statiskit.GeometricDistribution +__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb +__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution +__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator +__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation __core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator -__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f +__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator +__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation +__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution +__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 __core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator -__core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution +__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 __core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4.EstimatedType = __core.statiskit.PoissonDistribution +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c +__core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation +__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda __core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437.EstimatedType = __core.statiskit.MultinomialSingularDistribution -__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b -__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace -__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d -__core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator -__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution __core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator +__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent +__core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 +__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f __core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c.EstimatedType = __core.statiskit.NormalDistribution -__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 +__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b +__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator +__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution __core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation -__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde -__core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 -__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator -__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator -__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 -__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 -__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator -__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 -__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f +__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution +__core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator __core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution -__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution -__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator -__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 -__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator -__core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator -__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f -__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution -__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution -__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 +__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution +__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent __core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution -__core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 -__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 -__core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation -__core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator -__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution -__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution -__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b -__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData -__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c -__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData -__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData -__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData -__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution -__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator +__core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 +__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator +__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator +__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b +__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator diff --git a/src/py/wrapper/_core.cpp b/src/py/wrapper/_core.cpp index 2e330c1b..47ddbb7f 100644 --- a/src/py/wrapper/_core.cpp +++ b/src/py/wrapper/_core.cpp @@ -145,7 +145,6 @@ void wrapper_67870dc7ea665794a91fa84ca05aecb0(pybind11::module& module); void wrapper_67cb5425a85056b38615b0d4e5c587b3(pybind11::module& module); void wrapper_69ca358c24cd5cabb1a6b9e1358519e4(pybind11::module& module); void wrapper_6eb1ba92b1d158b09999c16267a2ec28(pybind11::module& module); -void wrapper_6ebe27bc0146505b8291b992f2b16ca6(pybind11::module& module); void wrapper_7b337e963b005631b0b064a739f3b591(pybind11::module& module); void wrapper_8a816909345b5bf2911f863db5b8cb0b(pybind11::module& module); void wrapper_8f6b8d601b265537abfca5a924ae495d(pybind11::module& module); @@ -841,7 +840,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_67cb5425a85056b38615b0d4e5c587b3(module_3c4215c1e4465be3a5f234b657381458); wrapper_69ca358c24cd5cabb1a6b9e1358519e4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6eb1ba92b1d158b09999c16267a2ec28(module_43ff7c79dcd15ad9995fd0d0ccc6d440); - wrapper_6ebe27bc0146505b8291b992f2b16ca6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7b337e963b005631b0b064a739f3b591(module_b9daedbb8a1d5864bc019efa0a0d17df); wrapper_8a816909345b5bf2911f863db5b8cb0b(module_5b5f1c1f4aa852eab398cea6df20fee2); wrapper_8f6b8d601b265537abfca5a924ae495d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); diff --git a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp b/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp index 99bc89e7..e2842d1a 100644 --- a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp +++ b/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_d1b9702be8e75e50b289d463019d92e6; + virtual return_type_d1b9702be8e75e50b289d463019d92e6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d1b9702be8e75e50b289d463019d92e6, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp index 13265d17..129fe3e2 100644 --- a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp +++ b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistribution::DiscreteUnivariateDistribution; - - public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp b/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp index 59f1f81b..1e11cbb1 100644 --- a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp +++ b/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::UnivariateMixtureDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; + virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; + typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; + typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; + virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; + typedef double return_type_b288349953745909be3b581da8f23621; + typedef int const & param_b288349953745909be3b581da8f23621_0_type; + virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; + virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp b/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp index 4a7736d0..3cc7a742 100644 --- a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp +++ b/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_ca4ace19940e584a9d9874ea517d3698; + virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; + typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; + typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; + virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp b/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp index 63543756..adda8ee5 100644 --- a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp +++ b/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_990d49f9e519539f96548744996a00d6; + virtual return_type_990d49f9e519539f96548744996a00d6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_990d49f9e519539f96548744996a00d6, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp b/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp index a0e3e3ae..b4cc85a4 100644 --- a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp +++ b/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp index f9ea51bb..e55d8698 100644 --- a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp +++ b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistribution::ContinuousMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp b/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp index fe5cfc22..20c41927 100644 --- a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp +++ b/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_9bf4a42ed922526b8a2d3061d558d03c; + virtual return_type_9bf4a42ed922526b8a2d3061d558d03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9bf4a42ed922526b8a2d3061d558d03c, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_d4181de1506551d9b4cabd76eecd0c24; + virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; + typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; + typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; + virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp index 4ee9c005..a3f72c25 100644 --- a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp +++ b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp @@ -9,26 +9,30 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; + virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; + typedef double return_type_e1babe464b835687aea3395298d710d6; + typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; + virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; + typedef double return_type_0c7621818b33548e866bb39bbb4e2157; + typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; + virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; + typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; + virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp b/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp index be10ee0d..b633ccb7 100644 --- a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp +++ b/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f402cac9059e5e20b69fc300fa5650c4; + virtual return_type_f402cac9059e5e20b69fc300fa5650c4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f402cac9059e5e20b69fc300fa5650c4, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp index 79ced433..1dbbf73a 100644 --- a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp +++ b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp @@ -9,21 +9,13 @@ namespace autowig public: using ::statiskit::UnivariateSampleSpace::UnivariateSampleSpace; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; - - public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; - - public: typedef enum ::statiskit::outcome_type return_type_2875d281654d56729645a2393c5d7ae3; virtual return_type_2875d281654d56729645a2393c5d7ae3 get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_2875d281654d56729645a2393c5d7ae3, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp b/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp index 5fcc92a9..b769529c 100644 --- a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp +++ b/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1b474f5a5e7a5dc3894e485ae0076666; + virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; typedef double return_type_75c720739866535bb74aece0734d68b3; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; + typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; + typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; + virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp index 30ebcc74..ad9e5d64 100644 --- a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp +++ b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::ContinuousUnivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - - public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp b/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp index 061472f4..d76a593c 100644 --- a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp +++ b/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp @@ -9,24 +9,20 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_8f9a0a3b8c0951f2806ca5d130c33585; + virtual return_type_8f9a0a3b8c0951f2806ca5d130c33585 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f9a0a3b8c0951f2806ca5d130c33585, class_type, copy, ); }; typedef void return_type_d15c4654ed8057b88112aca660e855c0; typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; + virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp b/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp index b5460fb4..df24d5f8 100644 --- a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp +++ b/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp @@ -9,29 +9,21 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::MixtureDistribution; - - public: typedef void return_type_68960ed00cc65811a690382a0d67ba31; typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; + virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; @@ -44,7 +36,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_5b390b67e10f5171aad53ac4b34b9aad)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_422b9d66f2f95daa938ac7924ebeac4d)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_8b660503f42355aface44a6b269d2198)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_2402a3a010375f17bc28753344cae909)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_2402a3a010375f17bc28753344cae909)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_7371ce416e5556a6b595feb14bf9b48b)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_49ba69a598e250d89edd74201e72a6f0)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp index da938b01..b00e3027 100644 --- a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp +++ b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::MultivariateDispersionEstimation; - - public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp index bc23677d..dcb5881d 100644 --- a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp +++ b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp @@ -9,27 +9,22 @@ namespace autowig public: using ::statiskit::CategoricalSampleSpace::CategoricalSampleSpace; - - protected: typedef bool return_type_e2b5e198a60f55b48e6693e16f1ecddb; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_e2b5e198a60f55b48e6693e16f1ecddb_0_type; virtual return_type_e2b5e198a60f55b48e6693e16f1ecddb is_compatible_value(param_e2b5e198a60f55b48e6693e16f1ecddb_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e2b5e198a60f55b48e6693e16f1ecddb, class_type, is_compatible_value, param_0); }; - - public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_8066b9427c14500d8e4b87e8f42da7e4; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8066b9427c14500d8e4b87e8f42da7e4_0_type; virtual return_type_8066b9427c14500d8e4b87e8f42da7e4 encode(param_8066b9427c14500d8e4b87e8f42da7e4_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8066b9427c14500d8e4b87e8f42da7e4, class_type, encode, param_0); }; - - public: typedef void return_type_5ccffeb21f59579f833d8cfccb48fce9; typedef enum ::statiskit::encoding_type const & param_5ccffeb21f59579f833d8cfccb48fce9_0_type; virtual return_type_5ccffeb21f59579f833d8cfccb48fce9 set_encoding(param_5ccffeb21f59579f833d8cfccb48fce9_0_type param_0) override { PYBIND11_OVERLOAD_PURE(return_type_5ccffeb21f59579f833d8cfccb48fce9, class_type, set_encoding, param_0); }; - - public: + typedef enum ::statiskit::outcome_type return_type_8d0ebb7ac2a9544280755c9cf75dbb4e; + virtual return_type_8d0ebb7ac2a9544280755c9cf75dbb4e get_outcome() const override { PYBIND11_OVERLOAD(return_type_8d0ebb7ac2a9544280755c9cf75dbb4e, class_type, get_outcome, ); }; + typedef bool return_type_bc7a777830665a5e86e410c50a9fd373; + typedef struct ::statiskit::UnivariateEvent const * param_bc7a777830665a5e86e410c50a9fd373_0_type; + virtual return_type_bc7a777830665a5e86e410c50a9fd373 is_compatible(param_bc7a777830665a5e86e410c50a9fd373_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_bc7a777830665a5e86e410c50a9fd373, class_type, is_compatible, param_0); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; }; diff --git a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp b/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp index dcb4723f..5dd540bb 100644 --- a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp +++ b/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_9557888cca23511a9622d71b4381fa7f; + virtual return_type_9557888cca23511a9622d71b4381fa7f copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9557888cca23511a9622d71b4381fa7f, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp b/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp index f0ed73ce..5955b092 100644 --- a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp +++ b/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_6d7c86f859f35a218843b3acfcd8082b; + virtual return_type_6d7c86f859f35a218843b3acfcd8082b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6d7c86f859f35a218843b3acfcd8082b, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp index 126493cb..31011647 100644 --- a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp +++ b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_8c923ab987815d75950c21bd5ebe0e9a; virtual return_type_8c923ab987815d75950c21bd5ebe0e9a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8c923ab987815d75950c21bd5ebe0e9a, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp b/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp index e6aaa21e..474392ad 100644 --- a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp +++ b/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp @@ -9,16 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_8c86d1b0ff0a5245afa03a841d54847a; + virtual return_type_8c86d1b0ff0a5245afa03a841d54847a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8c86d1b0ff0a5245afa03a841d54847a, class_type, copy, ); }; typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; - - public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp b/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp index 90530932..e6c90c09 100644 --- a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp +++ b/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp b/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp index 8ca44a0a..c3f88014 100644 --- a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp +++ b/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp b/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp index 5f61fa55..ec716e69 100644 --- a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp +++ b/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; + virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; typedef double return_type_a8793d7694b85cea8bead585bebfa116; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; + typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; + typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; + virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp index 7c13959c..2bd59c79 100644 --- a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp +++ b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp b/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp index 530da666..9533b351 100644 --- a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp +++ b/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_2369dcf3b82d5305ab0576938e592359; + virtual return_type_2369dcf3b82d5305ab0576938e592359 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2369dcf3b82d5305ab0576938e592359, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp b/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp index 6b4f499e..6526ebaf 100644 --- a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp +++ b/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp b/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp index 864540b6..891acb94 100644 --- a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp +++ b/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_46f16d5140fa5510a7b1b2288f37a965; + virtual return_type_46f16d5140fa5510a7b1b2288f37a965 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_46f16d5140fa5510a7b1b2288f37a965, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_381c73e64ead5c259f146f94a515f23e; + virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; typedef double return_type_3f32a8595a7457cdb1730a938df93a52; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; + typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; + typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; + virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp index 2b06e1c0..35581c31 100644 --- a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp +++ b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp @@ -8,20 +8,12 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; - - public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp b/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp index 35d4bb2a..ef8b1add 100644 --- a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp +++ b/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_3cb42436d25c59818a9ec433b9e6d07c; + virtual return_type_3cb42436d25c59818a9ec433b9e6d07c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3cb42436d25c59818a9ec433b9e6d07c, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp b/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp index f44c3887..13556fde 100644 --- a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp +++ b/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp index b1f3050d..75339314 100644 --- a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp +++ b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistribution::CategoricalUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp b/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp index 16da7b31..2ba8c496 100644 --- a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp +++ b/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp b/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp index 0ab1c93e..f084ce61 100644 --- a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp +++ b/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp b/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp index 248b0b3c..ef9fc2bc 100644 --- a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp +++ b/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_3b15dd13d58f5621aef0faf3baab830e; + virtual return_type_3b15dd13d58f5621aef0faf3baab830e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3b15dd13d58f5621aef0faf3baab830e, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp b/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp index e4479b8f..1b59823b 100644 --- a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp +++ b/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f8b834cb036053208f0363c03de22f19; + virtual return_type_f8b834cb036053208f0363c03de22f19 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f8b834cb036053208f0363c03de22f19, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_ca4ace19940e584a9d9874ea517d3698; + virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; + typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; + typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; + virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp b/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp index 194561b7..653fb6ed 100644 --- a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp +++ b/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp @@ -9,23 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_0def23e37b8e561c9b9ff59c00924f09; + virtual return_type_0def23e37b8e561c9b9ff59c00924f09 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0def23e37b8e561c9b9ff59c00924f09, class_type, copy, ); }; typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; + virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; + typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; + virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - - public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp index 29ad33ce..c0d25237 100644 --- a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp +++ b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistribution::DiscreteMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp index 9d02ee8f..01029e71 100644 --- a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp +++ b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistribution::DiscreteMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp b/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp index 8027e592..3386e87a 100644 --- a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp +++ b/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0388db40fe585921af9148fd9208197d; + virtual return_type_0388db40fe585921af9148fd9208197d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0388db40fe585921af9148fd9208197d, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp index 5b4c3920..fa9d1506 100644 --- a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp +++ b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::UnivariateDistributionEstimation; - - public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp b/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp index a59f1051..79073990 100644 --- a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp +++ b/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_55e0ad648dde5414b320fb3f17e3b500; + virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; + typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; + typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; + virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp index 0ad85879..09685440 100644 --- a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp +++ b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistribution::DiscreteUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp index fc355d3d..3391b4ac 100644 --- a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp +++ b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp @@ -8,20 +8,12 @@ namespace autowig { public: - - public: typedef double return_type_1aba7220d8185b52a1202c2468b95edb; virtual return_type_1aba7220d8185b52a1202c2468b95edb weight() const override { PYBIND11_OVERLOAD_PURE(return_type_1aba7220d8185b52a1202c2468b95edb, class_type, weight, ); }; - - public: typedef struct ::statiskit::UnivariateEvent const * return_type_06724bc676b252b98a07b30de6e65bee; virtual return_type_06724bc676b252b98a07b30de6e65bee event() const override { PYBIND11_OVERLOAD_PURE(return_type_06724bc676b252b98a07b30de6e65bee, class_type, event, ); }; - - public: typedef struct ::statiskit::UnivariateData::Generator & return_type_de48c02aa8db50929f6a3f8784c2ec4d; virtual return_type_de48c02aa8db50929f6a3f8784c2ec4d operator++() override { PYBIND11_OVERLOAD_PURE(return_type_de48c02aa8db50929f6a3f8784c2ec4d, class_type, operator++, ); }; - - public: typedef bool return_type_ef9b151802e1543cb7c98d1c40761fbe; virtual return_type_ef9b151802e1543cb7c98d1c40761fbe is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_ef9b151802e1543cb7c98d1c40761fbe, class_type, is_valid, ); }; }; diff --git a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp index 5f0c0753..e666b523 100644 --- a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp +++ b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::DiscreteEvent::DiscreteEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp b/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp index b5d0f1d2..f5cbb00d 100644 --- a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp +++ b/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_211930b4467c5394b7933fdf64c94e73; + virtual return_type_211930b4467c5394b7933fdf64c94e73 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_211930b4467c5394b7933fdf64c94e73, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1b474f5a5e7a5dc3894e485ae0076666; + virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; typedef double return_type_75c720739866535bb74aece0734d68b3; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; + typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; + typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; + virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp b/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp index f195a235..9605392a 100644 --- a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp +++ b/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp @@ -8,8 +8,6 @@ namespace autowig { public: - - public: typedef ::statiskit::SingularDistributionEstimation::estimated_type const * return_type_5a217a5a2172529fb9cae0338394139f; virtual return_type_5a217a5a2172529fb9cae0338394139f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_5a217a5a2172529fb9cae0338394139f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp index c316bf7d..fc8de258 100644 --- a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp +++ b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_7b1ce88d04fc5ffb8e9402122cfa4883; virtual return_type_7b1ce88d04fc5ffb8e9402122cfa4883 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7b1ce88d04fc5ffb8e9402122cfa4883, class_type, copy, ); }; - - public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp b/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp index 3469efee..cda775cd 100644 --- a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp +++ b/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp index ef0edf2f..527e90c0 100644 --- a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp +++ b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_b99a360f77cf53eb8f24401404499387; virtual return_type_b99a360f77cf53eb8f24401404499387 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_b99a360f77cf53eb8f24401404499387, class_type, copy, ); }; - - public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp b/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp index 0620a87f..862c9bf7 100644 --- a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp +++ b/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp @@ -9,24 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_28dc383dfbf7582aa9f956fa8a4a6234; + virtual return_type_28dc383dfbf7582aa9f956fa8a4a6234 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_28dc383dfbf7582aa9f956fa8a4a6234, class_type, copy, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; + virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; + typedef double return_type_e1babe464b835687aea3395298d710d6; + typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; + virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; + typedef double return_type_0c7621818b33548e866bb39bbb4e2157; + typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; + virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; + typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; + virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp b/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp index 801494f5..5236ce97 100644 --- a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp +++ b/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp index 00631905..c81bed89 100644 --- a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp +++ b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp b/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp index fc6776e8..24b46e34 100644 --- a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp +++ b/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c82d383b9d4b56a280155ae882087ecb; + virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; + typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; + typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; + virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp b/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp index 61ddf05a..27f63064 100644 --- a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp +++ b/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_f7ce59e3c2a75d608a6dbf9d4d96253d; + virtual return_type_f7ce59e3c2a75d608a6dbf9d4d96253d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f7ce59e3c2a75d608a6dbf9d4d96253d, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp index 1601f785..3c3e3eb6 100644 --- a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp +++ b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::MultivariateDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp index 228ca613..75cf2ea9 100644 --- a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp +++ b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::MultivariateDistribution::MultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -48,7 +38,7 @@ void wrapper_4540538b16205d90be33cf08feed0673(pybind11::module& module) { pybind11::class_::Type > class_4540538b16205d90be33cf08feed0673(module, "MultivariateDistribution", ""); - class_4540538b16205d90be33cf08feed0673.def("get_nb_components", method_pointer_6bbdbd5137365f409e51be059aaa5dec, "Get the number of components of the distribution.\n\n:Return Type:\n [STRIKEOUT::cpp:any:statiskit::Index]\n\n"); + class_4540538b16205d90be33cf08feed0673.def("get_nb_components", method_pointer_6bbdbd5137365f409e51be059aaa5dec, "Get the number of components of the distribution.\n\n:Return Type:\n [STRIKEOUT::cpp:any:unsigned long int]\n\n"); class_4540538b16205d90be33cf08feed0673.def("get_nb_parameters", method_pointer_d6b37eb7a2815c508032d7111fe27b25, "Get the number of parameters of the distribution.\n\n:Return Type:\n :cpp:any:`unsigned` int\n\n"); class_4540538b16205d90be33cf08feed0673.def("probability", method_pointer_1b1aa04affe25769a45aa61f808a0a19, ""); class_4540538b16205d90be33cf08feed0673.def("loglikelihood", method_pointer_6285df200fdc5073aaa5aab9a61032f1, "Compute the log-likelihood of an univariate dataset according to the\nconsidered multiivariate distribution.\n\n:Parameter:\n `data` (:cpp:class:`::statiskit::MultivariateData`) - The considered multivariate dataset.\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp b/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp index c5498999..fe767894 100644 --- a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp +++ b/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_156b4d4dac65559aa215ae8033a77464; + virtual return_type_156b4d4dac65559aa215ae8033a77464 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_156b4d4dac65559aa215ae8033a77464, class_type, copy, ); }; + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp index 7ae1a296..da9e2a9c 100644 --- a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp +++ b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_8f20422aab135f9fb601488df3d82cfa; virtual return_type_8f20422aab135f9fb601488df3d82cfa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8f20422aab135f9fb601488df3d82cfa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp b/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp index a6e307fb..3b89c518 100644 --- a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp +++ b/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_c2857e0629345afa858086d561ab4c94; + virtual return_type_c2857e0629345afa858086d561ab4c94 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c2857e0629345afa858086d561ab4c94, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1863dd311c78529ba677c48bf437e4ae; + virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; + typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; + typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; + virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp b/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp index 09e20171..e59424f1 100644 --- a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp +++ b/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp index 3cf3f392..4143eef2 100644 --- a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp +++ b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSolver::SlopeHeuristicSolver; - - public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp b/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp index 51bb0647..9df41779 100644 --- a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp +++ b/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_ac1d2084aec051319f07ccbf56f83bc3; + virtual return_type_ac1d2084aec051319f07ccbf56f83bc3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ac1d2084aec051319f07ccbf56f83bc3, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; + virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; typedef double return_type_a8793d7694b85cea8bead585bebfa116; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; + typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; + typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; + virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp index cd16bfff..9981d777 100644 --- a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp +++ b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp @@ -9,44 +9,30 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistribution::ContinuousUnivariateDistribution; - - public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp b/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp index 137c5aa5..3c98ae6b 100644 --- a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp +++ b/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp index e4c121bd..b88c0b69 100644 --- a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp +++ b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp @@ -8,8 +8,6 @@ namespace autowig { public: - - public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp b/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp index 714a4576..50223172 100644 --- a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp +++ b/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp @@ -9,23 +9,29 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::UnivariateMixtureDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; + virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; + typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; + virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; + typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; + virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; + virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp b/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp index 8be564ec..9af7ef11 100644 --- a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp +++ b/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< double, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp b/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp index 374d6afb..9c09ed5b 100644 --- a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp +++ b/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp b/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp index 5a266ee1..0a22b63d 100644 --- a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp +++ b/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_053e767a390652988ee6da6fefa3ee5e; + virtual return_type_053e767a390652988ee6da6fefa3ee5e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_053e767a390652988ee6da6fefa3ee5e, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_def090d4b953521f8c2bc7b02153b148; + virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; + typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; + typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; + virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp b/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp index da857627..520b472f 100644 --- a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp +++ b/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_78031971f0705ffc86e8634f03598d07; + virtual return_type_78031971f0705ffc86e8634f03598d07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_78031971f0705ffc86e8634f03598d07, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_cc937d079d9f5df3a0af0c0ca425c038; + virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; + typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; + typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; + virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp b/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp index f8871b32..852b06bd 100644 --- a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp +++ b/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_def090d4b953521f8c2bc7b02153b148; + virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; + typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; + typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; + virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp index a37f0dcc..69b02c89 100644 --- a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp +++ b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp @@ -9,27 +9,21 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::MultivariateData >::WeightedData; - - public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; + virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; + typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; + virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - - public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp b/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp index 1d6b7daa..7c542ed5 100644 --- a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp +++ b/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp b/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp index 20554b31..e90bc16d 100644 --- a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp +++ b/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp b/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp index a7682bfc..5bf8ba4e 100644 --- a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp +++ b/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_54ccfbb2a06051f0a2246692c1943769; + virtual return_type_54ccfbb2a06051f0a2246692c1943769 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_54ccfbb2a06051f0a2246692c1943769, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp b/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp index 345f82fc..c21b8238 100644 --- a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp +++ b/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_431ab0a81913563e8a2199e34aeb94d0; + virtual return_type_431ab0a81913563e8a2199e34aeb94d0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_431ab0a81913563e8a2199e34aeb94d0, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_64dbb43dd673576da853b5fa47a4cd5e; + virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; + typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; + typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; + virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp b/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp index c3cb9eda..f03beeb3 100644 --- a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp +++ b/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::UnivariateMixtureDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; + virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; + typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; + typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; + virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; + typedef double return_type_c2f2633e3385585c93829c94dc639f88; + typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; + virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; + virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp b/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp index 5a30b86c..52535be2 100644 --- a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp +++ b/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp @@ -9,19 +9,34 @@ namespace autowig public: using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - - public: + typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; + virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; + typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; + virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; + typedef double return_type_13b291014f9656599dba7f710c381612; + typedef double const & param_13b291014f9656599dba7f710c381612_0_type; + virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; + virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; + typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; + typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; + virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; + typedef double return_type_c2f2633e3385585c93829c94dc639f88; + typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; + virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; + virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp index e8ad9e70..d01c3a4c 100644 --- a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp +++ b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistribution::ContinuousMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp b/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp index 53c553bb..6a412637 100644 --- a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp +++ b/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< unsigned int, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp index 8a18de39..3eda216a 100644 --- a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp +++ b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp @@ -9,16 +9,16 @@ namespace autowig public: using ::statiskit::SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver; - - protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - - public: + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; + virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp index ded5acf6..57a39d98 100644 --- a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp +++ b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp @@ -9,17 +9,15 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::UnivariateData >::WeightedData; - - public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_57b9553abf9954478e69ba31cf3316cb; + virtual return_type_57b9553abf9954478e69ba31cf3316cb generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_57b9553abf9954478e69ba31cf3316cb, class_type, generator, ); }; + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; + virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; - - public: typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp b/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp index 9583a4da..9bc03309 100644 --- a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp +++ b/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_d4181de1506551d9b4cabd76eecd0c24; + virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; + typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; + typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; + virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp index 15d0e32a..c7a76a05 100644 --- a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp +++ b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteSampleSpace::DiscreteSampleSpace; - - public: + typedef enum ::statiskit::ordering_type return_type_1c79f8878a485dcf8ba547f4277ceac9; + virtual return_type_1c79f8878a485dcf8ba547f4277ceac9 get_ordering() const override { PYBIND11_OVERLOAD(return_type_1c79f8878a485dcf8ba547f4277ceac9, class_type, get_ordering, ); }; + typedef enum ::statiskit::outcome_type return_type_ef088c60e12c52ca84b4af897e2a354b; + virtual return_type_ef088c60e12c52ca84b4af897e2a354b get_outcome() const override { PYBIND11_OVERLOAD(return_type_ef088c60e12c52ca84b4af897e2a354b, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp b/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp index 642e51fd..9a4d8c77 100644 --- a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp +++ b/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp b/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp index b1aab039..c3c79a50 100644 --- a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp +++ b/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp @@ -9,31 +9,25 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7dbece17872e5cce898e9d7b8293d883; + virtual return_type_7dbece17872e5cce898e9d7b8293d883 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7dbece17872e5cce898e9d7b8293d883, class_type, copy, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp b/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp index d4770f60..3df9a802 100644 --- a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp +++ b/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp b/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp index 6cc35e23..5eec21c7 100644 --- a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp +++ b/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_c68c83f5773a5706b0b93719a1508225; + virtual return_type_c68c83f5773a5706b0b93719a1508225 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c68c83f5773a5706b0b93719a1508225, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_4c55f907bce55349844e6cc78c19f098; + virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; typedef double return_type_327da71272ea5094808d7deb45c022e6; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; + typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; + typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; + virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp b/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp index c1baa3d1..c7ab0c3b 100644 --- a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp +++ b/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp @@ -9,46 +9,34 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; + virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; }; @@ -61,7 +49,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_1157cb20a6ba50f4ac122a4073e4d233)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_33dc9480a07659b98c327385a72a25fd)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_b74fe6a6e4715bb59583c5934d1296a1)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_217ee43044b0593682e33e25cbb132fe)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_217ee43044b0593682e33e25cbb132fe)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_e300d1f555145a39b36187e8d3d9f24b)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_7219e901927a56de8ce0b8348229839c)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp index 82785d3d..253a610f 100644 --- a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp +++ b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::ContinuousEvent::ContinuousEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp b/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp index e82fd620..90d4664a 100644 --- a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp +++ b/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp @@ -9,24 +9,20 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_61603fcc9028554ca7ca4d0e23c17a66; + virtual return_type_61603fcc9028554ca7ca4d0e23c17a66 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_61603fcc9028554ca7ca4d0e23c17a66, class_type, copy, ); }; typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; + virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp index 9a071940..32158093 100644 --- a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp +++ b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistribution::MultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp index b33a61aa..c55bd4f5 100644 --- a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp +++ b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_6ebe27bc0146505b8291b992f2b16ca6.cpp b/src/py/wrapper/wrapper_6ebe27bc0146505b8291b992f2b16ca6.cpp deleted file mode 100644 index 615ef6ca..00000000 --- a/src/py/wrapper/wrapper_6ebe27bc0146505b8291b992f2b16ca6.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "_core.h" - - -void wrapper_6ebe27bc0146505b8291b992f2b16ca6(pybind11::module& module) -{ - - - pybind11::register_exception< struct ::statiskit::proxy_connection_error >(module, "ProxyConnectionError"); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp b/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp index c7b802ee..727c072e 100644 --- a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp +++ b/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; + virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; + typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; + typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; + virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp b/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp index bcfb729a..0ef4ac06 100644 --- a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp +++ b/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_381c73e64ead5c259f146f94a515f23e; + virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; typedef double return_type_3f32a8595a7457cdb1730a938df93a52; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; + typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; + typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; + virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp b/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp index a3d65bcd..d4da9781 100644 --- a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp +++ b/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp @@ -9,21 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0927c177d8f25e769df847098dc0fbdf; + virtual return_type_0927c177d8f25e769df847098dc0fbdf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0927c177d8f25e769df847098dc0fbdf, class_type, copy, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; + virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; + typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; + virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; + typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; + virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; + virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp b/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp index f896a2a6..b630347d 100644 --- a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp +++ b/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e731d0981dfa5ad7932de7d2d4730d2d; + virtual return_type_e731d0981dfa5ad7932de7d2d4730d2d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e731d0981dfa5ad7932de7d2d4730d2d, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp b/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp index 70b2b93b..24556231 100644 --- a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp +++ b/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_9cfff9401f1a5379b50bfde6487367bd; + virtual return_type_9cfff9401f1a5379b50bfde6487367bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9cfff9401f1a5379b50bfde6487367bd, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp index 1ff20b49..02d29efb 100644 --- a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp +++ b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp @@ -8,27 +8,17 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp b/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp index a2f68aad..f056071d 100644 --- a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp +++ b/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8900ad62e63950c5a85971d4d5a063e4; + virtual return_type_8900ad62e63950c5a85971d4d5a063e4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8900ad62e63950c5a85971d4d5a063e4, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp b/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp index 1ef43fcd..4bd6dc59 100644 --- a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp +++ b/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7c517b8061e85c15a1150cdc0c876aad; + virtual return_type_7c517b8061e85c15a1150cdc0c876aad copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7c517b8061e85c15a1150cdc0c876aad, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp b/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp index 5c0c9415..9480a085 100644 --- a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp +++ b/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp b/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp index 04b9f829..7ca43577 100644 --- a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp +++ b/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp @@ -9,42 +9,34 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; + virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; @@ -57,7 +49,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_7d8c2a10d3c05b92ac6405acab6c0f44)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_2fb11bb0a2485540a23ef1fb88f9ee3a)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_23361478d0755a63b1f88ffcadd164e4)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_53b7d3603a8754c6ad42211b2b9d9e7d)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_53b7d3603a8754c6ad42211b2b9d9e7d)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_a3ff30a188f45403b73a68db67aa2b5e)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_da2a6ab77d635d259b7452eed4ed7fd1)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp index 31456a40..f6846501 100644 --- a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp +++ b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistribution::UnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp b/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp index 4f5a486d..f04d8d28 100644 --- a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp +++ b/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_4c55f907bce55349844e6cc78c19f098; + virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; typedef double return_type_327da71272ea5094808d7deb45c022e6; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; + typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; + typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; + virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp b/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp index abe16910..115e7e89 100644 --- a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp +++ b/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_c1b9b85064ea5c2083c7e6ac77d19f03; + virtual return_type_c1b9b85064ea5c2083c7e6ac77d19f03 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1b9b85064ea5c2083c7e6ac77d19f03, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp b/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp index 94583914..4cf7c5a6 100644 --- a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp +++ b/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_850400feaf015819b89ae0fb0bc38962.cpp b/src/py/wrapper/wrapper_850400feaf015819b89ae0fb0bc38962.cpp index f1d5ddf2..dc4cfea7 100644 --- a/src/py/wrapper/wrapper_850400feaf015819b89ae0fb0bc38962.cpp +++ b/src/py/wrapper/wrapper_850400feaf015819b89ae0fb0bc38962.cpp @@ -2,8 +2,8 @@ class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > (::statiskit::OrdinalSampleSpace::*method_pointer_521b4a3827bc56de8b09121e7ab54dde)()const= &::statiskit::OrdinalSampleSpace::get_ordered; void (::statiskit::OrdinalSampleSpace::*method_pointer_1f7f4bbcf48756c8b4ab24c57b9e03b2)(class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &)= &::statiskit::OrdinalSampleSpace::set_ordered; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > const & (::statiskit::OrdinalSampleSpace::*method_pointer_bbbcd1f7befd501da33c8bc0a6ca7d94)()const= &::statiskit::OrdinalSampleSpace::get_rank; -void (::statiskit::OrdinalSampleSpace::*method_pointer_106705a757c553aa881c46d55a55ded5)(class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > const &)= &::statiskit::OrdinalSampleSpace::set_rank; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > const & (::statiskit::OrdinalSampleSpace::*method_pointer_bbbcd1f7befd501da33c8bc0a6ca7d94)()const= &::statiskit::OrdinalSampleSpace::get_rank; +void (::statiskit::OrdinalSampleSpace::*method_pointer_106705a757c553aa881c46d55a55ded5)(class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > const &)= &::statiskit::OrdinalSampleSpace::set_rank; void (::statiskit::OrdinalSampleSpace::*method_pointer_343159b54c8a5f0da44d25b4d4786073)()= &::statiskit::OrdinalSampleSpace::randomize; class ::std::unique_ptr< class ::statiskit::NominalSampleSpace, struct ::std::default_delete< class ::statiskit::NominalSampleSpace > > (::statiskit::OrdinalSampleSpace::*method_pointer_57b6fbac4790575084fe42696914a551)()const= &::statiskit::OrdinalSampleSpace::as_nominal; diff --git a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp b/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp index 8122b934..1db5b289 100644 --- a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp +++ b/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a58dd202321053739da0da35b6fe998a; + virtual return_type_a58dd202321053739da0da35b6fe998a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a58dd202321053739da0da35b6fe998a, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp b/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp index feea6a0f..c8b58c64 100644 --- a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp +++ b/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_5ff7db9761e15a5f9e6244d676d443a8; + virtual return_type_5ff7db9761e15a5f9e6244d676d443a8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ff7db9761e15a5f9e6244d676d443a8, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_55e0ad648dde5414b320fb3f17e3b500; + virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; + typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; + typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; + virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp index 8fa9046a..1be6917f 100644 --- a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp +++ b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::UnivariateDispersionEstimation; - - public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp b/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp index bf4d5c6c..6b17f03c 100644 --- a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp +++ b/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp index ffd3346d..1ed0bb8c 100644 --- a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp +++ b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp @@ -8,30 +8,18 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; - - public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp b/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp index 7ea14ebe..146f0689 100644 --- a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp +++ b/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_3e4097cae0375266a0709347ead82e61; + virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; + typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; + typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; + virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp b/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp index 0a181a9e..9bd16344 100644 --- a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp +++ b/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp @@ -9,28 +9,20 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_d15c4654ed8057b88112aca660e855c0; typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; + virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -43,7 +35,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_07e0018ec5b751b7bba04dbd50815753)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_2cd6c078416e568799bab23dfb509e2f)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_b228d8d88e9b5bb4b32da69c87abc7dc)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_f9d07f1dafa95a2582d11d0afb166d3a)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_f9d07f1dafa95a2582d11d0afb166d3a)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_5ec1f291269a5a61a3a8ad54a8af8fad)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_ad794feca936536a9d56d44c7b798eb2)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp b/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp index 60f05c28..312a9af7 100644 --- a/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp +++ b/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp @@ -2,8 +2,8 @@ double (::statiskit::OrdinalDistribution::*method_pointer_a54dd636c7c55391bfd812f5d7245a30)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::OrdinalDistribution::cdf; class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > (::statiskit::OrdinalDistribution::*method_pointer_3a158202c1d255b288e7551a54d7da77)(double const &)const= &::statiskit::OrdinalDistribution::quantile; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > const & (::statiskit::OrdinalDistribution::*method_pointer_62cba730d5e3581397b8ef655cd24ed2)()const= &::statiskit::OrdinalDistribution::get_rank; -void (::statiskit::OrdinalDistribution::*method_pointer_db526d174fc9507eb1d122f82bc9993d)(class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > const &)= &::statiskit::OrdinalDistribution::set_rank; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > const & (::statiskit::OrdinalDistribution::*method_pointer_62cba730d5e3581397b8ef655cd24ed2)()const= &::statiskit::OrdinalDistribution::get_rank; +void (::statiskit::OrdinalDistribution::*method_pointer_db526d174fc9507eb1d122f82bc9993d)(class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > const &)= &::statiskit::OrdinalDistribution::set_rank; class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > (::statiskit::OrdinalDistribution::*method_pointer_cd2fd67328055e57857d50fcf8a78fc0)()const= &::statiskit::OrdinalDistribution::get_ordered_values; void (::statiskit::OrdinalDistribution::*method_pointer_da2eb19c0a0b518eb3ab687da2980eb0)(class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &)= &::statiskit::OrdinalDistribution::set_ordered_values; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::OrdinalDistribution::*method_pointer_5d709a6893565f3d822c0275a54e9c95)()const= &::statiskit::OrdinalDistribution::get_ordered_pi; @@ -21,8 +21,8 @@ void wrapper_8efea02ccdc156c4aa5aae37b04b810a(pybind11::module& module) class_8efea02ccdc156c4aa5aae37b04b810a.def(pybind11::init< class ::statiskit::OrdinalDistribution const & >()); class_8efea02ccdc156c4aa5aae37b04b810a.def("cdf", method_pointer_a54dd636c7c55391bfd812f5d7245a30, "Compute the cumulative probability of a category\n\n- :raw-latex:`\\details `Let $s_j\n :raw-latex:`\\in `:raw-latex:`\\mathcal{S}` $ denote the category\n- ::\n\n $$\n\n- ::\n\n P\\left(S \\leq s_j\\right) = \\sum_{i \\leq j} P\\left(S = s_i\\right).\n\n- ::\n\n $$\n\n- :raw-latex:`\\param `value The considered category.\n\n:Parameter:\n `value` (:cpp:any:`::std::basic_string<` char, struct\n::std::char_traits< char >, class ::std::allocator< char > >) - Undocumented\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_8efea02ccdc156c4aa5aae37b04b810a.def("quantile", method_pointer_3a158202c1d255b288e7551a54d7da77, "Compute the quantile of a probability $ p :raw-latex:`\\in `(0,1) $. This\nis the category $ s_j :raw-latex:`\\in `:raw-latex:`\\mathcal{S}` $ such\nthat $ P(S :raw-latex:`\\leq `s_j) :raw-latex:`\\leq `p < P(N\n:raw-latex:`\\leq `s_{j+1}) $. \\* :raw-latex:`\\param `p The considered\nprobability p.\n\n:Parameter:\n `p` (:cpp:any:`double`) - Undocumented\n\n:Return Type:\n :cpp:any:`::std::basic_string<` char, struct\n ::std::char_traits< char >, class ::std::allocator< char > >\n\n"); - class_8efea02ccdc156c4aa5aae37b04b810a.def("get_rank", method_pointer_62cba730d5e3581397b8ef655cd24ed2, pybind11::return_value_policy::copy, "Get the rank of each category in lexicographic order.\n\n:Return Type:\n :cpp:any:`::std::vector<` statiskit::Index, class\n ::std::allocator< statiskit::Index > >\n\n"); - class_8efea02ccdc156c4aa5aae37b04b810a.def("set_rank", method_pointer_db526d174fc9507eb1d122f82bc9993d, "Set the rank of each category in lexicographic order.\n\n:Parameter:\n `rank` (:cpp:any:`::std::vector<` statiskit::Index, class\n::std::allocator< statiskit::Index > >) - Undocumented\n\n:Return Type:\n :cpp:any:`void`\n\n"); + class_8efea02ccdc156c4aa5aae37b04b810a.def("get_rank", method_pointer_62cba730d5e3581397b8ef655cd24ed2, pybind11::return_value_policy::copy, "Get the rank of each category in lexicographic order.\n\n:Return Type:\n :cpp:any:`::std::vector<` unsigned long int, class\n ::std::allocator< unsigned long int > >\n\n"); + class_8efea02ccdc156c4aa5aae37b04b810a.def("set_rank", method_pointer_db526d174fc9507eb1d122f82bc9993d, "Set the rank of each category in lexicographic order.\n\n:Parameter:\n `rank` (:cpp:any:`::std::vector<` unsigned long int, class\n::std::allocator< unsigned long int > >) - Undocumented\n\n:Return Type:\n :cpp:any:`void`\n\n"); class_8efea02ccdc156c4aa5aae37b04b810a.def("get_ordered_values", method_pointer_cd2fd67328055e57857d50fcf8a78fc0, "Get the vector of ordered categories.\n\n:Return Type:\n :cpp:any:`::std::vector<` class ::std::basic_string< char,\n struct ::std::char_traits< char >, class ::std::allocator< char > >,\n class ::std::allocator< class ::std::basic_string< char, struct\n ::std::char_traits< char >, class ::std::allocator< char > > > >\n\n"); class_8efea02ccdc156c4aa5aae37b04b810a.def("set_ordered_values", method_pointer_da2eb19c0a0b518eb3ab687da2980eb0, "set the vector of ordered categories.\n\n:Parameter:\n `ordered_values` (:cpp:any:`::std::vector<` class ::std::basic_string< char,\nstruct ::std::char_traits< char >, class ::std::allocator< char > >,\nclass ::std::allocator< class ::std::basic_string< char, struct\n::std::char_traits< char >, class ::std::allocator< char > > > >) - Undocumented\n\n:Return Type:\n :cpp:any:`void`\n\n"); class_8efea02ccdc156c4aa5aae37b04b810a.def("get_ordered_pi", method_pointer_5d709a6893565f3d822c0275a54e9c95, "Get the probabilities vector of ordered categories.\n\n:Return Type:\n :cpp:any:`::Eigen::Matrix<` double, -1, 1, 0, -1, 1 >\n\n"); diff --git a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp b/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp index 03c495f0..ba052017 100644 --- a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp +++ b/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f19d92ac6e4f5f648d37804c69a385bd; + virtual return_type_f19d92ac6e4f5f648d37804c69a385bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f19d92ac6e4f5f648d37804c69a385bd, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp b/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp index 288ea946..0a345ff9 100644 --- a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp +++ b/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp b/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp index 1ee1df10..92621ee7 100644 --- a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp +++ b/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp b/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp index 5bc39cac..735de6fc 100644 --- a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp +++ b/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_cc937d079d9f5df3a0af0c0ca425c038; + virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; + typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; + typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; + virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp b/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp index ef55e3c0..cae789d8 100644 --- a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp +++ b/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp b/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp index b93872f1..285f83d8 100644 --- a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp +++ b/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4845db8dd90f581fa8c1e9b58aa36976; + virtual return_type_4845db8dd90f581fa8c1e9b58aa36976 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4845db8dd90f581fa8c1e9b58aa36976, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp index 38d8ba87..9d8fe1b3 100644 --- a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp +++ b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp @@ -8,20 +8,12 @@ namespace autowig { public: - - public: typedef double return_type_97dd3ac3ad43541faf4f468d1c840930; virtual return_type_97dd3ac3ad43541faf4f468d1c840930 weight() const override { PYBIND11_OVERLOAD_PURE(return_type_97dd3ac3ad43541faf4f468d1c840930, class_type, weight, ); }; - - public: typedef struct ::statiskit::MultivariateEvent const * return_type_8c2339dd565653b4a935b28162423031; virtual return_type_8c2339dd565653b4a935b28162423031 event() const override { PYBIND11_OVERLOAD_PURE(return_type_8c2339dd565653b4a935b28162423031, class_type, event, ); }; - - public: typedef struct ::statiskit::MultivariateData::Generator & return_type_63b969fdfda0571a865b8fd09d42ff6f; virtual return_type_63b969fdfda0571a865b8fd09d42ff6f operator++() override { PYBIND11_OVERLOAD_PURE(return_type_63b969fdfda0571a865b8fd09d42ff6f, class_type, operator++, ); }; - - public: typedef bool return_type_d3e757b7d5b05c689e6686d4856df74c; virtual return_type_d3e757b7d5b05c689e6686d4856df74c is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_d3e757b7d5b05c689e6686d4856df74c, class_type, is_valid, ); }; }; diff --git a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp b/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp index 5d2df754..76df888c 100644 --- a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp +++ b/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp @@ -9,19 +9,34 @@ namespace autowig public: using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - - public: + typedef double return_type_c4dc031fcd6b5b508c63fc475642c309; + virtual return_type_c4dc031fcd6b5b508c63fc475642c309 get_variance() const override { PYBIND11_OVERLOAD(return_type_c4dc031fcd6b5b508c63fc475642c309, class_type, get_variance, ); }; + typedef double return_type_b7de9903a18f5021ac4a5f63c60a0db4; + virtual return_type_b7de9903a18f5021ac4a5f63c60a0db4 get_mean() const override { PYBIND11_OVERLOAD(return_type_b7de9903a18f5021ac4a5f63c60a0db4, class_type, get_mean, ); }; + typedef double return_type_e3a3227c8b17560ea250e74ba2447dfc; + typedef int const & param_e3a3227c8b17560ea250e74ba2447dfc_0_type; + virtual return_type_e3a3227c8b17560ea250e74ba2447dfc cdf(param_e3a3227c8b17560ea250e74ba2447dfc_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e3a3227c8b17560ea250e74ba2447dfc, class_type, cdf, param_0); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; + virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; + typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; + typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; + virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; + typedef double return_type_b288349953745909be3b581da8f23621; + typedef int const & param_b288349953745909be3b581da8f23621_0_type; + virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; typedef void return_type_246a8d3423cf5748b68f545f10de89b7; typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; + virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp index e23b940c..3e06ca8f 100644 --- a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp +++ b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::DiscreteMultivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp index 39acb870..89922a10 100644 --- a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp +++ b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_fd8c28a661ec58aba7edb069108b96b4; virtual return_type_fd8c28a661ec58aba7edb069108b96b4 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_fd8c28a661ec58aba7edb069108b96b4, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp b/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp index 0baa076a..04f067ac 100644 --- a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp +++ b/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp index cd959f36..f12bccdb 100644 --- a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp +++ b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::CategoricalUnivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - - public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp index 6f6ff764..0ce5f8b7 100644 --- a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp +++ b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::ContinuousMultivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp index c5d55c5f..4ec71b5c 100644 --- a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp +++ b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::CategoricalMultivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp b/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp index 08f52ca9..37016bbb 100644 --- a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp +++ b/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp @@ -9,24 +9,20 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_6dffe773391b54129ba5e7a4d7a1ce93; + virtual return_type_6dffe773391b54129ba5e7a4d7a1ce93 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6dffe773391b54129ba5e7a4d7a1ce93, class_type, copy, ); }; typedef void return_type_b53a6340c14552d5865d67a55ffa953b; typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; + virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp index 5b8bcbff..1202e930 100644 --- a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp +++ b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp @@ -8,17 +8,11 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; - - public: typedef struct ::statiskit::UnivariateEvent const * return_type_10a704d5992d559888ef502fa18a5a47; typedef ::statiskit::Index const & param_10a704d5992d559888ef502fa18a5a47_0_type; virtual return_type_10a704d5992d559888ef502fa18a5a47 get(param_10a704d5992d559888ef502fa18a5a47_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_10a704d5992d559888ef502fa18a5a47, class_type, get, param_0); }; - - public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp index 7195dcde..fe88fae1 100644 --- a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp +++ b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp @@ -9,13 +9,25 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::CategoricalUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp index 25071bdd..9138dfeb 100644 --- a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp +++ b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistribution::CategoricalMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp b/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp index 1b9d2020..38a1d259 100644 --- a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp +++ b/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp index 052d01ec..caa9087e 100644 --- a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp +++ b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousSampleSpace::ContinuousSampleSpace; - - public: + typedef enum ::statiskit::ordering_type return_type_dd35b002873d50f698c1c0f5e685daf1; + virtual return_type_dd35b002873d50f698c1c0f5e685daf1 get_ordering() const override { PYBIND11_OVERLOAD(return_type_dd35b002873d50f698c1c0f5e685daf1, class_type, get_ordering, ); }; + typedef enum ::statiskit::outcome_type return_type_ce443c4aefe55cf5b2debe02d45c58ed; + virtual return_type_ce443c4aefe55cf5b2debe02d45c58ed get_outcome() const override { PYBIND11_OVERLOAD(return_type_ce443c4aefe55cf5b2debe02d45c58ed, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp b/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp index 966a70eb..198aba6a 100644 --- a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp +++ b/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp @@ -9,25 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_5ffb2d1e87a256369b8d70fb5cea4fb5; + virtual return_type_5ffb2d1e87a256369b8d70fb5cea4fb5 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ffb2d1e87a256369b8d70fb5cea4fb5, class_type, copy, ); }; typedef void return_type_68960ed00cc65811a690382a0d67ba31; typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; + virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp index 79bf817c..f54ededf 100644 --- a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp +++ b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; - - public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp b/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp index 72858c63..08713644 100644 --- a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp +++ b/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp @@ -9,11 +9,27 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0e4345f3571359f58c41cadd98747428; + virtual return_type_0e4345f3571359f58c41cadd98747428 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0e4345f3571359f58c41cadd98747428, class_type, copy, ); }; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp b/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp index 5517b4f1..2f54f5a3 100644 --- a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp +++ b/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp b/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp index aa7585ef..bbe41648 100644 --- a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp +++ b/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_05579a3737225709b6044b99e252ec00; + virtual return_type_05579a3737225709b6044b99e252ec00 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_05579a3737225709b6044b99e252ec00, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp b/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp index 5679797c..e59bdd4d 100644 --- a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp +++ b/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp index ba353f9c..e3c5ade4 100644 --- a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp +++ b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::DiscreteMultivariateDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp b/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp index c6647bc2..4f40e0ae 100644 --- a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp +++ b/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; + virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; + typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; + typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; + virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp b/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp index f601be6c..f96326a4 100644 --- a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp +++ b/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp @@ -9,28 +9,20 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; + virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -43,7 +35,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_6d05ca4966d45471bdddd95a3e918b58)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_2616482a64eb565298d5fdb46bb49adc)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_724063f531c95b1ba918babb9d1aa3bb)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_4024d714f8fb52dd94078c2bfa86c79f)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_4024d714f8fb52dd94078c2bfa86c79f)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_785f1ace27045787a383d04d4f9f1768)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_ca4d594d4b315670963fd0d25021da4e)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp b/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp index 78b2bf48..f696637a 100644 --- a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp +++ b/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp b/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp index 7d965def..eea501ef 100644 --- a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp +++ b/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp b/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp index 30289b88..b83d5f38 100644 --- a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp +++ b/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp @@ -9,11 +9,27 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_14ec867b8d5d5bccb7161a3ea83a61a4; + virtual return_type_14ec867b8d5d5bccb7161a3ea83a61a4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_14ec867b8d5d5bccb7161a3ea83a61a4, class_type, copy, ); }; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp index 044360d8..6bbcc77e 100644 --- a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp +++ b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp b/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp index 9383645f..f6e97214 100644 --- a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp +++ b/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3; + virtual return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp b/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp index 1b4b1497..d38ee9f3 100644 --- a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp +++ b/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_95733c9061a45d4b93bf81942cfb0f70; + virtual return_type_95733c9061a45d4b93bf81942cfb0f70 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_95733c9061a45d4b93bf81942cfb0f70, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp b/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp index 903f6c79..f2a9ddaf 100644 --- a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp +++ b/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp index a5ede255..379f2879 100644 --- a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp +++ b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - - public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp index fc2b8657..f17e150e 100644 --- a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp +++ b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp @@ -9,26 +9,30 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; + virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; + typedef double return_type_852d458d7fba5b81b3cae095814406be; + typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; + virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; + typedef double return_type_2c40379c66475e45840820e5dddd4293; + typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; + virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; + typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; + virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp b/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp index 5213e6b4..fe7a8fce 100644 --- a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp +++ b/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp index c4ec39fe..39c3003a 100644 --- a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp +++ b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistribution::CategoricalMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp b/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp index 871e3d55..4b071346 100644 --- a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp +++ b/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp @@ -9,17 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a4b7a69c09035fa9b547fc42980b79e0; + virtual return_type_a4b7a69c09035fa9b547fc42980b79e0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a4b7a69c09035fa9b547fc42980b79e0, class_type, copy, ); }; + typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; + virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; + typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; + virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; + typedef double return_type_13b291014f9656599dba7f710c381612; + typedef double const & param_13b291014f9656599dba7f710c381612_0_type; + virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; + virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; + typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; + typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; + virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; + typedef double return_type_c2f2633e3385585c93829c94dc639f88; + typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; + virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; + virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp index 26d31ead..dd611759 100644 --- a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp +++ b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistributionEstimation::CategoricalUnivariateDistributionEstimation; - - public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp b/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp index d4eee673..80dce490 100644 --- a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp +++ b/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp @@ -9,37 +9,29 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; + virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; }; @@ -52,7 +44,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_860c46e189d75b39809c65736e9ee51b)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_0f257c4ead19553d80953d264b42d0a2)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_a1548fa77f255e12a4edf7ac3a5b09e7)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_b320496fd12c5add92498a633f348d75)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_b320496fd12c5add92498a633f348d75)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_b28920b77e07576fb2bc69eeea997f89)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_836435df113e5999ba450ce8a6457d98)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp b/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp index 825e3d12..557c4973 100644 --- a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp +++ b/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_32372a30c33c5afe84773c34bf9d184a; + virtual return_type_32372a30c33c5afe84773c34bf9d184a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_32372a30c33c5afe84773c34bf9d184a, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_3e4097cae0375266a0709347ead82e61; + virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; + typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; + typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; + virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp index 1119d69a..d4ded7c0 100644 --- a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp +++ b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp @@ -8,8 +8,6 @@ namespace autowig { public: - - public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp b/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp index 88df6935..fb07f316 100644 --- a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp +++ b/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp b/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp index 7e01ab67..15c357a9 100644 --- a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp +++ b/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_83006002ee8051fbae55f45fd302b03c; + virtual return_type_83006002ee8051fbae55f45fd302b03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83006002ee8051fbae55f45fd302b03c, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c82d383b9d4b56a280155ae882087ecb; + virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; + typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; + typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; + virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp b/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp index 1af1efc7..b04482c6 100644 --- a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp +++ b/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp @@ -8,18 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_64dbb43dd673576da853b5fa47a4cd5e; + virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; + typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; + typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; + virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_217dfb0ca4fa5215b0825f96ef9498a2; + virtual return_type_217dfb0ca4fa5215b0825f96ef9498a2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_217dfb0ca4fa5215b0825f96ef9498a2, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp b/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp index b0d9611c..2ecfbd20 100644 --- a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp +++ b/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp b/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp index 87c417f0..bfa8ac21 100644 --- a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp +++ b/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8212df695c38549281a6bcb634bd2f31; + virtual return_type_8212df695c38549281a6bcb634bd2f31 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8212df695c38549281a6bcb634bd2f31, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp b/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp index 5acd1eb2..47ce337d 100644 --- a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp +++ b/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp index 39205754..c56004fa 100644 --- a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp +++ b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::CategoricalEvent::CategoricalEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; + virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp index 0a03a456..3a79abe3 100644 --- a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp +++ b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp @@ -9,35 +9,25 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistribution::CategoricalUnivariateDistribution; - - public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp b/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp index c44ddf8d..df909123 100644 --- a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp +++ b/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp b/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp index c6a9cad9..9fab872d 100644 --- a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp +++ b/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp @@ -9,24 +9,20 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_051df2c50206554b9bded4a431031ce8; + virtual return_type_051df2c50206554b9bded4a431031ce8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_051df2c50206554b9bded4a431031ce8, class_type, copy, ); }; typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_95135a341c905d84966c263f09456897; + virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp b/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp index 49eb5b32..77058ebb 100644 --- a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp +++ b/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp @@ -9,24 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_fc52469705645be59b8a970932051267; + virtual return_type_fc52469705645be59b8a970932051267 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_fc52469705645be59b8a970932051267, class_type, copy, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; + virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; + typedef double return_type_852d458d7fba5b81b3cae095814406be; + typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; + virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; + typedef double return_type_2c40379c66475e45840820e5dddd4293; + typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; + virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; + typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; + virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp index f5500ebe..bdaaa0e0 100644 --- a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp +++ b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp @@ -8,12 +8,8 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_8b9c71aa21be519083da91720a92b999; virtual return_type_8b9c71aa21be519083da91720a92b999 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b9c71aa21be519083da91720a92b999, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp b/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp index 02dfaba6..aa5a0472 100644 --- a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp +++ b/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp @@ -9,28 +9,20 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_95135a341c905d84966c263f09456897; + virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -43,7 +35,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_0da7897e2cdb59df8f758fc06f88b579)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_6ec110ed65c95bbdafcd7a8eac50f286)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_2ef3daee602455f4bb59edc9cb1e8116)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_2ec2555e6a3552b0a12beaf4bfb45e07)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_2ec2555e6a3552b0a12beaf4bfb45e07)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_d1a69ac6a265507ea72b7a64367795f1)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_af1dba75f7ed587d9c452594631b7033)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp b/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp index 326ccee2..df765808 100644 --- a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp +++ b/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp b/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp index bb8e4097..8a97e5a2 100644 --- a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp +++ b/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_a0b487653a3856b1bb4b5c6fad17a750; + virtual return_type_a0b487653a3856b1bb4b5c6fad17a750 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a0b487653a3856b1bb4b5c6fad17a750, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp b/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp index fe70069a..996af5fe 100644 --- a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp +++ b/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp @@ -9,26 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6297c3d2b63f55c6978039eca42dfda2; + virtual return_type_6297c3d2b63f55c6978039eca42dfda2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6297c3d2b63f55c6978039eca42dfda2, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; - - public: typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp index 9c8a3874..5a40dea2 100644 --- a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp +++ b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::DiscreteUnivariateConditionalDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - - public: typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp index 10b77461..853feff3 100644 --- a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp +++ b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp @@ -9,22 +9,14 @@ namespace autowig public: using ::statiskit::UnivariateDistribution::UnivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef double return_type_e54dcb61962b537ca725a1f2230202dc; typedef struct ::statiskit::UnivariateEvent const * param_e54dcb61962b537ca725a1f2230202dc_0_type; typedef bool const & param_e54dcb61962b537ca725a1f2230202dc_1_type; virtual return_type_e54dcb61962b537ca725a1f2230202dc probability(param_e54dcb61962b537ca725a1f2230202dc_0_type param_0, param_e54dcb61962b537ca725a1f2230202dc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e54dcb61962b537ca725a1f2230202dc, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp b/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp index a73dd54b..639d37d2 100644 --- a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp +++ b/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp @@ -9,28 +9,20 @@ namespace autowig public: using ::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::MixtureDistribution; - - public: typedef void return_type_b53a6340c14552d5865d67a55ffa953b; typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - - public: + typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; + virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -43,7 +35,7 @@ class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDi void (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_6800c3ec1e5c5f249d955d569fcf0e5f)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::set_pi; class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_751325880b50538aad1c4cd8df410258)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::posterior; ::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_62c3d770ba2e54f28be03db03701fd0e)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::assignment; -class ::std::vector< statiskit::Index, class ::std::allocator< statiskit::Index > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_330bf5a374735b7ea0f7d833524f0a5b)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::assignment; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_330bf5a374735b7ea0f7d833524f0a5b)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::assignment; double (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_04a46ebfe9ff5acea85c197697fb2e98)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::uncertainty; double (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_6d50dd7acd8d5577a073436325d17eab)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::uncertainty; diff --git a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp b/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp index 48fbcba9..a2a8d02b 100644 --- a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp +++ b/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp @@ -9,31 +9,25 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_99af24b40b3d53da8f2cb45b8bcb63cf; + virtual return_type_99af24b40b3d53da8f2cb45b8bcb63cf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_99af24b40b3d53da8f2cb45b8bcb63cf, class_type, copy, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp b/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp index 531bd096..56d977cb 100644 --- a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp +++ b/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_8f1ca79a82965d5faaad8f93d5e9b64d; + virtual return_type_8f1ca79a82965d5faaad8f93d5e9b64d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f1ca79a82965d5faaad8f93d5e9b64d, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; + virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; + typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; + typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; + virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp b/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp index edf16c01..b33dd7ef 100644 --- a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp +++ b/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp @@ -8,22 +8,28 @@ namespace autowig { public: - - protected: + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1863dd311c78529ba677c48bf437e4ae; + virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; + typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; + typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; + virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp b/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp index c95fbbc2..bac6c54b 100644 --- a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp +++ b/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp b/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp index c88724b4..cfe5db80 100644 --- a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp +++ b/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp @@ -8,21 +8,23 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp b/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp index f931431a..50759f92 100644 --- a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp +++ b/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp b/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp index 9f1b65d8..e2bc02f2 100644 --- a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp +++ b/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp b/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp index d2089581..94f5feee 100644 --- a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp +++ b/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_34554cc3c7cd588495a9eee3f1557c07; + virtual return_type_34554cc3c7cd588495a9eee3f1557c07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_34554cc3c7cd588495a9eee3f1557c07, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp index 31e69e15..eb200c24 100644 --- a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp +++ b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp @@ -9,16 +9,10 @@ namespace autowig public: using ::statiskit::UnivariateEvent::UnivariateEvent; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; - - public: typedef enum ::statiskit::outcome_type return_type_68e98310906f5b1a8f388fded81a6acd; virtual return_type_68e98310906f5b1a8f388fded81a6acd get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_68e98310906f5b1a8f388fded81a6acd, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp b/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp index d45c103e..c8dc6032 100644 --- a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp +++ b/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7e17c519dc5859c698700d1e3a4bc0f1; + virtual return_type_7e17c519dc5859c698700d1e3a4bc0f1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7e17c519dc5859c698700d1e3a4bc0f1, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp b/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp index d9698636..5fbd6cd6 100644 --- a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp +++ b/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_9b565121c8e55dc993b285b56b1874cc; + virtual return_type_9b565121c8e55dc993b285b56b1874cc copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b565121c8e55dc993b285b56b1874cc, class_type, copy, ); }; typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp index 2339cd6b..f8a1fbe0 100644 --- a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp +++ b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution; - - public: + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp index 1ee380ee..1aa2b9ce 100644 --- a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp +++ b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistributionEstimation::CategoricalMultivariateDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp index aef71e0f..d676d6fc 100644 --- a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp +++ b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp @@ -9,8 +9,6 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::ContinuousUnivariateDistributionEstimation; - - public: typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp index f2b72df4..c63fb837 100644 --- a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp +++ b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistributionEstimation::ContinuousMultivariateDistributionEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - - public: typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; }; diff --git a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp b/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp index 93e259de..6ad0b243 100644 --- a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp +++ b/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp b/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp index 37396419..d50e9431 100644 --- a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp +++ b/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp @@ -9,18 +9,28 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_6b9c5246bc7c5b2390495090a05fd9b1; + virtual return_type_6b9c5246bc7c5b2390495090a05fd9b1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6b9c5246bc7c5b2390495090a05fd9b1, class_type, copy, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; + virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; + typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; + typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; + virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; }; class Publicist : public class_type { public: + using class_type::children; using class_type::scoring; + using class_type::identifier; }; } diff --git a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp b/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp index 16dea4f9..5c7da7c4 100644 --- a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp +++ b/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp b/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp index b4e84bd0..93cff02d 100644 --- a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp +++ b/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_08012a56a0945c3c8be996ca7758f77d; + virtual return_type_08012a56a0945c3c8be996ca7758f77d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_08012a56a0945c3c8be996ca7758f77d, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp b/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp index 2d02cc2f..7765fb69 100644 --- a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp +++ b/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::OptimizationEstimationImpl< ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp index df7a912e..2dd2e51c 100644 --- a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp +++ b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp @@ -8,31 +8,19 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::MultivariateSampleSpace > > return_type_40d149de873956828c7a7bb6efb1b291; virtual return_type_40d149de873956828c7a7bb6efb1b291 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_40d149de873956828c7a7bb6efb1b291, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_453c7ae8bd33563d9ea0317dca724475; typedef struct ::statiskit::MultivariateEvent const & param_453c7ae8bd33563d9ea0317dca724475_0_type; virtual return_type_453c7ae8bd33563d9ea0317dca724475 encode(param_453c7ae8bd33563d9ea0317dca724475_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_453c7ae8bd33563d9ea0317dca724475, class_type, encode, param_0); }; - - public: typedef ::statiskit::Index return_type_58045e2837b651c18e64ce6ac4e0be9e; virtual return_type_58045e2837b651c18e64ce6ac4e0be9e encode() const override { PYBIND11_OVERLOAD(return_type_58045e2837b651c18e64ce6ac4e0be9e, class_type, encode, ); }; - - public: typedef bool return_type_817740fe51f5581ca0b50fe3fdee1e78; typedef struct ::statiskit::MultivariateEvent const * param_817740fe51f5581ca0b50fe3fdee1e78_0_type; virtual return_type_817740fe51f5581ca0b50fe3fdee1e78 is_compatible(param_817740fe51f5581ca0b50fe3fdee1e78_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_817740fe51f5581ca0b50fe3fdee1e78, class_type, is_compatible, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_89faf58ffa485b8fafccbd250d1fe75d; typedef ::statiskit::Index const & param_89faf58ffa485b8fafccbd250d1fe75d_0_type; virtual return_type_89faf58ffa485b8fafccbd250d1fe75d get(param_89faf58ffa485b8fafccbd250d1fe75d_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_89faf58ffa485b8fafccbd250d1fe75d, class_type, get, param_0); }; - - public: typedef ::statiskit::Index return_type_34b56241180a545dbbc2cc99f5f4650e; virtual return_type_34b56241180a545dbbc2cc99f5f4650e size() const override { PYBIND11_OVERLOAD_PURE(return_type_34b56241180a545dbbc2cc99f5f4650e, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp b/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp index ab026431..02cfd22f 100644 --- a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp +++ b/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_c5864745a15a526abae4cd03bf6d4f57; + virtual return_type_c5864745a15a526abae4cd03bf6d4f57 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c5864745a15a526abae4cd03bf6d4f57, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp b/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp index cd0aa5ca..66220ee4 100644 --- a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp +++ b/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_13ce002a16d358ed963cfab919445ca1; + virtual return_type_13ce002a16d358ed963cfab919445ca1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_13ce002a16d358ed963cfab919445ca1, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp b/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp index 4a7dbf9f..e544ae9d 100644 --- a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp +++ b/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp @@ -9,21 +9,23 @@ namespace autowig public: using ::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; + typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; + virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; + typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; + virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; }; class Publicist : public class_type { public: + using class_type::identifier; + using class_type::children; }; } diff --git a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp b/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp index 3f507735..299a98f7 100644 --- a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp +++ b/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_93b7a51440745d11aeeaf8c9c3a6b384; + virtual return_type_93b7a51440745d11aeeaf8c9c3a6b384 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_93b7a51440745d11aeeaf8c9c3a6b384, class_type, copy, ); }; + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/test/test_beta.py b/test/test_beta.py index 721c4ccb..d7204582 100644 --- a/test/test_beta.py +++ b/test/test_beta.py @@ -13,10 +13,8 @@ class TestBeta(unittest.TestCase, AbstractTestContinuousUnivariateDistribution): @classmethod def setUpClass(cls): - """Test Beta distribution construction""" cls._dist = core.BetaDistribution() @classmethod def tearDownClass(cls): - """Test Beta distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_beta_binomial.py b/test/test_beta_binomial.py index a2a1b98a..e8ecbcfe 100644 --- a/test/test_beta_binomial.py +++ b/test/test_beta_binomial.py @@ -13,10 +13,8 @@ class TestBetaBinomial(unittest.TestCase, AbstractTestDiscreteUnivariateDistribu @classmethod def setUpClass(cls): - """Test beta binomial distribution construction""" cls._dist = core.BetaBinomialDistribution(5, 3., 3.) @classmethod def tearDownClass(cls): - """Test beta binomial distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_beta_negative_binomial.py b/test/test_beta_negative_binomial.py index c71883f6..df307308 100644 --- a/test/test_beta_negative_binomial.py +++ b/test/test_beta_negative_binomial.py @@ -13,10 +13,8 @@ class TestBetaNegativeBinomial(unittest.TestCase, AbstractTestDiscreteUnivariate @classmethod def setUpClass(cls): - """Test beta negative binomial distribution construction""" cls._dist = core.BetaNegativeBinomialDistribution(5., 6., 6.) @classmethod def tearDownClass(cls): - """Test beta negative binomial distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_binomial.py b/test/test_binomial.py index 034d821a..bcefdcc6 100644 --- a/test/test_binomial.py +++ b/test/test_binomial.py @@ -13,17 +13,14 @@ class TestBinomial(unittest.TestCase, AbstractTestDiscreteUnivariateDistribution @classmethod def setUpClass(cls): - """Test binomial distribution construction""" cls._dist = core.BinomialDistribution(2, .5) def test_mle(self): - """Test binomial ML estimation""" data = self._dist.simulation(20) mle = core.binomial_estimation('ml', data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) def test_mme(self): - """Test binomial MM estimation""" data = self._dist.simulation(20) mme = core.binomial_estimation('mm', data) self.assertAlmostEqual(mme.estimated.mean, data.location) @@ -31,5 +28,4 @@ def test_mme(self): @classmethod def tearDownClass(cls): - """Test distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_categorical.py b/test/test_categorical.py index 4abec908..8c151ead 100644 --- a/test/test_categorical.py +++ b/test/test_categorical.py @@ -16,12 +16,10 @@ class TestBinary(unittest.TestCase, AbstractTestUnivariateDistribution): @classmethod def setUpClass(cls): - """Test binary distribution construction""" cls._dist1 = core.BinaryDistribution('B', 'A') cls._dist2 = core.BinaryDistribution('B', 'A', 0.3) def test_pdf(self): - """Test pdf of binary distribution""" self.assertEqual(self._dist1.pdf('B'), 0.5) self.assertEqual(self._dist1.pdf('A'), 0.5) self.assertEqual(self._dist2.pdf('B'), 0.3) @@ -29,7 +27,6 @@ def test_pdf(self): @classmethod def tearDownClass(cls): - """Test binary distribution deletion""" del cls._dist1 del cls._dist2 @@ -42,19 +39,16 @@ class TestNominal(unittest.TestCase, AbstractTestUnivariateDistribution): @classmethod def setUpClass(cls): - """Test nominal distribution construction""" cls._dist = core.NominalDistribution('A', 'B', 'C', pi = linalg.Vector([2., 1., 3.])) def test_mle(self): - """Test categorical ML estimation""" data = self._dist.simulation(10) mle = core.frequency_estimation(data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): - """Test distribution deletion""" del cls._dist @attr(linux=True, @@ -65,12 +59,10 @@ class TestOrdinal(TestNominal): @classmethod def setUpClass(cls): - """Test ordinal distribution construction""" cls._dist_unif = core.OrdinalDistribution('C', 'B', 'A') cls._dist = core.OrdinalDistribution('C', 'B', 'A', ordered_pi = linalg.Vector([2., 1., 3.])) def test_get_set(self): - """Test Ordinal distribution get and set ordered pi and oredered values""" self.assertEqual(self._dist_unif.pdf('B'), 1/3.) self.assertEqual(self._dist_unif.cdf('B'), 2/3.) self.assertEqual(self._dist_unif.ldf('B'), math.log(1/3.)) @@ -83,7 +75,6 @@ def test_get_set(self): @classmethod def tearDownClass(cls): - """Test ordinal distribution deletion""" del cls._dist_unif del cls._dist @@ -101,16 +92,13 @@ class TestHierarchical(unittest.TestCase, AbstractTestUnivariateDistribution): @classmethod def setUpClass(cls): - """Test hierarchical distribution construction""" cls._dist = core.HierarchicalDistribution(cls._hierarchical_space) def test_internal_ldf(self): - """Test internal log pdf of hierarchical distribution""" self.assertAlmostEqual(self._dist.pdf('C'), float(1/3), places=self._places) self.assertAlmostEqual(self._dist.pdf('Ba'), float(1/9), places=self._places) self.assertAlmostEqual(self._dist.internal_pdf('B'), float(1/3), places=self._places) @classmethod def tearDownClass(cls): - """Test hierarchical distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_data.py b/test/test_data.py index 4105f647..a9f11e58 100644 --- a/test/test_data.py +++ b/test/test_data.py @@ -19,39 +19,32 @@ class TestData(unittest.TestCase): @classmethod def setUpClass(cls): - """Test multivariate data construction""" cls._data = data.load('capushe') def test_copy(self): - """Test multivariate data copy""" data = self._data.copy() del self.__class__._data self.__class__._data = data def test_access(self): - """Test named data access""" for uevent, mevent in zip(self._data.pen.events, self._data.events): self.assertEqual(uevent.value, mevent[1].value) def test_repr(self): - """Test univariate and multivariate data string representation""" for component in self._data.components: repr(component) repr(self._data) def test_repr_html(self): - """Test univariate and multivariate data HTML representation""" for component in self._data.components: component._repr_html_() self._data._repr_html_() def test_pdf_plot(self): - """Test univariate and multivariate data pdf plot""" for component in self._data.components: component.pdf_plot() def test_location(self): - """Test univariate and multivariate data location""" location = self._data.location for index, component in enumerate(self._data.components): if index == 0: @@ -61,7 +54,6 @@ def test_location(self): self.assertAlmostEqual(location[index], component.location) def test_dispersion(self): - """Test univariate and multivariate data dispersion""" dispersion = self._data.dispersion for index, component in enumerate(self._data.components): if index == 0: @@ -71,19 +63,16 @@ def test_dispersion(self): self.assertAlmostEqual(dispersion[index, index], component.dispersion) def test_extract(self): - """Test multivariate data extraction""" data = self._data.extract(0, 1) self.assertEqual(len(data), len(self._data)) @attr(osx = False) def test_cdf_plot(self): - """Test univariate data cdf plot""" for component in self._data.components: component.cdf_plot() @attr(win = False) def test_write_csv(self): - """Test write data to csv""" tmp = NamedTemporaryFile() self._data.write_csv(tmp.name, header=True) data = core.read_csv(tmp.name, header=True) @@ -91,5 +80,4 @@ def test_write_csv(self): @classmethod def tearDownClass(cls): - """Test multivariate data deletion""" del cls._data diff --git a/test/test_distribution.py b/test/test_distribution.py index 3625934b..6e37ff33 100644 --- a/test/test_distribution.py +++ b/test/test_distribution.py @@ -27,7 +27,6 @@ class AbstractTestDiscreteUnivariateDistribution(AbstractTestUnivariateDistribut _simulate = 10000 def test_pdf_ldf_cdf(self): - """Test probability distribution function and related functions""" for v in numpy.linspace(self._dist.quantile(self._pmin), self._dist.quantile(self._pmax) + 1, num=self._num, @@ -38,7 +37,6 @@ def test_pdf_ldf_cdf(self): self.assertAlmostEqual(math.log(self._dist.pdf(v)), self._dist.ldf(v)) def test_quantile(self): - """Test quantile computation""" for p in numpy.linspace(self._pmin, self._pmax, num=self._num): p = float(p) q = self._dist.quantile(p) @@ -46,7 +44,6 @@ def test_quantile(self): self.assertLess(self._dist.cdf(q - 1), p) def test_moments(self): - """Test moments""" data = self._dist.simulation(self._simulate) self.assertAlmostEqual(abs(data.location - self._dist.mean) / data.location, self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) @@ -56,7 +53,6 @@ class AbstractTestContinuousUnivariateDistribution(AbstractTestUnivariateDistrib _places = 7 def test_pdf_ldf_cdf(self): - """Test probability distribution function and related functions""" for v in numpy.linspace(self._dist.quantile(self._pmin), self._dist.quantile(self._pmax), num=self._num, @@ -67,7 +63,6 @@ def test_pdf_ldf_cdf(self): self.assertAlmostEqual(math.log(self._dist.pdf(v)), self._dist.ldf(v)) def test_quantile(self): - """Test quantile computation""" for p in numpy.linspace(self._pmin, self._pmax, num=self._num): p = float(p) q = self._dist.quantile(p) @@ -75,7 +70,6 @@ def test_quantile(self): self.assertLessEqual(self._dist.cdf(q - self._epsilon), p) def test_moments(self): - """Test moments""" data = self._dist.simulation(1000) self.assertAlmostEqual(abs(data.location - self._dist.mean) / data.location, self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) diff --git a/test/test_gamma.py b/test/test_gamma.py index 633dbfaa..d10c5109 100644 --- a/test/test_gamma.py +++ b/test/test_gamma.py @@ -13,10 +13,8 @@ class TestGamma(unittest.TestCase, AbstractTestContinuousUnivariateDistribution) @classmethod def setUpClass(cls): - """Test Gamma distribution construction""" cls._dist = core.GammaDistribution() @classmethod def tearDownClass(cls): - """Test Gamma distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_geometric.py b/test/test_geometric.py index f15e15af..ed962b00 100644 --- a/test/test_geometric.py +++ b/test/test_geometric.py @@ -13,16 +13,13 @@ class TestGeometric(unittest.TestCase, AbstractTestDiscreteUnivariateDistributio @classmethod def setUpClass(cls): - """Test geometric distribution construction""" cls._dist = core.GeometricDistribution() def test_mle(self): - """Test geometric distribution ML estimation""" data = self._dist.simulation(20) mle = core.geometric_estimation('ml', data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): - """Test geometric distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_gompertz.py b/test/test_gompertz.py index 41b5929f..542d0772 100644 --- a/test/test_gompertz.py +++ b/test/test_gompertz.py @@ -13,16 +13,13 @@ class TestGompertz(unittest.TestCase, AbstractTestContinuousUnivariateDistributi @classmethod def setUpClass(cls): - """Test Gompertz distribution construction""" cls._dist = core.GompertzDistribution(-1., 1.5) def test_moments(self): - """Test moments""" data = self._dist.simulation(1000) self.assertAlmostEqual(abs(data.location - self._dist.mean), self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) @classmethod def tearDownClass(cls): - """Test Gompertz distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_gumbel.py b/test/test_gumbel.py index 38e40804..fd313da2 100644 --- a/test/test_gumbel.py +++ b/test/test_gumbel.py @@ -13,16 +13,13 @@ class TestGumbel(unittest.TestCase, AbstractTestContinuousUnivariateDistribution @classmethod def setUpClass(cls): - """Test Gumbel distribution construction""" cls._dist = core.GumbelDistribution(-1.,1.5) def test_moments(self): - """Test moments""" data = self._dist.simulation(1000) self.assertAlmostEqual(abs(data.location - self._dist.mean), self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) @classmethod def tearDownClass(cls): - """Test Gumbel distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_laplace.py b/test/test_laplace.py index e0bdfed3..19d5b035 100644 --- a/test/test_laplace.py +++ b/test/test_laplace.py @@ -13,10 +13,8 @@ class TestLogistic(unittest.TestCase, AbstractTestContinuousUnivariateDistributi @classmethod def setUpClass(cls): - """Test Laplace distribution construction""" cls._dist = core.LaplaceDistribution(1.,1.) @classmethod def tearDownClass(cls): - """Test Lapace distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_logarithmic.py b/test/test_logarithmic.py index f1d19189..90ccd7be 100644 --- a/test/test_logarithmic.py +++ b/test/test_logarithmic.py @@ -13,16 +13,13 @@ class TestLogarithmic(unittest.TestCase, AbstractTestDiscreteUnivariateDistribut @classmethod def setUpClass(cls): - """Test logarithmic distribution construction""" cls._dist = core.LogarithmicDistribution() def test_mle(self): - """Test logarithmic distribution ML estimation""" data = self._dist.simulation(20) mle = core.logarithmic_estimation('ml', data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): - """Test logarithmic distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_logistic.py b/test/test_logistic.py index 40e43711..3692bd43 100644 --- a/test/test_logistic.py +++ b/test/test_logistic.py @@ -13,10 +13,8 @@ class TestLogistic(unittest.TestCase, AbstractTestContinuousUnivariateDistributi @classmethod def setUpClass(cls): - """Test logistic distribution construction""" cls._dist = core.LogisticDistribution(1., 1.) @classmethod def tearDownClass(cls): - """Test logistic distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_mixture.py b/test/test_mixture.py index a0981bfa..a032dc06 100644 --- a/test/test_mixture.py +++ b/test/test_mixture.py @@ -14,13 +14,11 @@ class TestMixture(unittest.TestCase, AbstractTestDiscreteUnivariateDistribution) @classmethod def setUpClass(cls): - """Test mixture distribution construction""" cls._dist = core.MixtureDistribution(core.PoissonDistribution(.5), core.PoissonDistribution(10.), pi = linalg.Vector([.25, .75])) def test_estimation_em(self): - """Test mixture estimation using the EM algorithm""" data = self._dist.simulation(100) em = core.mixture_estimation(data, 'em', initializator = core.MixtureDistribution(core.PoissonDistribution(3.), @@ -34,4 +32,4 @@ def test_estimation_em(self): # self.assertGreaterEqual(curr, prev) def test_posterior(self): - """Test mixture posterior probabilities""" + pass \ No newline at end of file diff --git a/test/test_multinormal.py b/test/test_multinormal.py index 04692fb2..ff5b4056 100644 --- a/test/test_multinormal.py +++ b/test/test_multinormal.py @@ -11,16 +11,13 @@ class TestMultinormal(unittest.TestCase): @classmethod def setUpClass(cls): - """Test multinormal distribution construction""" cls._dist = core.MultinormalDistribution(linalg.Vector([0., 0., 0.]), linalg.Matrix([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]])) def test_simulation(self): - """Test multinormal distribution simulation""" data = self._dist.simulation(20) @classmethod def tearDownClass(cls): - """Test distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_negative_binomial.py b/test/test_negative_binomial.py index cf2624c8..e6180b92 100644 --- a/test/test_negative_binomial.py +++ b/test/test_negative_binomial.py @@ -13,19 +13,15 @@ class TestNegativeBinomial(unittest.TestCase, AbstractTestDiscreteUnivariateDist @classmethod def setUpClass(cls): - """Test negative binomial distribution construction""" cls._dist = core.NegativeBinomialDistribution(2., .5) def test_mle(self): - """Test negative binomial ML estimation""" data = self._dist.simulation(90) mle = core.negative_binomial_estimation('ml', data) - # mme = core.negative_binomial_estimation('mm', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) #mme.estimated.loglikelihood(data)) + self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) def test_mme(self): - """Test negative binomial MM estimation""" data = self._dist.simulation(100) mme = core.negative_binomial_estimation('mm', data) self.assertAlmostEqual(mme.estimated.mean, float(data.location)) @@ -33,5 +29,4 @@ def test_mme(self): @classmethod def tearDownClass(cls): - """Test distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_non-standard-student.py b/test/test_non-standard-student.py index e6a78b84..a9c54c40 100644 --- a/test/test_non-standard-student.py +++ b/test/test_non-standard-student.py @@ -13,16 +13,13 @@ class TestNonStandardStudent(unittest.TestCase, AbstractTestContinuousUnivariate @classmethod def setUpClass(cls): - """Test non-standard Student distribution construction""" cls._dist = core.NonStandardStudentDistribution(1.,1.,5.) def test_moments(self): - """Test moments of Student distribution""" data = self._dist.simulation(1000) self.assertAlmostEqual(abs(data.location-self._dist.mean), self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) @classmethod def tearDownClass(cls): - """Test non-standard Student distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_normal.py b/test/test_normal.py index e56c91c3..53538f54 100644 --- a/test/test_normal.py +++ b/test/test_normal.py @@ -13,16 +13,13 @@ class TestNormal(unittest.TestCase, AbstractTestContinuousUnivariateDistribution @classmethod def setUpClass(cls): - """Test normal_estimation distribution construction""" cls._dist = core.NormalDistribution(1., 2.) def test_mle(self): - """Test normal ML estimation""" data = self._dist.simulation(20) mle = core.normal_estimation('ml', data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): - """Test distribution deletion""" del cls._dist \ No newline at end of file diff --git a/test/test_sample_space.py b/test/test_sample_space.py index cc4c2669..1d5db61e 100644 --- a/test/test_sample_space.py +++ b/test/test_sample_space.py @@ -20,17 +20,14 @@ class TestSampleSpace(unittest.TestCase): @classmethod def setUpClass(cls): - """Test multivariate data construction""" cls._data = data.load('capushe') def test_encode(self): - """Test sample space encoding of events""" for event in self._data.events: self._data.sample_space.encode(event) @classmethod def tearDownClass(cls): - """Test multivariate data deletion""" del cls._data @attr(linux=True, @@ -41,22 +38,18 @@ class TestNominalSampleSpace(unittest.TestCase): @classmethod def setUpClass(cls): - """Test nominal sample space construction""" cls._space = core.NominalSampleSpace('C', 'B', 'A') def test_values(self): - """Test nominal values""" self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values def test_reference(self): - """Test get and set reference""" self.assertEqual(self._space.reference, 'C') self._space.reference = 'B' self.assertEqual(self._space.reference, 'B') @classmethod def tearDownClass(cls): - """Test nominal sample space deletion""" del cls._space @attr(linux=True, @@ -67,11 +60,9 @@ class TestOrdinalSampleSpace(unittest.TestCase): @classmethod def setUpClass(cls): - """Test ordinal sample space construction""" cls._space = core.OrdinalSampleSpace('C', 'B', 'A') def test_values(self): - """Test ordinal values""" self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values self.assertEqual(list(self._space.ordered), ['C', 'B', 'A']) # list of ordered values self._space.ordered = ['A', 'B', 'C'] @@ -79,7 +70,6 @@ def test_values(self): @classmethod def tearDownClass(cls): - """Test ordinal sample space deletion""" del cls._space @attr(linux=True, @@ -94,11 +84,9 @@ class TestHierarchicalSampleSpace(unittest.TestCase): @classmethod def setUpClass(cls): - """Test hierarchical sample space construction""" cls._space = core.HierarchicalSampleSpace(cls._sample_space1) def test_partition(self): - """Test hierarchical sample space partition""" self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values self._space.partition('B', self._sample_space2) self.assertEqual(self._space.values, ['A', 'Ba', 'Bb', 'Bc', 'C']) # list of (lexicographically ordered) values after partition @@ -107,5 +95,4 @@ def test_partition(self): @classmethod def tearDownClass(cls): - """Test hierarchical sample space deletion""" del cls._space diff --git a/test/test_selection.py b/test/test_selection.py index 72f9525f..1da84059 100644 --- a/test/test_selection.py +++ b/test/test_selection.py @@ -11,32 +11,27 @@ class TestCriteria(unittest.TestCase): @classmethod def setUpClass(cls): - """Test binomial simulation construction""" cls._data = core.BinomialDistribution(10, .5).simulation(100) def test_aic(self): - """Test AIC selection""" bic = core.selection(self._data, "criterion", "AIC", estimators=[core.binomial_estimation("ml"), core.poisson_estimation("ml"), core.negative_binomial_estimation("ml")]) # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) def test_aicc(self): - """Test AICc selection""" bic = core.selection(self._data, "criterion", "AICc", estimators=[core.binomial_estimation("ml"), core.poisson_estimation("ml"), core.negative_binomial_estimation("ml")]) # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) def test_bic(self): - """Test BIC selection""" bic = core.selection(self._data, "criterion", "BIC", estimators=[core.binomial_estimation("ml"), core.poisson_estimation("ml"), core.negative_binomial_estimation("ml")]) # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) def test_hqic(self): - """Test HQIC selection""" bic = core.selection(self._data, "criterion", "HQIC", estimators=[core.binomial_estimation("ml"), core.poisson_estimation("ml"), core.negative_binomial_estimation("ml")]) @@ -44,5 +39,4 @@ def test_hqic(self): @classmethod def tearDownClass(cls): - """Test data deletion""" del cls._data diff --git a/test/test_slope_heuristic.py b/test/test_slope_heuristic.py index f1955c75..e9e11d19 100644 --- a/test/test_slope_heuristic.py +++ b/test/test_slope_heuristic.py @@ -15,16 +15,13 @@ class TestSlopeHeuristic(unittest.TestCase): @classmethod def setUpClass(cls): - """Test multivariate data construction""" cls._data = data.load('capushe') @attr(win=False) def test_slope_heuristic(self): - """Test slope heuristic""" sh = core.SlopeHeuristic([pen.value for pen in self._data.pen.events], [-contrast.value for contrast in self._data.contrast.events]) sh.plot() @classmethod def tearDownClass(cls): - """Test multivariate data deletion""" del cls._data \ No newline at end of file diff --git a/test/test_splitting.py b/test/test_splitting.py index c5384b58..8e958881 100644 --- a/test/test_splitting.py +++ b/test/test_splitting.py @@ -14,11 +14,9 @@ class TestDirichletMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteM @classmethod def setUpClass(cls): - """Test Dirichlet multinomial splitting distribution construction""" cls._dist = core.SplittingDistribution(core.PoissonDistribution(15.), core.DirichletMultinomialSingularDistribution(linalg.Vector([2., 1.]))) def test_estimation(self): - """Test Dirichlet multinomial splitting estimation""" data = self._dist.simulation(10) mle = core.splitting_estimation(sum=core.poisson_estimation('ml'), singular=core.singular_selection('DM'), @@ -33,12 +31,10 @@ class TestMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteMultivaria @classmethod def setUpClass(cls): - """Test multinomial splitting distribution construction""" cls._dist = core.SplittingDistribution(core.BinomialDistribution(5, .5), core.MultinomialSingularDistribution(linalg.Vector([.25, .75]))) def test_estimation(self): - """Test multinomial splitting estimation""" data = self._dist.simulation(10) mle = core.splitting_estimation(sum=core.binomial_estimation('ml'), singular=core.singular_selection('MN'), diff --git a/test/test_student.py b/test/test_student.py index c8e75e6d..47379bbe 100644 --- a/test/test_student.py +++ b/test/test_student.py @@ -13,16 +13,13 @@ class TestStudent(unittest.TestCase, AbstractTestContinuousUnivariateDistributio @classmethod def setUpClass(cls): - """Test Student distribution construction""" cls._dist = core.StudentDistribution(5.) def test_moments(self): - """Test moments of Student distribution""" data = self._dist.simulation(1000) self.assertAlmostEqual(data.location, self._epsilon, delta=self._delta) self.assertAlmostEqual(abs(data.dispersion - self._dist.variance) / data.dispersion, self._epsilon, delta=self._delta) @classmethod def tearDownClass(cls): - """Test Student distribution deletion""" del cls._dist \ No newline at end of file From 07b5cb8b047128ebdd275c5b561d7af39e32d9e7 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Mon, 15 Apr 2019 12:15:05 +0200 Subject: [PATCH 04/16] Apply COW on some sample spaces --- src/cpp/base.cpp | 10 +- src/cpp/base.h | 40 ++-- src/cpp/base.hpp | 24 +- src/cpp/distribution.cpp | 4 +- src/cpp/sample_space.cpp | 412 ++++++++++++++++----------------- src/cpp/sample_space.h | 134 +++++------ src/py/statiskit/core/_core.py | 324 +++++++++++++------------- test/test_data.py | 2 + test/test_poisson.py | 2 - 9 files changed, 467 insertions(+), 485 deletions(-) diff --git a/src/cpp/base.cpp b/src/cpp/base.cpp index 518a58be..773961c6 100644 --- a/src/cpp/base.cpp +++ b/src/cpp/base.cpp @@ -43,7 +43,7 @@ namespace statiskit boost::mt19937 _random_generator = boost::mt19937(0); - boost::mt19937& get_random_generator(void) + boost::mt19937& get_random_generator() { return _random_generator; } std::unordered_map< uintptr_t, unsigned int > iterations = std::unordered_map< uintptr_t, unsigned int >(); @@ -76,7 +76,7 @@ namespace statiskit } } - void set_seed(void) + void set_seed() { __impl::_random_generator.seed(); } void set_seed(const Index& seed) @@ -97,7 +97,7 @@ namespace statiskit nullptr_error::nullptr_error(const std::string& parameter) : parameter_error(parameter, "cannot be set to nullptr") {} - Schedule::~Schedule(void) + Schedule::~Schedule() {} ExponentialSchedule::ExponentialSchedule(const double& theta) @@ -106,13 +106,13 @@ namespace statiskit ExponentialSchedule::ExponentialSchedule(const ExponentialSchedule& schedule) { _theta = schedule._theta; } - ExponentialSchedule::~ExponentialSchedule(void) + ExponentialSchedule::~ExponentialSchedule() {} double ExponentialSchedule::operator() (const double& stage) const { return exp(- stage / _theta); } - const double& ExponentialSchedule::get_theta(void) const + const double& ExponentialSchedule::get_theta() const { return _theta; } void ExponentialSchedule::set_theta(const double& theta) diff --git a/src/cpp/base.h b/src/cpp/base.h index a410591c..83e0ecf0 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -40,6 +40,8 @@ #define NOT_IMPLEMENTED() _Pragma("message \"not implemented function\""); throw not_implemented_error(__PRETTY_FUNCTION__, __FILE__, __LINE__) +#define INFOPOINT() std::cout << __PRETTY_FUNCTION__ << "in file '" << __FILE__ << "' at line " << __LINE__ << std::endl + #ifdef NDEBUG #define BREAKPOINT() _Pragma("message \"breakpoint ignored\"") #else @@ -52,11 +54,11 @@ namespace statiskit template struct PolymorphicCopy : public B { - PolymorphicCopy(void); + PolymorphicCopy(); PolymorphicCopy(const PolymorphicCopy& other); - virtual ~PolymorphicCopy(void) = default; + virtual ~PolymorphicCopy() = default; - virtual std::unique_ptr< T > copy(void) const; + virtual std::unique_ptr< T > copy() const; }; namespace __impl @@ -76,7 +78,7 @@ namespace statiskit * * The random generator used is the Mersenne Twister random generator of the Boost.Random library */ - STATISKIT_CORE_API boost::mt19937& get_random_generator(void); + STATISKIT_CORE_API boost::mt19937& get_random_generator(); STATISKIT_CORE_API unsigned int get_maxits(const uintptr_t& ptr, const unsigned int& maxits); STATISKIT_CORE_API void set_maxits(const uintptr_t& ptr, const unsigned int& maxits); @@ -87,7 +89,7 @@ namespace statiskit template std::set< U > keys(const std::map< U, V >& map); } - STATISKIT_CORE_API void set_seed(void); + STATISKIT_CORE_API void set_seed(); STATISKIT_CORE_API void set_seed(const Index& seed); struct STATISKIT_CORE_API not_implemented_error : std::runtime_error @@ -132,17 +134,17 @@ namespace statiskit class Optimization : public T { public: - Optimization(void); + Optimization(); Optimization(const Optimization< T >& optimization); - virtual ~Optimization(void); + virtual ~Optimization(); - const double& get_mindiff(void) const; + const double& get_mindiff() const; void set_mindiff(const double& mindiff); - unsigned int get_minits(void) const; + unsigned int get_minits() const; void set_minits(const unsigned int& maxits); - unsigned int get_maxits(void) const; + unsigned int get_maxits() const; void set_maxits(const unsigned int& maxits); protected: @@ -155,11 +157,11 @@ namespace statiskit struct STATISKIT_CORE_API Schedule { - virtual ~Schedule(void) = 0; + virtual ~Schedule() = 0; virtual double operator() (const double& stage) const = 0; - virtual std::unique_ptr< Schedule > copy(void) const = 0; + virtual std::unique_ptr< Schedule > copy() const = 0; }; class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy< Schedule, ExponentialSchedule > @@ -167,11 +169,11 @@ namespace statiskit public: ExponentialSchedule(const double& theta); ExponentialSchedule(const ExponentialSchedule& schedule); - virtual ~ExponentialSchedule(void); + virtual ~ExponentialSchedule(); virtual double operator() (const double& stage) const; - const double& get_theta(void) const; + const double& get_theta() const; void set_theta(const double& theta); protected: @@ -182,17 +184,17 @@ namespace statiskit class SimulatedAnnealing : public T { public: - SimulatedAnnealing(void); + SimulatedAnnealing(); SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing); - virtual ~SimulatedAnnealing(void); + virtual ~SimulatedAnnealing(); - const Schedule* get_schedule(void) const; + const Schedule* get_schedule() const; void set_schedule(const Schedule& schedule); - unsigned int get_minits(void) const; + unsigned int get_minits() const; void set_minits(const unsigned int& maxits); - unsigned int get_maxits(void) const; + unsigned int get_maxits() const; void set_maxits(const unsigned int& maxits); protected: diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index ac1bd37c..638fd32a 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -8,7 +8,7 @@ namespace statiskit { template - PolymorphicCopy< T, D, B >::PolymorphicCopy(void) : B() + PolymorphicCopy< T, D, B >::PolymorphicCopy() : B() {} template @@ -16,7 +16,7 @@ namespace statiskit {} template - std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy(void) const + std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy() const { return std::make_unique< D >(static_cast< const D& >(*this)); } namespace __impl @@ -124,7 +124,7 @@ namespace statiskit {} template - Optimization< T >::Optimization(void) + Optimization< T >::Optimization() { _mindiff = 1e-5; _minits = 1; @@ -140,11 +140,11 @@ namespace statiskit } template - Optimization< T >::~Optimization(void) + Optimization< T >::~Optimization() {} template - const double& Optimization< T >::get_mindiff(void) const + const double& Optimization< T >::get_mindiff() const { return _mindiff; } template @@ -152,7 +152,7 @@ namespace statiskit { _mindiff = mindiff; } template - unsigned int Optimization< T >::get_minits(void) const + unsigned int Optimization< T >::get_minits() const { return _minits; } template @@ -160,7 +160,7 @@ namespace statiskit { _minits = minits; } template - unsigned int Optimization< T >::get_maxits(void) const + unsigned int Optimization< T >::get_maxits() const { return _maxits; } template @@ -182,7 +182,7 @@ namespace statiskit } template - SimulatedAnnealing< T >::SimulatedAnnealing(void) + SimulatedAnnealing< T >::SimulatedAnnealing() { _schedule = new ExponentialSchedule(1.); _minits = 1; @@ -201,7 +201,7 @@ namespace statiskit } template - SimulatedAnnealing< T >::~SimulatedAnnealing(void) + SimulatedAnnealing< T >::~SimulatedAnnealing() { if(_schedule) { @@ -211,7 +211,7 @@ namespace statiskit } template - const Schedule* SimulatedAnnealing< T >::get_schedule(void) const + const Schedule* SimulatedAnnealing< T >::get_schedule() const { return _schedule; } template @@ -219,7 +219,7 @@ namespace statiskit { _schedule = schedule.copy().release(); } template - unsigned int SimulatedAnnealing< T >::get_minits(void) const + unsigned int SimulatedAnnealing< T >::get_minits() const { return _minits; } template @@ -227,7 +227,7 @@ namespace statiskit { _minits = minits; } template - unsigned int SimulatedAnnealing< T >::get_maxits(void) const + unsigned int SimulatedAnnealing< T >::get_maxits() const { return _maxits; } template diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index bef8ac43..a313364f 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -350,10 +350,10 @@ namespace statiskit _tree_distribution[it->first] = new NominalDistribution(it->second->get_values()); break; case TOTAL: - _tree_distribution[it->first] = new OrdinalDistribution(static_cast< OrdinalSampleSpace* >(it->second)->get_ordered()); + _tree_distribution[it->first] = new OrdinalDistribution(static_cast< OrdinalSampleSpace* >(it->second.get())->get_ordered()); break; case PARTIAL: - _tree_distribution[it->first] = new HierarchicalDistribution(*(static_cast< HierarchicalSampleSpace* >(it->second))); + _tree_distribution[it->first] = new HierarchicalDistribution(*(static_cast< HierarchicalSampleSpace* >(it->second.get()))); break; } // for(std::set< std::string >::const_iterator it2 = it->second->get_values().cbegin(), it2_end = it->second->get_values().cend(); it2 != it2_end; ++it2) diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index e082c99a..b550e93f 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -3,7 +3,7 @@ namespace statiskit { - UnivariateSampleSpace::~UnivariateSampleSpace(void) + UnivariateSampleSpace::~UnivariateSampleSpace() {} CategoricalSampleSpace::CategoricalSampleSpace(const std::set< std::string >& values) @@ -15,19 +15,19 @@ namespace statiskit this->encoding = sample_space.encoding; } - CategoricalSampleSpace::~CategoricalSampleSpace(void) + CategoricalSampleSpace::~CategoricalSampleSpace() {} - const std::set< std::string >& CategoricalSampleSpace::get_values(void) const + const std::set< std::string >& CategoricalSampleSpace::get_values() const { return *(this->values.get()); } - encoding_type CategoricalSampleSpace::get_encoding(void) const + encoding_type CategoricalSampleSpace::get_encoding() const { return this->encoding; } - Index CategoricalSampleSpace::get_cardinality(void) const + Index CategoricalSampleSpace::get_cardinality() const { return this->values->size(); } - outcome_type CategoricalSampleSpace::get_outcome(void) const + outcome_type CategoricalSampleSpace::get_outcome() const { return CATEGORICAL; } bool CategoricalSampleSpace::is_compatible(const UnivariateEvent* event) const @@ -72,17 +72,17 @@ namespace statiskit NominalSampleSpace::NominalSampleSpace(const NominalSampleSpace& sample_space) : CategoricalSampleSpace(sample_space) { this->reference = this->values->cbegin(); - advance(this->reference, distance(sample_space.values->cbegin(), sample_space.reference)); + advance(this->reference, std::distance(sample_space.values->cbegin(), sample_space.reference)); this->encoding = sample_space.encoding; } - NominalSampleSpace::~NominalSampleSpace(void) + NominalSampleSpace::~NominalSampleSpace() {} - ordering_type NominalSampleSpace::get_ordering(void) const + ordering_type NominalSampleSpace::get_ordering() const { return NONE; } - const std::string& NominalSampleSpace::get_reference(void) const + const std::string& NominalSampleSpace::get_reference() const { return *(this->reference); } void NominalSampleSpace::set_reference(const std::string& reference) @@ -95,10 +95,10 @@ namespace statiskit } } - void NominalSampleSpace::randomize(void) + void NominalSampleSpace::randomize() { this->reference = this->values->cbegin(); - boost::random::uniform_int_distribution<> dist(0, this->get_cardinality()-1); + boost::random::uniform_int_distribution<> dist(0, this->get_cardinality() - 1); boost::variate_generator > simulator(__impl::get_random_generator(), dist); advance(this->reference, simulator()); } @@ -121,7 +121,7 @@ namespace statiskit if (it == this->values->cend()) { dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); } else { - Index index = distance(this->values->cbegin(), it), ref_index = distance(this->values->cbegin(), this->reference); + Index index = std::distance(this->values->cbegin(), it), ref_index = std::distance(this->values->cbegin(), this->reference); switch (this->encoding) { case TREATMENT: dummy = Eigen::RowVectorXd::Zero(cardinality); @@ -155,31 +155,31 @@ namespace statiskit return dummy; } - std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal(void) const + std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal() const { return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(this->values->cbegin(), this->values->cend())); } - std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy(void) const + std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy() const { return std::make_unique< NominalSampleSpace >(*this); } OrdinalSampleSpace::OrdinalSampleSpace(const std::vector< std::string >& values) : CategoricalSampleSpace(std::set< std::string >(values.cbegin(), values.cend())) { this->encoding = CUMULATIVE; - this->_rank = std::make_shared< std::vector< Index > >((this->values->size())); + this->rank = std::make_shared< std::vector< Index > >((this->values->size())); for (Index size = 0, max_size = this->values->size(); size < max_size; ++size) { - (*this->_rank)[distance(this->values->begin(), this->values->find(values[size]))] = size; + (*this->rank)[std::distance(this->values->begin(), this->values->find(values[size]))] = size; } } OrdinalSampleSpace::OrdinalSampleSpace(const OrdinalSampleSpace& sample_space) : CategoricalSampleSpace(sample_space) { - this->_rank = sample_space._rank; + this->rank = sample_space.rank; this->encoding = sample_space.encoding; } - OrdinalSampleSpace::~OrdinalSampleSpace(void) + OrdinalSampleSpace::~OrdinalSampleSpace() {} - ordering_type OrdinalSampleSpace::get_ordering(void) const + ordering_type OrdinalSampleSpace::get_ordering() const { return TOTAL; } void OrdinalSampleSpace::set_encoding(const encoding_type& encoding) @@ -188,7 +188,7 @@ namespace statiskit Eigen::RowVectorXd OrdinalSampleSpace::encode(const std::string& value) const { Eigen::RowVectorXd dummy; - Index cardinality = get_cardinality(); + Index cardinality = this->get_cardinality(); if (cardinality > 1) { --cardinality; std::set< std::string >::const_iterator it = this->values->find(value); @@ -198,7 +198,7 @@ namespace statiskit } else { switch (this->encoding) { case TREATMENT: - index = (*this->_rank)[distance(this->values->cbegin(), it)]; + index = (*this->rank)[std::distance(this->values->cbegin(), it)]; dummy = Eigen::RowVectorXd::Zero(cardinality); if (index < cardinality) { dummy(index) = 1; @@ -216,7 +216,7 @@ namespace statiskit break; case CUMULATIVE: dummy = Eigen::RowVectorXd::Zero(cardinality); - for (index = 0, max_index = std::min(cardinality, (*this->_rank)[distance(this->values->cbegin(), it)]); index < max_index; ++index) { + for (index = 0, max_index = std::min(cardinality, (*this->rank)[std::distance(this->values->cbegin(), it)]); index < max_index; ++index) { dummy(index) = 1; } break; @@ -228,13 +228,13 @@ namespace statiskit return dummy; } - std::vector< std::string > OrdinalSampleSpace::get_ordered(void) const + std::vector< std::string > OrdinalSampleSpace::get_ordered() const { - BREAKPOINT(); - std::vector< std::string > values(get_cardinality()); + std::vector< std::string > values(this->get_cardinality()); for (std::set< std::string >::const_iterator it = this->values->cbegin(), ite = this->values->cend(); it != ite; ++it) { - values[(*this->_rank)[distance(this->values->cbegin(), it)]] = *it; + values[(*this->rank)[std::distance(this->values->cbegin(), it)]] = *it; } + return values; } @@ -248,18 +248,19 @@ namespace statiskit std::set< std::string >::iterator it = this->values->find(ordered[size]); if(it == this->values->end()) { throw std::runtime_error("rank"); } - (*this->_rank)[distance(this->values->begin(), it)] = size; + (*rank)[std::distance(this->values->begin(), it)] = size; + } for(Index size = 0, max_size = ordered.size(); size < max_size; ++size) { - if((*this->_rank)[size] >= ordered.size()) + if((*rank)[size] >= ordered.size()) { throw std::runtime_error("ordered"); } } - this->_rank = rank; + this->rank = rank; } - const std::vector< Index >& OrdinalSampleSpace::get_rank(void) const - { return *this->_rank; } + const std::vector< Index >& OrdinalSampleSpace::get_rank() const + { return *this->rank; } void OrdinalSampleSpace::set_rank(const std::vector< Index >& rank) { @@ -277,10 +278,10 @@ namespace statiskit } if(order.size() != 0) { throw std::runtime_error("rank"); } - this->_rank = std::make_shared< std::vector< Index > >(rank); + this->rank = std::make_shared< std::vector< Index > >(rank); } - void OrdinalSampleSpace::randomize(void) + void OrdinalSampleSpace::randomize() { detach(); std::set< std::string >::iterator first_it = this->values->begin(), it_end = this->values->end(); @@ -288,51 +289,47 @@ namespace statiskit while(first_it != it_end) { std::set< std::string >::iterator second_it = this->values->begin(); - boost::random::uniform_int_distribution<> dist(0, distance(this->values->begin(), first_it)); + boost::random::uniform_int_distribution<> dist(0, std::distance(this->values->begin(), first_it)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); advance(second_it, simulator()); - Index buffer = (*this->_rank)[distance(this->values->cbegin(), first_it)]; - (*this->_rank)[distance(this->values->cbegin(), first_it)] = (*this->_rank)[distance(this->values->cbegin(), second_it)]; - (*this->_rank)[distance(this->values->cbegin(), second_it)] = buffer; + Index buffer = (*this->rank)[std::distance(this->values->cbegin(), first_it)]; + (*this->rank)[std::distance(this->values->cbegin(), first_it)] = (*this->rank)[std::distance(this->values->cbegin(), second_it)]; + (*this->rank)[std::distance(this->values->cbegin(), second_it)] = buffer; ++first_it; } } - std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal(void) const + std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal() const { return std::make_unique< NominalSampleSpace >(*(this->values.get())); } - std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy(void) const + std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy() const { return std::make_unique< OrdinalSampleSpace >(*this); } - void OrdinalSampleSpace::detach(void) + void OrdinalSampleSpace::detach() { - if(this->_rank && !this->_rank.unique()) - { this->_rank = std::make_shared< std::vector< Index > >(*this->_rank);} + if(this->rank && !this->rank.unique()) + { this->rank = std::make_shared< std::vector< Index > >(*this->rank);} } HierarchicalSampleSpace::HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space) : CategoricalSampleSpace(root_sample_space.get_values()) { - _tree_sample_space[""] = static_cast< CategoricalSampleSpace* >(root_sample_space.copy().release()); + this->tree_sample_space = std::make_shared< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > >(); + (*this->tree_sample_space)[""] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(root_sample_space.copy().release())); + this->parents = std::make_shared< std::map< std::string, std::string > >(); for(std::set< std::string >::const_iterator it = root_sample_space.get_values().cbegin(), it_end = root_sample_space.get_values().cend(); it != it_end; ++it) - { _parents[*it] = ""; } + { (*this->parents)[*it] = ""; } } HierarchicalSampleSpace::HierarchicalSampleSpace(const HierarchicalSampleSpace& p_sample_space) : CategoricalSampleSpace(p_sample_space.get_values()) { - //_tree_sample_space = p_sample_space._tree_sample_space; - _tree_sample_space.clear(); - for(std::map< std::string, CategoricalSampleSpace* >::const_iterator it = p_sample_space.cbegin(), it_end = p_sample_space.cend(); it != it_end; ++it) - { _tree_sample_space[it->first] = static_cast< CategoricalSampleSpace* >(it->second->copy().release());; } - _parents = p_sample_space._parents; + this->tree_sample_space = p_sample_space.tree_sample_space; + this->parents = p_sample_space.parents; } - HierarchicalSampleSpace::~HierarchicalSampleSpace(void) + HierarchicalSampleSpace::~HierarchicalSampleSpace() { - for(std::map< std::string, CategoricalSampleSpace* >::iterator it = _tree_sample_space.begin(), it_end = _tree_sample_space.end(); it != it_end; ++it) - { delete it->second; } - _tree_sample_space.clear(); } - ordering_type HierarchicalSampleSpace::get_ordering(void) const + ordering_type HierarchicalSampleSpace::get_ordering() const { // std::map< std::string, CategoricalSampleSpace* >::const_iterator it = _tree_sample_space.cbegin(), it_end = _tree_sample_space.cend(); // ordering_type ordering = it->second->get_ordering(); @@ -368,14 +365,15 @@ namespace statiskit ++it; } if (it == it_end) { + detach(); this->values->erase(leave); this->values->insert(values.cbegin(), values.cend()); - this->_tree_sample_space[leave] = static_cast< CategoricalSampleSpace* >(sample_space.copy().release()); + (*this->tree_sample_space)[leave] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(sample_space.copy().release())); for (std::set< std::string >::const_iterator it = sample_space.get_values().cbegin(), it_end = sample_space.get_values().cend(); it != it_end; ++it) { - this->_parents[*it] = leave; + (*this->parents)[*it] = leave; } } else { - throw in_set_error("leave", *it, __impl::keys(this->_tree_sample_space)); + throw in_set_error("leave", *it, __impl::keys(*this->tree_sample_space)); } } else { throw in_set_error("leave", leave, *this->values, false); @@ -385,7 +383,7 @@ namespace statiskit UnivariateConditionalData HierarchicalSampleSpace::split(const std::string& non_leave, const UnivariateConditionalData& data) const { MultivariateDataFrame explanatories_data(*(data.get_explanatories()->get_sample_space())); - UnivariateDataFrame response_data(*((_tree_sample_space.find(non_leave))->second)); + UnivariateDataFrame response_data(*((this->tree_sample_space->find(non_leave))->second)); std::map< std::string, std::string > new_leaves; for (std::set< std::string >::const_iterator it = this->values->begin(), it_end = this->values->cend(); it != it_end; ++it) { @@ -415,96 +413,92 @@ namespace statiskit return new_data; } - std::string HierarchicalSampleSpace::children(const std::string& non_leave, const std::string& leave) const - { - std::map< std::string, std::string >::const_iterator it_par = _parents.find(leave); - std::map< std::string, CategoricalSampleSpace* >::const_iterator it = _tree_sample_space.find(non_leave); - if(it_par != _parents.cend()) - { - if(it != _tree_sample_space.cend()) - { - while(it_par->second != "" && it_par->second != non_leave) - { it_par = _parents.find(it_par->second); } - } - else - { throw in_set_error("non-leave", non_leave, __impl::keys(_tree_sample_space), false); } - } - else - { throw in_set_error("leave", leave, __impl::keys(_parents), false); } - if(it_par->second == non_leave) - { return it_par->first; } - else - { return ""; } - } - - std::unique_ptr< UnivariateSampleSpace > HierarchicalSampleSpace::copy(void) const + std::unique_ptr< UnivariateSampleSpace > HierarchicalSampleSpace::copy() const { return std::make_unique< HierarchicalSampleSpace >(*this); } - HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cbegin(void) const - { return _tree_sample_space.cbegin(); } + HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cbegin() const + { return this->tree_sample_space->cbegin(); } - HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cend(void) const - { return _tree_sample_space.cend(); } + HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cend() const + { return this->tree_sample_space->cend(); } const CategoricalSampleSpace* HierarchicalSampleSpace::get_sample_space(const std::string& value) - { return _tree_sample_space[value]; } + { return (*this->tree_sample_space)[value].get(); } - std::map< std::string, std::string > HierarchicalSampleSpace::get_parents(void) const - { return _parents; } + const std::map< std::string, std::string >& HierarchicalSampleSpace::get_parents() const + { return *this->parents; } - // const std::string HierarchicalSampleSpace::get_parent(const std::string& value) - // { - // std::map< std::string, std::string >::const_iterator it = _parents.find(value); - // if(it != _parents.cend()) - // { return _parents.find(value)->second; } - // else - // { throw in_set_error("value", value, __impl::keys(_parents)); } - // } + std::string HierarchicalSampleSpace::children(const std::string& non_leave, const std::string& leave) const + { + std::map< std::string, std::string >::const_iterator it_par = this->parents->find(leave); + std::map< std::string, std::unique_ptr< CategoricalSampleSpace > >::const_iterator it = this->tree_sample_space->find(non_leave); + if (it_par != this->parents->cend()) { + if (it != this->tree_sample_space->cend()) { + while (it_par->second != "" && it_par->second != non_leave) { + it_par = this->parents->find(it_par->second); + } + } else { + throw in_set_error("non-leave", non_leave, __impl::keys(*this->tree_sample_space), false); + } + } else { + throw in_set_error("leave", leave, __impl::keys(*this->parents), false); + } + if (it_par->second == non_leave) { + return it_par->first; + } else { + return ""; + } + } bool HierarchicalSampleSpace::is_compatible_value(const std::string& value) const { bool compatible = CategoricalSampleSpace::is_compatible_value(value); - if(!compatible) - { - if(value != "") - { compatible = (_tree_sample_space.find(value) != _tree_sample_space.end()); } + if (!compatible) { + if (value != "") { + compatible = (this->tree_sample_space->find(value) != this->tree_sample_space->end()); + } } return compatible; } - void HierarchicalSampleSpace::detach(void) + void HierarchicalSampleSpace::detach() { - NOT_IMPLEMENTED(); + std::shared_ptr< std::set< std::string > > values = std::make_shared< std::set< std::string > >(this->values->begin(), this->values->end()); + this->values = values; + std::shared_ptr< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > > tree_sample_space = std::make_shared< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > >(); + for (HierarchicalSampleSpace::const_iterator it = this->cbegin(), it_end = this->cend(); it != it_end; ++it) { + (*tree_sample_space)[it->first] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(it->second->copy().release())); + } + this->tree_sample_space = tree_sample_space; + std::shared_ptr< std::map< std::string, std::string > > parents = std::make_shared< std::map< std::string, std::string > >(this->parents->cbegin(), this->parents->cend()); + this->parents = parents; } - outcome_type DiscreteSampleSpace::get_outcome(void) const + outcome_type DiscreteSampleSpace::get_outcome() const { return DISCRETE; } - ordering_type DiscreteSampleSpace::get_ordering(void) const + ordering_type DiscreteSampleSpace::get_ordering() const { return TOTAL; } IntegerSampleSpace::IntegerSampleSpace(const int& lower_bound, const int& upper_bound) { - _lower_bound = lower_bound; - _upper_bound = upper_bound; + this->lower_bound = lower_bound; + this->upper_bound = upper_bound; } - IntegerSampleSpace::~IntegerSampleSpace(void) + IntegerSampleSpace::~IntegerSampleSpace() {} bool IntegerSampleSpace::is_compatible(const UnivariateEvent* event) const { bool compatible = !event; - if(!compatible) - { - if(event->get_outcome() == DISCRETE) - { - switch(event->get_event()) - { + if (!compatible) { + if (event->get_outcome() == DISCRETE) { + switch(event->get_event()) { case ELEMENTARY: { int value = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); - compatible = value >= _lower_bound && value <= _upper_bound; + compatible = value >= this->lower_bound && value <= this->upper_bound; } break; case CENSORED: @@ -512,39 +506,35 @@ namespace statiskit const std::vector< int >& __values = static_cast< const DiscreteCensoredEvent* >(event)->get_values(); std::vector< int >::const_iterator it = __values.cbegin(), ite = __values.cend(); compatible = true; - while(compatible && it != ite) - { - compatible = *it >= _lower_bound && *it <= _upper_bound; + while (compatible && it != ite) { + compatible = *it >= this->lower_bound && *it <= this->upper_bound; ++it; } } break; case LEFT: - if(_lower_bound == std::numeric_limits< int >::min()) - { + if (this->lower_bound == std::numeric_limits< int >::min()) { int value = static_cast< const DiscreteLeftCensoredEvent* >(event)->get_upper_bound(); - compatible = value >= _lower_bound && value <= _upper_bound; + compatible = value >= this->lower_bound && value <= this->upper_bound; + } else { + compatible = false; } - else - { compatible = false; } break; case RIGHT: - if(_upper_bound == std::numeric_limits< int >::max()) - { + if(this->upper_bound == std::numeric_limits< int >::max()) { int value = static_cast< const DiscreteRightCensoredEvent* >(event)->get_lower_bound(); - compatible = value >= _lower_bound && value <= _upper_bound; + compatible = value >= this->lower_bound && value <= this->upper_bound; + } else { + compatible = false; } - else - { compatible = false; } break; case INTERVAL: { int value = static_cast< const DiscreteIntervalCensoredEvent* >(event)->get_upper_bound(); - compatible = value >= _lower_bound && value <= _upper_bound; - if(compatible) - { + compatible = value >= this->lower_bound && value <= this->upper_bound; + if (compatible) { value = static_cast< const DiscreteIntervalCensoredEvent* >(event)->get_upper_bound(); - compatible = value >= _lower_bound && value <= _upper_bound; + compatible = value >= this->lower_bound && value <= this->upper_bound; } } break; @@ -554,75 +544,69 @@ namespace statiskit return compatible; } - const int& IntegerSampleSpace::get_lower_bound(void) const - { return _lower_bound; } + const int& IntegerSampleSpace::get_lower_bound() const + { return this->lower_bound; } - const int& IntegerSampleSpace::get_upper_bound(void) const - { return _upper_bound; } + const int& IntegerSampleSpace::get_upper_bound() const + { return this->upper_bound; } - std::unique_ptr< UnivariateSampleSpace > IntegerSampleSpace::copy(void) const + std::unique_ptr< UnivariateSampleSpace > IntegerSampleSpace::copy() const { return std::make_unique< IntegerSampleSpace >(*this); } const IntegerSampleSpace NN = IntegerSampleSpace(0); - const IntegerSampleSpace& get_NN(void) + const IntegerSampleSpace& get_NN() { return NN; } const IntegerSampleSpace ZZ = IntegerSampleSpace(); - const IntegerSampleSpace& get_ZZ(void) + const IntegerSampleSpace& get_ZZ() { return ZZ; } - outcome_type ContinuousSampleSpace::get_outcome(void) const + outcome_type ContinuousSampleSpace::get_outcome() const { return CONTINUOUS; } - ordering_type ContinuousSampleSpace::get_ordering(void) const + ordering_type ContinuousSampleSpace::get_ordering() const { return TOTAL; } RealSampleSpace::RealSampleSpace(const double& lhs, const double& rhs, const bool& left_closed, const bool& right_closed) { - if(lhs < rhs) - { - _lower_bound = lhs; - _upper_bound = rhs; - } - else - { - _lower_bound = rhs; - _upper_bound = lhs; + if (lhs < rhs) { + this->lower_bound = lhs; + this->upper_bound = rhs; + } else { + this->lower_bound = rhs; + this->upper_bound = lhs; } - _left_closed = left_closed && !boost::math::isinf(_lower_bound); - _right_closed = right_closed && !boost::math::isinf(_upper_bound); + this->left_closed = left_closed && !boost::math::isinf(this->lower_bound); + this->right_closed = right_closed && !boost::math::isinf(this->upper_bound); } - RealSampleSpace::~RealSampleSpace(void) + RealSampleSpace::~RealSampleSpace() {} bool RealSampleSpace::is_compatible(const UnivariateEvent* event) const { bool compatible = !event; - if(!compatible) - { - if(event->get_outcome() == CONTINUOUS) - { - switch(event->get_event()) - { + if (!compatible) { + if (event->get_outcome() == CONTINUOUS) { + switch(event->get_event()) { case ELEMENTARY: { double value = static_cast< const ContinuousElementaryEvent* >(event)->get_value(); compatible = boost::math::isfinite(value); - if(compatible) - { - if(_left_closed) - { compatible = value >= _lower_bound; } - else - { compatible = value > _lower_bound; } - if(compatible) - { - if(_right_closed) - { compatible = value <= _upper_bound; } - else - { compatible = value < _upper_bound; } + if (compatible) { + if (this->left_closed) { + compatible = value >= this->lower_bound; + } else { + compatible = value > this->lower_bound; + } + if (compatible) { + if (this->right_closed) { + compatible = value <= this->upper_bound; + } else { + compatible = value < this->upper_bound; + } } } } @@ -632,21 +616,20 @@ namespace statiskit const std::vector< double >& __values = static_cast< const ContinuousCensoredEvent* >(event)->get_values(); std::vector< double >::const_iterator it = __values.cbegin(), ite = __values.cend(); compatible = true; - while(compatible && it != ite) - { + while (compatible && it != ite) { compatible = boost::math::isfinite(*it); - if(compatible) - { - if(_left_closed) - { compatible = *it >= _lower_bound; } - else - { compatible = *it > _lower_bound; } - if(compatible) - { - if(_right_closed) - { compatible = *it <= _upper_bound; } - else - { compatible = *it < _upper_bound; } + if (compatible) { + if (this->left_closed) { + compatible = *it >= this->lower_bound; + } else { + compatible = *it > this->lower_bound; + } + if (compatible) { + if (this->right_closed) { + compatible = *it <= this->upper_bound; + } else { + compatible = *it < this->upper_bound; + } } } ++it; @@ -654,31 +637,28 @@ namespace statiskit } break; case LEFT: - if(boost::math::isinf(_lower_bound) && _lower_bound < 0) - { + if (boost::math::isinf(this->lower_bound) && this->lower_bound < 0) { double value = static_cast< const ContinuousLeftCensoredEvent* >(event)->get_upper_bound(); - compatible = boost::math::isfinite(value) && value >= _lower_bound && value <= _upper_bound; + compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; + } else { + compatible = false; } - else - { compatible = false; } break; case RIGHT: - if(boost::math::isinf(_upper_bound) && _upper_bound > 0) - { + if (boost::math::isinf(this->upper_bound) && this->upper_bound > 0) { double value = static_cast< const ContinuousRightCensoredEvent* >(event)->get_lower_bound(); - compatible = boost::math::isfinite(value) && value >= _lower_bound && value <= _upper_bound; + compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; + } else { + compatible = false; } - else - { compatible = false; } break; case INTERVAL: { double value = static_cast< const ContinuousIntervalCensoredEvent* >(event)->get_upper_bound(); - compatible = boost::math::isfinite(value) && value >= _lower_bound && value <= _upper_bound; - if(compatible) - { + compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; + if (compatible) { value = static_cast< const ContinuousIntervalCensoredEvent* >(event)->get_upper_bound(); - compatible = boost::math::isfinite(value) && value >= _lower_bound && value <= _upper_bound; + compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; } } break; @@ -688,34 +668,34 @@ namespace statiskit return compatible; } - const double& RealSampleSpace::get_lower_bound(void) const - { return _lower_bound; } + const double& RealSampleSpace::get_lower_bound() const + { return this->lower_bound; } - const double& RealSampleSpace::get_upper_bound(void) const - { return _upper_bound; } + const double& RealSampleSpace::get_upper_bound() const + { return this->upper_bound; } - const bool& RealSampleSpace::get_left_closed(void) const - { return _left_closed; } + const bool& RealSampleSpace::get_left_closed() const + { return this->left_closed; } - const bool& RealSampleSpace::get_right_closed(void) const - { return _right_closed; } + const bool& RealSampleSpace::get_right_closed() const + { return this->right_closed; } - std::unique_ptr< UnivariateSampleSpace > RealSampleSpace::copy(void) const + std::unique_ptr< UnivariateSampleSpace > RealSampleSpace::copy() const { return std::make_unique< RealSampleSpace >(*this); } const RealSampleSpace RR = RealSampleSpace(); - const RealSampleSpace& get_RR(void) + const RealSampleSpace& get_RR() { return RR; } const RealSampleSpace PR = RealSampleSpace(0); - const RealSampleSpace& get_PR(void) + const RealSampleSpace& get_PR() { return PR; } const RealSampleSpace NR = RealSampleSpace(-1*std::numeric_limits< double >::infinity(), 0); - const RealSampleSpace& get_NR(void) + const RealSampleSpace& get_NR() { return NR; } /*Eigen::MatrixXd MultivariateSampleSpace::encode(const MultivariateEvent& event, const std::set< std::set >& interactions) const @@ -814,7 +794,7 @@ namespace statiskit } }*/ - MultivariateSampleSpace::~MultivariateSampleSpace(void) + MultivariateSampleSpace::~MultivariateSampleSpace() {} bool MultivariateSampleSpace::is_compatible(const MultivariateEvent* event) const @@ -836,7 +816,7 @@ namespace statiskit return compatible; } - Index MultivariateSampleSpace::encode(void) const + Index MultivariateSampleSpace::encode() const { Index _size = 0; for(Index index = 0, max_index = size(); index < max_index; ++index) @@ -925,7 +905,7 @@ namespace statiskit { _sample_spaces[index] = sample_space._sample_spaces[index]->copy().release(); } } - VectorSampleSpace::~VectorSampleSpace(void) + VectorSampleSpace::~VectorSampleSpace() { for(Index index = 0, max_index = _sample_spaces.size(); index < max_index; ++index) { @@ -935,7 +915,7 @@ namespace statiskit _sample_spaces.clear(); } - Index VectorSampleSpace::size(void) const + Index VectorSampleSpace::size() const {return _sample_spaces.size(); } const UnivariateSampleSpace* VectorSampleSpace::get(const Index& index) const @@ -947,7 +927,7 @@ namespace statiskit _sample_spaces[index] = sample_space.copy().release(); } - std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy(void) const + std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy() const { return std::make_unique< VectorSampleSpace >(*this); } } diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index b622f567..610334f5 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -22,15 +22,15 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateSampleSpace { - virtual ~UnivariateSampleSpace(void) = 0; + virtual ~UnivariateSampleSpace() = 0; - virtual outcome_type get_outcome(void) const = 0; + virtual outcome_type get_outcome() const = 0; - virtual ordering_type get_ordering(void) const = 0; + virtual ordering_type get_ordering() const = 0; virtual bool is_compatible(const UnivariateEvent* event) const = 0; - virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const = 0; + virtual std::unique_ptr< UnivariateSampleSpace > copy() const = 0; }; enum encoding_type @@ -45,17 +45,17 @@ namespace statiskit public: CategoricalSampleSpace(const std::set< std::string >& values); CategoricalSampleSpace(const CategoricalSampleSpace& sample_space); - virtual ~CategoricalSampleSpace(void); + virtual ~CategoricalSampleSpace(); virtual bool is_compatible(const UnivariateEvent* event) const; - virtual outcome_type get_outcome(void) const; + virtual outcome_type get_outcome() const; - Index get_cardinality(void) const; + Index get_cardinality() const; - const std::set< std::string >& get_values(void) const; + const std::set< std::string >& get_values() const; - encoding_type get_encoding(void) const; + encoding_type get_encoding() const; virtual void set_encoding(const encoding_type& encoding) = 0; virtual Eigen::RowVectorXd encode(const std::string& outcome) const = 0; @@ -74,22 +74,22 @@ namespace statiskit public: NominalSampleSpace(const std::set< std::string >& values); NominalSampleSpace(const NominalSampleSpace& sample_space); - virtual ~NominalSampleSpace(void); + virtual ~NominalSampleSpace(); - virtual ordering_type get_ordering(void) const; + virtual ordering_type get_ordering() const; - const std::string& get_reference(void) const; + const std::string& get_reference() const; void set_reference(const std::string& reference); - void randomize(void); + void randomize(); void set_encoding(const encoding_type& encoding); virtual Eigen::RowVectorXd encode(const std::string& value) const; - std::unique_ptr< OrdinalSampleSpace > as_ordinal(void) const; + std::unique_ptr< OrdinalSampleSpace > as_ordinal() const; - std::unique_ptr< UnivariateSampleSpace > copy(void) const; + std::unique_ptr< UnivariateSampleSpace > copy() const; protected: std::set< std::string >::const_iterator reference; @@ -100,30 +100,30 @@ namespace statiskit public: OrdinalSampleSpace(const std::vector< std::string >& values); OrdinalSampleSpace(const OrdinalSampleSpace& sample_space); - virtual ~OrdinalSampleSpace(void); + virtual ~OrdinalSampleSpace(); - virtual ordering_type get_ordering(void) const; + virtual ordering_type get_ordering() const; - std::vector< std::string > get_ordered(void) const; + std::vector< std::string > get_ordered() const; void set_ordered(const std::vector< std::string >& ordered); - const std::vector< Index >& get_rank(void) const; + const std::vector< Index >& get_rank() const; void set_rank(const std::vector< Index >& rank); - void randomize(void); + void randomize(); void set_encoding(const encoding_type& encoding); virtual Eigen::RowVectorXd encode(const std::string& value) const; - std::unique_ptr< NominalSampleSpace > as_nominal(void) const; + std::unique_ptr< NominalSampleSpace > as_nominal() const; - virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; + virtual std::unique_ptr< UnivariateSampleSpace > copy() const; protected: - std::shared_ptr< std::vector< Index > > _rank; + std::shared_ptr< std::vector< Index > > rank; - virtual void detach(void); + virtual void detach(); }; class UnivariateConditionalData; @@ -131,13 +131,13 @@ namespace statiskit class STATISKIT_CORE_API HierarchicalSampleSpace : public CategoricalSampleSpace { public: - typedef std::map< std::string, CategoricalSampleSpace* >::const_iterator const_iterator; + typedef std::map< std::string, std::unique_ptr< CategoricalSampleSpace > >::const_iterator const_iterator; HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space); HierarchicalSampleSpace(const HierarchicalSampleSpace& p_sample_space); - virtual ~HierarchicalSampleSpace(void); + virtual ~HierarchicalSampleSpace(); - virtual ordering_type get_ordering(void) const; + virtual ordering_type get_ordering() const; void set_encoding(const encoding_type& encoding); @@ -146,105 +146,105 @@ namespace statiskit void partition(const std::string& leave, const CategoricalSampleSpace& sample_space); // partition the leave "value" into a sample space UnivariateConditionalData split(const std::string& non_leave, const UnivariateConditionalData& data) const; - virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; + virtual std::unique_ptr< UnivariateSampleSpace > copy() const; - const_iterator cbegin(void) const; - const_iterator cend(void) const; + const_iterator cbegin() const; + const_iterator cend() const; const CategoricalSampleSpace* get_sample_space(const std::string& value); - std::map< std::string, std::string > get_parents(void) const; - //const std::string get_parent(const std::string& value); + const std::map< std::string, std::string >& get_parents() const; std::string children(const std::string& non_leave, const std::string& leave) const; + protected: - std::map< std::string, CategoricalSampleSpace* > _tree_sample_space; - std::map< std::string, std::string > _parents; + std::shared_ptr< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > > tree_sample_space; + std::shared_ptr< std::map< std::string, std::string > > parents; virtual bool is_compatible_value(const std::string& value) const; - virtual void detach(void); + virtual void detach(); }; struct STATISKIT_CORE_API DiscreteSampleSpace : public UnivariateSampleSpace { - virtual outcome_type get_outcome(void) const; + virtual outcome_type get_outcome() const; - virtual ordering_type get_ordering(void) const; + virtual ordering_type get_ordering() const; }; class STATISKIT_CORE_API IntegerSampleSpace : public DiscreteSampleSpace { public: IntegerSampleSpace(const int& lower_bound=std::numeric_limits< int >::min(), const int& upper_bound=std::numeric_limits< int >::max()); - virtual ~IntegerSampleSpace(void); + virtual ~IntegerSampleSpace(); virtual bool is_compatible(const UnivariateEvent* event) const; - const int& get_lower_bound(void) const; + const int& get_lower_bound() const; - const int& get_upper_bound(void) const; + const int& get_upper_bound() const; - virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; + virtual std::unique_ptr< UnivariateSampleSpace > copy() const; protected: - int _lower_bound; - int _upper_bound; + int lower_bound; + int upper_bound; }; - STATISKIT_CORE_API const IntegerSampleSpace& get_NN(void); - STATISKIT_CORE_API const IntegerSampleSpace& get_ZZ(void); + STATISKIT_CORE_API const IntegerSampleSpace& get_NN(); + STATISKIT_CORE_API const IntegerSampleSpace& get_ZZ(); struct STATISKIT_CORE_API ContinuousSampleSpace : public UnivariateSampleSpace { - virtual outcome_type get_outcome(void) const; + virtual outcome_type get_outcome() const; - virtual ordering_type get_ordering(void) const; + virtual ordering_type get_ordering() const; }; class STATISKIT_CORE_API RealSampleSpace : public ContinuousSampleSpace { public: RealSampleSpace(const double& lower_bound=-1*std::numeric_limits< double >::infinity(), const double& upper_bound=std::numeric_limits< double >::infinity(), const bool& left_closed=false, const bool& right_closed=false); - virtual ~RealSampleSpace(void); + virtual ~RealSampleSpace(); virtual bool is_compatible(const UnivariateEvent* event) const; - const double& get_lower_bound(void) const; + const double& get_lower_bound() const; - const double& get_upper_bound(void) const; + const double& get_upper_bound() const; - const bool& get_left_closed(void) const; + const bool& get_left_closed() const; - const bool& get_right_closed(void) const; + const bool& get_right_closed() const; - virtual std::unique_ptr< UnivariateSampleSpace > copy(void) const; + virtual std::unique_ptr< UnivariateSampleSpace > copy() const; protected: - double _lower_bound; - double _upper_bound; - bool _left_closed; - bool _right_closed; + double lower_bound; + double upper_bound; + bool left_closed; + bool right_closed; }; - STATISKIT_CORE_API const RealSampleSpace& get_RR(void); - STATISKIT_CORE_API const RealSampleSpace& get_PR(void); - STATISKIT_CORE_API const RealSampleSpace& get_NR(void); + STATISKIT_CORE_API const RealSampleSpace& get_RR(); + STATISKIT_CORE_API const RealSampleSpace& get_PR(); + STATISKIT_CORE_API const RealSampleSpace& get_NR(); struct STATISKIT_CORE_API MultivariateSampleSpace { - virtual ~MultivariateSampleSpace(void) = 0; + virtual ~MultivariateSampleSpace() = 0; - virtual Index size(void) const = 0; + virtual Index size() const = 0; virtual const UnivariateSampleSpace* get(const Index& index) const = 0; virtual bool is_compatible(const MultivariateEvent* event) const; - virtual Index encode(void) const; + virtual Index encode() const; virtual Eigen::RowVectorXd encode(const MultivariateEvent& event) const; - virtual std::unique_ptr< MultivariateSampleSpace > copy(void) const = 0; + virtual std::unique_ptr< MultivariateSampleSpace > copy() const = 0; }; class STATISKIT_CORE_API VectorSampleSpace : public MultivariateSampleSpace @@ -252,14 +252,14 @@ namespace statiskit public: VectorSampleSpace(const std::vector< UnivariateSampleSpace* >& sample_spaces); VectorSampleSpace(const VectorSampleSpace& sample_space); - virtual ~VectorSampleSpace(void); + virtual ~VectorSampleSpace(); - virtual Index size(void) const; + virtual Index size() const; virtual const UnivariateSampleSpace* get(const Index& index) const; virtual void set(const Index& index, const UnivariateSampleSpace& sample_space); - virtual std::unique_ptr< MultivariateSampleSpace > copy(void) const; + virtual std::unique_ptr< MultivariateSampleSpace > copy() const; protected: std::vector< UnivariateSampleSpace* > _sample_spaces; diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index f8e1f8fc..7b0c7142 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -1,8 +1,8 @@ __all__ = [] # Import dependency decorator modules -import statiskit.linalg._linalg import statiskit.stl._stl +import statiskit.linalg._linalg # Import Boost.Python module from . import __core @@ -167,188 +167,188 @@ __core.statiskit._MixtureDistributionEMEstimation = (__core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87, __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b, __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436, __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00, __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57, __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774, __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c, __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b) # Define aliases -__core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator -__core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d -__core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution -__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution -__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde -__core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation -__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution -__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d -__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 -__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution -__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 -__core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 -__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution -__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator -__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 -__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution -__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 -__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b -__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator -__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 __core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 -__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator -__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution -__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 -__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace -__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution -__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b -__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b __core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator -__core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution -__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation +__core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator __core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator -__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution -__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution -__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 -__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation +__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData +__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator +__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation +__core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution __core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 -__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator -__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace -__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData -__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator +__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a.EstimatedType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 -__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution +__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 +__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator +__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData +__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator +__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 +__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d +__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 +__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 __core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator -__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution -__core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 -__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator +__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 +__core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution +__core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution +__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 __core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator -__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator -__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator __core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 -__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution -__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 -__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 -__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac -__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb -__core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator +__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData +__core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation +__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution __core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution -__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData -__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 -__core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution +__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation +__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData +__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb +__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator +__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace +__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent +__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution +__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f +__core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 +__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda +__core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution +__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution __core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator -__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator -__core.statiskit.UnivariateDistributionEstimation.EstimatedType = __core.statiskit.UnivariateDistribution -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator +__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f __core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a -__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 -__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 +__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b +__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 +__core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation +__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b +__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 +__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation __core.statiskit.UnivariateConditionalDistributionEstimation.CopyType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation +__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution +__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 +__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 +__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b __core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e.EstimatedType = __core.statiskit.GeometricDistribution +__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData __core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution -__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator -__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f -__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator -__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution -__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 __core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 -__core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4.EstimatedType = __core.statiskit.PoissonDistribution -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c +__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution +__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent __core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation -__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda +__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 +__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator +__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution +__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution +__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator +__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution __core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437.EstimatedType = __core.statiskit.MultinomialSingularDistribution -__core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator -__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent -__core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator +__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator +__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator +__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 +__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData +__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace __core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 -__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f +__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator +__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4.EstimatedType = __core.statiskit.PoissonDistribution +__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution +__core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation +__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator +__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator +__core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution +__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 +__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d +__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.UnivariateDistributionEstimation.EstimatedType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator +__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator +__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation +__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 +__core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 +__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData +__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData __core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c.EstimatedType = __core.statiskit.NormalDistribution -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b -__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator +__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator +__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator +__core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution __core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation -__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution __core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution __core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 -__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution +__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f +__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac +__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a +__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData +__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution __core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 -__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation +__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution __core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator -__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator -__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator +__core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution +__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa +__core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 +__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 +__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution +__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d +__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c +__core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution diff --git a/test/test_data.py b/test/test_data.py index a9f11e58..9eb7bff8 100644 --- a/test/test_data.py +++ b/test/test_data.py @@ -1,6 +1,8 @@ import matplotlib matplotlib.use('Agg') +from matplotlib import pyplot + from statiskit import core from statiskit.data import core as data diff --git a/test/test_poisson.py b/test/test_poisson.py index e7f825ca..7972910c 100644 --- a/test/test_poisson.py +++ b/test/test_poisson.py @@ -13,11 +13,9 @@ class TestBinomial(unittest.TestCase, AbstractTestDiscreteUnivariateDistribution @classmethod def setUpClass(cls): - """Test Poisson distribution construction""" cls._dist = core.PoissonDistribution(5.) def test_mle(self): - """Test Poisson ML estimation""" data = self._dist.simulation(10) mle = core.poisson_estimation('ml', data) self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) \ No newline at end of file From ee0a38420eb887030a83ba3626c571bc3156c58b Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Mon, 15 Apr 2019 15:28:35 +0200 Subject: [PATCH 05/16] Apply COW on vector sample space --- src/cpp/sample_space.cpp | 136 +++++++++++++++++++-------------------- src/cpp/sample_space.h | 4 +- 2 files changed, 71 insertions(+), 69 deletions(-) diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index b550e93f..6a233df8 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -307,8 +307,9 @@ namespace statiskit void OrdinalSampleSpace::detach() { - if(this->rank && !this->rank.unique()) - { this->rank = std::make_shared< std::vector< Index > >(*this->rank);} + if (this->rank && !this->rank.unique()) { + this->rank = std::make_shared< std::vector< Index > >(*this->rank); + } } HierarchicalSampleSpace::HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space) : CategoricalSampleSpace(root_sample_space.get_values()) { @@ -463,15 +464,21 @@ namespace statiskit void HierarchicalSampleSpace::detach() { - std::shared_ptr< std::set< std::string > > values = std::make_shared< std::set< std::string > >(this->values->begin(), this->values->end()); - this->values = values; - std::shared_ptr< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > > tree_sample_space = std::make_shared< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > >(); - for (HierarchicalSampleSpace::const_iterator it = this->cbegin(), it_end = this->cend(); it != it_end; ++it) { - (*tree_sample_space)[it->first] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(it->second->copy().release())); + if (this->values && !this->values.unique()) { + std::shared_ptr< std::set< std::string > > values = std::make_shared< std::set< std::string > >(this->values->begin(), this->values->end()); + this->values = values; + } + if (this->tree_sample_space && !this->tree_sample_space.unique()) { + std::shared_ptr< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > > tree_sample_space = std::make_shared< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > >(); + for (HierarchicalSampleSpace::const_iterator it = this->cbegin(), it_end = this->cend(); it != it_end; ++it) { + (*tree_sample_space)[it->first] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(it->second->copy().release())); + } + this->tree_sample_space = tree_sample_space; + } + if (this->parents && !this->parents.unique()) { + std::shared_ptr< std::map< std::string, std::string > > parents = std::make_shared< std::map< std::string, std::string > >(this->parents->cbegin(), this->parents->cend()); + this->parents = parents; } - this->tree_sample_space = tree_sample_space; - std::shared_ptr< std::map< std::string, std::string > > parents = std::make_shared< std::map< std::string, std::string > >(this->parents->cbegin(), this->parents->cend()); - this->parents = parents; } outcome_type DiscreteSampleSpace::get_outcome() const @@ -800,57 +807,49 @@ namespace statiskit bool MultivariateSampleSpace::is_compatible(const MultivariateEvent* event) const { bool compatible = !event || event->size() == size(); - if(compatible) - { + if (compatible) { const UnivariateSampleSpace* sample_space; - Index index = 0, max_index = size(); - while(compatible && index < max_index) - { - sample_space = get(index); + Index index = 0, max_index = this->size(); + while (compatible && index < max_index) { + sample_space = this->get(index); compatible = sample_space && sample_space->is_compatible(event->get(index)); ++index; } + } else { + compatible = event; } - else - { compatible = event; } return compatible; } Index MultivariateSampleSpace::encode() const { - Index _size = 0; - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - const UnivariateSampleSpace* sample_space = get(index); - if(sample_space->get_outcome() == CATEGORICAL) - { - _size += static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); - _size -= 1; + Index size = 0; + for (Index index = 0, max_index = this->size(); index < max_index; ++index) { + const UnivariateSampleSpace* sample_space = this->get(index); + if (sample_space->get_outcome() == CATEGORICAL) { + size += static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); + size -= 1; + } else { + size += 1; } - else - { _size += 1; } } - return _size; + return size; } Eigen::RowVectorXd MultivariateSampleSpace::encode(const MultivariateEvent& event) const { Eigen::RowVectorXd dummy; - if(event.size() != size()) - { dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(encode()); } - else - { + if (event.size() != this->size()) { + dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(encode()); + } else { Index shift = 0; dummy = Eigen::RowVectorXd::Zero(encode()); Eigen::RowVectorXd temp; - for(Index index = 0, max_index = size(); index< max_index; ++index) - { + for (Index index = 0, max_index = this->size(); index< max_index; ++index) { const UnivariateEvent* uevent = event.get(index); - if(uevent->get_event() == ELEMENTARY) - { - const UnivariateSampleSpace* sample_space = get(index); - switch(sample_space->get_outcome()) - { + if (uevent->get_event() == ELEMENTARY) { + const UnivariateSampleSpace* sample_space = this->get(index); + switch (sample_space->get_outcome()) { case CATEGORICAL: { temp = (static_cast< const CategoricalSampleSpace* >(sample_space)->encode(static_cast< const CategoricalElementaryEvent* >(uevent)->get_value())); @@ -866,21 +865,17 @@ namespace statiskit dummy(index + shift) = static_cast< const ContinuousElementaryEvent* >(uevent)->get_value(); break; } - } - else - { + } else { const UnivariateSampleSpace* sample_space = get(index); - if(sample_space->get_outcome() == CATEGORICAL) - { + if (sample_space->get_outcome() == CATEGORICAL) { Index max_size = index + shift + static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); - while(index + shift < max_size) - { + while(index + shift < max_size) { dummy(index + shift) = std::numeric_limits< double >::quiet_NaN(); ++shift; } + } else { + dummy(index + shift) = std::numeric_limits< double >::quiet_NaN(); } - else - { dummy(index + shift) = std::numeric_limits< double >::quiet_NaN(); } } } } @@ -889,45 +884,50 @@ namespace statiskit VectorSampleSpace::VectorSampleSpace(const std::vector< UnivariateSampleSpace* >& sample_spaces) { - _sample_spaces.resize(sample_spaces.size(), nullptr); - for(Index index = 0, max_index = sample_spaces.size(); index < max_index; ++index) - { - if(!sample_spaces[index]) - { throw nullptr_error("sample_spaces"); } - _sample_spaces[index] = sample_spaces[index]->copy().release(); + this->sample_spaces = std::make_shared< std::vector< std::unique_ptr< UnivariateSampleSpace > > >(); + this->sample_spaces->resize(sample_spaces.size()); + for (Index index = 0, max_index = sample_spaces.size(); index < max_index; ++index) { + if (!sample_spaces[index]) { + throw nullptr_error("sample_spaces"); + } + (*this->sample_spaces)[index] = sample_spaces[index]->copy(); } } VectorSampleSpace::VectorSampleSpace(const VectorSampleSpace& sample_space) { - _sample_spaces.resize(sample_space.size(), nullptr); - for(Index index = 0, max_index = sample_space.size(); index < max_index; ++index) - { _sample_spaces[index] = sample_space._sample_spaces[index]->copy().release(); } + this->sample_spaces = sample_space.sample_spaces; } VectorSampleSpace::~VectorSampleSpace() { - for(Index index = 0, max_index = _sample_spaces.size(); index < max_index; ++index) - { - delete _sample_spaces[index]; - _sample_spaces[index] = nullptr; - } - _sample_spaces.clear(); } Index VectorSampleSpace::size() const - {return _sample_spaces.size(); } + {return this->sample_spaces->size(); } const UnivariateSampleSpace* VectorSampleSpace::get(const Index& index) const - { return _sample_spaces[index]; } + { return (*this->sample_spaces)[index].get(); } void VectorSampleSpace::set(const Index& index, const UnivariateSampleSpace& sample_space) { - delete _sample_spaces[index]; - _sample_spaces[index] = sample_space.copy().release(); + detach(); + (*this->sample_spaces)[index] = sample_space.copy(); } std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy() const { return std::make_unique< VectorSampleSpace >(*this); } + void VectorSampleSpace::detach() + { + if (this->sample_spaces && !this->sample_spaces.unique()) { + sample_spaces = std::make_shared< std::vector< std::unique_ptr< UnivariateSampleSpace > > >(); + sample_spaces->resize(this->sample_spaces->size()); + for (Index index = 0, max_index = this->sample_spaces->size(); index < max_index; ++index) { + (*sample_spaces)[index] = (*this->sample_spaces)[index]->copy(); + } + this->sample_spaces = sample_spaces; + } + } + } diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 610334f5..99e5941b 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -262,7 +262,9 @@ namespace statiskit virtual std::unique_ptr< MultivariateSampleSpace > copy() const; protected: - std::vector< UnivariateSampleSpace* > _sample_spaces; + std::shared_ptr< std::vector< std::unique_ptr< UnivariateSampleSpace > > > sample_spaces; + + void detach(); }; typedef std::vector< UnivariateSampleSpace* > SampleSpaceVector; From abd5bba64c9158037470722731661c6a95a56f67 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Thu, 25 Apr 2019 16:05:27 +0200 Subject: [PATCH 06/16] Apply COW on UnivariateData --- src/cpp/data.cpp | 336 ++++++++++++++++++++++------------------------- src/cpp/data.h | 18 +-- 2 files changed, 166 insertions(+), 188 deletions(-) diff --git a/src/cpp/data.cpp b/src/cpp/data.cpp index b8f8211e..957748bc 100644 --- a/src/cpp/data.cpp +++ b/src/cpp/data.cpp @@ -8,11 +8,10 @@ namespace statiskit Index UnivariateData::size() const { Index index = 0; - std::unique_ptr< UnivariateData::Generator > _generator = generator(); - while(_generator->is_valid()) - { + std::unique_ptr< UnivariateData::Generator > generator = this->generator(); + while (generator->is_valid()) { ++index; - ++(*_generator); + ++(*generator); } return index; } @@ -20,11 +19,10 @@ namespace statiskit double UnivariateData::compute_total() const { double total = 0.; - std::unique_ptr< UnivariateData::Generator > _generator = generator(); - while(_generator->is_valid()) - { - total += _generator->weight(); - ++(*_generator); + std::unique_ptr< UnivariateData::Generator > generator = this->generator(); + while (generator->is_valid()) { + total += generator->weight(); + ++(*generator); } return total; } @@ -32,17 +30,13 @@ namespace statiskit std::unique_ptr< UnivariateEvent > UnivariateData::compute_minimum() const { std::unique_ptr< UnivariateEvent > minimum; - const UnivariateSampleSpace* sample_space = get_sample_space(); - std::unique_ptr< UnivariateData::Generator > _generator = generator(); - if(sample_space->get_ordering() == TOTAL) - { - while(_generator->is_valid() && !minimum) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - switch(sample_space->get_outcome()) - { + const UnivariateSampleSpace* sample_space = this->get_sample_space(); + std::unique_ptr< UnivariateData::Generator > generator = this->generator(); + if (sample_space->get_ordering() == TOTAL) { + while (generator->is_valid() && !minimum) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + switch (sample_space->get_outcome()) { case CATEGORICAL: minimum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; @@ -54,44 +48,40 @@ namespace statiskit break; } } - ++(*_generator); + ++(*generator); } - switch(sample_space->get_outcome()) - { + switch (sample_space->get_outcome()) { case CATEGORICAL: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const CategoricalElementaryEvent* >(event)->get_value() < static_cast< const CategoricalElementaryEvent* >(minimum.get())->get_value()) - { minimum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const CategoricalElementaryEvent* >(event)->get_value() < static_cast< const CategoricalElementaryEvent* >(minimum.get())->get_value()) { + minimum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; case DISCRETE: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const DiscreteElementaryEvent* >(event)->get_value() < static_cast< const DiscreteElementaryEvent* >(minimum.get())->get_value()) - { minimum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const DiscreteElementaryEvent* >(event)->get_value() < static_cast< const DiscreteElementaryEvent* >(minimum.get())->get_value()) { + minimum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; case CONTINUOUS: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const ContinuousElementaryEvent* >(event)->get_value() < static_cast< const ContinuousElementaryEvent* >(minimum.get())->get_value()) - { minimum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const ContinuousElementaryEvent* >(event)->get_value() < static_cast< const ContinuousElementaryEvent* >(minimum.get())->get_value()) { + minimum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; } @@ -102,17 +92,13 @@ namespace statiskit std::unique_ptr< UnivariateEvent> UnivariateData::compute_maximum() const { std::unique_ptr< UnivariateEvent > maximum; - const UnivariateSampleSpace* sample_space = get_sample_space(); - std::unique_ptr< UnivariateData::Generator > _generator = generator(); - if(sample_space->get_ordering() == TOTAL) - { - while(_generator->is_valid() && !maximum) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - switch(sample_space->get_outcome()) - { + const UnivariateSampleSpace* sample_space = this->get_sample_space(); + std::unique_ptr< UnivariateData::Generator > generator = this->generator(); + if (sample_space->get_ordering() == TOTAL) { + while (generator->is_valid() && !maximum) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + switch (sample_space->get_outcome()) { case CATEGORICAL: maximum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; @@ -124,44 +110,40 @@ namespace statiskit break; } } - ++(*_generator); + ++(*generator); } - switch(sample_space->get_outcome()) - { + switch (sample_space->get_outcome()) { case CATEGORICAL: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const CategoricalElementaryEvent* >(event)->get_value() > static_cast< const CategoricalElementaryEvent* >(maximum.get())->get_value()) - { maximum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const CategoricalElementaryEvent* >(event)->get_value() > static_cast< const CategoricalElementaryEvent* >(maximum.get())->get_value()) { + maximum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; case DISCRETE: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const DiscreteElementaryEvent* >(event)->get_value() > static_cast< const DiscreteElementaryEvent* >(maximum.get())->get_value()) - { maximum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const DiscreteElementaryEvent* >(event)->get_value() > static_cast< const DiscreteElementaryEvent* >(maximum.get())->get_value()) { + maximum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; case CONTINUOUS: - while(_generator->is_valid()) - { - const UnivariateEvent* event = _generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - if(static_cast< const ContinuousElementaryEvent* >(event)->get_value() > static_cast< const ContinuousElementaryEvent* >(maximum.get())->get_value()) - { maximum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->event(); + if (event && event->get_event() == ELEMENTARY) { + if (static_cast< const ContinuousElementaryEvent* >(event)->get_value() > static_cast< const ContinuousElementaryEvent* >(maximum.get())->get_value()) { + maximum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); + } } - ++(*_generator); + ++(*generator); } break; } @@ -172,187 +154,181 @@ namespace statiskit UnivariateData::Generator::~Generator() {} - unsigned int NamedData::__index = 0; + unsigned int NamedData::INDEX = 0; NamedData::NamedData() { - _name = "V" + __impl::to_string(__index); - ++__index; + this->name = "V" + __impl::to_string(this->INDEX); + ++(this->INDEX); } NamedData::NamedData(const std::string& name) - { _name = name; } + { this->name = name; } - NamedData::NamedData(const NamedData& named_data) - { _name = named_data._name; } + NamedData::NamedData(const NamedData& data) + { this->name = data.name; } NamedData::~NamedData() {} const std::string& NamedData::get_name() const - { return _name; } + { return this->name; } void NamedData::set_name(const std::string& name) - { _name = name; } + { this->name = name; } UnivariateDataFrame::UnivariateDataFrame(const UnivariateSampleSpace& sample_space) : NamedData() { - _sample_space = sample_space.copy().release(); - _events.clear(); + this->sample_space = sample_space.copy(); + this->events = std::make_shared< std::vector< std::unique_ptr< UnivariateEvent > > >(); } UnivariateDataFrame::UnivariateDataFrame(const UnivariateDataFrame& data) : NamedData(data) { - _sample_space = data._sample_space->copy().release(); - _events.resize(data.get_nb_events()); - for(Index index = 0, max_index = get_nb_events(); index < max_index; ++index) - { - if(data._events[index]) - { _events[index] = data._events[index]->copy().release(); } - } + this->sample_space = data.sample_space; + this->events = data.events; } UnivariateDataFrame::~UnivariateDataFrame() - { - if(_sample_space) - { delete _sample_space; } - _sample_space = nullptr; - for(Index index = 0, max_index = get_nb_events(); index < max_index; ++index) - { - if(_events[index]) - { delete _events[index]; } - _events[index] = nullptr; - } - _events.clear(); - } + {} Index UnivariateDataFrame::size() const - { return _events.size(); } + { return this->events->size(); } std::unique_ptr< UnivariateData::Generator > UnivariateDataFrame::generator() const - { return std::make_unique< UnivariateDataFrame::Generator >(this); } + { return std::make_unique< UnivariateDataFrame::Generator >(*this); } const UnivariateSampleSpace* UnivariateDataFrame::get_sample_space() const - { return _sample_space; } + { return this->sample_space.get(); } void UnivariateDataFrame::set_sample_space(const UnivariateSampleSpace& sample_space) { bool compatible = true; - Index index = 0, max_index = get_nb_events(); - while(compatible && index < max_index) - { - compatible = sample_space.is_compatible(_events[index]); + Index index = 0, max_index = this->get_nb_events(); + while (compatible && index < max_index) { + compatible = sample_space.is_compatible((*this->events)[index].get()); ++index; } - if(compatible) - { - delete _sample_space; - _sample_space = sample_space.copy().release(); + if (compatible) { + this->sample_space = sample_space.copy(); + } else { + throw statiskit::parameter_error("sample_space", "incompatible"); } - else - { throw statiskit::parameter_error("sample_space", "incompatible"); } } Index UnivariateDataFrame::get_nb_events() const - { return _events.size(); } + { return this->events->size(); } const UnivariateEvent* UnivariateDataFrame::get_event(const Index& index) const { - if(index > get_nb_events()) - { throw size_error("index", get_nb_events(), size_error::inferior); } - return _events[index]; + if (index > this->get_nb_events()) { + throw size_error("index", this->get_nb_events(), size_error::inferior); + } + return (*this->events)[index].get(); } void UnivariateDataFrame::set_event(const Index& index, const UnivariateEvent* event) { - if(event) - { - if(_sample_space->is_compatible(event)) - { - delete _events[index]; - _events[index] = event->copy().release(); - } - else - { throw statiskit::parameter_error("event", "incompatible"); } - } - else - { - delete _events[index]; - _events[index] = nullptr; + if (event) { + if (this->sample_space->is_compatible(event)) { + this->detach(); + (*this->events)[index] = event->copy(); + } else { + throw statiskit::parameter_error("event", "incompatible"); + } + } else { + (*this->events)[index] = std::unique_ptr< UnivariateEvent >(); } } void UnivariateDataFrame::add_event(const UnivariateEvent* event) { - if(event) - { - if(_sample_space->is_compatible(event)) - { _events.push_back(event->copy().release()); } - else - { throw parameter_error("event", "incompatible"); } + if (event) { + if (this->sample_space->is_compatible(event)) { + this->detach(); + this->events->push_back(event->copy()); + } else { + throw parameter_error("event", "incompatible"); + } + } else { + this->detach(); + this->events->push_back(std::unique_ptr< UnivariateEvent >()); } - else - { _events.push_back(nullptr); } } std::unique_ptr< UnivariateEvent > UnivariateDataFrame::pop_event() { - std::unique_ptr< UnivariateEvent > event(_events.back()); - _events.pop_back(); - return event; + if (this->get_nb_events() > 0) { + this->detach(); + std::unique_ptr< UnivariateEvent > event = std::move(this->events->back()); + this->events->pop_back(); + return event; + } else { + return std::unique_ptr< UnivariateEvent >(); + } } void UnivariateDataFrame::insert_event(const Index& index, const UnivariateEvent* event) { - if(event) - { - if(_sample_space->is_compatible(event)) - { - std::vector< UnivariateEvent* >::iterator it = _events.begin(); + if (index >= this->get_nb_events()) { + throw size_error("index", this->get_nb_events(), size_error::inferior); + } else { + if (event) { + if (this->sample_space->is_compatible(event)) { + this->detach(); + std::vector< std::unique_ptr< UnivariateEvent > >::iterator it = this->events->begin(); + advance(it, index); + this->events->insert(it, event->copy()); + } else { + throw parameter_error("event", "incompatible"); + } + } else { + this->detach(); + std::vector< std::unique_ptr< UnivariateEvent > >::iterator it = this->events->begin(); advance(it, index); - _events.insert(it, event->copy().release()); + this->events->insert(it, std::unique_ptr< UnivariateEvent >()); } - else - { throw parameter_error("event", "incompatible"); } - } - else - { - std::vector< UnivariateEvent* >::iterator it = _events.begin(); - advance(it, index); - _events.insert(it, nullptr); } } void UnivariateDataFrame::remove_event(const Index& index) { - std::vector< UnivariateEvent* >::iterator it = _events.begin(); + this->detach(); + std::vector< std::unique_ptr< UnivariateEvent > >::iterator it = this->events->begin(); advance(it, index); - delete *it; - *it = nullptr; - _events.erase(it); + this->events->erase(it); } - UnivariateDataFrame::Generator::Generator(const UnivariateDataFrame* data) + void UnivariateDataFrame::detach() { - _data = data; - _index = 0; + std::shared_ptr< std::vector< std::unique_ptr< UnivariateEvent > > > events = std::make_shared< std::vector< std::unique_ptr< UnivariateEvent > > >(this->get_nb_events()); + for (Index index = 0, max_index = this->get_nb_events(); index < max_index; ++index) { + (*events)[index] = (*this->events)[index]->copy(); + } + this->events = events; + } + + UnivariateDataFrame::Generator::Generator(const UnivariateDataFrame& data) + { + this->data = std::make_unique< UnivariateDataFrame >(data); + this->index = 0; } UnivariateDataFrame::Generator::~Generator() {} bool UnivariateDataFrame::Generator::is_valid() const - { return _data && _index < _data->get_nb_events(); } + { return this->index < this->data->get_nb_events(); } UnivariateData::Generator& UnivariateDataFrame::Generator::operator++() { - ++_index; + ++this->index; return *this; } const UnivariateEvent* UnivariateDataFrame::Generator::event() const { - return _data->get_event(_index); + return this->data->get_event(this->index); } double UnivariateDataFrame::Generator::weight() const diff --git a/src/cpp/data.h b/src/cpp/data.h index 4456912b..105578b7 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -49,18 +49,18 @@ namespace statiskit public: NamedData(); NamedData(const std::string& name); - NamedData(const NamedData& named_data); + NamedData(const NamedData& data); virtual ~NamedData(); const std::string& get_name() const; void set_name(const std::string& name); protected: - std::string _name; + std::string name; private: - static unsigned int __index; + static unsigned int INDEX; }; class STATISKIT_CORE_API UnivariateDataFrame : public PolymorphicCopy< UnivariateData, UnivariateDataFrame >, public NamedData @@ -89,13 +89,15 @@ namespace statiskit void remove_event(const Index& index); protected: - UnivariateSampleSpace* _sample_space; - std::vector< UnivariateEvent* > _events; + std::shared_ptr< UnivariateSampleSpace > sample_space; + std::shared_ptr< std::vector< std::unique_ptr< UnivariateEvent > > > events; + + void detach(); class STATISKIT_CORE_API Generator : public UnivariateData::Generator { public: - Generator(const UnivariateDataFrame* data); + Generator(const UnivariateDataFrame& data); virtual ~Generator(); virtual bool is_valid() const; @@ -106,8 +108,8 @@ namespace statiskit virtual double weight() const; protected: - const UnivariateDataFrame* _data; - Index _index; + std::unique_ptr< UnivariateDataFrame > data; + Index index; }; }; From be12eaa27840bb284c16f533e51e2523fa8bb890 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Thu, 25 Apr 2019 16:55:18 +0200 Subject: [PATCH 07/16] Change multivariate data API from select to extract --- src/cpp/data.h | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/src/cpp/data.h b/src/cpp/data.h index 105578b7..d670aed1 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -141,14 +141,36 @@ namespace statiskit virtual const MultivariateSampleSpace* get_sample_space() const = 0; - virtual std::unique_ptr< UnivariateData > extract(const Index& index) const = 0; - virtual std::unique_ptr< MultivariateData > extract(const Indices& indices) const = 0; + virtual std::unique_ptr< UnivariateData > select(const Index& index) const; + virtual std::unique_ptr< MultivariateData > select(const Indices& indices) const; virtual std::unique_ptr< MultivariateData > copy() const = 0; double compute_total() const; - //virtual std::unique_ptr< MultivariateEvent > compute_minimum() const = 0; - //virtual std::unique_ptr< MultivariateEvent > compute_maximum() const = 0; + }; + + class STATISKIT_CORE_API IndexSelectedData : public UnivariateData + { + public: + IndexSelectedData(const MultivariateData& data, const Index& index); + IndexSelectedData(const IndexSelectedData& data); + virtual ~IndexSelectedData(); + + const MultivariateData* origin() const; + + virtual std::unique_ptr< UnivariateData::Generator > generator() const; + + virtual const UnivariateSampleSpace* get_sample_space() const; + + virtual std::unique_ptr< UnivariateData > copy() const; + + protected: + MultivariateData* data; + Index index; + + class Generator : public UnivariateData::Generator + { + }; }; class STATISKIT_CORE_API MultivariateDataFrame : public PolymorphicCopy< MultivariateData, MultivariateDataFrame > @@ -164,8 +186,7 @@ namespace statiskit virtual const MultivariateSampleSpace* get_sample_space() const; void set_sample_space(const MultivariateSampleSpace& sample_space); - virtual std::unique_ptr< UnivariateData > extract(const Index& index) const; - virtual std::unique_ptr< MultivariateData > extract(const Indices& indices) const; + virtual std::unique_ptr< UnivariateData > select(const Index& index) const; Index get_nb_components() const; @@ -190,10 +211,8 @@ namespace statiskit void remove_event(const Index& index); protected: - class SampleSpace; - - SampleSpace* _sample_space; - std::vector< UnivariateDataFrame* > _components; + std::shared_ptr< VectorSampleSpace > sample_space; + std::shared_ptr< std::vector< std::unique_ptr< UnivariateDataFrame > > > components; class STATISKIT_CORE_API SampleSpace : public PolymorphicCopy< MultivariateSampleSpace, SampleSpace > { From ae41165e8bc80028b7905ad0a8211c2af2114916 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Fri, 26 Apr 2019 16:15:22 +0200 Subject: [PATCH 08/16] major API changes --- src/cpp/data.cpp | 1013 ++++++++++++++++---------------------- src/cpp/data.h | 620 ++++++++--------------- src/cpp/data.hpp | 362 +++----------- src/cpp/distribution.cpp | 124 ++--- src/cpp/distribution.h | 2 +- src/cpp/estimation.h | 8 - src/cpp/event.cpp | 6 +- src/cpp/event.h | 25 +- src/cpp/event.hpp | 20 +- src/cpp/indicator.cpp | 90 ++-- src/cpp/sample_space.cpp | 14 +- src/cpp/sample_space.h | 8 +- 12 files changed, 839 insertions(+), 1453 deletions(-) diff --git a/src/cpp/data.cpp b/src/cpp/data.cpp index 957748bc..fdaf8084 100644 --- a/src/cpp/data.cpp +++ b/src/cpp/data.cpp @@ -5,7 +5,7 @@ namespace statiskit UnivariateData::~UnivariateData() {} - Index UnivariateData::size() const + Index UnivariateData::get_nb_events() const { Index index = 0; std::unique_ptr< UnivariateData::Generator > generator = this->generator(); @@ -21,7 +21,7 @@ namespace statiskit double total = 0.; std::unique_ptr< UnivariateData::Generator > generator = this->generator(); while (generator->is_valid()) { - total += generator->weight(); + total += generator->get_weight(); ++(*generator); } return total; @@ -34,16 +34,16 @@ namespace statiskit std::unique_ptr< UnivariateData::Generator > generator = this->generator(); if (sample_space->get_ordering() == TOTAL) { while (generator->is_valid() && !minimum) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { switch (sample_space->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: minimum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; - case DISCRETE: + case outcome_type::DISCRETE: minimum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: minimum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); break; } @@ -51,10 +51,10 @@ namespace statiskit ++(*generator); } switch (sample_space->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const CategoricalElementaryEvent* >(event)->get_value() < static_cast< const CategoricalElementaryEvent* >(minimum.get())->get_value()) { minimum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); } @@ -62,10 +62,10 @@ namespace statiskit ++(*generator); } break; - case DISCRETE: + case outcome_type::DISCRETE: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const DiscreteElementaryEvent* >(event)->get_value() < static_cast< const DiscreteElementaryEvent* >(minimum.get())->get_value()) { minimum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); } @@ -73,10 +73,10 @@ namespace statiskit ++(*generator); } break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const ContinuousElementaryEvent* >(event)->get_value() < static_cast< const ContinuousElementaryEvent* >(minimum.get())->get_value()) { minimum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); } @@ -96,16 +96,16 @@ namespace statiskit std::unique_ptr< UnivariateData::Generator > generator = this->generator(); if (sample_space->get_ordering() == TOTAL) { while (generator->is_valid() && !maximum) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { switch (sample_space->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: maximum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; - case DISCRETE: + case outcome_type::DISCRETE: maximum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: maximum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); break; } @@ -113,10 +113,10 @@ namespace statiskit ++(*generator); } switch (sample_space->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const CategoricalElementaryEvent* >(event)->get_value() > static_cast< const CategoricalElementaryEvent* >(maximum.get())->get_value()) { maximum = std::make_unique< CategoricalElementaryEvent >(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); } @@ -124,10 +124,10 @@ namespace statiskit ++(*generator); } break; - case DISCRETE: + case outcome_type::DISCRETE: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const DiscreteElementaryEvent* >(event)->get_value() > static_cast< const DiscreteElementaryEvent* >(maximum.get())->get_value()) { maximum = std::make_unique< DiscreteElementaryEvent >(static_cast< const DiscreteElementaryEvent* >(event)->get_value()); } @@ -135,10 +135,10 @@ namespace statiskit ++(*generator); } break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: while (generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if (event && event->get_event() == ELEMENTARY) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { if (static_cast< const ContinuousElementaryEvent* >(event)->get_value() > static_cast< const ContinuousElementaryEvent* >(maximum.get())->get_value()) { maximum = std::make_unique< ContinuousElementaryEvent >(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); } @@ -192,12 +192,13 @@ namespace statiskit UnivariateDataFrame::~UnivariateDataFrame() {} - Index UnivariateDataFrame::size() const - { return this->events->size(); } - std::unique_ptr< UnivariateData::Generator > UnivariateDataFrame::generator() const { return std::make_unique< UnivariateDataFrame::Generator >(*this); } + + Index UnivariateDataFrame::get_nb_events() const + { return this->events->size(); } + const UnivariateSampleSpace* UnivariateDataFrame::get_sample_space() const { return this->sample_space.get(); } @@ -215,9 +216,6 @@ namespace statiskit throw statiskit::parameter_error("sample_space", "incompatible"); } } - - Index UnivariateDataFrame::get_nb_events() const - { return this->events->size(); } const UnivariateEvent* UnivariateDataFrame::get_event(const Index& index) const { @@ -310,28 +308,42 @@ namespace statiskit UnivariateDataFrame::Generator::Generator(const UnivariateDataFrame& data) { - this->data = std::make_unique< UnivariateDataFrame >(data); + this->data = static_cast< UnivariateDataFrame* >(data.copy().release()); this->index = 0; } + UnivariateDataFrame::Generator::Generator(const Generator& generator) + { + this->data = static_cast< UnivariateDataFrame* >(generator.data->copy().release()); + this->index = generator.index; + } + UnivariateDataFrame::Generator::~Generator() - {} + { + delete this->data; + } + + outcome_type UnivariateDataFrame::Generator::get_outcome() const + { return this->get_event()->get_outcome(); } + + censoring_type UnivariateDataFrame::Generator::get_censoring() const + { return this->get_event()->get_censoring(); } bool UnivariateDataFrame::Generator::is_valid() const { return this->index < this->data->get_nb_events(); } UnivariateData::Generator& UnivariateDataFrame::Generator::operator++() { - ++this->index; + ++(this->index); return *this; } - const UnivariateEvent* UnivariateDataFrame::Generator::event() const + const UnivariateEvent* UnivariateDataFrame::Generator::get_event() const { return this->data->get_event(this->index); } - double UnivariateDataFrame::Generator::weight() const + double UnivariateDataFrame::Generator::get_weight() const { return 1; } @@ -339,14 +351,13 @@ namespace statiskit MultivariateData::~MultivariateData() {} - Index MultivariateData::size() const + Index MultivariateData::get_nb_events() const { Index index = 0; - std::unique_ptr< MultivariateData::Generator > _generator = generator(); - while(_generator->is_valid()) - { + std::unique_ptr< MultivariateData::Generator > generator = this->generator(); + while (generator->is_valid()) { ++index; - ++(*_generator); + ++(*generator); } return index; } @@ -354,661 +365,509 @@ namespace statiskit double MultivariateData::compute_total() const { double total = 0.; - std::unique_ptr< MultivariateData::Generator > _generator = generator(); - while(_generator->is_valid()) - { - total += _generator->weight(); - ++(*_generator); + std::unique_ptr< MultivariateData::Generator > generator = this->generator(); + while (generator->is_valid()) { + total += generator->get_weight(); + ++(*generator); } return total; } - MultivariateData::Generator::~Generator() - {} - - MultivariateDataFrame::MultivariateDataFrame() - { - _sample_space = new SampleSpace(this); - _components.clear(); - } - - MultivariateDataFrame::MultivariateDataFrame(const MultivariateSampleSpace& sample_space) : MultivariateDataFrame() + std::unique_ptr< UnivariateData > MultivariateData::select(const Index& index) const { - _components.clear(); - for(Index index = 0, max_index = sample_space.size(); index < max_index; ++index) - { - UnivariateDataFrame* data = new UnivariateDataFrame(*(sample_space.get(index))); - _components.push_back(data); + if (index >= this->get_nb_components()) { + throw size_error("index", get_nb_components(), size_error::inferior); } + return std::make_unique< IndexSelectedData >(*this, index); } - MultivariateDataFrame::MultivariateDataFrame(const MultivariateDataFrame& data) + std::unique_ptr< MultivariateData > MultivariateData::select(const Indices& indices) const { - _sample_space = new SampleSpace(this); - _components.resize(data.get_nb_components()); - for(Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) - { _components[index] = static_cast< UnivariateDataFrame* >(data._components[index]->copy().release()); } - } - - MultivariateDataFrame::~MultivariateDataFrame() - { - for(Index index = 0, max_index = get_nb_components(); index < max_index; ++index) - { - if(_components[index]) - { delete _components[index]; } - _components[index] = nullptr; - } - _components.clear(); - } - - std::unique_ptr< MultivariateData::Generator > MultivariateDataFrame::generator() const - { return std::make_unique< MultivariateDataFrame::Event::Generator >(this); } - - const MultivariateSampleSpace* MultivariateDataFrame::get_sample_space() const - { return _sample_space; } - - void MultivariateDataFrame::set_sample_space(const MultivariateSampleSpace& sample_space) - { - Index index = 0, max_index = sample_space.size(); - std::vector< UnivariateSampleSpace* > __sample_space; - try - { - if(max_index == get_nb_components()) - { - while(index < max_index) - { - __sample_space.push_back(_sample_space->get(index)->copy().release()); - _components[index]->set_sample_space(*sample_space.get(index)); - ++index; - } + for (Indices::const_iterator it = indices.cbegin(), it_end = indices.cend(); it != it_end; ++it) { + if (*it >= this->get_nb_components()) { + throw size_error("indices", this->get_nb_components(), size_error::inferior); } } - catch(const std::exception& error) - { - delete __sample_space.back(); - __sample_space.pop_back(); - while(__sample_space.size() > 0) - { - _components[index - 1]->set_sample_space(*__sample_space.back()); - delete __sample_space.back(); - __sample_space.pop_back(); - --index; - } - throw error; - } - } - - std::unique_ptr< UnivariateData > MultivariateDataFrame::extract(const Index& index) const - { - if(index >= get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - return std::make_unique< UnivariateDataExtraction >(this, index); + return std::make_unique< IndicesSelectedData >(*this, indices); } - std::unique_ptr< MultivariateData > MultivariateDataFrame::extract(const Indices& indices) const - { - for(Indices::const_iterator it = indices.cbegin(), it_end = indices.cend(); it != it_end; ++it) - { - if(*it >= get_nb_components()) - { throw size_error("indices", get_nb_components(), size_error::inferior); } - } - return std::make_unique< MultivariateDataExtraction >(this, indices); - } - - Index MultivariateDataFrame::get_nb_components() const - { return _components.size(); } - - const UnivariateDataFrame* MultivariateDataFrame::get_component(const Index& index) const + IndexSelectedData::IndexSelectedData(const MultivariateData& data, const Index& index) { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - return _components[index]; + this->data = data.copy().release(); + this->index = index; } - void MultivariateDataFrame::set_component(const Index& index, const UnivariateDataFrame& component) + IndexSelectedData::IndexSelectedData(const IndexSelectedData& data) { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - if(get_nb_components() != 0 && component.get_nb_events() != get_nb_events()) - { throw size_error("component", get_nb_events(), size_error::equal); } - delete _components[index]; - _components[index] = static_cast< UnivariateDataFrame* >(component.copy().release()); + this->data = data.data->copy().release(); + this->index = data.index; } - void MultivariateDataFrame::add_component(const UnivariateDataFrame& component) - { - if(get_nb_components() != 0 && component.get_nb_events() != get_nb_events()) - { throw size_error("component", get_nb_events(), size_error::equal); } - _components.push_back(static_cast< UnivariateDataFrame* >(component.copy().release())); - } - - std::unique_ptr< UnivariateDataFrame > MultivariateDataFrame::pop_component() - { - std::unique_ptr< UnivariateDataFrame > component; - component.reset(_components.back()); - _components.pop_back(); - return component; - } - - void MultivariateDataFrame::insert_component(const Index& index, const UnivariateDataFrame& component) + IndexSelectedData::~IndexSelectedData() { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - if(get_nb_components() != 0 && component.get_nb_events() != get_nb_events()) - { throw size_error("component", get_nb_events(), size_error::equal); } - std::vector< UnivariateDataFrame* >::iterator it = _components.begin(); - advance(it, index); - _components.insert(it, static_cast< UnivariateDataFrame* >(component.copy().release())); + delete this->data; } - void MultivariateDataFrame::remove_component(const Index& index) - { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - std::vector< UnivariateDataFrame* >::iterator it = _components.begin(); - advance(it, index); - delete *it; - *it = nullptr; - _components.erase(it); - } + const MultivariateData* IndexSelectedData::origin() const + { return this->data; } - Index MultivariateDataFrame::get_nb_events() const - { - Index nb_event = 0; - if(get_nb_components() > 0) - { nb_event = _components[0]->get_nb_events(); } - return nb_event; - } + std::unique_ptr< UnivariateData::Generator > IndexSelectedData::generator() const + { return std::make_unique< IndexSelectedData::Generator >(*this); } - - std::unique_ptr< MultivariateEvent > MultivariateDataFrame::get_event(const Index& index) const - { - if(index > get_nb_events()) - { throw size_error("index", get_nb_events(), size_error::inferior); } - return std::make_unique< Event >(this, index); - } + const UnivariateSampleSpace* IndexSelectedData::get_sample_space() const + { return this->data->get_sample_space(this->index); } - void MultivariateDataFrame::set_event(const Index& index, const MultivariateEvent* event) - { - if(event) - { - if(_sample_space->is_compatible(event)) - { - for(Index _index = 0, _max_index = get_nb_components(); _index < _max_index; ++_index) - { _components[_index]->set_event(index, event->get(_index)); } - } - else - { throw statiskit::parameter_error("event", "incompatible"); } - } - else - { - for(Index _index = 0, _max_index = get_nb_components(); _index < _max_index; ++_index) - { _components[_index]->set_event(index, nullptr); } - } - } - - void MultivariateDataFrame::add_event(const MultivariateEvent* event) - { - if(event) - { - if(_sample_space->is_compatible(event)) - { - for(Index index = 0, max_index = get_nb_components(); index < max_index; ++index) - { _components[index]->add_event(event->get(index)); } - } - else - { throw statiskit::parameter_error("event", "incompatible"); } - } - else - { - for(Index index = 0, max_index = get_nb_components(); index < max_index; ++index) - { _components[index]->add_event(nullptr); } - } - } + Index IndexSelectedData::get_index() const + { return this->index; } - std::unique_ptr< MultivariateEvent > MultivariateDataFrame::pop_event() + IndexSelectedData::Generator::Generator(const IndexSelectedData& data) { - VectorEvent* event = new VectorEvent(get_nb_components()); - for(Index index = 0, max_index = get_nb_components(); index < max_index; ++index) - { event->set(index, *(_components[index]->pop_event().get())); } - return std::unique_ptr< VectorEvent >(event); + this->generator = data.origin()->generator().release(); + this->index = data.get_index(); } - void MultivariateDataFrame::insert_event(const Index& index, const MultivariateEvent* event) + IndexSelectedData::Generator::Generator(const Generator& generator) { - if(event) - { - if(_sample_space->is_compatible(event)) - { - for(Index _index = 0, _max_index = get_nb_components(); _index < _max_index; ++_index) - { _components[_index]->insert_event(index, event->get(_index)); } - } - else - { throw parameter_error("event", "incompatible"); } - } - else - { - for(Index _index = 0, _max_index = get_nb_components(); _index < _max_index; ++_index) - { _components[_index]->insert_event(index, nullptr); } - } + this->generator = static_cast< MultivariateData::Generator* >(generator.generator->copy().release()); + this->index = generator.index; } - - void MultivariateDataFrame::remove_event(const Index& index) + + IndexSelectedData::Generator::~Generator() { - for(Index _index = 0, _max_index = get_nb_components(); _index < _max_index; ++_index) - { _components[_index]->remove_event(index); } + delete this->generator; } - MultivariateDataFrame::SampleSpace::SampleSpace(const MultivariateDataFrame* data) - { _data = data; } + outcome_type IndexSelectedData::Generator::get_outcome() const + { return this->generator->get_event(this->index)->get_outcome(); } - MultivariateDataFrame::SampleSpace::SampleSpace(const SampleSpace& sample_space) - { _data = sample_space._data; } + censoring_type IndexSelectedData::Generator::get_censoring() const + { return this->generator->get_event(this->index)->get_censoring(); } - MultivariateDataFrame::SampleSpace::~SampleSpace() - {} + const UnivariateEvent* IndexSelectedData::Generator::get_event() const + { return this->generator->get_event(this->index); } - Index MultivariateDataFrame::SampleSpace::size() const - { return _data->get_nb_components(); } + double IndexSelectedData::Generator::get_weight() const + { return this->generator->get_weight(); } - const UnivariateSampleSpace* MultivariateDataFrame::SampleSpace::get(const Index& index) const - { return _data->_components[index]->get_sample_space(); } + bool IndexSelectedData::Generator::is_valid() const + { return this->generator->is_valid(); } - MultivariateDataFrame::Event::Event(const MultivariateDataFrame* data, const Index& index) + UnivariateData::Generator& IndexSelectedData::Generator::operator++() { - _data = data; - _index = index; + ++(*this->generator); + return *this; } - MultivariateDataFrame::Event::Event(const Event& event) - { - _data = event._data; - _index = event._index; + IndicesSelectedData::IndicesSelectedData(const MultivariateData& data, const Indices& indices) + { + this->data = data.copy().release(); + this->indices = std::make_shared< std::vector< Index > >(indices.cbegin(), indices.cend()); } - MultivariateDataFrame::Event::~Event() - {} - - Index MultivariateDataFrame::Event::size() const - { return _data->get_nb_components(); } - - const UnivariateEvent* MultivariateDataFrame::Event::get(const Index& index) const + IndicesSelectedData::IndicesSelectedData(const IndicesSelectedData& data) { - if(index >= size()) - { throw lower_bound_error("index", index, size(), true); } - return _data->_components[index]->get_event(_index); + this->data = data.data->copy().release(); + this->indices = data.indices; } - MultivariateDataFrame::Event::Generator::Generator(const MultivariateDataFrame* data) - { _event = new MultivariateDataFrame::Event(data, 0); } - - MultivariateDataFrame::Event::Generator::~Generator() - { delete _event; } - - bool MultivariateDataFrame::Event::Generator::is_valid() const - { return _event->_index < _event->_data->get_nb_events(); } - - MultivariateDataFrame::Generator& MultivariateDataFrame::Event::Generator::operator++() + IndicesSelectedData::~IndicesSelectedData() { - ++(_event->_index); - return *this; + delete this->data; } - const MultivariateEvent* MultivariateDataFrame::Event::Generator::event() const - { return _event; } - - double MultivariateDataFrame::Event::Generator::weight() const - { return 1.; } + const MultivariateData* IndicesSelectedData::origin() const + { return this->data; } - MultivariateDataFrame::UnivariateDataExtraction::UnivariateDataExtraction(const MultivariateDataFrame* data, const Index& index) - { _data = data->get_component(index); } + std::unique_ptr< MultivariateData::Generator > IndicesSelectedData::generator() const + { return std::make_unique< IndicesSelectedData::Generator >(*this); } - MultivariateDataFrame::UnivariateDataExtraction::UnivariateDataExtraction(const UnivariateDataExtraction& data) - { _data = data._data; } + Index IndicesSelectedData::get_nb_components() const + { return this->indices->size(); } - MultivariateDataFrame::UnivariateDataExtraction::~UnivariateDataExtraction() - {} - - std::unique_ptr< UnivariateData::Generator > MultivariateDataFrame::UnivariateDataExtraction::generator() const - { return _data->generator(); } - - const UnivariateSampleSpace* MultivariateDataFrame::UnivariateDataExtraction::get_sample_space() const - { return _data->get_sample_space(); } - - MultivariateDataFrame::MultivariateDataExtraction::MultivariateDataExtraction(const MultivariateDataFrame* data, const Indices& indices) - { - _data = data; - _indices = std::vector< Index >(indices.cbegin(), indices.cend()); - _sample_space = new SampleSpace(this); - } - - MultivariateDataFrame::MultivariateDataExtraction::MultivariateDataExtraction(const MultivariateDataExtraction& data) - { - _data = data._data; - _indices = data._indices; - _sample_space = new SampleSpace(this); + const UnivariateSampleSpace* IndicesSelectedData::get_sample_space(const Index& index) const + { + if (index >= this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + return this->data->get_sample_space((*this->indices)[index]); } - MultivariateDataFrame::MultivariateDataExtraction::~MultivariateDataExtraction() - { delete _sample_space; } - - std::unique_ptr< MultivariateData::Generator > MultivariateDataFrame::MultivariateDataExtraction::generator() const - { return std::make_unique< Event::Generator >(this); } - - const MultivariateSampleSpace* MultivariateDataFrame::MultivariateDataExtraction::get_sample_space() const - { return _sample_space; } - - std::unique_ptr< UnivariateData > MultivariateDataFrame::MultivariateDataExtraction::extract(const Index& index) const - { return _data->extract(_indices[index]); } + const std::vector< Index >& IndicesSelectedData::get_indices() const + { return (*this->indices); } - std::unique_ptr< MultivariateData > MultivariateDataFrame::MultivariateDataExtraction::extract(const Indices& indices) const + IndicesSelectedData::Generator::Generator(const IndicesSelectedData& data) { - Indices new_indices = Indices(); - for(Indices::const_iterator it = indices.cbegin(), it_end = indices.cend(); it != it_end; ++it) - { new_indices.insert(new_indices.cend(), _indices[*it]); } - return _data->extract(new_indices); + this->generator = data.origin()->generator().release(); + this->indices = data.indices; } - MultivariateDataFrame::MultivariateDataExtraction::SampleSpace::SampleSpace(const MultivariateDataExtraction* data) - { _data = data; } - - MultivariateDataFrame::MultivariateDataExtraction::SampleSpace::SampleSpace(const SampleSpace& sample_space) - { _data = sample_space._data; } - - MultivariateDataFrame::MultivariateDataExtraction::SampleSpace::~SampleSpace() - {} - - Index MultivariateDataFrame::MultivariateDataExtraction::SampleSpace::size() const - { return _data->_indices.size(); } - - const UnivariateSampleSpace* MultivariateDataFrame::MultivariateDataExtraction::SampleSpace::get(const Index& index) const - { return _data->_data->_sample_space->get(_data->_indices[index]); } - - MultivariateDataFrame::MultivariateDataExtraction::Event::Event(const MultivariateDataExtraction* data, const Index& index) + IndicesSelectedData::Generator::Generator(const Generator& generator) { - _data = data; - _index = index; + this->generator = static_cast< MultivariateData::Generator* >(generator.generator->copy().release()); + this->indices = generator.indices; } - MultivariateDataFrame::MultivariateDataExtraction::Event::~Event() - {} - - Index MultivariateDataFrame::MultivariateDataExtraction::Event::size() const - { return _data->_indices.size(); } - - const UnivariateEvent* MultivariateDataFrame::MultivariateDataExtraction::Event::get(const Index& index) const + IndicesSelectedData::Generator::~Generator() { - if(index >= size()) - { throw lower_bound_error("index", index, size(), true); } - return _data->_data->_components[_data->_indices[index]]->get_event(_index); + delete this->generator; } - MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::Generator(const MultivariateDataExtraction* data) - { - _max_index = data->_data->size(); - _event = new MultivariateDataFrame::MultivariateDataExtraction::Event(data, 0); + Index IndicesSelectedData::Generator::size() const + { return this->indices->size(); } + + const UnivariateEvent* IndicesSelectedData::Generator::get_event(const Index& index) const + { + if (index >= this->size()) { + throw size_error("index", this->size(), size_error::inferior); + } + return this->generator->get_event((*this->indices)[index]); } - MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::~Generator() - { delete _event; } + double IndicesSelectedData::Generator::get_weight() const + { return this->generator->get_weight(); } - bool MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::is_valid() const - { return _event->_index < _max_index; } + bool IndicesSelectedData::Generator::is_valid() const + { return this->generator->is_valid(); } - MultivariateData::Generator& MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::operator++() - { - ++(_event->_index); + MultivariateData::Generator& IndicesSelectedData::Generator::operator++() + { + ++(*this->generator); return *this; } - const MultivariateEvent* MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::event() const - { return _event; } - - double MultivariateDataFrame::MultivariateDataExtraction::Event::Generator::weight() const - { return 1.; } - - WeightedUnivariateData::WeightedUnivariateData(const UnivariateData* data) - { init(data); } - - WeightedUnivariateData::WeightedUnivariateData(const WeightedUnivariateData& data) - { init(data); } - - WeightedUnivariateData::WeightedUnivariateData(const UnivariateData* data, const std::vector< double >& weights) - { init(data, weights); } - - WeightedUnivariateData::~WeightedUnivariateData() - {} - - WeightedUnivariateData::WeightedUnivariateData() - {} - - WeightedMultivariateData::WeightedMultivariateData(const MultivariateData* data) - { init(data); } - - WeightedMultivariateData::WeightedMultivariateData(const WeightedMultivariateData& data) - { init(data); } - - WeightedMultivariateData::WeightedMultivariateData(const MultivariateData* data, const std::vector< double >& weights) - { init(data, weights); } - - WeightedMultivariateData::~WeightedMultivariateData() - {} - - std::unique_ptr< UnivariateData > WeightedMultivariateData::extract(const Index& index) const - { return std::make_unique< UnivariateDataExtraction >(this, index); } - - std::unique_ptr< MultivariateData > WeightedMultivariateData::extract(const Indices& indices) const - { return std::make_unique< MultivariateDataExtraction >(this, indices); } - - WeightedMultivariateData::UnivariateDataExtraction::UnivariateDataExtraction(const WeightedMultivariateData* weights, const Index& index) - { init(weights, weights->_data->extract(index).release()); } - - WeightedMultivariateData::UnivariateDataExtraction::UnivariateDataExtraction(const UnivariateDataExtraction& data) - { init(data); } - - WeightedMultivariateData::UnivariateDataExtraction::~UnivariateDataExtraction() - {} - - WeightedMultivariateData::MultivariateDataExtraction::MultivariateDataExtraction(const WeightedMultivariateData* weights, const Indices& indices) + MultivariateDataFrame::MultivariateDataFrame() { - init(weights, weights->_data->extract(indices).release()); - _indices = std::vector< Index >(indices.cbegin(), indices.cend()); + this->components = std::make_shared< std::vector< std::unique_ptr< UnivariateDataFrame > > >(); } - WeightedMultivariateData::MultivariateDataExtraction::MultivariateDataExtraction(const MultivariateDataExtraction& data) + MultivariateDataFrame::MultivariateDataFrame(const MultivariateDataFrame& data) { - init(data); - _indices = data._indices; + this->components = data.components; } - WeightedMultivariateData::MultivariateDataExtraction::~MultivariateDataExtraction() + MultivariateDataFrame::~MultivariateDataFrame() {} - std::unique_ptr< UnivariateData > WeightedMultivariateData::MultivariateDataExtraction::extract(const Index& index) const - { return std::make_unique< UnivariateDataExtraction >(_weights, _indices[index]); } + std::unique_ptr< MultivariateData::Generator > MultivariateDataFrame::generator() const + { return std::make_unique< MultivariateDataFrame::Generator >(*this); } - std::unique_ptr< MultivariateData > WeightedMultivariateData::MultivariateDataExtraction::extract(const Indices& indices) const - { - Indices __indices; - for(Indices::const_iterator it = indices.cbegin(), it_end = indices.cend(); it != it_end; ++it) - { __indices.insert(__indices.end(), _indices[*it]); } - return std::make_unique< MultivariateDataExtraction >(_weights, __indices); - } + Index MultivariateDataFrame::get_nb_components() const + { return this->components->size(); } - UnivariateConditionalData::UnivariateConditionalData(const MultivariateData& data, const Index& response, const Indices& explanatories) + const UnivariateSampleSpace* MultivariateDataFrame::get_sample_space(const Index& index) const { - _response = data.extract(response).release(); - _explanatories = data.extract(explanatories).release(); + if (index >= this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + return (*this->components)[index]->get_sample_space(); } - UnivariateConditionalData::UnivariateConditionalData(const UnivariateData& response_data, const MultivariateData& explanatories_data) + void MultivariateDataFrame::set_sample_space(const Index& index, const UnivariateSampleSpace& sample_space) { - if(response_data.size() == explanatories_data.size()) - { - _response = response_data.copy().release(); - _explanatories = explanatories_data.copy().release(); + if (index >= this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); } - else - { throw size_error("response_data", response_data.size(), explanatories_data.size()); } + detach(); + return (*this->components)[index]->set_sample_space(sample_space); } - UnivariateConditionalData::UnivariateConditionalData(const UnivariateConditionalData& data) + const UnivariateDataFrame* MultivariateDataFrame::get_component(const Index& index) const { - _response = data._response->copy().release(); - _explanatories = data._explanatories->copy().release(); + if (index > this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + return (*this->components)[index].get(); } - UnivariateConditionalData::~UnivariateConditionalData() + void MultivariateDataFrame::set_component(const Index& index, const UnivariateDataFrame& component) { - if(_response) - { - delete _response; - _response = nullptr; - } - if(_explanatories) - { - delete _explanatories; - _explanatories = nullptr; - } + if (index > this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + if (this->get_nb_components() != 0 && component.get_nb_events() != this->get_nb_events()) { + throw size_error("component", this->get_nb_events(), size_error::equal); + } + detach(); + (*this->components)[index] = std::unique_ptr< UnivariateDataFrame >(static_cast< UnivariateDataFrame* >(component.copy().release())); } - Index UnivariateConditionalData::size() const - { return _explanatories->size(); } - - std::unique_ptr< UnivariateConditionalData::Generator > UnivariateConditionalData::generator() const - { return std::make_unique< Generator >(this); } - - const UnivariateData* UnivariateConditionalData::get_response() const - { return _response; } - - const MultivariateData* UnivariateConditionalData::get_explanatories() const - { return _explanatories; } - - std::unique_ptr< UnivariateConditionalData > UnivariateConditionalData::copy() const - { return std::make_unique< UnivariateConditionalData >(*this); } + void MultivariateDataFrame::add_component(const UnivariateDataFrame& component) + { + if (this->get_nb_components() != 0 && component.get_nb_events() != this->get_nb_events()) { + throw size_error("component", this->get_nb_events(), size_error::equal); + } + detach(); + this->components->push_back(std::unique_ptr< UnivariateDataFrame >(static_cast< UnivariateDataFrame* >(component.copy().release()))); + } - double UnivariateConditionalData::compute_total() const - { return _response->compute_total(); } + std::unique_ptr< UnivariateDataFrame > MultivariateDataFrame::pop_component() + { + detach(); + std::unique_ptr< UnivariateDataFrame > component; + component.swap(this->components->back()); + this->components->pop_back(); + return component; + } - UnivariateConditionalData::Generator::Generator(const UnivariateConditionalData* data) + void MultivariateDataFrame::insert_component(const Index& index, const UnivariateDataFrame& component) { - _rgenerator = data->_response->generator().release(); - _egenerator = data->_explanatories->generator().release(); + if (index > this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + if (this->get_nb_components() != 0 && component.get_nb_events() != this->get_nb_events()) { + throw size_error("component", this->get_nb_events(), size_error::equal); + } + detach(); + std::vector< std::unique_ptr< UnivariateDataFrame > >::iterator it = this->components->begin(); + advance(it, index); + this->components->insert(it, std::unique_ptr< UnivariateDataFrame >(static_cast< UnivariateDataFrame* >(component.copy().release()))); } - UnivariateConditionalData::Generator::~Generator() + void MultivariateDataFrame::remove_component(const Index& index) { - if(_rgenerator) - { - delete _rgenerator; - _rgenerator = nullptr; - } - if(_egenerator) - { - delete _egenerator; - _egenerator = nullptr; - } + if (index > this->get_nb_components()) { + throw size_error("index", this->get_nb_components(), size_error::inferior); + } + detach(); + std::vector< std::unique_ptr< UnivariateDataFrame > >::iterator it = this->components->begin(); + advance(it, index); + this->components->erase(it); } - bool UnivariateConditionalData::Generator::is_valid() const - { return _rgenerator->is_valid(); } - - UnivariateConditionalData::Generator& UnivariateConditionalData::Generator::operator++() + Index MultivariateDataFrame::get_nb_events() const { - ++(*_rgenerator); - ++(*_egenerator); - return *this; + Index nb_event = 0; + if (this->get_nb_components() > 0) { + nb_event = (*this->components)[0]->get_nb_events(); + } + return nb_event; } - const UnivariateEvent* UnivariateConditionalData::Generator::response() const - { return _rgenerator->event(); } - - const MultivariateEvent* UnivariateConditionalData::Generator::explanatories() const - { return _egenerator->event(); } - - double UnivariateConditionalData::Generator::weight() const - { return _rgenerator->weight(); } - - MultivariateConditionalData::MultivariateConditionalData(const MultivariateData& data, const Indices& responses, const Indices& explanatories) + void MultivariateDataFrame::detach() { - _responses = data.extract(responses).release(); - _explanatories = data.extract(explanatories).release(); + if (this->components.use_count() > 1) { + std::shared_ptr< std::vector< std::unique_ptr< UnivariateDataFrame > > > components = std::make_shared< std::vector< std::unique_ptr< UnivariateDataFrame > > >(this->get_nb_components()); + for (Index index = 0, max_index = this->get_nb_components(); index < max_index; ++index) { + (*components)[index] = std::unique_ptr< UnivariateDataFrame >(static_cast< UnivariateDataFrame* >((*this->components)[index]->copy().release())); + } + this->components = components; + } } - MultivariateConditionalData::MultivariateConditionalData(const MultivariateConditionalData& data) + MultivariateDataFrame::Generator::Generator(const MultivariateDataFrame& data) { - _responses = data._responses->copy().release(); - _explanatories = data._explanatories->copy().release(); + this->data = static_cast< MultivariateDataFrame* >(data.copy().release()); + this->index = 0; } - MultivariateConditionalData::~MultivariateConditionalData() + MultivariateDataFrame::Generator::Generator(const Generator& generator) { - if(_responses) - { - delete _responses; - _responses = nullptr; - } - if(_explanatories) - { - delete _explanatories; - _explanatories = nullptr; - } + this->data = static_cast< MultivariateDataFrame* >(generator.data->copy().release()); + this->index = generator.index; } - Index MultivariateConditionalData::size() const - { return _explanatories->size(); } - - std::unique_ptr< MultivariateConditionalData::Generator > MultivariateConditionalData::generator() const - { return std::make_unique< Generator >(this); } - - const MultivariateData* MultivariateConditionalData::get_responses() const - { return _responses; } - - const MultivariateData* MultivariateConditionalData::get_explanatories() const - { return _explanatories; } - - std::unique_ptr< MultivariateConditionalData > MultivariateConditionalData::copy() const - { return std::make_unique< MultivariateConditionalData >(*this); } - - double MultivariateConditionalData::compute_total() const - { return _responses->compute_total(); } - - MultivariateConditionalData::Generator::Generator(const MultivariateConditionalData* data) + MultivariateDataFrame::Generator::~Generator() { - _rgenerator = data->_responses->generator().release(); - _egenerator = data->_explanatories->generator().release(); + delete this->data; } - MultivariateConditionalData::Generator::~Generator() + Index MultivariateDataFrame::Generator::size() const + { return this->data->get_nb_components(); } + + const UnivariateEvent* MultivariateDataFrame::Generator::get_event(const Index& index) const { - if(_rgenerator) - { - delete _rgenerator; - _rgenerator = nullptr; - } - if(_egenerator) - { - delete _egenerator; - _egenerator = nullptr; - } + if (index >= this->size()) { + throw size_error("index", this->size(), size_error::inferior); + } + return this->data->get_component(index)->get_event(this->index); } - bool MultivariateConditionalData::Generator::is_valid() const - { return _rgenerator->is_valid(); } + double MultivariateDataFrame::Generator::get_weight() const + { return 1; } + + bool MultivariateDataFrame::Generator::is_valid() const + { return this->index < this->data->get_nb_events(); } - MultivariateConditionalData::Generator& MultivariateConditionalData::Generator::operator++() + MultivariateData::Generator& MultivariateDataFrame::Generator::operator++() { - ++(*_rgenerator); - ++(*_egenerator); + ++(this->index); return *this; } - const MultivariateEvent* MultivariateConditionalData::Generator::responses() const - { return _rgenerator->event(); } - - const MultivariateEvent* MultivariateConditionalData::Generator::explanatories() const - { return _egenerator->event(); } - - double MultivariateConditionalData::Generator::weight() const - { return _rgenerator->weight(); } + // UnivariateConditionalData::UnivariateConditionalData(const MultivariateData& data, const Index& response, const Indices& explanatories) + // { + // _response = data.select(response).release(); + // _explanatories = data.select(explanatories).release(); + // } + + // // UnivariateConditionalData::UnivariateConditionalData(const UnivariateData& response_data, const MultivariateData& explanatories_data) + // // { + // // if(response_data.get_nb_events() == explanatories_data.get_nb_events()) + // // { + // // _response = response_data.copy().release(); + // // _explanatories = explanatories_data.copy().release(); + // // } + // // else + // // { throw size_error("response_data", response_data.get_nb_events(), explanatories_data.get_nb_events()); } + // // } + + // UnivariateConditionalData::UnivariateConditionalData(const UnivariateConditionalData& data) + // { + // _response = data._response->copy().release(); + // _explanatories = data._explanatories->copy().release(); + // } + + // UnivariateConditionalData::~UnivariateConditionalData() + // { + // if(_response) + // { + // delete _response; + // _response = nullptr; + // } + // if(_explanatories) + // { + // delete _explanatories; + // _explanatories = nullptr; + // } + // } + + // Index UnivariateConditionalData::size() const + // { return _explanatories->size(); } + + // std::unique_ptr< UnivariateConditionalData::Generator > UnivariateConditionalData::generator() const + // { return std::make_unique< Generator >(this); } + + // const UnivariateData* UnivariateConditionalData::get_response() const + // { return _response; } + + // const MultivariateData* UnivariateConditionalData::get_explanatories() const + // { return _explanatories; } + + // std::unique_ptr< UnivariateConditionalData > UnivariateConditionalData::copy() const + // { return std::make_unique< UnivariateConditionalData >(*this); } + + // double UnivariateConditionalData::compute_total() const + // { return _response->compute_total(); } + + // UnivariateConditionalData::Generator::Generator(const UnivariateConditionalData* data) + // { + // _rgenerator = data->_response->generator().release(); + // _egenerator = data->_explanatories->generator().release(); + // } + + // UnivariateConditionalData::Generator::~Generator() + // { + // if(_rgenerator) + // { + // delete _rgenerator; + // _rgenerator = nullptr; + // } + // if(_egenerator) + // { + // delete _egenerator; + // _egenerator = nullptr; + // } + // } + + // bool UnivariateConditionalData::Generator::is_valid() const + // { return _rgenerator->is_valid(); } + + // UnivariateConditionalData::Generator& UnivariateConditionalData::Generator::operator++() + // { + // ++(*_rgenerator); + // ++(*_egenerator); + // return *this; + // } + + // const UnivariateEvent* UnivariateConditionalData::Generator::response() const + // { return _rgenerator->event(); } + + // const MultivariateEvent* UnivariateConditionalData::Generator::explanatories() const + // { return _egenerator->event(); } + + // double UnivariateConditionalData::Generator::weight() const + // { return _rgenerator->weight(); } + + // MultivariateConditionalData::MultivariateConditionalData(const MultivariateData& data, const Indices& responses, const Indices& explanatories) + // { + // _responses = data.extract(responses).release(); + // _explanatories = data.extract(explanatories).release(); + // } + + // MultivariateConditionalData::MultivariateConditionalData(const MultivariateConditionalData& data) + // { + // _responses = data._responses->copy().release(); + // _explanatories = data._explanatories->copy().release(); + // } + + // MultivariateConditionalData::~MultivariateConditionalData() + // { + // if(_responses) + // { + // delete _responses; + // _responses = nullptr; + // } + // if(_explanatories) + // { + // delete _explanatories; + // _explanatories = nullptr; + // } + // } + + // Index MultivariateConditionalData::size() const + // { return _explanatories->size(); } + + // std::unique_ptr< MultivariateConditionalData::Generator > MultivariateConditionalData::generator() const + // { return std::make_unique< Generator >(this); } + + // const MultivariateData* MultivariateConditionalData::get_responses() const + // { return _responses; } + + // const MultivariateData* MultivariateConditionalData::get_explanatories() const + // { return _explanatories; } + + // std::unique_ptr< MultivariateConditionalData > MultivariateConditionalData::copy() const + // { return std::make_unique< MultivariateConditionalData >(*this); } + + // double MultivariateConditionalData::compute_total() const + // { return _responses->compute_total(); } + + // MultivariateConditionalData::Generator::Generator(const MultivariateConditionalData* data) + // { + // _rgenerator = data->_responses->generator().release(); + // _egenerator = data->_explanatories->generator().release(); + // } + + // MultivariateConditionalData::Generator::~Generator() + // { + // if(_rgenerator) + // { + // delete _rgenerator; + // _rgenerator = nullptr; + // } + // if(_egenerator) + // { + // delete _egenerator; + // _egenerator = nullptr; + // } + // } + + // bool MultivariateConditionalData::Generator::is_valid() const + // { return _rgenerator->is_valid(); } + + // MultivariateConditionalData::Generator& MultivariateConditionalData::Generator::operator++() + // { + // ++(*_rgenerator); + // ++(*_egenerator); + // return *this; + // } + + // const MultivariateEvent* MultivariateConditionalData::Generator::responses() const + // { return _rgenerator->event(); } + + // const MultivariateEvent* MultivariateConditionalData::Generator::explanatories() const + // { return _egenerator->event(); } + + // double MultivariateConditionalData::Generator::weight() const + // { return _rgenerator->weight(); } } diff --git a/src/cpp/data.h b/src/cpp/data.h index d670aed1..dd388cb0 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -19,29 +19,30 @@ namespace statiskit virtual ~UnivariateData() = 0; - struct STATISKIT_CORE_API Generator + struct STATISKIT_CORE_API Generator : public UnivariateEvent { virtual ~Generator() = 0; + virtual const UnivariateEvent* get_event() const = 0; + virtual double get_weight() const = 0; + virtual bool is_valid() const = 0; virtual Generator& operator++() = 0; - - virtual const UnivariateEvent* event() const = 0; - virtual double weight() const = 0; }; - virtual Index size() const; - virtual std::unique_ptr< UnivariateData::Generator > generator() const = 0; - virtual const UnivariateSampleSpace* get_sample_space() const = 0; - - virtual std::unique_ptr< UnivariateData > copy() const = 0; - + virtual Index get_nb_events() const; + double compute_total() const; + std::unique_ptr< UnivariateEvent > compute_minimum() const; std::unique_ptr< UnivariateEvent > compute_maximum() const; + + virtual const UnivariateSampleSpace* get_sample_space() const = 0; + + virtual std::unique_ptr< UnivariateData > copy() const = 0; }; class STATISKIT_CORE_API NamedData @@ -70,15 +71,13 @@ namespace statiskit UnivariateDataFrame(const UnivariateDataFrame& data); virtual ~UnivariateDataFrame(); - virtual Index size() const; - virtual std::unique_ptr< UnivariateData::Generator > generator() const; + virtual Index get_nb_events() const; + virtual const UnivariateSampleSpace* get_sample_space() const; void set_sample_space(const UnivariateSampleSpace& sample_space); - Index get_nb_events() const; - const UnivariateEvent* get_event(const Index& index) const; void set_event(const Index& index, const UnivariateEvent* event); @@ -94,21 +93,26 @@ namespace statiskit void detach(); - class STATISKIT_CORE_API Generator : public UnivariateData::Generator + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: Generator(const UnivariateDataFrame& data); + Generator(const Generator& generator); virtual ~Generator(); + virtual outcome_type get_outcome() const; + + virtual censoring_type get_censoring() const; + + virtual const UnivariateEvent* get_event() const; + virtual double get_weight() const; + virtual bool is_valid() const; virtual UnivariateData::Generator& operator++(); - virtual const UnivariateEvent* event() const; - virtual double weight() const; - protected: - std::unique_ptr< UnivariateDataFrame > data; + UnivariateDataFrame* data; Index index; }; }; @@ -123,33 +127,32 @@ namespace statiskit virtual ~MultivariateData() = 0; - struct STATISKIT_CORE_API Generator + struct STATISKIT_CORE_API Generator : public MultivariateEvent { - virtual ~Generator() = 0; + virtual double get_weight() const = 0; virtual bool is_valid() const = 0; virtual Generator& operator++() = 0; - - virtual const MultivariateEvent* event() const = 0; - virtual double weight() const = 0; }; - virtual Index size() const; - virtual std::unique_ptr< MultivariateData::Generator > generator() const = 0; - virtual const MultivariateSampleSpace* get_sample_space() const = 0; + virtual Index get_nb_events() const; + + double compute_total() const; + + virtual Index get_nb_components() const = 0; + + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const = 0; virtual std::unique_ptr< UnivariateData > select(const Index& index) const; virtual std::unique_ptr< MultivariateData > select(const Indices& indices) const; virtual std::unique_ptr< MultivariateData > copy() const = 0; - - double compute_total() const; }; - class STATISKIT_CORE_API IndexSelectedData : public UnivariateData + class STATISKIT_CORE_API IndexSelectedData : public PolymorphicCopy { public: IndexSelectedData(const MultivariateData& data, const Index& index); @@ -162,484 +165,257 @@ namespace statiskit virtual const UnivariateSampleSpace* get_sample_space() const; - virtual std::unique_ptr< UnivariateData > copy() const; + Index get_index() const; protected: MultivariateData* data; Index index; - class Generator : public UnivariateData::Generator - { - }; - }; - - class STATISKIT_CORE_API MultivariateDataFrame : public PolymorphicCopy< MultivariateData, MultivariateDataFrame > - { - public: - MultivariateDataFrame(); - MultivariateDataFrame(const MultivariateSampleSpace& sample_space); - MultivariateDataFrame(const MultivariateDataFrame& data); - virtual ~MultivariateDataFrame(); - - virtual std::unique_ptr< MultivariateData::Generator > generator() const; - - virtual const MultivariateSampleSpace* get_sample_space() const; - void set_sample_space(const MultivariateSampleSpace& sample_space); - - virtual std::unique_ptr< UnivariateData > select(const Index& index) const; - - Index get_nb_components() const; - - const UnivariateDataFrame* get_component(const Index& index) const; - void set_component(const Index& index, const UnivariateDataFrame& component); - - void add_component(const UnivariateDataFrame& component); - std::unique_ptr< UnivariateDataFrame > pop_component(); - - void insert_component(const Index& index, const UnivariateDataFrame& component); - void remove_component(const Index& index); - - Index get_nb_events() const; - - std::unique_ptr< MultivariateEvent > get_event(const Index& index) const; - void set_event(const Index& index, const MultivariateEvent* event); - - void add_event(const MultivariateEvent* event); - std::unique_ptr< MultivariateEvent > pop_event(); - - void insert_event(const Index& index, const MultivariateEvent* event); - void remove_event(const Index& index); - - protected: - std::shared_ptr< VectorSampleSpace > sample_space; - std::shared_ptr< std::vector< std::unique_ptr< UnivariateDataFrame > > > components; - - class STATISKIT_CORE_API SampleSpace : public PolymorphicCopy< MultivariateSampleSpace, SampleSpace > - { - public: - SampleSpace(const MultivariateDataFrame* data); - SampleSpace(const SampleSpace& sample_space); - virtual ~SampleSpace(); - - virtual Index size() const; - - virtual const UnivariateSampleSpace* get(const Index& index) const; - - protected: - const MultivariateDataFrame* _data; - }; - - class STATISKIT_CORE_API Event : public PolymorphicCopy< MultivariateEvent, Event > + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: - Event(const MultivariateDataFrame* data, const Index& index); - Event(const Event& event); - virtual ~Event(); - - virtual Index size() const; - - virtual const UnivariateEvent* get(const Index& index) const; - - class STATISKIT_CORE_API Generator : public MultivariateData::Generator - { - public: - Generator(const MultivariateDataFrame* data); - virtual ~Generator(); - - virtual bool is_valid() const; - - virtual MultivariateData::Generator& operator++(); - - virtual const MultivariateEvent* event() const; - virtual double weight() const; - - protected: - Event* _event; - }; - - protected: - const MultivariateDataFrame* _data; - Index _index; - }; - - class STATISKIT_CORE_API UnivariateDataExtraction : public PolymorphicCopy< UnivariateData, UnivariateDataExtraction > - { - public: - UnivariateDataExtraction(const MultivariateDataFrame* data, const Index& index); - UnivariateDataExtraction(const UnivariateDataExtraction& data); - virtual ~UnivariateDataExtraction(); - - virtual std::unique_ptr< UnivariateData::Generator > generator() const; + Generator(const IndexSelectedData& data); + Generator(const Generator& generator); + virtual ~Generator(); - virtual const UnivariateSampleSpace* get_sample_space() const; - - protected: - const UnivariateDataFrame* _data; - }; + virtual outcome_type get_outcome() const; - class STATISKIT_CORE_API MultivariateDataExtraction : public PolymorphicCopy< MultivariateData, MultivariateDataExtraction > - { - public: - MultivariateDataExtraction(const MultivariateDataFrame* data, const Indices& index); - MultivariateDataExtraction(const MultivariateDataExtraction& data); - virtual ~MultivariateDataExtraction(); + virtual censoring_type get_censoring() const; - virtual std::unique_ptr< MultivariateData::Generator > generator() const; + virtual const UnivariateEvent* get_event() const; + virtual double get_weight() const; - virtual const MultivariateSampleSpace* get_sample_space() const; - - virtual std::unique_ptr< UnivariateData > extract(const Index& index) const; + virtual bool is_valid() const; - virtual std::unique_ptr< MultivariateData > extract(const Indices& indices) const; + virtual UnivariateData::Generator& operator++(); protected: - const MultivariateDataFrame* _data; - const MultivariateSampleSpace* _sample_space; - std::vector< Index > _indices; - - class STATISKIT_CORE_API SampleSpace : public PolymorphicCopy< MultivariateSampleSpace, SampleSpace > - { - public: - SampleSpace(const MultivariateDataExtraction* data); - SampleSpace(const SampleSpace& sample_space); - virtual ~SampleSpace(); - - virtual Index size() const; - - virtual const UnivariateSampleSpace* get(const Index& index) const; - - protected: - const MultivariateDataExtraction* _data; - }; - - class STATISKIT_CORE_API Event : public PolymorphicCopy< MultivariateEvent, Event > - { - public: - Event(const MultivariateDataExtraction* data, const Index& index); - virtual ~Event(); - - virtual Index size() const; - - virtual const UnivariateEvent* get(const Index& index) const; - - class STATISKIT_CORE_API Generator : public MultivariateData::Generator - { - public: - Generator(const MultivariateDataExtraction* data); - virtual ~Generator(); - - virtual bool is_valid() const; - - virtual MultivariateData::Generator& operator++(); - - virtual const MultivariateEvent* event() const; - virtual double weight() const; - - protected: - Event* _event; - Index _max_index; - }; - - protected: - const MultivariateDataExtraction* _data; - Index _index; - }; - }; + MultivariateData::Generator* generator; + Index index; + }; }; - template - class WeightedData : public D + class STATISKIT_CORE_API IndicesSelectedData : public PolymorphicCopy { public: - WeightedData(); - virtual ~WeightedData(); + IndicesSelectedData(const MultivariateData& data, const Indices& indices); + IndicesSelectedData(const IndicesSelectedData& data); + virtual ~IndicesSelectedData(); + + const MultivariateData* origin() const; - virtual const typename D::sample_space_type* get_sample_space() const; + virtual std::unique_ptr< MultivariateData::Generator > generator() const; - virtual std::unique_ptr< typename D::Generator > generator() const; + virtual Index get_nb_components() const; - const D* get_data() const; + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const; - Index get_nb_weights() const; + const std::vector< Index >& get_indices() const; - virtual double get_weight(const Index& index) const; - void set_weight(const Index& index, const double& weight); + protected: + MultivariateData* data; + std::shared_ptr< std::vector< Index > > indices; - class Generator : public D::Generator + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: - Generator(WeightedData< D >* data); + Generator(const IndicesSelectedData& data); + Generator(const Generator& generator); virtual ~Generator(); - virtual bool is_valid() const; + virtual Index size() const; - virtual typename D::Generator& operator++(); + virtual const UnivariateEvent* get_event(const Index& index) const; + virtual double get_weight() const; + + virtual bool is_valid() const; - virtual const typename D::event_type* event() const; - virtual double weight() const; - void weight(const double& weigth); + virtual MultivariateData::Generator& operator++(); protected: - WeightedData< D >* _data; - typename D::Generator* _generator; - Index _index; - }; - - protected: - const D* _data; - std::vector< double > _weights; - - void init(const D* data); - void init(const WeightedData< D >& data); - void init(const D* data, const std::vector< double >& weights); - }; - - class STATISKIT_CORE_API WeightedUnivariateData : public PolymorphicCopy< UnivariateData, WeightedUnivariateData, WeightedData< UnivariateData > > - { - public: - WeightedUnivariateData(const UnivariateData* data); - WeightedUnivariateData(const UnivariateData* data, const std::vector< double >& weights); - WeightedUnivariateData(const WeightedUnivariateData& data); - virtual ~WeightedUnivariateData(); - - protected: - WeightedUnivariateData(); + MultivariateData::Generator* generator; + std::shared_ptr< std::vector< Index > > indices; + }; }; - class STATISKIT_CORE_API WeightedMultivariateData : public PolymorphicCopy< MultivariateData, WeightedMultivariateData, WeightedData< MultivariateData > > + class STATISKIT_CORE_API MultivariateDataFrame : public PolymorphicCopy< MultivariateData, MultivariateDataFrame > { public: - WeightedMultivariateData(const MultivariateData* data); - WeightedMultivariateData(const MultivariateData* data, const std::vector< double >& weights); - WeightedMultivariateData(const WeightedMultivariateData& data); - virtual ~WeightedMultivariateData(); - - virtual std::unique_ptr< UnivariateData > extract(const Index& index) const; - virtual std::unique_ptr< MultivariateData > extract(const Indices& indices) const; - - protected: - - template - class DataExtraction : public D - { - public: - DataExtraction(); - virtual ~DataExtraction(); + MultivariateDataFrame(); + MultivariateDataFrame(const MultivariateDataFrame& data); + virtual ~MultivariateDataFrame(); - virtual std::unique_ptr< typename D::Generator > generator() const; + virtual std::unique_ptr< MultivariateData::Generator > generator() const; + + Index get_nb_components() const; - virtual const typename D::sample_space_type* get_sample_space() const; - - protected: - const WeightedMultivariateData* _weights; - const D* _data; + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const; + void set_sample_space(const Index& index, const UnivariateSampleSpace& sample_space); - class Generator : public D::Generator - { - public: - Generator(const DataExtraction< D >* data); - virtual ~Generator(); + const UnivariateDataFrame* get_component(const Index& index) const; + void set_component(const Index& index, const UnivariateDataFrame& component); - virtual bool is_valid() const; + void add_component(const UnivariateDataFrame& component); + std::unique_ptr< UnivariateDataFrame > pop_component(); - virtual typename D::Generator& operator++(); + void insert_component(const Index& index, const UnivariateDataFrame& component); + void remove_component(const Index& index); - virtual const typename D::event_type* event() const; - virtual double weight() const; + Index get_nb_events() const; - protected: - const DataExtraction< D >* _data; - typename D::Generator* _generator; - Index _index; - }; + protected: + std::shared_ptr< std::vector< std::unique_ptr< UnivariateDataFrame > > > components; - void init(const WeightedMultivariateData* weights, const D* data); - void init(const DataExtraction< D >& data); - }; + void detach(); - struct STATISKIT_CORE_API UnivariateDataExtraction : PolymorphicCopy< UnivariateData, UnivariateDataExtraction, DataExtraction< UnivariateData > > - { - UnivariateDataExtraction(const WeightedMultivariateData* weights, const Index& index); - UnivariateDataExtraction(const UnivariateDataExtraction& data); - virtual ~UnivariateDataExtraction(); - }; + class STATISKIT_CORE_API Generator : public PolymorphicCopy + { + public: + Generator(const MultivariateDataFrame& data); + Generator(const Generator& generator); + virtual ~Generator(); + virtual Index size() const; - class STATISKIT_CORE_API MultivariateDataExtraction : public PolymorphicCopy< MultivariateData, MultivariateDataExtraction, DataExtraction< MultivariateData > > - { - public: - MultivariateDataExtraction(const WeightedMultivariateData* weights, const Indices& indices); - MultivariateDataExtraction(const MultivariateDataExtraction& data); - virtual ~MultivariateDataExtraction(); + virtual const UnivariateEvent* get_event(const Index& index) const; + virtual double get_weight() const; + + virtual bool is_valid() const; - virtual std::unique_ptr< UnivariateData > extract(const Index& index) const; - virtual std::unique_ptr< MultivariateData > extract(const Indices& indices) const; + virtual MultivariateData::Generator& operator++(); protected: - std::vector< Index > _indices; - }; + MultivariateDataFrame* data; + Index index; + }; }; - class STATISKIT_CORE_API UnivariateConditionalData - { - public: - class STATISKIT_CORE_API Generator - { - public: - Generator(const UnivariateConditionalData* data); - virtual ~Generator(); + template + class WeightedData : public PolymorphicCopy< D, WeightedData< D, B >, B > + { + public: + WeightedData(const D& data); + WeightedData(const WeightedData< D, B >& data); + virtual ~WeightedData(); - virtual bool is_valid() const; + virtual std::unique_ptr< typename D::Generator > generator() const; - virtual Generator& operator++(); + const D* origin() const; - virtual const UnivariateEvent* response() const; - virtual const MultivariateEvent* explanatories() const; + Index get_nb_weights() const; - virtual double weight() const; + virtual double get_weight(const Index& index) const; + void set_weight(const Index& index, const double& weight); - protected: - UnivariateData::Generator* _rgenerator; - MultivariateData::Generator* _egenerator; - }; + protected: + D* data; + std::shared_ptr< std::vector< double > > weights; - UnivariateConditionalData(const MultivariateData& data, const Index& response, const Indices& explanatories); - UnivariateConditionalData(const UnivariateData& response_data, const MultivariateData& explanatories_data); - UnivariateConditionalData(const UnivariateConditionalData& data); - virtual ~UnivariateConditionalData(); + void detach(); - virtual Index size() const; - - virtual std::unique_ptr< UnivariateConditionalData::Generator > generator() const; + class Generator : public PolymorphicCopy< typename D::Generator, Generator, typename B::Generator > + { + public: + Generator(const WeightedData< D, B >& data); + Generator(const Generator& generator); + virtual ~Generator(); - virtual const UnivariateData* get_response() const; - virtual const MultivariateData* get_explanatories() const; - - virtual std::unique_ptr< UnivariateConditionalData > copy() const; - - double compute_total() const; + virtual double get_weight() const = 0; - protected: - UnivariateData* _response; - MultivariateData* _explanatories; - }; + virtual typename D::Generator& operator++(); - class STATISKIT_CORE_API MultivariateConditionalData - { - public: - class STATISKIT_CORE_API Generator - { - public: - Generator(const MultivariateConditionalData* data); - virtual ~Generator(); + protected: + WeightedData* data; + Index index; + }; + }; - virtual bool is_valid() const; + // class STATISKIT_CORE_API UnivariateConditionalData + // { + // public: + // class STATISKIT_CORE_API Generator + // { + // public: + // Generator(const UnivariateConditionalData* data); + // virtual ~Generator(); - virtual Generator& operator++(); + // virtual bool is_valid() const; - virtual const MultivariateEvent* responses() const; - virtual const MultivariateEvent* explanatories() const; + // virtual Generator& operator++(); - virtual double weight() const; + // virtual const UnivariateEvent* response() const; + // virtual const MultivariateEvent* explanatories() const; - protected: - MultivariateData::Generator* _rgenerator; - MultivariateData::Generator* _egenerator; - }; + // virtual double weight() const; + + // protected: + // UnivariateData::Generator* _rgenerator; + // MultivariateData::Generator* _egenerator; + // }; - MultivariateConditionalData(const MultivariateData& data, const Indices& responses, const Indices& explanatories); - MultivariateConditionalData(const MultivariateConditionalData& data); - virtual ~MultivariateConditionalData(); + // UnivariateConditionalData(const MultivariateData& data, const Index& response, const Indices& explanatories); + // // UnivariateConditionalData(const UnivariateData& response_data, const MultivariateData& explanatories_data); + // UnivariateConditionalData(const UnivariateConditionalData& data); + // virtual ~UnivariateConditionalData(); - virtual Index size() const; + // virtual Index size() const; - virtual std::unique_ptr< MultivariateConditionalData::Generator > generator() const; + // virtual std::unique_ptr< UnivariateConditionalData::Generator > generator() const; - virtual const MultivariateData* get_responses() const; - virtual const MultivariateData* get_explanatories() const; + // virtual const UnivariateData* get_response() const; + // virtual const MultivariateData* get_explanatories() const; - virtual std::unique_ptr< MultivariateConditionalData > copy() const; + // virtual std::unique_ptr< UnivariateConditionalData > copy() const; - double compute_total() const; + // double compute_total() const; - protected: - MultivariateData* _responses; - MultivariateData* _explanatories; - }; + // protected: + // UnivariateData* _response; + // MultivariateData* _explanatories; + // }; - /*template - class DataMask : public D - { - public: - DataMask(const std::shared_ptr< D >& masked); - DataMask(const DataMask< D >& data); + // class STATISKIT_CORE_API MultivariateConditionalData + // { + // public: + // class STATISKIT_CORE_API Generator + // { + // public: + // Generator(const MultivariateConditionalData* data); + // virtual ~Generator(); - const std::shared_ptr< D >& get_masked() const; + // virtual bool is_valid() const; - virtual const typename D::sample_space_type* get_sample_space() const; - - virtual const typename D::event_type * get_event(const Index& index) const; - virtual void set_event(const Index& index, const typename D::event_type* event); - - virtual bool is_weighted() const; + // virtual Generator& operator++(); - virtual double get_weight(const Index& index) const; - - virtual void lock(); - virtual void unlock(); - virtual const bool& is_locked() const; - - protected: - std::shared_ptr< D > _masked; - - virtual Index compute_index(const Index& index) const = 0; - }; + // virtual const MultivariateEvent* responses() const; + // virtual const MultivariateEvent* explanatories() const; - template - class RandomizedData : public DataMask< D > - { - public: - RandomizedData(const std::shared_ptr< D >& randomized); - RandomizedData(const RandomizedData< D >& data); - - virtual Index size() const; + // virtual double weight() const; - const std::shared_ptr< D >& get_randomized() const; + // protected: + // MultivariateData::Generator* _rgenerator; + // MultivariateData::Generator* _egenerator; + // }; - const std::vector< Index >& get_randomization() const; + // MultivariateConditionalData(const MultivariateData& data, const Indices& responses, const Indices& explanatories); + // MultivariateConditionalData(const MultivariateConditionalData& data); + // virtual ~MultivariateConditionalData(); - void randomize(); - - virtual std::unique_ptr< D > copy() const; - - protected: - std::vector< Index > _randomization; + // virtual Index size() const; - virtual Index compute_index(const Index& index) const; - }; + // virtual std::unique_ptr< MultivariateConditionalData::Generator > generator() const; - - template - class DataIntervalMask : public DataMask< D > - { - public: - DataIntervalMask(const std::shared_ptr< D >& masked, const Index& lower, const Index& upper, const bool& inside); - DataIntervalMask(const DataIntervalMask< D >& data); - - virtual Index size() const; + // virtual const MultivariateData* get_responses() const; + // virtual const MultivariateData* get_explanatories() const; + + // virtual std::unique_ptr< MultivariateConditionalData > copy() const; - const bool& get_inside() const; - void set_inside(const bool& inside); - - virtual std::unique_ptr< D > copy() const; + // double compute_total() const; - protected: - Index _lower; - Index _upper; - bool _inside; - - virtual Index compute_index(const Index& index) const; - };*/ + // protected: + // MultivariateData* _responses; + // MultivariateData* _explanatories; + // }; } #ifndef AUTOWIG diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index 5665bb11..85eccc91 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -4,340 +4,100 @@ namespace statiskit { - template - WeightedData< D >::WeightedData() - { _data = nullptr; } - - template - WeightedData< D >::~WeightedData() + template + WeightedData< D, B >::WeightedData(const D& data) { - if(_data) - { - delete _data; - _data = nullptr; - } - } - - template - const typename D::sample_space_type* WeightedData< D >::get_sample_space() const - { return _data->get_sample_space(); } - - template - std::unique_ptr< typename D::Generator > WeightedData< D >::generator() const - { return std::make_unique< Generator >(const_cast< WeightedData< D >* >(this)); } - - template - const D* WeightedData< D >::get_data() const - { return _data; } - - template - Index WeightedData< D >::get_nb_weights() const - { return _weights.size(); } - - template - double WeightedData< D >::get_weight(const Index& index) const - { - if(index > get_nb_weights()) - { throw size_error("index", get_nb_weights(), size_error::inferior); } - return _weights[index]; - } - - template - void WeightedData< D >::set_weight(const Index& index, const double& weight) - { - if(index > get_nb_weights()) - { throw size_error("index", get_nb_weights(), size_error::inferior); } - if(weight < 0.) - { throw lower_bound_error("weight", 0., weight, false); } - _weights[index] = weight; - } - - template - void WeightedData< D >::init(const D* data) - { - _data = data->copy().release(); - _weights = std::vector< double >(); - std::unique_ptr< typename D::Generator > generator = data->generator(); - while(generator->is_valid()) - { - _weights.push_back(1.); - ++(*generator); - } + this->data = data.copy().release(); + this->weights = std::make_shared< std::vector< double > >(data.get_nb_events(), 1.); } - template - void WeightedData< D >::init(const WeightedData< D >& data) - { - _data = data._data->copy().release(); - _weights = data._weights; - } - - template - void WeightedData< D >::init(const D* data, const std::vector< double >& weights) - { - _data = data->copy().release(); - _weights = std::vector< double >(); - // std::unique_ptr< typename D::Generator > generator = data->generator(); - // while(generator->is_valid()) - // { - // _weights.push_back(1.); - // ++(*generator); - // } - if(data->size() == weights.size()) - { - for(Index i = 0; i < weights.size(); ++i) - { _weights.push_back(weights[i]); } - } - else - { throw size_error("weights", data->size(), weights.size()); } - } - - template - WeightedData< D >::Generator::Generator(WeightedData< D >* data) + template + WeightedData< D, B >::WeightedData(const WeightedData< D, B >& data) { - _data = data; - _generator = data->_data->generator().release(); - _index = 0; + this->data = data.data->copy().release(); + this->weights = data.weights; } - template - WeightedData< D >::Generator::~Generator() - { delete _generator; } - - template - bool WeightedData< D >::Generator::is_valid() const - { return _index < _data->get_nb_weights(); } - template - typename D::Generator& WeightedData< D >::Generator::operator++() + template + WeightedData< D, B >::~WeightedData() { - ++_index; - ++(*_generator); - return *this; + delete this->data; } - template - const typename D::event_type* WeightedData< D >::Generator::event() const - { return _generator->event(); } - - template - double WeightedData< D >::Generator::weight() const - { return _data->_weights[_index]; } + template + std::unique_ptr< typename D::Generator > WeightedData< D, B >::generator() const + { return std::make_unique< Generator >(*this); } - template - void WeightedData< D >::Generator::weight(const double& weight) - { _data->_weights[_index] = weight; } + template + const D* WeightedData< D, B >::origin() const + { return this->data; } - template - WeightedMultivariateData::DataExtraction< D >::~DataExtraction() - { delete _data; } + template + Index WeightedData< D, B >::get_nb_weights() const + { return this->weights->size(); } - template - std::unique_ptr< typename D::Generator > WeightedMultivariateData::DataExtraction< D >::generator() const - { return std::make_unique< Generator >(this); } - - template - const typename D::sample_space_type* WeightedMultivariateData::DataExtraction< D >::get_sample_space() const - { return _data->get_sample_space(); } - - template - WeightedMultivariateData::DataExtraction< D >::DataExtraction() - {} - - template - void WeightedMultivariateData::DataExtraction< D >::init(const WeightedMultivariateData* weights, const D* data) + template + double WeightedData< D, B >::get_weight(const Index& index) const { - _weights = weights; - _data = data; - } - - template - void WeightedMultivariateData::DataExtraction< D >::init(const DataExtraction< D >& data) - { - _weights = data._weights; - _data = data._data->copy().release(); - } - - template - WeightedMultivariateData::DataExtraction< D >::Generator::Generator(const DataExtraction< D >* data) - { - _data = data; - _generator = data->_data->generator().release(); - _index = 0; - } - - template - WeightedMultivariateData::DataExtraction< D >::Generator::~Generator() - { delete _generator; } - - template - bool WeightedMultivariateData::DataExtraction< D >::Generator::is_valid() const - { return _index < _data->_weights->get_nb_weights(); } - - template - typename D::Generator& WeightedMultivariateData::DataExtraction< D >::Generator::operator++() - { - ++_index; - ++(*_generator); - return *this; + if (index > this->get_nb_weights()) { + throw size_error("index", this->get_nb_weights(), size_error::inferior); + } + return (*this->weights)[index]; } - template - const typename D::event_type* WeightedMultivariateData::DataExtraction< D >::Generator::event() const - { return _generator->event(); } - - template - double WeightedMultivariateData::DataExtraction< D >::Generator::weight() const - { return _data->_weights->_weights[_index]; } - - /*template - DataMask< D >::DataMask(const std::shared_ptr< D >& masked) - { _masked = masked; } - - template - DataMask< D >::DataMask(const DataMask< D >& data) - { _masked = data._masked; } - - template - const std::shared_ptr< D >& DataMask< D >::get_masked() const - { return _masked; } - - template - const typename D::sample_space_type* DataMask< D >::get_sample_space() const - { return _masked->get_sample_space(); } - - //const UnivariateEvent* UnivariateDataMask::get_event(const Index& index) const - //{ return _masked->get_event(compute_index(index)); } - - template - void DataMask< D >::set_event(const Index& index, const typename D::event_type* event) - { _masked->set_event(compute_index(index), event); } - - template - bool DataMask< D >::is_weighted() const - { return _masked->is_weighted(); } - - template - double DataMask< D >::get_weight(const Index& index) const - { return _masked->get_weight(compute_index(index)); } - - template - void DataMask< D >::lock() - { _masked->lock(); } - - template - void DataMask< D >::unlock() - { _masked->unlock(); } - - template - const bool& DataMask< D >::is_locked() const - { return _masked->is_locked(); } - - template - const typename D::event_type* DataMask< D >::get_event(const Index& index) const - { return _masked->get_event(compute_index(index)); } - - template - RandomizedData< D >::RandomizedData(const std::shared_ptr< D >& randomized) : DataMask< D >(randomized) + template + void WeightedData< D, B >::set_weight(const Index& index, const double& weight) { - _randomization = std::vector< Index >(randomized->size(), 0); - randomize(); + if (index > this->get_nb_weights()) { + throw size_error("index", this->get_nb_weights(), size_error::inferior); + } + if (weight < 0.) { + throw lower_bound_error("weight", 0., weight, false); + } + (*this->weights)[index] = weight; } - template - RandomizedData< D >::RandomizedData(const RandomizedData< D >& data) : DataMask< D >(data) - { _randomization = data._randomization; } - - template - Index RandomizedData< D >::size() const - { return _randomization.size(); } - - template - const std::vector< Index >& RandomizedData< D >::get_randomization() const - { return _randomization; } - - template - void RandomizedData< D >::randomize() + template + void WeightedData< D, B >::detach() { - if(this->is_locked()) - { throw std::runtime_error("data is locked"); } - for(Index index = 0, max_index = size(); index < max_index; ++index) - { _randomization[index] = index; } - for(Index index = 1, max_index = size(); index < max_index; ++index) - { - boost::random::uniform_int_distribution<> dist(0, index); - boost::variate_generator > simulator(get_random_generator(), dist); - _randomization[simulator()] = _randomization[index]; + if (this->weights.use_count() > 1) { + std::shared_ptr< std::vector< double > > weights = std::make_shared< std::vector< double > >(this->weights->cbegin(), this->weights->cend()); + this->weights = weights; } } - template - std::unique_ptr< D > RandomizedData< D >::copy() const - { return std::make_unique< RandomizedData< D > >(*this); } - - template - Index RandomizedData< D >::compute_index(const Index& index) const - { return _randomization[index]; } - - template - DataIntervalMask< D >::DataIntervalMask(const std::shared_ptr< D >& masked, const Index& lower, const Index& upper, const bool& inside) : DataMask< D >(masked) + template + WeightedData< D, B >::Generator::Generator(const WeightedData< D, B >& data) : PolymorphicCopy< typename D::Generator, Generator, typename B::Generator >(data) { - if(lower < upper) - { - _lower = lower; - _upper = upper; - } - else - { - _lower = upper; - _upper = lower; - } - _inside = inside; + this->data = data.copy().release(); + this->index = 0; } - template - DataIntervalMask< D >::DataIntervalMask(const DataIntervalMask< D >& data) : DataMask< D >(data) + template + WeightedData< D, B >::Generator::Generator(const Generator& generator) : PolymorphicCopy< typename D::Generator, Generator, typename B::Generator >(generator) { - _lower = data._lower; - _upper = data._upper; - _inside = data._inside; + this->data = static_cast< WeightedData< D, B >* >(generator.data->copy().release()); + this->index = generator.index; } - template - Index DataIntervalMask< D >::size() const - { - Index size = _upper - _lower; - if(!_inside) - { size = this->_masked->size() - size; } - return size; + template + WeightedData< D, B >::Generator::~Generator() + { + delete this->data; } - template - const bool& DataIntervalMask< D >::get_inside() const - { return _inside; } - - template - void DataIntervalMask< D >::set_inside(const bool& inside) - { - if(this->is_locked()) - { throw std::runtime_error("data is locked"); } - _inside = inside; - } + template + double WeightedData< D, B >::Generator::get_weight() const + { return this->data->get_weight(this->index); } - template - Index DataIntervalMask< D >::compute_index(const Index& index) const - { - Index _index = index; - if(_inside) - { _index += _lower; } - else if(index > _lower) - { _index += _upper - _lower; } - return _index; + template + typename D::Generator& WeightedData< D, B >::Generator::operator++() + { + B::Generator::operator++(); + ++index; + return *this; } - - template - std::unique_ptr< D > DataIntervalMask< D >::copy() const - { return std::make_unique< DataIntervalMask< D > >(*this); }*/ } #endif diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index a313364f..8f77897d 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -12,9 +12,9 @@ namespace statiskit std::unique_ptr< UnivariateData::Generator > generator = data.generator(); while(generator->is_valid() && boost::math::isfinite(llh)) { - double weight = generator->weight(); + double weight = generator->get_weight(); if(weight > 0.) - { llh += weight * probability(generator->event(), true); } + { llh += weight * probability(generator->get_event(), true); } ++(*generator); } return llh; @@ -25,11 +25,11 @@ namespace statiskit double p; if(event) { - if(event->get_outcome() == CATEGORICAL) + if(event->get_outcome() == outcome_type::CATEGORICAL) { - switch(event->get_event()) + switch(event->get_censoring()) { - case ELEMENTARY: + case censoring_type::NONE: { const std::string& value = static_cast< const CategoricalElementaryEvent* >(event)->get_value(); if(logarithm) @@ -38,7 +38,7 @@ namespace statiskit { p = pdf(value); } } break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< std::string >& values = static_cast< const CategoricalCensoredEvent* >(event)->get_values(); p = 0.; @@ -546,11 +546,11 @@ namespace statiskit double p; if(event) { - if(event->get_outcome() == DISCRETE) + if(event->get_outcome() == outcome_type::DISCRETE) { - switch(event->get_event()) + switch(event->get_censoring()) { - case ELEMENTARY: + case censoring_type::NONE: { const int& value = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); if(logarithm) @@ -559,7 +559,7 @@ namespace statiskit { p = pdf(value); } } break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< int >& values = static_cast< const DiscreteCensoredEvent* >(event)->get_values(); p = 0.; @@ -569,7 +569,7 @@ namespace statiskit { p = log(p); } } break; - case LEFT: + case censoring_type::LEFT: { const int& upper_bound = static_cast< const DiscreteLeftCensoredEvent* >(event)->get_upper_bound(); p = cdf(upper_bound); @@ -577,7 +577,7 @@ namespace statiskit { p = log(p); } } break; - case RIGHT: + case censoring_type::RIGHT: { const int& lower_bound = static_cast< const DiscreteRightCensoredEvent* >(event)->get_lower_bound(); p = 1 - cdf(lower_bound - 1); @@ -585,7 +585,7 @@ namespace statiskit { p = log(p); } } break; - case INTERVAL: + case censoring_type::INTERVAL: { const DiscreteIntervalCensoredEvent* devent = static_cast< const DiscreteIntervalCensoredEvent* >(event); const int& lower_bound = devent->get_lower_bound(), upper_bound = devent->get_lower_bound(); @@ -1264,11 +1264,11 @@ namespace statiskit double p; if(event) { - if(event->get_outcome() == CONTINUOUS) + if(event->get_outcome() == outcome_type::CONTINUOUS) { - switch(event->get_event()) + switch(event->get_censoring()) { - case ELEMENTARY: + case censoring_type::NONE: { const double& value = static_cast< const ContinuousElementaryEvent* >(event)->get_value(); if(logarithm) @@ -1277,7 +1277,7 @@ namespace statiskit { p = pdf(value); } } break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< double >& values = static_cast< const ContinuousCensoredEvent* >(event)->get_values(); p = 0.; @@ -1287,7 +1287,7 @@ namespace statiskit { p = log(p); } } break; - case LEFT: + case censoring_type::LEFT: { const double& upper_bound = static_cast< const ContinuousLeftCensoredEvent* >(event)->get_upper_bound(); p = cdf(upper_bound); @@ -1295,7 +1295,7 @@ namespace statiskit { p = log(p); } } break; - case RIGHT: + case censoring_type::RIGHT: { const double& lower_bound = static_cast< const ContinuousRightCensoredEvent* >(event)->get_lower_bound(); p = 1 - cdf(lower_bound); @@ -1303,7 +1303,7 @@ namespace statiskit { p = log(p); } } break; - case INTERVAL: + case censoring_type::INTERVAL: { const ContinuousIntervalCensoredEvent* cevent = static_cast< const ContinuousIntervalCensoredEvent* >(event); const double& lower_bound = cevent->get_lower_bound(), upper_bound = cevent->get_lower_bound(); @@ -2499,26 +2499,26 @@ namespace statiskit { return pow(_beta - _alpha, 2)/12.; } - double UnivariateConditionalDistribution::loglikelihood(const UnivariateConditionalData& data) const - { - double llh = 0.; - Index index = 0; - std::unique_ptr< UnivariateConditionalData::Generator > generator = data.generator(); - while(generator->is_valid() && boost::math::isfinite(llh)) - { - ++index; - double weight = generator->weight(); - if(weight > 0.) - { - const UnivariateDistribution* distribution = this->operator() (*(generator->explanatories())); - llh += weight * distribution->probability(generator->response(), true); - //std::cout << "weight = " << weight << std::endl; - //std::cout << "proba = " << distribution->probability(generator->response(), true) << std::endl; - } - ++(*generator); - } - return llh; - } + // double UnivariateConditionalDistribution::loglikelihood(const UnivariateConditionalData& data) const + // { + // double llh = 0.; + // Index index = 0; + // std::unique_ptr< UnivariateConditionalData::Generator > generator = data.generator(); + // while(generator->is_valid() && boost::math::isfinite(llh)) + // { + // ++index; + // double weight = generator->weight(); + // if(weight > 0.) + // { + // const UnivariateDistribution* distribution = this->operator() (*(generator->explanatories())); + // llh += weight * distribution->probability(generator->response(), true); + // //std::cout << "weight = " << weight << std::endl; + // //std::cout << "proba = " << distribution->probability(generator->response(), true) << std::endl; + // } + // ++(*generator); + // } + // return llh; + // } UnivariateConditionalDistribution::~UnivariateConditionalDistribution() {} @@ -2532,9 +2532,9 @@ namespace statiskit std::unique_ptr< MultivariateData::Generator > generator = data.generator(); while(generator->is_valid() && boost::math::isfinite(llh)) { - double weight = generator->weight(); + double weight = generator->get_weight(); if(weight > 0.) - { llh += weight * probability(generator->event(), true); } + { llh += weight * probability(generator.get(), true); } ++(*generator); } return llh; @@ -2618,10 +2618,10 @@ namespace statiskit int sum = 0; for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) { - const UnivariateEvent* uevent = event->get(component); + const UnivariateEvent* uevent = event->get_event(component); if(uevent) { - if(uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) + if(uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { sum += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } else { throw std::exception(); } @@ -2801,8 +2801,8 @@ namespace statiskit double sum = 0.; for(Index index = 0, max_index = event->size(); index < max_index; ++index) { - const UnivariateEvent* uevent = event->get(index); - if(uevent && uevent->get_outcome() == CONTINUOUS && uevent->get_event() == ELEMENTARY) + const UnivariateEvent* uevent = event->get_event(index); + if(uevent && uevent->get_outcome() == outcome_type::CONTINUOUS && uevent->get_censoring() == censoring_type::NONE) { const double& value = static_cast< const ContinuousElementaryEvent* >(uevent)->get_value(); if(value < 1. && value > 0) @@ -2836,22 +2836,22 @@ namespace statiskit MultivariateConditionalDistribution::~MultivariateConditionalDistribution() {} - double MultivariateConditionalDistribution::loglikelihood(const MultivariateConditionalData& data) const - { - double llh = 0.; - std::unique_ptr< MultivariateConditionalData::Generator > generator = data.generator(); - while(generator->is_valid() && boost::math::isfinite(llh)) - { - double weight = generator->weight(); - if(weight > 0.) - { - const MultivariateDistribution* distribution = this->operator() (*(generator->explanatories())); - llh += weight * distribution->probability(generator->responses(), true); - } - ++(*generator); - } - return llh; - } + // double MultivariateConditionalDistribution::loglikelihood(const MultivariateConditionalData& data) const + // { + // double llh = 0.; + // std::unique_ptr< MultivariateConditionalData::Generator > generator = data.generator(); + // while(generator->is_valid() && boost::math::isfinite(llh)) + // { + // double weight = generator->weight(); + // if(weight > 0.) + // { + // const MultivariateDistribution* distribution = this->operator() (*(generator->explanatories())); + // llh += weight * distribution->probability(generator->responses(), true); + // } + // ++(*generator); + // } + // return llh; + // } DiscreteUnivariateMixtureDistribution::DiscreteUnivariateMixtureDistribution(const std::vector< DiscreteUnivariateDistribution* > observations, const Eigen::VectorXd& pi) { init(observations, pi); } diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index fc9fcb05..25bd459c 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -2393,7 +2393,7 @@ namespace statiskit virtual const MultivariateDistribution* operator() (const MultivariateEvent& event) const = 0; - double loglikelihood(const MultivariateConditionalData& data) const; + // double loglikelihood(const MultivariateConditionalData& data) const; virtual const MultivariateSampleSpace* get_explanatory_space() const = 0; diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index e9043a2c..28a7a292 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -23,12 +23,6 @@ namespace statiskit class STATISKIT_CORE_API Estimator { - protected: - static std::unordered_set< uintptr_t > compute_children(const Estimator& estimator); - virtual std::unordered_set< uintptr_t > children() const; - - static uintptr_t compute_identifier(const Estimator& estimator); - virtual uintptr_t identifier() const; }; struct STATISKIT_CORE_API UnivariateDistributionEstimation @@ -124,8 +118,6 @@ namespace statiskit void init(); void init(const Estimator& estimator); - - virtual std::unordered_set< uintptr_t > children() const; }; class CriterionEstimator : public PolymorphicCopy< typename B::Estimator::estimation_type::Estimator, CriterionEstimator, Estimator > diff --git a/src/cpp/event.cpp b/src/cpp/event.cpp index a1a5787c..f84b2370 100644 --- a/src/cpp/event.cpp +++ b/src/cpp/event.cpp @@ -38,7 +38,7 @@ namespace statiskit { _events.resize(event.size(), nullptr); for(Index index = 0, max_index = event.size(); index < max_index; ++index) - { _events[index] = event.get(index)->copy().release(); } + { _events[index] = event.get_event(index)->copy().release(); } } VectorEvent::VectorEvent(const Eigen::VectorXd& event) @@ -62,14 +62,14 @@ namespace statiskit Index VectorEvent::size() const { return _events.size(); } - const UnivariateEvent* VectorEvent::get(const Index& index) const + const UnivariateEvent* VectorEvent::get_event(const Index& index) const { if(index > size()) { throw size_error("index", size(), size_error::inferior); } return _events[index]; } - void VectorEvent::set(const Index& index, const UnivariateEvent& event) + void VectorEvent::set_event(const Index& index, const UnivariateEvent& event) { if(index > size()) { throw size_error("index", size(), size_error::inferior); } diff --git a/src/cpp/event.h b/src/cpp/event.h index 7b68d922..b33a6c7f 100644 --- a/src/cpp/event.h +++ b/src/cpp/event.h @@ -9,7 +9,7 @@ namespace statiskit { - enum outcome_type + enum class outcome_type { CATEGORICAL, DISCRETE, @@ -17,14 +17,13 @@ namespace statiskit MIXED, }; - enum event_type + enum class censoring_type { - ELEMENTARY, + NONE, CENSORED, LEFT, RIGHT, INTERVAL, - COMPOUND }; struct STATISKIT_CORE_API UnivariateEvent @@ -33,7 +32,7 @@ namespace statiskit virtual outcome_type get_outcome() const = 0; - virtual event_type get_event() const = 0; + virtual censoring_type get_censoring() const = 0; virtual std::unique_ptr< UnivariateEvent > copy() const = 0; }; @@ -45,7 +44,7 @@ namespace statiskit ElementaryEvent(const ElementaryEvent< E >& event); virtual ~ElementaryEvent(); - virtual event_type get_event() const; + virtual censoring_type get_censoring() const; const typename E::value_type& get_value() const; @@ -61,7 +60,7 @@ namespace statiskit CensoredEvent(const std::vector< typename E::value_type >& values); CensoredEvent(const CensoredEvent< E >& event); - virtual event_type get_event() const; + virtual censoring_type get_censoring() const; const std::vector< typename E::value_type >& get_values() const; @@ -77,7 +76,7 @@ namespace statiskit LeftCensoredEvent(const typename E::value_type& upper_bound); LeftCensoredEvent(const LeftCensoredEvent< E >& event); - virtual event_type get_event() const; + virtual censoring_type get_censoring() const; const typename E::value_type& get_upper_bound() const; @@ -93,7 +92,7 @@ namespace statiskit RightCensoredEvent(const typename E::value_type& lower_bound); RightCensoredEvent(const RightCensoredEvent< E >& event); - virtual event_type get_event() const; + virtual censoring_type get_censoring() const; const typename E::value_type& get_lower_bound() const; @@ -109,7 +108,7 @@ namespace statiskit IntervalCensoredEvent(const typename E::value_type& lhs, const typename E::value_type& rhs); IntervalCensoredEvent(const IntervalCensoredEvent< E >& event); - virtual event_type get_event() const; + virtual censoring_type get_censoring() const; const typename E::value_type& get_lower_bound() const; const typename E::value_type& get_upper_bound() const; @@ -175,7 +174,7 @@ namespace statiskit virtual Index size() const = 0; - virtual const UnivariateEvent* get(const Index& index) const = 0; + virtual const UnivariateEvent* get_event(const Index& index) const = 0; virtual std::unique_ptr< MultivariateEvent > copy() const = 0; }; @@ -190,8 +189,8 @@ namespace statiskit virtual Index size() const; - virtual const UnivariateEvent* get(const Index& index) const; - void set(const Index& index, const UnivariateEvent& event); + virtual const UnivariateEvent* get_event(const Index& index) const; + void set_event(const Index& index, const UnivariateEvent* event); virtual std::unique_ptr< MultivariateEvent > copy() const; diff --git a/src/cpp/event.hpp b/src/cpp/event.hpp index 7d2d9f3f..2aaa1016 100644 --- a/src/cpp/event.hpp +++ b/src/cpp/event.hpp @@ -17,8 +17,8 @@ namespace statiskit {} template - event_type ElementaryEvent< E >::get_event() const - { return ELEMENTARY; } + censoring_type ElementaryEvent< E >::get_censoring() const + { return censoring_type::NONE; } template const typename E::value_type& ElementaryEvent< E >::get_value() const @@ -37,8 +37,8 @@ namespace statiskit { _values = event._values; } template - event_type CensoredEvent< E >::get_event() const - { return CENSORED; } + censoring_type CensoredEvent< E >::get_censoring() const + { return censoring_type::CENSORED; } template const std::vector< typename E::value_type >& CensoredEvent< E >::get_values() const @@ -57,8 +57,8 @@ namespace statiskit { _upper_bound = event._upper_bound; } template - event_type LeftCensoredEvent< E >::get_event() const - { return LEFT; } + censoring_type LeftCensoredEvent< E >::get_censoring() const + { return censoring_type::LEFT; } template const typename E::value_type& LeftCensoredEvent< E >::get_upper_bound() const @@ -77,8 +77,8 @@ namespace statiskit { _lower_bound = event._lower_bound; } template - event_type RightCensoredEvent< E >::get_event() const - { return RIGHT; } + censoring_type RightCensoredEvent< E >::get_censoring() const + { return censoring_type::RIGHT; } template const typename E::value_type& RightCensoredEvent< E >::get_lower_bound() const @@ -102,8 +102,8 @@ namespace statiskit { _bounds = event._bounds; } template - event_type IntervalCensoredEvent< E >::get_event() const - { return INTERVAL; } + censoring_type IntervalCensoredEvent< E >::get_censoring() const + { return censoring_type::INTERVAL; } template const typename E::value_type& IntervalCensoredEvent< E >::get_lower_bound() const diff --git a/src/cpp/indicator.cpp b/src/cpp/indicator.cpp index c8b07605..79199d9d 100644 --- a/src/cpp/indicator.cpp +++ b/src/cpp/indicator.cpp @@ -51,18 +51,18 @@ namespace statiskit case DISCRETE: while(generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) - { location += generator->weight() * static_cast< const DiscreteElementaryEvent* >(event)->get_value() / total; } + const UnivariateEvent* event = generator->get_event(); + if(event && event->get_censoring() == censoring_type::NONE) + { location += generator->get_weight() * static_cast< const DiscreteElementaryEvent* >(event)->get_value() / total; } ++(*generator); } break; case CONTINUOUS: while(generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) - { location += generator->weight() * static_cast< const ContinuousElementaryEvent* >(event)->get_value() / total; } + const UnivariateEvent* event = generator->get_event(); + if(event && event->get_censoring() == censoring_type::NONE) + { location += generator->get_weight() * static_cast< const ContinuousElementaryEvent* >(event)->get_value() / total; } ++(*generator); } break; @@ -193,11 +193,11 @@ namespace statiskit case DISCRETE: while(generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(); + if(event && event->get_censoring() == censoring_type::NONE) { - dispersion += generator->weight() * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location, 2) / total; - total_square += pow(generator->weight(), 2); + dispersion += generator->get_weight() * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location, 2) / total; + total_square += pow(generator->get_weight(), 2); } ++(*generator); } @@ -205,11 +205,11 @@ namespace statiskit case CONTINUOUS: while(generator->is_valid()) { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(); + if(event && event->get_censoring() == censoring_type::NONE) { - dispersion += generator->weight() * pow(static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location, 2)/ total; - total_square += pow(generator->weight(), 2); + dispersion += generator->get_weight() * pow(static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location, 2)/ total; + total_square += pow(generator->get_weight(), 2); } ++(*generator); } @@ -301,13 +301,13 @@ namespace statiskit double MultivariateVarianceEstimation::Estimator::compute(const MultivariateData& data, const Eigen::VectorXd& location, const Index& i, const Index& j) const { double codispersion = 0., total = 0., total_square = 0.; - switch(data.get_sample_space()->get(i)->get_outcome()) + switch(data.get_sample_space(i)->get_outcome()) { case CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); break; case DISCRETE: - switch(data.get_sample_space()->get(j)->get_outcome()) + switch(data.get_sample_space(j)->get_outcome()) { case CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); @@ -318,17 +318,17 @@ namespace statiskit while(generator->is_valid()) { double _codispersion = 0; - const UnivariateEvent* event = generator->event()->get(i); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(i); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); - event = generator->event()->get(j); - if(event && event->get_event() == ELEMENTARY) + event = generator->get_event(j); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->weight(); - total += generator->weight(); - total_square += pow(generator->weight(), 2); + codispersion += _codispersion * generator->get_weight(); + total += generator->get_weight(); + total_square += pow(generator->get_weight(), 2); } } ++(*generator); @@ -341,17 +341,17 @@ namespace statiskit while(generator->is_valid()) { double _codispersion = 0; - const UnivariateEvent* event = generator->event()->get(i); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(i); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); - event = generator->event()->get(j); - if(event && event->get_event() == ELEMENTARY) + event = generator->get_event(j); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->weight(); - total += generator->weight(); - total_square += pow(generator->weight(), 2); + codispersion += _codispersion * generator->get_weight(); + total += generator->get_weight(); + total_square += pow(generator->get_weight(), 2); } } ++(*generator); @@ -361,7 +361,7 @@ namespace statiskit } break; case CONTINUOUS: - switch(data.get_sample_space()->get(j)->get_outcome()) + switch(data.get_sample_space(j)->get_outcome()) { case CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); @@ -372,17 +372,17 @@ namespace statiskit while(generator->is_valid()) { double _codispersion = 0; - const UnivariateEvent* event = generator->event()->get(i); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(i); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); - event = generator->event()->get(j); - if(event && event->get_event() == ELEMENTARY) + event = generator->get_event(j); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->weight(); - total += generator->weight(); - total_square += pow(generator->weight(), 2); + codispersion += _codispersion * generator->get_weight(); + total += generator->get_weight(); + total_square += pow(generator->get_weight(), 2); } } ++(*generator); @@ -395,17 +395,17 @@ namespace statiskit while(generator->is_valid()) { double _codispersion = 0; - const UnivariateEvent* event = generator->event()->get(i); - if(event && event->get_event() == ELEMENTARY) + const UnivariateEvent* event = generator->get_event(i); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); - event = generator->event()->get(j); - if(event && event->get_event() == ELEMENTARY) + event = generator->get_event(j); + if(event && event->get_censoring() == censoring_type::NONE) { _codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->weight(); - total += generator->weight(); - total_square += pow(generator->weight(), 2); + codispersion += _codispersion * generator->get_weight(); + total += generator->get_weight(); + total_square += pow(generator->get_weight(), 2); } } ++(*generator); diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index 6a233df8..d632fb82 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -811,7 +811,7 @@ namespace statiskit const UnivariateSampleSpace* sample_space; Index index = 0, max_index = this->size(); while (compatible && index < max_index) { - sample_space = this->get(index); + sample_space = this->get_sample_space(index); compatible = sample_space && sample_space->is_compatible(event->get(index)); ++index; } @@ -825,7 +825,7 @@ namespace statiskit { Index size = 0; for (Index index = 0, max_index = this->size(); index < max_index; ++index) { - const UnivariateSampleSpace* sample_space = this->get(index); + const UnivariateSampleSpace* sample_space = this->get_sample_space(index); if (sample_space->get_outcome() == CATEGORICAL) { size += static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); size -= 1; @@ -846,9 +846,9 @@ namespace statiskit dummy = Eigen::RowVectorXd::Zero(encode()); Eigen::RowVectorXd temp; for (Index index = 0, max_index = this->size(); index< max_index; ++index) { - const UnivariateEvent* uevent = event.get(index); + const UnivariateEvent* uevent = event.get_event(index); if (uevent->get_event() == ELEMENTARY) { - const UnivariateSampleSpace* sample_space = this->get(index); + const UnivariateSampleSpace* sample_space = this->get_event(index); switch (sample_space->get_outcome()) { case CATEGORICAL: { @@ -866,7 +866,7 @@ namespace statiskit break; } } else { - const UnivariateSampleSpace* sample_space = get(index); + const UnivariateSampleSpace* sample_space = get_sample_space(index); if (sample_space->get_outcome() == CATEGORICAL) { Index max_size = index + shift + static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); while(index + shift < max_size) { @@ -906,10 +906,10 @@ namespace statiskit Index VectorSampleSpace::size() const {return this->sample_spaces->size(); } - const UnivariateSampleSpace* VectorSampleSpace::get(const Index& index) const + const UnivariateSampleSpace* VectorSampleSpace::get_sample_space(const Index& index) const { return (*this->sample_spaces)[index].get(); } - void VectorSampleSpace::set(const Index& index, const UnivariateSampleSpace& sample_space) + void VectorSampleSpace::set_sample_space(const Index& index, const UnivariateSampleSpace& sample_space) { detach(); (*this->sample_spaces)[index] = sample_space.copy(); diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 99e5941b..49a05a06 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -236,14 +236,14 @@ namespace statiskit virtual Index size() const = 0; - virtual const UnivariateSampleSpace* get(const Index& index) const = 0; + virtual const UnivariateSampleSpace* get_event(const Index& index) const = 0; virtual bool is_compatible(const MultivariateEvent* event) const; virtual Index encode() const; virtual Eigen::RowVectorXd encode(const MultivariateEvent& event) const; - + virtual std::unique_ptr< MultivariateSampleSpace > copy() const = 0; }; @@ -256,8 +256,8 @@ namespace statiskit virtual Index size() const; - virtual const UnivariateSampleSpace* get(const Index& index) const; - virtual void set(const Index& index, const UnivariateSampleSpace& sample_space); + virtual const UnivariateSampleSpace* get_event(const Index& index) const; + virtual void set_event(const Index& index, const UnivariateSampleSpace& sample_space); virtual std::unique_ptr< MultivariateSampleSpace > copy() const; From c481bc063d1a5710797a02e82623536784e4ef93 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Fri, 5 Jul 2019 16:22:17 +0200 Subject: [PATCH 09/16] Change architecture --- src/cpp/base.h | 6 +- src/cpp/base.hpp | 6 +- src/cpp/data.h | 125 ++++------ src/cpp/data.hpp | 87 ++++++- src/cpp/distribution.h | 5 +- src/cpp/estimation.cpp | 17 +- src/cpp/estimation.h | 518 ++++++++++++++++------------------------- src/cpp/optimization.h | 80 +++++++ src/cpp/selection.h | 68 ++++++ 9 files changed, 486 insertions(+), 426 deletions(-) create mode 100644 src/cpp/optimization.h create mode 100644 src/cpp/selection.h diff --git a/src/cpp/base.h b/src/cpp/base.h index 83e0ecf0..9bf46534 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -1,5 +1,4 @@ -#ifndef STATISKIT_CORE_BASE_H -#define STATISKIT_CORE_BASE_H +#pragma once #include #include @@ -208,5 +207,4 @@ namespace statiskit #ifndef AUTOWIG #include "base.hpp" -#endif -#endif +#endif \ No newline at end of file diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index 638fd32a..b964d86c 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -1,7 +1,6 @@ -#ifndef AUTOWIG -#ifndef STATISKIT_CORE_BASE_HPP -#define STATISKIT_CORE_BASE_HPP +#pragma once +#ifndef AUTOWIG #include #include @@ -253,5 +252,4 @@ namespace statiskit } } -#endif #endif \ No newline at end of file diff --git a/src/cpp/data.h b/src/cpp/data.h index dd388cb0..9eb1ee03 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -1,5 +1,4 @@ -#ifndef STATISKIT_CORE_DATA_H -#define STATISKIT_CORE_DATA_H +#pragma once #include "base.h" #include "sample_space.h" @@ -112,7 +111,7 @@ namespace statiskit virtual UnivariateData::Generator& operator++(); protected: - UnivariateDataFrame* data; + UnivariateDataFrame* data = nullptr; Index index; }; }; @@ -155,6 +154,8 @@ namespace statiskit class STATISKIT_CORE_API IndexSelectedData : public PolymorphicCopy { public: + using indexing_type=Index; + IndexSelectedData(const MultivariateData& data, const Index& index); IndexSelectedData(const IndexSelectedData& data); virtual ~IndexSelectedData(); @@ -190,7 +191,7 @@ namespace statiskit virtual UnivariateData::Generator& operator++(); protected: - MultivariateData::Generator* generator; + MultivariateData::Generator* generator = nullptr; Index index; }; }; @@ -198,6 +199,8 @@ namespace statiskit class STATISKIT_CORE_API IndicesSelectedData : public PolymorphicCopy { public: + using indexing_type=Indices; + IndicesSelectedData(const MultivariateData& data, const Indices& indices); IndicesSelectedData(const IndicesSelectedData& data); virtual ~IndicesSelectedData(); @@ -233,7 +236,7 @@ namespace statiskit virtual MultivariateData::Generator& operator++(); protected: - MultivariateData::Generator* generator; + MultivariateData::Generator* generator = nullptr; std::shared_ptr< std::vector< Index > > indices; }; }; @@ -285,7 +288,7 @@ namespace statiskit virtual MultivariateData::Generator& operator++(); protected: - MultivariateDataFrame* data; + MultivariateDataFrame* data = nullptr; Index index; }; }; @@ -330,95 +333,51 @@ namespace statiskit }; }; - // class STATISKIT_CORE_API UnivariateConditionalData - // { - // public: - // class STATISKIT_CORE_API Generator - // { - // public: - // Generator(const UnivariateConditionalData* data); - // virtual ~Generator(); - - // virtual bool is_valid() const; - - // virtual Generator& operator++(); + // template + // class PairedData + // { + // public: + // using paired_type = I; - // virtual const UnivariateEvent* response() const; - // virtual const MultivariateEvent* explanatories() const; + // PairedData(const typename I::indexing_type& first, const Indices& second, const MultivariateData& data); + // PairedData(const PairedData< I >& data); + // ~PairedData(); - // virtual double weight() const; + // class Generator + // { + // public: + // Generator(const PairedData< I >& data); + // Generator(const Generator& generator); + // virtual ~Generator(); + + // const typename I::event_type* get_first() const; + // const MultivariateEvent* get_second() const; - // protected: - // UnivariateData::Generator* _rgenerator; - // MultivariateData::Generator* _egenerator; - // }; + // virtual double get_weight() const = 0; - // UnivariateConditionalData(const MultivariateData& data, const Index& response, const Indices& explanatories); - // // UnivariateConditionalData(const UnivariateData& response_data, const MultivariateData& explanatories_data); - // UnivariateConditionalData(const UnivariateConditionalData& data); - // virtual ~UnivariateConditionalData(); - - // virtual Index size() const; - - // virtual std::unique_ptr< UnivariateConditionalData::Generator > generator() const; - - // virtual const UnivariateData* get_response() const; - // virtual const MultivariateData* get_explanatories() const; - - // virtual std::unique_ptr< UnivariateConditionalData > copy() const; - - // double compute_total() const; + // virtual bool is_valid() const = 0; - // protected: - // UnivariateData* _response; - // MultivariateData* _explanatories; - // }; + // virtual Generator& operator++() = 0; - // class STATISKIT_CORE_API MultivariateConditionalData - // { - // public: - // class STATISKIT_CORE_API Generator - // { - // public: - // Generator(const MultivariateConditionalData* data); - // virtual ~Generator(); + // protected: + // typename I::Generator* first; + // MultivariateData::Generator* second; + // }; - // virtual bool is_valid() const; + // virtual std::unique_ptr< Generator > generator() const; - // virtual Generator& operator++(); + // const I* get_first() const; + // const MultivariateData* get_second() const; - // virtual const MultivariateEvent* responses() const; - // virtual const MultivariateEvent* explanatories() const; - - // virtual double weight() const; - - // protected: - // MultivariateData::Generator* _rgenerator; - // MultivariateData::Generator* _egenerator; - // }; - - // MultivariateConditionalData(const MultivariateData& data, const Indices& responses, const Indices& explanatories); - // MultivariateConditionalData(const MultivariateConditionalData& data); - // virtual ~MultivariateConditionalData(); - - // virtual Index size() const; - - // virtual std::unique_ptr< MultivariateConditionalData::Generator > generator() const; - - // virtual const MultivariateData* get_responses() const; - // virtual const MultivariateData* get_explanatories() const; - - // virtual std::unique_ptr< MultivariateConditionalData > copy() const; - - // double compute_total() const; + // protected: + // I* first = nullptr; + // MultivariateData* second = nullptr; + // }; - // protected: - // MultivariateData* _responses; - // MultivariateData* _explanatories; - // }; + // using UnivariatePairedData = PairedData< UnivariateData >; + // using MultivariatePairedData = PairedData< UnivariateData >; } #ifndef AUTOWIG #include "data.hpp" -#endif #endif \ No newline at end of file diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index 85eccc91..0b56245a 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -1,6 +1,6 @@ +#pragma once + #ifndef AUTOWIG -#ifndef STATISKIT_CORE_DATA_HPP -#define STATISKIT_CORE_DATA_HPP namespace statiskit { @@ -98,7 +98,86 @@ namespace statiskit ++index; return *this; } + + // template + // PairedData< I >::PairedData(const typename I::indexing_type first, const Indices& second, const MultivariateData& data) + // { + // this->first = data.select(first).release(); + // this->second = data.select(second).release(); + // } + + // template + // PairedData< I >::PairedData(const PairedData< I >& data) + // { + // this->first = data.first.copy().release(); + // this->second = data.second.copy().release(); + // } + + // template + // PairedData< I >::~PairedData() + // { + // delete this->first; + // delete this->second; + // } + + // template + // PairedData< I >::Generator::Generator(const PairedData< I >& data) + // { + // this->first = data.first->generator().release(); + // this->second = data.second->generator().release(); + // } + + // template + // PairedData< I >::Generator::Generator(const Generator& generator) + // { + // this->first = generator.first->copy().release(); + // this->second = generator.second->copy().release(); + // } + + // template + // PairedData< I >::Generator::~Generator() + // { + // if (this->first) { + // delete this->first; + // this->first = nullptr; + // } + // if (this->second) { + // delete this->second; + // this->second = nullptr; + // } + // } + + // template + // const typename I::event_type* PairedData< I >::Generator::get_first() const + // { + // return this->first->get_event(); + // } + + // template + // const MultivariateEvent* PairedData< I >::Generator::get_second() const + // { + // return this->second->get_event(); + // } + + // template + // double PairedData< I >::Generator::get_weight() const + // { + // return this->first->get_weight(); + // } + + // template + // bool PairedData< I >::Generator::is_valid() const + // { + // return this->first->is_valid() && this->second->is_valid(); + // } + + // template + // PairedData< I >::Generator& PairedData< I >::Generator::get_first() const + // { + // ++(*this->first); + // ++(*this->second); + // return *this; + // } } -#endif -#endif +#endif \ No newline at end of file diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index 25bd459c..f2e5a132 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -1,5 +1,4 @@ -#ifndef STATISKIT_CORE_DISTRIBUTION_H -#define STATISKIT_CORE_DISTRIBUTION_H +#pragma once #include "base.h" #include "data.h" @@ -29,7 +28,7 @@ namespace statiskit /// \brief This virtual class UnivariateDistribution represents the distribution of a random univariate component \f$ X \f$. The support of this distribution is a set \f$ \mathcal{X} \f$ with one dimension. struct STATISKIT_CORE_API UnivariateDistribution { - typedef UnivariateData data_type; + using data_type = UnivariateData; virtual ~UnivariateDistribution() = 0; diff --git a/src/cpp/estimation.cpp b/src/cpp/estimation.cpp index 29ae2f72..d2031cf4 100644 --- a/src/cpp/estimation.cpp +++ b/src/cpp/estimation.cpp @@ -14,24 +14,17 @@ namespace statiskit underdispersion_error::underdispersion_error() : parameter_error("data", " is underdispersed") {} - std::unordered_set< uintptr_t > Estimator::compute_children(const Estimator& estimator) - { return estimator.children(); } - - std::unordered_set< uintptr_t > Estimator::children() const - { return std::unordered_set< uintptr_t >(); } - - uintptr_t Estimator::identifier() const - { return (uintptr_t)(this); } - - uintptr_t Estimator::compute_identifier(const Estimator& estimator) - { return estimator.identifier(); } - UnivariateDistributionEstimation::~UnivariateDistributionEstimation() {} UnivariateDistributionEstimation::Estimator::~Estimator() {} + std::unique_ptr< estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable, const bool& lazy=true) const + { + return (*this)(data.select(variable), lazy); + } + CategoricalUnivariateDistributionEstimation::Estimator::Estimator() {} diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index 28a7a292..166e5acf 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -1,4 +1,3 @@ - #ifndef STATISKIT_CORE_ESTIMATION_H #define STATISKIT_CORE_ESTIMATION_H @@ -21,407 +20,294 @@ namespace statiskit struct STATISKIT_CORE_API underdispersion_error : parameter_error { underdispersion_error(); }; - class STATISKIT_CORE_API Estimator - { - }; - - struct STATISKIT_CORE_API UnivariateDistributionEstimation + template + class DistributionEstimation { - typedef UnivariateData data_type; - typedef UnivariateDistribution estimated_type; - typedef UnivariateDistributionEstimation copy_type; - - virtual ~UnivariateDistributionEstimation() = 0; + public: + using distribution_type = D; + using data_type = typename D::data_type; - virtual estimated_type const * get_estimated() const = 0; - - struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - { - typedef UnivariateDistributionEstimation estimation_type; + DistributionEstimation(); + DistributionEstimation(data_type const *data, + distribution_type const * distribution); + DistributionEstimation(const DistributionEstimation< D >& estimation); + virtual ~DistributionEstimation(); - virtual ~Estimator() = 0; + virtual data_type const * get_data() const; - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const bool& lazy=true) const = 0; + virtual distribution_type const * get_distribution() const; - virtual std::unique_ptr< Estimator > copy() const = 0; - }; - }; + virtual std::unique_ptr< DistributionEstimation< D > > copy() const; + + struct STATISKIT_CORE_API Estimator + { + using estimation_type = DistributionEstimation; - template - class LazyEstimation : public B - { - public: - LazyEstimation(); - LazyEstimation(D const * estimated); - LazyEstimation(const LazyEstimation< D, B >& estimation); - virtual ~LazyEstimation(); + virtual ~Estimator() = 0; - virtual std::unique_ptr< typename B::copy_type > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const data_type& data, + const bool& lazy=true) const = 0; - virtual typename B::estimated_type const * get_estimated() const; + virtual std::unique_ptr< Estimator > copy() const = 0; + }; protected: - D const * _estimated; + data_type const * data; + distribution_type const * distribution; }; - template class ActiveEstimation : public LazyEstimation< D, B > + class STATISKIT_CORE_API UnivariateDistributionEstimation : DistributionEstimation< UnivariateDistribution > { public: - typedef D estimated_type; + using DistributionEstimation< UnivariateDistribution >::DistributionEstimation; - ActiveEstimation(); - ActiveEstimation(typename B::data_type const * data); - ActiveEstimation(D const * estimated, typename B::data_type const * data); - ActiveEstimation(const ActiveEstimation< D, B >& estimation); - virtual ~ActiveEstimation(); - - typename B::data_type const * get_data() const; - - protected: - typename B::data_type const * _data; + struct STATISKIT_CORE_API Estimator : DistributionEstimation< UnivariateDistribution >::Estimator + { + using DistributionEstimation< UnivariateDistribution >::Estimator::Estimator; + using DistributionEstimation< UnivariateDistribution >::Estimator::estimation_type; + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Index& variable, + const bool& lazy=true) const; + }; }; - template class Selection : public ActiveEstimation< D, B > + struct STATISKIT_CORE_API CategoricalUnivariateDistributionEstimation : UnivariateDistributionEstimation { - public: - Selection(); - Selection(typename B::data_type const * data); - Selection(D const * estimated, typename B::data_type const * data); - Selection(const Selection< D, B >& estimation); - virtual ~Selection(); - - Index size() const; - - B const * get_estimation(const Index& index) const; - - const double& get_score(const Index& index) const; - - class Estimator : public B::Estimator - { - public: - virtual ~Estimator(); - - virtual std::unique_ptr< typename B::Estimator::estimation_type > operator() (typename B::data_type const & data, const bool& lazy=true) const; - - Index size() const; - - typename B::Estimator * get_estimator(const Index& index); - void set_estimator(const Index& index, const typename B::Estimator& estimator); - - void add_estimator(const typename B::Estimator& estimator); - void remove_estimator(const Index& index); - - protected: - std::vector< typename B::Estimator * > _estimators; - - virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const = 0; + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - void init(); - void init(const Estimator& estimator); - }; - - class CriterionEstimator : public PolymorphicCopy< typename B::Estimator::estimation_type::Estimator, CriterionEstimator, Estimator > - { - public: - enum criterion_type { - AIC, - AICc, - BIC, - HQIC - }; - - CriterionEstimator(); - CriterionEstimator(const CriterionEstimator& estimator); - virtual ~CriterionEstimator(); - - const criterion_type& get_criterion() const; - void set_criterion(const criterion_type& criterion); - - protected: - criterion_type _criterion; - - virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const; - };/**/ - - protected: - std::vector< B * > _estimations; - std::vector< double > _scores; - - void finalize(); + struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; }; - template class OptimizationEstimationImpl : public ActiveEstimation< D, B > + struct STATISKIT_CORE_API DiscreteUnivariateDistributionEstimation : UnivariateDistributionEstimation { - public: - OptimizationEstimationImpl(); - OptimizationEstimationImpl(D const * estimated, typename B::data_type const * data); - OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation); - virtual ~OptimizationEstimationImpl(); + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - Index size() const; + struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; + }; - class Estimator : public Optimization< typename B::Estimator > - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; + struct STATISKIT_CORE_API ContinuousUnivariateDistributionEstimation : UnivariateDistributionEstimation + { + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - protected: - std::vector< T > _iterations; + struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; }; - template class SimulatedAnnealingEstimation : public ActiveEstimation< D, B > + class STATISKIT_CORE_API MultivariateDistributionEstimation : DistributionEstimation< MultivariateDistribution > { public: - SimulatedAnnealingEstimation(); - SimulatedAnnealingEstimation(D const * estimated, typename B::data_type const * data); - SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation); - virtual ~SimulatedAnnealingEstimation(); - - Index size() const; - - class Estimator : public SimulatedAnnealing< typename B::Estimator > - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); + using DistributionEstimation< MultivariateDistribution >::DistributionEstimation; + + struct STATISKIT_CORE_API Estimator : DistributionEstimation< MultivariateDistribution >::Estimator + { + using DistributionEstimation< MultivariateDistribution >::Estimator::Estimator; + using DistributionEstimation< MultivariateDistribution >::Estimator::estimation_type; + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Indices& variables, + const bool& lazy=true) const; }; - - protected: - std::vector< T > _iterations; }; - template struct OptimizationEstimation : OptimizationEstimationImpl + struct STATISKIT_CORE_API CategoricalMultivariateDistributionEstimation : MultivariateDistributionEstimation { - // using __impl::OptimizationEstimation::OptimizationEstimation; - OptimizationEstimation(); - OptimizationEstimation(D const * estimated, typename B::data_type const * data); - OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation); - virtual ~OptimizationEstimation(); - - const T get_iteration(const Index& index) const; - - struct Estimator : OptimizationEstimationImpl::Estimator - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; - }; + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - template struct OptimizationEstimation< T*, D, B> : OptimizationEstimationImpl - { - // using OptimizationEstimationImpl::OptimizationEstimation; - OptimizationEstimation(); - OptimizationEstimation(D const * estimated, typename B::data_type const * data); - OptimizationEstimation(const OptimizationEstimation< T*, D, B>& estimation); - virtual ~OptimizationEstimation(); - - const T* get_iteration(const Index& index) const; - - struct Estimator : OptimizationEstimationImpl::Estimator - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; + struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; }; - struct STATISKIT_CORE_API CategoricalUnivariateDistributionEstimation : UnivariateDistributionEstimation + struct STATISKIT_CORE_API DiscreteMultivariateDistributionEstimation : MultivariateDistributionEstimation { - struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; - }; + struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; }; - typedef LazyEstimation< CategoricalUnivariateDistribution, CategoricalUnivariateDistributionEstimation > CategoricalUnivariateDistributionLazyEstimation; - typedef ActiveEstimation< CategoricalUnivariateDistribution, CategoricalUnivariateDistributionEstimation > CategoricalUnivariateDistributionActiveEstimation; - - typedef Selection< CategoricalUnivariateDistribution, CategoricalUnivariateDistributionEstimation > CategoricalUnivariateDistributionSelection; - typedef CategoricalUnivariateDistributionSelection::CriterionEstimator CategoricalUnivariateDistributionCriterionEstimator; - - struct STATISKIT_CORE_API DiscreteUnivariateDistributionEstimation : UnivariateDistributionEstimation - { struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; }; - - typedef Selection< DiscreteUnivariateDistribution, DiscreteUnivariateDistributionEstimation > DiscreteUnivariateDistributionSelection; - typedef Selection< DiscreteUnivariateDistribution, DiscreteUnivariateDistributionEstimation >::CriterionEstimator DiscreteUnivariateDistributionCriterionEstimator; - - struct STATISKIT_CORE_API ContinuousUnivariateDistributionEstimation : UnivariateDistributionEstimation - { struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; }; + struct STATISKIT_CORE_API ContinuousMultivariateDistributionEstimation : MultivariateDistributionEstimation + { + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - typedef Selection< ContinuousUnivariateDistribution, ContinuousUnivariateDistributionEstimation > ContinuousUnivariateDistributionSelection; - typedef ContinuousUnivariateDistributionSelection::CriterionEstimator ContinuousUnivariateDistributionCriterionEstimator; + struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + }; - struct STATISKIT_CORE_API MultivariateDistributionEstimation + template + class ConditionalDistributionEstimation { - typedef MultivariateData data_type; - typedef MultivariateDistribution estimated_type; - typedef UnivariateDistributionEstimation marginal_type; - typedef MultivariateDistributionEstimation copy_type; + public: + using distribution_type = D; + using response_data_type = typename D::response_data_type; + using explanatory_data_type = typename D::explanatory_data_type; - virtual ~MultivariateDistributionEstimation() = 0; + ConditionalDistributionEstimation(); + ConditionalDistributionEstimation(response_data_type const *response_data, + explanatory_data_type const *explanatory_data, + distribution_type const * distribution); + ConditionalDistributionEstimation(const ConditionalDistributionEstimation< D >& estimation); + virtual ~ConditionalDistributionEstimation(); - virtual estimated_type const * get_estimated() const = 0; + virtual response_data_type const * get_response_data() const; - virtual std::unique_ptr< MultivariateDistributionEstimation > copy() const = 0; - - struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - { - typedef MultivariateDistributionEstimation estimation_type; - typedef UnivariateDistributionEstimation marginal_type; + virtual explanatory_data_type const * get_explanatory_data() const; - virtual ~Estimator() = 0; + virtual distribution_type const * get_distribution() const; - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const bool& lazy=true) const = 0; + virtual std::unique_ptr< ConditionalDistributionEstimation< D > > copy() const; + + class STATISKIT_CORE_API Estimator + { + public: + using estimation_type = ConditionalDistributionEstimation; - virtual std::unique_ptr< Estimator > copy() const = 0; - }; - }; + virtual ~Estimator() = 0; - typedef Selection< MultivariateDistribution, MultivariateDistributionEstimation > MixedMultivariateDistributionSelection; - typedef MixedMultivariateDistributionSelection::CriterionEstimator MixedMultivariateDistributionCriterionEstimator; + virtual std::unique_ptr< Estimator > copy() const = 0; - struct STATISKIT_CORE_API CategoricalMultivariateDistributionEstimation : MultivariateDistributionEstimation - { - typedef CategoricalUnivariateDistributionEstimation marginal_type; + protected: + virtual std::unique_ptr< estimation_type > operator() (response_data_type const * response_data, + explanatory_data_type const * explanatory_data, + const bool& lazy=true) const = 0; + }; - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator - { typedef marginal_type::Estimator marginal_type; }; + protected: + response_data_type const * response_data; + explanatory_data_type const * explanatory_data; + distribution_type const * distribution; }; - typedef Selection< CategoricalMultivariateDistribution, CategoricalMultivariateDistributionEstimation > CategoricalMultivariateDistributionSelection; - typedef CategoricalMultivariateDistributionSelection::CriterionEstimator CategoricalMultivariateDistributionCriterionEstimator; - - struct STATISKIT_CORE_API DiscreteMultivariateDistributionEstimation : MultivariateDistributionEstimation + class STATISKIT_CORE_API UnivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< UnivariateConditionalDistribution > { - typedef DiscreteUnivariateDistributionEstimation marginal_type; - - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + public: + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::ConditionalDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator + { + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::estimation_type; + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Index& response, + const Indices& explanatories, + const bool& lazy=true) const; + }; }; - typedef Selection< DiscreteMultivariateDistribution, DiscreteMultivariateDistributionEstimation > DiscreteMultivariateDistributionSelection; - typedef DiscreteMultivariateDistributionSelection::CriterionEstimator DiscreteMultivariateDistributionCriterionEstimator; - - struct STATISKIT_CORE_API ContinuousMultivariateDistributionEstimation : MultivariateDistributionEstimation + class STATISKIT_CORE_API MultivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< MultivariateConditionalDistribution > { - typedef ContinuousUnivariateDistributionEstimation marginal_type; - - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + public: + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator + { + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::estimation_type; + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Indices& responses, + const Indices& explanatories, + const bool& lazy=true) const; + }; }; - typedef Selection< ContinuousMultivariateDistribution, ContinuousMultivariateDistributionEstimation > ContinuousMultivariateDistributionSelection; - typedef ContinuousMultivariateDistributionSelection::CriterionEstimator ContinuousMultivariateDistributionCriterionEstimator; + // struct STATISKIT_CORE_API UnivariateConditionalDistributionEstimation + // { + // // typedef UnivariateConditionalData data_type; + // typedef ::statiskit::UnivariateConditionalDistribution distribution_type; + // typedef UnivariateConditionalDistributionEstimation copy_type; - struct STATISKIT_CORE_API UnivariateConditionalDistributionEstimation - { - typedef UnivariateConditionalData data_type; - typedef ::statiskit::UnivariateConditionalDistribution estimated_type; - typedef UnivariateConditionalDistributionEstimation copy_type; + // virtual ~UnivariateConditionalDistributionEstimation() = 0; - virtual ~UnivariateConditionalDistributionEstimation() = 0; + // virtual distribution_type const * get_distribution() const = 0; - virtual estimated_type const * get_estimated() const = 0; + // virtual std::unique_ptr< UnivariateConditionalDistributionEstimation > copy() const = 0; - virtual std::unique_ptr< UnivariateConditionalDistributionEstimation > copy() const = 0; + // struct STATISKIT_CORE_API Estimator : public statiskit::Estimator + // { + // typedef UnivariateConditionalDistributionEstimation estimation_type; - struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - { - typedef UnivariateConditionalDistributionEstimation estimation_type; - - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const bool& lazy=true) const = 0; + // virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const Index& response, const Indices& explanatories, const bool& lazy=true) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; - }; - }; + // virtual std::unique_ptr< Estimator > copy() const = 0; + // }; + // }; - struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< CategoricalUnivariateConditionalDistribution, CategoricalUnivariateConditionalDistributionEstimation > CategoricalUnivariateConditionalDistributionSelection; - typedef CategoricalUnivariateConditionalDistributionSelection::CriterionEstimator CategoricalUnivariateConditionalDistributionCriterionEstimator; + // typedef Selection< CategoricalUnivariateConditionalDistribution, CategoricalUnivariateConditionalDistributionEstimation > CategoricalUnivariateConditionalDistributionSelection; + // typedef CategoricalUnivariateConditionalDistributionSelection::CriterionEstimator CategoricalUnivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< DiscreteUnivariateConditionalDistribution, DiscreteUnivariateConditionalDistributionEstimation > DiscreteUnivariateConditionalDistributionSelection; - typedef DiscreteUnivariateConditionalDistributionSelection::CriterionEstimator DiscreteUnivariateConditionalDistributionCriterionEstimator; + // typedef Selection< DiscreteUnivariateConditionalDistribution, DiscreteUnivariateConditionalDistributionEstimation > DiscreteUnivariateConditionalDistributionSelection; + // typedef DiscreteUnivariateConditionalDistributionSelection::CriterionEstimator DiscreteUnivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< ContinuousUnivariateConditionalDistribution, ContinuousUnivariateConditionalDistributionEstimation > ContinuousUnivariateConditionalDistributionSelection; - typedef ContinuousUnivariateConditionalDistributionSelection::CriterionEstimator ContinuousUnivariateConditionalDistributionCriterionEstimator; + // typedef Selection< ContinuousUnivariateConditionalDistribution, ContinuousUnivariateConditionalDistributionEstimation > ContinuousUnivariateConditionalDistributionSelection; + // typedef ContinuousUnivariateConditionalDistributionSelection::CriterionEstimator ContinuousUnivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API MultivariateConditionalDistributionEstimation - { - typedef MultivariateConditionalData data_type; - typedef ::statiskit::MultivariateConditionalDistribution estimated_type; - typedef MultivariateConditionalDistributionEstimation copy_type; + // struct STATISKIT_CORE_API MultivariateConditionalDistributionEstimation + // { + // // typedef MultivariateConditionalData data_type; + // typedef ::statiskit::MultivariateConditionalDistribution distribution_type; + // typedef MultivariateConditionalDistributionEstimation copy_type; - virtual ~MultivariateConditionalDistributionEstimation() = 0; + // virtual ~MultivariateConditionalDistributionEstimation() = 0; - virtual estimated_type const * get_estimated() const = 0; + // virtual distribution_type const * get_distribution() const = 0; - virtual std::unique_ptr< MultivariateConditionalDistributionEstimation > copy() const = 0; + // virtual std::unique_ptr< MultivariateConditionalDistributionEstimation > copy() const = 0; - struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - { - typedef MultivariateConditionalDistributionEstimation estimation_type; + // struct STATISKIT_CORE_API Estimator : public statiskit::Estimator + // { + // typedef MultivariateConditionalDistributionEstimation estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const bool& lazy=true) const = 0; + // virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const Indices& responses, const Indices& explanatories, const bool& lazy=true) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; - }; - }; + // virtual std::unique_ptr< Estimator > copy() const = 0; + // }; + // }; - typedef Selection< MultivariateConditionalDistribution, MultivariateConditionalDistributionEstimation > MixedMultivariateConditionalDistributionSelection; - typedef MixedMultivariateConditionalDistributionSelection::CriterionEstimator MixedMultivariateConditionalDistributionCriterionEstimator; + // typedef Selection< MultivariateConditionalDistribution, MultivariateConditionalDistributionEstimation > MixedMultivariateConditionalDistributionSelection; + // typedef MixedMultivariateConditionalDistributionSelection::CriterionEstimator MixedMultivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API CategoricalMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API CategoricalMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< CategoricalMultivariateConditionalDistribution, CategoricalMultivariateConditionalDistributionEstimation > CategoricalMultivariateConditionalDistributionSelection; - typedef CategoricalMultivariateConditionalDistributionSelection::CriterionEstimator CategoricalMultivariateConditionalDistributionCriterionEstimator; + // typedef Selection< CategoricalMultivariateConditionalDistribution, CategoricalMultivariateConditionalDistributionEstimation > CategoricalMultivariateConditionalDistributionSelection; + // typedef CategoricalMultivariateConditionalDistributionSelection::CriterionEstimator CategoricalMultivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API DiscreteMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API DiscreteMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< DiscreteMultivariateConditionalDistribution, DiscreteMultivariateConditionalDistributionEstimation > DiscreteMultivariateConditionalDistributionSelection; - typedef DiscreteMultivariateConditionalDistributionSelection::CriterionEstimator DiscreteMultivariateConditionalDistributionCriterionEstimator; + // typedef Selection< DiscreteMultivariateConditionalDistribution, DiscreteMultivariateConditionalDistributionEstimation > DiscreteMultivariateConditionalDistributionSelection; + // typedef DiscreteMultivariateConditionalDistributionSelection::CriterionEstimator DiscreteMultivariateConditionalDistributionCriterionEstimator; - struct STATISKIT_CORE_API ContinuousMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - { - struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - {}; - }; + // struct STATISKIT_CORE_API ContinuousMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + // { + // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator + // {}; + // }; - typedef Selection< ContinuousMultivariateConditionalDistribution, ContinuousMultivariateConditionalDistributionEstimation > ContinuousMultivariateConditionalDistributionSelection; - typedef ContinuousMultivariateConditionalDistributionSelection::CriterionEstimator ContinuousMultivariateConditionalDistributionCriterionEstimator; + // typedef Selection< ContinuousMultivariateConditionalDistribution, ContinuousMultivariateConditionalDistributionEstimation > ContinuousMultivariateConditionalDistributionSelection; + // typedef ContinuousMultivariateConditionalDistributionSelection::CriterionEstimator ContinuousMultivariateConditionalDistributionCriterionEstimator; } #ifndef AUTOWIG diff --git a/src/cpp/optimization.h b/src/cpp/optimization.h new file mode 100644 index 00000000..d651f3df --- /dev/null +++ b/src/cpp/optimization.h @@ -0,0 +1,80 @@ + + template class OptimizationEstimationImpl : public ActiveEstimation< D, B > + { + public: + OptimizationEstimationImpl(); + OptimizationEstimationImpl(D const * estimated, typename B::data_type const * data); + OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation); + virtual ~OptimizationEstimationImpl(); + + Index size() const; + + class Estimator : public Optimization< typename B::Estimator > + { + public: + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + }; + + protected: + std::vector< T > _iterations; + }; + + template class SimulatedAnnealingEstimation : public ActiveEstimation< D, B > + { + public: + SimulatedAnnealingEstimation(); + SimulatedAnnealingEstimation(D const * estimated, typename B::data_type const * data); + SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation); + virtual ~SimulatedAnnealingEstimation(); + + Index size() const; + + class Estimator : public SimulatedAnnealing< typename B::Estimator > + { + public: + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + }; + + protected: + std::vector< T > _iterations; + }; + + template struct OptimizationEstimation : OptimizationEstimationImpl + { + // using __impl::OptimizationEstimation::OptimizationEstimation; + OptimizationEstimation(); + OptimizationEstimation(D const * estimated, typename B::data_type const * data); + OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation); + virtual ~OptimizationEstimation(); + + const T get_iteration(const Index& index) const; + + struct Estimator : OptimizationEstimationImpl::Estimator + { + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + }; + }; + + template struct OptimizationEstimation< T*, D, B> : OptimizationEstimationImpl + { + // using OptimizationEstimationImpl::OptimizationEstimation; + OptimizationEstimation(); + OptimizationEstimation(D const * estimated, typename B::data_type const * data); + OptimizationEstimation(const OptimizationEstimation< T*, D, B>& estimation); + virtual ~OptimizationEstimation(); + + const T* get_iteration(const Index& index) const; + + struct Estimator : OptimizationEstimationImpl::Estimator + { + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + }; + }; diff --git a/src/cpp/selection.h b/src/cpp/selection.h new file mode 100644 index 00000000..8132bef7 --- /dev/null +++ b/src/cpp/selection.h @@ -0,0 +1,68 @@ + template class Selection : public B + { + public: + Selection(); + Selection(typename B::data_type const * data); + Selection(D const * estimated, typename B::data_type const * data); + Selection(const Selection< D, B >& estimation); + virtual ~Selection(); + + Index size() const; + + B const * get_estimation(const Index& index) const; + + const double& get_score(const Index& index) const; + + class Estimator : public B::Estimator + { + public: + virtual ~Estimator(); + + virtual std::unique_ptr< typename B::Estimator::estimation_type > operator() (typename B::data_type const & data, const bool& lazy=true) const; + + Index size() const; + + typename B::Estimator * get_estimator(const Index& index); + void set_estimator(const Index& index, const typename B::Estimator& estimator); + + void add_estimator(const typename B::Estimator& estimator); + void remove_estimator(const Index& index); + + protected: + std::vector< typename B::Estimator * > _estimators; + + virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const = 0; + + void init(); + void init(const Estimator& estimator); + }; + + class CriterionEstimator : public PolymorphicCopy< typename B::Estimator::estimation_type::Estimator, CriterionEstimator, Estimator > + { + public: + enum criterion_type { + AIC, + AICc, + BIC, + HQIC + }; + + CriterionEstimator(); + CriterionEstimator(const CriterionEstimator& estimator); + virtual ~CriterionEstimator(); + + const criterion_type& get_criterion() const; + void set_criterion(const criterion_type& criterion); + + protected: + criterion_type _criterion; + + virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const; + };/**/ + + protected: + std::vector< B * > _estimations; + std::vector< double > _scores; + + void finalize(); + }; From 3757259b655ac5cf01c7549015c5bf40565b0368 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Mon, 8 Jul 2019 10:27:13 +0200 Subject: [PATCH 10/16] Style guide for base.* --- src/cpp/base.cpp | 89 ++++++---------------- src/cpp/base.h | 98 +++--------------------- src/cpp/base.hpp | 190 ++++++++--------------------------------------- 3 files changed, 67 insertions(+), 310 deletions(-) diff --git a/src/cpp/base.cpp b/src/cpp/base.cpp index 773961c6..d1d6b0ce 100644 --- a/src/cpp/base.cpp +++ b/src/cpp/base.cpp @@ -10,17 +10,19 @@ namespace statiskit namespace __impl { double reldiff(const double& prev, const double& curr) - { return fabs(curr-prev) / fabs(prev); } + { + return fabs(curr-prev) / fabs(prev); + } double reldiff(const Eigen::VectorXd& prev, const Eigen::VectorXd& curr) { double norm = 0; - for(Index i = 0, max_index = prev.size(); i < max_index; ++i) - { - if(prev[i] == 0) - { norm += pow(curr[i], 2); } - else - { norm += pow((prev[i]-curr[i])/prev[i], 2); } + for (Index i = 0, max_index = prev.size(); i < max_index; ++i) { + if (prev[i] == 0) { + norm += pow(curr[i], 2); + } else { + norm += pow((prev[i]-curr[i])/prev[i], 2); + } } return sqrt(norm); } @@ -28,14 +30,13 @@ namespace statiskit double reldiff(const Eigen::MatrixXd& prev, const Eigen::MatrixXd& curr) { double norm = 0; - for(Index i = 0, max_index = prev.rows(); i < max_index; ++i) - { - for(Index j = 0, max_index = prev.cols(); j < max_index; ++j) - { - if(prev(i,j) == 0) - { norm += pow(curr(i,j), 2); } - else - { norm += pow((prev(i,j)-curr(i,j))/prev(i,j), 2); } + for (Index i = 0, max_index = prev.rows(); i < max_index; ++i) { + for (Index j = 0, max_index = prev.cols(); j < max_index; ++j) { + if (prev(i,j) == 0) { + norm += pow(curr(i,j), 2); + } else { + norm += pow((prev(i,j)-curr(i,j))/prev(i,j), 2); + } } } return sqrt(norm); @@ -44,43 +45,20 @@ namespace statiskit boost::mt19937 _random_generator = boost::mt19937(0); boost::mt19937& get_random_generator() - { return _random_generator; } - - std::unordered_map< uintptr_t, unsigned int > iterations = std::unordered_map< uintptr_t, unsigned int >(); - - unsigned int get_maxits(const uintptr_t& ptr, const unsigned int& maxits) - { - unsigned int _maxits; - std::unordered_map< uintptr_t, unsigned int >::iterator it = iterations.find(ptr); - if(it == iterations.end()) - { _maxits = maxits; } - else - { _maxits = it->second; } - return _maxits; - } - - void set_maxits(const uintptr_t& ptr, const unsigned int& maxits) - { - std::unordered_map< uintptr_t, unsigned int >::iterator it = iterations.find(ptr); - if(it == iterations.end()) - { iterations[ptr] = maxits; } - else - { it->second = maxits; } - } - - void unset_maxits(const uintptr_t& ptr) { - std::unordered_map< uintptr_t, unsigned int >::iterator it = iterations.find(ptr); - if(it != iterations.end()) - { iterations.erase(it); } + return _random_generator; } } void set_seed() - { __impl::_random_generator.seed(); } + { + __impl::_random_generator.seed(); + } void set_seed(const Index& seed) - { __impl::_random_generator.seed(seed); } + { + __impl::_random_generator.seed(seed); + } not_implemented_error::not_implemented_error(const std::string& function, const std::string& file, const unsigned int& line) : std::runtime_error("'" + function + "' in file '" + file + "' at line " + __impl::to_string(line) + " is not implemented") {} @@ -96,25 +74,4 @@ namespace statiskit nullptr_error::nullptr_error(const std::string& parameter) : parameter_error(parameter, "cannot be set to nullptr") {} - - Schedule::~Schedule() - {} - - ExponentialSchedule::ExponentialSchedule(const double& theta) - { _theta = theta; } - - ExponentialSchedule::ExponentialSchedule(const ExponentialSchedule& schedule) - { _theta = schedule._theta; } - - ExponentialSchedule::~ExponentialSchedule() - {} - - double ExponentialSchedule::operator() (const double& stage) const - { return exp(- stage / _theta); } - - const double& ExponentialSchedule::get_theta() const - { return _theta; } - - void ExponentialSchedule::set_theta(const double& theta) - { _theta = theta; } } \ No newline at end of file diff --git a/src/cpp/base.h b/src/cpp/base.h index 9bf46534..51a19988 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -1,19 +1,20 @@ #pragma once -#include -#include - -#include -#include -#include -#include -#include +#include #include -#include #include +#include #include +#include #include +#include +#include +#include + +#include +#include + #if defined WIN32 || defined _WIN32 || defined __CYGWIN__ #define __PRETTY_FUNCTION__ __FUNCSIG__ #ifdef LIBSTATISKIT_CORE @@ -128,83 +129,6 @@ namespace statiskit struct STATISKIT_CORE_API duplicated_value_error : parameter_error { template duplicated_value_error(const std::string& parameter, const T& value); }; - - template - class Optimization : public T - { - public: - Optimization(); - Optimization(const Optimization< T >& optimization); - virtual ~Optimization(); - - const double& get_mindiff() const; - void set_mindiff(const double& mindiff); - - unsigned int get_minits() const; - void set_minits(const unsigned int& maxits); - - unsigned int get_maxits() const; - void set_maxits(const unsigned int& maxits); - - protected: - double _mindiff; - unsigned int _minits; - unsigned int _maxits; - - bool run(const unsigned int& its, const double& delta) const; - }; - - struct STATISKIT_CORE_API Schedule - { - virtual ~Schedule() = 0; - - virtual double operator() (const double& stage) const = 0; - - virtual std::unique_ptr< Schedule > copy() const = 0; - }; - - class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy< Schedule, ExponentialSchedule > - { - public: - ExponentialSchedule(const double& theta); - ExponentialSchedule(const ExponentialSchedule& schedule); - virtual ~ExponentialSchedule(); - - virtual double operator() (const double& stage) const; - - const double& get_theta() const; - void set_theta(const double& theta); - - protected: - double _theta; - }; - - template - class SimulatedAnnealing : public T - { - public: - SimulatedAnnealing(); - SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing); - virtual ~SimulatedAnnealing(); - - const Schedule* get_schedule() const; - void set_schedule(const Schedule& schedule); - - unsigned int get_minits() const; - void set_minits(const unsigned int& maxits); - - unsigned int get_maxits() const; - void set_maxits(const unsigned int& maxits); - - protected: - Schedule* _schedule; - unsigned int _minits; - unsigned int _maxits; - - bool accept(const unsigned int& its, const double& delta) const; - }; } -#ifndef AUTOWIG -#include "base.hpp" -#endif \ No newline at end of file +#include "base.hpp" \ No newline at end of file diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index b964d86c..cbbc83ac 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -1,7 +1,8 @@ +#ifndef AUTOWIG #pragma once -#ifndef AUTOWIG #include + #include namespace statiskit @@ -16,7 +17,9 @@ namespace statiskit template std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy() const - { return std::make_unique< D >(static_cast< const D& >(*this)); } + { + return std::make_unique< D >(static_cast< const D& >(*this)); + } namespace __impl { @@ -24,10 +27,11 @@ namespace statiskit std::string to_string(const T& t, const unsigned int& width) { std::ostringstream oss; - if(width == 0) - { oss << t; } - else - { oss << std::setfill('0') << std::setw(width) << t; } + if (width == 0) { + oss << t; + } else { + oss << std::setfill('0') << std::setw(width) << t; + } return oss.str(); } @@ -35,10 +39,10 @@ namespace statiskit std::string to_string(const std::set< T >& s, const unsigned int& width) { std::string str = "{"; - for(typename std::set< T >::const_iterator it = s.begin(), it_end = s.end(); it != it_end; ++it) - { - if(it != s.begin()) - { str += ", "; } + for (typename std::set< T >::const_iterator it = s.begin(), it_end = s.end(); it != it_end; ++it) { + if (it != s.begin()) { + str += ", "; + } str += to_string(*it, width); } str += "}"; @@ -49,34 +53,33 @@ namespace statiskit T normalize(const T& input, const bool& logarithm) { T output = T(input.begin(), input.end()); - if(logarithm) - { + if (logarithm) { typename T::const_iterator it_m = std::max_element(input.begin(), input.end()); - for(typename T::iterator it_c = output.begin(), it_e = output.end(); it_c != it_e; ++it_c) - { + for (typename T::iterator it_c = output.begin(), it_e = output.end(); it_c != it_e; ++it_c) { *it_c -= *it_m; *it_c = exp(*it_c); } } typename T::value_type sum = 0.; - for(typename T::iterator it = output.begin(), it_end = output.end(); it != it_end; ++it) - { - if(*it < 0) - { throw std::exception(); } + for (typename T::iterator it = output.begin(), it_end = output.end(); it != it_end; ++it) { + if (*it < 0) { + throw std::runtime_error("Encountered a negative value during normalization"); + } sum += *it; } - for(typename T::iterator it = output.begin(), it_end = output.end(); it != it_end; ++it) - { *it /= sum; } + for (typename T::iterator it = output.begin(), it_end = output.end(); it != it_end; ++it) { + *it /= sum; + } return output; } template void subset(InputIterator input_first, InputIterator input_last, OutputIterator result, SubsetIterator keep_first, SubsetIterator keep_last) { InputIterator input_current = input_first; - while(input_first != input_last && keep_first != keep_last) - { - while(distance(input_first, input_current) != *keep_first) - { ++input_current; } + while (input_first != input_last && keep_first != keep_last) { + while (distance(input_first, input_current) != *keep_first) { + ++input_current; + } *result = *input_current; ++result; ++input_current; @@ -87,16 +90,18 @@ namespace statiskit template void merge(std::unordered_set< T >& lhs, const std::unordered_set< T >& rhs) { - for(typename std::unordered_set< T >::const_iterator it = rhs.cbegin(), it_end = rhs.cend(); it != it_end; ++it) - { lhs.insert(*it); } + for (typename std::unordered_set< T >::const_iterator it = rhs.cbegin(), it_end = rhs.cend(); it != it_end; ++it) { + lhs.insert(*it); + } } template std::set< U > keys(const std::map< U, V >& map) { std::set< U > set; - for(typename std::map< U, V >::const_iterator it = map.cbegin(), it_end = map.cend(); it != it_end; ++it) - { set.insert(it->first); } + for (typename std::map< U, V >::const_iterator it = map.cbegin(), it_end = map.cend(); it != it_end; ++it) { + set.insert(it->first); + } return set; } @@ -121,135 +126,6 @@ namespace statiskit template duplicated_value_error::duplicated_value_error(const std::string& parameter, const T& value) : parameter_error(parameter, "contains multiples " + __impl::to_string(value)) {} - - template - Optimization< T >::Optimization() - { - _mindiff = 1e-5; - _minits = 1; - _maxits = 10e6; - } - - template - Optimization< T >::Optimization(const Optimization< T >& optimization) - { - _mindiff = optimization._mindiff; - _minits = optimization._minits; - _maxits = optimization._maxits; - } - - template - Optimization< T >::~Optimization() - {} - - template - const double& Optimization< T >::get_mindiff() const - { return _mindiff; } - - template - void Optimization< T >::set_mindiff(const double& mindiff) - { _mindiff = mindiff; } - - template - unsigned int Optimization< T >::get_minits() const - { return _minits; } - - template - void Optimization< T >::set_minits(const unsigned int& minits) - { _minits = minits; } - - template - unsigned int Optimization< T >::get_maxits() const - { return _maxits; } - - template - void Optimization< T >::set_maxits(const unsigned int& maxits) - { _maxits = maxits; } - - template - bool Optimization< T >::run(const unsigned int& its, const double& delta) const - { - bool status = true; - if(its > _minits) - { - if(!boost::math::isfinite(delta) || its > __impl::get_maxits((uintptr_t)(this), _maxits)) - { status = false; } - else if(delta < _mindiff) - { status = false; } - } - return status; - } - - template - SimulatedAnnealing< T >::SimulatedAnnealing() - { - _schedule = new ExponentialSchedule(1.); - _minits = 1; - _maxits = 10e6; - } - - template - SimulatedAnnealing< T >::SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing) - { - if(simulated_annealing._schedule) - { _schedule = simulated_annealing._schedule->copy().release(); } - else - { _schedule = nullptr; } - _minits = simulated_annealing._minits; - _maxits = simulated_annealing._maxits; - } - - template - SimulatedAnnealing< T >::~SimulatedAnnealing() - { - if(_schedule) - { - delete _schedule; - _schedule = nullptr; - } - } - - template - const Schedule* SimulatedAnnealing< T >::get_schedule() const - { return _schedule; } - - template - void SimulatedAnnealing< T >::set_schedule(const Schedule& schedule) - { _schedule = schedule.copy().release(); } - - template - unsigned int SimulatedAnnealing< T >::get_minits() const - { return _minits; } - - template - void SimulatedAnnealing< T >::set_minits(const unsigned int& minits) - { _minits = minits; } - - template - unsigned int SimulatedAnnealing< T >::get_maxits() const - { return _maxits; } - - template - void SimulatedAnnealing< T >::set_maxits(const unsigned int& maxits) - { _maxits = maxits; } - - template - bool SimulatedAnnealing< T >::accept(const unsigned int& its, const double& delta) const - { - bool status = true; - if(its > _minits && delta < 0) - { - double maxits = __impl::get_maxits((uintptr_t)(this), _maxits); - if(its > maxits) - { status = false; } - else - { - double u = boost::uniform_01(__impl::get_random_generator())(); - status = u < exp(- delta / (*_schedule)((its - _minits) / maxits)); - } - } - return status; - } } #endif \ No newline at end of file From 4d17f1994b19956ca023ecde418cc7e915a17f16 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Fri, 12 Jul 2019 15:43:06 +0200 Subject: [PATCH 11/16] Update coding style --- src/cpp/base.cpp | 1 + src/cpp/data.h | 10 +- src/cpp/data.hpp | 3 +- src/cpp/distribution.cpp | 2772 ++++++++++++++++++++--------------- src/cpp/distribution.h | 180 +-- src/cpp/distribution.hpp | 536 ++++--- src/cpp/estimation.cpp | 84 +- src/cpp/estimation.h | 181 +-- src/cpp/estimation.hpp | 523 ++----- src/cpp/estimator.cpp | 46 + src/cpp/estimator.h | 10 +- src/cpp/estimator.hpp | 4 +- src/cpp/event.cpp | 16 + src/cpp/event.h | 13 +- src/cpp/event.hpp | 4 +- src/cpp/indicator.h | 7 +- src/cpp/optimization.cpp | 31 + src/cpp/optimization.h | 75 + src/cpp/optimization.hpp | 277 ++++ src/cpp/sample_space.h | 20 +- src/cpp/selection.h | 2 + src/cpp/selection.hpp | 241 +++ src/cpp/singular.h | 10 +- src/cpp/slope_heuristic.h | 16 +- src/cpp/slope_heuristic.hpp | 4 +- 25 files changed, 2761 insertions(+), 2305 deletions(-) create mode 100644 src/cpp/optimization.cpp create mode 100644 src/cpp/optimization.hpp create mode 100644 src/cpp/selection.hpp diff --git a/src/cpp/base.cpp b/src/cpp/base.cpp index d1d6b0ce..81455907 100644 --- a/src/cpp/base.cpp +++ b/src/cpp/base.cpp @@ -4,6 +4,7 @@ #include #include "base.h" +#include "sample_space.h" namespace statiskit { diff --git a/src/cpp/data.h b/src/cpp/data.h index 9eb1ee03..54772e61 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -1,11 +1,11 @@ #pragma once -#include "base.h" -#include "sample_space.h" - #include #include +#include "base.h" +#include "sample_space.h" + namespace statiskit { class WeightedUnivariateData; @@ -378,6 +378,4 @@ namespace statiskit // using MultivariatePairedData = PairedData< UnivariateData >; } -#ifndef AUTOWIG -#include "data.hpp" -#endif \ No newline at end of file +#include "data.hpp" \ No newline at end of file diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index 0b56245a..7709bda6 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -1,6 +1,5 @@ -#pragma once - #ifndef AUTOWIG +#pragma once namespace statiskit { diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index 8f77897d..e05311ae 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -10,11 +10,10 @@ namespace statiskit { double llh = 0.; std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid() && boost::math::isfinite(llh)) - { - double weight = generator->get_weight(); - if(weight > 0.) - { llh += weight * probability(generator->get_event(), true); } + while (generator->is_valid() && boost::math::isfinite(llh)) { double weight = generator->get_weight(); + if (weight > 0.) { + llh += weight * this->probability(generator->get_event(), true); + } ++(*generator); } return llh; @@ -23,48 +22,51 @@ namespace statiskit double CategoricalUnivariateDistribution::probability(const UnivariateEvent* event, const bool& logarithm) const { double p; - if(event) - { - if(event->get_outcome() == outcome_type::CATEGORICAL) - { - switch(event->get_censoring()) - { + if (event) { + if (event->get_outcome() == outcome_type::CATEGORICAL) { + switch (event->get_censoring()) { case censoring_type::NONE: { const std::string& value = static_cast< const CategoricalElementaryEvent* >(event)->get_value(); - if(logarithm) - { p = ldf(value); } - else - { p = pdf(value); } + if (logarithm) { + p = this->ldf(value); + } else { + p = this->pdf(value); + } } break; case censoring_type::CENSORED: { const std::vector< std::string >& values = static_cast< const CategoricalCensoredEvent* >(event)->get_values(); p = 0.; - for(std::vector< std::string >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) - { p += pdf(*it); } - if(logarithm) - { p = log(p); } + for (std::vector< std::string >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) { + p += this->pdf(*it); + } + if (logarithm) { + p = log(p); + } } break; default: - if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } - break; + { + if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; + } + break; + } } + } else if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; } - else if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } - } - else if(logarithm) - { p = 0; } - else - { p = 1.; } + } else if (logarithm) { + p = 0; + } else { + p = 1.; + } return p; } @@ -73,64 +75,51 @@ namespace statiskit BinaryDistribution::BinaryDistribution(const std::string& value, const std::string& reference_value) { - if(value != reference_value) - { - _value = value; - _reference_value = reference_value; - _pi = 0.5; - } - else - { throw "value and refrence_value must be different"; } //TODO error + if (value != reference_value) { + this->value = value; + this->reference_value = reference_value; + this->pi = 0.5; + } else { + throw std::runtime_error("value and refrence_value must be different"); + } //TODO error } - // BinaryDistribution::BinaryDistribution(const std::set< std::string >& values) - // { - // if(values.size() == 2) - // { - // _value = *(values.begin()); - // _reference_value = *(values.end()); - // } - // else - // { throw size_error("values", values.size(), 2); } - // } - BinaryDistribution::BinaryDistribution(const std::string& value, const std::string& reference_value, const double& pi) : BinaryDistribution(value, reference_value) { set_pi(pi); } - // BinaryDistribution::BinaryDistribution(const std::set< std::string >& values, const double& pi) : BinaryDistribution(values) - // { set_pi(pi); } - BinaryDistribution::BinaryDistribution(const BinaryDistribution& binary) { - _value = binary._value; - _reference_value = binary._reference_value; - _pi = binary._pi; + this->value = binary.value; + this->reference_value = binary.reference_value; + this->pi = binary.pi; } unsigned int BinaryDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } double BinaryDistribution::ldf(const std::string& value) const - { return log(pdf(value)); } + { return log(this->pdf(value)); } double BinaryDistribution::pdf(const std::string& value) const { - if(value == _value) - { return _pi; } - else if(value == _reference_value) - { return 1-_pi; } - else - { throw in_set_error("value", value, get_values()); } + if (value == this->value) { + return this->pi; + } else if (value == this->reference_value) { + return 1 - this->pi; + } else { + throw in_set_error("value", value, this->get_values()); + } } double BinaryDistribution::pdf(const int& position) const { - if(position == 0) - { return _pi; } - else if(position == 1) - { return 1-_pi; } - else - { + if (position == 0) { + return this->pi; + } else if (position == 1) { + return 1 - this->pi; + } else { std::set< int > positions; positions.insert(0); positions.insert(1); @@ -141,100 +130,107 @@ namespace statiskit std::unique_ptr< UnivariateEvent > BinaryDistribution::simulate() const { double sp = boost::uniform_01(__impl::get_random_generator())(); - if(sp < _pi) - { return std::make_unique< CategoricalElementaryEvent >(_value); } - else - { return std::make_unique< CategoricalElementaryEvent >(_reference_value); } + if (sp < this->pi) { + return std::make_unique< CategoricalElementaryEvent >(this->value); + } else { + return std::make_unique< CategoricalElementaryEvent >(this->reference_value); + } } std::set< std::string > BinaryDistribution::get_values() const { std::set< std::string > values; - values.insert(_value); - values.insert(_reference_value); + values.insert(this->value); + values.insert(this->reference_value); return values; } double BinaryDistribution::get_pi() const - { return _pi; } + { + return this->pi; + } void BinaryDistribution::set_pi(const double& pi) { - if(pi >= 0 && pi <= 1) - { _pi = pi; } - else - { throw interval_error("pi", pi, 0, 1, std::make_pair(false, false)); } + if (pi >= 0 && pi <= 1) { + this->pi = pi; + } else { + throw interval_error("pi", pi, 0, 1, std::make_pair(false, false)); + } } NominalDistribution::NominalDistribution(const std::set< std::string >& values) - { init(values); } + { + this->init(values); + } NominalDistribution::NominalDistribution(const std::set< std::string >& values, const Eigen::VectorXd& pi) - { init(values, pi); } + { + this->init(values, pi); + } NominalDistribution::NominalDistribution(const NominalDistribution& nominal) - { init(nominal); } + { + this->init(nominal); + } double NominalDistribution::pdf(const int& position) const - { return _pi[position]; } + { + return this->pi[position]; + } OrdinalDistribution::OrdinalDistribution(const std::vector< std::string >& values) { - init(std::set< std::string >(values.cbegin(), values.cend())); - _rank = std::vector< Index >(_values.size()); - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) - { _rank[distance(_values.begin(), _values.find(values[size]))] = size; } + this->init(std::set< std::string >(values.cbegin(), values.cend())); + this->rank = std::vector< Index >(this->values.size()); + for (Index size = 0, max_size = this->values.size(); size < max_size; ++size) { + this->rank[distance(this->values.begin(), this->values.find(values[size]))] = size; + } } OrdinalDistribution::OrdinalDistribution(const std::vector< std::string >& values, const Eigen::VectorXd& pi) { - init(std::set< std::string >(values.cbegin(), values.cend()), pi); - _rank = std::vector< Index >(_values.size()); - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) - { _rank[distance(_values.begin(), _values.find(values[size]))] = size; } + this->init(std::set< std::string >(values.cbegin(), values.cend()), pi); + this->rank = std::vector< Index >(this->values.size()); + for (Index size = 0, max_size = this->values.size(); size < max_size; ++size) { + this->rank[distance(this->values.begin(), this->values.find(values[size]))] = size; + } } OrdinalDistribution::OrdinalDistribution(const OrdinalDistribution& ordinal) { - init(ordinal); - _rank = ordinal._rank; + this->init(ordinal); + this->rank = ordinal.rank; } double OrdinalDistribution::pdf(const std::string& value) const { double p; - std::set< std::string >::const_iterator it = _values.find(value); - if(it == _values.end()) - { p = 0.; } - else - { p = _pi[distance(_values.cbegin(), it)]; } + std::set< std::string >::const_iterator it = this->values.find(value); + if (it == this->values.end()) { + p = 0.; + } else { + p = this->pi[distance(this->values.cbegin(), it)]; + } return p; } double OrdinalDistribution::pdf(const int& position) const - { return _pi[_rank[position]]; } + { + return this->pi[this->rank[position]]; + } double OrdinalDistribution::cdf(const std::string& value) const { - // double p = 0.; - // std::set< std::string >::const_iterator it = _values.find(value); - // if(it != _values.cend()) - // { - // for(Index size = 0, max_size = _rank[distance(_values.cbegin(), it)]; size <= max_size; ++size) - // { p += _pi[size]; } - // } - // return p; - - Index rank_value = _rank[distance(_values.cbegin(), _values.find(value))]; - if(rank_value == (_rank.size()-1)) - { return 1; } - else - { + Index rank_value = this->rank[distance(this->values.cbegin(), this->values.find(value))]; + if (rank_value == (this->rank.size()-1)) { + return 1; + } else { double p = 0.; - for(Index i = 0; i < _rank.size(); ++i) - { - if(_rank[i] <= rank_value) - { p += _pi[i]; } + for (Index i = 0; i < this->rank.size(); ++i) { + if (this->rank[i] <= rank_value) { + p += this->pi[i]; + } } return p; } @@ -242,99 +238,109 @@ namespace statiskit std::string OrdinalDistribution::quantile(const double& p) const { - std::vector< std::string > ordered = get_ordered_values(); + std::vector< std::string > ordered = this->get_ordered_values(); Index size = 0, max_size = ordered.size() - 1; - double _p = _pi[size]; - while(_p < p && size < max_size) - { + double cp = this->pi[size]; + while (cp < p && size < max_size) { ++size; - _p += _pi[size]; + cp += this->pi[size]; + } + if (size == max_size) { + --size; } - if(size == max_size) - { --size; } return ordered[size]; } const std::vector< Index >& OrdinalDistribution::get_rank() const - { return _rank; } + { + return this->rank; + } void OrdinalDistribution::set_rank(const std::vector< Index >& rank) { - if(rank.size() != _values.size()) - { throw size_error("rank", rank.size(), _values.size()); } + if (rank.size() != this->values.size()) { + throw size_error("rank", rank.size(), this->values.size()); + } Indices order = Indices(); - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) - { order.insert(order.end(), size); } - for(Index size = 0, max_size = _values.size(); size < max_size; ++size) - { - if(rank[size] >= _values.size()) - { throw interval_error("rank", rank[size], 0, _values.size(), std::make_pair(false, true)); } + for (Index size = 0, max_size = this->values.size(); size < max_size; ++size) { + order.insert(order.end(), size); + } + for (Index size = 0, max_size = this->values.size(); size < max_size; ++size) { + if (rank[size] >= this->values.size()) { + throw interval_error("rank", rank[size], 0, this->values.size(), std::make_pair(false, true)); + } Indices::iterator it = order.find(rank[size]); - if(it == order.end()) - { throw duplicated_value_error("rank", rank[size]); } + if (it == order.end()){ + throw duplicated_value_error("rank", rank[size]); + } order.erase(it); } - _rank = rank; + this->rank = rank; } std::vector< std::string > OrdinalDistribution::get_ordered_values() const { - std::vector< std::string > order(_values.size()); - for(std::set< std::string >::const_iterator it = _values.cbegin(), it_end = _values.cend(); it != it_end; ++it) - { order[_rank[distance(_values.cbegin(), it)]] = *it; } + std::vector< std::string > order(this->values.size()); + for (std::set< std::string >::const_iterator it = this->values.cbegin(), it_end = this->values.cend(); it != it_end; ++it) { + order[this->rank[distance(this->values.cbegin(), it)]] = *it; + } return order; } void OrdinalDistribution::set_ordered_values(const std::vector< std::string >& ordered_values) { std::set< std::string > values(ordered_values.cbegin(), ordered_values.cend()); - if(values != _values) - { throw parameter_error("ordered_values","must contain the same string as in values parameter"); } - for(Index j=0; jvalues) { + throw parameter_error("ordered_values","must contain the same string as in values parameter"); + } + for (Index i = 0; i < ordered_values.size(); ++i) { + this->rank[distance(this->values.cbegin(), this->values.find(ordered_values[i]))] = i; + } } Eigen::VectorXd OrdinalDistribution::get_ordered_pi() const { - Eigen::VectorXd ordered_pi(_pi.rows()); - for(std::set< std::string >::const_iterator it = _values.cbegin(), it_end = _values.cend(); it != it_end; ++it) - { ordered_pi[_rank[distance(_values.cbegin(), it)]] = pdf(*it); } + Eigen::VectorXd ordered_pi(this->pi.rows()); + for (std::set< std::string >::const_iterator it = this->values.cbegin(), it_end = this->values.cend(); it != it_end; ++it) { + ordered_pi[this->rank[distance(this->values.cbegin(), it)]] = pdf(*it); + } return ordered_pi; } void OrdinalDistribution::set_ordered_pi(const Eigen::VectorXd& ordered_pi) { - Eigen::VectorXd _ordered_pi(_pi.rows()); - if(ordered_pi.rows() == _values.size() - 1) - { - Index j = 0; - while(j < ordered_pi.rows() && ordered_pi[j] >= 0.) - { ++j; } - if(j < ordered_pi.rows()) - { throw parameter_error("ordered_pi", "contains negative values"); } + if (ordered_pi.rows() == this->values.size() - 1) { + Index index = 0, max_index = this->pi.size() - 1; + while (index < max_index && pi[index] >= 0.) { + ++index; + } + if (index < max_index) { + throw parameter_error("ordered_pi", "contains negative values"); + } + double sum = pi.sum(); + if (sum < 1) { + for (index = 0; index < max_index; ++index) { + this->pi[index] = ordered_pi[this->rank[index]]; + } + this->pi[max_index + 1] = 1 - sum; + } else { + throw parameter_error("ordered_pi", "sum superior to 1.0"); + } + } else if (ordered_pi.rows() == this->values.size()) { + Index index = 0, max_index = ordered_pi.rows(); + while (index < max_index && ordered_pi[index] >= 0.) { + ++index; + } + if (index < max_index) { + throw parameter_error("ordered_pi", "contains negative values"); + } double sum = ordered_pi.sum(); - if(sum < 1) - { - _ordered_pi.segment(0, _values.size() - 1) = ordered_pi; - _ordered_pi[_values.size()-1] = 1 - sum; + for (index = 0; index < max_index; ++index) { + this->pi[index] = ordered_pi[this->rank[index]] / sum; } - else - { throw parameter_error("ordered_pi", "last category values"); } - } - else if(ordered_pi.rows() == _values.size()) - { - Index j = 0; - while(j < ordered_pi.rows() && ordered_pi[j] >= 0.) - { ++j; } - if(j < ordered_pi.rows()) - { throw parameter_error("ordered_pi", "contains negative values"); } - _ordered_pi = ordered_pi / ordered_pi.sum(); - } - else - { throw parameter_error("ordered_pi", "number of parameters"); } - - for(Index j=0; j<_pi.size(); ++j) - { _pi[j] = _ordered_pi[_rank[j]]; } + } else { + throw parameter_error("ordered_pi", "number of dimension"); + } } HierarchicalDistribution::HierarchicalDistribution() @@ -342,516 +348,578 @@ namespace statiskit HierarchicalDistribution::HierarchicalDistribution(const HierarchicalSampleSpace& hss) { - for(HierarchicalSampleSpace::const_iterator it = hss.cbegin(), it_end = hss.cend(); it != it_end; ++it) - { - switch(it->second->get_ordering()) - { + for (HierarchicalSampleSpace::const_iterator it = hss.cbegin(), it_end = hss.cend(); it != it_end; ++it) { + switch (it->second->get_ordering()) { case NONE: - _tree_distribution[it->first] = new NominalDistribution(it->second->get_values()); + this->tree_distribution[it->first] = new NominalDistribution(it->second->get_values()); break; case TOTAL: - _tree_distribution[it->first] = new OrdinalDistribution(static_cast< OrdinalSampleSpace* >(it->second.get())->get_ordered()); + this->tree_distribution[it->first] = new OrdinalDistribution(static_cast< OrdinalSampleSpace* >(it->second.get())->get_ordered()); break; case PARTIAL: - _tree_distribution[it->first] = new HierarchicalDistribution(*(static_cast< HierarchicalSampleSpace* >(it->second.get()))); + this->tree_distribution[it->first] = new HierarchicalDistribution(*(static_cast< HierarchicalSampleSpace* >(it->second.get()))); break; } - // for(std::set< std::string >::const_iterator it2 = it->second->get_values().cbegin(), it2_end = it->second->get_values().cend(); it2 != it2_end; ++it2) - // { _parents[*it2] = it->first; } } - _values = hss.get_values(); - _parents = hss.get_parents(); + this->values = hss.get_values(); + this->parents = hss.get_parents(); } HierarchicalDistribution::HierarchicalDistribution(const HierarchicalDistribution& hd) - { _tree_distribution = hd._tree_distribution; } + { + for (std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it = hd.tree_distribution.cbegin(), it_end = hd.tree_distribution.cend(); it != it_end; ++it) { + this->tree_distribution[it->first] = static_cast< CategoricalUnivariateDistribution* >(it->second->copy().release()); + } + this->values = hd.values; + this->parents = hd.parents; + } HierarchicalDistribution::~HierarchicalDistribution() { - std::map< std::string, CategoricalUnivariateDistribution* >::iterator it, it_end = _tree_distribution.end(); - for(it = _tree_distribution.begin(); it != it_end; ++it) - { - if(it->second) - { + for (std::map< std::string, CategoricalUnivariateDistribution* >::iterator it = this->tree_distribution.begin(), it_end = this->tree_distribution.end(); it != it_end; ++it) { + if (it->second) { delete it->second; it->second = nullptr; } - } + } + this->tree_distribution.clear(); } unsigned int HierarchicalDistribution::get_nb_parameters() const { unsigned int nb_parameters = 0; - for(std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it = _tree_distribution.cbegin(), it_end = _tree_distribution.cend(); it != it_end; ++it) - { nb_parameters += it->second->get_nb_parameters(); } + for (std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it = this->tree_distribution.cbegin(), it_end = this->tree_distribution.cend(); it != it_end; ++it) { + nb_parameters += it->second->get_nb_parameters(); + } return nb_parameters; } std::unique_ptr< UnivariateEvent > HierarchicalDistribution::simulate() const { - std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = _tree_distribution.find(""); - std::set< std::string >::const_iterator it_leave; + std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = this->tree_distribution.find(""); std::string value; - if(it_dist != _tree_distribution.cend()) - { + if (it_dist != this->tree_distribution.cend()) { value = (static_cast< CategoricalElementaryEvent* >((it_dist->second->simulate()).get()))->get_value(); - it_leave = _values.find(value); - while(it_leave == _values.cend()) - { - it_dist = _tree_distribution.find(value); - if(it_dist != _tree_distribution.cend()) - { + std::set< std::string >::const_iterator it_leave = this->values.find(value); + while (it_leave == this->values.cend()) { + it_dist = this->tree_distribution.find(value); + if (it_dist != this->tree_distribution.cend()) { value = (static_cast< CategoricalElementaryEvent* >((it_dist->second->simulate()).get()))->get_value(); - it_leave = _values.find(value); + it_leave = this->values.find(value); + } else { + throw std::runtime_error("internal error"); } - else - { throw std::runtime_error("internal error"); } } + } else { + throw std::runtime_error("internal error"); } - else - { throw std::runtime_error("internal error"); } return std::make_unique< CategoricalElementaryEvent >(value); } double HierarchicalDistribution::ldf(const std::string& value) const { double l; - std::set< std::string >::const_iterator it = _values.find(value); - if(it != _values.cend()) - { - std::map< std::string, std::string >::const_iterator it_par = _parents.find(value); - if(it_par != _parents.cend()) - { - std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = _tree_distribution.find(it_par->second); - if(it_dist != _tree_distribution.cend()) - { + std::set< std::string >::const_iterator it = this->values.find(value); + if (it != this->values.cend()) { + std::map< std::string, std::string >::const_iterator it_par = this->parents.find(value); + if (it_par != this->parents.cend()) { + std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = this->tree_distribution.find(it_par->second); + if (it_dist != this->tree_distribution.cend()) { l = (it_dist->second)->ldf(value); std::string current_value = it_par->second; - while(current_value != "") - { - l += internal_ldf(current_value); - it_par = _parents.find(current_value); - if(it_par != _parents.cend()) - { current_value = it_par->second; } - else - { throw std::runtime_error("internal error"); } + while (current_value != "") { + l += this->internal_ldf(current_value); + it_par = this->parents.find(current_value); + if (it_par != this->parents.cend()) { + current_value = it_par->second; + } else { + throw std::runtime_error("internal error"); + } } - } - else - { throw std::runtime_error("internal error"); } + } else { + throw std::runtime_error("internal error"); + } + } else { + throw std::runtime_error("internal error"); } - else - { throw std::runtime_error("internal error"); } - } - else - { throw in_set_error("value", value, _values); } + } else { + throw in_set_error("value", value, this->values); + } return l; } double HierarchicalDistribution::pdf(const std::string& value) const - { return exp(ldf(value)); } + { + return exp(this->ldf(value)); + } double HierarchicalDistribution::pdf(const int& position) const { - std::set< std::string >::const_iterator it = _values.cbegin(); - if(position >= 0 && position < _values.size()) - { std::advance(it, position); } - else - { throw interval_error("position", position, 0, _values.size()-1, std::make_pair(false,false)); } - return pdf(*it); + double p; + if (position >= 0 && position < this->values.size()) { + std::set< std::string >::const_iterator it = this->values.cbegin(); + std::advance(it, position); + p = pdf(*it); + } else { + throw interval_error("position", position, 0, this->values.size()-1, std::make_pair(false,false)); + } + return p; } std::set< std::string > HierarchicalDistribution::get_values() const - { return _values; } + { + return this->values; + } double HierarchicalDistribution::internal_ldf(const std::string& value) const { - check_internal(value); + this->check_internal(value); double l; - if(value == "") - { l = 0; } - else - { - std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it = _tree_distribution.find(value); - if(it != _tree_distribution.cend()) - { - std::map< std::string, std::string >::const_iterator it_par = _parents.find(value); - if(it_par != _parents.cend()) - { - std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = _tree_distribution.find(it_par->second); - if(it_dist != _tree_distribution.cend()) - { l = (it_dist->second)->ldf(value); } - else - { throw std::runtime_error("internal error"); } + if (value == "") { + l = 0; + } else { + std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it = this->tree_distribution.find(value); + if (it != this->tree_distribution.cend()) { + std::map< std::string, std::string >::const_iterator it_par = this->parents.find(value); + if (it_par != this->parents.cend()) { + std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator it_dist = this->tree_distribution.find(it_par->second); + if (it_dist != this->tree_distribution.cend()) { + l = (it_dist->second)->ldf(value); + } else { + throw std::runtime_error("internal error"); + } + } else { + throw std::runtime_error("internal error"); } - else - { throw std::runtime_error("internal error"); } + } else { + throw in_set_error("value", value, __impl::keys(this->tree_distribution)); } - else - { throw in_set_error("value", value, __impl::keys(_tree_distribution)); } } return l; } + double HierarchicalDistribution::internal_pdf(const std::string& value) const - { return exp(internal_ldf(value)); } + { + return exp(this->internal_ldf(value)); + } HierarchicalDistribution::const_iterator HierarchicalDistribution::cbegin() const - { return _tree_distribution.cbegin(); } + { + return this->tree_distribution.cbegin(); + } HierarchicalDistribution::const_iterator HierarchicalDistribution::cend() const - { return _tree_distribution.cend(); } + { + return this->tree_distribution.cend(); + } const CategoricalUnivariateDistribution* HierarchicalDistribution::get_distribution(const std::string& value) const { - check_internal(value); - return _tree_distribution.find(value)->second; + this->check_internal(value); + return this->tree_distribution.find(value)->second; } void HierarchicalDistribution::set_distribution(const std::string& value, const CategoricalUnivariateDistribution& distribution) { - check_internal(value); - _tree_distribution[value] = static_cast< CategoricalUnivariateDistribution* >(distribution.copy().release()); + this->check_internal(value); + this->tree_distribution[value] = static_cast< CategoricalUnivariateDistribution* >(distribution.copy().release()); } - const std::string HierarchicalDistribution::parent(const std::string& value) const + std::string HierarchicalDistribution::parent(const std::string& value) const { - std::map< std::string, std::string >::const_iterator it = _parents.find(value); - if(it != _parents.cend()) - { return it->second; } - else - { throw in_set_error("value", value, __impl::keys(_parents), false); } + std::string parent; + std::map< std::string, std::string >::const_iterator it = this->parents.find(value); + if (it != this->parents.cend()) { + parent = it->second; + } else { + throw in_set_error("value", value, __impl::keys(this->parents), false); + } + return parent; } void HierarchicalDistribution::check_internal(const std::string& value) const { - if(_tree_distribution.find(value) == _tree_distribution.cend()) - { throw in_set_error("value", value, __impl::keys(_tree_distribution), false); } + if (this->tree_distribution.find(value) == this->tree_distribution.cend()) { + throw in_set_error("value", value, __impl::keys(this->tree_distribution), false); + } } - // HierarchicalDistribution::iterator HierarchicalDistribution::begin() - // { return _tree_distribution.begin(); } - - // HierarchicalDistribution::iterator HierarchicalDistribution::end() - // { return _tree_distribution.end(); } - unsigned int HierarchicalDistribution::index(const std::string& value) const { - check_internal(value); - return std::distance(_tree_distribution.cbegin(), _tree_distribution.find(value)); + this->check_internal(value); + return std::distance(this->tree_distribution.cbegin(), this->tree_distribution.find(value)); } double DiscreteUnivariateDistribution::probability(const UnivariateEvent* event, const bool& logarithm) const { double p; - if(event) - { - if(event->get_outcome() == outcome_type::DISCRETE) - { - switch(event->get_censoring()) - { + if (event) { + if (event->get_outcome() == outcome_type::DISCRETE) { + switch(event->get_censoring()) { case censoring_type::NONE: { const int& value = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); - if(logarithm) - { p = ldf(value); } - else - { p = pdf(value); } + if (logarithm) { + p = this->ldf(value); + } else { + p = this->pdf(value); + } } break; case censoring_type::CENSORED: { const std::vector< int >& values = static_cast< const DiscreteCensoredEvent* >(event)->get_values(); p = 0.; - for(std::vector< int >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) - { p += pdf(*it); } - if(logarithm) - { p = log(p); } + for (std::vector< int >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) { + p += this->pdf(*it); + } + if (logarithm) { + p = log(p); + } } break; case censoring_type::LEFT: { const int& upper_bound = static_cast< const DiscreteLeftCensoredEvent* >(event)->get_upper_bound(); - p = cdf(upper_bound); - if(logarithm) - { p = log(p); } + p = this->cdf(upper_bound); + if (logarithm) { + p = log(p); + } } break; case censoring_type::RIGHT: { const int& lower_bound = static_cast< const DiscreteRightCensoredEvent* >(event)->get_lower_bound(); - p = 1 - cdf(lower_bound - 1); - if(logarithm) - { p = log(p); } + p = 1 - this->cdf(lower_bound - 1); + if (logarithm) { + p = log(p); + } } break; case censoring_type::INTERVAL: { const DiscreteIntervalCensoredEvent* devent = static_cast< const DiscreteIntervalCensoredEvent* >(event); - const int& lower_bound = devent->get_lower_bound(), upper_bound = devent->get_lower_bound(); - p = cdf(upper_bound) - cdf(lower_bound - 1); - if(logarithm) - { p = log(p); } + const int& lower_bound = devent->get_lower_bound(); + const int& upper_bound = devent->get_lower_bound(); + p = this->cdf(upper_bound) - this->cdf(lower_bound - 1); + if (logarithm) { + p = log(p); + } } break; default: - if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } + if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; + } break; } + } else if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; } - else if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } - } - else if(logarithm) - { p = 0; } - else - { p = 1.; } + } else if (logarithm) { + p = 0; + } else { + p = 1.; + } return p; } double DiscreteUnivariateDistribution::ldf(const int& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double DiscreteUnivariateDistribution::pdf(const int& value) const - { return exp(ldf(value)); } + { + return exp(this->ldf(value)); + } double DiscreteUnivariateDistribution::cdf(const int& value) const { double p = 0.; - for(int k = 0; k <= value; ++k) - { p += pdf(k); } + for (int k = 0; k <= value; ++k) { + p += this->pdf(k); + } return p; } int DiscreteUnivariateDistribution::quantile(const double& p) const { int i = 0; - double _p = pdf(i); - while(_p < p) - { + double cp = pdf(i); + while (cp < p) { ++i; - _p += pdf(i); + cp += pdf(i); } return i; } std::unique_ptr< UnivariateEvent > DiscreteUnivariateDistribution::simulate() const - { return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); } + { + return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); + } PoissonDistribution::PoissonDistribution() - { _theta = 1.; } + { + this->theta = 1.; + } PoissonDistribution::PoissonDistribution(const double& theta) { - if(theta <= 0.) - { throw lower_bound_error("theta", theta, 0., true); } - _theta = theta; + if (theta <= 0.) { + throw lower_bound_error("theta", theta, 0., true); + } + this->theta = theta; } PoissonDistribution::PoissonDistribution(const PoissonDistribution& poisson) - { _theta = poisson._theta; } + { + this->theta = poisson.theta; + } unsigned int PoissonDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } const double& PoissonDistribution::get_theta() const - { return _theta; } + { + return this->theta; + } void PoissonDistribution::set_theta(const double& theta) { - if(theta <= 0.) - { throw lower_bound_error("theta", theta, 0., true); } - _theta = theta; + if (theta <= 0.) { + throw lower_bound_error("theta", theta, 0., true); + } + this->theta = theta; } double PoissonDistribution::ldf(const int& value) const { double p; - if(value < 0) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = value * log(_theta) - _theta - boost::math::lgamma(value + 1); } + if (value < 0) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = value * log(this->theta) - this->theta - std::lgamma(value + 1); + } return p; } double PoissonDistribution::pdf(const int& value) const { double p; - if(value < 0) - { p = 0; } - else - { p = pow(_theta, value) * exp(-_theta) / boost::math::tgamma(value + 1); } + if (value < 0) { + p = 0; + } else { + p = pow(this->theta, value) * exp(-this->theta) / std::tgamma(value + 1); + } return p; } double PoissonDistribution::cdf(const int& value) const { double p; - if(value < 0) - { p = 0; } - else - { p = boost::math::gamma_q(value + 1, _theta); } + if (value < 0) { + p = 0; + } else { + p = boost::math::gamma_q(value + 1, this->theta); + } return p; } int PoissonDistribution::quantile(const double& p) const - { return std::ceil(boost::math::gamma_q_inva(_theta, p) - 1); } + { + return std::ceil(boost::math::gamma_q_inva(this->theta, p) - 1); + } double PoissonDistribution::get_mean() const - { return _theta; } + { + return this->theta; + } double PoissonDistribution::get_variance() const - { return _theta; } + { + return this->theta; + } std::unique_ptr< UnivariateEvent > PoissonDistribution::simulate() const { - boost::poisson_distribution<> dist(_theta); + boost::poisson_distribution<> dist(this->theta); boost::variate_generator > simulator(__impl::get_random_generator(), dist); return std::make_unique< DiscreteElementaryEvent >(simulator()); } BinomialDistribution::BinomialDistribution() { - _kappa = 1; - _pi = .5; + this->kappa = 1; + this->pi = .5; } BinomialDistribution::BinomialDistribution(const unsigned int& kappa, const double& pi) { - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _kappa = kappa; - _pi = pi; + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->kappa = kappa; + this->pi = pi; } BinomialDistribution::BinomialDistribution(const BinomialDistribution& binomial) { - _kappa = binomial._kappa; - _pi = binomial._pi; + this->kappa = binomial.kappa; + this->pi = binomial.pi; } unsigned int BinomialDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const unsigned int& BinomialDistribution::get_kappa() const - { return _kappa; } + { + return this->kappa; + } void BinomialDistribution::set_kappa(const unsigned int& kappa) - { _kappa = kappa; } + { + this->kappa = kappa; + } const double& BinomialDistribution::get_pi() const - { return _pi; } + { + return this->pi; + } void BinomialDistribution::set_pi(const double& pi) { - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _pi = pi; + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->pi = pi; } double BinomialDistribution::ldf(const int& value) const { double p; - if(value < 0 || value > _kappa) - { p = -1 * std::numeric_limits< double >::infinity(); } - else if(value == 0) - { p = _kappa * log(1. - _pi); } - else if(value == _kappa) - { p = value * log(_pi); } - else - { p = boost::math::lgamma(_kappa + 1) - boost::math::lgamma(_kappa - value + 1) - boost::math::lgamma(value + 1) + value * log(_pi) + (_kappa - value) * log(1. - _pi); } + if (value < 0 || value > this->kappa) { + p = -1 * std::numeric_limits< double >::infinity(); + } else if (value == 0) { + p = this->kappa * log(1. - this->pi); + } else if (value == this->kappa) { + p = value * log(this->pi); + } else { + p = std::lgamma(this->kappa + 1) - std::lgamma(this->kappa - value + 1) - std::lgamma(value + 1) + value * log(this->pi) + (this->kappa - value) * log(1. - this->pi); + } return p; } double BinomialDistribution::pdf(const int& value) const { double p; - if(value < 0 || value > _kappa) - { p = 0; } - else if(value == 0) - { p = pow(1 - _pi, _kappa); } - else if(value == _kappa) - { p = pow(_pi, _kappa); } - else - { p = boost::math::ibeta_derivative(value + 1, _kappa - value + 1, _pi) / (_kappa + 1); } + if (value < 0 || value > this->kappa) { + p = 0; + } else if (value == 0) { + p = pow(1 - this->pi, this->kappa); + } else if (value == this->kappa) { + p = pow(this->pi, this->kappa); + } else { + p = boost::math::ibeta_derivative(value + 1, this->kappa - value + 1, this->pi) / (this->kappa + 1); + } return p; } double BinomialDistribution::cdf(const int& value) const { double p; - if(value < 0) - { p = 0.; } - else if(value > _kappa) - { p = 1.; } - else - { p = boost::math::ibetac(value + 1, _kappa - value, _pi); } + if (value < 0) { + p = 0.; + } else if (value > this->kappa) { + p = 1.; + } else { + p = boost::math::ibetac(value + 1, this->kappa - value, this->pi); + } return p; } int BinomialDistribution::quantile(const double& p) const { int value = 0; - while(cdf(value) < p && value < _kappa) - { ++value; } + while (this->cdf(value) < p && value < this->kappa) { + ++value; + } return value; } std::unique_ptr< UnivariateEvent > BinomialDistribution::simulate() const { - boost::binomial_distribution<> dist(_kappa, _pi); + boost::binomial_distribution<> dist(this->kappa, this->pi); boost::variate_generator > simulator(__impl::get_random_generator(), dist); return std::make_unique< DiscreteElementaryEvent >(simulator()); } double BinomialDistribution::get_mean() const - { return _kappa * _pi; } + { + return this->kappa * this->pi; + } double BinomialDistribution::get_variance() const - { return _kappa * _pi * (1. - _pi); } + { + return this->kappa * this->pi * (1. - this->pi); + } LogarithmicDistribution::LogarithmicDistribution() - { _theta = .5; } + { + this->theta = .5; + } LogarithmicDistribution::LogarithmicDistribution(const double& theta) { - if(theta < 0 || theta > 1) - { throw interval_error("theta", theta, 0., 1., std::make_pair(false, false)); } - _theta = theta; + if (theta < 0 || theta > 1) { + throw interval_error("theta", theta, 0., 1., std::make_pair(false, false)); + } + this->theta = theta; } LogarithmicDistribution::LogarithmicDistribution(const LogarithmicDistribution& logarithmic) - { _theta = logarithmic._theta; } + { + this->theta = logarithmic.theta; + } unsigned int LogarithmicDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } const double& LogarithmicDistribution::get_theta() const - { return _theta; } + { + return this->theta; + } void LogarithmicDistribution::set_theta(const double& theta) { - if(theta < 0 || theta > 1) - { throw interval_error("theta", theta, 0., 1., std::make_pair(false, false)); } - _theta = theta; + if (theta < 0 || theta > 1) { + throw interval_error("theta", theta, 0., 1., std::make_pair(false, false)); + } + this->theta = theta; } double LogarithmicDistribution::ldf(const int& value) const { double p; - if(value < 1) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { - try - { p = -log(- 1 * log(1 - _theta)) + value * log(_theta) - log(value); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 1) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + try { + p = -log(- 1 * log(1 - this->theta)) + value * log(this->theta) - log(value); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } @@ -859,65 +927,76 @@ namespace statiskit double LogarithmicDistribution::pdf(const int& value) const { double p; - if(value < 1) - { p = 0; } - else - { - try - { p = - 1 / log(1 - _theta) * pow(_theta, value) / value; } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 1) { + p = 0; + } else { + try { + p = - 1 / log(1 - this->theta) * pow(this->theta, value) / value; + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } double LogarithmicDistribution::get_mean() const - { return - 1 / log(1 - _theta) * _theta / (1 - _theta); } + { + return - 1 / log(1 - this->theta) * this->theta / (1 - this->theta); + } double LogarithmicDistribution::get_variance() const { - double mean = get_mean(); - return mean * (1 / (1- _theta) - mean); - // return - _theta * (_theta + log(1 - _theta)) / pow((1 - _theta) * log(1 - _theta), 2); + double mean = this->get_mean(); + return mean * (1 / (1- this->theta) - mean); } GeometricDistribution::GeometricDistribution() - { _pi = .5; } + { + this->pi = .5; + } GeometricDistribution::GeometricDistribution(const double& pi) { - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _pi = pi; + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->pi = pi; } GeometricDistribution::GeometricDistribution(const GeometricDistribution& geometric) - { _pi = geometric._pi; } + { + this->pi = geometric.pi; + } unsigned int GeometricDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } const double& GeometricDistribution::get_pi() const - { return _pi; } + { + return this->pi; + } void GeometricDistribution::set_pi(const double& pi) { - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _pi = pi; + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->pi = pi; } double GeometricDistribution::ldf(const int& value) const { double p; - if(value < 1) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { - try - { p = (value - 1) * log(_pi) + log(1 - _pi); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 1) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + try { + p = (value - 1) * log(this->pi) + log(1 - this->pi); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } @@ -925,14 +1004,14 @@ namespace statiskit double GeometricDistribution::pdf(const int& value) const { double p; - if(value < 1) - { p = 0; } - else - { - try - { p = pow(_pi, value - 1) * (1. - _pi); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 1) { + p = 0; + } else { + try { + p = pow(this->pi, value - 1) * (1. - this->pi); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } @@ -940,86 +1019,104 @@ namespace statiskit double GeometricDistribution::cdf(const int& value) const { double p; - if(value < 1) - { p = 0; } - else - { p = 1 - pow(_pi, value); } + if (value < 1) { + p = 0; + } else { + p = 1 - pow(this->pi, value); + } return p; } int GeometricDistribution::quantile(const double& p) const { int q = 0; - while(cdf(q) < p) - { ++q; } + while (this->cdf(q) < p) { + ++q; + } return q; } double GeometricDistribution::get_mean() const - { return 1 / (1 - _pi); } + { + return 1 / (1 - this->pi); + } double GeometricDistribution::get_variance() const - { return _pi / pow(1. - _pi, 2); } + { + return this->pi / pow(1. - this->pi, 2); + } std::unique_ptr< UnivariateEvent > GeometricDistribution::simulate() const - { return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); } + { + return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); + } NegativeBinomialDistribution::NegativeBinomialDistribution() { - _kappa = 1.; - _pi = .5; + this->kappa = 1.; + this->pi = .5; } NegativeBinomialDistribution::NegativeBinomialDistribution(const double& kappa, const double& pi) { - if(kappa <= 0.) - { throw lower_bound_error("kappa", kappa, 0., true); } - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _kappa = kappa; - _pi = pi; + if (kappa <= 0.) { + throw lower_bound_error("kappa", kappa, 0., true); + } + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->kappa = kappa; + this->pi = pi; } NegativeBinomialDistribution::NegativeBinomialDistribution(const NegativeBinomialDistribution& negbinomial) { - _kappa = negbinomial._kappa; - _pi = negbinomial._pi; + this->kappa = negbinomial.kappa; + this->pi = negbinomial.pi; } unsigned int NegativeBinomialDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& NegativeBinomialDistribution::get_kappa() const - { return _kappa; } + { + return this->kappa; + } void NegativeBinomialDistribution::set_kappa(const double& kappa) { - if(kappa <= 0.) - { throw lower_bound_error("kappa", kappa, 0., true); } - _kappa = kappa; + if (kappa <= 0.) { + throw lower_bound_error("kappa", kappa, 0., true); + } + this->kappa = kappa; } const double& NegativeBinomialDistribution::get_pi() const - { return _pi; } + { + return this->pi; + } void NegativeBinomialDistribution::set_pi(const double& pi) { - if(pi < 0 || pi > 1) - { throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); } - _pi = pi; + if (pi < 0 || pi > 1) { + throw interval_error("pi", pi, 0., 1., std::make_pair(false, false)); + } + this->pi = pi; } double NegativeBinomialDistribution::ldf(const int& value) const { double p; - if(value < 0) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { - try - { p = boost::math::lgamma(value + _kappa) - boost::math::lgamma(_kappa) - boost::math::lgamma(value + 1.) + value * log(_pi) + _kappa * log(1 - _pi); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 0) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + try { + p = boost::math::lgamma(value + this->kappa) - boost::math::lgamma(this->kappa) - boost::math::lgamma(value + 1.) + value * log(this->pi) + this->kappa * log(1 - this->pi); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } @@ -1027,14 +1124,14 @@ namespace statiskit double NegativeBinomialDistribution::pdf(const int& value) const { double p; - if(value < 0) - { p = 0; } - else - { - try - { p = boost::math::ibeta_derivative(_kappa, value + 1., 1 - _pi) * (1. - _pi) / (_kappa + value); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } + if (value < 0) { + p = 0; + } else { + try { + p = boost::math::ibeta_derivative(this->kappa, value + 1., 1 - this->pi) * (1. - this->pi) / (this->kappa + value); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); + } } return p; } @@ -1042,65 +1139,82 @@ namespace statiskit double NegativeBinomialDistribution::cdf(const int& value) const { double p; - if(value < 0) - { p = 0; } - else - { p = boost::math::ibeta(_kappa, value + 1., 1. - _pi); } + if (value < 0) { + p = 0; + } else { + p = boost::math::ibeta(this->kappa, value + 1., 1. - this->pi); + } return p; } int NegativeBinomialDistribution::quantile(const double& p) const - { return std::ceil(boost::math::ibeta_invb(_kappa, 1. - _pi, p) - 1); } + { + return std::ceil(boost::math::ibeta_invb(this->kappa, 1. - this->pi, p) - 1); + } double NegativeBinomialDistribution::get_mean() const - { return _kappa * _pi / (1 - _pi); } + { + return this->kappa * this->pi / (1 - this->pi); + } double NegativeBinomialDistribution::get_variance() const - { return _kappa * _pi / pow(1. - _pi, 2); } + { + return this->kappa * this->pi / pow(1. - this->pi, 2); + } std::unique_ptr< UnivariateEvent > NegativeBinomialDistribution::simulate() const - { return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); } + { + return std::make_unique< ElementaryEvent< DiscreteEvent > >(quantile(boost::uniform_01(__impl::get_random_generator())())); + } BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution() { - _alpha = 1.; - _gamma = 1.; + this->alpha = 1.; + this->gamma = 1.; } BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution(const BetaCompoundDiscreteUnivariateDistribution& distribution) { - _alpha = distribution._alpha; - _gamma = distribution._gamma; + this->alpha = distribution.alpha; + this->gamma = distribution.gamma; } BetaCompoundDiscreteUnivariateDistribution::~BetaCompoundDiscreteUnivariateDistribution() {} unsigned int BetaCompoundDiscreteUnivariateDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& BetaCompoundDiscreteUnivariateDistribution::get_alpha() const - { return _alpha; } + { return this->alpha; } void BetaCompoundDiscreteUnivariateDistribution::set_alpha(const double& alpha) { - if(alpha <= 0.) - { throw lower_bound_error("alpha", alpha, 0., true); } - _alpha = alpha; + if (alpha <= 0.) { + throw lower_bound_error("alpha", alpha, 0., true); + } + this->alpha = alpha; } const double& BetaCompoundDiscreteUnivariateDistribution::get_gamma() const - { return _gamma; } + { + return this->gamma; + } void BetaCompoundDiscreteUnivariateDistribution::set_gamma(const double& gamma) { - if(gamma <= 0.) - { throw lower_bound_error("gamma", gamma, 0., true); } - _gamma = gamma; + if (gamma <= 0.) { + throw lower_bound_error("gamma", gamma, 0., true); + } + this->gamma = gamma; } BetaBinomialDistribution::BetaBinomialDistribution() - { _kappa = 1; } + { + this->kappa = 1; + } BetaBinomialDistribution::BetaBinomialDistribution(const unsigned int& kappa, const double& alpha, const double& gamma) { @@ -1110,36 +1224,42 @@ namespace statiskit } BetaBinomialDistribution::BetaBinomialDistribution(const BetaBinomialDistribution& binomial) : PolymorphicCopy< UnivariateDistribution, BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(binomial) - { _kappa = binomial._kappa; } + { + this->kappa = binomial.kappa; + } BetaBinomialDistribution::~BetaBinomialDistribution() {} unsigned int BetaBinomialDistribution::get_nb_parameters() const - { return 1 + BetaCompoundDiscreteUnivariateDistribution::get_nb_parameters(); } + { + return 1 + BetaCompoundDiscreteUnivariateDistribution::get_nb_parameters(); + } const unsigned int& BetaBinomialDistribution::get_kappa() const - { return _kappa; } + { + return this->kappa; + } void BetaBinomialDistribution::set_kappa(const unsigned int& kappa) - { _kappa = kappa; } + { + this->kappa = kappa; + } double BetaBinomialDistribution::ldf(const int& value) const { double p; - if(value < 0) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { - try - { - p = boost::math::lgamma(_kappa + 1) - - boost::math::lgamma(value + 1) - boost::math::lgamma(_kappa - value + 1) - + boost::math::lgamma(_alpha + value) + boost::math::lgamma(_kappa - value + _gamma) + boost::math::lgamma(_alpha + _gamma) - - boost::math::lgamma(_alpha + _gamma + _kappa) - boost::math::lgamma(_alpha) - boost::math::lgamma(_gamma); + if (value < 0) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + try { + p = boost::math::lgamma(this->kappa + 1) + - boost::math::lgamma(value + 1) - boost::math::lgamma(this->kappa - value + 1) + + boost::math::lgamma(this->alpha + value) + boost::math::lgamma(this->kappa - value + this->gamma) + boost::math::lgamma(this->alpha + this->gamma) + - boost::math::lgamma(this->alpha + this->gamma + this->kappa) - boost::math::lgamma(this->alpha) - boost::math::lgamma(this->gamma); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } } return p; } @@ -1147,31 +1267,35 @@ namespace statiskit double BetaBinomialDistribution::pdf(const int& value) const { double p; - if(value < 0 || value > _kappa) - { p = 0; } - else - { - try - { - p = boost::math::tgamma(_kappa + 1) - / (boost::math::tgamma(value + 1) * boost::math::tgamma(_kappa - value + 1)) - * boost::math::tgamma(_alpha + value) * boost::math::tgamma(_kappa - value + _gamma) * boost::math::tgamma(_alpha + _gamma) - / (boost::math::tgamma(_alpha + _gamma + _kappa) * boost::math::tgamma(_alpha) * boost::math::tgamma(_gamma)); + if (value < 0 || value > this->kappa) { + p = 0; + } else { + try { + p = boost::math::tgamma(this->kappa + 1) + / (boost::math::tgamma(value + 1) * boost::math::tgamma(this->kappa - value + 1)) + * boost::math::tgamma(this->alpha + value) * boost::math::tgamma(this->kappa - value + this->gamma) * boost::math::tgamma(this->alpha + this->gamma) + / (boost::math::tgamma(this->alpha + this->gamma + this->kappa) * boost::math::tgamma(this->alpha) * boost::math::tgamma(this->gamma)); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } } return p; } double BetaBinomialDistribution::get_mean() const - { return _kappa * _alpha / (_alpha + _gamma); } + { + return this->kappa * this->alpha / (this->alpha + this->gamma); + } double BetaBinomialDistribution::get_variance() const - { return _kappa * _alpha * _gamma * (_kappa + _alpha + _gamma) / (pow(_alpha + _gamma, 2) * (_alpha + _gamma + 1)); } + { + return this->kappa * this->alpha * this->gamma * (this->kappa + this->alpha + this->gamma) / (pow(this->alpha + this->gamma, 2) * (this->alpha + this->gamma + 1)); + } BetaNegativeBinomialDistribution::BetaNegativeBinomialDistribution() - { _kappa = 1.; } + { + this->kappa = 1.; + } BetaNegativeBinomialDistribution::BetaNegativeBinomialDistribution(const double& kappa, const double& alpha, const double& gamma) { @@ -1181,40 +1305,43 @@ namespace statiskit } BetaNegativeBinomialDistribution::BetaNegativeBinomialDistribution(const BetaNegativeBinomialDistribution& negbinomial) : PolymorphicCopy< UnivariateDistribution, BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(negbinomial) - { _kappa = negbinomial._kappa; } + { + this->kappa = negbinomial.kappa; + } BetaNegativeBinomialDistribution::~BetaNegativeBinomialDistribution() {} unsigned int BetaNegativeBinomialDistribution::get_nb_parameters() const - { return 1 + BetaCompoundDiscreteUnivariateDistribution::get_nb_parameters(); } + { + return 1 + BetaCompoundDiscreteUnivariateDistribution::get_nb_parameters(); + } const double& BetaNegativeBinomialDistribution::get_kappa() const - { return _kappa; } + { return this->kappa; } void BetaNegativeBinomialDistribution::set_kappa(const double& kappa) { - if(kappa <= 0.) - { throw lower_bound_error("kappa", kappa, 0., true); } - _kappa = kappa; + if (kappa <= 0.) { + throw lower_bound_error("kappa", kappa, 0., true); + } + this->kappa = kappa; } double BetaNegativeBinomialDistribution::ldf(const int& value) const { double p; - if(value < 0) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { - try - { - p = boost::math::lgamma(value + _kappa) - - boost::math::lgamma(value + 1) - boost::math::lgamma(_kappa) - + boost::math::lgamma(_alpha + _kappa) + boost::math::lgamma(_gamma + value) + boost::math::lgamma(_alpha + _gamma) - - boost::math::lgamma(_alpha + _gamma + _kappa + value) - boost::math::lgamma(_alpha) - boost::math::lgamma(_gamma); + if (value < 0) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + try { + p = boost::math::lgamma(value + this->kappa) + - boost::math::lgamma(value + 1) - boost::math::lgamma(this->kappa) + + boost::math::lgamma(this->alpha + this->kappa) + boost::math::lgamma(this->gamma + value) + boost::math::lgamma(this->alpha + this->gamma) + - boost::math::lgamma(this->alpha + this->gamma + this->kappa + value) - boost::math::lgamma(this->alpha) - boost::math::lgamma(this->gamma); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } } return p; } @@ -1222,19 +1349,17 @@ namespace statiskit double BetaNegativeBinomialDistribution::pdf(const int& value) const { double p; - if(value < 0) - { p = 0; } - else - { - try - { - p = boost::math::tgamma(value + _kappa) - / (boost::math::tgamma(value + 1) * boost::math::tgamma(_kappa)) - * boost::math::tgamma(_alpha + _kappa) * boost::math::tgamma(_gamma + value) * boost::math::tgamma(_alpha + _gamma) - / (boost::math::tgamma(_alpha + _gamma + _kappa + value) * boost::math::tgamma(_alpha) * boost::math::tgamma(_gamma)); + if (value < 0) { + p = 0; + } else { + try { + p = boost::math::tgamma(value + this->kappa) + / (boost::math::tgamma(value + 1) * boost::math::tgamma(this->kappa)) + * boost::math::tgamma(this->alpha + this->kappa) * boost::math::tgamma(this->gamma + value) * boost::math::tgamma(this->alpha + this->gamma) + / (boost::math::tgamma(this->alpha + this->gamma + this->kappa + value) * boost::math::tgamma(this->alpha) * boost::math::tgamma(this->gamma)); + } catch (const std::exception& error) { + p = std::numeric_limits< double >::quiet_NaN(); } - catch(const std::exception& error) - { p = std::numeric_limits< double >::quiet_NaN(); } } return p; } @@ -1242,134 +1367,143 @@ namespace statiskit double BetaNegativeBinomialDistribution::get_mean() const { double mean; - if(_alpha > 1.) - { mean = _kappa * _gamma / (_alpha - 1); } - else - { mean = std::numeric_limits< double >::infinity(); } + if (this->alpha > 1.) { + mean = this->kappa * this->gamma / (this->alpha - 1); + } else { + mean = std::numeric_limits< double >::infinity(); + } return mean; } double BetaNegativeBinomialDistribution::get_variance() const { double variance; - if(_alpha > 2) - { variance = _kappa * (_alpha + _kappa - 1) * _gamma * (_alpha + _gamma - 1) / ((_alpha - 2) * pow(_alpha - 1, 2)); } - else - { variance = std::numeric_limits< double >::infinity(); } + if (this->alpha > 2) { + variance = this->kappa * (this->alpha + this->kappa - 1) * this->gamma * (this->alpha + this->gamma - 1) / ((this->alpha - 2) * pow(this->alpha - 1, 2)); + } else { + variance = std::numeric_limits< double >::infinity(); + } return variance; } double ContinuousUnivariateDistribution::probability(const UnivariateEvent* event, const bool& logarithm) const { double p; - if(event) - { - if(event->get_outcome() == outcome_type::CONTINUOUS) - { - switch(event->get_censoring()) - { + if (event) { + if (event->get_outcome() == outcome_type::CONTINUOUS) { + switch(event->get_censoring()) { case censoring_type::NONE: { const double& value = static_cast< const ContinuousElementaryEvent* >(event)->get_value(); - if(logarithm) - { p = ldf(value); } - else - { p = pdf(value); } + if (logarithm) { + p = this->ldf(value); + } else { + p = this->pdf(value); + } } break; case censoring_type::CENSORED: { const std::vector< double >& values = static_cast< const ContinuousCensoredEvent* >(event)->get_values(); p = 0.; - for(std::vector< double >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) - { p += pdf(*it); } - if(logarithm) - { p = log(p); } + for (std::vector< double >::const_iterator it = values.cbegin(), it_end = values.cend(); it != it_end; ++it) { + p += this->pdf(*it); + } + if (logarithm) { + p = log(p); + } } break; case censoring_type::LEFT: { const double& upper_bound = static_cast< const ContinuousLeftCensoredEvent* >(event)->get_upper_bound(); - p = cdf(upper_bound); - if(logarithm) - { p = log(p); } + p = this->cdf(upper_bound); + if (logarithm) { + p = log(p); + } } break; case censoring_type::RIGHT: { const double& lower_bound = static_cast< const ContinuousRightCensoredEvent* >(event)->get_lower_bound(); - p = 1 - cdf(lower_bound); - if(logarithm) - { p = log(p); } + p = 1 - this->cdf(lower_bound); + if (logarithm) { + p = log(p); + } } break; case censoring_type::INTERVAL: { const ContinuousIntervalCensoredEvent* cevent = static_cast< const ContinuousIntervalCensoredEvent* >(event); const double& lower_bound = cevent->get_lower_bound(), upper_bound = cevent->get_lower_bound(); - p = cdf(upper_bound) - cdf(lower_bound); - if(logarithm) - { p = log(p); } + p = this->cdf(upper_bound) - this->cdf(lower_bound); + if (logarithm) { + p = log(p); + } } break; default: - if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } + if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; + } break; } + } else if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0; } - else if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0; } - } - else if(logarithm) - { p = 0; } - else - { p = 1.; } + } + else if (logarithm) { + p = 0; + } else { + p = 1.; + } return p; } NormalDistribution::NormalDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } NormalDistribution::NormalDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } NormalDistribution::NormalDistribution(const NormalDistribution& normal) { - _mu = normal._mu; - _sigma = normal._sigma; + this->mu = normal.mu; + this->sigma = normal.sigma; } unsigned int NormalDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& NormalDistribution::get_mu() const - { return _mu; } + { return this->mu; } void NormalDistribution::set_mu(const double& mu) { throw parameter_error("mu", "always"); - _mu = mu; + this->mu = mu; } const double& NormalDistribution::get_sigma() const - { return _sigma; } + { return this->sigma; } void NormalDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) + if (sigma <= 0.) { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + this->sigma = sigma; } // double NormalDistribution::ldf(const double& value) const @@ -1386,101 +1520,93 @@ namespace statiskit double NormalDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { return log(this->pdf(value)); } double NormalDistribution::pdf(const double& value) const { - boost::math::normal dist(_mu, _sigma); + boost::math::normal dist(this->mu, this->sigma); return boost::math::pdf(dist, value); } double NormalDistribution::cdf(const double& value) const { - boost::math::normal dist(_mu, _sigma); + boost::math::normal dist(this->mu, this->sigma); return boost::math::cdf(dist, value); } double NormalDistribution::quantile(const double& p) const { - boost::math::normal dist(_mu, _sigma); + boost::math::normal dist(this->mu, this->sigma); return boost::math::quantile(dist, p); } std::unique_ptr< UnivariateEvent > NormalDistribution::simulate() const { - boost::normal_distribution<> dist(_mu, _sigma); + boost::normal_distribution<> dist(this->mu, this->sigma); boost::variate_generator > simulator(__impl::get_random_generator(), dist); return std::make_unique< ContinuousElementaryEvent >(simulator()); } double NormalDistribution::get_mean() const - { return _mu; } + { + return this->mu; + } double NormalDistribution::get_variance() const - { return pow(_sigma, 2); } + { + return pow(this->sigma, 2); + } UnivariateHistogramDistribution::UnivariateHistogramDistribution(const std::set& bins, const std::vector& densities) { assert(bins.size() > 1); assert(bins.size() == densities.size()+1); - _bins = bins; - _densities = densities; - normalize(); + this->bins = bins; + this->densities = densities; + this->normalize(); } UnivariateHistogramDistribution::UnivariateHistogramDistribution(const UnivariateHistogramDistribution& histogram) { - _bins = histogram._bins; - _densities = histogram._densities; + this->bins = histogram.bins; + this->densities = histogram.densities; } UnivariateHistogramDistribution::~UnivariateHistogramDistribution() {} unsigned int UnivariateHistogramDistribution::get_nb_parameters() const - { return _densities.size(); } + { + return this->densities.size(); + } const std::set& UnivariateHistogramDistribution::get_bins() const - { return _bins; } + { + return this->bins; + } const std::vector& UnivariateHistogramDistribution::get_densities() const - { return _densities; } - - /*double UnivariateHistogramDistribution::get_bin(const event_type& event) const - { - double bin; - if(boost::get(event) < *(bins.begin())) - { bin = -1*INFINITY; } - else if(boost::get(event) > *(bins.rbegin())) - { bin = INFINITY ; } - else - { - std::set::const_iterator it = bins.upper_bound(boost::get(event)); - if(it == bins.end()) - { --it; } - --it; - bin = *it; - } - return bin; - }*/ + { + return this->densities; + } double UnivariateHistogramDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double UnivariateHistogramDistribution::pdf(const double& value) const { double p; - if(value > *(_bins.rbegin()) || value < *(_bins.begin())) - { p = 0; } - else - { - std::set::const_iterator it = _bins.upper_bound(value); - if(it == _bins.end()) - { p = _densities.back(); } - else - { + if (value > *(this->bins.rbegin()) || value < *(this->bins.begin())) { + p = 0; + } else { + std::set::const_iterator it = this->bins.upper_bound(value); + if (it == this->bins.end()) { + p = this->densities.back(); + } else { --it; - p = _densities[distance(_bins.begin(), it)]; + p = this->densities[distance(this->bins.begin(), it)]; } } return p; @@ -1489,22 +1615,21 @@ namespace statiskit double UnivariateHistogramDistribution::cdf(const double& value) const { double cp; - if(value <= (*_bins.begin())) - { cp = 0.; } - else - { + if (value <= (*this->bins.begin())) { cp = 0.; - std::set::const_iterator it = _bins.upper_bound(value); - std::set::const_iterator itl = _bins.begin(), itu; - itu = itl; + } else { + cp = 0.; + std::set::const_iterator it = this->bins.upper_bound(value); + std::set::const_iterator itl = this->bins.begin(); + std::set::const_iterator itu = itl; ++itu; while(itu != it) { - cp += _densities[distance(_bins.begin(), itl)] * (*itu - *itl); + cp += this->densities[distance(this->bins.begin(), itl)] * (*itu - *itl); ++itl; ++itu; } - cp += (value - *itl) * _densities[distance(_bins.begin(), itl)]; + cp += (value - *itl) * this->densities[distance(this->bins.begin(), itl)]; } return std::min(cp, 1.); } @@ -1512,48 +1637,45 @@ namespace statiskit double UnivariateHistogramDistribution::quantile(const double& p) const { double q; - if(p >= 1.) - { q = *(_bins.rbegin()); } - else if (p <= 0.) - { q = *(_bins.begin()); } - else - { - std::set::const_iterator itl = _bins.begin(), itu; + if (p >= 1.) { + q = *(this->bins.rbegin()); + } else if (p <= 0.) { + q = *(this->bins.begin()); + } else { + std::set::const_iterator itl = this->bins.begin(), itu; itu = itl; ++itu; double cum = 0; - while(distance(_bins.begin(), itl) < _densities.size() && cum < p) - { - cum += _densities[distance(_bins.begin(), itl)] * (*itu - *itl); - if(cum < p) - { + while (distance(this->bins.begin(), itl) < this->densities.size() && cum < p) { + cum += this->densities[distance(this->bins.begin(), itl)] * (*itu - *itl); + if (cum < p) { ++itl; ++itu; } } - if(distance(_bins.begin(), itl) == _densities.size()) - { q = (*_bins.rbegin()); } - else - { - cum -= _densities[distance(_bins.begin(), itl)] * (*itu - *itl); - q = *itl + (p - cum) / _densities[distance(_bins.begin(), itl)]; + if (distance(this->bins.begin(), itl) == this->densities.size()) { + q = (*this->bins.rbegin()); + } else { + cum -= this->densities[distance(this->bins.begin(), itl)] * (*itu - *itl); + q = *itl + (p - cum) / this->densities[distance(this->bins.begin(), itl)]; } } return q; } std::unique_ptr< UnivariateEvent > UnivariateHistogramDistribution::simulate() const - { return std::make_unique< ContinuousElementaryEvent >(quantile(boost::uniform_01(__impl::get_random_generator())())); } + { + return std::make_unique< ContinuousElementaryEvent >(quantile(boost::uniform_01(__impl::get_random_generator())())); + } double UnivariateHistogramDistribution::get_mean() const { double mean = 0.; - std::set::const_iterator itl = _bins.begin(), itu; - itu = itl; + std::set::const_iterator itl = this->bins.begin(); + std::set::const_iterator itu = itl; ++itl; - while(itu != _bins.end()) - { - mean += (*itl + (*itu - *itl) / 2.) * _densities[distance(_bins.begin(), itl)]; + while (itu != this->bins.end()) { + mean += (*itl + (*itu - *itl) / 2.) * this->densities[distance(this->bins.begin(), itl)]; ++itl; ++itu; } @@ -1562,13 +1684,12 @@ namespace statiskit double UnivariateHistogramDistribution::get_variance() const { - double mean = get_mean(), variance = 0.; - std::set::const_iterator itl = _bins.begin(), itu; - itu = itl; + double mean = this->get_mean(), variance = 0.; + std::set::const_iterator itl = this->bins.begin(); + std::set::const_iterator itu = itl; ++itl; - while(itu != _bins.end()) - { - variance += pow((*itl + (*itu - *itl) / 2.) - mean, 2) * _densities[distance(_bins.begin(), itl)]; + while (itu != this->bins.end()) { + variance += pow((*itl + (*itu - *itl) / 2.) - mean, 2) * this->densities[distance(this->bins.begin(), itl)]; ++itl; ++itu; } @@ -1578,57 +1699,65 @@ namespace statiskit void UnivariateHistogramDistribution::normalize() { double sum = 0.; - std::set::const_iterator itl = _bins.begin(), itu; - itu = itl; + std::set::const_iterator itl = this->bins.begin(); + std::set::const_iterator itu = itl; ++itu; - while(itu != _bins.end()) - { - sum += (*itu - *itl) * _densities[distance(_bins.begin(), itl)]; + while (itu != this->bins.end()) { + sum += (*itu - *itl) * this->densities[distance(this->bins.begin(), itl)]; ++itl; ++itu; } - if(sum != 1.) - { - for(unsigned int i = 0; i < _densities.size(); ++i) - { _densities[i] /= sum; } + if (sum != 1.) { + for(unsigned int i = 0; i < this->densities.size(); ++i) { + this->densities[i] /= sum; + } } } LogisticDistribution::LogisticDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } LogisticDistribution::LogisticDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } LogisticDistribution::LogisticDistribution(const LogisticDistribution& logistic) { - _mu = logistic._mu; - _sigma = logistic._sigma; + this->mu = logistic.mu; + this->sigma = logistic.sigma; } unsigned int LogisticDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& LogisticDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void LogisticDistribution::set_mu(const double& mu) - { _mu = mu; } + { + this->mu = mu; + } const double& LogisticDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void LogisticDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) - { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + if (sigma <= 0.) { + throw lower_bound_error("sigma", sigma, 0., true); + } + this->sigma = sigma; } // double LogisticDistribution::ldf(const double& value) const @@ -1644,23 +1773,23 @@ namespace statiskit // { return _mu - _sigma * log(1 / p - 1); } double LogisticDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { return log(this->pdf(value)); } double LogisticDistribution::pdf(const double& value) const { - boost::math::logistic dist(_mu, _sigma); + boost::math::logistic dist(this->mu, this->sigma); return boost::math::pdf(dist, value); } double LogisticDistribution::cdf(const double& value) const { - boost::math::logistic dist(_mu, _sigma); + boost::math::logistic dist(this->mu, this->sigma); return boost::math::cdf(dist, value); } double LogisticDistribution::quantile(const double& p) const { - boost::math::logistic dist(_mu, _sigma); + boost::math::logistic dist(this->mu, this->sigma); return boost::math::quantile(dist, p); } @@ -1668,51 +1797,63 @@ namespace statiskit { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double LogisticDistribution::get_mean() const - { return _mu; } + { + return this->mu; + } double LogisticDistribution::get_variance() const - { return pow(_sigma * boost::math::constants::pi() , 2) / 3.; } + { + return pow(this->sigma * boost::math::constants::pi() , 2) / 3.; + } LaplaceDistribution::LaplaceDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } LaplaceDistribution::LaplaceDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } LaplaceDistribution::LaplaceDistribution(const LaplaceDistribution& laplace) { - _mu = laplace._mu; - _sigma = laplace._sigma; + this->mu = laplace.mu; + this->sigma = laplace.sigma; } unsigned int LaplaceDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& LaplaceDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void LaplaceDistribution::set_mu(const double& mu) - { _mu = mu; } + { + this->mu = mu; + } const double& LaplaceDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void LaplaceDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) + if (sigma <= 0.) { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + this->sigma = sigma; } // double LaplaceDistribution::ldf(const double& value) const @@ -1738,23 +1879,25 @@ namespace statiskit // } double LaplaceDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double LaplaceDistribution::pdf(const double& value) const { - boost::math::laplace dist(_mu, _sigma); + boost::math::laplace dist(this->mu, this->sigma); return boost::math::pdf(dist, value); } double LaplaceDistribution::cdf(const double& value) const { - boost::math::laplace dist(_mu, _sigma); + boost::math::laplace dist(this->mu, this->sigma); return boost::math::cdf(dist, value); } double LaplaceDistribution::quantile(const double& p) const { - boost::math::laplace dist(_mu, _sigma); + boost::math::laplace dist(this->mu, this->sigma); return boost::math::quantile(dist, p); } @@ -1762,97 +1905,133 @@ namespace statiskit { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double LaplaceDistribution::get_mean() const - { return _mu; } + { + return this->mu; + } double LaplaceDistribution::get_variance() const - { return 2 * pow(_sigma, 2); } + { + return 2 * pow(this->sigma, 2); + } CauchyDistribution::CauchyDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } CauchyDistribution::CauchyDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } CauchyDistribution::CauchyDistribution(const CauchyDistribution& cauchy) { - _mu = cauchy._mu; - _sigma = cauchy._sigma; + this->mu = cauchy.mu; + this->sigma = cauchy.sigma; } unsigned int CauchyDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& CauchyDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void CauchyDistribution::set_mu(const double& mu) - { _mu = mu; } + { + this->mu = mu; + } const double& CauchyDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void CauchyDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) - { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + if (sigma <= 0.) { + throw lower_bound_error("sigma", sigma, 0., true); + } + this->sigma = sigma; } double CauchyDistribution::ldf(const double& value) const - { return - log( boost::math::constants::pi() *_sigma) - log( 1 + pow( (value - _mu)/_sigma, 2) ); } + { + return - log( boost::math::constants::pi() * this->sigma) - log( 1 + pow( (value - this->mu) / this->sigma, 2) ); + } double CauchyDistribution::pdf(const double& value) const - { return 1/(boost::math::constants::pi() *_sigma * (1 + pow( (value - _mu)/_sigma, 2) ) ) ; } + { + return 1/(boost::math::constants::pi() * this->sigma * (1 + pow( (value - this->mu) / this->sigma, 2) ) ) ; + } double CauchyDistribution::cdf(const double& value) const - { return 0.5 + atan((value - _mu)/_sigma)/boost::math::constants::pi() ; } + { + return 0.5 + atan((value - this->mu) / this->sigma)/boost::math::constants::pi(); + } double CauchyDistribution::quantile(const double& p) const - { return _mu + _sigma * tan(boost::math::constants::pi() * (p-0.5) ); } + { + return this->mu + this->sigma * tan(boost::math::constants::pi() * (p - 0.5) ); + } std::unique_ptr< UnivariateEvent > CauchyDistribution::simulate() const { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double CauchyDistribution::get_mean() const - { return std::numeric_limits< double >::quiet_NaN(); } + { + return std::numeric_limits< double >::quiet_NaN(); + } double CauchyDistribution::get_variance() const - { return std::numeric_limits< double >::quiet_NaN(); } + { + return std::numeric_limits< double >::quiet_NaN(); + } StudentDistribution::StudentDistribution() - {_nu = 1.; } + { + this->nu = 1.; + } StudentDistribution::StudentDistribution(const double& nu) - { _nu = nu; } + { + this->nu = nu; + } StudentDistribution::StudentDistribution(const StudentDistribution& student) - { _nu = student._nu; } + { + this->nu = student.nu; + } unsigned int StudentDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } const double& StudentDistribution::get_nu() const - { return _nu; } + { + return this->nu; + } void StudentDistribution::set_nu(const double& nu) { - if(nu <= 0.) - { throw lower_bound_error("nu", nu, 0., true); } - _nu = nu; + if (nu <= 0.) { + throw lower_bound_error("nu", nu, 0., true); + } + this->nu = nu; } // double StudentDistribution::ldf(const double& value) const @@ -1864,11 +2043,11 @@ namespace statiskit // double StudentDistribution::cdf(const double& value) const // { // double z; - // if(_nu < 2 * pow(value, 2) ) + // if (_nu < 2 * pow(value, 2) ) // { z = boost::math::ibeta(_nu * 0.5, 0.5, _nu / (_nu + pow(value, 2))) * 0.5; } // else // { z = boost::math::ibetac(0.5, _nu * 0.5, pow(value, 2) / (_nu + pow(value, 2))) * 0.5; } - // if(value > 0) + // if (value > 0) // { return 1-z; } // else // {return z; } @@ -1877,12 +2056,12 @@ namespace statiskit // double StudentDistribution::quantile(const double& p) const // { // double x, q; - // if(p < 0.5) + // if (p < 0.5) // { // x = boost::math::ibeta_inv(_nu*0.5, 0.5, 2*p); // q = -pow(_nu*(1-x)/x, 0.5); // } - // else if(p >= 0.5) + // else if (p >= 0.5) // { // x = boost::math::ibeta_inv(_nu*0.5, 0.5, 2*(1-p)); // q = pow(_nu*(1-x)/x, 0.5); @@ -1891,23 +2070,25 @@ namespace statiskit // } double StudentDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double StudentDistribution::pdf(const double& value) const { - boost::math::students_t dist(_nu); + boost::math::students_t dist(this->nu); return boost::math::pdf(dist, value); } double StudentDistribution::cdf(const double& value) const { - boost::math::students_t dist(_nu); + boost::math::students_t dist(this->nu); return boost::math::cdf(dist, value); } double StudentDistribution::quantile(const double& p) const { - boost::math::students_t dist(_nu); + boost::math::students_t dist(this->nu); return boost::math::quantile(dist, p); } @@ -1915,126 +2096,157 @@ namespace statiskit { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double StudentDistribution::get_mean() const { - if(_nu>1.) - { return 0.; } - else - { return std::numeric_limits< double >::quiet_NaN(); } + if (this->nu > 1.) { + return 0.; + } else { + return std::numeric_limits< double >::quiet_NaN(); + } } double StudentDistribution::get_variance() const { - if(_nu>2.) - { return _nu/(_nu-2.); } - else if(_nu>1.) - { return std::numeric_limits< double >::infinity(); } - else - { return std::numeric_limits< double >::quiet_NaN(); } + if (this->nu>2.) { + return this->nu / (this->nu - 2.); + } + else if (this->nu > 1.) { + return std::numeric_limits< double >::infinity(); + } else { + return std::numeric_limits< double >::quiet_NaN(); + } } NonStandardStudentDistribution::NonStandardStudentDistribution() : StudentDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } NonStandardStudentDistribution::NonStandardStudentDistribution(const double& mu, const double& sigma, const double& nu) : StudentDistribution(nu) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } NonStandardStudentDistribution::NonStandardStudentDistribution(const NonStandardStudentDistribution& nsstudent) : StudentDistribution(nsstudent) { - _mu = nsstudent._mu; - _sigma = nsstudent._sigma; + this->mu = nsstudent.mu; + this->sigma = nsstudent.sigma; } unsigned int NonStandardStudentDistribution::get_nb_parameters() const - { return 3; } + { + return 3; + } const double& NonStandardStudentDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void NonStandardStudentDistribution::set_mu(const double& mu) - { _mu = mu; } + { + this->mu = mu; + } const double& NonStandardStudentDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void NonStandardStudentDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) - { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + if (sigma <= 0.) { + throw lower_bound_error("sigma", sigma, 0., true); + } + this->sigma = sigma; } double NonStandardStudentDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double NonStandardStudentDistribution::pdf(const double& value) const - { return StudentDistribution::pdf( (value - _mu) / _sigma ) / _sigma; } + { + return StudentDistribution::pdf((value - this->mu) / this->sigma) / this->sigma; + } double NonStandardStudentDistribution::cdf(const double& value) const - { return StudentDistribution::cdf( (value - _mu) / _sigma ); } + { + return StudentDistribution::cdf((value - this->mu) / this->sigma); + } double NonStandardStudentDistribution::quantile(const double& p) const - { return _mu + _sigma * StudentDistribution::quantile(p); } + { + return this->mu + this->sigma * StudentDistribution::quantile(p); + } std::unique_ptr< UnivariateEvent > NonStandardStudentDistribution::simulate() const { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double NonStandardStudentDistribution::get_mean() const - { return _mu + _sigma * StudentDistribution::get_mean(); } + { + return this->mu + this->sigma * StudentDistribution::get_mean(); + } double NonStandardStudentDistribution::get_variance() const - { return pow(_sigma, 2) * StudentDistribution::get_variance(); } + { + return pow(this->sigma, 2) * StudentDistribution::get_variance(); + } GumbelDistribution::GumbelDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } GumbelDistribution::GumbelDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } GumbelDistribution::GumbelDistribution(const GumbelDistribution& gumbel_max) { - _mu = gumbel_max._mu; - _sigma = gumbel_max._sigma; + this->mu = gumbel_max.mu; + this->sigma = gumbel_max.sigma; } unsigned int GumbelDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& GumbelDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void GumbelDistribution::set_mu(const double& mu) - { _mu = mu; } + { this->mu = mu; } const double& GumbelDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void GumbelDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) - { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + if (sigma <= 0.) { + throw lower_bound_error("sigma", sigma, 0., true); + } + this->sigma = sigma; } // double GumbelDistribution::ldf(const double& value) const @@ -2050,23 +2262,25 @@ namespace statiskit // { return _mu - _sigma * log( -log(p) ); } double GumbelDistribution::ldf(const double& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } double GumbelDistribution::pdf(const double& value) const { - boost::math::extreme_value dist(_mu, _sigma); + boost::math::extreme_value dist(this->mu, this->sigma); return boost::math::pdf(dist, value); } double GumbelDistribution::cdf(const double& value) const { - boost::math::extreme_value dist(_mu, _sigma); + boost::math::extreme_value dist(this->mu, this->sigma); return boost::math::cdf(dist, value); } double GumbelDistribution::quantile(const double& p) const { - boost::math::extreme_value dist(_mu, _sigma); + boost::math::extreme_value dist(this->mu, this->sigma); return boost::math::quantile(dist, p); } @@ -2074,164 +2288,209 @@ namespace statiskit { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double GumbelDistribution::get_mean() const - { return _mu + _sigma * boost::math::constants::euler(); } + { + return this->mu + this->sigma * boost::math::constants::euler(); + } double GumbelDistribution::get_variance() const - { return pow(_sigma * boost::math::constants::pi(), 2) / 6.; } + { + return pow(this->sigma * boost::math::constants::pi(), 2) / 6.; + } GompertzDistribution::GompertzDistribution() { - _mu = 0.; - _sigma = 1.; + this->mu = 0.; + this->sigma = 1.; } GompertzDistribution::GompertzDistribution(const double& mu, const double& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } GompertzDistribution::GompertzDistribution(const GompertzDistribution& gumbel_min) { - _mu = gumbel_min._mu; - _sigma = gumbel_min._sigma; + this->mu = gumbel_min.mu; + this->sigma = gumbel_min.sigma; } unsigned int GompertzDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& GompertzDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void GompertzDistribution::set_mu(const double& mu) - { _mu = mu; } + { + this->mu = mu; + } const double& GompertzDistribution::get_sigma() const - { return _sigma; } + { + return this->sigma; + } void GompertzDistribution::set_sigma(const double& sigma) { - if(sigma <= 0.) - { throw lower_bound_error("sigma", sigma, 0., true); } - _sigma = sigma; + if (sigma <= 0.) { + throw lower_bound_error("sigma", sigma, 0., true); + } + this->sigma = sigma; } double GompertzDistribution::ldf(const double& value) const - { return (value - _mu) / _sigma - exp( (value - _mu) / _sigma) - log(_sigma); } + { + return (value - this->mu) / this->sigma - exp((value - this->mu) / this->sigma) - log(this->sigma); + } double GompertzDistribution::pdf(const double& value) const - { return exp( (value - _mu)/ _sigma - exp( (value - _mu)/ _sigma) ) / _sigma ; } + { + return exp( (value - this->mu)/ this->sigma - exp((value - this->mu)/ this->sigma) ) / this->sigma; + } double GompertzDistribution::cdf(const double& value) const - { return 1 - exp( - exp((value - _mu) / _sigma) ); } + { + return 1 - exp(-exp((value - this->mu) / this->sigma)); + } double GompertzDistribution::quantile(const double& p) const - { return _mu + _sigma * log( -log(1-p) ); } + { + return this->mu + this->sigma * log(-log(1 - p)); + } std::unique_ptr< UnivariateEvent > GompertzDistribution::simulate() const { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double GompertzDistribution::get_mean() const - { return _mu - _sigma * boost::math::constants::euler(); } + { + return this->mu - this->sigma * boost::math::constants::euler(); + } double GompertzDistribution::get_variance() const - { return pow(_sigma * boost::math::constants::pi(), 2) / 6.; } + { + return pow(this->sigma * boost::math::constants::pi(), 2) / 6.; + } ExponentialDistribution::ExponentialDistribution() - { _lambda = 1.; } + { + this->lambda = 1.; + } ExponentialDistribution::ExponentialDistribution(const double& lambda) - { set_lambda(lambda); } + { + this->set_lambda(lambda); + } ExponentialDistribution::ExponentialDistribution(const ExponentialDistribution& exponential) - { _lambda = exponential._lambda; } + { + this->lambda = exponential.lambda; + } ExponentialDistribution::~ExponentialDistribution() {} unsigned int ExponentialDistribution::get_nb_parameters() const - { return 1; } + { + return 1; + } const double& ExponentialDistribution::get_lambda() const - { return _lambda; } + { + return this->lambda; + } void ExponentialDistribution::set_lambda(const double& lambda) { - if(lambda <= 0.) - { throw lower_bound_error("lambda", lambda, 0., true); } - _lambda = lambda; + if (lambda <= 0.) { + throw lower_bound_error("lambda", lambda, 0., true); + } + this->lambda = lambda; } double ExponentialDistribution::ldf(const double& value) const { double l; - if(value <= 0.) - { l = -1 * std::numeric_limits< double >::infinity();; } - else - { l = log(_lambda) - _lambda * value; } + if (value <= 0.) { + l = -1 * std::numeric_limits< double >::infinity(); + } else { + l = log(this->lambda) - this->lambda * value; + } return l; } double ExponentialDistribution::pdf(const double& value) const { double p; - if(value <= 0.) - { p = 0.; } - else - { p = _lambda * exp(-_lambda * value);; } + if (value <= 0.) { + p = 0.; + } else { + p = this->lambda * exp(-this->lambda * value); + } return p; } double ExponentialDistribution::cdf(const double& value) const { double c; - if(value <= 0.) - { c = 0.; } - else - { c = 1 - exp(-_lambda * value); } + if (value <= 0.) { + c = 0.; + } else { + c = 1 - exp(-this->lambda * value); + } return c; } double ExponentialDistribution::quantile(const double& p) const - { return -log(1-p)/_lambda; } + { + return -log(1 - p)/this->lambda; + } std::unique_ptr< UnivariateEvent > ExponentialDistribution::simulate() const { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(quantile(simulator())); + return std::make_unique< ContinuousElementaryEvent >(this->quantile(simulator())); } double ExponentialDistribution::get_mean() const - { return 1/_lambda; } + { + return 1 / this->lambda; + } double ExponentialDistribution::get_variance() const - { return 1/pow(_lambda, 2); } + { + return 1 / pow(this->lambda, 2); + } GammaDistribution::GammaDistribution() { - _alpha = 1.; - _beta = 1.; + this->alpha = 1.; + this->beta = 1.; } GammaDistribution::GammaDistribution(const double& alpha, const double& beta) { - set_alpha(alpha); - set_beta(beta); + this->set_alpha(alpha); + this->set_beta(beta); } GammaDistribution::GammaDistribution(const GammaDistribution& gamma) { - _alpha = gamma._alpha; - _beta = gamma._beta; + this->alpha = gamma.alpha; + this->beta = gamma.beta; } GammaDistribution::~GammaDistribution() @@ -2240,265 +2499,321 @@ namespace statiskit unsigned int GammaDistribution::get_nb_parameters() const { unsigned int nb_parameters = 2; - if(_alpha == 1.) - { --nb_parameters; } + if (this->alpha == 1.) { + --nb_parameters; + } return nb_parameters; } const double& GammaDistribution::get_alpha() const - { return _alpha; } + { + return this->alpha; + } void GammaDistribution::set_alpha(const double& alpha) { - if(alpha <= 0.) - { throw lower_bound_error("alpha", alpha, 0., true); } - _alpha = alpha; + if (alpha <= 0.) { + throw lower_bound_error("alpha", alpha, 0., true); + } + this->alpha = alpha; } const double& GammaDistribution::get_beta() const - { return _beta; } + { + return this->beta; + } void GammaDistribution::set_beta(const double& beta) { - if(beta <= 0.) - { throw lower_bound_error("beta", beta, 0., true); } - _beta = beta; + if (beta <= 0.) { + throw lower_bound_error("beta", beta, 0., true); + } + this->beta = beta; } double GammaDistribution::ldf(const double& value) const { double p; - if(value <= 0.) - { p = 0.; } - else - { p = _alpha * log(_beta) + (_alpha - 1) * log(value) - _beta * value - boost::math::lgamma(_alpha); } + if (value <= 0.) { + p = 0.; + } else { + p = this->alpha * log(this->beta) + (this->alpha - 1) * log(value) - this->beta * value - boost::math::lgamma(this->alpha); + } return p; } double GammaDistribution::pdf(const double& value) const { double p; - if(value <= 0.) - { p = 0.; } - else - { p = (pow(_beta, _alpha) * pow(value, _alpha - 1) * exp( - _beta * value)) / boost::math::tgamma(_alpha); } + if (value <= 0.) { + p = 0.; + } else { + p = (pow(this->beta, this->alpha) * pow(value, this->alpha - 1) * exp(- this->beta * value)) / boost::math::tgamma(this->alpha); + } return p; } double GammaDistribution::cdf(const double& value) const { double p; - if(value <= 0.) - { p = 0.; } - else - { p = boost::math::gamma_p(_alpha, _beta * value); } + if (value <= 0.) { + p = 0.; + } else { + p = boost::math::gamma_p(this->alpha, this->beta * value); + } return p; } double GammaDistribution::quantile(const double& p) const - { return boost::math::gamma_p_inv(_alpha, p) / _beta; } + { + return boost::math::gamma_p_inv(this->alpha, p) / this->beta; + } std::unique_ptr< UnivariateEvent > GammaDistribution::simulate() const { - boost::random::gamma_distribution<> dist(_alpha, 1 / _beta); + boost::random::gamma_distribution<> dist(this->alpha, 1 / this->beta); boost::variate_generator > simulator(__impl::get_random_generator(), dist); return std::make_unique< ContinuousElementaryEvent >(simulator()); } double GammaDistribution::get_mean() const - { return _alpha / _beta; } + { + return this->alpha / this->beta; + } double GammaDistribution::get_variance() const - { return _alpha / pow(_beta, 2); } + { + return this->alpha / pow(this->beta, 2); + } BetaDistribution::BetaDistribution() { - _alpha = 1.; - _beta = 1.; + this->alpha = 1.; + this->beta = 1.; } BetaDistribution::BetaDistribution(const double& alpha, const double& beta) { - set_alpha(alpha); - set_beta(beta); + this->set_alpha(alpha); + this->set_beta(beta); } BetaDistribution::BetaDistribution(const BetaDistribution& beta) { - _alpha = beta._alpha; - _beta = beta._beta; + this->alpha = beta.alpha; + this->beta = beta.beta; } BetaDistribution::~BetaDistribution() {} unsigned int BetaDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& BetaDistribution::get_alpha() const - { return _alpha; } + { + return this->alpha; + } void BetaDistribution::set_alpha(const double& alpha) { - if(alpha <= 0.) - { throw lower_bound_error("alpha", alpha, 0., true); } - _alpha = alpha; + if (alpha <= 0.) { + throw lower_bound_error("alpha", alpha, 0., true); + } + this->alpha = alpha; } const double& BetaDistribution::get_beta() const - { return _beta; } + { + return this->beta; + } void BetaDistribution::set_beta(const double& beta) { - if(beta <= 0.) - { throw lower_bound_error("beta", beta, 0., true); } - _beta = beta; + if (beta <= 0.) { + throw lower_bound_error("beta", beta, 0., true); + } + this->beta = beta; } double BetaDistribution::ldf(const double& value) const { double l; - if(value < 0. || value > 1.) - { l = -1 * std::numeric_limits< double >::infinity(); } - else - { l = boost::math::lgamma(_alpha + _beta) - boost::math::lgamma(_alpha) - boost::math::lgamma(_beta) + (_alpha - 1) * log(value) + (_beta - 1) * log(1 - value); } + if (value < 0. || value > 1.) { + l = -1 * std::numeric_limits< double >::infinity(); + } else { + l = boost::math::lgamma(this->alpha + this->beta) + - boost::math::lgamma(this->alpha) + - boost::math::lgamma(this->beta) + + (this->alpha - 1) * log(value) + + (this->beta - 1) * log(1 - value); + } return l; } double BetaDistribution::pdf(const double& value) const { double p; - if(value < 0. || value > 1.) - { p = 0.; } - else - { p = boost::math::tgamma(_alpha + _beta) / (boost::math::tgamma(_alpha) * boost::math::tgamma(_beta)) * pow(value, _alpha - 1) * pow(1 - value, _beta - 1); } + if (value < 0. || value > 1.) { + p = 0.; + } else { + p = boost::math::tgamma(this->alpha + this->beta) + / (boost::math::tgamma(this->alpha) * boost::math::tgamma(this->beta)) + * pow(value, this->alpha - 1) + * pow(1 - value, this->beta - 1); + } return p; } double BetaDistribution::cdf(const double& value) const { double c; - if(value < 0.) - { c = 0.; } - else - { - if(value > 1.) - { c = 1.; } - else - { c = boost::math::ibeta(_alpha, _beta, value); } + if (value < 0.) { + c = 0.; + } else { + if (value > 1.) { + c = 1.; + } else { + c = boost::math::ibeta(this->alpha, this->beta, value); + } } return c; } double BetaDistribution::quantile(const double& p) const - { return boost::math::ibeta_inv(_alpha, _beta, p); } + { + return boost::math::ibeta_inv(this->alpha, this->beta, p); + } std::unique_ptr< UnivariateEvent > BetaDistribution::simulate() const { - boost::random::beta_distribution<> dist(_alpha, _beta); + boost::random::beta_distribution<> dist(this->alpha, this->beta); boost::variate_generator > simulator(__impl::get_random_generator(), dist); return std::make_unique< ContinuousElementaryEvent >(simulator()); } double BetaDistribution::get_mean() const - { return _alpha / (_alpha + _beta); } + { + return this->alpha / (this->alpha + this->beta); + } double BetaDistribution::get_variance() const - { return _alpha * _beta / (pow(_alpha + _beta, 2) * (_alpha + _beta + 1)); } + { + return this->alpha * this->beta + / (pow(this->alpha + this->beta, 2) * (this->alpha + this->beta + 1)); + } UniformDistribution::UniformDistribution() { - _alpha = 0.; - _beta = 1.; + this->alpha = 0.; + this->beta = 1.; } UniformDistribution::UniformDistribution(const double& alpha, const double& beta) { - set_alpha(alpha); - set_beta(beta); + this->set_alpha(alpha); + this->set_beta(beta); } UniformDistribution::UniformDistribution(const UniformDistribution& uniform) { - _alpha = uniform._alpha; - _beta = uniform._beta; + this->alpha = uniform.alpha; + this->beta = uniform.beta; } UniformDistribution::~UniformDistribution() {} unsigned int UniformDistribution::get_nb_parameters() const - { return 2; } + { + return 2; + } const double& UniformDistribution::get_alpha() const - { return _alpha; } + { + return this->alpha; + } void UniformDistribution::set_alpha(const double& alpha) - {_alpha = alpha; } + { + this->alpha = alpha; + } const double& UniformDistribution::get_beta() const - { return _beta; } + { + return this->beta; + } void UniformDistribution::set_beta(const double& beta) { - if(beta <= _alpha) - { throw lower_bound_error("beta", beta, _alpha, true); } - _beta = beta; + if (beta <= this->alpha) { + throw lower_bound_error("beta", beta, this->alpha, true); + } + this->beta = beta; } double UniformDistribution::ldf(const double& value) const { double l; - if(value < _alpha || value > _beta) - { l = -1 * std::numeric_limits< double >::infinity(); } - else - { l = -log(_beta - _alpha); } + if (value < this->alpha || value > this->beta) { + l = -1 * std::numeric_limits< double >::infinity(); + } else { + l = -log(this->beta - this->alpha); + } return l; } double UniformDistribution::pdf(const double& value) const { double p; - if(value < _alpha || value > _beta) - { p = 0.; } - else - { p = 1/(_beta - _alpha); } + if (value < this->alpha || value > this->beta) { + p = 0.; + } else { + p = 1 / (this->beta - this->alpha); + } return p; } double UniformDistribution::cdf(const double& value) const { double c; - if(value <= _alpha) - { c = 0.; } - else - { - if (value >= _beta) - { c = 1.; } - else - { c = (value - _alpha)/(_beta - _alpha); } + if (value <= this->alpha) { + c = 0.; + } else { + if (value >= this->beta) { + c = 1.; + } else { + c = (value - this->alpha) / (this->beta - this->alpha); + } } return c; } double UniformDistribution::quantile(const double& p) const - { return _alpha + p * (_beta - _alpha); } + { + return this->alpha + p * (this->beta - this->alpha); + } std::unique_ptr< UnivariateEvent > UniformDistribution::simulate() const { boost::uniform_01<> dist; boost::variate_generator > simulator(__impl::get_random_generator(), dist); - return std::make_unique< ContinuousElementaryEvent >(_alpha + (_beta - _alpha) * simulator()); + return std::make_unique< ContinuousElementaryEvent >(this->alpha + (this->beta - this->alpha) * simulator()); } double UniformDistribution::get_mean() const - { return 0.5 * (_alpha + _beta); } + { + return 0.5 * (this->alpha + this->beta); + } double UniformDistribution::get_variance() const - { return pow(_beta - _alpha, 2)/12.; } + { + return pow(this->beta - this->alpha, 2) / 12.; + } - // double UnivariateConditionalDistribution::loglikelihood(const UnivariateConditionalData& data) const // { // double llh = 0.; @@ -2508,7 +2823,7 @@ namespace statiskit // { // ++index; // double weight = generator->weight(); - // if(weight > 0.) + // if (weight > 0.) // { // const UnivariateDistribution* distribution = this->operator() (*(generator->explanatories())); // llh += weight * distribution->probability(generator->response(), true); @@ -2530,21 +2845,25 @@ namespace statiskit { double llh = 0.; std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid() && boost::math::isfinite(llh)) - { + while (generator->is_valid() && boost::math::isfinite(llh)) { double weight = generator->get_weight(); - if(weight > 0.) - { llh += weight * probability(generator.get(), true); } + if (weight > 0.) { + llh += weight * probability(generator.get(), true); + } ++(*generator); } return llh; } CategoricalUnivariateMixtureDistribution::CategoricalUnivariateMixtureDistribution(const std::vector< CategoricalUnivariateDistribution* > observations, const Eigen::VectorXd& pi) - { init(observations, pi); } + { + this->init(observations, pi); + } CategoricalUnivariateMixtureDistribution::CategoricalUnivariateMixtureDistribution(const CategoricalUnivariateMixtureDistribution& mixture) - { init(mixture); } + { + this->init(mixture); + } CategoricalUnivariateMixtureDistribution::~CategoricalUnivariateMixtureDistribution() {} @@ -2552,174 +2871,196 @@ namespace statiskit double CategoricalUnivariateMixtureDistribution::pdf(const int& position) const { double p = 0.; - for(Index index = 0, max_index = get_nb_states(); index < max_index; ++index) - { p += _pi[index] * _observations[index]->pdf(position); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + p += this->pi[index] * this->observations[index]->pdf(position); + } return p; } std::set< std::string > CategoricalUnivariateMixtureDistribution::get_values() const { std::set< std::string > values = std::set< std::string >(); - for(Index index = 0, max_index = get_nb_states(); index < max_index; ++index) + for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - std::set< std::string > _values = _observations[index]->get_values(); - values.insert(_values.cbegin(), _values.cend()); + std::set< std::string > state_values = this->observations[index]->get_values(); + values.insert(state_values.cbegin(), state_values.cend()); } return values; } SplittingDistribution::SplittingDistribution(const DiscreteUnivariateDistribution& sum, const SingularDistribution& singular) { - _sum = nullptr; - _singular = nullptr; - set_sum(sum); - set_singular(singular); + this->sum = nullptr; + this->set_sum(sum); + this->singular = nullptr; + this->set_singular(singular); } SplittingDistribution::SplittingDistribution(const SplittingDistribution& splitting) { - if(splitting._sum) - { _sum = static_cast< DiscreteUnivariateDistribution* >(splitting._sum->copy().release()); } - else - { _sum = nullptr; } - if(splitting._singular) - { _singular = splitting._singular->copy().release(); } - else - { _singular = nullptr; } + if (splitting.sum) { + this->sum = static_cast< DiscreteUnivariateDistribution* >(splitting.sum->copy().release()); + } else { + this->sum = nullptr; + } + if (splitting.singular) { + this->singular = splitting.singular->copy().release(); + } else { + this->singular = nullptr; + } } SplittingDistribution::~SplittingDistribution() { - if(_sum) - { - delete _sum; - _sum = nullptr; + if (this->sum) { + delete this->sum; + this->sum = nullptr; } - if(_singular) - { - delete _singular; - _singular = nullptr; + if (this->singular) { + delete this->singular; + this->singular = nullptr; } } Index SplittingDistribution::get_nb_components() const - { return _singular->get_nb_components(); } + { + return this->singular->get_nb_components(); + } unsigned int SplittingDistribution::get_nb_parameters() const - { return _sum->get_nb_parameters() + _singular->get_nb_parameters(); } + { return this->sum->get_nb_parameters() + this->singular->get_nb_parameters(); } double SplittingDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { double p; - if(event && event->size() == get_nb_components()) - { - try - { + if (event && event->size() == this->get_nb_components()) { + try { int sum = 0; - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { + for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { const UnivariateEvent* uevent = event->get_event(component); - if(uevent) - { - if(uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) - { sum += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } - else - { throw std::exception(); } + if (uevent) { + if (uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { + sum += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); + } else { + throw std::exception(); + } } } - p = _sum->ldf(sum) + _singular->probability(event, logarithm); + p = this->sum->ldf(sum) + this->singular->probability(event, logarithm); + } catch (const std::exception& error) { + p = log(0.); } - catch(const std::exception& error) - { p = log(0.); } + } else { + p = log(0.); + } + if (!logarithm) { + p = exp(p); } - else - { p = log(0.); } - if(!logarithm) - { p = exp(p); } return p; } std::unique_ptr< MultivariateEvent > SplittingDistribution::simulate() const { - int sum = static_cast< DiscreteElementaryEvent* >(_sum->simulate().get())->get_value(); - return _singular->simulate(sum); + int sum = static_cast< DiscreteElementaryEvent* >(this->sum->simulate().get())->get_value(); + return this->singular->simulate(sum); } const DiscreteUnivariateDistribution* SplittingDistribution::get_sum() const - { return _sum; } + { + return this->sum; + } void SplittingDistribution::set_sum(const DiscreteUnivariateDistribution& sum) { - if(sum.cdf(-1) > 0.) - { throw parameter_error("sum", "must have a natural numbers subset as support"); } - if(_sum) - { delete _sum; } - _sum = static_cast< DiscreteUnivariateDistribution* >(sum.copy().release()); + if (sum.cdf(-1) > 0.) { + throw parameter_error("sum", "must have a natural numbers subset as support"); + } + if (this->sum) { + delete this->sum; + } + this->sum = static_cast< DiscreteUnivariateDistribution* >(sum.copy().release()); } SingularDistribution* SplittingDistribution::get_singular() const - { return _singular; } + { + return this->singular; + } void SplittingDistribution::set_singular(const SingularDistribution& singular) { - if(_singular && !singular.get_nb_components() == get_nb_components()) - { throw parameter_error("singular", "has not the required number of components"); } - if(_singular) - { delete _singular; } - _singular = singular.copy().release(); + if (this->singular && !singular.get_nb_components() == this->get_nb_components()) { + throw parameter_error("singular", "has not the required number of components"); + } + if (this->singular) { + delete this->singular; + } + this->singular = singular.copy().release(); } SplittingDistribution::SplittingDistribution() { - _sum = nullptr; - _singular = nullptr; + this->sum = nullptr; + this->singular = nullptr; } MultinormalDistribution::MultinormalDistribution(const Eigen::VectorXd& mu, const Eigen::MatrixXd& sigma) { - _mu = mu; - _sigma = sigma; + this->mu = mu; + this->sigma = sigma; } MultinormalDistribution::MultinormalDistribution(const MultinormalDistribution& normal) { - _mu = normal._mu; - _sigma = normal._mu; + this->mu = normal.mu; + this->sigma = normal.sigma; } MultinormalDistribution::~MultinormalDistribution() {} Index MultinormalDistribution::get_nb_components() const - { return _mu.size(); } + { + return this->mu.size(); + } unsigned int MultinormalDistribution::get_nb_parameters() const - { return _sigma.size() + _mu.size(); } + { + return this->sigma.size() + this->mu.size(); + } std::unique_ptr< MultivariateEvent > MultinormalDistribution::simulate() const { - Eigen::VectorXd x(get_nb_components()); + Eigen::VectorXd x(this->get_nb_components()); boost::normal_distribution<> dist(0.,1.); boost::variate_generator > simulator(__impl::get_random_generator(), dist); - for (Index index = 0, max_index = x.size(); index < max_index; ++index) - { x(index) = simulator(); } - Eigen::LLT llt(_sigma); + for (Index index = 0, max_index = x.size(); index < max_index; ++index) { + x(index) = simulator(); + } + Eigen::LLT llt(this->sigma); Eigen::MatrixXd B = llt.matrixL(); - x = _mu + B*x; + x = this->mu + B * x; return std::make_unique< VectorEvent >(x); } const Eigen::VectorXd& MultinormalDistribution::get_mu() const - { return _mu; } + { + return this->mu; + } void MultinormalDistribution::set_mu(const Eigen::VectorXd& mu) - {_mu = mu; } + { + this->mu = mu; + } const Eigen::MatrixXd& MultinormalDistribution::get_sigma() const - {return _sigma; } + { + return this->sigma; + } void MultinormalDistribution::set_sigma(const Eigen::MatrixXd& sigma) - {_sigma = sigma; } + { + this->sigma = sigma; + } double MultinormalDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { @@ -2729,40 +3070,44 @@ namespace statiskit DirichletDistribution::DirichletDistribution(const Index& nb_components) { - _alpha = Eigen::VectorXd::Ones(nb_components + 1); - set_alpha(_alpha); + this->alpha = Eigen::VectorXd::Ones(nb_components + 1); + this->set_alpha(this->alpha); } DirichletDistribution::DirichletDistribution(const Eigen::VectorXd& alpha) { - _alpha = alpha; - set_alpha(_alpha); + this->set_alpha(this->alpha); } DirichletDistribution::DirichletDistribution(const DirichletDistribution& dirichlet) - { _alpha = dirichlet._alpha; } + { + this->alpha = dirichlet.alpha; + } DirichletDistribution::~DirichletDistribution() {} Index DirichletDistribution::get_nb_components() const - { return _alpha.size() - 1; } + { + return this->alpha.size() - 1; + } unsigned int DirichletDistribution::get_nb_parameters() const - { return _alpha.size(); } + { + return this->alpha.size(); + } std::unique_ptr< MultivariateEvent > DirichletDistribution::simulate() const { Eigen::VectorXd x(get_nb_components()); double sum = 0.; - for (Index index = 0, max_index = x.size(); index < max_index; ++index) - { - boost::random::gamma_distribution<> dist(_alpha(index), 1.); + for (Index index = 0, max_index = x.size(); index < max_index; ++index) { + boost::random::gamma_distribution<> dist(this->alpha(index), 1.); boost::variate_generator > simulator(__impl::get_random_generator(), dist); x(index) = simulator(); sum += x(index); } - boost::random::gamma_distribution<> dist(_alpha(_alpha.size() - 1), 1.); + boost::random::gamma_distribution<> dist(this->alpha(this->alpha.size() - 1), 1.); boost::variate_generator > simulator(__impl::get_random_generator(), dist); sum += simulator(); x /= sum; @@ -2770,66 +3115,66 @@ namespace statiskit } const Eigen::VectorXd& DirichletDistribution::get_alpha() const - { return _alpha; } + { + return this->alpha; + } void DirichletDistribution::set_alpha(const Eigen::VectorXd& alpha) { - if(alpha.size() != _alpha.size()) - { throw size_error("alpha", alpha.size(), _alpha.size(), size_error::size_type::equal); } + if (alpha.size() != this->alpha.size() && this->alpha.size() > 0) { + throw size_error("alpha", alpha.size(), this->alpha.size(), size_error::size_type::equal); + } double sum = 0.; - for(Index index = 0, max_index = alpha.size(); index < max_index; ++index) - { - if(alpha(index) <= 0.) - { throw lower_bound_error("alpha", alpha(index), 0., true); } + for( Index index = 0, max_index = alpha.size(); index < max_index; ++index) { + if (alpha(index) <= 0.) { + throw lower_bound_error("alpha", alpha(index), 0., true); + } sum += alpha(index); } - _constant = 0.; - for(Index index = 0, max_index = alpha.size(); index < max_index; ++index) - { _constant *= boost::math::tgamma(alpha(index)); } - _constant /= boost::math::tgamma(sum); - _alpha = alpha; + this->constant = 0.; + for (Index index = 0, max_index = alpha.size(); index < max_index; ++index) { + this->constant *= boost::math::tgamma(alpha(index)); + } + this->constant /= boost::math::tgamma(sum); + this->alpha = alpha; } double DirichletDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { double p; - if(event) - { - if(event->size() == get_nb_parameters()) - { + if (event) { + if (event->size() == this->get_nb_parameters()) { p = 0.; double sum = 0.; - for(Index index = 0, max_index = event->size(); index < max_index; ++index) - { + for(Index index = 0, max_index = event->size(); index < max_index; ++index) { const UnivariateEvent* uevent = event->get_event(index); - if(uevent && uevent->get_outcome() == outcome_type::CONTINUOUS && uevent->get_censoring() == censoring_type::NONE) - { + if (uevent && uevent->get_outcome() == outcome_type::CONTINUOUS && uevent->get_censoring() == censoring_type::NONE) { const double& value = static_cast< const ContinuousElementaryEvent* >(uevent)->get_value(); - if(value < 1. && value > 0) - { + if (value < 1. && value > 0) { sum += value; - p += (_alpha(index) - 1) * log(value); + p += (this->alpha(index) - 1) * log(value); + } else { + p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = -1 * std::numeric_limits< double >::infinity(); } + } else { + p = std::numeric_limits< double >::quiet_NaN(); } - else - { p = std::numeric_limits< double >::quiet_NaN(); } } - if(boost::math::isfinite(p)) - { p += (_alpha(_alpha.size() - 1) - 1) * log(1 - sum); } - if(!logarithm) + if (boost::math::isfinite(p)) { + p += (this->alpha(this->alpha.size() - 1) - 1) * log(1 - sum); + } + if (!logarithm) { p = exp(p); } + } else if (logarithm) { + p = -1 * std::numeric_limits< double >::infinity(); + } else { + p = 0.; } - else if(logarithm) - { p = -1 * std::numeric_limits< double >::infinity(); } - else - { p = 0.; } - } - else if(logarithm) - { p = 0.; } - else - { p = 1.; } + } else if (logarithm) { + p = 0.; + } else { + p = 1.; + } return p; } @@ -2843,7 +3188,7 @@ namespace statiskit // while(generator->is_valid() && boost::math::isfinite(llh)) // { // double weight = generator->weight(); - // if(weight > 0.) + // if (weight > 0.) // { // const MultivariateDistribution* distribution = this->operator() (*(generator->explanatories())); // llh += weight * distribution->probability(generator->responses(), true); @@ -2854,44 +3199,47 @@ namespace statiskit // } DiscreteUnivariateMixtureDistribution::DiscreteUnivariateMixtureDistribution(const std::vector< DiscreteUnivariateDistribution* > observations, const Eigen::VectorXd& pi) - { init(observations, pi); } + { + this->init(observations, pi); + } DiscreteUnivariateMixtureDistribution::DiscreteUnivariateMixtureDistribution(const DiscreteUnivariateMixtureDistribution& mixture) - { init(mixture); } + { + this->init(mixture); + } DiscreteUnivariateMixtureDistribution::~DiscreteUnivariateMixtureDistribution() {} int DiscreteUnivariateMixtureDistribution::quantile(const double& p) const { - int lv = _observations[0]->quantile(p); + int lv = this->observations[0]->quantile(p); int rv = lv; - for(Index index = 1, max_index = get_nb_states(); index < max_index; ++index) - { - int current = _observations[index]->quantile(p); - if(current < lv) - { lv = current; } - else if(current > rv) - { rv = current; } + for (Index index = 1, max_index = this->get_nb_states(); index < max_index; ++index) { + int current = this->observations[index]->quantile(p); + if (current < lv) { + lv = current; + } else if (current > rv) { + rv = current; + } } --lv; - while(cdf(lv) >= p) - { --lv; } + while (this->cdf(lv) >= p) { + --lv; + } ++rv; - while(cdf(rv) <= p) - { ++rv; } - double lp = cdf(lv), rp = cdf(rv); - do - { + while (this->cdf(rv) <= p) { + ++rv; + } + double lp = this->cdf(lv); + double rp = this->cdf(rv); + do { int mv = (rv + lv)/2; - double mp = cdf(mv); - if(mp < p) - { + double mp = this->cdf(mv); + if (mp < p) { lv = mv; lp = mp; - } - else - { + } else { rv = mv; rp = mp; } @@ -2901,14 +3249,14 @@ namespace statiskit ContinuousUnivariateMixtureDistribution::ContinuousUnivariateMixtureDistribution(const std::vector< ContinuousUnivariateDistribution* > observations, const Eigen::VectorXd& pi) { - init(observations, pi); - _epsilon = 1e-6; + this->init(observations, pi); + this->epsilon = 1e-6; } ContinuousUnivariateMixtureDistribution::ContinuousUnivariateMixtureDistribution(const ContinuousUnivariateMixtureDistribution& mixture) { - init(mixture); - _epsilon = mixture._epsilon; + this->init(mixture); + this->epsilon = mixture.epsilon; } ContinuousUnivariateMixtureDistribution::~ContinuousUnivariateMixtureDistribution() @@ -2916,96 +3264,98 @@ namespace statiskit double ContinuousUnivariateMixtureDistribution::quantile(const double& p) const { - double lv = _observations[0]->quantile(p); + double lv = this->observations[0]->quantile(p); double rv = lv; - for(Index index = 1, max_index = get_nb_states(); index < max_index; ++index) - { - double current = _observations[0]->quantile(p); - if(current < lv) - { lv = current; } - else if(current > rv) - { rv = current; } - } - double lp = cdf(lv), rp = cdf(rv); - do - { + for (Index index = 1, max_index = this->get_nb_states(); index < max_index; ++index) { + double current = this->observations[0]->quantile(p); + if (current < lv) { + lv = current; + } else if (current > rv) { + rv = current; + } + } + double lp = this->cdf(lv); + double rp = this->cdf(rv); + do { int mv = (rv + lv)/2; - double mp = cdf(mv); - if(mp < p) - { + double mp = this->cdf(mv); + if (mp < p) { lv = mv; lp = mp; - } - else - { + } else { rv = mv; rp = mp; } - } while(rv - lv > _epsilon); + } while(rv - lv > this->epsilon); return rv; } double ContinuousUnivariateMixtureDistribution::get_epsilon() const - { return _epsilon; } + { return this->epsilon; } void ContinuousUnivariateMixtureDistribution::set_epsilon(const double& epsilon) { - if(epsilon <= 0.) - { throw lower_bound_error("epsilon", epsilon, 0., true); } - _epsilon = epsilon; + if (epsilon <= 0.) { + throw lower_bound_error("epsilon", epsilon, 0., true); + } + this->epsilon = epsilon; } - MixtureSingularDistribution::MixtureSingularDistribution(const std::vector< SingularDistribution* > observations, const Eigen::VectorXd& pi) { this->init(observations, pi); std::vector< SingularDistribution* >::const_iterator it = observations.cbegin(), it_end = observations.cend(); Index nb_components = (*it)->get_nb_components(); ++it; - while(it != it_end) - { - if((*it)->get_nb_components() != nb_components) - { throw parameter_error("observations", "not same number of components"); } + while (it != it_end) { + if ((*it)->get_nb_components() != nb_components) { + throw parameter_error("observations", "not same number of components"); + } ++it; } - } MixtureSingularDistribution::MixtureSingularDistribution(const MixtureSingularDistribution& mixture) - { init(mixture); } + { + this->init(mixture); + } MixtureSingularDistribution::~MixtureSingularDistribution() {} void MixtureSingularDistribution::set_observation(const Index& index, const SingularDistribution& observation) { - if(observation.get_nb_components() != get_nb_components()) - { throw parameter_error("observation", "not same number of components"); } + if (observation.get_nb_components() != this->get_nb_components()) { + throw parameter_error("observation", "not same number of components"); + } MixtureDistribution< SingularDistribution >::set_observation(index, observation); } Index MixtureSingularDistribution::get_nb_components() const - { return this->_observations.back()->get_nb_components(); } + { + return this->observations.back()->get_nb_components(); + } double MixtureSingularDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { double p = 0.; - for(Index index = 0, max_index = get_nb_states(); index < max_index; ++index) - { p += _pi[index] * _observations[index]->probability(event, false); } - if(logarithm) - { p = log(p); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + p += this->pi[index] * this->observations[index]->probability(event, false); + } + if (logarithm) { + p = log(p); + } return p; } std::unique_ptr< MultivariateEvent > MixtureSingularDistribution::simulate(unsigned int sum) const { - double cp = _pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); - Index index = 0, max_index = get_nb_states(); - while(cp < sp && index < max_index) - { + double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); + Index index = 0, max_index = this->get_nb_states(); + while(cp < sp && index < max_index) { ++index; - cp += _pi[index]; + cp += this->pi[index]; } - return _observations[index]->simulate(sum); + return this->observations[index]->simulate(sum); } } diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index f2e5a132..a8b88bb7 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -1,27 +1,26 @@ #pragma once -#include "base.h" -#include "data.h" -#include "singular.h" -#include - -#include -#include -#include - -#include -#include +#include #include +#include +#include #include -#include - -#include +#include +#include +#include #include +#include +#include +#include +#include #include #include -#include -#include -#include + +#include + +#include "base.h" +#include "data.h" +#include "singular.h" namespace statiskit { @@ -75,8 +74,8 @@ namespace statiskit void set_pi(const Eigen::VectorXd& pi); protected: - std::set< typename T::event_type::value_type > _values; - Eigen::VectorXd _pi; + std::set< typename T::event_type::value_type > values; + Eigen::VectorXd pi; void init(const std::set< typename T::event_type::value_type >& values); void init(const std::set< typename T::event_type::value_type >& values, const Eigen::VectorXd& pi); @@ -170,9 +169,9 @@ namespace statiskit //virtual std::unique_ptr< UnivariateDistribution > copy() const; protected: - std::string _value; - std::string _reference_value; - double _pi; + std::string value; + std::string reference_value; + double pi; }; /** \brief This class NominalDistribution represents the distribution of a random nominal component \f$ S\f$. The support is a finite non-ordered set of categories (string) \f$ \mathcal{S} \f$ and we have \f$ \sum_{s\in \mathcal{S}} P(S=s) = 1\f$. @@ -256,7 +255,7 @@ namespace statiskit void set_ordered_pi(const Eigen::VectorXd& ordered_pi); protected: - std::vector< Index > _rank; + std::vector< Index > rank; }; class STATISKIT_CORE_API HierarchicalDistribution : public PolymorphicCopy< UnivariateDistribution, HierarchicalDistribution, CategoricalUnivariateDistribution > @@ -291,12 +290,12 @@ namespace statiskit const CategoricalUnivariateDistribution* get_distribution(const std::string& value) const; void set_distribution(const std::string& value, const CategoricalUnivariateDistribution& distribution); - const std::string parent(const std::string& value) const; + std::string parent(const std::string& value) const; protected: - std::map< std::string, CategoricalUnivariateDistribution* > _tree_distribution; - std::map< std::string, std::string > _parents; - std::set< std::string > _values; + std::map< std::string, CategoricalUnivariateDistribution* > tree_distribution; + std::map< std::string, std::string > parents; + std::set< std::string > values; void check_internal(const std::string& value) const; @@ -349,8 +348,8 @@ namespace statiskit void set_distribution(const T& distribution); protected: - typename T::event_type::value_type _shift; - T* _distribution; + typename T::event_type::value_type shift; + T* distribution; }; /** \brief This virtual class DiscreteUnivariateDistribution represents the distribution of a random discrete component \f$ N\f$. The support is \f$ \mathbb{Z} \f$ and we have \f$ \sum_{n\in \mathbb{Z}} P(N=n) = 1\f$. @@ -501,7 +500,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _theta; + double theta; }; /** \brief This class BinomialDistribution represents a [binomial distribution](https://en.wikipedia.org/wiki/binomial_distribution) @@ -615,8 +614,8 @@ namespace statiskit virtual double get_variance() const; protected: - unsigned int _kappa; - double _pi; + unsigned int kappa; + double pi; }; class STATISKIT_CORE_API LogarithmicDistribution : public PolymorphicCopy< UnivariateDistribution, LogarithmicDistribution, DiscreteUnivariateDistribution > @@ -643,7 +642,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _theta; + double theta; }; class STATISKIT_CORE_API GeometricDistribution : public PolymorphicCopy< UnivariateDistribution, GeometricDistribution, DiscreteUnivariateDistribution > @@ -676,7 +675,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _pi; + double pi; }; /** \brief This class NegativeBinomialDistribution represents a [negative binomial distribution](https://en.wikipedia.org/wiki/Negative_binomial_distribution) @@ -775,8 +774,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _kappa; - double _pi; + double kappa; + double pi; }; class STATISKIT_CORE_API BetaCompoundDiscreteUnivariateDistribution : public DiscreteUnivariateDistribution @@ -795,8 +794,8 @@ namespace statiskit void set_gamma(const double& gamma); protected: - double _alpha; - double _gamma; + double alpha; + double gamma; }; class STATISKIT_CORE_API BetaBinomialDistribution : public PolymorphicCopy< UnivariateDistribution, BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > @@ -855,7 +854,7 @@ namespace statiskit virtual double get_variance() const; protected: - unsigned int _kappa; + unsigned int kappa; }; class STATISKIT_CORE_API BetaNegativeBinomialDistribution : public PolymorphicCopy< UnivariateDistribution, BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > @@ -913,7 +912,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _kappa; + double kappa; }; /** \brief This virtual class ContinuousUnivariateDistribution represents the distribution of a random continuous component \f$ X\f$. The support is \f$ \mathbb{R} \f$ and we have \f$ \int_{-\infty}^{\infty} f(x) dx = 1\f$. @@ -1056,8 +1055,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; class STATISKIT_CORE_API UnivariateHistogramDistribution : public PolymorphicCopy< UnivariateDistribution, UnivariateHistogramDistribution, ContinuousUnivariateDistribution > @@ -1086,8 +1085,8 @@ namespace statiskit virtual double get_variance() const; protected: - std::set _bins; - std::vector _densities; + std::set bins; + std::vector densities; void normalize(); }; @@ -1183,8 +1182,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; /** \brief This class LaplaceDistribution represents a [Laplace distribution](https://en.wikipedia.org/wiki/Laplace_distribution). @@ -1291,8 +1290,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; /** \brief This class CauchyDistribution represents a [Cauchy distribution](https://en.wikipedia.org/wiki/Cauchy_distribution). @@ -1389,8 +1388,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; /** \brief This class NonStandardStudentDistribution represents a Student distribution. @@ -1451,7 +1450,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _nu; + double nu; }; /** \brief This class NonStandardStudentDistribution represents a non standardized Student distribution. @@ -1580,8 +1579,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; @@ -1677,8 +1676,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; /** \brief This class GompertzDistribution represents a Gumbel distribution (minimum). @@ -1775,8 +1774,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _mu; - double _sigma; + double mu; + double sigma; }; @@ -1870,7 +1869,7 @@ namespace statiskit virtual double get_variance() const; protected: - double _lambda; + double lambda; }; @@ -1974,8 +1973,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _alpha; - double _beta; + double alpha; + double beta; }; @@ -2079,8 +2078,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _alpha; - double _beta; + double alpha; + double beta; }; @@ -2184,8 +2183,8 @@ namespace statiskit virtual double get_variance() const; protected: - double _alpha; - double _beta; + double alpha; + double beta; }; @@ -2196,7 +2195,7 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateConditionalDistribution { typedef UnivariateDistribution response_type; - + virtual ~UnivariateConditionalDistribution() = 0; /// \Brief This is an operation of conditioning that returns the conditional distribution \f$ Y \vert \boldsymbol{X} = \boldsymbol{x} \f$. @@ -2293,8 +2292,8 @@ namespace statiskit void set_singular(const SingularDistribution& singular); protected: - DiscreteUnivariateDistribution* _sum; - SingularDistribution* _singular; + DiscreteUnivariateDistribution* sum; + SingularDistribution* singular; SplittingDistribution(); }; @@ -2326,8 +2325,8 @@ namespace statiskit void set_sigma(const Eigen::MatrixXd& sigma); protected: - Eigen::VectorXd _mu; - Eigen::MatrixXd _sigma; + Eigen::VectorXd mu; + Eigen::MatrixXd sigma; }; class STATISKIT_CORE_API DirichletDistribution : public PolymorphicCopy< MultivariateDistribution, DirichletDistribution, ContinuousMultivariateDistribution > @@ -2350,38 +2349,10 @@ namespace statiskit void set_alpha(const Eigen::VectorXd& alpha); protected: - Eigen::VectorXd _alpha; - double _constant; + Eigen::VectorXd alpha; + double constant; }; - /*template class IndependentMultivariateDistribution : public PolymorphicCopy< MultivariateDistribution, IndependentMultivariateDistribution< D >, D > - { - public: - IndependentMultivariateDistribution(const std::vector< typename D::marginal_type* >& marginals); - IndependentMultivariateDistribution(const IndependentMultivariateDistribution< D >& independent); - virtual ~IndependentMultivariateDistribution(); - - virtual Index get_nb_components() const; - - virtual unsigned int get_nb_parameters() const; - - virtual double probability(const MultivariateEvent* event, const bool& logarithm) const; - - typename D::marginal_type* get_marginal(const Index& index) const; - void set_marginal(const Index& index, const typename D::marginal_type& marginal); - - virtual std::unique_ptr< MultivariateEvent > simulate() const; - - protected: - std::vector< typename D::marginal_type* > _marginals; - }; - - typedef IndependentMultivariateDistribution< MultivariateDistribution > MixedIndependentMultivariateDistribution; - typedef IndependentMultivariateDistribution< CategoricalMultivariateDistribution > CategoricalIndependentMultivariateDistribution; - typedef IndependentMultivariateDistribution< DiscreteMultivariateDistribution > DiscreteIndependentMultivariateDistribution; - typedef IndependentMultivariateDistribution< ContinuousMultivariateDistribution > ContinuousIndependentMultivariateDistribution;*/ - - struct STATISKIT_CORE_API MultivariateConditionalDistribution { typedef MultivariateDistribution response_type; @@ -2437,8 +2408,8 @@ namespace statiskit double uncertainty(const typename D::data_type& data) const; protected: - std::vector< D* > _observations; - Eigen::VectorXd _pi; + std::vector< D* > observations; + Eigen::VectorXd pi; void init(const std::vector< D* > observations, const Eigen::VectorXd& pi); void init(const MixtureDistribution< D >& mixture); @@ -2505,7 +2476,7 @@ namespace statiskit void set_epsilon(const double& epsilon); protected: - double _epsilon; + double epsilon; }; typedef std::vector< ContinuousUnivariateDistribution* > ContinuousUnivariateDistributionVector; @@ -2553,7 +2524,4 @@ namespace statiskit typedef std::vector< ContinuousMultivariateDistribution* > ContinuousMultivariateDistributionVector; } -#ifndef AUTOWIG -#include "distribution.hpp" -#endif -#endif +#include "distribution.hpp" \ No newline at end of file diff --git a/src/cpp/distribution.hpp b/src/cpp/distribution.hpp index b0e45be7..f4924987 100644 --- a/src/cpp/distribution.hpp +++ b/src/cpp/distribution.hpp @@ -1,6 +1,5 @@ #ifndef AUTOWIG -#ifndef STATISKIT_CORE_DISTRIBUTION_HPP -#define STATISKIT_CORE_DISTRIBUTION_HPP +#pragma once namespace statiskit { @@ -10,131 +9,150 @@ namespace statiskit template unsigned int UnivariateFrequencyDistribution< T >::get_nb_parameters() const - { return _pi.size() - 1; } + { + return this->pi.size() - 1; + } template double UnivariateFrequencyDistribution< T >::ldf(const typename T::event_type::value_type& value) const - { return log(pdf(value)); } + { + return log(pdf(value)); + } template double UnivariateFrequencyDistribution< T >::pdf(const typename T::event_type::value_type& value) const { double p; - typename std::set< typename T::event_type::value_type >::const_iterator it = _values.find(value); - if(it == _values.end()) - { p = 0.; } - else - { p = _pi[distance(_values.cbegin(), it)]; } + typename std::set< typename T::event_type::value_type >::const_iterator it = this->values.find(value); + if (it == this->values.end()) { + p = 0.; + } else { + p = this->pi[distance(this->values.cbegin(), it)]; + } return p; } template std::unique_ptr< UnivariateEvent > UnivariateFrequencyDistribution< T >::simulate() const { - double cp = _pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); - typename std::set< typename T::event_type::value_type >::const_iterator it = _values.cbegin(); - while(it != _values.cend() && cp < sp) - { + double cp = this->pi[0]; + double sp = boost::uniform_01(__impl::get_random_generator())(); + typename std::set< typename T::event_type::value_type >::const_iterator it = this->values.cbegin(); + while (it != this->values.cend() && cp < sp) { ++it; - cp += _pi[distance(_values.cbegin(), it)]; + cp += this->pi[distance(this->values.cbegin(), it)]; + } + if (it == this->values.cend()) { + --it; } - if(it == _values.cend()) - { --it; } return std::make_unique< ElementaryEvent< typename T::event_type > >(*it); } template std::set< typename T::event_type::value_type > UnivariateFrequencyDistribution< T >::get_values() const - { return _values; } + { + return this->values; + } template const Eigen::VectorXd& UnivariateFrequencyDistribution< T >::get_pi() const - { return _pi; } + { + return this->pi; + } template void UnivariateFrequencyDistribution< T >::set_pi(const Eigen::VectorXd& pi) { - if(pi.rows() == _values.size() - 1) - { - Index j = 0; - while(j < pi.rows() && pi[j] >= 0.) - { ++j; } - if(j < pi.rows()) - { throw parameter_error("pi", "contains negative values"); } + if (pi.rows() == this->values.size() - 1) { + Index index = 0; + while (index < pi.rows() && pi[index] >= 0.) { + ++index; + } + if (index < pi.rows()) { + throw parameter_error("pi", "contains negative values"); + } double sum = pi.sum(); - if(sum < 1) - { - _pi.segment(0, _values.size() - 1) = pi; - _pi[_values.size()-1] = 1 - sum; - } - else - { throw parameter_error("pi", "last category values"); } - } - else if(pi.rows() == _values.size()) - { - Index j = 0; - while(j < pi.rows() && pi[j] >= 0.) - { ++j; } - if(j < pi.rows()) - { throw parameter_error("pi", "contains negative values"); } - _pi = pi / pi.sum(); - } - else - { throw parameter_error("pi", "number of parameters"); } + if (sum < 1) { + this->pi.segment(0, this->values.size() - 1) = pi; + this->pi[this->values.size()-1] = 1 - sum; + } else { + throw parameter_error("pi", "last category values"); + } + } else if (pi.rows() == this->values.size()) { + Index index = 0; + while (index < pi.rows() && pi[index] >= 0.) { + ++index; + } + if (index < pi.rows()) { + throw parameter_error("pi", "contains negative values"); + } + this->pi = pi / pi.sum(); + } else { + throw parameter_error("pi", "number of parameters"); + } } template void UnivariateFrequencyDistribution< T >::init(const std::set< typename T::event_type::value_type >& values) { - if(values.size() == 0) - { throw size_error("values", 0, 0, size_error::superior); } - _values = values; - _pi = Eigen::VectorXd::Ones(values.size()); - _pi = _pi / _pi.sum(); + if (values.size() == 0) { + throw size_error("values", 0, 0, size_error::superior); + } + this->values = values; + this->pi = Eigen::VectorXd::Ones(values.size()); + this->pi /= this->pi.sum(); } template void UnivariateFrequencyDistribution< T >::init(const std::set< typename T::event_type::value_type >& values, const Eigen::VectorXd& pi) { - if(values.size() == 0) - { throw size_error("values", 0, 0, size_error::superior); } - if(values.size() != pi.size()) - { throw size_error("values", 0, values.size(), size_error::equal); } - _values = values; - set_pi(pi); + if (values.size() == 0) { + throw size_error("values", 0, 0, size_error::superior); + } + if (values.size() != pi.size()) { + throw size_error("values", 0, values.size(), size_error::equal); + } + this->values = values; + this->set_pi(pi); } template void UnivariateFrequencyDistribution< T >::init(const UnivariateFrequencyDistribution< T >& frequency) { - _values = frequency._values; - _pi = frequency._pi; + this->values = frequency.values; + this->pi = frequency.pi; } template QuantitativeUnivariateFrequencyDistribution::QuantitativeUnivariateFrequencyDistribution(const std::set< typename T::event_type::value_type >& values) - { this->init(values); } + { + this->init(values); + } template QuantitativeUnivariateFrequencyDistribution::QuantitativeUnivariateFrequencyDistribution(const std::set< typename T::event_type::value_type >& values, const Eigen::VectorXd& pi) - { this->init(values, pi); } + { + this->init(values, pi); + } template - QuantitativeUnivariateFrequencyDistribution::QuantitativeUnivariateFrequencyDistribution(const UnivariateFrequencyDistribution< T >& frequency) - { this->init(frequency); } + QuantitativeUnivariateFrequencyDistribution::QuantitativeUnivariateFrequencyDistribution(const UnivariateFrequencyDistribution< T >& frequency) + { + this->init(frequency); + } template double QuantitativeUnivariateFrequencyDistribution< T >::cdf(const typename T::event_type::value_type& value) const { double p = 0.; - typename std::set< typename T::event_type::value_type >::const_iterator it = this->_values.cbegin(); - while(it != this->_values.cend() && *it <= value) - { - p += this->_pi[distance(this->_values.cbegin(), it)]; + typename std::set< typename T::event_type::value_type >::const_iterator it = this->values.cbegin(); + while (it != this->values.cend() && *it <= value) { + p += this->pi[distance(this->values.cbegin(), it)]; ++it; } - if(it == this->_values.cend()) - { p = 1.; } + if (it == this->values.cend()) { + p = 1.; + } return p; } @@ -143,15 +161,17 @@ namespace statiskit { double tp = 0.; typename T::event_type::value_type q; - typename std::set< typename T::event_type::value_type >::const_iterator it_begin = this->_values.cbegin(), it, it_end = this->_values.cend(); + typename std::set< typename T::event_type::value_type >::const_iterator it_begin = this->values.cbegin(); + typename std::set< typename T::event_type::value_type >::const_iterator it = it_begin; + typename std::set< typename T::event_type::value_type >::const_iterator it_end = this->values.cend(); it = it_begin; - while(it != it_end && tp < p) - { - tp += this->_pi[distance(it_begin, it)]; + while (it != it_end && tp < p) { + tp += this->pi[distance(it_begin, it)]; ++it; } - if(it != it_begin) - { --it; } + if (it != it_begin) { + --it; + } q = *it; return q; } @@ -160,190 +180,115 @@ namespace statiskit double QuantitativeUnivariateFrequencyDistribution< T >::get_mean() const { double mean = 0.; - for(typename std::set< typename T::event_type::value_type >::const_iterator it = this->_values.cbegin(), it_end = this->_values.cend(); it != it_end; ++it) - { mean += *it * this->_pi[distance(this->_values.cbegin(), it)]; } + for (typename std::set< typename T::event_type::value_type >::const_iterator it = this->values.cbegin(), it_end = this->values.cend(); it != it_end; ++it) { + mean += *it * this->pi[distance(this->values.cbegin(), it)]; + } return mean; } template double QuantitativeUnivariateFrequencyDistribution< T >::get_variance() const { - double mean = get_mean(), variance = 0.; - for(typename std::set< typename T::event_type::value_type >::const_iterator it = this->_values.cbegin(), it_end = this->_values.cend(); it != it_end; ++it) - { variance += pow(*it-mean, 2) * this->_pi[distance(this->_values.cbegin(), it)]; } + double mean = this->get_mean(), variance = 0.; + for (typename std::set< typename T::event_type::value_type >::const_iterator it = this->values.cbegin(), it_end = this->values.cend(); it != it_end; ++it) { + variance += pow(*it-mean, 2) * this->pi[distance(this->values.cbegin(), it)]; + } return variance; } template ShiftedDistribution< T >::ShiftedDistribution(const T& distribution, const typename T::event_type::value_type& shift) { - _distribution = static_cast< T* >(distribution.copy().release()); - _shift = shift; + this->distribution = static_cast< T* >(distribution.copy().release()); + this->shift = shift; } template ShiftedDistribution< T >::ShiftedDistribution(const ShiftedDistribution< T >& distribution) { - _distribution = static_cast< T* >(distribution._distribution->copy().release()); - _shift = distribution._shift; + this->distribution = static_cast< T* >(distribution.distribution->copy().release()); + this->shift = distribution.shift; } template ShiftedDistribution< T >::~ShiftedDistribution() - { delete _distribution; } + { + delete this->distribution; + } template unsigned int ShiftedDistribution< T >::get_nb_parameters() const - { return _distribution->get_nb_parameters() + 1 * bool(_shift != 0); } + { + return this->distribution->get_nb_parameters() + 1 * bool(this->shift != 0); + } template std::unique_ptr< UnivariateEvent > ShiftedDistribution< T >::simulate() const - { return std::make_unique< ElementaryEvent< typename T::event_type > >(static_cast< ElementaryEvent< typename T::event_type > * >(_distribution->simulate().get())->get_value() + _shift); } + { + return std::make_unique< ElementaryEvent< typename T::event_type > >(static_cast< ElementaryEvent< typename T::event_type > * >(this->distribution->simulate().get())->get_value() + this->shift); + } template double ShiftedDistribution< T >::ldf(const typename T::event_type::value_type& value) const - { return _distribution->ldf(value - _shift); } + { + return this->distribution->ldf(value - this->shift); + } template double ShiftedDistribution< T >::pdf(const typename T::event_type::value_type& value) const - { return _distribution->pdf(value - _shift); } + { + return this->distribution->pdf(value - this->shift); + } template double ShiftedDistribution< T >::cdf(const typename T::event_type::value_type& value) const - { return _distribution->cdf(value - _shift); } + { + return this->distribution->cdf(value - this->shift); + } template typename T::event_type::value_type ShiftedDistribution< T >::quantile(const double& p) const - { return _distribution->quantile(p) + _shift; } + { + return this->distribution->quantile(p) + this->shift; + } template double ShiftedDistribution< T >::get_mean() const - { return _distribution->get_mean() + _shift; } + { + return this->distribution->get_mean() + this->shift; + } template double ShiftedDistribution< T >::get_variance() const - { return _distribution->get_variance(); } + { + return this->distribution->get_variance(); + } template const typename T::event_type::value_type& ShiftedDistribution< T >::get_shift() const - { return _shift; } + { + return this->shift; + } template void ShiftedDistribution< T >::set_shift(const typename T::event_type::value_type& shift) - { _shift = shift; } + { + this->shift = shift; + } template const T* ShiftedDistribution< T >::get_distribution() const - { return _distribution; } + { + return this->distribution; + } template void ShiftedDistribution< T >::set_distribution(const T& distribution) { - delete _distribution; - _distribution = static_cast< T* >(distribution.copy().release()); - } - - /*template - IndependentMultivariateDistribution< D >::IndependentMultivariateDistribution(const std::vector< typename D::marginal_type >& marginals) - { - _marginals.resize(marginals.size(), nullptr); - Index component = 0; - for(typename std::vector< typename D::marginal_type >::const_iterator it = marginals.cbegin(), it_end = marginals.cend(); it != it_end; ++it_end) - { - _marginals[component] = static_cast< typename D::marginal_type* >(it->copy().release()); - ++component; - } - } - - template - IndependentMultivariateDistribution< D >::IndependentMultivariateDistribution(const IndependentMultivariateDistribution< D >& independent) - { - _marginals.resize(independent.get_nb_components(), nullptr); - Index component = 0; - for(typename std::vector< typename D::marginal_type* >::const_iterator it = independent._marginals.cbegin(), it_end = independent._marginals.cend(); it != it_end; ++it_end) - { - _marginals[component] = static_cast< typename D::marginal_type* >((*it)->copy().release()); - ++component; - } - } - - template - IndependentMultivariateDistribution< D >::~IndependentMultivariateDistribution() - { - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { - if(_marginals[component]) - { - delete _marginals[component]; - _marginals[component] = nullptr; - } - } - _marginals.clear(); + delete this->distribution; + this->distribution = static_cast< T* >(distribution.copy().release()); } - template - Index IndependentMultivariateDistribution< D >::get_nb_components() const - { return _marginals.size(); } - - template - unsigned int IndependentMultivariateDistribution< D >::get_nb_parameters() const - { - unsigned int nb_parameters = 0; - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { nb_parameters += _marginals[component]->get_nb_parameters(); } - return nb_parameters; - } - - template - double IndependentMultivariateDistribution< D >::probability(const MultivariateEvent* event, const bool& logarithm) const - { - double p = 0.; - if(event) - { - if(event->size() == get_nb_components()) - { - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { p += _marginals[component]->probability(event->get(component), true); } - } - else - { throw size_error("event", get_nb_components(), size_error::equal); } - if(!logarithm) - { p = exp(p); } - } - else if(logarithm) - { p = 0.; } - else - { p = 1.; } - return p; - } - - template - typename D::marginal_type* IndependentMultivariateDistribution< D >:: get_marginal(const Index& index) const - { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - return _marginals[index]; - } - - - template - void IndependentMultivariateDistribution< D >::set_marginal(const Index& index, const typename D::marginal_type& marginal) - { - if(index > get_nb_components()) - { throw size_error("index", get_nb_components(), size_error::inferior); } - delete _marginals[index]; - _marginals[index] = static_cast< typename D::marginal_type* >(marginal.copy().release()); - } - - template - std::unique_ptr< MultivariateEvent > IndependentMultivariateDistribution< D >::simulate() const - { - VectorEvent* event = new VectorEvent(get_nb_components()); - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { event->set(component, *(_marginals[component]->simulate().get())); } - return std::unique_ptr< MultivariateEvent >(event); - }*/ - template MixtureDistribution< D >::MixtureDistribution() {} @@ -351,53 +296,60 @@ namespace statiskit template MixtureDistribution< D >::~MixtureDistribution() { - for(Index index = 0, max_index = _observations.size(); index < max_index; ++index) - { - delete _observations[index]; - _observations[index] = nullptr; + for (Index index = 0, max_index = this->observations.size(); index < max_index; ++index) { + delete this->observations[index]; + this->observations[index] = nullptr; } - _observations.clear(); + this->observations.clear(); } template unsigned int MixtureDistribution< D >::get_nb_parameters() const { - unsigned int nb_parameters = _pi.size() - 1; - for(Index index = 0, max_index = _observations.size(); index < max_index; ++index) - { nb_parameters += _observations[index]->get_nb_parameters(); } + unsigned int nb_parameters = this->pi.size() - 1; + for (Index index = 0, max_index = this->observations.size(); index < max_index; ++index) { + nb_parameters += this->observations[index]->get_nb_parameters(); + } return nb_parameters; } template Index MixtureDistribution< D >::get_nb_states() const - { return _pi.size(); } + { + return this->pi.size(); + } template const D* MixtureDistribution< D >::get_observation(const Index& index) const { - if(index >= get_nb_states()) - { throw size_error("index", get_nb_states(), size_error::inferior); } - return _observations[index]; + if (index >= get_nb_states()) { + throw size_error("index", get_nb_states(), size_error::inferior); + } + return this->observations[index]; } template void MixtureDistribution< D >::set_observation(const Index& index, const D& observation) { - if(index >= get_nb_states()) - { throw size_error("index", get_nb_states(), size_error::inferior); } - _observations[index] = static_cast< D* >(observation.copy().release()); + if (index >= get_nb_states()) { + throw size_error("index", get_nb_states(), size_error::inferior); + } + this->observations[index] = static_cast< D* >(observation.copy().release()); } template const Eigen::VectorXd& MixtureDistribution< D >::get_pi() const - { return _pi; } + { + return this->pi; + } template void MixtureDistribution< D >::set_pi(const Eigen::VectorXd& pi) { - if(pi.size() != _observations.size()) - { throw size_error("pi", _pi.size(), size_error::equal); } - _pi = pi / pi.sum(); + if (pi.size() != this->observations.size()) { + throw size_error("pi", this->pi.size(), size_error::equal); + } + this->pi = pi / pi.sum(); } @@ -405,24 +357,24 @@ namespace statiskit Eigen::VectorXd MixtureDistribution< D >::posterior(const typename D::data_type::event_type* event, const bool& logarithm) const { Eigen::VectorXd p = Eigen::VectorXd::Zero(this->get_nb_states()); - for(typename std::vector< D* >::const_iterator it = this->_observations.cbegin(), it_end = this->_observations.cend(); it != it_end; ++it) - { p[distance(this->_observations.cbegin(), it)] = log(this->_pi[distance(this->_observations.cbegin(), it)]) + (*it)->probability(event, true); } + for (typename std::vector< D* >::const_iterator it = this->observations.cbegin(), it_end = this->observations.cend(); it != it_end; ++it) { + p[distance(this->observations.cbegin(), it)] = log(this->pi[distance(this->observations.cbegin(), it)]) + (*it)->probability(event, true); + } double max = p.maxCoeff(); - for(Index index = 0, max_index = p.size(); index < max_index; ++index) - { - if(boost::math::isfinite(p[index])) - { p[index] = p[index] - max; } - } - if(!logarithm) - { - for(Index index = 0, max_index = p.size(); index < max_index; ++index) - { - if(boost::math::isfinite(p[index])) - { p[index] = exp(p[index]); } - else - { p[index] = 0.; } + for (Index index = 0, max_index = p.size(); index < max_index; ++index) { + if (boost::math::isfinite(p[index])) { + p[index] = p[index] - max; + } + } + if (!logarithm) { + for (Index index = 0, max_index = p.size(); index < max_index; ++index) { + if (boost::math::isfinite(p[index])) { + p[index] = exp(p[index]); + } else { + p[index] = 0.; + } } - p = p / p.sum(); + p /= p.sum(); } return p; } @@ -430,7 +382,7 @@ namespace statiskit template Index MixtureDistribution< D >::assignment(const typename D::data_type::event_type* event) const { - Eigen::VectorXd p = posterior(event, false); + Eigen::VectorXd p = this->posterior(event, false); Index index; p.maxCoeff(&index); return index; @@ -442,9 +394,8 @@ namespace statiskit std::vector< Index > indices(data.size()); std::unique_ptr< typename D::data_type::Generator > generator = data.generator(); Index index = 0; - while(generator->is_valid()) - { - indices[index] = assignment(generator->event()); + while (generator->is_valid()) { + indices[index] = this->assignment(generator->event()); ++index; ++(*generator); } @@ -455,11 +406,11 @@ namespace statiskit double MixtureDistribution< D >::uncertainty(const typename D::data_type::event_type* event) const { double entropy = 0.; - Eigen::VectorXd p = posterior(event, true); - for(Index index = 0, max_index = p.size(); index < max_index; ++index) - { - if(boost::math::isfinite(p[index])) - { entropy -= exp(p[index]) * p[index]; } + Eigen::VectorXd p = this->posterior(event, true); + for(Index index = 0, max_index = p.size(); index < max_index; ++index) { + if (boost::math::isfinite(p[index])) { + entropy -= exp(p[index]) * p[index]; + } } return entropy; } @@ -469,9 +420,8 @@ namespace statiskit { double entropy = 0.; std::unique_ptr< typename D::data_type::Generator > generator = data.generator(); - while(generator->is_valid()) - { - entropy += generator->weight() * uncertainty(generator->event()); + while (generator->is_valid()) { + entropy += generator->weight() * this->uncertainty(generator->event()); ++(*generator); } return entropy; @@ -480,19 +430,21 @@ namespace statiskit template void MixtureDistribution< D >::init(const std::vector< D* > observations, const Eigen::VectorXd& pi) { - _observations.resize(observations.size()); - for(Index index = 0, max_index = observations.size(); index < max_index; ++index) - { _observations[index] = static_cast< D* >(observations[index]->copy().release()); } - set_pi(pi); + this->observations.resize(observations.size()); + for (Index index = 0, max_index = observations.size(); index < max_index; ++index) { + this->observations[index] = static_cast< D* >(observations[index]->copy().release()); + } + this->set_pi(pi); } template void MixtureDistribution< D >::init(const MixtureDistribution< D >& mixture) { - _observations.resize(mixture._observations.size()); - for(Index index = 0, max_index = mixture._observations.size(); index < max_index; ++index) - { _observations[index] = static_cast< D* >(mixture._observations[index]->copy().release()); } - _pi = mixture._pi; + this->observations.resize(mixture.observations.size()); + for (Index index = 0, max_index = mixture.observations.size(); index < max_index; ++index) { + this->observations[index] = static_cast< D* >(mixture.observations[index]->copy().release()); + } + this->pi = mixture.pi; } template @@ -505,28 +457,30 @@ namespace statiskit template double UnivariateMixtureDistribution< D >::ldf(const typename D::event_type::value_type& value) const - { return log(pdf(value)); } + { + return log(this->pdf(value)); + } template double UnivariateMixtureDistribution< D >::pdf(const typename D::event_type::value_type& value) const { double p = 0.; - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { p += this->_pi[index] * this->_observations[index]->pdf(value); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + p += this->pi[index] * this->observations[index]->pdf(value); + } return p; } template std::unique_ptr< UnivariateEvent > UnivariateMixtureDistribution< D >::simulate() const { - double cp = this->_pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); + double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); Index index = 0, max_index = this->get_nb_states(); - while(cp < sp && index < max_index) - { + while (cp < sp && index < max_index) { ++index; - cp += this->_pi[index]; + cp += this->pi[index]; } - return this->_observations[index]->simulate(); + return this->observations[index]->simulate(); } template @@ -541,8 +495,9 @@ namespace statiskit double QuantitativeUnivariateMixtureDistribution< D >::cdf(const typename D::event_type::value_type& value) const { double cp = 0; - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { cp += this->_pi[index] * this->_observations[index]->cdf(value); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + cp += this->pi[index] * this->observations[index]->cdf(value); + } return cp; } @@ -550,17 +505,19 @@ namespace statiskit double QuantitativeUnivariateMixtureDistribution< D >::get_mean() const { double mean = 0; - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { mean += this->_pi[index] * this->_observations[index]->get_mean(); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + mean += this->pi[index] * this->observations[index]->get_mean(); + } return mean; } template double QuantitativeUnivariateMixtureDistribution< D >::get_variance() const { - double mean = get_mean(), variance = 0; - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { variance += this->_pi[index] * (pow(this->_observations[index]->get_mean() - mean, 2) + this->_observations[index]->get_variance()); } + double mean = this->get_mean(), variance = 0; + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + variance += this->pi[index] * (pow(this->observations[index]->get_mean() - mean, 2) + this->observations[index]->get_variance()); + } return variance; } @@ -568,21 +525,23 @@ namespace statiskit MultivariateMixtureDistribution< D >::MultivariateMixtureDistribution(const std::vector< D* > observations, const Eigen::VectorXd& pi) { this->init(observations, pi); - typename std::vector< D* >::const_iterator it = observations.cbegin(), it_end = observations.cend(); + typename std::vector< D* >::const_iterator it = observations.cbegin(); + typename std::vector< D* >::const_iterator it_end = observations.cend(); Index nb_components = (*it)->get_nb_components(); ++it; - while(it != it_end) - { - if((*it)->get_nb_components() != nb_components) - { throw parameter_error("observations", "not same number of components"); } + while (it != it_end) { + if ((*it)->get_nb_components() != nb_components) { + throw parameter_error("observations", "not same number of components"); + } ++it; } - } template MultivariateMixtureDistribution< D >::MultivariateMixtureDistribution(const MultivariateMixtureDistribution< D >& mixture) - { this->init(mixture); } + { + this->init(mixture); + } template MultivariateMixtureDistribution< D >::~MultivariateMixtureDistribution() @@ -591,39 +550,42 @@ namespace statiskit template void MultivariateMixtureDistribution< D >::set_observation(const Index& index, const D& observation) { - if(observation.get_nb_components() != get_nb_components()) - { throw parameter_error("observation", "not same number of components"); } + if (observation.get_nb_components() != get_nb_components()) { + throw parameter_error("observation", "not same number of components"); + } MixtureDistribution< D >::set_observation(index, observation); } template Index MultivariateMixtureDistribution< D >::get_nb_components() const - { return this->_observations.back()->get_nb_components(); } + { + return this->observations.back()->get_nb_components(); + } template double MultivariateMixtureDistribution< D >::probability(const MultivariateEvent* event, const bool& logarithm) const { double p = 0.; - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { p += this->_pi[index] * this->_observations[index]->probability(event, false); } - if(logarithm) - { p = log(p); } + for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { + p += this->pi[index] * this->observations[index]->probability(event, false); + } + if (logarithm) { + p = log(p); + } return p; } template std::unique_ptr< MultivariateEvent > MultivariateMixtureDistribution< D >::simulate() const { - double cp = this->_pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); + double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); Index index = 0, max_index = this->get_nb_states(); - while(cp < sp && index < max_index) - { + while (cp < sp && index < max_index) { ++index; - cp += this->_pi[index]; + cp += this->pi[index]; } - return this->_observations[index]->simulate(); + return this->observations[index]->simulate(); } } -#endif #endif \ No newline at end of file diff --git a/src/cpp/estimation.cpp b/src/cpp/estimation.cpp index d2031cf4..789a5bba 100644 --- a/src/cpp/estimation.cpp +++ b/src/cpp/estimation.cpp @@ -14,83 +14,23 @@ namespace statiskit underdispersion_error::underdispersion_error() : parameter_error("data", " is underdispersed") {} - UnivariateDistributionEstimation::~UnivariateDistributionEstimation() - {} - - UnivariateDistributionEstimation::Estimator::~Estimator() - {} - - std::unique_ptr< estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable, const bool& lazy=true) const + std::unique_ptr< UnivariateDistributionEstimation::Estimator::estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable, const bool& lazy) const { - return (*this)(data.select(variable), lazy); + return this->operator()(*data.select(variable), lazy); } - CategoricalUnivariateDistributionEstimation::Estimator::Estimator() - {} - - CategoricalUnivariateDistributionEstimation::Estimator::Estimator(const Estimator& estimator) - {} - - CategoricalUnivariateDistributionEstimation::Estimator::~Estimator() - {} - - std::unique_ptr< UnivariateDistributionEstimation > CategoricalUnivariateDistributionEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< MultivariateDistributionEstimation::Estimator::estimation_type > MultivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& variables, const bool& lazy) const { - if(data.get_sample_space()->get_outcome() != CATEGORICAL) - { throw statiskit::sample_space_error(CATEGORICAL); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; - std::set< std::string > values; - double total = data.compute_total(); - if(total > 0. && boost::math::isfinite(total)) - { - const CategoricalSampleSpace* sample_space = static_cast< const CategoricalSampleSpace* >(data.get_sample_space()); - values = sample_space->get_values(); - Eigen::VectorXd masses = Eigen::VectorXd::Zero(values.size()); - std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - auto event = generator->event(); - if(event) - { - if(event->get_event() == ELEMENTARY) - { - std::set< std::string >::iterator it = values.find(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); - masses[distance(values.begin(), it)] += generator->weight() / total; - } - } - ++(*generator); - } - CategoricalUnivariateDistribution* distribution; - switch(sample_space->get_ordering()) - { - case NONE: - case PARTIAL: - distribution = new NominalDistribution(values, masses); - break; - case TOTAL: - distribution = new OrdinalDistribution(static_cast< const OrdinalSampleSpace* >(sample_space)->get_ordered(), masses); - break; - } - if(lazy) - { estimation = std::make_unique< CategoricalUnivariateDistributionLazyEstimation >(distribution); } - else - { estimation = std::make_unique< CategoricalUnivariateDistributionActiveEstimation >(distribution, &data); } - } - return estimation; + return this->operator()(*data.select(variables), lazy); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > CategoricalUnivariateDistributionEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - MultivariateDistributionEstimation::~MultivariateDistributionEstimation() - {} - - MultivariateDistributionEstimation::Estimator::~Estimator() - {} - - UnivariateConditionalDistributionEstimation::~UnivariateConditionalDistributionEstimation() - {} + std::unique_ptr< UnivariateConditionalDistributionEstimation::Estimator::estimation_type > UnivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& response, const Indices& explanatories, const bool& lazy) const + { + return this->operator()(*data.select(response), *data.select(explanatories), lazy); + } - MultivariateConditionalDistributionEstimation::~MultivariateConditionalDistributionEstimation() - {} + std::unique_ptr< MultivariateConditionalDistributionEstimation::Estimator::estimation_type > MultivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& responses, const Indices& explanatories, const bool& lazy) const + { + return this->operator()(*data.select(responses), *data.select(explanatories), lazy); + } } diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index 166e5acf..fae6b79e 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -1,10 +1,9 @@ -#ifndef STATISKIT_CORE_ESTIMATION_H -#define STATISKIT_CORE_ESTIMATION_H +#pragma once #include "base.h" -#include "sample_space.h" #include "data.h" #include "distribution.h" +#include "sample_space.h" namespace statiskit { @@ -28,7 +27,7 @@ namespace statiskit using data_type = typename D::data_type; DistributionEstimation(); - DistributionEstimation(data_type const *data, + DistributionEstimation(data_type const * data, distribution_type const * distribution); DistributionEstimation(const DistributionEstimation< D >& estimation); virtual ~DistributionEstimation(); @@ -66,6 +65,8 @@ namespace statiskit using DistributionEstimation< UnivariateDistribution >::Estimator::Estimator; using DistributionEstimation< UnivariateDistribution >::Estimator::estimation_type; + using DistributionEstimation< UnivariateDistribution >::Estimator::operator(); + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const Index& variable, const bool& lazy=true) const; @@ -103,6 +104,8 @@ namespace statiskit using DistributionEstimation< MultivariateDistribution >::Estimator::Estimator; using DistributionEstimation< MultivariateDistribution >::Estimator::estimation_type; + using DistributionEstimation< MultivariateDistribution >::Estimator::operator(); + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const Indices& variables, const bool& lazy=true) const; @@ -135,21 +138,21 @@ namespace statiskit { public: using distribution_type = D; - using response_data_type = typename D::response_data_type; - using explanatory_data_type = typename D::explanatory_data_type; + using response_data_type = typename D::response_type::data_type; + using explanatory_data_type = MultivariateData; ConditionalDistributionEstimation(); - ConditionalDistributionEstimation(response_data_type const *response_data, - explanatory_data_type const *explanatory_data, - distribution_type const * distribution); + ConditionalDistributionEstimation(response_data_type const* response_data, + explanatory_data_type const* explanatory_data, + distribution_type const* distribution); ConditionalDistributionEstimation(const ConditionalDistributionEstimation< D >& estimation); virtual ~ConditionalDistributionEstimation(); - virtual response_data_type const * get_response_data() const; + virtual response_data_type const* get_response_data() const; - virtual explanatory_data_type const * get_explanatory_data() const; + virtual explanatory_data_type const* get_explanatory_data() const; - virtual distribution_type const * get_distribution() const; + virtual distribution_type const* get_distribution() const; virtual std::unique_ptr< ConditionalDistributionEstimation< D > > copy() const; @@ -163,15 +166,15 @@ namespace statiskit virtual std::unique_ptr< Estimator > copy() const = 0; protected: - virtual std::unique_ptr< estimation_type > operator() (response_data_type const * response_data, - explanatory_data_type const * explanatory_data, + virtual std::unique_ptr< estimation_type > operator() (const response_data_type& response_data, + const explanatory_data_type& explanatory_data, const bool& lazy=true) const = 0; }; protected: - response_data_type const * response_data; - explanatory_data_type const * explanatory_data; - distribution_type const * distribution; + response_data_type const* response_data; + explanatory_data_type const* explanatory_data; + distribution_type const* distribution; }; class STATISKIT_CORE_API UnivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< UnivariateConditionalDistribution > @@ -179,15 +182,19 @@ namespace statiskit public: using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::ConditionalDistributionEstimation; - struct STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator - { - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::estimation_type; + class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator + { + public: + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Index& response, - const Indices& explanatories, - const bool& lazy=true) const; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Index& response, + const Indices& explanatories, + const bool& lazy=true) const; + + protected: + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::operator(); }; }; @@ -196,121 +203,21 @@ namespace statiskit public: using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; - struct STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator + class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator { - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::estimation_type; + public: + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Indices& responses, - const Indices& explanatories, - const bool& lazy=true) const; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Indices& responses, + const Indices& explanatories, + const bool& lazy=true) const; + + protected: + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::operator(); }; }; - - // struct STATISKIT_CORE_API UnivariateConditionalDistributionEstimation - // { - // // typedef UnivariateConditionalData data_type; - // typedef ::statiskit::UnivariateConditionalDistribution distribution_type; - // typedef UnivariateConditionalDistributionEstimation copy_type; - - // virtual ~UnivariateConditionalDistributionEstimation() = 0; - - // virtual distribution_type const * get_distribution() const = 0; - - // virtual std::unique_ptr< UnivariateConditionalDistributionEstimation > copy() const = 0; - - // struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - // { - // typedef UnivariateConditionalDistributionEstimation estimation_type; - - // virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const Index& response, const Indices& explanatories, const bool& lazy=true) const = 0; - - // virtual std::unique_ptr< Estimator > copy() const = 0; - // }; - // }; - - // struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< CategoricalUnivariateConditionalDistribution, CategoricalUnivariateConditionalDistributionEstimation > CategoricalUnivariateConditionalDistributionSelection; - // typedef CategoricalUnivariateConditionalDistributionSelection::CriterionEstimator CategoricalUnivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< DiscreteUnivariateConditionalDistribution, DiscreteUnivariateConditionalDistributionEstimation > DiscreteUnivariateConditionalDistributionSelection; - // typedef DiscreteUnivariateConditionalDistributionSelection::CriterionEstimator DiscreteUnivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : UnivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< ContinuousUnivariateConditionalDistribution, ContinuousUnivariateConditionalDistributionEstimation > ContinuousUnivariateConditionalDistributionSelection; - // typedef ContinuousUnivariateConditionalDistributionSelection::CriterionEstimator ContinuousUnivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API MultivariateConditionalDistributionEstimation - // { - // // typedef MultivariateConditionalData data_type; - // typedef ::statiskit::MultivariateConditionalDistribution distribution_type; - // typedef MultivariateConditionalDistributionEstimation copy_type; - - // virtual ~MultivariateConditionalDistributionEstimation() = 0; - - // virtual distribution_type const * get_distribution() const = 0; - - // virtual std::unique_ptr< MultivariateConditionalDistributionEstimation > copy() const = 0; - - // struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - // { - // typedef MultivariateConditionalDistributionEstimation estimation_type; - - // virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const Indices& responses, const Indices& explanatories, const bool& lazy=true) const = 0; - - // virtual std::unique_ptr< Estimator > copy() const = 0; - // }; - // }; - - // typedef Selection< MultivariateConditionalDistribution, MultivariateConditionalDistributionEstimation > MixedMultivariateConditionalDistributionSelection; - // typedef MixedMultivariateConditionalDistributionSelection::CriterionEstimator MixedMultivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API CategoricalMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< CategoricalMultivariateConditionalDistribution, CategoricalMultivariateConditionalDistributionEstimation > CategoricalMultivariateConditionalDistributionSelection; - // typedef CategoricalMultivariateConditionalDistributionSelection::CriterionEstimator CategoricalMultivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API DiscreteMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< DiscreteMultivariateConditionalDistribution, DiscreteMultivariateConditionalDistributionEstimation > DiscreteMultivariateConditionalDistributionSelection; - // typedef DiscreteMultivariateConditionalDistributionSelection::CriterionEstimator DiscreteMultivariateConditionalDistributionCriterionEstimator; - - // struct STATISKIT_CORE_API ContinuousMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation - // { - // struct STATISKIT_CORE_API Estimator : MultivariateConditionalDistributionEstimation::Estimator - // {}; - // }; - - // typedef Selection< ContinuousMultivariateConditionalDistribution, ContinuousMultivariateConditionalDistributionEstimation > ContinuousMultivariateConditionalDistributionSelection; - // typedef ContinuousMultivariateConditionalDistributionSelection::CriterionEstimator ContinuousMultivariateConditionalDistributionCriterionEstimator; } -#ifndef AUTOWIG -#include "estimation.hpp" -#endif -#endif +#include "estimation.hpp" \ No newline at end of file diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index 30851963..5988d313 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -1,468 +1,133 @@ #ifndef AUTOWIG -#ifndef STATISKIT_CORE_ESTIMATION_HPP -#define STATISKIT_CORE_ESTIMATION_HPP +#pragma once namespace statiskit { - template - LazyEstimation< D, B >::LazyEstimation() - { _estimated = nullptr; } - - template - LazyEstimation< D, B >::LazyEstimation(const D * estimated) - { _estimated = estimated; } - - template - LazyEstimation< D, B >::LazyEstimation(const LazyEstimation< D, B >& estimation) - { - if(estimation._estimated) - { _estimated = static_cast< D* >(estimation._estimated->copy().release()); } - else - { _estimated = nullptr; } - } - - template - LazyEstimation< D, B >::~LazyEstimation() - { - if(_estimated) - { delete _estimated; } - } - - template - std::unique_ptr< typename B::copy_type > LazyEstimation< D, B >::copy() const - { return std::make_unique< LazyEstimation< D, B > >(*this); } - - template - typename B::estimated_type const * LazyEstimation< D, B >::get_estimated() const - { return _estimated; } - - template - ActiveEstimation< D, B >::ActiveEstimation() : LazyEstimation< D, B >() - { _data = nullptr; } - - template - ActiveEstimation< D, B >::ActiveEstimation(const typename B::data_type* data) : LazyEstimation< D, B >() - { - if(data) - { _data = data->copy().release(); } - else - { _data = nullptr; } - } - - template - ActiveEstimation< D, B >::ActiveEstimation(const D * estimated, const typename B::data_type* data) : LazyEstimation< D, B >(estimated) - { - if(data) - { _data = data->copy().release(); } - else - { _data = nullptr; } - } - - template - ActiveEstimation< D, B >::ActiveEstimation(const ActiveEstimation< D, B >& estimation) : LazyEstimation< D, B >(estimation) - { _data = estimation._data->copy().release(); } - - template - ActiveEstimation< D, B >::~ActiveEstimation() - { - if(_data) - { delete _data; } - } - - template - const typename B::data_type * ActiveEstimation< D, B >::get_data() const - { return _data; } - - template - Selection< D, B >::Selection() : ActiveEstimation< D, B >() - { - _estimations.clear(); - _scores.clear(); - } - - template - Selection< D, B >::Selection(const typename B::data_type* data) : ActiveEstimation< D, B >(data) - { - _estimations.clear(); - _scores.clear(); - } - - template - Selection< D, B >::Selection(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) - { - _estimations.clear(); - _scores.clear(); - } - - template - Selection< D, B >::Selection(const Selection< D, B >& estimation) - { - _estimations.resize(estimation.size(), nullptr); - for(Index index = 0, max_index = estimation.size(); index < max_index; ++index) - { _estimations[index] = static_cast< B* >(estimation._estimations[index]); }/*->copy().release()); TODO */ - _scores = estimation._scores; - this->_data = estimation._data->copy().release(); - finalize(); - } - - template - Selection< D, B >::~Selection() + template + DistributionEstimation< D >::DistributionEstimation() { - this->_estimated = nullptr; - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - if(_estimations[index]) - { - delete _estimations[index]; - _estimations[index] = nullptr; - } - } - _estimations.clear(); - _scores.clear(); + this->data = nullptr; + this->distribution = nullptr; } - template - Index Selection< D, B >::size() const - { return _scores.size(); } - - template - B const * Selection< D, B >::get_estimation(const Index& index) const - { return _estimations[index]; } - - template - const double& Selection< D, B >::get_score(const Index& index) const - { return _scores[index]; } - - template - void Selection< D, B >::finalize() - { - std::vector< double >::const_iterator it = std::max_element(_scores.cbegin(), _scores.cend()); - if(it != _scores.cend() && boost::math::isfinite(*it)) - { this->_estimated = static_cast< const D * >(_estimations[distance(_scores.cbegin(), it)]->get_estimated()); } - else - { this->_estimated = nullptr; } - } - - template - Selection< D, B >::Estimator::~Estimator() + template + DistributionEstimation< D >::DistributionEstimation(data_type const * data, distribution_type const * distribution) { - for(Index index = 0, max_index = _estimators.size(); index < max_index; ++index) - { - delete _estimators[index]; - _estimators[index] = nullptr; - } - _estimators.clear(); + this->data = data; + this->distribution = distribution; } - - template - std::unique_ptr< typename B::Estimator::estimation_type > Selection< D, B >::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const - { - std::unique_ptr< typename B::Estimator::estimation_type > estimation; - if(lazy) - { - std::unique_ptr< typename B::Estimator::estimation_type > _estimation; - double curr, prev = -1 * std::numeric_limits< double >::infinity(); - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - try - { - if(_estimators[index]) - { - _estimation = (*(_estimators[index]))(data, true); - curr = scoring(_estimation->get_estimated(), data); - if(curr > prev && boost::math::isfinite(curr)) - { - prev = curr; - estimation.swap(_estimation); - } - } - } - catch(const std::exception& e) - {} - } + + template + DistributionEstimation< D >::DistributionEstimation(const DistributionEstimation< D >& estimation) + { + if (estimation.distribution) { + this->distribution = static_cast< distribution_type* >(estimation.distribution->copy().release()); + } else { + this->distribution = nullptr; } - else - { - Selection< D, B >* _estimation = new Selection< D, B >(data.copy().release()); - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - try - { - _estimation->_estimations.push_back(static_cast< B* >((*(_estimators[index]))(data, false).release())); - _estimation->_scores.push_back(scoring(_estimation->_estimations.back()->get_estimated(), data)); - } - catch(const std::exception& e) - { - _estimation->_estimations.push_back(nullptr); - _estimation->_scores.push_back(std::numeric_limits< double >::quiet_NaN()); - } - } - _estimation->finalize(); - estimation.reset(_estimation); + if (estimation.data) { + this->data = static_cast< data_type* >(estimation.data->copy().release()); + } else { + this->data = nullptr; } - if(!estimation || !(estimation->get_estimated())) - { throw std::runtime_error("All estimations failed, perform manually the estimations in order to investigate what went wrong"); } - return estimation; } - template - Index Selection< D, B >::Estimator::size() const - { return _estimators.size(); } - - template - typename B::Estimator* Selection< D, B >::Estimator::get_estimator(const Index& index) + template + DistributionEstimation< D >::~DistributionEstimation() { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - return _estimators[index]; - } - - template - void Selection< D, B >::Estimator::set_estimator(const Index& index, const typename B::Estimator& estimator) - { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - delete _estimators[index]; - _estimators[index] = static_cast< typename B::Estimator* >(estimator.copy().release()); - } - - template - void Selection< D, B >::Estimator::add_estimator(const typename B::Estimator& estimator) - { _estimators.push_back(static_cast< typename B::Estimator* >(estimator.copy().release())); } - - template - void Selection< D, B >::Estimator::remove_estimator(const Index& index) - { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - typename std::vector< typename B::Estimator * >::iterator it = _estimators.begin(); - advance(it, index); - delete *it; - _estimators.erase(it); - } - - template - void Selection< D, B >::Estimator::init() - { _estimators.clear(); } - - template - void Selection< D, B >::Estimator::init(const Estimator& estimator) - { - _estimators.resize(estimator.size()); - for(Index index = 0, max_index = estimator.size(); index < max_index; ++index) - { _estimators[index] = static_cast< typename B::Estimator* >(estimator._estimators[index]->copy().release()); } - } - - template - std::unordered_set< uintptr_t > Selection< D, B >::Estimator::children() const - { - std::unordered_set< uintptr_t > ch; - for(typename std::vector< typename B::Estimator* >::const_iterator it = _estimators.cbegin(), it_end = _estimators.cend(); it != it_end; ++it) - { - ch.insert(this->compute_identifier(**it)); - __impl::merge(ch, this->compute_children(**it)); + if (this->distribution) { + delete distribution; } - return ch; - } - - template - Selection< D, B >::CriterionEstimator::CriterionEstimator() - { - this->init(); - _criterion = criterion_type::BIC; - } - - template - Selection< D, B >::CriterionEstimator::CriterionEstimator(const CriterionEstimator& estimator) - { - this->init(estimator); - _criterion = estimator._criterion; - } - - template - Selection< D, B >::CriterionEstimator::~CriterionEstimator() - {} - - template - const typename Selection< D, B >::CriterionEstimator::criterion_type& Selection< D, B >::CriterionEstimator::get_criterion() const - { return _criterion; } - - template - void Selection< D, B >::CriterionEstimator::set_criterion(const criterion_type& criterion) - { _criterion = criterion; } - - template - double Selection< D, B >::CriterionEstimator::scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const - { - double score = estimated->loglikelihood(data); - double total = data.compute_total(); - unsigned int nb_parameters = estimated->get_nb_parameters(); - switch(_criterion) - { - case AIC: - score -= nb_parameters; - break; - case AICc: - score -= nb_parameters * (1 + (nb_parameters + 1) / (total - nb_parameters - 1)) ; - break; - case BIC: - score -= nb_parameters * log(total) / 2.; - break; - case HQIC: - score -= nb_parameters * log(log(total)) / 2.; - break; + if (this->data) { + delete data; } - return score; } - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl() : ActiveEstimation< D, B >() - { _iterations.clear(); } - - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) - { _iterations.clear(); } + template + std::unique_ptr< DistributionEstimation< D > > DistributionEstimation< D >::copy() const + { return std::make_unique< DistributionEstimation< D > >(*this); } - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) - { _iterations = estimation._iterations; } - - template - OptimizationEstimationImpl< T, D, B >::~OptimizationEstimationImpl() - { _iterations.clear(); } + template + typename DistributionEstimation< D >::data_type const * DistributionEstimation< D >::get_data() const + { return this->data; } - template - Index OptimizationEstimationImpl< T, D, B >::size() const - { return _iterations.size(); } - - template - OptimizationEstimationImpl< T, D, B >::Estimator::Estimator() : Optimization< typename B::Estimator >() - {} - - template - OptimizationEstimationImpl< T, D, B >::Estimator::Estimator(const Estimator& estimator) : Optimization< typename B::Estimator >(estimator) - {} + template + typename DistributionEstimation< D >::distribution_type const * DistributionEstimation< D >::get_distribution() const + { return this->distribution; } - template - OptimizationEstimationImpl< T, D, B >::Estimator::~Estimator() + template + DistributionEstimation< D >::Estimator::~Estimator() {} - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation() : ActiveEstimation< D, B >() - { _iterations.clear(); } - - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) - { _iterations.clear(); } - - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) - { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { _iterations[index] = static_cast< T >(_iterations[index]->copy().release()); } + template + ConditionalDistributionEstimation< D >::ConditionalDistributionEstimation() + { + this->response_data = nullptr; + this->explanatory_data = nullptr; + this->distribution = nullptr; } - - template - SimulatedAnnealingEstimation< T, D, B >::~SimulatedAnnealingEstimation() - { _iterations.clear(); } - - template - Index SimulatedAnnealingEstimation< T, D, B >::size() const - { return _iterations.size(); } - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator() : SimulatedAnnealing< typename B::Estimator >() - {} - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : SimulatedAnnealing< typename B::Estimator >(estimator) - {} - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::~Estimator() - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T, D, B >() - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T, D, B >(estimated, data) - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation) : OptimizationEstimationImpl< T, D, B >(estimation) - {} - - template - OptimizationEstimation< T, D, B >::~OptimizationEstimation() - {} - - template - const T OptimizationEstimation< T, D, B >::get_iteration(const Index& index) const + + template + ConditionalDistributionEstimation< D >::ConditionalDistributionEstimation(response_data_type const* response_data, explanatory_data_type const* explanatory_data, distribution_type const* distribution) { - if(index >= this->size()) - { throw size_error("index", this->size(), size_error::inferior); } - return this->_iterations[index]; + this->response_data = response_data; + this->explanatory_data = explanatory_data; + this->distribution = distribution; } - - template - OptimizationEstimation< T, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T, D, B >::Estimator() - {} - - template - OptimizationEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T, D, B >::Estimator(estimator) - {} - - template - OptimizationEstimation< T, D, B >::Estimator::~Estimator() - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T*, D, B >() - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T*, D, B >(estimated, data) - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation(const OptimizationEstimation< T*, D, B >& estimation) : OptimizationEstimationImpl< T*, D, B >(estimation) + + template + ConditionalDistributionEstimation< D >::ConditionalDistributionEstimation(const ConditionalDistributionEstimation< D >& estimation) { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { this->_iterations[index] = static_cast< T* >(this->_iterations[index]->copy().release()); } + if (estimation.distribution) { + this->distribution = static_cast< distribution_type* >(estimation.distribution->copy().release()); + } else { + this->distribution = nullptr; + } + if (estimation.response_data) { + this->response_data = static_cast< response_data_type* >(estimation.response_data->copy().release()); + } else { + this->response_data = nullptr; + } + if (estimation.explanatory_data) { + this->explanatory_data = static_cast< explanatory_data_type* >(estimation.explanatory_data->copy().release()); + } else { + this->explanatory_data = nullptr; + } } - template - OptimizationEstimation< T*, D, B >::~OptimizationEstimation() - { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { - delete this->_iterations[index]; - this->_iterations[index] = nullptr; + template + ConditionalDistributionEstimation< D >::~ConditionalDistributionEstimation() + { + if (this->distribution) { + delete distribution; + } + if (this->response_data) { + delete response_data; + } + if (this->explanatory_data) { + delete explanatory_data; } } - template - const T* OptimizationEstimation< T*, D, B >::get_iteration(const Index& index) const - { - if(index >= this->size()) - { throw size_error("index", this->size(), size_error::inferior); } - return this->_iterations[index]; - } + template + std::unique_ptr< ConditionalDistributionEstimation< D > > ConditionalDistributionEstimation< D >::copy() const + { return std::make_unique< ConditionalDistributionEstimation< D > >(*this); } - template - OptimizationEstimation< T*, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T*, D, B >::Estimator() - {} + template + typename ConditionalDistributionEstimation< D >::response_data_type const * ConditionalDistributionEstimation< D >::get_response_data() const + { return this->response_data; } - template - OptimizationEstimation< T*, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T*, D, B >::Estimator(estimator) - {} + template + typename ConditionalDistributionEstimation< D >::explanatory_data_type const * ConditionalDistributionEstimation< D >::get_explanatory_data() const + { return this->explanatory_data; } + + template + typename ConditionalDistributionEstimation< D >::distribution_type const * ConditionalDistributionEstimation< D >::get_distribution() const + { return this->distribution; } - template - OptimizationEstimation< T*, D, B >::Estimator::~Estimator() + template + ConditionalDistributionEstimation< D >::Estimator::~Estimator() {} } -#endif #endif \ No newline at end of file diff --git a/src/cpp/estimator.cpp b/src/cpp/estimator.cpp index ceb81488..47e3536d 100644 --- a/src/cpp/estimator.cpp +++ b/src/cpp/estimator.cpp @@ -3,6 +3,52 @@ namespace statiskit { + + std::unique_ptr< UnivariateDistributionEstimation > CategoricalUnivariateDistributionEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + { + if (data.get_sample_space()->get_outcome() != CATEGORICAL) { + throw statiskit::sample_space_error(CATEGORICAL); + } + std::unique_ptr< UnivariateDistributionEstimation > estimation; + std::set< std::string > values; + double total = data.compute_total(); + if (total > 0. && boost::math::isfinite(total)) { + const CategoricalSampleSpace* sample_space = static_cast< const CategoricalSampleSpace* >(data.get_sample_space()); + values = sample_space->get_values(); + Eigen::VectorXd masses = Eigen::VectorXd::Zero(values.size()); + std::unique_ptr< UnivariateData::Generator > generator = data.generator(); + while (generator->is_valid()) { + auto event = generator->event(); + if (event) { + if (event->get_event() == ELEMENTARY) { + std::set< std::string >::iterator it = values.find(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); + masses[distance(values.begin(), it)] += generator->weight() / total; + } + } + ++(*generator); + } + CategoricalUnivariateDistribution* distribution; + switch (sample_space->get_ordering()) { + case NONE: + case PARTIAL: + distribution = new NominalDistribution(values, masses); + break; + case TOTAL: + distribution = new OrdinalDistribution(static_cast< const OrdinalSampleSpace* >(sample_space)->get_ordered(), masses); + break; + } + if (lazy) { + estimation = std::make_unique< CategoricalUnivariateDistributionLazyEstimation >(distribution); + } else { + estimation = std::make_unique< CategoricalUnivariateDistributionActiveEstimation >(distribution, &data); + } + } + return estimation; + } + + std::unique_ptr< UnivariateDistributionEstimation::Estimator > CategoricalUnivariateDistributionEstimation::Estimator::copy() const + { return std::make_unique< Estimator >(*this); } + PoissonDistributionMLEstimation::PoissonDistributionMLEstimation() : ActiveEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation >() {} diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index 0b97969e..23d6f1e0 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -1,11 +1,10 @@ -#ifndef STATISKIT_CORE_ESTIMATOR_H -#define STATISKIT_CORE_ESTIMATOR_H +#pragma once #include "base.h" #include "distribution.h" +#include "estimation.h" #include "indicator.h" #include "slope_heuristic.h" -#include "estimation.h" namespace statiskit { @@ -598,7 +597,4 @@ namespace statiskit typedef MixtureSingularDistributionEMEstimation::Estimator MixtureSingularDistributionEMEstimator; } -#ifndef AUTOWIG -#include "estimator.hpp" -#endif -#endif +#include "estimator.hpp" \ No newline at end of file diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index 731d6fb1..973da017 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -1,6 +1,5 @@ #ifndef AUTOWIG -#ifndef STATISKIT_CORE_ESTIMATOR_HPP -#define STATISKIT_CORE_ESTIMATOR_HPP +#pragma once namespace statiskit { @@ -735,5 +734,4 @@ namespace statiskit } } -#endif #endif \ No newline at end of file diff --git a/src/cpp/event.cpp b/src/cpp/event.cpp index f84b2370..76a7cd3a 100644 --- a/src/cpp/event.cpp +++ b/src/cpp/event.cpp @@ -2,6 +2,22 @@ namespace statiskit { + std::ostream& operator<<(std::ostream& os, const outcome_type& outcome) + { + switch (outcome) { + case CATEGORICAL: + os << "categorical"; + break; + case DISCRETE: + os << "discrete"; + break; + case CONTINUOUS: + os << "continuous"; + break; + } + return os; + } + UnivariateEvent::~UnivariateEvent() {} diff --git a/src/cpp/event.h b/src/cpp/event.h index b33a6c7f..4a518851 100644 --- a/src/cpp/event.h +++ b/src/cpp/event.h @@ -1,8 +1,8 @@ -#ifndef STATISKIT_CORE_EVENT_H -#define STATISKIT_CORE_EVENT_H +#pragma once -#include #include +#include + #include #include "base.h" @@ -17,6 +17,8 @@ namespace statiskit MIXED, }; + inline std::ostream& operator<<(std::ostream & os, const outcome_type& outcome); + enum class censoring_type { NONE, @@ -199,7 +201,4 @@ namespace statiskit }; } -#ifndef AUTOWIG -#include "event.hpp" -#endif -#endif +#include "event.hpp" \ No newline at end of file diff --git a/src/cpp/event.hpp b/src/cpp/event.hpp index 2aaa1016..93e3ca34 100644 --- a/src/cpp/event.hpp +++ b/src/cpp/event.hpp @@ -1,6 +1,5 @@ #ifndef AUTOWIG -#ifndef STATISKIT_CORE_EVENT_HPP -#define STATISKIT_CORE_EVENT_HPP +#pragma once namespace statiskit { @@ -126,5 +125,4 @@ namespace statiskit { return std::make_unique< IntervalCensoredEvent< E > >(*this); } } -#endif #endif \ No newline at end of file diff --git a/src/cpp/indicator.h b/src/cpp/indicator.h index f52db6e2..a0cbc3f0 100644 --- a/src/cpp/indicator.h +++ b/src/cpp/indicator.h @@ -1,5 +1,4 @@ -#ifndef STATISKIT_CORE_INDICATOR_H -#define STATISKIT_CORE_INDICATOR_H +#pragma once #include "data.h" #include "estimation.h" @@ -312,6 +311,4 @@ namespace statiskit template double get_value(const UnivariateData* data, const Index& index, const double& location, const bool& na_omit=true) const; template double get_value(const UnivariateEvent* event, const double& completion, const bool& na_omit=true) const; };*/ -} - -#endif +} \ No newline at end of file diff --git a/src/cpp/optimization.cpp b/src/cpp/optimization.cpp new file mode 100644 index 00000000..73209377 --- /dev/null +++ b/src/cpp/optimization.cpp @@ -0,0 +1,31 @@ + + Schedule::~Schedule() + {} + + ExponentialSchedule::ExponentialSchedule(const double& theta) + { + this->theta = theta; + } + + ExponentialSchedule::ExponentialSchedule(const ExponentialSchedule& schedule) + { + this->theta = schedule.theta; + } + + ExponentialSchedule::~ExponentialSchedule() + {} + + double ExponentialSchedule::operator() (const double& stage) const + { + return exp(- stage / this->theta); + } + + const double& ExponentialSchedule::get_theta() const + { + return this->theta; + } + + void ExponentialSchedule::set_theta(const double& theta) + { + this->theta = theta; + } \ No newline at end of file diff --git a/src/cpp/optimization.h b/src/cpp/optimization.h index d651f3df..9c93095d 100644 --- a/src/cpp/optimization.h +++ b/src/cpp/optimization.h @@ -1,4 +1,79 @@ + struct STATISKIT_CORE_API Schedule + { + virtual ~Schedule() = 0; + + virtual double operator() (const double& stage) const = 0; + + virtual std::unique_ptr< Schedule > copy() const = 0; + }; + + class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy< Schedule, ExponentialSchedule > + { + public: + ExponentialSchedule(const double& theta); + ExponentialSchedule(const ExponentialSchedule& schedule); + virtual ~ExponentialSchedule(); + + virtual double operator() (const double& stage) const; + + const double& get_theta() const; + void set_theta(const double& theta); + + protected: + double theta; + }; + + template + class Optimization : public T + { + public: + Optimization(); + Optimization(const Optimization< T >& optimization); + virtual ~Optimization(); + + const double& get_mindiff() const; + void set_mindiff(const double& mindiff); + + unsigned int get_minits() const; + void set_minits(const unsigned int& maxits); + + unsigned int get_maxits() const; + void set_maxits(const unsigned int& maxits); + + protected: + double _mindiff; + unsigned int _minits; + unsigned int _maxits; + + bool run(const unsigned int& its, const double& delta) const; + }; + + template + class SimulatedAnnealing : public T + { + public: + SimulatedAnnealing(); + SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing); + virtual ~SimulatedAnnealing(); + + const Schedule* get_schedule() const; + void set_schedule(const Schedule& schedule); + + unsigned int get_minits() const; + void set_minits(const unsigned int& maxits); + + unsigned int get_maxits() const; + void set_maxits(const unsigned int& maxits); + + protected: + Schedule* _schedule; + unsigned int _minits; + unsigned int _maxits; + + bool accept(const unsigned int& its, const double& delta) const; + }; + template class OptimizationEstimationImpl : public ActiveEstimation< D, B > { public: diff --git a/src/cpp/optimization.hpp b/src/cpp/optimization.hpp new file mode 100644 index 00000000..80b51961 --- /dev/null +++ b/src/cpp/optimization.hpp @@ -0,0 +1,277 @@ + + template + Optimization< T >::Optimization() + { + _mindiff = 1e-5; + _minits = 1; + _maxits = 10e6; + } + + template + Optimization< T >::Optimization(const Optimization< T >& optimization) + { + _mindiff = optimization._mindiff; + _minits = optimization._minits; + _maxits = optimization._maxits; + } + + template + Optimization< T >::~Optimization() + {} + + template + const double& Optimization< T >::get_mindiff() const + { return _mindiff; } + + template + void Optimization< T >::set_mindiff(const double& mindiff) + { _mindiff = mindiff; } + + template + unsigned int Optimization< T >::get_minits() const + { return _minits; } + + template + void Optimization< T >::set_minits(const unsigned int& minits) + { _minits = minits; } + + template + unsigned int Optimization< T >::get_maxits() const + { return _maxits; } + + template + void Optimization< T >::set_maxits(const unsigned int& maxits) + { _maxits = maxits; } + + template + bool Optimization< T >::run(const unsigned int& its, const double& delta) const + { + bool status = true; + if(its > _minits) + { + if(!boost::math::isfinite(delta) || its > __impl::get_maxits((uintptr_t)(this), _maxits)) + { status = false; } + else if(delta < _mindiff) + { status = false; } + } + return status; + } + + template + SimulatedAnnealing< T >::SimulatedAnnealing() + { + _schedule = new ExponentialSchedule(1.); + _minits = 1; + _maxits = 10e6; + } + + template + SimulatedAnnealing< T >::SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing) + { + if(simulated_annealing._schedule) + { _schedule = simulated_annealing._schedule->copy().release(); } + else + { _schedule = nullptr; } + _minits = simulated_annealing._minits; + _maxits = simulated_annealing._maxits; + } + + template + SimulatedAnnealing< T >::~SimulatedAnnealing() + { + if(_schedule) + { + delete _schedule; + _schedule = nullptr; + } + } + + template + const Schedule* SimulatedAnnealing< T >::get_schedule() const + { return _schedule; } + + template + void SimulatedAnnealing< T >::set_schedule(const Schedule& schedule) + { _schedule = schedule.copy().release(); } + + template + unsigned int SimulatedAnnealing< T >::get_minits() const + { return _minits; } + + template + void SimulatedAnnealing< T >::set_minits(const unsigned int& minits) + { _minits = minits; } + + template + unsigned int SimulatedAnnealing< T >::get_maxits() const + { return _maxits; } + + template + void SimulatedAnnealing< T >::set_maxits(const unsigned int& maxits) + { _maxits = maxits; } + + template + bool SimulatedAnnealing< T >::accept(const unsigned int& its, const double& delta) const + { + bool status = true; + if(its > _minits && delta < 0) + { + double maxits = __impl::get_maxits((uintptr_t)(this), _maxits); + if(its > maxits) + { status = false; } + else + { + double u = boost::uniform_01(__impl::get_random_generator())(); + status = u < exp(- delta / (*_schedule)((its - _minits) / maxits)); + } + } + return status; + } + + template + OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl() : ActiveEstimation< D, B >() + { _iterations.clear(); } + + template + OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) + { _iterations.clear(); } + + template + OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) + { _iterations = estimation._iterations; } + + template + OptimizationEstimationImpl< T, D, B >::~OptimizationEstimationImpl() + { _iterations.clear(); } + + template + Index OptimizationEstimationImpl< T, D, B >::size() const + { return _iterations.size(); } + + template + OptimizationEstimationImpl< T, D, B >::Estimator::Estimator() : Optimization< typename B::Estimator >() + {} + + template + OptimizationEstimationImpl< T, D, B >::Estimator::Estimator(const Estimator& estimator) : Optimization< typename B::Estimator >(estimator) + {} + + template + OptimizationEstimationImpl< T, D, B >::Estimator::~Estimator() + {} + + template + SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation() : ActiveEstimation< D, B >() + { _iterations.clear(); } + + template + SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) + { _iterations.clear(); } + + template + SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) + { + for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) + { _iterations[index] = static_cast< T >(_iterations[index]->copy().release()); } + } + + template + SimulatedAnnealingEstimation< T, D, B >::~SimulatedAnnealingEstimation() + { _iterations.clear(); } + + template + Index SimulatedAnnealingEstimation< T, D, B >::size() const + { return _iterations.size(); } + + template + SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator() : SimulatedAnnealing< typename B::Estimator >() + {} + + template + SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : SimulatedAnnealing< typename B::Estimator >(estimator) + {} + + template + SimulatedAnnealingEstimation< T, D, B >::Estimator::~Estimator() + {} + + template + OptimizationEstimation< T, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T, D, B >() + {} + + template + OptimizationEstimation< T, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T, D, B >(estimated, data) + {} + + template + OptimizationEstimation< T, D, B >::OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation) : OptimizationEstimationImpl< T, D, B >(estimation) + {} + + template + OptimizationEstimation< T, D, B >::~OptimizationEstimation() + {} + + template + const T OptimizationEstimation< T, D, B >::get_iteration(const Index& index) const + { + if(index >= this->size()) + { throw size_error("index", this->size(), size_error::inferior); } + return this->_iterations[index]; + } + + template + OptimizationEstimation< T, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T, D, B >::Estimator() + {} + + template + OptimizationEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T, D, B >::Estimator(estimator) + {} + + template + OptimizationEstimation< T, D, B >::Estimator::~Estimator() + {} + + template + OptimizationEstimation< T*, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T*, D, B >() + {} + + template + OptimizationEstimation< T*, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T*, D, B >(estimated, data) + {} + + template + OptimizationEstimation< T*, D, B >::OptimizationEstimation(const OptimizationEstimation< T*, D, B >& estimation) : OptimizationEstimationImpl< T*, D, B >(estimation) + { + for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) + { this->_iterations[index] = static_cast< T* >(this->_iterations[index]->copy().release()); } + } + + template + OptimizationEstimation< T*, D, B >::~OptimizationEstimation() + { + for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) + { + delete this->_iterations[index]; + this->_iterations[index] = nullptr; + } + } + + template + const T* OptimizationEstimation< T*, D, B >::get_iteration(const Index& index) const + { + if(index >= this->size()) + { throw size_error("index", this->size(), size_error::inferior); } + return this->_iterations[index]; + } + + template + OptimizationEstimation< T*, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T*, D, B >::Estimator() + {} + + template + OptimizationEstimation< T*, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T*, D, B >::Estimator(estimator) + {} + + template + OptimizationEstimation< T*, D, B >::Estimator::~Estimator() + {} \ No newline at end of file diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 49a05a06..81c2384e 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -1,15 +1,15 @@ -#ifndef STATISKIT_CORE_SAMPLE_SPACE_H -#define STATISKIT_CORE_SAMPLE_SPACE_H - -#include "base.h" -#include "event.h" - -#include +#pragma once #include +#include + #include #include -#include + +#include + +#include "base.h" +#include "event.h" namespace statiskit { @@ -268,6 +268,4 @@ namespace statiskit }; typedef std::vector< UnivariateSampleSpace* > SampleSpaceVector; -} - -#endif \ No newline at end of file +} \ No newline at end of file diff --git a/src/cpp/selection.h b/src/cpp/selection.h index 8132bef7..8f42cf1a 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -1,3 +1,5 @@ +#pragma once + template class Selection : public B { public: diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp new file mode 100644 index 00000000..dd90ca90 --- /dev/null +++ b/src/cpp/selection.hpp @@ -0,0 +1,241 @@ + template + Selection< D, B >::Selection() : ActiveEstimation< D, B >() + { + _estimations.clear(); + _scores.clear(); + } + + template + Selection< D, B >::Selection(const typename B::data_type* data) : ActiveEstimation< D, B >(data) + { + _estimations.clear(); + _scores.clear(); + } + + template + Selection< D, B >::Selection(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) + { + _estimations.clear(); + _scores.clear(); + } + + template + Selection< D, B >::Selection(const Selection< D, B >& estimation) + { + _estimations.resize(estimation.size(), nullptr); + for(Index index = 0, max_index = estimation.size(); index < max_index; ++index) + { _estimations[index] = static_cast< B* >(estimation._estimations[index]); }/*->copy().release()); TODO */ + _scores = estimation._scores; + this->_data = estimation._data->copy().release(); + finalize(); + } + + template + Selection< D, B >::~Selection() + { + this->_estimated = nullptr; + for(Index index = 0, max_index = size(); index < max_index; ++index) + { + if(_estimations[index]) + { + delete _estimations[index]; + _estimations[index] = nullptr; + } + } + _estimations.clear(); + _scores.clear(); + } + + template + Index Selection< D, B >::size() const + { return _scores.size(); } + + template + B const * Selection< D, B >::get_estimation(const Index& index) const + { return _estimations[index]; } + + template + const double& Selection< D, B >::get_score(const Index& index) const + { return _scores[index]; } + + template + void Selection< D, B >::finalize() + { + std::vector< double >::const_iterator it = std::max_element(_scores.cbegin(), _scores.cend()); + if(it != _scores.cend() && boost::math::isfinite(*it)) + { this->_estimated = static_cast< const D * >(_estimations[distance(_scores.cbegin(), it)]->get_estimated()); } + else + { this->_estimated = nullptr; } + } + + template + Selection< D, B >::Estimator::~Estimator() + { + for(Index index = 0, max_index = _estimators.size(); index < max_index; ++index) + { + delete _estimators[index]; + _estimators[index] = nullptr; + } + _estimators.clear(); + } + + template + std::unique_ptr< typename B::Estimator::estimation_type > Selection< D, B >::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const + { + std::unique_ptr< typename B::Estimator::estimation_type > estimation; + if(lazy) + { + std::unique_ptr< typename B::Estimator::estimation_type > _estimation; + double curr, prev = -1 * std::numeric_limits< double >::infinity(); + for(Index index = 0, max_index = size(); index < max_index; ++index) + { + try + { + if(_estimators[index]) + { + _estimation = (*(_estimators[index]))(data, true); + curr = scoring(_estimation->get_estimated(), data); + if(curr > prev && boost::math::isfinite(curr)) + { + prev = curr; + estimation.swap(_estimation); + } + } + } + catch(const std::exception& e) + {} + } + } + else + { + Selection< D, B >* _estimation = new Selection< D, B >(data.copy().release()); + for(Index index = 0, max_index = size(); index < max_index; ++index) + { + try + { + _estimation->_estimations.push_back(static_cast< B* >((*(_estimators[index]))(data, false).release())); + _estimation->_scores.push_back(scoring(_estimation->_estimations.back()->get_estimated(), data)); + } + catch(const std::exception& e) + { + _estimation->_estimations.push_back(nullptr); + _estimation->_scores.push_back(std::numeric_limits< double >::quiet_NaN()); + } + } + _estimation->finalize(); + estimation.reset(_estimation); + } + if(!estimation || !(estimation->get_estimated())) + { throw std::runtime_error("All estimations failed, perform manually the estimations in order to investigate what went wrong"); } + return estimation; + } + + template + Index Selection< D, B >::Estimator::size() const + { return _estimators.size(); } + + template + typename B::Estimator* Selection< D, B >::Estimator::get_estimator(const Index& index) + { + if(index >= size()) + { throw size_error("index", size(), size_error::inferior); } + return _estimators[index]; + } + + template + void Selection< D, B >::Estimator::set_estimator(const Index& index, const typename B::Estimator& estimator) + { + if(index >= size()) + { throw size_error("index", size(), size_error::inferior); } + delete _estimators[index]; + _estimators[index] = static_cast< typename B::Estimator* >(estimator.copy().release()); + } + + template + void Selection< D, B >::Estimator::add_estimator(const typename B::Estimator& estimator) + { _estimators.push_back(static_cast< typename B::Estimator* >(estimator.copy().release())); } + + template + void Selection< D, B >::Estimator::remove_estimator(const Index& index) + { + if(index >= size()) + { throw size_error("index", size(), size_error::inferior); } + typename std::vector< typename B::Estimator * >::iterator it = _estimators.begin(); + advance(it, index); + delete *it; + _estimators.erase(it); + } + + template + void Selection< D, B >::Estimator::init() + { _estimators.clear(); } + + template + void Selection< D, B >::Estimator::init(const Estimator& estimator) + { + _estimators.resize(estimator.size()); + for(Index index = 0, max_index = estimator.size(); index < max_index; ++index) + { _estimators[index] = static_cast< typename B::Estimator* >(estimator._estimators[index]->copy().release()); } + } + + template + std::unordered_set< uintptr_t > Selection< D, B >::Estimator::children() const + { + std::unordered_set< uintptr_t > ch; + for(typename std::vector< typename B::Estimator* >::const_iterator it = _estimators.cbegin(), it_end = _estimators.cend(); it != it_end; ++it) + { + ch.insert(this->compute_identifier(**it)); + __impl::merge(ch, this->compute_children(**it)); + } + return ch; + } + + template + Selection< D, B >::CriterionEstimator::CriterionEstimator() + { + this->init(); + _criterion = criterion_type::BIC; + } + + template + Selection< D, B >::CriterionEstimator::CriterionEstimator(const CriterionEstimator& estimator) + { + this->init(estimator); + _criterion = estimator._criterion; + } + + template + Selection< D, B >::CriterionEstimator::~CriterionEstimator() + {} + + template + const typename Selection< D, B >::CriterionEstimator::criterion_type& Selection< D, B >::CriterionEstimator::get_criterion() const + { return _criterion; } + + template + void Selection< D, B >::CriterionEstimator::set_criterion(const criterion_type& criterion) + { _criterion = criterion; } + + template + double Selection< D, B >::CriterionEstimator::scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const + { + double score = estimated->loglikelihood(data); + double total = data.compute_total(); + unsigned int nb_parameters = estimated->get_nb_parameters(); + switch(_criterion) + { + case AIC: + score -= nb_parameters; + break; + case AICc: + score -= nb_parameters * (1 + (nb_parameters + 1) / (total - nb_parameters - 1)) ; + break; + case BIC: + score -= nb_parameters * log(total) / 2.; + break; + case HQIC: + score -= nb_parameters * log(log(total)) / 2.; + break; + } + return score; + } diff --git a/src/cpp/singular.h b/src/cpp/singular.h index c8e04817..6879a712 100644 --- a/src/cpp/singular.h +++ b/src/cpp/singular.h @@ -1,9 +1,9 @@ -#ifndef STATISKIT_CORE_SINGULAR_H -#define STATISKIT_CORE_SINGULAR_H +#pragma once + +#include #include "base.h" #include "data.h" -#include namespace statiskit { @@ -69,6 +69,4 @@ namespace statiskit protected: Eigen::VectorXd _alpha; }; -} - -#endif \ No newline at end of file +} \ No newline at end of file diff --git a/src/cpp/slope_heuristic.h b/src/cpp/slope_heuristic.h index b3666b6f..80b733c6 100644 --- a/src/cpp/slope_heuristic.h +++ b/src/cpp/slope_heuristic.h @@ -1,13 +1,12 @@ -#ifndef STATISKIT_CORE_SLOPE_HEURISTIC_H -#define STATISKIT_CORE_SLOPE_HEURISTIC_H +#pragma once -#include "base.h" +#include +#include +#include #include -#include -#include -#include +#include "base.h" namespace statiskit { @@ -195,7 +194,4 @@ namespace statiskit }; } -#ifndef AUTOWIG -#include "slope_heuristic.hpp" -#endif -#endif +#include "slope_heuristic.hpp" \ No newline at end of file diff --git a/src/cpp/slope_heuristic.hpp b/src/cpp/slope_heuristic.hpp index 091564d4..6987dd34 100644 --- a/src/cpp/slope_heuristic.hpp +++ b/src/cpp/slope_heuristic.hpp @@ -1,6 +1,5 @@ #ifndef AUTOWIG -#ifndef STATISKIT_CORE_SLOPE_HEURISTIC_HPP -#define STATISKIT_CORE_SLOPE_HEURISTIC_HPP +#pragma once namespace statiskit { @@ -92,5 +91,4 @@ namespace statiskit } } -#endif #endif \ No newline at end of file From 094f2b33b020196dbc3651475d0862c15375e1bf Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Tue, 16 Jul 2019 16:40:50 +0200 Subject: [PATCH 12/16] Update 'estimator.*' --- src/cpp/base.h | 8 +- src/cpp/base.hpp | 12 +- src/cpp/data.h | 165 ++--- src/cpp/data.hpp | 58 +- src/cpp/distribution.cpp | 336 +-------- src/cpp/distribution.h | 265 ++----- src/cpp/distribution.hpp | 298 -------- src/cpp/estimation.cpp | 40 +- src/cpp/estimation.h | 200 +++-- src/cpp/estimation.hpp | 72 +- src/cpp/estimator.cpp | 1362 +++++++++++------------------------ src/cpp/estimator.h | 505 ++++--------- src/cpp/estimator.hpp | 470 +++--------- src/cpp/event.h | 5 +- src/cpp/optimization.cpp | 6 +- src/cpp/optimization.h | 103 +-- src/cpp/optimization.hpp | 277 +++---- src/cpp/selection.h | 37 +- src/cpp/selection.hpp | 87 +++ src/cpp/singular.cpp | 598 ++++++++++++--- src/cpp/singular.h | 107 ++- src/cpp/slope_heuristic.h | 69 +- src/cpp/slope_heuristic.hpp | 94 --- 23 files changed, 1818 insertions(+), 3356 deletions(-) delete mode 100644 src/cpp/slope_heuristic.hpp diff --git a/src/cpp/base.h b/src/cpp/base.h index 51a19988..9adde8a5 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -52,13 +52,13 @@ namespace statiskit { - template struct PolymorphicCopy : public B + template struct PolymorphicCopy : public B { - PolymorphicCopy(); - PolymorphicCopy(const PolymorphicCopy& other); + using B::B; + virtual ~PolymorphicCopy() = default; - virtual std::unique_ptr< T > copy() const; + virtual std::unique_ptr< typename B::copy_type > copy() const; }; namespace __impl diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index cbbc83ac..5c19e090 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -7,16 +7,8 @@ namespace statiskit { - template - PolymorphicCopy< T, D, B >::PolymorphicCopy() : B() - {} - - template - PolymorphicCopy< T, D, B >::PolymorphicCopy(const PolymorphicCopy< T, D, B>& other) : B(other) - {} - - template - std::unique_ptr< T > PolymorphicCopy< T, D, B >::copy() const + template + std::unique_ptr< typename B::copy_type > PolymorphicCopy::copy() const { return std::make_unique< D >(static_cast< const D& >(*this)); } diff --git a/src/cpp/data.h b/src/cpp/data.h index 54772e61..0324530d 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -8,13 +8,55 @@ namespace statiskit { - class WeightedUnivariateData; + + template + class WeightedData : public PolymorphicCopy, B > + { + public: + WeightedData(const B& data); + WeightedData(const WeightedData& data); + virtual ~WeightedData(); + + virtual std::unique_ptr< typename B::Generator > generator() const; + + virtual const typename B::sample_space_type* get_sample_space() const; + + const B* origin() const; + + Index get_nb_weights() const; + + virtual double get_weight(const Index& index) const; + void set_weight(const Index& index, const double& weight); + + protected: + B* data; + std::shared_ptr< std::vector< double > > weights; + + void detach(); + + class Generator : public PolymorphicCopy + { + public: + Generator(const WeightedData& data); + Generator(const Generator& generator); + virtual ~Generator(); + + virtual double get_weight() const = 0; + + virtual typename B::Generator& operator++(); + + protected: + WeightedData* data; + Index index; + }; + }; struct STATISKIT_CORE_API UnivariateData { - typedef UnivariateSampleSpace sample_space_type; - typedef UnivariateEvent event_type; - typedef WeightedUnivariateData weighted_type; + using copy_type = UnivariateData; + using sample_space_type = UnivariateSampleSpace; + using event_type = UnivariateEvent; + using weighted_type = WeightedData< UnivariateData >; virtual ~UnivariateData() = 0; @@ -41,9 +83,11 @@ namespace statiskit virtual const UnivariateSampleSpace* get_sample_space() const = 0; - virtual std::unique_ptr< UnivariateData > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; + using WeightedUnivariateData = UnivariateData::weighted_type; + class STATISKIT_CORE_API NamedData { public: @@ -63,7 +107,7 @@ namespace statiskit static unsigned int INDEX; }; - class STATISKIT_CORE_API UnivariateDataFrame : public PolymorphicCopy< UnivariateData, UnivariateDataFrame >, public NamedData + class STATISKIT_CORE_API UnivariateDataFrame : public PolymorphicCopy< UnivariateDataFrame, UnivariateData >, public NamedData { public: UnivariateDataFrame(const UnivariateSampleSpace& sample_space); @@ -92,7 +136,7 @@ namespace statiskit void detach(); - class STATISKIT_CORE_API Generator : public PolymorphicCopy + class STATISKIT_CORE_API Generator : public PolymorphicCopy< Generator, UnivariateData::Generator > { public: Generator(const UnivariateDataFrame& data); @@ -116,13 +160,12 @@ namespace statiskit }; }; - class WeightedMultivariateData; - struct STATISKIT_CORE_API MultivariateData { - typedef MultivariateSampleSpace sample_space_type; - typedef MultivariateEvent event_type; - typedef WeightedMultivariateData weighted_type; + using copy_type = MultivariateData; + using sample_space_type = MultivariateSampleSpace; + using event_type = MultivariateEvent; + using weighted_type = WeightedData< MultivariateData >; virtual ~MultivariateData() = 0; @@ -151,7 +194,9 @@ namespace statiskit virtual std::unique_ptr< MultivariateData > copy() const = 0; }; - class STATISKIT_CORE_API IndexSelectedData : public PolymorphicCopy + using WeightedMultivariateData = MultivariateData::weighted_type; + + class STATISKIT_CORE_API IndexSelectedData : public PolymorphicCopy { public: using indexing_type=Index; @@ -172,7 +217,7 @@ namespace statiskit MultivariateData* data; Index index; - class STATISKIT_CORE_API Generator : public PolymorphicCopy + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: Generator(const IndexSelectedData& data); @@ -196,7 +241,7 @@ namespace statiskit }; }; - class STATISKIT_CORE_API IndicesSelectedData : public PolymorphicCopy + class STATISKIT_CORE_API IndicesSelectedData : public PolymorphicCopy { public: using indexing_type=Indices; @@ -219,7 +264,7 @@ namespace statiskit MultivariateData* data; std::shared_ptr< std::vector< Index > > indices; - class STATISKIT_CORE_API Generator : public PolymorphicCopy + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: Generator(const IndicesSelectedData& data); @@ -241,7 +286,7 @@ namespace statiskit }; }; - class STATISKIT_CORE_API MultivariateDataFrame : public PolymorphicCopy< MultivariateData, MultivariateDataFrame > + class STATISKIT_CORE_API MultivariateDataFrame : public PolymorphicCopy { public: MultivariateDataFrame(); @@ -271,7 +316,7 @@ namespace statiskit void detach(); - class STATISKIT_CORE_API Generator : public PolymorphicCopy + class STATISKIT_CORE_API Generator : public PolymorphicCopy { public: Generator(const MultivariateDataFrame& data); @@ -292,90 +337,6 @@ namespace statiskit Index index; }; }; - - template - class WeightedData : public PolymorphicCopy< D, WeightedData< D, B >, B > - { - public: - WeightedData(const D& data); - WeightedData(const WeightedData< D, B >& data); - virtual ~WeightedData(); - - virtual std::unique_ptr< typename D::Generator > generator() const; - - const D* origin() const; - - Index get_nb_weights() const; - - virtual double get_weight(const Index& index) const; - void set_weight(const Index& index, const double& weight); - - protected: - D* data; - std::shared_ptr< std::vector< double > > weights; - - void detach(); - - class Generator : public PolymorphicCopy< typename D::Generator, Generator, typename B::Generator > - { - public: - Generator(const WeightedData< D, B >& data); - Generator(const Generator& generator); - virtual ~Generator(); - - virtual double get_weight() const = 0; - - virtual typename D::Generator& operator++(); - - protected: - WeightedData* data; - Index index; - }; - }; - - // template - // class PairedData - // { - // public: - // using paired_type = I; - - // PairedData(const typename I::indexing_type& first, const Indices& second, const MultivariateData& data); - // PairedData(const PairedData< I >& data); - // ~PairedData(); - - // class Generator - // { - // public: - // Generator(const PairedData< I >& data); - // Generator(const Generator& generator); - // virtual ~Generator(); - - // const typename I::event_type* get_first() const; - // const MultivariateEvent* get_second() const; - - // virtual double get_weight() const = 0; - - // virtual bool is_valid() const = 0; - - // virtual Generator& operator++() = 0; - - // protected: - // typename I::Generator* first; - // MultivariateData::Generator* second; - // }; - - // virtual std::unique_ptr< Generator > generator() const; - - // const I* get_first() const; - // const MultivariateData* get_second() const; - - // protected: - // I* first = nullptr; - // MultivariateData* second = nullptr; - // }; - - // using UnivariatePairedData = PairedData< UnivariateData >; - // using MultivariatePairedData = PairedData< UnivariateData >; } #include "data.hpp" \ No newline at end of file diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index 7709bda6..fc2329dd 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -3,41 +3,41 @@ namespace statiskit { - template - WeightedData< D, B >::WeightedData(const D& data) + template + WeightedData::WeightedData(const B& data) { this->data = data.copy().release(); this->weights = std::make_shared< std::vector< double > >(data.get_nb_events(), 1.); } - template - WeightedData< D, B >::WeightedData(const WeightedData< D, B >& data) + template + WeightedData::WeightedData(const WeightedData& data) { this->data = data.data->copy().release(); this->weights = data.weights; } - template - WeightedData< D, B >::~WeightedData() + template + WeightedData::~WeightedData() { delete this->data; } - template - std::unique_ptr< typename D::Generator > WeightedData< D, B >::generator() const + template + std::unique_ptr< typename B::Generator > WeightedData::generator() const { return std::make_unique< Generator >(*this); } - template - const D* WeightedData< D, B >::origin() const + template + const B* WeightedData::origin() const { return this->data; } - template - Index WeightedData< D, B >::get_nb_weights() const + template + Index WeightedData::get_nb_weights() const { return this->weights->size(); } - template - double WeightedData< D, B >::get_weight(const Index& index) const + template + double WeightedData::get_weight(const Index& index) const { if (index > this->get_nb_weights()) { throw size_error("index", this->get_nb_weights(), size_error::inferior); @@ -45,8 +45,8 @@ namespace statiskit return (*this->weights)[index]; } - template - void WeightedData< D, B >::set_weight(const Index& index, const double& weight) + template + void WeightedData::set_weight(const Index& index, const double& weight) { if (index > this->get_nb_weights()) { throw size_error("index", this->get_nb_weights(), size_error::inferior); @@ -57,8 +57,8 @@ namespace statiskit (*this->weights)[index] = weight; } - template - void WeightedData< D, B >::detach() + template + void WeightedData::detach() { if (this->weights.use_count() > 1) { std::shared_ptr< std::vector< double > > weights = std::make_shared< std::vector< double > >(this->weights->cbegin(), this->weights->cend()); @@ -66,32 +66,32 @@ namespace statiskit } } - template - WeightedData< D, B >::Generator::Generator(const WeightedData< D, B >& data) : PolymorphicCopy< typename D::Generator, Generator, typename B::Generator >(data) + template + WeightedData::Generator::Generator(const WeightedData& data) : PolymorphicCopy< Generator, typename B::Generator >(data) { this->data = data.copy().release(); this->index = 0; } - template - WeightedData< D, B >::Generator::Generator(const Generator& generator) : PolymorphicCopy< typename D::Generator, Generator, typename B::Generator >(generator) + template + WeightedData::Generator::Generator(const Generator& generator) : PolymorphicCopy< Generator, typename B::Generator >(generator) { - this->data = static_cast< WeightedData< D, B >* >(generator.data->copy().release()); + this->data = static_cast< WeightedData* >(generator.data->copy().release()); this->index = generator.index; } - template - WeightedData< D, B >::Generator::~Generator() + template + WeightedData::Generator::~Generator() { delete this->data; } - template - double WeightedData< D, B >::Generator::get_weight() const + template + double WeightedData::Generator::get_weight() const { return this->data->get_weight(this->index); } - template - typename D::Generator& WeightedData< D, B >::Generator::operator++() + template + typename B::Generator& WeightedData::Generator::operator++() { B::Generator::operator++(); ++index; diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index e05311ae..8d1ccdce 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -1218,12 +1218,12 @@ namespace statiskit BetaBinomialDistribution::BetaBinomialDistribution(const unsigned int& kappa, const double& alpha, const double& gamma) { - set_alpha(alpha); - set_gamma(gamma); - set_kappa(kappa); + this->set_alpha(alpha); + this->set_gamma(gamma); + this->set_kappa(kappa); } - BetaBinomialDistribution::BetaBinomialDistribution(const BetaBinomialDistribution& binomial) : PolymorphicCopy< UnivariateDistribution, BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(binomial) + BetaBinomialDistribution::BetaBinomialDistribution(const BetaBinomialDistribution& binomial) : PolymorphicCopy< BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(binomial) { this->kappa = binomial.kappa; } @@ -1304,7 +1304,7 @@ namespace statiskit set_kappa(kappa); } - BetaNegativeBinomialDistribution::BetaNegativeBinomialDistribution(const BetaNegativeBinomialDistribution& negbinomial) : PolymorphicCopy< UnivariateDistribution, BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(negbinomial) + BetaNegativeBinomialDistribution::BetaNegativeBinomialDistribution(const BetaNegativeBinomialDistribution& negbinomial) : PolymorphicCopy< BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution >(negbinomial) { this->kappa = negbinomial.kappa; } @@ -2855,154 +2855,6 @@ namespace statiskit return llh; } - CategoricalUnivariateMixtureDistribution::CategoricalUnivariateMixtureDistribution(const std::vector< CategoricalUnivariateDistribution* > observations, const Eigen::VectorXd& pi) - { - this->init(observations, pi); - } - - CategoricalUnivariateMixtureDistribution::CategoricalUnivariateMixtureDistribution(const CategoricalUnivariateMixtureDistribution& mixture) - { - this->init(mixture); - } - - CategoricalUnivariateMixtureDistribution::~CategoricalUnivariateMixtureDistribution() - {} - - double CategoricalUnivariateMixtureDistribution::pdf(const int& position) const - { - double p = 0.; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - p += this->pi[index] * this->observations[index]->pdf(position); - } - return p; - } - - std::set< std::string > CategoricalUnivariateMixtureDistribution::get_values() const - { - std::set< std::string > values = std::set< std::string >(); - for(Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) - { - std::set< std::string > state_values = this->observations[index]->get_values(); - values.insert(state_values.cbegin(), state_values.cend()); - } - return values; - } - - SplittingDistribution::SplittingDistribution(const DiscreteUnivariateDistribution& sum, const SingularDistribution& singular) - { - this->sum = nullptr; - this->set_sum(sum); - this->singular = nullptr; - this->set_singular(singular); - } - - SplittingDistribution::SplittingDistribution(const SplittingDistribution& splitting) - { - if (splitting.sum) { - this->sum = static_cast< DiscreteUnivariateDistribution* >(splitting.sum->copy().release()); - } else { - this->sum = nullptr; - } - if (splitting.singular) { - this->singular = splitting.singular->copy().release(); - } else { - this->singular = nullptr; - } - } - - SplittingDistribution::~SplittingDistribution() - { - if (this->sum) { - delete this->sum; - this->sum = nullptr; - } - if (this->singular) { - delete this->singular; - this->singular = nullptr; - } - } - - Index SplittingDistribution::get_nb_components() const - { - return this->singular->get_nb_components(); - } - - unsigned int SplittingDistribution::get_nb_parameters() const - { return this->sum->get_nb_parameters() + this->singular->get_nb_parameters(); } - - double SplittingDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const - { - double p; - if (event && event->size() == this->get_nb_components()) { - try { - int sum = 0; - for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { - const UnivariateEvent* uevent = event->get_event(component); - if (uevent) { - if (uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { - sum += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); - } else { - throw std::exception(); - } - } - } - p = this->sum->ldf(sum) + this->singular->probability(event, logarithm); - } catch (const std::exception& error) { - p = log(0.); - } - } else { - p = log(0.); - } - if (!logarithm) { - p = exp(p); - } - return p; - } - - std::unique_ptr< MultivariateEvent > SplittingDistribution::simulate() const - { - int sum = static_cast< DiscreteElementaryEvent* >(this->sum->simulate().get())->get_value(); - return this->singular->simulate(sum); - } - - const DiscreteUnivariateDistribution* SplittingDistribution::get_sum() const - { - return this->sum; - } - - void SplittingDistribution::set_sum(const DiscreteUnivariateDistribution& sum) - { - if (sum.cdf(-1) > 0.) { - throw parameter_error("sum", "must have a natural numbers subset as support"); - } - if (this->sum) { - delete this->sum; - } - this->sum = static_cast< DiscreteUnivariateDistribution* >(sum.copy().release()); - } - - SingularDistribution* SplittingDistribution::get_singular() const - { - return this->singular; - } - - void SplittingDistribution::set_singular(const SingularDistribution& singular) - { - if (this->singular && !singular.get_nb_components() == this->get_nb_components()) { - throw parameter_error("singular", "has not the required number of components"); - } - if (this->singular) { - delete this->singular; - } - this->singular = singular.copy().release(); - } - - SplittingDistribution::SplittingDistribution() - { - this->sum = nullptr; - this->singular = nullptr; - } - MultinormalDistribution::MultinormalDistribution(const Eigen::VectorXd& mu, const Eigen::MatrixXd& sigma) { this->mu = mu; @@ -3180,182 +3032,4 @@ namespace statiskit MultivariateConditionalDistribution::~MultivariateConditionalDistribution() {} - - // double MultivariateConditionalDistribution::loglikelihood(const MultivariateConditionalData& data) const - // { - // double llh = 0.; - // std::unique_ptr< MultivariateConditionalData::Generator > generator = data.generator(); - // while(generator->is_valid() && boost::math::isfinite(llh)) - // { - // double weight = generator->weight(); - // if (weight > 0.) - // { - // const MultivariateDistribution* distribution = this->operator() (*(generator->explanatories())); - // llh += weight * distribution->probability(generator->responses(), true); - // } - // ++(*generator); - // } - // return llh; - // } - - DiscreteUnivariateMixtureDistribution::DiscreteUnivariateMixtureDistribution(const std::vector< DiscreteUnivariateDistribution* > observations, const Eigen::VectorXd& pi) - { - this->init(observations, pi); - } - - DiscreteUnivariateMixtureDistribution::DiscreteUnivariateMixtureDistribution(const DiscreteUnivariateMixtureDistribution& mixture) - { - this->init(mixture); - } - - DiscreteUnivariateMixtureDistribution::~DiscreteUnivariateMixtureDistribution() - {} - - int DiscreteUnivariateMixtureDistribution::quantile(const double& p) const - { - int lv = this->observations[0]->quantile(p); - int rv = lv; - for (Index index = 1, max_index = this->get_nb_states(); index < max_index; ++index) { - int current = this->observations[index]->quantile(p); - if (current < lv) { - lv = current; - } else if (current > rv) { - rv = current; - } - } - --lv; - while (this->cdf(lv) >= p) { - --lv; - } - ++rv; - while (this->cdf(rv) <= p) { - ++rv; - } - double lp = this->cdf(lv); - double rp = this->cdf(rv); - do { - int mv = (rv + lv)/2; - double mp = this->cdf(mv); - if (mp < p) { - lv = mv; - lp = mp; - } else { - rv = mv; - rp = mp; - } - } while(rv - lv > 1); - return rv; - } - - ContinuousUnivariateMixtureDistribution::ContinuousUnivariateMixtureDistribution(const std::vector< ContinuousUnivariateDistribution* > observations, const Eigen::VectorXd& pi) - { - this->init(observations, pi); - this->epsilon = 1e-6; - } - - ContinuousUnivariateMixtureDistribution::ContinuousUnivariateMixtureDistribution(const ContinuousUnivariateMixtureDistribution& mixture) - { - this->init(mixture); - this->epsilon = mixture.epsilon; - } - - ContinuousUnivariateMixtureDistribution::~ContinuousUnivariateMixtureDistribution() - {} - - double ContinuousUnivariateMixtureDistribution::quantile(const double& p) const - { - double lv = this->observations[0]->quantile(p); - double rv = lv; - for (Index index = 1, max_index = this->get_nb_states(); index < max_index; ++index) { - double current = this->observations[0]->quantile(p); - if (current < lv) { - lv = current; - } else if (current > rv) { - rv = current; - } - } - double lp = this->cdf(lv); - double rp = this->cdf(rv); - do { - int mv = (rv + lv)/2; - double mp = this->cdf(mv); - if (mp < p) { - lv = mv; - lp = mp; - } else { - rv = mv; - rp = mp; - } - } while(rv - lv > this->epsilon); - return rv; - } - - double ContinuousUnivariateMixtureDistribution::get_epsilon() const - { return this->epsilon; } - - void ContinuousUnivariateMixtureDistribution::set_epsilon(const double& epsilon) - { - if (epsilon <= 0.) { - throw lower_bound_error("epsilon", epsilon, 0., true); - } - this->epsilon = epsilon; - } - - MixtureSingularDistribution::MixtureSingularDistribution(const std::vector< SingularDistribution* > observations, const Eigen::VectorXd& pi) - { - this->init(observations, pi); - std::vector< SingularDistribution* >::const_iterator it = observations.cbegin(), it_end = observations.cend(); - Index nb_components = (*it)->get_nb_components(); - ++it; - while (it != it_end) { - if ((*it)->get_nb_components() != nb_components) { - throw parameter_error("observations", "not same number of components"); - } - ++it; - } - } - - MixtureSingularDistribution::MixtureSingularDistribution(const MixtureSingularDistribution& mixture) - { - this->init(mixture); - } - - MixtureSingularDistribution::~MixtureSingularDistribution() - {} - - void MixtureSingularDistribution::set_observation(const Index& index, const SingularDistribution& observation) - { - if (observation.get_nb_components() != this->get_nb_components()) { - throw parameter_error("observation", "not same number of components"); - } - MixtureDistribution< SingularDistribution >::set_observation(index, observation); - } - - Index MixtureSingularDistribution::get_nb_components() const - { - return this->observations.back()->get_nb_components(); - } - - double MixtureSingularDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const - { - double p = 0.; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - p += this->pi[index] * this->observations[index]->probability(event, false); - } - if (logarithm) { - p = log(p); - } - return p; - } - - std::unique_ptr< MultivariateEvent > MixtureSingularDistribution::simulate(unsigned int sum) const - { - double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); - Index index = 0, max_index = this->get_nb_states(); - while(cp < sp && index < max_index) { - ++index; - cp += this->pi[index]; - } - return this->observations[index]->simulate(sum); - } } diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index a8b88bb7..b047e032 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -20,13 +20,13 @@ #include "base.h" #include "data.h" -#include "singular.h" namespace statiskit { /// \brief This virtual class UnivariateDistribution represents the distribution of a random univariate component \f$ X \f$. The support of this distribution is a set \f$ \mathcal{X} \f$ with one dimension. struct STATISKIT_CORE_API UnivariateDistribution { + using copy_type = UnivariateDistribution; using data_type = UnivariateData; virtual ~UnivariateDistribution() = 0; @@ -87,7 +87,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API CategoricalUnivariateDistribution : UnivariateDistribution { - typedef CategoricalEvent event_type; + using event_type = CategoricalEvent; /** \brief Compute the probability of a set of values. * @@ -124,7 +124,7 @@ namespace statiskit }; - struct STATISKIT_CORE_API BinaryDistribution : public PolymorphicCopy< UnivariateDistribution, BinaryDistribution, CategoricalUnivariateDistribution > + struct STATISKIT_CORE_API BinaryDistribution : public PolymorphicCopy< BinaryDistribution, CategoricalUnivariateDistribution > { public: BinaryDistribution(); @@ -177,7 +177,7 @@ namespace statiskit /** \brief This class NominalDistribution represents the distribution of a random nominal component \f$ S\f$. The support is a finite non-ordered set of categories (string) \f$ \mathcal{S} \f$ and we have \f$ \sum_{s\in \mathcal{S}} P(S=s) = 1\f$. * * */ - struct STATISKIT_CORE_API NominalDistribution : PolymorphicCopy< UnivariateDistribution, NominalDistribution, UnivariateFrequencyDistribution< CategoricalUnivariateDistribution > > + struct STATISKIT_CORE_API NominalDistribution : PolymorphicCopy< NominalDistribution, UnivariateFrequencyDistribution< CategoricalUnivariateDistribution > > { NominalDistribution(const std::set< std::string >& values); NominalDistribution(const std::set< std::string >& values, const Eigen::VectorXd& pi); @@ -189,7 +189,7 @@ namespace statiskit /** \brief This class OrdinalDistribution represents the distribution of a random ordinal component \f$ S\f$. The support is a finite ordered set of categories (string) \f$ \mathcal{S} =\left\lbrace s_1, \ldots, s_J \right\rbrace \f$ and we have \f$ \sum_{j=1}^J P(S=s_j) = 1 \f$. * * */ - class STATISKIT_CORE_API OrdinalDistribution : public PolymorphicCopy< UnivariateDistribution, OrdinalDistribution, UnivariateFrequencyDistribution< CategoricalUnivariateDistribution > > + class STATISKIT_CORE_API OrdinalDistribution : public PolymorphicCopy< OrdinalDistribution, UnivariateFrequencyDistribution< CategoricalUnivariateDistribution > > { public: /** \brief An alternative constructor @@ -258,10 +258,10 @@ namespace statiskit std::vector< Index > rank; }; - class STATISKIT_CORE_API HierarchicalDistribution : public PolymorphicCopy< UnivariateDistribution, HierarchicalDistribution, CategoricalUnivariateDistribution > + class STATISKIT_CORE_API HierarchicalDistribution : public PolymorphicCopy< HierarchicalDistribution, CategoricalUnivariateDistribution > { public: - typedef std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator const_iterator; + using const_iterator = std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator; HierarchicalDistribution(); HierarchicalDistribution(const HierarchicalSampleSpace& hss); @@ -298,13 +298,9 @@ namespace statiskit std::set< std::string > values; void check_internal(const std::string& value) const; - - // typedef std::map< std::string, CategoricalUnivariateDistribution* >::iterator iterator; - // iterator begin(); - // iterator end(); }; - template struct QuantitativeUnivariateFrequencyDistribution : PolymorphicCopy< UnivariateDistribution, QuantitativeUnivariateFrequencyDistribution< T >, UnivariateFrequencyDistribution< T > > + template struct QuantitativeUnivariateFrequencyDistribution : PolymorphicCopy< QuantitativeUnivariateFrequencyDistribution< T >, UnivariateFrequencyDistribution< T > > { // using UnivariateFrequencyDistribution< T >::UnivariateFrequencyDistribution; QuantitativeUnivariateFrequencyDistribution(const std::set< typename T::event_type::value_type >& values); @@ -320,7 +316,7 @@ namespace statiskit virtual double get_variance() const; }; - template class ShiftedDistribution : public PolymorphicCopy< UnivariateDistribution, ShiftedDistribution< T >, T > + template class ShiftedDistribution : public PolymorphicCopy< ShiftedDistribution< T >, T > { public: ShiftedDistribution(const T& distribution, const typename T::event_type::value_type& shift); @@ -357,7 +353,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API DiscreteUnivariateDistribution : UnivariateDistribution { - typedef DiscreteEvent event_type; + using event_type = DiscreteEvent; /** \brief Compute the probability of a set of values. * @@ -405,14 +401,14 @@ namespace statiskit virtual double get_variance() const = 0; }; - typedef QuantitativeUnivariateFrequencyDistribution< DiscreteUnivariateDistribution > DiscreteUnivariateFrequencyDistribution; - typedef ShiftedDistribution< DiscreteUnivariateDistribution > ShiftedDiscreteUnivariateDistribution; + using DiscreteUnivariateFrequencyDistribution = QuantitativeUnivariateFrequencyDistribution< DiscreteUnivariateDistribution >; + using ShiftedDiscreteUnivariateDistribution = ShiftedDistribution< DiscreteUnivariateDistribution >; /** \brief This class PoissonDistribution represents a [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution) * * \details The Poisson distribution is an univariate discrete distribution that expresses the probability of a given number of events occurring in a fixed interval of time and/or space if these events occur with a known average rate \f$\theta \in \mathbb{R}_+^* \f$ and independently of the time since the last event. The support of the Poisson distribution is the set of non-negative integer \f$ \mathbb{N} \f$. * */ - class STATISKIT_CORE_API PoissonDistribution : public PolymorphicCopy< UnivariateDistribution, PoissonDistribution, DiscreteUnivariateDistribution > + class STATISKIT_CORE_API PoissonDistribution : public PolymorphicCopy< PoissonDistribution, DiscreteUnivariateDistribution > { public: /** \brief The default constructor @@ -509,7 +505,7 @@ namespace statiskit * The support of the binomial distribution is the set all intergers betwwen $0$ and \f$ \kappa \f$. * In the particular case of \f$ \kappa = 1\f$ the binomial distribution is the [Bernouilli distribution](https://en.wikipedia.org/wiki/Bernoulli_distribution). * */ - class STATISKIT_CORE_API BinomialDistribution : public PolymorphicCopy< UnivariateDistribution, BinomialDistribution, DiscreteUnivariateDistribution > + class STATISKIT_CORE_API BinomialDistribution : public PolymorphicCopy< BinomialDistribution, DiscreteUnivariateDistribution > { public: /** \brief The default constructor @@ -618,7 +614,7 @@ namespace statiskit double pi; }; - class STATISKIT_CORE_API LogarithmicDistribution : public PolymorphicCopy< UnivariateDistribution, LogarithmicDistribution, DiscreteUnivariateDistribution > + class STATISKIT_CORE_API LogarithmicDistribution : public PolymorphicCopy< LogarithmicDistribution, DiscreteUnivariateDistribution > { public: LogarithmicDistribution(); @@ -645,7 +641,7 @@ namespace statiskit double theta; }; - class STATISKIT_CORE_API GeometricDistribution : public PolymorphicCopy< UnivariateDistribution, GeometricDistribution, DiscreteUnivariateDistribution > + class STATISKIT_CORE_API GeometricDistribution : public PolymorphicCopy< GeometricDistribution, DiscreteUnivariateDistribution > { public: GeometricDistribution(); @@ -684,7 +680,7 @@ namespace statiskit * The support of the negative binomial distribution is the set of non-negative integer \f$\mathbb{N}\f$. * In the particular case of \f$\kappa = 1.\f$ the negative binomial distribution represents a [geometric distribution](https://en.wikipedia.org/wiki/Geometric_distribution) with \f$\mathbb{N}\f$ as support. * */ - class STATISKIT_CORE_API NegativeBinomialDistribution : public PolymorphicCopy< UnivariateDistribution, NegativeBinomialDistribution, DiscreteUnivariateDistribution > + class STATISKIT_CORE_API NegativeBinomialDistribution : public PolymorphicCopy< NegativeBinomialDistribution, DiscreteUnivariateDistribution > { public: /** \brief The default constructor @@ -798,7 +794,7 @@ namespace statiskit double gamma; }; - class STATISKIT_CORE_API BetaBinomialDistribution : public PolymorphicCopy< UnivariateDistribution, BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > + class STATISKIT_CORE_API BetaBinomialDistribution : public PolymorphicCopy< BetaBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > { public: /** \brief The default constructor @@ -857,7 +853,7 @@ namespace statiskit unsigned int kappa; }; - class STATISKIT_CORE_API BetaNegativeBinomialDistribution : public PolymorphicCopy< UnivariateDistribution, BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > + class STATISKIT_CORE_API BetaNegativeBinomialDistribution : public PolymorphicCopy< BetaNegativeBinomialDistribution, BetaCompoundDiscreteUnivariateDistribution > { public: /** \brief The default constructor @@ -920,7 +916,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API ContinuousUnivariateDistribution : UnivariateDistribution { - typedef ContinuousEvent event_type; + using event_type = ContinuousEvent; /** \brief Compute the probability of a set of values. * @@ -963,14 +959,15 @@ namespace statiskit virtual double get_variance() const = 0; }; - typedef QuantitativeUnivariateFrequencyDistribution< ContinuousUnivariateDistribution > ContinuousUnivariateFrequencyDistribution; + using ShiftedContinuousUnivariateDistribution = ShiftedDistribution< ContinuousUnivariateDistribution >; + using ContinuousUnivariateFrequencyDistribution = QuantitativeUnivariateFrequencyDistribution< ContinuousUnivariateDistribution >; /** \brief This class NormalDistribution represents a [normal distribution](https://en.wikipedia.org/wiki/Normal_distribution). * * \details The normal distribution is an univariate continuous distribution. * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API NormalDistribution : public PolymorphicCopy< UnivariateDistribution, NormalDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API NormalDistribution : public PolymorphicCopy< NormalDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1059,7 +1056,7 @@ namespace statiskit double sigma; }; - class STATISKIT_CORE_API UnivariateHistogramDistribution : public PolymorphicCopy< UnivariateDistribution, UnivariateHistogramDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API UnivariateHistogramDistribution : public PolymorphicCopy< UnivariateHistogramDistribution, ContinuousUnivariateDistribution > { public: UnivariateHistogramDistribution(const std::set& bins, const std::vector& densities); @@ -1096,7 +1093,7 @@ namespace statiskit * \details The logistic distribution is an univariate continuous distribution. * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API LogisticDistribution : public PolymorphicCopy< UnivariateDistribution, LogisticDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API LogisticDistribution : public PolymorphicCopy< LogisticDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1191,7 +1188,7 @@ namespace statiskit * \details The Laplace distribution is an univariate continuous distribution. * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API LaplaceDistribution : public PolymorphicCopy< UnivariateDistribution, LaplaceDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API LaplaceDistribution : public PolymorphicCopy< LaplaceDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1299,7 +1296,7 @@ namespace statiskit * \details The Cauchy distribution is an univariate continuous distribution. * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API CauchyDistribution : public PolymorphicCopy< UnivariateDistribution, CauchyDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API CauchyDistribution : public PolymorphicCopy< CauchyDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1397,7 +1394,7 @@ namespace statiskit * \details The Student distribution is an univariate continuous distribution. * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API StudentDistribution : public PolymorphicCopy< UnivariateDistribution, StudentDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API StudentDistribution : public PolymorphicCopy< StudentDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1590,7 +1587,7 @@ namespace statiskit * It is also called extreme value type I distribution (maximum). * The support is the set of real values \f$\mathbb{R}\f$. * */ - class STATISKIT_CORE_API GumbelDistribution : public PolymorphicCopy< UnivariateDistribution, GumbelDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API GumbelDistribution : public PolymorphicCopy< GumbelDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1688,7 +1685,7 @@ namespace statiskit * The support is the set of real values \f$\mathbb{R}\f$. * @see statiskit::GumbelMaxDistribution * */ - class STATISKIT_CORE_API GompertzDistribution : public PolymorphicCopy< UnivariateDistribution, GompertzDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API GompertzDistribution : public PolymorphicCopy< GompertzDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1784,7 +1781,7 @@ namespace statiskit * \details The exponential distribution is an univariate continuous distribution. * The support is the set of positive real values \f$\mathbb{R}_+^*\f$. * */ - class STATISKIT_CORE_API ExponentialDistribution : public PolymorphicCopy< UnivariateDistribution, ExponentialDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API ExponentialDistribution : public PolymorphicCopy< ExponentialDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1878,7 +1875,7 @@ namespace statiskit * \details The Gamma distribution is an univariate continuous distribution. * The support is the set of positive real values \f$\mathbb{R}_+^*\f$. * */ - class STATISKIT_CORE_API GammaDistribution : public PolymorphicCopy< UnivariateDistribution, GammaDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API GammaDistribution : public PolymorphicCopy< GammaDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -1983,7 +1980,7 @@ namespace statiskit * \details The beta distribution is an univariate continuous distribution. * The support is the set of positive real values \f$\mathbb{R}_+^*\f$. * */ - class STATISKIT_CORE_API BetaDistribution : public PolymorphicCopy< UnivariateDistribution, BetaDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API BetaDistribution : public PolymorphicCopy< BetaDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -2090,7 +2087,7 @@ namespace statiskit * \details The uniform distribution is an univariate continuous distribution. * The support is the interval \f$[\alpha,\beta]\f$ where \f$\alpha\f$ and \f$\beta\f$ are two real values such that \f$\alpha<\beta\f$. * */ - class STATISKIT_CORE_API UniformDistribution : public PolymorphicCopy< UnivariateDistribution, UniformDistribution, ContinuousUnivariateDistribution > + class STATISKIT_CORE_API UniformDistribution : public PolymorphicCopy< UniformDistribution, ContinuousUnivariateDistribution > { public: /** \brief The default constructor @@ -2194,7 +2191,7 @@ namespace statiskit */ struct STATISKIT_CORE_API UnivariateConditionalDistribution { - typedef UnivariateDistribution response_type; + using response_type = UnivariateDistribution; virtual ~UnivariateConditionalDistribution() = 0; @@ -2217,26 +2214,23 @@ namespace statiskit struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistribution : UnivariateConditionalDistribution { - typedef CategoricalEvent event_type; - typedef CategoricalUnivariateDistribution response_type; + using event_type = CategoricalEvent; }; struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistribution : UnivariateConditionalDistribution { - typedef DiscreteEvent event_type; - typedef DiscreteUnivariateDistribution response_type; + using event_type = DiscreteEvent; }; struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistribution : UnivariateConditionalDistribution { - typedef ContinuousEvent event_type; - typedef ContinuousUnivariateDistribution response_type; + using event_type = ContinuousEvent; }; struct STATISKIT_CORE_API MultivariateDistribution { - typedef MultivariateData data_type; - typedef UnivariateDistribution marginal_type; + using copy_type = MultivariateDistribution; + using data_type = MultivariateData; virtual ~MultivariateDistribution() = 0; @@ -2262,48 +2256,17 @@ namespace statiskit struct STATISKIT_CORE_API CategoricalMultivariateDistribution : MultivariateDistribution { - typedef CategoricalUnivariateDistribution marginal_type; }; struct STATISKIT_CORE_API DiscreteMultivariateDistribution : MultivariateDistribution { - typedef DiscreteUnivariateDistribution marginal_type; - }; - - class STATISKIT_CORE_API SplittingDistribution : public PolymorphicCopy< MultivariateDistribution, SplittingDistribution, DiscreteMultivariateDistribution > - { - public: - SplittingDistribution(const DiscreteUnivariateDistribution& sum, const SingularDistribution& singular); - SplittingDistribution(const SplittingDistribution& splitting); - virtual ~SplittingDistribution(); - - virtual Index get_nb_components() const; - - virtual unsigned int get_nb_parameters() const; - - virtual double probability(const MultivariateEvent* event, const bool& logarithm) const; - - std::unique_ptr< MultivariateEvent > simulate() const; - - const DiscreteUnivariateDistribution* get_sum() const; - void set_sum(const DiscreteUnivariateDistribution& sum); - - SingularDistribution* get_singular() const; - void set_singular(const SingularDistribution& singular); - - protected: - DiscreteUnivariateDistribution* sum; - SingularDistribution* singular; - - SplittingDistribution(); }; struct STATISKIT_CORE_API ContinuousMultivariateDistribution : MultivariateDistribution { - typedef ContinuousUnivariateDistribution marginal_type; }; - class STATISKIT_CORE_API MultinormalDistribution : public PolymorphicCopy< MultivariateDistribution, MultinormalDistribution, ContinuousMultivariateDistribution > + class STATISKIT_CORE_API MultinormalDistribution : public PolymorphicCopy< MultinormalDistribution, ContinuousMultivariateDistribution > { public: MultinormalDistribution(const Eigen::VectorXd& mu, const Eigen::MatrixXd& sigma); @@ -2329,7 +2292,7 @@ namespace statiskit Eigen::MatrixXd sigma; }; - class STATISKIT_CORE_API DirichletDistribution : public PolymorphicCopy< MultivariateDistribution, DirichletDistribution, ContinuousMultivariateDistribution > + class STATISKIT_CORE_API DirichletDistribution : public PolymorphicCopy< DirichletDistribution, ContinuousMultivariateDistribution > { public: DirichletDistribution(const Index& nb_components); @@ -2355,7 +2318,7 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateConditionalDistribution { - typedef MultivariateDistribution response_type; + using response_type = MultivariateDistribution; virtual ~MultivariateConditionalDistribution() = 0; @@ -2380,148 +2343,6 @@ namespace statiskit struct STATISKIT_CORE_API ContinuousMultivariateConditionalDistribution : MultivariateConditionalDistribution {}; - - template class MixtureDistribution : public D - { - public: - typedef D observation_type; - - MixtureDistribution(); - virtual ~MixtureDistribution(); - - virtual unsigned int get_nb_parameters() const; - - Index get_nb_states() const; - - const D* get_observation(const Index& index) const; - virtual void set_observation(const Index& index, const D& observation); - - const Eigen::VectorXd& get_pi() const; - void set_pi(const Eigen::VectorXd& pi); - - Eigen::VectorXd posterior(const typename D::data_type::event_type* event, const bool& logarithm=false) const; - - Index assignment(const typename D::data_type::event_type* event) const; - std::vector< Index > assignment(const typename D::data_type& data) const; - - double uncertainty(const typename D::data_type::event_type* event) const; - double uncertainty(const typename D::data_type& data) const; - - protected: - std::vector< D* > observations; - Eigen::VectorXd pi; - - void init(const std::vector< D* > observations, const Eigen::VectorXd& pi); - void init(const MixtureDistribution< D >& mixture); - }; - - template struct UnivariateMixtureDistribution : MixtureDistribution< D > - { - UnivariateMixtureDistribution(); - virtual ~UnivariateMixtureDistribution(); - - virtual double ldf(const typename D::event_type::value_type& value) const; - - virtual double pdf(const typename D::event_type::value_type& value) const; - - std::unique_ptr< UnivariateEvent > simulate() const; - }; - - struct STATISKIT_CORE_API CategoricalUnivariateMixtureDistribution : PolymorphicCopy< UnivariateDistribution, CategoricalUnivariateMixtureDistribution, UnivariateMixtureDistribution< CategoricalUnivariateDistribution > > - { - CategoricalUnivariateMixtureDistribution(const std::vector< CategoricalUnivariateDistribution* > observations, const Eigen::VectorXd& pi); - CategoricalUnivariateMixtureDistribution(const CategoricalUnivariateMixtureDistribution& mixture); - virtual ~CategoricalUnivariateMixtureDistribution(); - - virtual double pdf(const int& position) const; - - virtual std::set< std::string > get_values() const; - }; - - typedef std::vector< CategoricalUnivariateDistribution* > CategoricalUnivariateDistributionVector; - - template struct QuantitativeUnivariateMixtureDistribution : UnivariateMixtureDistribution< D > - { - QuantitativeUnivariateMixtureDistribution(); - virtual ~QuantitativeUnivariateMixtureDistribution(); - - virtual double cdf(const typename D::event_type::value_type& value) const; - - virtual double get_mean() const; - - virtual double get_variance() const; - }; - - struct STATISKIT_CORE_API DiscreteUnivariateMixtureDistribution : PolymorphicCopy< UnivariateDistribution, DiscreteUnivariateMixtureDistribution, QuantitativeUnivariateMixtureDistribution< DiscreteUnivariateDistribution > > - { - DiscreteUnivariateMixtureDistribution(const std::vector< DiscreteUnivariateDistribution* > observations, const Eigen::VectorXd& pi); - DiscreteUnivariateMixtureDistribution(const DiscreteUnivariateMixtureDistribution& mixture); - virtual ~DiscreteUnivariateMixtureDistribution(); - - virtual int quantile(const double& p) const; - }; - - typedef std::vector< DiscreteUnivariateDistribution* > DiscreteUnivariateDistributionVector; - - struct STATISKIT_CORE_API ContinuousUnivariateMixtureDistribution : PolymorphicCopy< UnivariateDistribution, ContinuousUnivariateMixtureDistribution, QuantitativeUnivariateMixtureDistribution< ContinuousUnivariateDistribution > > - { - public: - ContinuousUnivariateMixtureDistribution(const std::vector< ContinuousUnivariateDistribution* > observations, const Eigen::VectorXd& pi); - ContinuousUnivariateMixtureDistribution(const ContinuousUnivariateMixtureDistribution& mixture); - virtual ~ContinuousUnivariateMixtureDistribution(); - - virtual double quantile(const double& p) const; - - double get_epsilon() const; - void set_epsilon(const double& epsilon); - - protected: - double epsilon; - }; - - typedef std::vector< ContinuousUnivariateDistribution* > ContinuousUnivariateDistributionVector; - - template struct MultivariateMixtureDistribution : PolymorphicCopy< MultivariateDistribution, MultivariateMixtureDistribution< D >, MixtureDistribution< D > > - { - MultivariateMixtureDistribution(const std::vector< D* > observations, const Eigen::VectorXd& pi); - MultivariateMixtureDistribution(const MultivariateMixtureDistribution< D >& mixture); - virtual ~MultivariateMixtureDistribution(); - - virtual void set_observation(const Index& index, const D& observation); - - virtual Index get_nb_components() const; - - virtual double probability(const MultivariateEvent* event, const bool& logarithm) const; - - std::unique_ptr< MultivariateEvent > simulate() const; - }; - - typedef MultivariateMixtureDistribution< MultivariateDistribution > MixedMultivariateMixtureDistribution; - typedef std::vector< MultivariateDistribution* > MultivariateDistributionVector; - - typedef MultivariateMixtureDistribution< CategoricalMultivariateDistribution > CategoricalMultivariateMixtureDistribution; - typedef std::vector< CategoricalMultivariateDistribution* > CategoricalMultivariateDistributionVector; - - typedef MultivariateMixtureDistribution< DiscreteMultivariateDistribution > DiscreteMultivariateMixtureDistribution; - typedef std::vector< DiscreteMultivariateDistribution* > DiscreteMultivariateDistributionVector; - - struct STATISKIT_CORE_API MixtureSingularDistribution : PolymorphicCopy< SingularDistribution, MixtureSingularDistribution, MixtureDistribution< SingularDistribution > > - { - MixtureSingularDistribution(const std::vector< SingularDistribution* > observations, const Eigen::VectorXd& pi); - MixtureSingularDistribution(const MixtureSingularDistribution& mixture); - virtual ~MixtureSingularDistribution(); - - virtual void set_observation(const Index& index, const SingularDistribution& observation); - - virtual Index get_nb_components() const; - - virtual double probability(const MultivariateEvent* event, const bool& logarithm) const; - - virtual std::unique_ptr< MultivariateEvent > simulate(unsigned int sum) const; - }; - - typedef MultivariateMixtureDistribution< ContinuousMultivariateDistribution > ContinuousMultivariateMixtureDistribution; - typedef std::vector< ContinuousMultivariateDistribution* > ContinuousMultivariateDistributionVector; } #include "distribution.hpp" \ No newline at end of file diff --git a/src/cpp/distribution.hpp b/src/cpp/distribution.hpp index f4924987..f2722cf3 100644 --- a/src/cpp/distribution.hpp +++ b/src/cpp/distribution.hpp @@ -288,304 +288,6 @@ namespace statiskit delete this->distribution; this->distribution = static_cast< T* >(distribution.copy().release()); } - - template - MixtureDistribution< D >::MixtureDistribution() - {} - - template - MixtureDistribution< D >::~MixtureDistribution() - { - for (Index index = 0, max_index = this->observations.size(); index < max_index; ++index) { - delete this->observations[index]; - this->observations[index] = nullptr; - } - this->observations.clear(); - } - - template - unsigned int MixtureDistribution< D >::get_nb_parameters() const - { - unsigned int nb_parameters = this->pi.size() - 1; - for (Index index = 0, max_index = this->observations.size(); index < max_index; ++index) { - nb_parameters += this->observations[index]->get_nb_parameters(); - } - return nb_parameters; - } - - template - Index MixtureDistribution< D >::get_nb_states() const - { - return this->pi.size(); - } - - template - const D* MixtureDistribution< D >::get_observation(const Index& index) const - { - if (index >= get_nb_states()) { - throw size_error("index", get_nb_states(), size_error::inferior); - } - return this->observations[index]; - } - - template - void MixtureDistribution< D >::set_observation(const Index& index, const D& observation) - { - if (index >= get_nb_states()) { - throw size_error("index", get_nb_states(), size_error::inferior); - } - this->observations[index] = static_cast< D* >(observation.copy().release()); - } - - template - const Eigen::VectorXd& MixtureDistribution< D >::get_pi() const - { - return this->pi; - } - - template - void MixtureDistribution< D >::set_pi(const Eigen::VectorXd& pi) - { - if (pi.size() != this->observations.size()) { - throw size_error("pi", this->pi.size(), size_error::equal); - } - this->pi = pi / pi.sum(); - } - - - template - Eigen::VectorXd MixtureDistribution< D >::posterior(const typename D::data_type::event_type* event, const bool& logarithm) const - { - Eigen::VectorXd p = Eigen::VectorXd::Zero(this->get_nb_states()); - for (typename std::vector< D* >::const_iterator it = this->observations.cbegin(), it_end = this->observations.cend(); it != it_end; ++it) { - p[distance(this->observations.cbegin(), it)] = log(this->pi[distance(this->observations.cbegin(), it)]) + (*it)->probability(event, true); - } - double max = p.maxCoeff(); - for (Index index = 0, max_index = p.size(); index < max_index; ++index) { - if (boost::math::isfinite(p[index])) { - p[index] = p[index] - max; - } - } - if (!logarithm) { - for (Index index = 0, max_index = p.size(); index < max_index; ++index) { - if (boost::math::isfinite(p[index])) { - p[index] = exp(p[index]); - } else { - p[index] = 0.; - } - } - p /= p.sum(); - } - return p; - } - - template - Index MixtureDistribution< D >::assignment(const typename D::data_type::event_type* event) const - { - Eigen::VectorXd p = this->posterior(event, false); - Index index; - p.maxCoeff(&index); - return index; - } - - template - std::vector< Index> MixtureDistribution< D >::assignment(const typename D::data_type& data) const - { - std::vector< Index > indices(data.size()); - std::unique_ptr< typename D::data_type::Generator > generator = data.generator(); - Index index = 0; - while (generator->is_valid()) { - indices[index] = this->assignment(generator->event()); - ++index; - ++(*generator); - } - return indices; - } - - template - double MixtureDistribution< D >::uncertainty(const typename D::data_type::event_type* event) const - { - double entropy = 0.; - Eigen::VectorXd p = this->posterior(event, true); - for(Index index = 0, max_index = p.size(); index < max_index; ++index) { - if (boost::math::isfinite(p[index])) { - entropy -= exp(p[index]) * p[index]; - } - } - return entropy; - } - - template - double MixtureDistribution< D >::uncertainty(const typename D::data_type& data) const - { - double entropy = 0.; - std::unique_ptr< typename D::data_type::Generator > generator = data.generator(); - while (generator->is_valid()) { - entropy += generator->weight() * this->uncertainty(generator->event()); - ++(*generator); - } - return entropy; - } - - template - void MixtureDistribution< D >::init(const std::vector< D* > observations, const Eigen::VectorXd& pi) - { - this->observations.resize(observations.size()); - for (Index index = 0, max_index = observations.size(); index < max_index; ++index) { - this->observations[index] = static_cast< D* >(observations[index]->copy().release()); - } - this->set_pi(pi); - } - - template - void MixtureDistribution< D >::init(const MixtureDistribution< D >& mixture) - { - this->observations.resize(mixture.observations.size()); - for (Index index = 0, max_index = mixture.observations.size(); index < max_index; ++index) { - this->observations[index] = static_cast< D* >(mixture.observations[index]->copy().release()); - } - this->pi = mixture.pi; - } - - template - UnivariateMixtureDistribution< D >::UnivariateMixtureDistribution() : MixtureDistribution < D >() - {} - - template - UnivariateMixtureDistribution< D >::~UnivariateMixtureDistribution() - {} - - template - double UnivariateMixtureDistribution< D >::ldf(const typename D::event_type::value_type& value) const - { - return log(this->pdf(value)); - } - - template - double UnivariateMixtureDistribution< D >::pdf(const typename D::event_type::value_type& value) const - { - double p = 0.; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - p += this->pi[index] * this->observations[index]->pdf(value); - } - return p; - } - - template - std::unique_ptr< UnivariateEvent > UnivariateMixtureDistribution< D >::simulate() const - { - double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); - Index index = 0, max_index = this->get_nb_states(); - while (cp < sp && index < max_index) { - ++index; - cp += this->pi[index]; - } - return this->observations[index]->simulate(); - } - - template - QuantitativeUnivariateMixtureDistribution< D >::QuantitativeUnivariateMixtureDistribution() : UnivariateMixtureDistribution < D >() - {} - - template - QuantitativeUnivariateMixtureDistribution< D >::~QuantitativeUnivariateMixtureDistribution() - {} - - template - double QuantitativeUnivariateMixtureDistribution< D >::cdf(const typename D::event_type::value_type& value) const - { - double cp = 0; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - cp += this->pi[index] * this->observations[index]->cdf(value); - } - return cp; - } - - template - double QuantitativeUnivariateMixtureDistribution< D >::get_mean() const - { - double mean = 0; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - mean += this->pi[index] * this->observations[index]->get_mean(); - } - return mean; - } - - template - double QuantitativeUnivariateMixtureDistribution< D >::get_variance() const - { - double mean = this->get_mean(), variance = 0; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - variance += this->pi[index] * (pow(this->observations[index]->get_mean() - mean, 2) + this->observations[index]->get_variance()); - } - return variance; - } - - template - MultivariateMixtureDistribution< D >::MultivariateMixtureDistribution(const std::vector< D* > observations, const Eigen::VectorXd& pi) - { - this->init(observations, pi); - typename std::vector< D* >::const_iterator it = observations.cbegin(); - typename std::vector< D* >::const_iterator it_end = observations.cend(); - Index nb_components = (*it)->get_nb_components(); - ++it; - while (it != it_end) { - if ((*it)->get_nb_components() != nb_components) { - throw parameter_error("observations", "not same number of components"); - } - ++it; - } - } - - template - MultivariateMixtureDistribution< D >::MultivariateMixtureDistribution(const MultivariateMixtureDistribution< D >& mixture) - { - this->init(mixture); - } - - template - MultivariateMixtureDistribution< D >::~MultivariateMixtureDistribution() - {} - - template - void MultivariateMixtureDistribution< D >::set_observation(const Index& index, const D& observation) - { - if (observation.get_nb_components() != get_nb_components()) { - throw parameter_error("observation", "not same number of components"); - } - MixtureDistribution< D >::set_observation(index, observation); - } - - template - Index MultivariateMixtureDistribution< D >::get_nb_components() const - { - return this->observations.back()->get_nb_components(); - } - - template - double MultivariateMixtureDistribution< D >::probability(const MultivariateEvent* event, const bool& logarithm) const - { - double p = 0.; - for (Index index = 0, max_index = this->get_nb_states(); index < max_index; ++index) { - p += this->pi[index] * this->observations[index]->probability(event, false); - } - if (logarithm) { - p = log(p); - } - return p; - } - - template - std::unique_ptr< MultivariateEvent > MultivariateMixtureDistribution< D >::simulate() const - { - double cp = this->pi[0], sp = boost::uniform_01(__impl::get_random_generator())(); - Index index = 0, max_index = this->get_nb_states(); - while (cp < sp && index < max_index) { - ++index; - cp += this->pi[index]; - } - return this->observations[index]->simulate(); - } } #endif \ No newline at end of file diff --git a/src/cpp/estimation.cpp b/src/cpp/estimation.cpp index 789a5bba..f6bf05de 100644 --- a/src/cpp/estimation.cpp +++ b/src/cpp/estimation.cpp @@ -14,23 +14,47 @@ namespace statiskit underdispersion_error::underdispersion_error() : parameter_error("data", " is underdispersed") {} - std::unique_ptr< UnivariateDistributionEstimation::Estimator::estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable, const bool& lazy) const + std::unique_ptr< UnivariateDistributionEstimation::Estimator::estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable) const { - return this->operator()(*data.select(variable), lazy); + return this->operator()(*data.select(variable)); } - std::unique_ptr< MultivariateDistributionEstimation::Estimator::estimation_type > MultivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& variables, const bool& lazy) const + void CategoricalUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - return this->operator()(*data.select(variables), lazy); + DistributionEstimation< distribution_type >::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::CATEGORICAL) { + throw sample_space_error(outcome_type::CATEGORICAL); + } } - std::unique_ptr< UnivariateConditionalDistributionEstimation::Estimator::estimation_type > UnivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& response, const Indices& explanatories, const bool& lazy) const + void DiscreteUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - return this->operator()(*data.select(response), *data.select(explanatories), lazy); + DistributionEstimation< distribution_type >::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::DISCRETE) { + throw sample_space_error(outcome_type::DISCRETE); + } } - std::unique_ptr< MultivariateConditionalDistributionEstimation::Estimator::estimation_type > MultivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& responses, const Indices& explanatories, const bool& lazy) const + void ContinuousUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - return this->operator()(*data.select(responses), *data.select(explanatories), lazy); + DistributionEstimation< distribution_type >::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::CONTINUOUS) { + throw sample_space_error(outcome_type::CONTINUOUS); + } + } + + std::unique_ptr< MultivariateDistributionEstimation::Estimator::estimation_type > MultivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& variables) const + { + return this->operator()(*data.select(variables)); + } + + std::unique_ptr< UnivariateConditionalDistributionEstimation::Estimator::estimation_type > UnivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& response, const Indices& explanatories) const + { + return this->operator()(*data.select(response), *data.select(explanatories)); + } + + std::unique_ptr< MultivariateConditionalDistributionEstimation::Estimator::estimation_type > MultivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& responses, const Indices& explanatories) const + { + return this->operator()(*data.select(responses), *data.select(explanatories)); } } diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index fae6b79e..0371aa0c 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -19,10 +19,26 @@ namespace statiskit struct STATISKIT_CORE_API underdispersion_error : parameter_error { underdispersion_error(); }; + template class IterativeEstimation : public B + { + public: + using B::B; + IterativeEstimation(const IterativeEstimation& estimation); + virtual ~IterativeEstimation(); + + Index size() const; + + const S at_step(const Index& index) const; + + protected: + std::vector< S > steps; + }; + template class DistributionEstimation { public: + using copy_type = DistributionEstimation< D >; using distribution_type = D; using data_type = typename D::data_type; @@ -36,18 +52,25 @@ namespace statiskit virtual distribution_type const * get_distribution() const; - virtual std::unique_ptr< DistributionEstimation< D > > copy() const; + virtual std::unique_ptr< copy_type > copy() const; - struct STATISKIT_CORE_API Estimator + class STATISKIT_CORE_API Estimator { - using estimation_type = DistributionEstimation; + public: + using copy_type = Estimator; + using estimation_type = DistributionEstimation; + + using data_type = estimation_type::data_type; + using distribution_type = estimation_type::distribution_type; - virtual ~Estimator() = 0; + virtual ~Estimator() = 0; + + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const = 0; - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, - const bool& lazy=true) const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; + protected: + void check(const data_type& data) const; }; protected: @@ -55,82 +78,118 @@ namespace statiskit distribution_type const * distribution; }; - class STATISKIT_CORE_API UnivariateDistributionEstimation : DistributionEstimation< UnivariateDistribution > + struct STATISKIT_CORE_API UnivariateDistributionEstimation : DistributionEstimation< UnivariateDistribution > { - public: - using DistributionEstimation< UnivariateDistribution >::DistributionEstimation; - - struct STATISKIT_CORE_API Estimator : DistributionEstimation< UnivariateDistribution >::Estimator - { - using DistributionEstimation< UnivariateDistribution >::Estimator::Estimator; - using DistributionEstimation< UnivariateDistribution >::Estimator::estimation_type; + using DistributionEstimation< UnivariateDistribution >::DistributionEstimation; - using DistributionEstimation< UnivariateDistribution >::Estimator::operator(); + struct STATISKIT_CORE_API Estimator : DistributionEstimation< UnivariateDistribution >::Estimator + { + using DistributionEstimation< UnivariateDistribution >::Estimator::Estimator; + using DistributionEstimation< UnivariateDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Index& variable, - const bool& lazy=true) const; - }; + using DistributionEstimation< UnivariateDistribution >::Estimator::operator(); + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Index& variable) const; + }; }; struct STATISKIT_CORE_API CategoricalUnivariateDistributionEstimation : UnivariateDistributionEstimation { using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator + { + public: + using event_type = CategoricalEvent; + + protected: + void check(const data_type& data) const; + }; }; struct STATISKIT_CORE_API DiscreteUnivariateDistributionEstimation : UnivariateDistributionEstimation { using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator + { + public: + using event_type = DiscreteEvent; + + protected: + void check(const data_type& data) const; + }; }; struct STATISKIT_CORE_API ContinuousUnivariateDistributionEstimation : UnivariateDistributionEstimation { using UnivariateDistributionEstimation::UnivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : UnivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator + { + public: + using event_type = ContinuousEvent; + + protected: + void check(const data_type& data) const; + }; }; - class STATISKIT_CORE_API MultivariateDistributionEstimation : DistributionEstimation< MultivariateDistribution > + struct STATISKIT_CORE_API MultivariateDistributionEstimation : DistributionEstimation< MultivariateDistribution > { - public: - using DistributionEstimation< MultivariateDistribution >::DistributionEstimation; - - struct STATISKIT_CORE_API Estimator : DistributionEstimation< MultivariateDistribution >::Estimator - { - using DistributionEstimation< MultivariateDistribution >::Estimator::Estimator; - using DistributionEstimation< MultivariateDistribution >::Estimator::estimation_type; + using DistributionEstimation< MultivariateDistribution >::DistributionEstimation; - using DistributionEstimation< MultivariateDistribution >::Estimator::operator(); + struct STATISKIT_CORE_API Estimator : DistributionEstimation< MultivariateDistribution >::Estimator + { + using DistributionEstimation< MultivariateDistribution >::Estimator::Estimator; + using DistributionEstimation< MultivariateDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Indices& variables, - const bool& lazy=true) const; - }; + using DistributionEstimation< MultivariateDistribution >::Estimator::operator(); + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Indices& variables) const; + }; }; struct STATISKIT_CORE_API CategoricalMultivariateDistributionEstimation : MultivariateDistributionEstimation { using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator + { + protected: + void check(const data_type& data) const; + }; }; + // const MultivariateSampleSpace* sample_space = data.get_sample_space(); + // for(Index index = 0, max_index = sample_space->size(); index < max_index; ++index) + // { + // if(sample_space->get(index)->get_outcome() != DISCRETE) + // { throw statiskit::sample_space_error(DISCRETE); } + // } + struct STATISKIT_CORE_API DiscreteMultivariateDistributionEstimation : MultivariateDistributionEstimation { using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator + { + protected: + void check(const data_type& data) const; + }; }; struct STATISKIT_CORE_API ContinuousMultivariateDistributionEstimation : MultivariateDistributionEstimation { using MultivariateDistributionEstimation::MultivariateDistributionEstimation; - struct STATISKIT_CORE_API Estimator : MultivariateDistributionEstimation::Estimator {}; + class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator + { + protected: + void check(const data_type& data) const; + }; }; template @@ -167,8 +226,7 @@ namespace statiskit protected: virtual std::unique_ptr< estimation_type > operator() (const response_data_type& response_data, - const explanatory_data_type& explanatory_data, - const bool& lazy=true) const = 0; + const explanatory_data_type& explanatory_data) const = 0; }; protected: @@ -177,46 +235,42 @@ namespace statiskit distribution_type const* distribution; }; - class STATISKIT_CORE_API UnivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< UnivariateConditionalDistribution > + struct STATISKIT_CORE_API UnivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< UnivariateConditionalDistribution > { - public: - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::ConditionalDistributionEstimation; - - class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator - { - public: - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::estimation_type; + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::ConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator + { + public: + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Index& response, - const Indices& explanatories, - const bool& lazy=true) const; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Index& response, + const Indices& explanatories) const; - protected: - using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::operator(); - }; + protected: + using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::operator(); + }; }; - class STATISKIT_CORE_API MultivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< MultivariateConditionalDistribution > + struct STATISKIT_CORE_API MultivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< MultivariateConditionalDistribution > { - public: - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; - - class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator - { - public: - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::estimation_type; + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator + { + public: + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::estimation_type; - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Indices& responses, - const Indices& explanatories, - const bool& lazy=true) const; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, + const Indices& responses, + const Indices& explanatories) const; - protected: - using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::operator(); - }; + protected: + using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::operator(); + }; }; } diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index 5988d313..aab3bf98 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -3,6 +3,42 @@ namespace statiskit { + template + IterativeEstimation::IterativeEstimation(const IterativeEstimation& estimation) : B(estimation) + { + this->steps = estimation.steps; + if (std::is_pointer< S >::value) { + for(Index index = 0, max_index = this->steps.size(); index < max_index; ++index) { + this->steps[index] = static_cast< S >(this->steps[index]->copy().release()); + } + } + } + + template + IterativeEstimation::~IterativeEstimation() + { + if (std::is_pointer< S >::value) { + for (Index index = 0, max_index = this->steps.size(); index < max_index; ++index) { + delete this->steps[index]; + this->steps[index] = nullptr; + } + } + this->steps.clear(); + } + + template + Index IterativeEstimation::size() const + { return this->steps.size(); } + + template + const S IterativeEstimation::at_step(const Index& index) const + { + if (index >= this->size()) { + throw size_error("index", this->size(), size_error::inferior); + } + return this->at_step[index]; + } + template DistributionEstimation< D >::DistributionEstimation() { @@ -45,20 +81,34 @@ namespace statiskit template std::unique_ptr< DistributionEstimation< D > > DistributionEstimation< D >::copy() const - { return std::make_unique< DistributionEstimation< D > >(*this); } + { + return std::make_unique< DistributionEstimation< D > >(*this); + } template typename DistributionEstimation< D >::data_type const * DistributionEstimation< D >::get_data() const - { return this->data; } + { + return this->data; + } template typename DistributionEstimation< D >::distribution_type const * DistributionEstimation< D >::get_distribution() const - { return this->distribution; } + { + return this->distribution; + } template DistributionEstimation< D >::Estimator::~Estimator() {} + template + void DistributionEstimation< D >::Estimator::check(const data_type& data) const + { + if (data.get_nb_events() == 0) { + throw sample_size_error(1); + } + } + template ConditionalDistributionEstimation< D >::ConditionalDistributionEstimation() { @@ -111,19 +161,27 @@ namespace statiskit template std::unique_ptr< ConditionalDistributionEstimation< D > > ConditionalDistributionEstimation< D >::copy() const - { return std::make_unique< ConditionalDistributionEstimation< D > >(*this); } + { + return std::make_unique< ConditionalDistributionEstimation< D > >(*this); + } template typename ConditionalDistributionEstimation< D >::response_data_type const * ConditionalDistributionEstimation< D >::get_response_data() const - { return this->response_data; } + { + return this->response_data; + } template typename ConditionalDistributionEstimation< D >::explanatory_data_type const * ConditionalDistributionEstimation< D >::get_explanatory_data() const - { return this->explanatory_data; } + { + return this->explanatory_data; + } template typename ConditionalDistributionEstimation< D >::distribution_type const * ConditionalDistributionEstimation< D >::get_distribution() const - { return this->distribution; } + { + return this->distribution; + } template ConditionalDistributionEstimation< D >::Estimator::~Estimator() diff --git a/src/cpp/estimator.cpp b/src/cpp/estimator.cpp index 47e3536d..39591c25 100644 --- a/src/cpp/estimator.cpp +++ b/src/cpp/estimator.cpp @@ -1,65 +1,24 @@ #include "estimator.h" +#include "singular.h" + #include namespace statiskit { - - std::unique_ptr< UnivariateDistributionEstimation > CategoricalUnivariateDistributionEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + NominalDistributionEstimator::distribution_type* NominalDistributionEstimator::create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const { - if (data.get_sample_space()->get_outcome() != CATEGORICAL) { - throw statiskit::sample_space_error(CATEGORICAL); - } - std::unique_ptr< UnivariateDistributionEstimation > estimation; - std::set< std::string > values; - double total = data.compute_total(); - if (total > 0. && boost::math::isfinite(total)) { - const CategoricalSampleSpace* sample_space = static_cast< const CategoricalSampleSpace* >(data.get_sample_space()); - values = sample_space->get_values(); - Eigen::VectorXd masses = Eigen::VectorXd::Zero(values.size()); - std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while (generator->is_valid()) { - auto event = generator->event(); - if (event) { - if (event->get_event() == ELEMENTARY) { - std::set< std::string >::iterator it = values.find(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); - masses[distance(values.begin(), it)] += generator->weight() / total; - } - } - ++(*generator); - } - CategoricalUnivariateDistribution* distribution; - switch (sample_space->get_ordering()) { - case NONE: - case PARTIAL: - distribution = new NominalDistribution(values, masses); - break; - case TOTAL: - distribution = new OrdinalDistribution(static_cast< const OrdinalSampleSpace* >(sample_space)->get_ordered(), masses); - break; - } - if (lazy) { - estimation = std::make_unique< CategoricalUnivariateDistributionLazyEstimation >(distribution); - } else { - estimation = std::make_unique< CategoricalUnivariateDistributionActiveEstimation >(distribution, &data); - } - } - return estimation; + return new NominalDistribution(values, pi); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > CategoricalUnivariateDistributionEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - PoissonDistributionMLEstimation::PoissonDistributionMLEstimation() : ActiveEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation >() - {} - - PoissonDistributionMLEstimation::PoissonDistributionMLEstimation(PoissonDistribution const * estimated, UnivariateData const * data) : ActiveEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation >(estimated, data) - {} - - PoissonDistributionMLEstimation::PoissonDistributionMLEstimation(const PoissonDistributionMLEstimation& estimation) : ActiveEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation >(estimation) - {} + DiscreteUnivariateFrequencyDistributionEstimator::distribution_type* DiscreteUnivariateFrequencyDistributionEstimator::create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const + { + return new DiscreteUnivariateFrequencyDistribution(values, pi); + } - PoissonDistributionMLEstimation::~PoissonDistributionMLEstimation() - {} + ContinuousUnivariateFrequencyDistributionEstimator::distribution_type* ContinuousUnivariateFrequencyDistributionEstimator::create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const + { + return new ContinuousUnivariateFrequencyDistribution(values, pi); + } PoissonDistributionMLEstimation::Estimator::Estimator() {} @@ -70,284 +29,197 @@ namespace statiskit PoissonDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > PoissonDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< PoissonDistributionMLEstimation::Estimator::estimation_type > PoissonDistributionMLEstimation::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; + this->check(data); UnivariateMeanEstimation::Estimator estimator = UnivariateMeanEstimation::Estimator(); - std::unique_ptr< UnivariateLocationEstimation > _estimation = estimator(data); - double mean = _estimation->get_location(); - if(boost::math::isfinite(mean)) - { - PoissonDistribution* poisson = new PoissonDistribution(mean); - if(lazy) - { estimation = std::make_unique< LazyEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation > >(poisson); } - else - { estimation = std::make_unique< PoissonDistributionMLEstimation >(poisson, &data); } - } - return estimation; + std::unique_ptr< UnivariateLocationEstimation > estimation = estimator(data); + double mean = estimation->get_location(); + return std::make_unique< PoissonDistributionMLEstimation >(data.copy().release(), + new PoissonDistribution(mean)); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > PoissonDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - BinomialDistributionMLEstimation::BinomialDistributionMLEstimation() : OptimizationEstimation() - {} - - BinomialDistributionMLEstimation::BinomialDistributionMLEstimation(BinomialDistribution const * estimated, UnivariateData const * data) : OptimizationEstimation(estimated, data) - {} - - BinomialDistributionMLEstimation::BinomialDistributionMLEstimation(const BinomialDistributionMLEstimation& estimation) : OptimizationEstimation(estimation) - {} - - BinomialDistributionMLEstimation::~BinomialDistributionMLEstimation() - {} - - BinomialDistributionMLEstimation::Estimator::Estimator() : OptimizationEstimation::Estimator() - { _force = false; } + BinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() + { + this->force = false; + } - BinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimation::Estimator(estimator) - { _force = estimator._force; } + BinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) + { + this->force = estimator.force; + } BinomialDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > BinomialDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< BinomialDistributionMLEstimation::Estimator::estimation_type > BinomialDistributionMLEstimation::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; + this->check(data); UnivariateMeanEstimation::Estimator mean_estimator = UnivariateMeanEstimation::Estimator(); std::unique_ptr< UnivariateLocationEstimation > mean_estimation = mean_estimator(data); double mean = mean_estimation->get_location(); UnivariateVarianceEstimation::Estimator variance_estimator = UnivariateVarianceEstimation::Estimator(false); std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = variance_estimator(data, mean); double variance = variance_estimation->get_dispersion(); - if(variance > mean && !_force) - { throw overdispersion_error(); } + if (variance > mean && !this->force) { + throw overdispersion_error(); + } unsigned int kappa = std::max(round(pow(mean, 2)/(mean - variance)), static_cast< DiscreteElementaryEvent* >(data.compute_maximum().get())->get_value()); BinomialDistribution* binomial = new BinomialDistribution(kappa, mean/double(kappa)); - if(!lazy) - { - estimation = std::make_unique< BinomialDistributionMLEstimation >(binomial, &data); - static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); - } - else - { estimation = std::make_unique< LazyEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation > >(binomial); } + std::unique_ptr< BinomialDistributionMLEstimation > estimation = std::make_unique< BinomialDistributionMLEstimation >(binomial, &data); + estimation->steps.push_back(kappa); double curr, prev = binomial->loglikelihood(data); unsigned int its = 1; --kappa; - if(kappa > mean) - { - if(!lazy) - { static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + if(kappa > mean) { + estimation->steps.push_back(kappa); binomial->set_kappa(kappa); - binomial->set_pi(mean/double(kappa)); + binomial->set_pi(mean / double(kappa)); curr = binomial->loglikelihood(data); + } else { + curr = prev; } - else - { curr = prev; } - if(curr > prev) { - if (mean/(kappa-1) >= 0.0 && mean/(kappa-1) <= 1.0) { - do - { + if (curr > prev) { + if (mean / (kappa - 1) >= 0.0 && mean / (kappa - 1) <= 1.0) { + do { prev = curr; --kappa; - if(!lazy) - { static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + estimation->steps.push_back(kappa); binomial->set_kappa(kappa); - binomial->set_pi(mean/double(kappa)); + binomial->set_pi(mean / double(kappa)); curr = binomial->loglikelihood(data); ++its; - } while(run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); } - if(curr < prev) - { + if (curr < prev) { ++kappa; - if(!lazy) - { static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + estimation->steps.push_back(kappa); binomial->set_kappa(kappa); - binomial->set_pi(mean/double(kappa)); + binomial->set_pi(mean / double(kappa)); } - } - else - { + } else { curr = prev; - do - { + do { prev = curr; ++kappa; - if(!lazy) - { static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + estimation->steps.push_back(kappa); binomial->set_kappa(kappa); - binomial->set_pi(mean/double(kappa)); + binomial->set_pi(mean / double(kappa)); curr = binomial->loglikelihood(data); ++its; - } while(run(its, __impl::reldiff(prev, curr)) && curr > prev); - if(curr < prev) - { + } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); + if (curr < prev) { --kappa; - if(!lazy) - { static_cast< BinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + estimation->steps.push_back(kappa); binomial->set_kappa(kappa); - binomial->set_pi(mean/double(kappa)); + binomial->set_pi(mean / double(kappa)); } } return estimation; } bool BinomialDistributionMLEstimation::Estimator::get_force() const - { return _force; } + { + return this->force; + } void BinomialDistributionMLEstimation::Estimator::set_force(const bool& force) - { _force = force; } - - std::unique_ptr< UnivariateDistributionEstimation::Estimator > BinomialDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - BinomialDistributionMMEstimation::BinomialDistributionMMEstimation() : ActiveEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation >() - {} - - BinomialDistributionMMEstimation::BinomialDistributionMMEstimation(BinomialDistribution const * estimated, UnivariateData const * data) : ActiveEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation >(estimated, data) - {} - - BinomialDistributionMMEstimation::BinomialDistributionMMEstimation(const BinomialDistributionMMEstimation& estimation) : ActiveEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation >(estimation) - {} - - BinomialDistributionMMEstimation::~BinomialDistributionMMEstimation() - {} + { + this->force = force; + } BinomialDistributionMMEstimation::Estimator::Estimator() { - _location = new UnivariateMeanEstimation::Estimator(); - _dispersion = new UnivariateVarianceEstimation::Estimator(false); + this->location = new UnivariateMeanEstimation::Estimator(); + this->dispersion = new UnivariateVarianceEstimation::Estimator(false); } BinomialDistributionMMEstimation::Estimator::Estimator(const Estimator& estimator) { - _location = estimator._location->copy().release(); - _dispersion = estimator._dispersion->copy().release(); + this->location = estimator.location->copy().release(); + this->dispersion = estimator.dispersion->copy().release(); } BinomialDistributionMMEstimation::Estimator::~Estimator() { - delete _location; - delete _dispersion; + delete this->location; + delete this->dispersion; } - std::unique_ptr< UnivariateDistributionEstimation > BinomialDistributionMMEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< BinomialDistributionMMEstimation::Estimator::estimation_type > BinomialDistributionMMEstimation::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } + this->check(data); std::unique_ptr< UnivariateDistributionEstimation > estimation; - std::unique_ptr< UnivariateLocationEstimation > mean_estimation = (*_location)(data); + std::unique_ptr< UnivariateLocationEstimation > mean_estimation = (*this->location)(data); double mean = mean_estimation->get_location(); - std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = (*_dispersion)(data, mean); + std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = (*this->dispersion)(data, mean); double variance = variance_estimation->get_dispersion(); - if(boost::math::isfinite(mean) && boost::math::isfinite(variance) && mean > variance) - { - unsigned int kappa = std::max(round(pow(mean, 2)/(mean - variance)), static_cast< DiscreteElementaryEvent* >(data.compute_maximum().get())->get_value()); - BinomialDistribution* binomial = new BinomialDistribution(kappa, mean/double(kappa)); - if(lazy) - { estimation = std::make_unique< LazyEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation > >(binomial); } - else - { estimation = std::make_unique< BinomialDistributionMMEstimation >(binomial, &data); } + if (variance > mean) { + throw overdispersion_error(); } - else - { throw overdispersion_error(); } - return estimation; + unsigned int kappa = std::max(round(pow(mean, 2)/(mean - variance)), static_cast< DiscreteElementaryEvent* >(data.compute_maximum().get())->get_value()); + return std::make_unique< BinomialDistributionMMEstimation >(data.copy().release(), + new BinomialDistribution(kappa, mean / double(kappa))); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > BinomialDistributionMMEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - UnivariateLocationEstimation::Estimator* BinomialDistributionMMEstimation::Estimator::get_location() - { return _location; } + { + return this->location; + } void BinomialDistributionMMEstimation::Estimator::set_location(const UnivariateLocationEstimation::Estimator& location) - { _location = location.copy().release(); } + { + this->location = location.copy().release(); + } UnivariateDispersionEstimation::Estimator* BinomialDistributionMMEstimation::Estimator::get_dispersion() - { return _dispersion; } + { + return this->dispersion; + } void BinomialDistributionMMEstimation::Estimator::set_dispersion(const UnivariateDispersionEstimation::Estimator& dispersion) - { _dispersion = dispersion.copy().release(); } - - LogarithmicDistributionMLEstimation::LogarithmicDistributionMLEstimation() : OptimizationEstimation() - {} - - LogarithmicDistributionMLEstimation::LogarithmicDistributionMLEstimation(LogarithmicDistribution const * estimated, UnivariateData const * data) : OptimizationEstimation(estimated, data) - {} - - LogarithmicDistributionMLEstimation::LogarithmicDistributionMLEstimation(const LogarithmicDistributionMLEstimation& estimation) : OptimizationEstimation(estimation) - {} - - LogarithmicDistributionMLEstimation::~LogarithmicDistributionMLEstimation() - {} + { + this->dispersion = dispersion.copy().release(); + } - LogarithmicDistributionMLEstimation::Estimator::Estimator() + LogarithmicDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() {} - LogarithmicDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) + LogarithmicDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) {} LogarithmicDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > LogarithmicDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< LogarithmicDistributionMLEstimation::Estimator::estimation_type > LogarithmicDistributionMLEstimation::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; + this->check(data); UnivariateMeanEstimation::Estimator mean_estimator = UnivariateMeanEstimation::Estimator(); std::unique_ptr< UnivariateLocationEstimation > mean_estimation = mean_estimator(data); double mean = mean_estimation->get_location(); double theta = 1 + 2 * (mean - 1); - if(theta <= 1) - { throw parameter_error("data", " has a mean inferior or equal to 1"); } + if (theta <= 1) { + throw parameter_error("data", " has a mean inferior or equal to 1"); + } theta = 1 - 1 / theta; LogarithmicDistribution* logarithmic = new LogarithmicDistribution(theta); - if(!lazy) - { - estimation = std::make_unique< LogarithmicDistributionMLEstimation >(logarithmic, &data); - static_cast< LogarithmicDistributionMLEstimation* >(estimation.get())->_iterations.push_back(theta); - } - else - { estimation = std::make_unique< LazyEstimation< LogarithmicDistribution, DiscreteUnivariateDistributionEstimation > >(logarithmic); } + std::unique_ptr< LogarithmicDistributionMLEstimation > estimation = std::make_unique< LogarithmicDistributionMLEstimation >(logarithmic, &data); + estimation->steps.push_back(theta); double prev, curr = logarithmic->loglikelihood(data); unsigned int its = 0; - do - { + do { prev = curr; theta = mean * log(1 - theta) / (mean * log(1 - theta) - 1); - if(theta > 0. && theta < 1.) - { - if(!lazy) - { static_cast< LogarithmicDistributionMLEstimation* >(estimation.get())->_iterations.push_back(theta); } + if (theta > 0. && theta < 1.) { + estimation->steps.push_back(theta); logarithmic->set_theta(theta); curr = logarithmic->loglikelihood(data); ++its; } - } while(run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); return estimation; } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > LogarithmicDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - GeometricDistributionMLEstimation::GeometricDistributionMLEstimation() : ActiveEstimation() - {} - - GeometricDistributionMLEstimation::GeometricDistributionMLEstimation(GeometricDistribution const * estimated, UnivariateData const * data) : ActiveEstimation(estimated, data) - {} - - GeometricDistributionMLEstimation::GeometricDistributionMLEstimation(const GeometricDistributionMLEstimation& estimation) : ActiveEstimation(estimation) - {} - - GeometricDistributionMLEstimation::~GeometricDistributionMLEstimation() - {} - GeometricDistributionMLEstimation::Estimator::Estimator() {} @@ -357,192 +229,143 @@ namespace statiskit GeometricDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > GeometricDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< GeometricDistributionMLEstimation::Estimator::estimation_type > GeometricDistributionMLEstimation::Estimator::operator() (const data_type& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } + this->check(data); UnivariateMeanEstimation::Estimator mean_estimator = UnivariateMeanEstimation::Estimator(); std::unique_ptr< UnivariateLocationEstimation > mean_estimation = mean_estimator(data); double mean = mean_estimation->get_location(); - GeometricDistribution* geometric = new GeometricDistribution(1 - 1 / mean); - std::unique_ptr< UnivariateDistributionEstimation > estimation; - if(lazy) - { estimation = std::make_unique< LazyEstimation< GeometricDistribution, DiscreteUnivariateDistributionEstimation > >(geometric); } - else - { estimation = std::make_unique< GeometricDistributionMLEstimation >(geometric, &data); } - return estimation; + return std::make_unique< GeometricDistributionMLEstimation >(data.copy().release(), + new GeometricDistribution(1 - 1 / mean)); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > GeometricDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - NegativeBinomialDistributionMLEstimation::NegativeBinomialDistributionMLEstimation() : OptimizationEstimation() - {} - - NegativeBinomialDistributionMLEstimation::NegativeBinomialDistributionMLEstimation(NegativeBinomialDistribution const * estimated, UnivariateData const * data) : OptimizationEstimation(estimated, data) - {} - - NegativeBinomialDistributionMLEstimation::NegativeBinomialDistributionMLEstimation(const NegativeBinomialDistributionMLEstimation& estimation) : OptimizationEstimation(estimation) - {} - - NegativeBinomialDistributionMLEstimation::~NegativeBinomialDistributionMLEstimation() - {} - - NegativeBinomialDistributionMLEstimation::Estimator::Estimator() : OptimizationEstimation::Estimator() - { _force = false; } + NegativeBinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() + { + this->force = false; + } - NegativeBinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimation::Estimator(estimator) - { _force = estimator._force; } + NegativeBinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) + { + this->force = estimator.force; + } NegativeBinomialDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > NegativeBinomialDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< NegativeBinomialDistributionMLEstimation::Estimator::estimation_type > NegativeBinomialDistributionMLEstimation::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; + this->check(data); UnivariateMeanEstimation::Estimator mean_estimator = UnivariateMeanEstimation::Estimator(); std::unique_ptr< UnivariateLocationEstimation > mean_estimation = mean_estimator(data); double mean = mean_estimation->get_location(); UnivariateVarianceEstimation::Estimator variance_estimator = UnivariateVarianceEstimation::Estimator(false); std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = variance_estimator(data, mean); double variance = variance_estimation->get_dispersion(); - if(variance < mean && !_force) - { throw underdispersion_error(); } - double total = data.compute_total(), kappa; - if(variance > mean) - { kappa = pow(mean, 2)/(variance - mean); } - else - { kappa = 1.; } - NegativeBinomialDistribution* negative_binomial = new NegativeBinomialDistribution(kappa, mean / (mean + kappa)); - if(!lazy) - { - estimation = std::make_unique< NegativeBinomialDistributionMLEstimation >(negative_binomial, &data); - static_cast< NegativeBinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); + if (variance < mean && !this->force) { + throw underdispersion_error(); + } + double total = data.compute_total(); + double kappa; + if (variance > mean) { + kappa = pow(mean, 2)/(variance - mean); + } else { + kappa = 1.; } - else - { estimation = std::make_unique< LazyEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation > >(negative_binomial); } - double prev, curr = negative_binomial->loglikelihood(data); + NegativeBinomialDistribution* negative_binomial = new NegativeBinomialDistribution(kappa, mean / (mean + kappa)); + std::unique_ptr< NegativeBinomialDistributionMLEstimation > estimation = std::make_unique< NegativeBinomialDistributionMLEstimation >(data.copy().release(), + negative_binomial); + estimation->steps.push_back(kappa); + double prev; + double curr = negative_binomial->loglikelihood(data); unsigned int its = 1; - do - { + do { prev = curr; double alpha = 0; std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - for(int nu = 0, max_nu = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); nu < max_nu; ++nu) - { alpha += nu / (nu + kappa); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + for (int nu = 0, max_nu = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); nu < max_nu; ++nu) { + alpha += nu / (nu + kappa); + } } ++(*generator); } alpha /= -total; alpha += mean; kappa = alpha / log(1 + mean/kappa); - if(kappa > 0.) - { - if(!lazy) - { static_cast< NegativeBinomialDistributionMLEstimation* >(estimation.get())->_iterations.push_back(kappa); } + if (kappa > 0.) { + estimation->steps.push_back(kappa); negative_binomial->set_kappa(kappa); negative_binomial->set_pi(mean / (mean + kappa)); curr = negative_binomial->loglikelihood(data); ++its; } - } while(run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); return estimation; } bool NegativeBinomialDistributionMLEstimation::Estimator::get_force() const - { return _force; } + { + return this->force; + } void NegativeBinomialDistributionMLEstimation::Estimator::set_force(const bool& force) - { _force = force; } - - std::unique_ptr< UnivariateDistributionEstimation::Estimator > NegativeBinomialDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - NegativeBinomialDistributionMMEstimation::NegativeBinomialDistributionMMEstimation() : ActiveEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation >() - {} - - NegativeBinomialDistributionMMEstimation::NegativeBinomialDistributionMMEstimation(NegativeBinomialDistribution const * estimated, UnivariateData const * data) : ActiveEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation >(estimated, data) - {} - - NegativeBinomialDistributionMMEstimation::NegativeBinomialDistributionMMEstimation(const NegativeBinomialDistributionMMEstimation& estimation) : ActiveEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation >(estimation) - {} - - NegativeBinomialDistributionMMEstimation::~NegativeBinomialDistributionMMEstimation() - {} + { + this->force = force; + } NegativeBinomialDistributionMMEstimation::Estimator::Estimator() { - _location = new UnivariateMeanEstimation::Estimator(); - _dispersion = new UnivariateVarianceEstimation::Estimator(false); + this->location = new UnivariateMeanEstimation::Estimator(); + this->dispersion = new UnivariateVarianceEstimation::Estimator(false); } NegativeBinomialDistributionMMEstimation::Estimator::Estimator(const Estimator& estimator) { - _location = estimator._location->copy().release(); - _dispersion = estimator._dispersion->copy().release(); + this->location = estimator.location->copy().release(); + this->dispersion = estimator.dispersion->copy().release(); } NegativeBinomialDistributionMMEstimation::Estimator::~Estimator() { - delete _location; - delete _dispersion; + delete this->location; + delete this->dispersion; } - std::unique_ptr< UnivariateDistributionEstimation > NegativeBinomialDistributionMMEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< NegativeBinomialDistributionMMEstimation::Estimator::estimation_type > NegativeBinomialDistributionMMEstimation::Estimator::operator() (const data_type& data) const { - if(data.get_sample_space()->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } + this->check(data); std::unique_ptr< UnivariateDistributionEstimation > estimation; - std::unique_ptr< UnivariateLocationEstimation > mean_estimation = (*_location)(data); + std::unique_ptr< UnivariateLocationEstimation > mean_estimation = (*this->location)(data); double mean = mean_estimation->get_location(); - std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = (*_dispersion)(data, mean); + std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = (*this->dispersion)(data, mean); double variance = variance_estimation->get_dispersion(); - if(boost::math::isfinite(mean) && boost::math::isfinite(variance) && variance > mean) - { - NegativeBinomialDistribution* negbinomial = new NegativeBinomialDistribution(pow(mean, 2)/(variance - mean), 1. - mean/variance); - if(lazy) - { estimation = std::make_unique< LazyEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation > >(negbinomial); } - else - { estimation = std::make_unique< NegativeBinomialDistributionMMEstimation >(negbinomial, &data); } - } - else + if (variance < mean) { throw underdispersion_error(); } - return estimation; + return std::make_unique< NegativeBinomialDistributionMMEstimation >(data.copy().release(), + new NegativeBinomialDistribution(pow(mean, 2)/(variance - mean), 1. - mean/variance)); } - - std::unique_ptr< UnivariateDistributionEstimation::Estimator > NegativeBinomialDistributionMMEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } UnivariateLocationEstimation::Estimator* NegativeBinomialDistributionMMEstimation::Estimator::get_location() - { return _location; } + { + return this->location; + } void NegativeBinomialDistributionMMEstimation::Estimator::set_location(const UnivariateLocationEstimation::Estimator& mean) - { _location = mean.copy().release(); } + { + this->location = mean.copy().release(); + } UnivariateDispersionEstimation::Estimator* NegativeBinomialDistributionMMEstimation::Estimator::get_dispersion() - { return _dispersion; } + { + return this->dispersion; + } void NegativeBinomialDistributionMMEstimation::Estimator::set_dispersion(const UnivariateDispersionEstimation::Estimator& dispersion) - { _dispersion = dispersion.copy().release(); } - - NormalDistributionMLEstimation::NormalDistributionMLEstimation() : ActiveEstimation< NormalDistribution, ContinuousUnivariateDistributionEstimation >() - {} - - NormalDistributionMLEstimation::NormalDistributionMLEstimation(NormalDistribution const * estimated, UnivariateData const * data) : ActiveEstimation< NormalDistribution, ContinuousUnivariateDistributionEstimation >(estimated, data) - {} - - NormalDistributionMLEstimation::NormalDistributionMLEstimation(const NormalDistributionMLEstimation& estimation) : ActiveEstimation< NormalDistribution, ContinuousUnivariateDistributionEstimation >(estimation) - {} - - NormalDistributionMLEstimation::~NormalDistributionMLEstimation() - {} + { + this->dispersion = dispersion.copy().release(); + } NormalDistributionMLEstimation::Estimator::Estimator() {} @@ -550,760 +373,381 @@ namespace statiskit NormalDistributionMLEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > NormalDistributionMLEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< NormalDistributionMLEstimation::Estimator::estimation_type > NormalDistributionMLEstimation::Estimator::operator() (const data_type& data) const { - if(data.get_sample_space()->get_outcome() != CONTINUOUS) - { throw statiskit::sample_space_error(CONTINUOUS); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; + this->check(data); UnivariateMeanEstimation::Estimator mean_estimator = UnivariateMeanEstimation::Estimator(); std::unique_ptr< UnivariateLocationEstimation > mean_estimation = mean_estimator(data); double mean = mean_estimation->get_location(); UnivariateVarianceEstimation::Estimator variance_estimator = UnivariateVarianceEstimation::Estimator(false); std::unique_ptr< UnivariateDispersionEstimation > variance_estimation = variance_estimator(data, mean); double std_err = sqrt(variance_estimation->get_dispersion()); - if(boost::math::isfinite(mean) && boost::math::isfinite(std_err)) - { - NormalDistribution* normal = new NormalDistribution(mean, std_err); - if(lazy) - { estimation = std::make_unique< LazyEstimation< NormalDistribution, ContinuousUnivariateDistributionEstimation > >(normal); } - else - { estimation = std::make_unique< NormalDistributionMLEstimation >(normal, &data); } - } - return estimation; + return std::make_unique< NormalDistributionMLEstimation >(data.copy().release(), + new NormalDistribution(mean, std_err)); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > NormalDistributionMLEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - UnivariateHistogramDistributionEstimation::UnivariateHistogramDistributionEstimation() : ActiveEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation >() - {} - - UnivariateHistogramDistributionEstimation::UnivariateHistogramDistributionEstimation(UnivariateHistogramDistribution const * estimated, UnivariateData const * data) : ActiveEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation >(estimated, data) - {} - - UnivariateHistogramDistributionEstimation::UnivariateHistogramDistributionEstimation(const UnivariateHistogramDistributionEstimation& estimation) : ActiveEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation >(estimation) - {} - - UnivariateHistogramDistributionEstimation::~UnivariateHistogramDistributionEstimation() - {} - UnivariateHistogramDistributionEstimation::Estimator::Estimator() - { _nb_bins = 0; } + { + this->nb_bins = 0; + } UnivariateHistogramDistributionEstimation::Estimator::Estimator(const Estimator& estimator) - { _nb_bins = estimator._nb_bins; } + { + this->nb_bins = estimator.nb_bins; + } UnivariateHistogramDistributionEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > UnivariateHistogramDistributionEstimation::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< UnivariateHistogramDistributionEstimation::Estimator::estimation_type > UnivariateHistogramDistributionEstimation::Estimator::operator() (const data_type& data) const { - if(data.get_sample_space()->get_outcome() != CONTINUOUS) - { throw statiskit::sample_space_error(CONTINUOUS); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; - auto bins = std::set< double >(); - double total = 0., min = std::numeric_limits< double >::infinity(), max = -1 * std::numeric_limits< double >::infinity(); + this->check(data); + std::set< double > bins = std::set< double >(); + double total = 0.; + double min = std::numeric_limits< double >::infinity(); + double max = -1 * std::numeric_limits< double >::infinity(); std::unique_ptr< UnivariateData::Generator > generator = data.generator(); double nb_bins = 0; - while(generator->is_valid()) - { - auto event = generator->event(); - if(event && event->get_event() == ELEMENTARY) - { - auto cevent = static_cast< const ContinuousElementaryEvent* >(event); + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + const ContinuousElementaryEvent* cevent = static_cast< const ContinuousElementaryEvent* >(event); min = std::min(min, cevent->get_value()); max = std::max(max, cevent->get_value()); - total += generator->weight(); + total += generator->get_weight(); nb_bins += 1; } ++(*generator); } - if(_nb_bins != 0) - { nb_bins = _nb_bins; } + if (this->nb_bins != 0) { + nb_bins = this->nb_bins; + } bins.insert(min - .5 / total * (max - min)); - for(Index index = 1; index < nb_bins; ++index) - { bins.insert(*(bins.rbegin()) + 1. / nb_bins * (max-min)); } + for (Index index = 1; index < nb_bins; ++index) { + bins.insert(*(bins.rbegin()) + 1. / nb_bins * (max-min)); + } bins.insert(max + .5 / nb_bins * (max - min)); - if(bins.size() > 1) - { - auto lengths = std::vector< double >(bins.size()-1, 0.); - std::set< double >::iterator itl = bins.begin(), itr, it_end = bins.end(); - itr = itl; + std::vector< double > lengths = std::vector< double >(bins.size()-1, 0.); + std::set< double >::iterator itl = bins.begin(); + std::set< double >::iterator it_end = bins.end(); + std::set< double >::iterator itr = itl; + ++itr; + while (itr != it_end) { + lengths[distance(bins.begin(), itl)] = *itr - *itl; + ++itl; ++itr; - while(itr != it_end) - { - lengths[distance(bins.begin(), itl)] = *itr - *itl; - ++itl; - ++itr; - } - auto densities = std::vector< double >(bins.size()-1, 0.); - std::set< double >::iterator it; - generator = data.generator(); - while(generator->is_valid()) - { - auto event = generator->event(); - if(event) - { - if(event->get_event() == ELEMENTARY) - { - it = bins.upper_bound(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); - if(it == bins.end()) - { densities.back() += generator->weight() / (lengths.back() * total); } - else if(it == bins.begin()) - { densities.front() += generator->weight() / (lengths.front() * total); } - else - { densities[distance(bins.begin(), it) - 1] += generator->weight() /(lengths[distance(bins.begin(), it) - 1] * total); } + } + std::vector< double > densities = std::vector< double >(bins.size()-1, 0.); + std::set< double >::iterator it; + generator = data.generator(); + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event) { + if (event->get_censoring() == censoring_type::NONE) { + it = bins.upper_bound(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); + if (it == bins.end()){ + densities.back() += generator->get_weight() / (lengths.back() * total); + } else if(it == bins.begin()) { + densities.front() += generator->get_weight() / (lengths.front() * total); + } else { + densities[distance(bins.begin(), it) - 1] += generator->get_weight() /(lengths[distance(bins.begin(), it) - 1] * total); } } - ++(*generator); } - UnivariateHistogramDistribution* histogram = new UnivariateHistogramDistribution(bins, densities); - if(lazy) - { estimation = std::make_unique< LazyEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation > >(histogram); } - else - { estimation = std::make_unique< UnivariateHistogramDistributionEstimation >(histogram, &data); } + ++(*generator); } - else - { throw sample_size_error(1); } - return estimation; + return std::make_unique< UnivariateHistogramDistributionEstimation >(data.copy().release(), + new UnivariateHistogramDistribution(bins, densities)); } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > UnivariateHistogramDistributionEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - const unsigned int& UnivariateHistogramDistributionEstimation::Estimator::get_nb_bins() const - { return _nb_bins; } + { + return this->nb_bins; + } void UnivariateHistogramDistributionEstimation::Estimator::set_nb_bins(const unsigned int& nb_bins) - { _nb_bins = nb_bins; } - - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::RegularUnivariateHistogramDistributionSlopeHeuristicSelection(const UnivariateData* data) : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation >(data) - {} - - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::RegularUnivariateHistogramDistributionSlopeHeuristicSelection(const RegularUnivariateHistogramDistributionSlopeHeuristicSelection& selection) : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation >(selection) - {} - - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::~RegularUnivariateHistogramDistributionSlopeHeuristicSelection() - {} + { + this->nb_bins = nb_bins; + } RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator() - { _maxbins = 100; } + { + this->maxbins = 100; + } RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator(const Estimator& estimator) - { _maxbins = estimator._maxbins; } + { + this->maxbins = estimator.maxbins; + } RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::estimation_type > RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const UnivariateData& data) const { - if(data.get_sample_space()->get_outcome() != CONTINUOUS) - { throw statiskit::sample_space_error(CONTINUOUS); } - RegularUnivariateHistogramDistributionSlopeHeuristicSelection* cache; - if(lazy) - { cache = new RegularUnivariateHistogramDistributionSlopeHeuristicSelection(nullptr); } - else - { cache = new RegularUnivariateHistogramDistributionSlopeHeuristicSelection(&data); } + this->check(data); + std::unique_ptr< RegularUnivariateHistogramDistributionSlopeHeuristicSelection > estimation = std::make_unique< RegularUnivariateHistogramDistributionSlopeHeuristicSelection >(data.copy().release()); std::set< double > bins = std::set< double >(); UnivariateHistogramDistributionEstimation::Estimator estimator = UnivariateHistogramDistributionEstimation::Estimator(); - for(Index nb_bins = _maxbins; nb_bins > 0; --nb_bins) - { + for (Index nb_bins = this->maxbins; nb_bins > 0; --nb_bins) { estimator.set_nb_bins(nb_bins); - try - { - std::unique_ptr< UnivariateDistributionEstimation > estimation = estimator(data, true); - UnivariateHistogramDistribution* estimated = const_cast< UnivariateHistogramDistribution* >(static_cast< const UnivariateHistogramDistribution* >(estimation->get_estimated())); - cache->add(estimated->get_nb_parameters(), estimated->loglikelihood(data), static_cast< UnivariateHistogramDistribution* >(estimated->copy().release())); - } - catch(const std::exception& error) - {} - } - cache->finalize(); - std::unique_ptr< UnivariateDistributionEstimation > estimation; - if(lazy) - { - estimation = std::make_unique< LazyEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation > >(static_cast< UnivariateHistogramDistribution* >(cache->get_estimated()->copy().release())); - delete cache; + try { + std::unique_ptr< estimation_type > local_estimation = estimator(data); + UnivariateHistogramDistribution* distribution = const_cast< UnivariateHistogramDistribution* >(static_cast< const UnivariateHistogramDistribution* >(local_estimation->get_distribution())); + estimation->add(distribution->get_nb_parameters(), distribution->loglikelihood(data), static_cast< UnivariateHistogramDistribution* >(distribution->copy().release())); + } catch (const std::exception& error) { + } } - else - { estimation.reset(cache); } + estimation->finalize(); return estimation; } - std::unique_ptr< UnivariateDistributionEstimation::Estimator > RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - const unsigned int& RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins() const - { return _maxbins; } + { + return this->maxbins; + } void RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins(const unsigned int& maxbins) { - if(maxbins == 0) - { throw statiskit::lower_bound_error("maxbins", 0, 0, true); } - _maxbins = maxbins; + if (maxbins == 0) { + throw statiskit::lower_bound_error("maxbins", 0, 0, true); + } + this->maxbins = maxbins; } - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(const UnivariateData* data) : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation >(data) - {} - - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(const IrregularUnivariateHistogramDistributionSlopeHeuristicSelection& selection) : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation >(selection) - {} - - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::~IrregularUnivariateHistogramDistributionSlopeHeuristicSelection() - {} - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator() { - _maxbins = 100; - _constant = 1.; + this->maxbins = 100; + this->constant = 1.; } IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator(const Estimator& estimator) { - _maxbins = estimator._maxbins; - _constant = estimator._constant; + this->maxbins = estimator.maxbins; + this->constant = estimator.constant; } IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::~Estimator() {} - std::unique_ptr< UnivariateDistributionEstimation > IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + std::unique_ptr< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::estimation_type > IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const data_type& data) const { - if(data.get_sample_space()->get_outcome() != CONTINUOUS) - { throw statiskit::sample_space_error(CONTINUOUS); } - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection* cache; - if(lazy) - { cache = new IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(nullptr); } - else - { cache = new IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(&data); } + this->check(data); + std::unique_ptr< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection > estimation = std::make_unique< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection >(data.copy().release()); std::set< double > bins = std::set< double >(); unsigned int elements = 0; double total = 0., min = std::numeric_limits< double >::infinity(), max = -1 * std::numeric_limits< double >::infinity(); std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->event(); - if(event && event->get_event() == ELEMENTARY) - { + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { const ContinuousElementaryEvent* cevent = static_cast< const ContinuousElementaryEvent* >(event); min = std::min(min, cevent->get_value()); max = std::max(max, cevent->get_value()); - total += generator->weight(); + total += generator->get_weight(); } ++(*generator); } - bins.insert(min - .5 / _maxbins * (max - min)); - for(Index index = 1; index < _maxbins; ++index) - { bins.insert(*(bins.rbegin()) + 1. / _maxbins * (max-min)); } - bins.insert(max + .5 / _maxbins * (max - min)); - if(bins.size() > 1) - { - std::vector< double > lengths = std::vector< double >(bins.size()-1, 0.); - std::set< double >::iterator itl = bins.begin(), itr, it_end = bins.end(); - itr = itl; + bins.insert(min - .5 / this->maxbins * (max - min)); + for (Index index = 1; index < this->maxbins; ++index) { + bins.insert(*(bins.rbegin()) + 1. / this->maxbins * (max-min)); + } + bins.insert(max + .5 / this->maxbins * (max - min)); + std::vector< double > lengths = std::vector< double >(bins.size()-1, 0.); + std::set< double >::iterator itl = bins.begin(), itr, it_end = bins.end(); + itr = itl; + ++itr; + while (itr != it_end) { + lengths[distance(bins.begin(), itl)] = *itr - *itl; + ++itl; ++itr; - while(itr != it_end) - { - lengths[distance(bins.begin(), itl)] = *itr - *itl; - ++itl; - ++itr; - } - std::vector< double > densities = std::vector< double >(bins.size()-1, 0.); - std::set< double >::iterator it; - generator = data.generator(); - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->event(); - if(event) - { - if(event->get_event() == ELEMENTARY) - { - it = bins.upper_bound(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); - if(it == bins.end()) - { densities.back() += generator->weight() /(lengths.back() * total); } - else if(it == bins.begin()) - { densities.front() += generator->weight() /(lengths.front() * total); } - else - { densities[distance(bins.begin(), it) - 1] += generator->weight() /(lengths[distance(bins.begin(), it) - 1] * total); } - } + } + std::vector< double > densities = std::vector< double >(bins.size()-1, 0.); + std::set< double >::iterator it; + generator = data.generator(); + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + it = bins.upper_bound(static_cast< const ContinuousElementaryEvent* >(event)->get_value()); + if (it == bins.end()) { + densities.back() += generator->get_weight() /(lengths.back() * total); + } else if(it == bins.begin()) { + densities.front() += generator->get_weight() /(lengths.front() * total); + } else { + densities[distance(bins.begin(), it) - 1] += generator->get_weight() /(lengths[distance(bins.begin(), it) - 1] * total); } - ++(*generator); } - std::vector< double > entropies = std::vector< double >(densities.size()-1, std::numeric_limits< double >::quiet_NaN()); - for(Index index = 0, max_index = densities.size()-1; index < max_index; ++index) - { - entropies[index] = 0; - if(densities[index] > 0.) - { entropies[index] += lengths[index] * densities[index] * log(densities[index]); } - if(densities[index + 1] > 0.) - { entropies[index] += lengths[index + 1] * densities[index + 1] * log(densities[index + 1]); } - double p = (lengths[index] * densities[index] + lengths[index + 1] * densities[index+1]) / (lengths[index] + lengths[index + 1]); - if(p > 0.) - { entropies[index] -= (lengths[index] + lengths[index + 1]) * p * log(p); } - else - { entropies[index] = std::numeric_limits< double >::infinity(); } + ++(*generator); + } + std::vector< double > entropies = std::vector< double >(densities.size()-1, std::numeric_limits< double >::quiet_NaN()); + for (Index index = 0, max_index = densities.size()-1; index < max_index; ++index) { + entropies[index] = 0; + if (densities[index] > 0.) { + entropies[index] += lengths[index] * densities[index] * log(densities[index]); } - double score = 0.; - while(bins.size() > 2) - { - std::vector< double >::iterator it = std::min_element(entropies.begin(), entropies.end()), itr; - if(*it > 0) - { - score -= *it; - // if(bins.size() < _maxbins) - // { - UnivariateHistogramDistribution* current = new UnivariateHistogramDistribution(bins, densities); - double penshape = bins.size()-1; - penshape = penshape * (1 + _constant * log(_maxbins) - _constant * log(penshape)); - cache->add(penshape, score, current); - // } - } - itr = it; - ++itr; - densities[distance(entropies.begin(), itr)] = lengths[distance(entropies.begin(), it)] * densities[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)] * densities[distance(entropies.begin(), itr)]; - densities[distance(entropies.begin(), itr)] /= lengths[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)]; - lengths[distance(entropies.begin(), itr)] = lengths[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)]; - std::vector< double >::iterator itd = densities.begin(); - advance(itd, distance(entropies.begin(), it)); - densities.erase(itd); - std::vector< double >::iterator itl = lengths.begin(); - advance(itl, distance(entropies.begin(), it)); - lengths.erase(itl); - std::set< double >::iterator itb = bins.begin(); - advance(itb, distance(entropies.begin(), itr)); - bins.erase(itb); - // TODO optimize - entropies = std::vector< double >(densities.size()-1, std::numeric_limits< double >::quiet_NaN()); - for(Index index = 0, max_index = densities.size()-1; index < max_index; ++index) - { - entropies[index] = 0; - if(densities[index] > 0.) - { entropies[index] += lengths[index] * densities[index] * log(densities[index]); } - if(densities[index + 1] > 0.) - { entropies[index] += lengths[index + 1] * densities[index + 1] * log(densities[index + 1]); } - double p = (lengths[index] * densities[index] + lengths[index + 1] * densities[index+1]) / (lengths[index] + lengths[index + 1]); - if(p > 0.) - { entropies[index] -= (lengths[index] + lengths[index + 1]) * p * log(p); } - else - { entropies[index] = std::numeric_limits< double >::infinity(); } - } + if (densities[index + 1] > 0.) { + entropies[index] += lengths[index + 1] * densities[index + 1] * log(densities[index + 1]); } - cache->finalize(); - } - else - { throw sample_size_error(1); } - std::unique_ptr< UnivariateDistributionEstimation > estimation; - if(lazy) - { - estimation = std::make_unique< LazyEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation > >(static_cast< UnivariateHistogramDistribution* >(cache->get_estimated()->copy().release())); - delete cache; - } - else - { estimation.reset(cache); } - return estimation; - } - - std::unique_ptr< UnivariateDistributionEstimation::Estimator > IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - const unsigned int& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins() const - { return _maxbins; } - - void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins(const unsigned int& maxbins) - { - if(maxbins == 0) - { throw statiskit::lower_bound_error("maxbins", 0, 0, true); } - _maxbins = maxbins; - } - - const double& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_constant() const - { return _constant; } - - void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_constant(const double& constant) - { - if(constant <= 0.) - { throw statiskit::lower_bound_error("constant", constant, 0.0, true); } - _constant = constant; - } - - SingularDistributionEstimation::~SingularDistributionEstimation() - {} - - SingularDistributionEstimation::Estimator::~Estimator() - {} - - MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(MultinomialSingularDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimated, data) - {} - - MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(const MultinomialSingularDistributionEstimation& estimation) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimation) - {} - - MultinomialSingularDistributionEstimation::~MultinomialSingularDistributionEstimation() - {} - - MultinomialSingularDistributionEstimation::Estimator::Estimator() - {} - - MultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) - {} - - MultinomialSingularDistributionEstimation::Estimator::~Estimator() - {} - - std::unique_ptr< SingularDistributionEstimation > MultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data, const bool& lazy) const - { - std::unique_ptr< SingularDistributionEstimation > estimation; - std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - Eigen::VectorXd pi = Eigen::VectorXd::Zero(generator->event()->size()); - while(generator->is_valid()) - { - const MultivariateEvent* mevent = generator->event(); - for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { pi[component] += generator->weight() * static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + double p = (lengths[index] * densities[index] + lengths[index + 1] * densities[index+1]) / (lengths[index] + lengths[index + 1]); + if (p > 0.) { + entropies[index] -= (lengths[index] + lengths[index + 1]) * p * log(p); + } else { + entropies[index] = std::numeric_limits< double >::infinity(); } - ++(*generator); } - MultinomialSingularDistribution* estimated = new MultinomialSingularDistribution(pi); - if(lazy) - { estimation = std::make_unique< LazyEstimation< MultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } - else - { estimation = std::make_unique< MultinomialSingularDistributionEstimation >(estimated, &data); } - return estimation; - } - - DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(DirichletMultinomialSingularDistribution const * estimated, MultivariateData const * data) : OptimizationEstimation(estimated, data) - {} - - DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(const DirichletMultinomialSingularDistributionEstimation& estimation) : OptimizationEstimation(estimation) - {} - - DirichletMultinomialSingularDistributionEstimation::~DirichletMultinomialSingularDistributionEstimation() - {} - - DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator() : PolymorphicCopy::Estimator >() - {} - - DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy::Estimator >(estimator) - {} - - DirichletMultinomialSingularDistributionEstimation::Estimator::~Estimator() - {} - - std::unique_ptr< SingularDistributionEstimation > DirichletMultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data, const bool& lazy) const - { - std::unique_ptr< SingularDistributionEstimation > estimation; - double total = data.compute_total(); - Eigen::VectorXd prev, curr = Eigen::VectorXd::Ones(data.get_sample_space()->size()); - DirichletMultinomialSingularDistribution* estimated = new DirichletMultinomialSingularDistribution(curr); - if(lazy) - { estimation = std::make_unique< LazyEstimation< DirichletMultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } - else - { estimation = std::make_unique< DirichletMultinomialSingularDistributionEstimation >(estimated, &data); } - unsigned int its = 0; - do - { - prev = curr; - Eigen::VectorXd temp = Eigen::VectorXd::Zero(data.get_sample_space()->size()); - for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) - { - std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* mevent = generator->event(); - if(mevent) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { temp[component] += generator->weight() * boost::math::digamma(static_cast< const DiscreteElementaryEvent* >(uevent)->get_value() + prev[component]); } - } - ++(*generator); - } - temp[component] -= total * boost::math::digamma(prev[component]); + double score = 0.; + while (bins.size() > 2) { + std::vector< double >::iterator it = std::min_element(entropies.begin(), entropies.end()), itr; + if (*it > 0) { + score -= *it; + // if(bins.size() < this->maxbins) + // { + UnivariateHistogramDistribution* current = new UnivariateHistogramDistribution(bins, densities); + double penshape = bins.size()-1; + penshape = penshape * (1 + this->constant * log(this->maxbins) - this->constant * log(penshape)); + estimation->add(penshape, score, current); + // } } - std::pair< double, double > sums = std::make_pair(0., curr.sum()); - std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* event = generator->event(); - if(event) - { - int value = 0; - for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = event->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } - } - sums.first += generator->weight() * boost::math::digamma(value + sums.second); + itr = it; + ++itr; + densities[distance(entropies.begin(), itr)] = lengths[distance(entropies.begin(), it)] * densities[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)] * densities[distance(entropies.begin(), itr)]; + densities[distance(entropies.begin(), itr)] /= lengths[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)]; + lengths[distance(entropies.begin(), itr)] = lengths[distance(entropies.begin(), it)] + lengths[distance(entropies.begin(), itr)]; + std::vector< double >::iterator itd = densities.begin(); + advance(itd, distance(entropies.begin(), it)); + densities.erase(itd); + std::vector< double >::iterator itl = lengths.begin(); + advance(itl, distance(entropies.begin(), it)); + lengths.erase(itl); + std::set< double >::iterator itb = bins.begin(); + advance(itb, distance(entropies.begin(), itr)); + bins.erase(itb); + // TODO optimize + entropies = std::vector< double >(densities.size()-1, std::numeric_limits< double >::quiet_NaN()); + for (Index index = 0, max_index = densities.size()-1; index < max_index; ++index) { + entropies[index] = 0; + if (densities[index] > 0.) { + entropies[index] += lengths[index] * densities[index] * log(densities[index]); + } + if (densities[index + 1] > 0.) { + entropies[index] += lengths[index + 1] * densities[index + 1] * log(densities[index + 1]); + } + double p = (lengths[index] * densities[index] + lengths[index + 1] * densities[index+1]) / (lengths[index] + lengths[index + 1]); + if (p > 0.) { + entropies[index] -= (lengths[index] + lengths[index + 1]) * p * log(p); + } else { + entropies[index] = std::numeric_limits< double >::infinity(); } - ++(*generator); - } - sums.first -= total * boost::math::digamma(sums.second); - temp /= sums.first; - if(temp.minCoeff() >= 0.) - { - curr = prev.cwiseProduct(temp); - if(!lazy) - { static_cast< DirichletMultinomialSingularDistributionEstimation* >(estimation.get())->_iterations.push_back(curr); } } - ++its; - } while(run(its, __impl::reldiff(prev, curr))); - estimated->set_alpha(curr); + } + estimation->finalize(); return estimation; } - SplittingDistributionEstimation::SplittingDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimated, data) - { - _sum = nullptr; - _singular = nullptr; - } - - SplittingDistributionEstimation::SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimation) - { - _sum = estimation._sum; - _singular = estimation._singular; - } - - SplittingDistributionEstimation::~SplittingDistributionEstimation() - { - if(_sum) - { delete _sum; } - if(_singular) - { delete _singular; } - } - - const DiscreteUnivariateDistributionEstimation* SplittingDistributionEstimation::get_sum() const - { return _sum; } - - const SingularDistributionEstimation* SplittingDistributionEstimation::get_singular() const - { return _singular; } - - SplittingDistributionEstimation::Estimator::Estimator() - { - _sum = nullptr; - _singular = nullptr; - } - - SplittingDistributionEstimation::Estimator::Estimator(const Estimator& estimator) + const unsigned int& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins() const { - if(estimator._sum) - { _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >((estimator._sum->copy()).release()); } - else - { _sum = nullptr; } - if(estimator._singular) - { _singular = estimator._singular->copy().release(); } - else - { _singular = nullptr; } + return this->maxbins; } - SplittingDistributionEstimation::Estimator::~Estimator() + void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins(const unsigned int& maxbins) { - if(_sum) - { - delete _sum; - _sum = nullptr; - } - if(_singular) - { - delete _singular; - _singular = nullptr; + if (maxbins == 0) { + throw statiskit::lower_bound_error("maxbins", 0, 0, true); } + this->maxbins = maxbins; } - - std::unique_ptr< MultivariateDistributionEstimation > SplittingDistributionEstimation::Estimator::operator() (const MultivariateData& data, const bool& lazy) const - { - UnivariateDataFrame* sum_data = new UnivariateDataFrame(get_NN()); - std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - int value = 0; - const MultivariateEvent* mevent = generator->event(); - for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } - } - DiscreteElementaryEvent* sum_event = new DiscreteElementaryEvent(value); - sum_data->add_event(sum_event); - ++(*generator); - } - WeightedUnivariateData weighted_sum_data = WeightedUnivariateData(sum_data); - Index index = 0; - generator = data.generator(); - while(generator->is_valid()) - { - weighted_sum_data.set_weight(index, generator->weight()); - ++index; - ++(*generator); - } - DiscreteUnivariateDistributionEstimation* sum = static_cast< DiscreteUnivariateDistributionEstimation* >(((*_sum)(weighted_sum_data, lazy)).release()); - delete sum_data; - SingularDistributionEstimation* singular = (*_singular)(data, lazy).release(); - SplittingDistribution* estimated = new SplittingDistribution(*(static_cast< const DiscreteUnivariateDistribution* >(sum->get_estimated())), *(singular->get_estimated())); - std::unique_ptr< MultivariateDistributionEstimation > estimation; - if(lazy) - { - estimation = std::make_unique< LazyEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation > >(estimated); - if(sum) - { delete sum; } - if(singular) - { delete singular; } - } - else - { - estimation = std::make_unique< SplittingDistributionEstimation >(estimated, &data); - static_cast< SplittingDistributionEstimation* >(estimation.get())->_sum = sum; - static_cast< SplittingDistributionEstimation* >(estimation.get())->_singular = singular; - } - return estimation; - } - - const DiscreteUnivariateDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_sum() const - { return _sum; } - - void SplittingDistributionEstimation::Estimator::set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum) + + const double& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_constant() const { - if(_sum) - { delete _sum; } - _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >(sum.copy().release()); + return this->constant; } - const SingularDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_singular() const - { return _singular; } - - void SplittingDistributionEstimation::Estimator::set_singular(const SingularDistributionEstimation::Estimator& singular) - { - if(_singular) - { delete _singular; } - _singular = static_cast< SingularDistributionEstimation::Estimator* >(singular.copy().release()); - } - - std::unordered_set< uintptr_t > SplittingDistributionEstimation::Estimator::children() const + void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_constant(const double& constant) { - std::unordered_set< uintptr_t > ch; - ch.insert(compute_identifier(*_sum)); - __impl::merge(ch, compute_children(*_sum)); - ch.insert(compute_identifier(*_singular)); - __impl::merge(ch, compute_children(*_singular)); - return ch; + if (constant <= 0.) { + throw statiskit::lower_bound_error("constant", constant, 0.0, true); + } + this->constant = constant; } - NegativeMultinomialDistributionEstimation::NegativeMultinomialDistributionEstimation() : OptimizationEstimation() - {} - - NegativeMultinomialDistributionEstimation::NegativeMultinomialDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data) : OptimizationEstimation(estimated, data) - {} - - NegativeMultinomialDistributionEstimation::NegativeMultinomialDistributionEstimation(const NegativeMultinomialDistributionEstimation& estimation) : OptimizationEstimation(estimation) - {} - - NegativeMultinomialDistributionEstimation::~NegativeMultinomialDistributionEstimation() - {} - - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator() : OptimizationEstimation::Estimator() + NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator() : PolymorphicCopy() {} - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator(const WZ99Estimator& estimator) : OptimizationEstimation::Estimator(estimator) + NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator(const WZ99Estimator& estimator) : PolymorphicCopy(estimator) {} NegativeMultinomialDistributionEstimation::WZ99Estimator::~WZ99Estimator() {} - std::unique_ptr< MultivariateDistributionEstimation > NegativeMultinomialDistributionEstimation::WZ99Estimator::operator() (const MultivariateData& data, const bool& lazy) const + std::unique_ptr< NegativeMultinomialDistributionEstimation::WZ99Estimator::estimation_type > NegativeMultinomialDistributionEstimation::WZ99Estimator::operator() (const data_type& data) const { - const MultivariateSampleSpace* sample_space = data.get_sample_space(); - for(Index index = 0, max_index = sample_space->size(); index < max_index; ++index) - { - if(sample_space->get(index)->get_outcome() != DISCRETE) - { throw statiskit::sample_space_error(DISCRETE); } - } - std::unique_ptr< MultivariateDistributionEstimation > estimation; + this->check(data); MultivariateMeanEstimation::Estimator mean_estimator = MultivariateMeanEstimation::Estimator(); std::unique_ptr< MultivariateLocationEstimation > mean_estimation = mean_estimator(data); Eigen::VectorXd mean = mean_estimation->get_location(); MultivariateVarianceEstimation::Estimator covariance_estimator = MultivariateVarianceEstimation::Estimator(); std::unique_ptr< MultivariateDispersionEstimation > covariance_estimation = covariance_estimator(data, mean); Eigen::MatrixXd covariance = covariance_estimation->get_dispersion(); - double total = data.compute_total(), kappa; - double _location = mean.sum(), variance = 0.; - for(Index i = 0, max_i = sample_space->size(); i < max_i; ++i) - { - for(Index j = 0; j <= i; ++j) - { variance += covariance(i, j); } + double total = data.compute_total(); + double location = mean.sum(); + double variance = 0.; + unsigned int nb_components = data.get_nb_components(); + for (Index line = 0, max_line = nb_components; line < max_line; ++line) { + for (Index column = 0; column <= line; ++column) { + variance += covariance(line, column ); + } + } + double kappa; + if (variance > location) { + kappa = pow(location, 2)/(variance - location); + } else { + kappa = 1.; } - if(variance > _location) - { kappa = pow(_location, 2)/(variance - _location); } - else - { kappa = 1.; } - double q = _location / (_location + kappa); + double q = location / (location + kappa); NegativeBinomialDistribution negative_binomial = NegativeBinomialDistribution(kappa, 1. - q); SplittingDistribution* negative_multinomial = new SplittingDistribution(negative_binomial, MultinomialSingularDistribution(mean * q / kappa)); - if(!lazy) - { - estimation = std::make_unique< NegativeMultinomialDistributionEstimation >(negative_multinomial, &data); - static_cast< NegativeMultinomialDistributionEstimation* >(estimation.get())->_iterations.push_back(kappa); - } - else - { estimation = std::make_unique< LazyEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation > >(negative_multinomial); } - double prev, curr = kappa; //negative_multinomial->loglikelihood(data); + std::unique_ptr< NegativeMultinomialDistributionEstimation > estimation = std::make_unique< NegativeMultinomialDistributionEstimation >(data.copy().release(), + negative_multinomial); + estimation->steps.push_back(kappa); + double prev; + double curr = kappa; unsigned int its = 1; double chisq = 0.; std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* event = generator->event(); - if(event) - { - for(Index index = 0, max_index = event->size(); index < max_index; ++index) - { - const UnivariateEvent* uevent = event->get(index); - if(uevent && uevent->get_event() == ELEMENTARY) - { chisq += generator->weight() / total * pow(static_cast< const DiscreteElementaryEvent* >(uevent)->get_value() - mean(index), 2.) / mean(index); } + while (generator->is_valid()) { + for (Index index = 0, max_index = nb_components; index < max_index; ++index) { + const UnivariateEvent* event = generator->get_event(index); + if (event && event->get_censoring() == censoring_type::NONE) { + chisq += generator->get_weight() / total * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - mean(index), 2.) / mean(index); } } ++(*generator); } - do - { + do { prev = curr; - double _chisq = 0; + double local_chisq = 0; generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* event = generator->event(); - if(event) - { - for(Index index = 0, max_index = event->size(); index < max_index; ++index) - { - const UnivariateEvent* uevent = event->get(index); - if(uevent && uevent->get_event() == ELEMENTARY) - { _chisq += generator->weight() / total * pow(static_cast< const DiscreteElementaryEvent* >(uevent)->get_value() - mean(index), 2.) / (mean(index) * (1 + mean(index) / kappa)); } + while (generator->is_valid()) { + for (Index index = 0, max_index = nb_components; index < max_index; ++index) { + const UnivariateEvent* event = generator->get_event(index); + if (event && event->get_censoring() == censoring_type::NONE) { + local_chisq += generator->get_weight() / total * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - mean(index), 2.) / (mean(index) * (1 + mean(index) / kappa)); } } ++(*generator); } - kappa *= chisq / _chisq; - if(kappa > 0.) - { - if(!lazy) - { static_cast< NegativeMultinomialDistributionEstimation* >(estimation.get())->_iterations.push_back(kappa); } + kappa *= chisq / local_chisq; + if (kappa > 0.) { + estimation->steps.push_back(kappa); negative_binomial.set_kappa(kappa); - q = _location / (_location + kappa); + q = location / (location + kappa); negative_binomial.set_pi(1. - q); negative_multinomial->set_sum(negative_binomial); static_cast< MultinomialSingularDistribution* >(negative_multinomial->get_singular())->set_pi(mean * q / kappa); - // curr = negative_multinomial->loglikelihood(data); curr = kappa; ++its; } - } while(run(its, __impl::reldiff(prev, curr))); + } while (this->run(its, __impl::reldiff(prev, curr))); return estimation; } - - std::unique_ptr< MultivariateDistributionEstimation::Estimator > NegativeMultinomialDistributionEstimation::WZ99Estimator::copy() const - { return std::make_unique< NegativeMultinomialDistributionEstimation::WZ99Estimator >(*this); } } diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index 23d6f1e0..6dfc8acf 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -4,139 +4,143 @@ #include "distribution.h" #include "estimation.h" #include "indicator.h" +#include "optimization.h" +#include "selection.h" #include "slope_heuristic.h" namespace statiskit { - template class ShiftedDistributionEstimation : public LazyEstimation< ShiftedDistribution< D >, B > + template struct ShiftedDistributionEstimation : PolymorphicCopy< ShiftedDistributionEstimation, B > { - public: - ShiftedDistributionEstimation(); - ShiftedDistributionEstimation(LazyEstimation< D, B >* estimation, const UnivariateDataFrame* data, const typename D::event_type::value_type& shift); - ShiftedDistributionEstimation(const ShiftedDistributionEstimation< D, B >& estimation); - virtual ~ShiftedDistributionEstimation(); + using PolymorphicCopy< ShiftedDistributionEstimation, B >::PolymorphicCopy; - const LazyEstimation< D, B >* get_estimation() const; - - class Estimator : public PolymorphicCopy< UnivariateDistributionEstimation::Estimator, Estimator, typename B::Estimator > - { - public: - typedef typename B::Estimator estimator_type; - - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; + class Estimator : public PolymorphicCopy< Estimator, typename B::Estimator > + { + public: + using estimator_type = typename B::Estimator; + using estimation_type = typename estimator_type::estimation_type; + using data_type = typename estimator_type::data_type; - typename D::event_type::value_type get_shift() const; - void set_shift(const typename D::event_type::value_type& shift); + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); - const estimator_type* get_estimator() const; - void set_estimator(const estimator_type& estimator); + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; - protected: - typename D::event_type::value_type _shift; - estimator_type* _estimator; + typename B::event_type::value_type get_shift() const; + void set_shift(const typename B::event_type::value_type& shift); - virtual std::unordered_set< uintptr_t > children() const; - }; + const estimator_type* get_estimator() const; + void set_estimator(const estimator_type& estimator); - protected: - LazyEstimation< D, B >* _estimation; - const UnivariateDataFrame* _data; + protected: + typename B::event_type::value_type shift; + estimator_type* estimator; + }; }; - typedef ShiftedDistributionEstimation< DiscreteUnivariateDistribution, DiscreteUnivariateDistributionEstimation > DiscreteUnivariateShiftedDistributionEstimation; - typedef DiscreteUnivariateShiftedDistributionEstimation::Estimator DiscreteUnivariateShiftedDistributionEstimator; + using DiscreteUnivariateShiftedDistributionEstimation = ShiftedDistributionEstimation< DiscreteUnivariateDistributionEstimation > ; + using DiscreteUnivariateShiftedDistributionEstimator = DiscreteUnivariateShiftedDistributionEstimation::Estimator; - typedef ShiftedDistributionEstimation< ContinuousUnivariateDistribution, ContinuousUnivariateDistributionEstimation > ContinuousUnivariateShiftedDistributionEstimation; - typedef ContinuousUnivariateShiftedDistributionEstimation::Estimator ContinuousUnivariateShiftedDistributionEstimator; + using ContinuousUnivariateShiftedDistributionEstimation = ShiftedDistributionEstimation< ContinuousUnivariateDistributionEstimation >; + using ContinuousUnivariateShiftedDistributionEstimator = ContinuousUnivariateShiftedDistributionEstimation::Estimator; - template struct UnivariateFrequencyDistributionEstimation : ActiveEstimation< D, B > + template struct UnivariateFrequencyDistributionEstimation : PolymorphicCopy< UnivariateFrequencyDistributionEstimation, B > { - UnivariateFrequencyDistributionEstimation(); - UnivariateFrequencyDistributionEstimation(D const * estimated, typename B::data_type const * data); - UnivariateFrequencyDistributionEstimation(const UnivariateFrequencyDistributionEstimation< D, B >& estimation); - virtual ~UnivariateFrequencyDistributionEstimation(); + using PolymorphicCopy< UnivariateFrequencyDistributionEstimation, B >::PolymorphicCopy; - struct Estimator : B::Estimator + class Estimator : public PolymorphicCopy< Estimator, typename B::Estimator > { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); + public: + using data_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::data_type; + using distribution_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::distribution_type; + using estimation_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::estimation_type; + using event_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::event_type; - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; + using value_type = typename event_type::value_type; - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; + + protected: + inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const = 0; }; }; - - typedef UnivariateFrequencyDistributionEstimation< DiscreteUnivariateFrequencyDistribution, DiscreteUnivariateDistributionEstimation > DiscreteUnivariateFrequencyDistributionEstimation; - typedef UnivariateFrequencyDistributionEstimation< DiscreteUnivariateFrequencyDistribution, DiscreteUnivariateDistributionEstimation >::Estimator DiscreteUnivariateFrequencyDistributionEstimator; - struct STATISKIT_CORE_API PoissonDistributionMLEstimation : ActiveEstimation< PoissonDistribution, DiscreteUnivariateDistributionEstimation > + using NominalDistributionEstimation = UnivariateFrequencyDistributionEstimation< CategoricalUnivariateDistributionEstimation >; + + class NominalDistributionEstimator : NominalDistributionEstimation::Estimator + { + protected: + inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; + }; + + using DiscreteUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< DiscreteUnivariateDistributionEstimation >; + + class DiscreteUnivariateFrequencyDistributionEstimator : DiscreteUnivariateFrequencyDistributionEstimation::Estimator + { + protected: + inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; + }; + + using ContinuousUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< ContinuousUnivariateDistributionEstimation >; + + class ContinuousUnivariateFrequencyDistributionEstimator : ContinuousUnivariateFrequencyDistributionEstimation::Estimator + { + protected: + inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& masses) const; + }; + + struct STATISKIT_CORE_API PoissonDistributionMLEstimation : PolymorphicCopy< PoissonDistributionMLEstimation, DiscreteUnivariateDistributionEstimation > { - PoissonDistributionMLEstimation(); - PoissonDistributionMLEstimation(PoissonDistribution const * estimated, UnivariateData const * data); - PoissonDistributionMLEstimation(const PoissonDistributionMLEstimation& estimation); - virtual ~PoissonDistributionMLEstimation(); + using PolymorphicCopy< PoissonDistributionMLEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; }; }; - struct STATISKIT_CORE_API BinomialDistributionMLEstimation : OptimizationEstimation + struct STATISKIT_CORE_API BinomialDistributionMLEstimation : PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation > { - BinomialDistributionMLEstimation(); - BinomialDistributionMLEstimation(BinomialDistribution const * estimated, UnivariateData const * data); - BinomialDistributionMLEstimation(const BinomialDistributionMLEstimation& estimation); - virtual ~BinomialDistributionMLEstimation(); + using PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public OptimizationEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; bool get_force() const; void set_force(const bool& force); protected: - bool _force; + bool force; }; }; - struct STATISKIT_CORE_API BinomialDistributionMMEstimation : ActiveEstimation< BinomialDistribution, DiscreteUnivariateDistributionEstimation > + struct STATISKIT_CORE_API BinomialDistributionMMEstimation : PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation > { - BinomialDistributionMMEstimation(); - BinomialDistributionMMEstimation(BinomialDistribution const * estimated, UnivariateData const * data); - BinomialDistributionMMEstimation(const BinomialDistributionMMEstimation& estimation); - virtual ~BinomialDistributionMMEstimation(); + using PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public DiscreteUnivariateDistributionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, DiscreteUnivariateDistributionEstimation::Estimator > { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; UnivariateLocationEstimation::Estimator* get_location(); void set_location(const UnivariateLocationEstimation::Estimator& location); @@ -145,81 +149,63 @@ namespace statiskit void set_dispersion(const UnivariateDispersionEstimation::Estimator& dispersion); protected: - UnivariateLocationEstimation::Estimator* _location; - UnivariateDispersionEstimation::Estimator* _dispersion; + UnivariateLocationEstimation::Estimator* location; + UnivariateDispersionEstimation::Estimator* dispersion; }; }; - struct STATISKIT_CORE_API LogarithmicDistributionMLEstimation : OptimizationEstimation + struct STATISKIT_CORE_API LogarithmicDistributionMLEstimation : PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation > { - LogarithmicDistributionMLEstimation(); - LogarithmicDistributionMLEstimation(LogarithmicDistribution const * estimated, UnivariateData const * data); - LogarithmicDistributionMLEstimation(const LogarithmicDistributionMLEstimation& estimation); - virtual ~LogarithmicDistributionMLEstimation(); + using PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : public OptimizationEstimation::Estimator + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; }; }; - struct STATISKIT_CORE_API GeometricDistributionMLEstimation : ActiveEstimation + struct STATISKIT_CORE_API GeometricDistributionMLEstimation : PolymorphicCopy { - GeometricDistributionMLEstimation(); - GeometricDistributionMLEstimation(GeometricDistribution const * estimated, UnivariateData const * data); - GeometricDistributionMLEstimation(const GeometricDistributionMLEstimation& estimation); - virtual ~GeometricDistributionMLEstimation(); + using PolymorphicCopy::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : public ActiveEstimation::Estimator + struct STATISKIT_CORE_API Estimator : public PolymorphicCopy::Estimator { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; }; }; - struct STATISKIT_CORE_API NegativeBinomialDistributionMLEstimation : OptimizationEstimation + struct STATISKIT_CORE_API NegativeBinomialDistributionMLEstimation : PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation > { - NegativeBinomialDistributionMLEstimation(); - NegativeBinomialDistributionMLEstimation(NegativeBinomialDistribution const * estimated, UnivariateData const * data); - NegativeBinomialDistributionMLEstimation(const NegativeBinomialDistributionMLEstimation& estimation); - virtual ~NegativeBinomialDistributionMLEstimation(); + using PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public OptimizationEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; bool get_force() const; void set_force(const bool& force); protected: - bool _force; + bool force; }; }; - struct STATISKIT_CORE_API NegativeBinomialDistributionMMEstimation : ActiveEstimation< NegativeBinomialDistribution, DiscreteUnivariateDistributionEstimation > + struct STATISKIT_CORE_API NegativeBinomialDistributionMMEstimation : PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation > { - NegativeBinomialDistributionMMEstimation(); - NegativeBinomialDistributionMMEstimation(NegativeBinomialDistribution const * estimated, UnivariateData const * data); - NegativeBinomialDistributionMMEstimation(const NegativeBinomialDistributionMMEstimation& estimation); - virtual ~NegativeBinomialDistributionMMEstimation(); + using PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; /** \brief This class NegativeBinomialDistribution represents a Maximum Likelihood Estimator (MLE) of negative binomial distribution parameters \f$\kappa\f$ and \f$\pi\f$. * @@ -235,7 +221,7 @@ namespace statiskit * * \see \ref ::statiskit::NegativeBinomialDistribution. * */ - class STATISKIT_CORE_API Estimator : public DiscreteUnivariateDistributionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, DiscreteUnivariateDistributionEstimation::Estimator > { public: Estimator(); @@ -253,9 +239,7 @@ namespace statiskit * \pi = \frac{\bar{x}}{\bar{x} + \alpha^{-1}} * \f] * */ - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; UnivariateLocationEstimation::Estimator* get_location(); void set_location(const UnivariateLocationEstimation::Estimator& location); @@ -264,99 +248,79 @@ namespace statiskit void set_dispersion(const UnivariateDispersionEstimation::Estimator& dispersion); protected: - UnivariateLocationEstimation::Estimator* _location; - UnivariateDispersionEstimation::Estimator* _dispersion; + UnivariateLocationEstimation::Estimator* location; + UnivariateDispersionEstimation::Estimator* dispersion; }; }; - typedef UnivariateFrequencyDistributionEstimation< ContinuousUnivariateFrequencyDistribution, ContinuousUnivariateDistributionEstimation > ContinuousUnivariateFrequencyDistributionEstimation; - typedef UnivariateFrequencyDistributionEstimation< ContinuousUnivariateFrequencyDistribution, ContinuousUnivariateDistributionEstimation >::Estimator ContinuousUnivariateFrequencyDistributionEstimator; - - struct STATISKIT_CORE_API NormalDistributionMLEstimation : ActiveEstimation< NormalDistribution, ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API NormalDistributionMLEstimation : PolymorphicCopy< NormalDistributionMLEstimation, ContinuousUnivariateDistributionEstimation > { - NormalDistributionMLEstimation(); - NormalDistributionMLEstimation(NormalDistribution const * estimated, UnivariateData const * data); - NormalDistributionMLEstimation(const NormalDistributionMLEstimation& estimation); - virtual ~NormalDistributionMLEstimation(); + using PolymorphicCopy< NormalDistributionMLEstimation, ContinuousUnivariateDistributionEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : public ContinuousUnivariateDistributionEstimation::Estimator + struct STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, ContinuousUnivariateDistributionEstimation::Estimator > { Estimator(); + Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; }; }; - struct STATISKIT_CORE_API UnivariateHistogramDistributionEstimation : ActiveEstimation< UnivariateHistogramDistribution, ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API UnivariateHistogramDistributionEstimation : PolymorphicCopy< UnivariateHistogramDistributionEstimation, ContinuousUnivariateDistributionEstimation > { - UnivariateHistogramDistributionEstimation(); - UnivariateHistogramDistributionEstimation(UnivariateHistogramDistribution const * estimated, UnivariateData const * data); - UnivariateHistogramDistributionEstimation(const UnivariateHistogramDistributionEstimation& estimation); - virtual ~UnivariateHistogramDistributionEstimation(); + using PolymorphicCopy< UnivariateHistogramDistributionEstimation, ContinuousUnivariateDistributionEstimation >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public ContinuousUnivariateDistributionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; const unsigned int& get_nb_bins() const; void set_nb_bins(const unsigned int& nb_bins); protected: - unsigned int _nb_bins; + unsigned int nb_bins; }; }; - struct STATISKIT_CORE_API RegularUnivariateHistogramDistributionSlopeHeuristicSelection : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API RegularUnivariateHistogramDistributionSlopeHeuristicSelection : PolymorphicCopy< RegularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > > { - RegularUnivariateHistogramDistributionSlopeHeuristicSelection(const UnivariateData* data); - RegularUnivariateHistogramDistributionSlopeHeuristicSelection(const RegularUnivariateHistogramDistributionSlopeHeuristicSelection& selection); - virtual ~RegularUnivariateHistogramDistributionSlopeHeuristicSelection(); + using PolymorphicCopy< RegularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public ContinuousUnivariateDistributionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; const unsigned int& get_maxbins() const; void set_maxbins(const unsigned int& maxbins); protected: - unsigned int _maxbins; + unsigned int maxbins; }; }; - struct STATISKIT_CORE_API IrregularUnivariateHistogramDistributionSlopeHeuristicSelection : SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API IrregularUnivariateHistogramDistributionSlopeHeuristicSelection : PolymorphicCopy< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > > { - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(const UnivariateData* data); - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(const IrregularUnivariateHistogramDistributionSlopeHeuristicSelection& selection); - virtual ~IrregularUnivariateHistogramDistributionSlopeHeuristicSelection(); + using PolymorphicCopy< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public ContinuousUnivariateDistributionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< UnivariateDistributionEstimation > operator() (const UnivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< UnivariateDistributionEstimation::Estimator > copy() const; + virtual std::unique_ptr< estimation_type > operator() (const UnivariateData& data) const; const unsigned int& get_maxbins() const; void set_maxbins(const unsigned int& maxbins); @@ -365,236 +329,25 @@ namespace statiskit void set_constant(const double& constant); protected: - unsigned int _maxbins; - double _constant; + unsigned int maxbins; + double constant; }; }; - struct STATISKIT_CORE_API SingularDistributionEstimation + struct STATISKIT_CORE_API NegativeMultinomialDistributionEstimation : public PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation > { - typedef MultivariateData data_type; - typedef SingularDistribution estimated_type; - typedef SingularDistributionEstimation copy_type; - - virtual ~SingularDistributionEstimation() = 0; - - virtual estimated_type const * get_estimated() const = 0; - - struct STATISKIT_CORE_API Estimator : public statiskit::Estimator - { - typedef SingularDistributionEstimation estimation_type; - - virtual ~Estimator() = 0; - - virtual std::unique_ptr< estimation_type > operator() (const data_type& data, const bool& lazy=true) const = 0; + using PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation >::PolymorphicCopy; - virtual std::unique_ptr< Estimator > copy() const = 0; - }; - }; - - typedef Selection< SingularDistribution, SingularDistributionEstimation > SingularDistributionSelection; - typedef SingularDistributionSelection::CriterionEstimator SingularDistributionCriterionEstimator; - - struct STATISKIT_CORE_API MultinomialSingularDistributionEstimation : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation > - { - MultinomialSingularDistributionEstimation(MultinomialSingularDistribution const * estimated, MultivariateData const * data); - MultinomialSingularDistributionEstimation(const MultinomialSingularDistributionEstimation& estimation); - virtual ~MultinomialSingularDistributionEstimation(); - - struct STATISKIT_CORE_API Estimator : PolymorphicCopy< SingularDistributionEstimation::Estimator, Estimator, ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >::Estimator > - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< SingularDistributionEstimation > operator() (const MultivariateData& data, const bool& lazy=false) const; - }; - }; - - struct STATISKIT_CORE_API DirichletMultinomialSingularDistributionEstimation : OptimizationEstimation - { - DirichletMultinomialSingularDistributionEstimation(DirichletMultinomialSingularDistribution const * estimated, MultivariateData const * data); - DirichletMultinomialSingularDistributionEstimation(const DirichletMultinomialSingularDistributionEstimation& estimation); - virtual ~DirichletMultinomialSingularDistributionEstimation(); - - struct STATISKIT_CORE_API Estimator : PolymorphicCopy< SingularDistributionEstimation::Estimator, Estimator, OptimizationEstimation::Estimator > - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< SingularDistributionEstimation > operator() (const MultivariateData& data, const bool& lazy=false) const; - }; - }; - - class STATISKIT_CORE_API SplittingDistributionEstimation : public ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation > - { - public: - SplittingDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data); - SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation); - virtual ~SplittingDistributionEstimation(); - - const DiscreteUnivariateDistributionEstimation* get_sum() const; - - const SingularDistributionEstimation* get_singular() const; - - class STATISKIT_CORE_API Estimator : public PolymorphicCopy< MultivariateDistributionEstimation::Estimator, Estimator, ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >::Estimator > - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< MultivariateDistributionEstimation > operator() (const MultivariateData& data, const bool& lazy=false) const; - - const DiscreteUnivariateDistributionEstimation::Estimator* get_sum() const; - void set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum); - - const SingularDistributionEstimation::Estimator* get_singular() const; - void set_singular(const SingularDistributionEstimation::Estimator& singular); - - protected: - DiscreteUnivariateDistributionEstimation::Estimator* _sum; - SingularDistributionEstimation::Estimator* _singular; - - virtual std::unordered_set< uintptr_t > children() const; - }; - - protected: - DiscreteUnivariateDistributionEstimation* _sum; - SingularDistributionEstimation* _singular; - }; - - struct STATISKIT_CORE_API NegativeMultinomialDistributionEstimation : public OptimizationEstimation - { - NegativeMultinomialDistributionEstimation(); - NegativeMultinomialDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data); - NegativeMultinomialDistributionEstimation(const NegativeMultinomialDistributionEstimation& estimation); - virtual ~NegativeMultinomialDistributionEstimation(); - - struct STATISKIT_CORE_API WZ99Estimator : OptimizationEstimation::Estimator - { - public: - WZ99Estimator(); - WZ99Estimator(const WZ99Estimator& estimator); - virtual ~WZ99Estimator(); - - virtual std::unique_ptr< MultivariateDistributionEstimation > operator() (const MultivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< MultivariateDistributionEstimation::Estimator > copy() const; - }; - }; - - /*template class IndependentMultivariateDistributionEstimation : public ActiveEstimation< IndependentMultivariateDistribution< D >, E > - { - public: - IndependentMultivariateDistributionEstimation(); - IndependentMultivariateDistributionEstimation(IndependentMultivariateDistribution< D > const * estimated, typename E::data_type const * data); - IndependentMultivariateDistributionEstimation(const IndependentMultivariateDistributionEstimation< D, E >& estimation); - virtual ~IndependentMultivariateDistributionEstimation(); - - Index size() const; - - const UnivariateDistributionEstimation* get_estimation(const Index& index) const; - - class Estimator : public E::Estimator - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< MultivariateDistributionEstimation > operator() (const MultivariateData& data, const bool& lazy=true) const; - - virtual std::unique_ptr< MultivariateDistributionEstimation::Estimator > copy() const; - - const typename E::Estimator::marginal_type* get_default_estimator() const; - void set_default_estimator(const typename E::Estimator::marginal_type& estimator); - - const typename E::Estimator::marginal_type* get_estimator(const Index& index) const; - void set_estimator(const Index& index, const typename E::Estimator::marginal_type* estimator); - - protected: - typename E::Estimator::marginal_type* _default_estimator; - std::map< Index, typename E::Estimator::marginal_type* > _estimators; - }; - - protected: - std::vector< UnivariateDistributionEstimation* > _estimations; - }; - - typedef IndependentMultivariateDistributionEstimation< MultivariateDistribution, MultivariateDistributionEstimation > MixedIndependentMultivariateDistributionEstimation; - typedef IndependentMultivariateDistributionEstimation< CategoricalMultivariateDistribution, CategoricalMultivariateDistributionEstimation > CategoricalIndependentMultivariateDistributionEstimation; - typedef IndependentMultivariateDistributionEstimation< DiscreteMultivariateDistribution, DiscreteMultivariateDistributionEstimation > DiscreteIndependentMultivariateDistributionEstimation; - typedef IndependentMultivariateDistributionEstimation< ContinuousMultivariateDistribution, ContinuousMultivariateDistributionEstimation > ContinuousIndependentMultivariateDistributionEstimation;*/ - - template struct MixtureDistributionEMEstimation : OptimizationEstimation< D*, D, E > - { - MixtureDistributionEMEstimation(); - MixtureDistributionEMEstimation(D const * estimated, typename E::data_type const * data); - MixtureDistributionEMEstimation(const MixtureDistributionEMEstimation< D, E >& estimation); - virtual ~MixtureDistributionEMEstimation(); - - class Estimator : public OptimizationEstimation< D*, D, E >::Estimator + struct STATISKIT_CORE_API WZ99Estimator : PolymorphicCopy { public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - - virtual std::unique_ptr< typename E::Estimator::estimation_type > operator() (const typename E::Estimator::estimation_type::data_type& data, const bool& lazy=true) const; - - virtual std::unique_ptr< typename E::Estimator::estimation_type::Estimator > copy() const; + WZ99Estimator(); + WZ99Estimator(const WZ99Estimator& estimator); + virtual ~WZ99Estimator(); - bool get_pi() const; - void set_pi(const bool& pi); - - const typename E::Estimator* get_default_estimator() const; - void set_default_estimator(const typename E::Estimator* estimator); - - const typename E::Estimator* get_estimator(const Index& index) const; - void set_estimator(const Index& index, const typename E::Estimator* estimator); - - const D* get_initializator() const; - void set_initializator(const D& initializator); - - bool get_limit() const; - void set_limit(const bool& limit); - - protected: - bool _pi; - D* _initializator; - typename E::Estimator* _default_estimator; - std::map< Index, typename E::Estimator* > _estimators; - bool _limit; - - virtual std::unordered_set< uintptr_t > children() const; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data) const; }; }; - - typedef MixtureDistributionEMEstimation< CategoricalUnivariateMixtureDistribution, CategoricalUnivariateDistributionEstimation > CategoricalUnivariateMixtureDistributionEMEstimation; - typedef CategoricalUnivariateMixtureDistributionEMEstimation::Estimator CategoricalUnivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< DiscreteUnivariateMixtureDistribution, DiscreteUnivariateDistributionEstimation > DiscreteUnivariateMixtureDistributionEMEstimation; - typedef DiscreteUnivariateMixtureDistributionEMEstimation::Estimator DiscreteUnivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< ContinuousUnivariateMixtureDistribution, ContinuousUnivariateDistributionEstimation > ContinuousUnivariateMixtureDistributionEMEstimation; - typedef ContinuousUnivariateMixtureDistributionEMEstimation::Estimator ContinuousUnivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< MixedMultivariateMixtureDistribution, MultivariateDistributionEstimation > MixedMultivariateMixtureDistributionEMEstimation; - typedef MixedMultivariateMixtureDistributionEMEstimation::Estimator MixedMultivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< CategoricalMultivariateMixtureDistribution, CategoricalMultivariateDistributionEstimation > CategoricalMultivariateMixtureDistributionEMEstimation; - typedef CategoricalMultivariateMixtureDistributionEMEstimation::Estimator CategoricalMultivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< DiscreteMultivariateMixtureDistribution, DiscreteMultivariateDistributionEstimation > DiscreteMultivariateMixtureDistributionEMEstimation; - typedef DiscreteMultivariateMixtureDistributionEMEstimation::Estimator DiscreteMultivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< ContinuousMultivariateMixtureDistribution, ContinuousMultivariateDistributionEstimation > ContinuousMultivariateMixtureDistributionEMEstimation; - typedef ContinuousMultivariateMixtureDistributionEMEstimation::Estimator ContinuousMultivariateMixtureDistributionEMEstimator; - - typedef MixtureDistributionEMEstimation< MixtureSingularDistribution, SingularDistributionEstimation > MixtureSingularDistributionEMEstimation; - typedef MixtureSingularDistributionEMEstimation::Estimator MixtureSingularDistributionEMEstimator; } #include "estimator.hpp" \ No newline at end of file diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index 973da017..a3585860 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -3,208 +3,131 @@ namespace statiskit { - template - ShiftedDistributionEstimation< D, B >::ShiftedDistributionEstimation() : LazyEstimation< ShiftedDistribution< D >, B >() - { - _estimation = nullptr; - _data = nullptr; - } - template - ShiftedDistributionEstimation< D, B >::ShiftedDistributionEstimation(LazyEstimation< D, B >* estimation, const UnivariateDataFrame* data, const typename D::event_type::value_type& shift) : LazyEstimation< ShiftedDistribution< D >, B >(new ShiftedDistribution< D >(*static_cast< const D* >(estimation->get_estimated()), shift)) + template + ShiftedDistributionEstimation::Estimator::Estimator() { - _estimation = estimation; - _data = data; - } - - template - ShiftedDistributionEstimation< D, B >::ShiftedDistributionEstimation(const ShiftedDistributionEstimation< D, B >& estimation) : LazyEstimation< ShiftedDistribution< D >, B >(estimation) - { - _estimation = estimation._estimation; - _data = estimation._data; + this->shift = 0; + this->estimator = nullptr; } - template - ShiftedDistributionEstimation< D, B >::~ShiftedDistributionEstimation() - { - if(_estimation) - { - delete _estimation; - _estimation = nullptr; - } - if(_data) - { - delete _data; - _data = nullptr; - } - } - - template - const LazyEstimation< D, B >* ShiftedDistributionEstimation< D, B >::get_estimation() const - { return _estimation; } - - template - ShiftedDistributionEstimation< D, B >::Estimator::Estimator() - { - _shift = 0; - _estimator = nullptr; - } - - template - ShiftedDistributionEstimation< D, B >::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< UnivariateDistributionEstimation::Estimator, Estimator, typename B::Estimator >(estimator) + template + ShiftedDistributionEstimation::Estimator::Estimator(const Estimator& estimator) { - _shift = estimator._shift; - if(estimator._estimator) - { _estimator = static_cast< typename B::Estimator* >(estimator._estimator->copy().release()); } - else - { _estimator = nullptr; } + this->shift = estimator.shift; + if (estimator.estimator) { + this->estimator = static_cast< typename B::Estimator* >(estimator._estimator->copy().release()); + } else { + this->estimator = nullptr; + } } - template - ShiftedDistributionEstimation< D, B >::Estimator::~Estimator() + template + ShiftedDistributionEstimation::Estimator::~Estimator() { - if(_estimator) - { delete _estimator; } + if (this->estimator) { + delete this->estimator; + } } - template - std::unique_ptr< UnivariateDistributionEstimation > ShiftedDistributionEstimation< D, B >::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + template + std::unique_ptr< typename ShiftedDistributionEstimation::Estimator::estimation_type > ShiftedDistributionEstimation::Estimator::operator() (const data_type& data) const { - if(!_estimator) - { throw member_error("estimator", "you must give an estimator in order to compute a shifted estimation"); } - UnivariateDataFrame* shifted = new UnivariateDataFrame(*data.get_sample_space()); + using event_type = ElementaryEvent< typename B::mixture_distribution_type::observation_type::event_type >; + using value_type = typename event_type::value_type; + using distribution_type = ShiftedDistribution< typename B::mixture_distribution_type::observation_type >; + this->check(data); + if (!this->estimator) { + throw member_error("estimator", "you must give an estimator in order to compute a shifted estimation"); + } + UnivariateDataFrame shifted(*data.get_sample_space()); std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->event(); - if(event->get_event() == ELEMENTARY) - { - typename D::event_type::value_type value = static_cast< const ElementaryEvent< typename D::event_type >* >(event)->get_value(); - ElementaryEvent< typename D::event_type >* shifted_event = new ElementaryEvent< typename D::event_type >(value - _shift); - shifted->add_event(shifted_event); + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event->get_censoring() == censoring_type::NONE) { + value_type value = static_cast< const event_type* >(event)->get_value(); + event_type* shifted_event = new event_type(value - this->shift); + shifted.add_event(shifted_event); delete shifted_event; } ++(*generator); } - WeightedUnivariateData weighted = WeightedUnivariateData(shifted); + UnivariateData::weighted_type* weighted = new UnivariateData::weighted_type(shifted); generator = data.generator(); Index index = 0; - while(generator->is_valid()) - { - weighted.set_weight(index, generator->weight()); + while (generator->is_valid()) { + weighted->set_weight(index, generator->get_weight()); ++(*generator); ++index; } - std::unique_ptr< UnivariateDistributionEstimation > estimation; - if(lazy) - { - estimation = std::make_unique< LazyEstimation< ShiftedDistribution< D >, B > >(new ShiftedDistribution< D >(*static_cast< const D* >((*_estimator)(weighted, lazy)->get_estimated()), _shift)); - delete shifted; - } - else - { estimation = std::make_unique< ShiftedDistributionEstimation< D, B > >(static_cast< LazyEstimation< D, B >* >((*_estimator)(weighted, lazy).release()), shifted, _shift); } - return estimation; + return std::make_unique< ShiftedDistributionEstimation >(weighted, + new distribution_type(*(*this->estimator(weighted))->get_distribution()), this->shift); } - template - typename D::event_type::value_type ShiftedDistributionEstimation< D, B >::Estimator::get_shift() const - { return _shift; } - - template - void ShiftedDistributionEstimation< D, B >::Estimator::set_shift(const typename D::event_type::value_type& shift) - { _shift = shift; } - - template - const typename ShiftedDistributionEstimation< D, B >::Estimator::estimator_type* ShiftedDistributionEstimation< D, B >::Estimator::get_estimator() const - { return _estimator; } - - template - void ShiftedDistributionEstimation< D, B >::Estimator::set_estimator(const estimator_type& estimator) - { _estimator = static_cast< estimator_type* >(estimator.copy().release()); } - - template - std::unordered_set< uintptr_t > ShiftedDistributionEstimation< D, B >::Estimator::children() const + template + typename B::event_type::value_type ShiftedDistributionEstimation::Estimator::get_shift() const { - std::unordered_set< uintptr_t > ch; - ch.insert(this->compute_identifier(*_estimator)); - __impl::merge(ch, this->compute_children(*_estimator)); - return ch; + return this->shift; } - template - UnivariateFrequencyDistributionEstimation< D, B >::UnivariateFrequencyDistributionEstimation() : ActiveEstimation< D, B >() - {} - - template - UnivariateFrequencyDistributionEstimation< D, B >::UnivariateFrequencyDistributionEstimation(D const * estimated, typename B::data_type const * data) : ActiveEstimation< D, B >(estimated, data) - {} - - template - UnivariateFrequencyDistributionEstimation< D, B >::UnivariateFrequencyDistributionEstimation(const UnivariateFrequencyDistributionEstimation< D, B >& estimation) : ActiveEstimation< D, B >(estimation) - {} + template + void ShiftedDistributionEstimation::Estimator::set_shift(const typename B::event_type::value_type& shift) + { + this->shift = shift; + } - template - UnivariateFrequencyDistributionEstimation< D, B >::~UnivariateFrequencyDistributionEstimation() - {} + template + const typename ShiftedDistributionEstimation::Estimator::estimator_type* ShiftedDistributionEstimation::Estimator::get_estimator() const + { + return this->estimator; + } - template - UnivariateFrequencyDistributionEstimation< D, B >::Estimator::Estimator() + template + UnivariateFrequencyDistributionEstimation::Estimator::Estimator() {} - template - UnivariateFrequencyDistributionEstimation< D, B >::Estimator::Estimator(const Estimator& estimator) + template + UnivariateFrequencyDistributionEstimation::Estimator::Estimator(const Estimator& estimator) {} - template - UnivariateFrequencyDistributionEstimation< D, B >::Estimator::~Estimator() + template + UnivariateFrequencyDistributionEstimation::Estimator::~Estimator() {} - template - std::unique_ptr< UnivariateDistributionEstimation > UnivariateFrequencyDistributionEstimation< D, B >::Estimator::operator() (const UnivariateData& data, const bool& lazy) const + template + std::unique_ptr< typename UnivariateFrequencyDistributionEstimation::Estimator::estimation_type > UnivariateFrequencyDistributionEstimation::Estimator::operator() (const data_type& data) const { + using event_type = ElementaryEvent< typename B::mixture_distribution_type::observation_type::event_type >; + using value_type = typename event_type::value_type; + this->check(data); std::unique_ptr< UnivariateDistributionEstimation > estimation; - std::set< typename D::event_type::value_type > values; - double total = data.compute_total(); - if(total > 0. && boost::math::isfinite(total)) - { - std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - auto event = generator->event(); - if(event) - { - if(event->get_event() == ELEMENTARY) - { values.insert(static_cast< const ElementaryEvent< typename D::event_type >* >(event)->get_value()); } + std::set< value_type > values; + std::unique_ptr< UnivariateData::Generator > generator = data.generator(); + while (generator->is_valid()) { + auto event = generator->get_event(); + if (event) { + if(event->get_censoring() == censoring_type::NONE) { + values.insert(static_cast< const event_type* >(event)->get_value()); } - ++(*generator); } - Eigen::VectorXd masses = Eigen::VectorXd::Zero(values.size()); - generator = data.generator(); - while(generator->is_valid()) - { - auto event = generator->event(); - if(event) - { - if(event->get_event() == ELEMENTARY) - { - typename std::set< typename D::event_type::value_type >::iterator it = values.find(static_cast< const ElementaryEvent< typename D::event_type >* >(event)->get_value()); - masses[distance(values.begin(), it)] += generator->weight() / total; - } + ++(*generator); + } + Eigen::VectorXd masses = Eigen::VectorXd::Zero(values.size()); + generator = data.generator(); + double total = data.compute_total(); + while (generator->is_valid()) { + auto event = generator->get_event(); + if (event) { + if (event->get_censoring() == censoring_type::NONE) { + typename std::set< value_type >::iterator it = values.find(static_cast< const event_type* >(event)->get_value()); + masses[distance(values.begin(), it)] += generator->get_weight() / total; } - ++(*generator); } - if(lazy) - { estimation = std::make_unique< LazyEstimation< D, B > >(new D(values, masses)); } - else - { estimation = std::make_unique< UnivariateFrequencyDistributionEstimation< D, B > >(new D(values, masses), &data); } + ++(*generator); } - return estimation; + return std::make_unique< UnivariateFrequencyDistributionEstimation >(this->create(values, masses), &data); } - template - std::unique_ptr< UnivariateDistributionEstimation::Estimator > UnivariateFrequencyDistributionEstimation< D, B >::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - /*template SplittingDistributionEstimation< E >::SplittingDistributionEstimation() : E() { _sum = nullptr; } @@ -422,7 +345,7 @@ namespace statiskit } template - std::unique_ptr< MultivariateDistributionEstimation > IndependentMultivariateDistributionEstimation< D, E >::Estimator::operator() (const MultivariateData& data, const bool& lazy) const + std::unique_ptr< MultivariateDistributionEstimation > IndependentMultivariateDistributionEstimation< D, E >::Estimator::operator() (const MultivariateData& data) const { std::unique_ptr< MultivariateDistributionEstimation > estimation; typename std::map< Index, typename E::Estimator::marginal_type* >::const_iterator it = _estimators.cbegin(), it_end = _estimators.cend(); @@ -505,233 +428,6 @@ namespace statiskit _estimators.erase(it); } }*/ - - template - MixtureDistributionEMEstimation< D, E >::MixtureDistributionEMEstimation() : OptimizationEstimation< D*, D, E >() - {} - - template - MixtureDistributionEMEstimation< D, E >::MixtureDistributionEMEstimation(D const * estimated, typename E::data_type const * data) : OptimizationEstimation< D*, D, E >(estimated, data) - {} - - template - MixtureDistributionEMEstimation< D, E >::MixtureDistributionEMEstimation(const MixtureDistributionEMEstimation< D, E >& estimation) : OptimizationEstimation< D*, D, E >(estimation) - {} - - template - MixtureDistributionEMEstimation< D, E >::~MixtureDistributionEMEstimation() - {} - - template - MixtureDistributionEMEstimation< D, E >::Estimator::Estimator(): OptimizationEstimation< D*, D, E >::Estimator() - { - _pi = true; - _initializator = nullptr; - _default_estimator = nullptr; - _estimators.clear(); - _limit = true; - this->_minits = 10; - } - - template - MixtureDistributionEMEstimation< D, E >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimation< D*, D, E >::Estimator(estimator) - { - _pi = estimator._pi; - if(estimator._initializator) - { _initializator = static_cast< D* >(estimator._initializator->copy().release()); } - else - { _initializator = nullptr; } - if(estimator._default_estimator) - { _default_estimator = static_cast< typename E::Estimator* >(estimator._default_estimator->copy().release()); } - else - { _default_estimator = nullptr; } - _estimators.clear(); - for(typename std::map< Index, typename E::Estimator* >::const_iterator it = estimator._estimators.cbegin(), it_end = estimator._estimators.cend(); it != it_end; ++it) - { _estimators[it->first] = static_cast< typename E::Estimator* >(it->second->copy().release()); } - _limit = estimator._limit; - } - - template - MixtureDistributionEMEstimation< D, E >::Estimator::~Estimator() - { - delete _initializator; - delete _default_estimator; - for(typename std::map< Index, typename E::Estimator* >::iterator it = _estimators.begin(), it_end = _estimators.end(); it != it_end; ++it) - { - delete it->second; - it->second = nullptr; - } - _estimators.clear(); - } - - template - std::unique_ptr< typename E::Estimator::estimation_type > MixtureDistributionEMEstimation< D, E >::Estimator::operator() (const typename E::Estimator::estimation_type::data_type& data, const bool& lazy) const - { - if(!_initializator) - { throw member_error("initializator", "you must give an initial mixture distribution in order to initialize the expectation-maximization algorithm"); } - D* mixture = static_cast< D* >(_initializator->copy().release()); - typename E::Estimator::estimation_type::data_type::weighted_type weighted = typename E::Estimator::estimation_type::data_type::weighted_type(&data); - double prev, curr = mixture->loglikelihood(data); - unsigned int its = 0; - std::unique_ptr< typename E::Estimator::estimation_type > estimation; - D* buffer = nullptr; - if(!lazy) - { - estimation = std::make_unique< MixtureDistributionEMEstimation< D, E > >(mixture, &data); - static_cast< MixtureDistributionEMEstimation< D, E >* >(estimation.get())->_iterations.push_back(static_cast< D* >(mixture->copy().release())); - } - else - { estimation = std::make_unique< LazyEstimation< D, MixtureDistributionEMEstimation< D, E > > >(mixture); } - std::unordered_set< uintptr_t > ch = this->children(); - do - { - if(_limit) - { - for(std::unordered_set< uintptr_t >::const_iterator it = ch.begin(), it_end = ch.end(); it != it_end; ++it) - { __impl::set_maxits(*it, its + 1); } - } - delete buffer; - buffer = static_cast< D* >((mixture->copy().release())); - prev = curr; - Eigen::VectorXd pi = mixture->get_pi(); - std::vector< typename E::Estimator::estimation_type* > estimations(mixture->get_nb_states(), nullptr); - for(Index state = 0, max_state = mixture->get_nb_states(); state < max_state; ++state) - { - typename E::Estimator::estimation_type::data_type::weighted_type::Generator* generator = static_cast< typename E::Estimator::estimation_type::data_type::weighted_type::Generator* >(weighted.generator().release()); - while(generator->is_valid()) - { - generator->weight(mixture->posterior(generator->event())[state]); - ++(*generator); - } - const typename E::Estimator* estimator = get_estimator(state); - if(estimator) - { - try - { estimations[state] = (*estimator)(weighted, true).release(); } - catch(const std::exception& exception) - { estimations[state] = nullptr; } - } - else - { estimations[state] = nullptr; } - pi[state] = weighted.compute_total(); - } - for(Index state = 0, max_state = mixture->get_nb_states(); state < max_state; ++state) - { - if(estimations[state]) - { - mixture->set_observation(state, *(static_cast< const typename D::observation_type* >(estimations[state]->get_estimated()))); - delete estimations[state]; - } - } - pi = pi / pi.sum(); - if(_pi) - { mixture->set_pi(pi); } - curr = mixture->loglikelihood(data); - if(!lazy) - { static_cast< MixtureDistributionEMEstimation< D, E >* >(estimation.get())->_iterations.push_back(static_cast< D* >(mixture->copy().release())); } - ++its; - } while(this->run(its, __impl::reldiff(prev, curr)) && curr > prev); - if(!boost::math::isfinite(curr) || curr < prev) - { - mixture->set_pi(buffer->get_pi()); - for(Index state = 0, max_state = buffer->get_nb_states(); state < max_state; ++state) - { mixture->set_observation(state, *(buffer->get_observation(state))); } - } - delete buffer; - if(_limit) - { - for(std::unordered_set< uintptr_t >::const_iterator it = ch.begin(), it_end = ch.end(); it != it_end; ++it) - { __impl::unset_maxits(*it); } - } - return estimation; - } - - template - std::unique_ptr< typename E::Estimator::estimation_type::Estimator > MixtureDistributionEMEstimation< D, E >::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - - template - bool MixtureDistributionEMEstimation< D, E >::Estimator::get_pi() const - { return _pi; } - - template - void MixtureDistributionEMEstimation< D, E >::Estimator::set_pi(const bool& pi) - { _pi = pi; } - - template - const typename E::Estimator* MixtureDistributionEMEstimation< D, E >::Estimator::get_default_estimator() const - { return _default_estimator; } - - template - void MixtureDistributionEMEstimation< D, E >::Estimator::set_default_estimator(const typename E::Estimator* estimator) - { - if(_default_estimator) - { delete _default_estimator; } - if(estimator) - { _default_estimator = static_cast< typename E::Estimator* >(estimator->copy().release()); } - else - { _default_estimator = nullptr; } - } - - template - const typename E::Estimator* MixtureDistributionEMEstimation< D, E >::Estimator::get_estimator(const Index& index) const - { - typename std::map< Index, typename E::Estimator* >::const_iterator it = _estimators.find(index); - typename E::Estimator* estimator; - if(it == _estimators.cend()) - { estimator = _default_estimator; } - else - { estimator = it->second; } - return estimator; - } - - template - void MixtureDistributionEMEstimation< D, E >::Estimator::set_estimator(const Index& index, const typename E::Estimator* estimator) - { - typename std::map< Index, typename E::Estimator* >::iterator it = _estimators.find(index); - if(it == _estimators.end() && estimator) - { _estimators[index] = static_cast< typename E::Estimator* >(estimator->copy().release()); } - else if(estimator) - { - delete it->second; - it->second = static_cast< typename E::Estimator* >(estimator->copy().release()); - } - else - { - delete it->second; - _estimators.erase(it); - } - } - - template - const D* MixtureDistributionEMEstimation< D, E >::Estimator::get_initializator() const - { return _initializator; } - - template - void MixtureDistributionEMEstimation< D, E >::Estimator::set_initializator(const D& initializator) - { _initializator = static_cast< D* >(initializator.copy().release()); } - - template - bool MixtureDistributionEMEstimation< D, E >::Estimator::get_limit() const - { return _limit; } - - template - void MixtureDistributionEMEstimation< D, E >::Estimator::set_limit(const bool& limit) - { _limit = limit; } - - template - std::unordered_set< uintptr_t > MixtureDistributionEMEstimation< D, E >::Estimator::children() const - { - std::unordered_set< uintptr_t > ch; - for(typename std::map< Index, typename E::Estimator* >::const_iterator it = _estimators.cbegin(), it_end = _estimators.cend(); it != it_end; ++it) - { - ch.insert(this->compute_identifier(*(it->second))); - __impl::merge(ch, this->compute_children(*(it->second))); - } - ch.insert(this->compute_identifier(*_default_estimator)); - __impl::merge(ch, this->compute_children(*_default_estimator)); - return ch; - } } #endif \ No newline at end of file diff --git a/src/cpp/event.h b/src/cpp/event.h index 4a518851..b4ff98d9 100644 --- a/src/cpp/event.h +++ b/src/cpp/event.h @@ -17,7 +17,7 @@ namespace statiskit MIXED, }; - inline std::ostream& operator<<(std::ostream & os, const outcome_type& outcome); + std::ostream& operator<<(std::ostream& os, const outcome_type& outcome); enum class censoring_type { @@ -30,6 +30,8 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateEvent { + using copy_type = UnivariateEvent; + virtual ~UnivariateEvent(); virtual outcome_type get_outcome() const = 0; @@ -171,6 +173,7 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateEvent { + using copy_type = MultivariateEvent; virtual ~MultivariateEvent() = 0; diff --git a/src/cpp/optimization.cpp b/src/cpp/optimization.cpp index 73209377..af82b01e 100644 --- a/src/cpp/optimization.cpp +++ b/src/cpp/optimization.cpp @@ -1,4 +1,7 @@ +#include "optimization.h" +namespace statiskit +{ Schedule::~Schedule() {} @@ -28,4 +31,5 @@ void ExponentialSchedule::set_theta(const double& theta) { this->theta = theta; - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/src/cpp/optimization.h b/src/cpp/optimization.h index 9c93095d..ee599139 100644 --- a/src/cpp/optimization.h +++ b/src/cpp/optimization.h @@ -1,14 +1,20 @@ +#pragma once +#include "base.h" +namespace statiskit +{ struct STATISKIT_CORE_API Schedule { + using copy_type = Schedule; + virtual ~Schedule() = 0; virtual double operator() (const double& stage) const = 0; - virtual std::unique_ptr< Schedule > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; - class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy< Schedule, ExponentialSchedule > + class STATISKIT_CORE_API ExponentialSchedule : public PolymorphicCopy { public: ExponentialSchedule(const double& theta); @@ -42,9 +48,9 @@ void set_maxits(const unsigned int& maxits); protected: - double _mindiff; - unsigned int _minits; - unsigned int _maxits; + double mindiff; + unsigned int minits; + unsigned int maxits; bool run(const unsigned int& its, const double& delta) const; }; @@ -67,89 +73,12 @@ void set_maxits(const unsigned int& maxits); protected: - Schedule* _schedule; - unsigned int _minits; - unsigned int _maxits; + Schedule* schedule; + unsigned int minits; + unsigned int maxits; bool accept(const unsigned int& its, const double& delta) const; }; +} - template class OptimizationEstimationImpl : public ActiveEstimation< D, B > - { - public: - OptimizationEstimationImpl(); - OptimizationEstimationImpl(D const * estimated, typename B::data_type const * data); - OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation); - virtual ~OptimizationEstimationImpl(); - - Index size() const; - - class Estimator : public Optimization< typename B::Estimator > - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; - - protected: - std::vector< T > _iterations; - }; - - template class SimulatedAnnealingEstimation : public ActiveEstimation< D, B > - { - public: - SimulatedAnnealingEstimation(); - SimulatedAnnealingEstimation(D const * estimated, typename B::data_type const * data); - SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation); - virtual ~SimulatedAnnealingEstimation(); - - Index size() const; - - class Estimator : public SimulatedAnnealing< typename B::Estimator > - { - public: - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; - - protected: - std::vector< T > _iterations; - }; - - template struct OptimizationEstimation : OptimizationEstimationImpl - { - // using __impl::OptimizationEstimation::OptimizationEstimation; - OptimizationEstimation(); - OptimizationEstimation(D const * estimated, typename B::data_type const * data); - OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation); - virtual ~OptimizationEstimation(); - - const T get_iteration(const Index& index) const; - - struct Estimator : OptimizationEstimationImpl::Estimator - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; - }; - - template struct OptimizationEstimation< T*, D, B> : OptimizationEstimationImpl - { - // using OptimizationEstimationImpl::OptimizationEstimation; - OptimizationEstimation(); - OptimizationEstimation(D const * estimated, typename B::data_type const * data); - OptimizationEstimation(const OptimizationEstimation< T*, D, B>& estimation); - virtual ~OptimizationEstimation(); - - const T* get_iteration(const Index& index) const; - - struct Estimator : OptimizationEstimationImpl::Estimator - { - Estimator(); - Estimator(const Estimator& estimator); - virtual ~Estimator(); - }; - }; +#include "optimization.hpp" \ No newline at end of file diff --git a/src/cpp/optimization.hpp b/src/cpp/optimization.hpp index 80b51961..cb90d931 100644 --- a/src/cpp/optimization.hpp +++ b/src/cpp/optimization.hpp @@ -1,18 +1,22 @@ +#ifndef AUTOWIG +#pragma once +namespace statiskit +{ template Optimization< T >::Optimization() { - _mindiff = 1e-5; - _minits = 1; - _maxits = 10e6; + this->mindiff = 1e-5; + this->minits = 1; + this->maxits = 10e6; } template Optimization< T >::Optimization(const Optimization< T >& optimization) { - _mindiff = optimization._mindiff; - _minits = optimization._minits; - _maxits = optimization._maxits; + this->mindiff = optimization.mindiff; + this->minits = optimization.minits; + this->maxits = optimization.maxits; } template @@ -21,38 +25,57 @@ template const double& Optimization< T >::get_mindiff() const - { return _mindiff; } + { + return this->mindiff; + } template void Optimization< T >::set_mindiff(const double& mindiff) - { _mindiff = mindiff; } + { + if (mindiff < 0.) { + throw lower_bound_error("mindiff", mindiff, 0., false); + } + this->mindiff = mindiff; + } template unsigned int Optimization< T >::get_minits() const - { return _minits; } + { + return this->minits; + } template void Optimization< T >::set_minits(const unsigned int& minits) - { _minits = minits; } + { + if (minits < 0) { + throw lower_bound_error("minits", minits, 0, false); + } + this->minits = minits; + } template unsigned int Optimization< T >::get_maxits() const - { return _maxits; } + { + return this->maxits; + } template void Optimization< T >::set_maxits(const unsigned int& maxits) - { _maxits = maxits; } + { + if (maxits < minits) { + throw lower_bound_error("maxits", maxits, minits, false); + } + this->maxits = maxits; + } template bool Optimization< T >::run(const unsigned int& its, const double& delta) const { - bool status = true; - if(its > _minits) - { - if(!boost::math::isfinite(delta) || its > __impl::get_maxits((uintptr_t)(this), _maxits)) - { status = false; } - else if(delta < _mindiff) - { status = false; } + bool status = boost::math::isfinite(delta); + if (status && its > this->minits) { + if (delta < this->mindiff || its > this->maxits) { + status = false; + } } return status; } @@ -60,218 +83,84 @@ template SimulatedAnnealing< T >::SimulatedAnnealing() { - _schedule = new ExponentialSchedule(1.); - _minits = 1; - _maxits = 10e6; + this->schedule = new ExponentialSchedule(1.); + this->minits = 1; + this->maxits = 10e6; } template SimulatedAnnealing< T >::SimulatedAnnealing(const SimulatedAnnealing< T >& simulated_annealing) { - if(simulated_annealing._schedule) - { _schedule = simulated_annealing._schedule->copy().release(); } - else - { _schedule = nullptr; } - _minits = simulated_annealing._minits; - _maxits = simulated_annealing._maxits; + if (simulated_annealing.schedule) { + this->schedule = simulated_annealing.schedule->copy().release(); + } else { + this->schedule = nullptr; + } + this->minits = simulated_annealing.minits; + this->maxits = simulated_annealing.maxits; } template SimulatedAnnealing< T >::~SimulatedAnnealing() { - if(_schedule) - { - delete _schedule; - _schedule = nullptr; + if (this->schedule) { + delete this->schedule; + this->schedule = nullptr; } } template const Schedule* SimulatedAnnealing< T >::get_schedule() const - { return _schedule; } + { + return this->schedule; + } template void SimulatedAnnealing< T >::set_schedule(const Schedule& schedule) - { _schedule = schedule.copy().release(); } + { + this->schedule = schedule.copy().release(); + } template unsigned int SimulatedAnnealing< T >::get_minits() const - { return _minits; } + { + return this->minits; + } template void SimulatedAnnealing< T >::set_minits(const unsigned int& minits) - { _minits = minits; } + { + this->minits = minits; + } template unsigned int SimulatedAnnealing< T >::get_maxits() const - { return _maxits; } + { + return this->maxits; + } template void SimulatedAnnealing< T >::set_maxits(const unsigned int& maxits) - { _maxits = maxits; } + { + this->maxits = maxits; + } template bool SimulatedAnnealing< T >::accept(const unsigned int& its, const double& delta) const { - bool status = true; - if(its > _minits && delta < 0) - { - double maxits = __impl::get_maxits((uintptr_t)(this), _maxits); - if(its > maxits) - { status = false; } - else - { + bool status = boost::math::isfinite(delta); + if (its > this->minits && delta < 0) { + if (its > this->maxits) { + status = false; + } else { double u = boost::uniform_01(__impl::get_random_generator())(); - status = u < exp(- delta / (*_schedule)((its - _minits) / maxits)); + status = u < exp(- delta / (*this->schedule)((its - this->minits) / this->maxits)); } + } else if (its > this->maxits) { + status = false; } return status; } +} - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl() : ActiveEstimation< D, B >() - { _iterations.clear(); } - - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) - { _iterations.clear(); } - - template - OptimizationEstimationImpl< T, D, B >::OptimizationEstimationImpl(const OptimizationEstimationImpl< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) - { _iterations = estimation._iterations; } - - template - OptimizationEstimationImpl< T, D, B >::~OptimizationEstimationImpl() - { _iterations.clear(); } - - template - Index OptimizationEstimationImpl< T, D, B >::size() const - { return _iterations.size(); } - - template - OptimizationEstimationImpl< T, D, B >::Estimator::Estimator() : Optimization< typename B::Estimator >() - {} - - template - OptimizationEstimationImpl< T, D, B >::Estimator::Estimator(const Estimator& estimator) : Optimization< typename B::Estimator >(estimator) - {} - - template - OptimizationEstimationImpl< T, D, B >::Estimator::~Estimator() - {} - - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation() : ActiveEstimation< D, B >() - { _iterations.clear(); } - - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) - { _iterations.clear(); } - - template - SimulatedAnnealingEstimation< T, D, B >::SimulatedAnnealingEstimation(const SimulatedAnnealingEstimation< T, D, B >& estimation) : ActiveEstimation< D, B >(estimation) - { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { _iterations[index] = static_cast< T >(_iterations[index]->copy().release()); } - } - - template - SimulatedAnnealingEstimation< T, D, B >::~SimulatedAnnealingEstimation() - { _iterations.clear(); } - - template - Index SimulatedAnnealingEstimation< T, D, B >::size() const - { return _iterations.size(); } - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator() : SimulatedAnnealing< typename B::Estimator >() - {} - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : SimulatedAnnealing< typename B::Estimator >(estimator) - {} - - template - SimulatedAnnealingEstimation< T, D, B >::Estimator::~Estimator() - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T, D, B >() - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T, D, B >(estimated, data) - {} - - template - OptimizationEstimation< T, D, B >::OptimizationEstimation(const OptimizationEstimation< T, D, B>& estimation) : OptimizationEstimationImpl< T, D, B >(estimation) - {} - - template - OptimizationEstimation< T, D, B >::~OptimizationEstimation() - {} - - template - const T OptimizationEstimation< T, D, B >::get_iteration(const Index& index) const - { - if(index >= this->size()) - { throw size_error("index", this->size(), size_error::inferior); } - return this->_iterations[index]; - } - - template - OptimizationEstimation< T, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T, D, B >::Estimator() - {} - - template - OptimizationEstimation< T, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T, D, B >::Estimator(estimator) - {} - - template - OptimizationEstimation< T, D, B >::Estimator::~Estimator() - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation() : OptimizationEstimationImpl< T*, D, B >() - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation(D const * estimated, typename B::data_type const * data) : OptimizationEstimationImpl< T*, D, B >(estimated, data) - {} - - template - OptimizationEstimation< T*, D, B >::OptimizationEstimation(const OptimizationEstimation< T*, D, B >& estimation) : OptimizationEstimationImpl< T*, D, B >(estimation) - { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { this->_iterations[index] = static_cast< T* >(this->_iterations[index]->copy().release()); } - } - - template - OptimizationEstimation< T*, D, B >::~OptimizationEstimation() - { - for(Index index = 0, max_index = this->_iterations.size(); index < max_index; ++index) - { - delete this->_iterations[index]; - this->_iterations[index] = nullptr; - } - } - - template - const T* OptimizationEstimation< T*, D, B >::get_iteration(const Index& index) const - { - if(index >= this->size()) - { throw size_error("index", this->size(), size_error::inferior); } - return this->_iterations[index]; - } - - template - OptimizationEstimation< T*, D, B >::Estimator::Estimator() : OptimizationEstimationImpl< T*, D, B >::Estimator() - {} - - template - OptimizationEstimation< T*, D, B >::Estimator::Estimator(const Estimator& estimator) : OptimizationEstimationImpl< T*, D, B >::Estimator(estimator) - {} - - template - OptimizationEstimation< T*, D, B >::Estimator::~Estimator() - {} \ No newline at end of file +#endif \ No newline at end of file diff --git a/src/cpp/selection.h b/src/cpp/selection.h index 8f42cf1a..9c8e488b 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -1,12 +1,13 @@ #pragma once +#include "estimation.h" +#include "slope_heuristic.h" - template class Selection : public B +namespace statiskit +{ + template class Selection : public PolymorphicCopy, B> { public: - Selection(); - Selection(typename B::data_type const * data); - Selection(D const * estimated, typename B::data_type const * data); - Selection(const Selection< D, B >& estimation); + using PolymorphicCopy, B>::PolymorphicCopy; virtual ~Selection(); Index size() const; @@ -31,7 +32,7 @@ void remove_estimator(const Index& index); protected: - std::vector< typename B::Estimator * > _estimators; + std::vector< typename B::Estimator * > estimators; virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const = 0; @@ -39,7 +40,7 @@ void init(const Estimator& estimator); }; - class CriterionEstimator : public PolymorphicCopy< typename B::Estimator::estimation_type::Estimator, CriterionEstimator, Estimator > + class CriterionEstimator : public PolymorphicCopy< CriterionEstimator, Estimator > { public: enum criterion_type { @@ -63,8 +64,26 @@ };/**/ protected: - std::vector< B * > _estimations; - std::vector< double > _scores; + std::vector< B * > estimations; + std::vector< double > scores; void finalize(); }; + + template class SlopeHeuristicSelection : public SlopeHeuristic, public B + { + public: + SlopeHeuristicSelection(const typename B::data_type* data); + SlopeHeuristicSelection(const SlopeHeuristicSelection< B >& she); + virtual ~SlopeHeuristicSelection(); + + virtual typename B::distribution_type const * get_distribution() const; + + const typename B::distribution_type* get_proposal(const Index& index) const; + + protected: + std::vector< typename B::distribution_type* > proposals; + + void add(const double& penshape, const double& score, typename B::distribution_type* proposal); + }; +} \ No newline at end of file diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp index dd90ca90..fc18d268 100644 --- a/src/cpp/selection.hpp +++ b/src/cpp/selection.hpp @@ -239,3 +239,90 @@ } return score; } + + template + SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const typename E::data_type* data) : SlopeHeuristic() + { + _proposals.clear(); + if(data) + { _data = data->copy().release(); } + else + { _data = nullptr; } + } + + template + SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const SlopeHeuristicSelection< E >& she) : SlopeHeuristic(she) + { + _proposals = std::vector< typename E::estimated_type* >(she._proposals.size(), nullptr); + for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) + { _proposals[index] = static_cast< typename E::estimated_type* >(she._proposals[index]->copy().release()); } + if(she._data) + { _data = static_cast< typename E::data_type* >(she._data->copy().release()); } + else + { _data = nullptr; } + } + + template + SlopeHeuristicSelection< E >::~SlopeHeuristicSelection() + { + for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) + { + delete _proposals[index]; + _proposals[index] = nullptr; + } + _proposals.clear(); + if(_data) + { + delete _data; + _data = nullptr; + } + } + + template + typename E::estimated_type const * SlopeHeuristicSelection< E >::get_estimated() const + { + typename E::estimated_type const * estimated; + if(this->_selected.size() > 0) + { estimated = _proposals[this->_selected[(*this->_selector)(*this)]]; } + return estimated; + } + + template + const typename E::estimated_type* SlopeHeuristicSelection< E >::get_proposal(const Index& index) const + { return _proposals[index]; } + + template + const typename E::data_type* SlopeHeuristicSelection< E >::get_data() const + { return _data; } + + template + void SlopeHeuristicSelection< E >::add(const double& penshape, const double& score, typename E::estimated_type* estimated) + { + if(boost::math::isfinite(penshape) && boost::math::isfinite(score)) + { + std::vector< double >::iterator it = std::lower_bound(this->_penshapes.begin(), this->_penshapes.end(), penshape); + if(it == this->_penshapes.end()) + { + this->_penshapes.push_back(penshape); + this->_scores.push_back(score); + _proposals.push_back(estimated); + } + else if(*it == penshape) + { + Index index = distance(this->_penshapes.begin(), it); + if(this->_scores[index] < score) + { + delete _proposals[index]; + this->_scores[index] = score; + _proposals[index] = estimated; + } + } + else + { + Index index = distance(this->_penshapes.begin(), it); + this->_penshapes.insert(it, penshape); + this->_scores.insert(this->_scores.begin() + index, score); + _proposals.insert(_proposals.begin() + index, estimated); + } + } + } \ No newline at end of file diff --git a/src/cpp/singular.cpp b/src/cpp/singular.cpp index 16582d3e..51091f59 100644 --- a/src/cpp/singular.cpp +++ b/src/cpp/singular.cpp @@ -20,11 +20,11 @@ namespace statiskit { double llh = 0.; std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid() && boost::math::isfinite(llh)) - { + while (generator->is_valid() && boost::math::isfinite(llh)) { double weight = generator->weight(); - if(weight > 0.) - { llh += weight * probability(generator->event(), true); } + if (weight > 0.) { + llh += weight * this->probability(generator->event(), true); + } ++(*generator); } return llh; @@ -32,220 +32,596 @@ namespace statiskit MultinomialSingularDistribution::MultinomialSingularDistribution(const Eigen::VectorXd& pi) { - _pi = Eigen::VectorXd::Zero(pi.size()); - set_pi(pi); + this->pi = Eigen::VectorXd::Zero(pi.size()); + this->set_pi(pi); } MultinomialSingularDistribution::MultinomialSingularDistribution(const MultinomialSingularDistribution& splitting) - { _pi = splitting._pi; } + { + this->pi = splitting.pi; + } MultinomialSingularDistribution::~MultinomialSingularDistribution() {} Index MultinomialSingularDistribution::get_nb_components() const - { return _pi.size(); } + { + return this->pi.size(); + } unsigned int MultinomialSingularDistribution::get_nb_parameters() const - { return _pi.size() - 1; } + { + return this->pi.size() - 1; + } double MultinomialSingularDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { double p; - if(event && event->size() == get_nb_components()) - { - try - { + if (event && event->size() == this->get_nb_components()) { + try { p = 0.; int sum = 0; - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { + for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { const UnivariateEvent* uevent = event->get(component); - if(uevent) - { - if(uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { + if (uevent) { + if (uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) { int value = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); - if(!(_pi[component] <= 0. && value == 0)) - { - p += value * log(_pi[component]) - boost::math::lgamma(value + 1); + if (!(this->pi[component] <= 0. && value == 0)) { + p += value * log(this->pi[component]) - boost::math::lgamma(value + 1); sum += value; } + } else { + throw std::exception(); } - else - { throw std::exception(); } } } p += boost::math::lgamma(sum + 1); + } catch(const std::exception& error) { + p = log(0.); } - catch(const std::exception& error) - { p = log(0.); } + } else { + p = log(0.); + } + if (!logarithm) { + p = exp(p); } - else - { p = log(0.); } - if(!logarithm) - { p = exp(p); } return p; } std::unique_ptr< MultivariateEvent > MultinomialSingularDistribution::simulate(unsigned int sum) const { double pi = 0.; - Index component = 0, max_component = get_nb_components() - 1; + Index component = 0, max_component = this->get_nb_components() - 1; std::unique_ptr< VectorEvent > event = std::make_unique< VectorEvent >(max_component + 1); - while(component < max_component && sum > 0) - { - boost::binomial_distribution<> dist(sum, _pi[component] / (1 - pi)); + while (component < max_component && sum > 0) { + boost::binomial_distribution<> dist(sum, this->pi[component] / (1 - pi)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); int value = simulator(); - pi += _pi[component]; + pi += this->pi[component]; event->set(component, DiscreteElementaryEvent(value)); sum -= value; ++component; } - for(; component < max_component; ++component) - { event->set(component, DiscreteElementaryEvent(0)); } + for (; component < max_component; ++component) { + event->set(component, DiscreteElementaryEvent(0)); + } event->set(max_component, DiscreteElementaryEvent(sum)); return std::move(event); } const Eigen::VectorXd& MultinomialSingularDistribution::get_pi() const - { return _pi; } + { + return this->pi; + } void MultinomialSingularDistribution::set_pi(const Eigen::VectorXd& pi) { - if(pi.rows() == _pi.size() - 1) - { + if (pi.rows() == this->pi.size() - 1) { Index j = 0; - while(j < pi.rows() && pi[j] >= 0.) - { ++j; } - if(j < pi.rows()) - { throw parameter_error("pi", "contains negative values"); } + while (j < pi.rows() && pi[j] >= 0.) { ++j; } + if (j < pi.rows()) { + throw parameter_error("pi", "contains negative values"); + } double sum = pi.sum(); - if(sum < 1) - { - _pi.block(0, 0, _pi.size() - 1, 1) = pi / sum; - _pi[_pi.size()-1] = 1 - sum; - } - else - { throw parameter_error("pi", "last category values"); } - } - else if(pi.rows() == _pi.size()) - { + if (sum < 1) { + this->pi.block(0, 0, this->pi.size() - 1, 1) = pi / sum; + this->pi[this->pi.size()-1] = 1 - sum; + } else { + throw parameter_error("pi", "last category values"); + } + } else if(pi.rows() == this->pi.size()) { Index j = 0; - while(j < pi.rows() && pi[j] >= 0.) - { ++j; } - if(j < pi.rows()) - { throw parameter_error("pi", "contains negative values"); } - _pi = pi / pi.sum(); + while (j < pi.rows() && pi[j] >= 0.) { + ++j; + } + if (j < pi.rows()) { + throw parameter_error("pi", "contains negative values"); + } + this->pi = pi / pi.sum(); + } else { + throw parameter_error("pi", "number of parameters"); } - else - { throw parameter_error("pi", "number of parameters"); } } DirichletMultinomialSingularDistribution::DirichletMultinomialSingularDistribution(const Eigen::VectorXd& alpha) { - _alpha = Eigen::VectorXd::Zero(alpha.size()); - set_alpha(alpha); + this->alpha = Eigen::VectorXd::Zero(alpha.size()); + this->set_alpha(alpha); } DirichletMultinomialSingularDistribution::DirichletMultinomialSingularDistribution(const DirichletMultinomialSingularDistribution& splitting) - { _alpha = splitting._alpha; } + { + this->alpha = splitting.alpha; + } DirichletMultinomialSingularDistribution::~DirichletMultinomialSingularDistribution() {} Index DirichletMultinomialSingularDistribution::get_nb_components() const - { return _alpha.size(); } + { + return this->alpha.size(); + } unsigned int DirichletMultinomialSingularDistribution::get_nb_parameters() const - { return _alpha.size(); } + { + return this->alpha.size(); + } double DirichletMultinomialSingularDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const { double p; - if(event && event->size() == get_nb_components()) - { - try - { + if (event && event->size() == this->get_nb_components()) { + try { p = 0.; int sum = 0; - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { + for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { const UnivariateEvent* uevent = event->get(component); - if(uevent) - { - if(uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { + if (uevent) { + if (uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) { int value = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); - if(!(_alpha[component] <= 0. && value == 0)) - { - p += boost::math::lgamma(_alpha[component] + value); - p -= boost::math::lgamma(_alpha[component]) + boost::math::lgamma(value + 1); + if (!(this->alpha[component] <= 0. && value == 0)) { + p += boost::math::lgamma(this->alpha[component] + value); + p -= boost::math::lgamma(this->alpha[component]) + boost::math::lgamma(value + 1); sum += value; } + } else { + throw std::exception(); } - else - { throw std::exception(); } } } - double alpha = _alpha.sum(); + double alpha = this->alpha.sum(); p += boost::math::lgamma(sum + 1) + boost::math::lgamma(alpha) - boost::math::lgamma(alpha + sum); } - catch(const std::exception& error) - { p = log(0.); } + catch (const std::exception& error) { + p = log(0.); + } + } else { + p = log(0.); + } + if (!logarithm) { + p = exp(p); } - else - { p = log(0.); } - if(!logarithm) - { p = exp(p); } return p; } std::unique_ptr< MultivariateEvent > DirichletMultinomialSingularDistribution::simulate(unsigned int sum) const { - Eigen::VectorXd _pi = Eigen::VectorXd::Zero(get_nb_components()); - for(Index component = 0, max_component = get_nb_components(); component < max_component; ++component) - { - boost::random::gamma_distribution<> dist(_alpha(component), 1.); + Eigen::VectorXd this->pi = Eigen::VectorXd::Zero(this->get_nb_components()); + for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { + boost::random::gamma_distribution<> dist(this->alpha(component), 1.); boost::variate_generator > simulator(__impl::get_random_generator(), dist); - _pi(component) = simulator(); + this->pi(component) = simulator(); } - _pi /= _pi.sum(); + this->pi /= this->pi.sum(); double pi = 0.; - Index component = 0, max_component = get_nb_components() - 1; + Index component = 0, max_component = this->get_nb_components() - 1; std::unique_ptr< VectorEvent > event = std::make_unique< VectorEvent >(max_component + 1); - while(component < max_component && sum > 0) - { - boost::binomial_distribution<> dist(sum, _pi[component] / (1 - pi)); + while (component < max_component && sum > 0) { + boost::binomial_distribution<> dist(sum, this->pi[component] / (1 - pi)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); int value = simulator(); - pi += _pi[component]; + pi += this->pi[component]; event->set(component, DiscreteElementaryEvent(value)); sum -= value; ++component; } - for(; component < max_component; ++component) - { event->set(component, DiscreteElementaryEvent(0)); } + for (; component < max_component; ++component) { + event->set(component, DiscreteElementaryEvent(0)); + } event->set(max_component, DiscreteElementaryEvent(sum)); return std::move(event); } const Eigen::VectorXd& DirichletMultinomialSingularDistribution::get_alpha() const - { return _alpha; } + { + return this->alpha; + } void DirichletMultinomialSingularDistribution::set_alpha(const Eigen::VectorXd& alpha) { - if(alpha.rows() == _alpha.size()) - { + if (alpha.rows() == this->alpha.size()) { Index j = 0; - while(j < alpha.rows() && alpha[j] >= 0.) - { ++j; } - if(j < alpha.rows()) - { throw parameter_error("alpha", "contains negative values"); } - _alpha = alpha; + while (j < alpha.rows() && alpha[j] >= 0.) { + ++j; + } + if (j < alpha.rows()) { + throw parameter_error("alpha", "contains negative values"); + } + this->alpha = alpha; + } else { + throw parameter_error("alpha", "number of parameters"); + } + } + + SingularDistributionEstimation::~SingularDistributionEstimation() + {} + + SingularDistributionEstimation::Estimator::~Estimator() + {} + + MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(MultinomialSingularDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimated, data) + {} + + MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(const MultinomialSingularDistributionEstimation& estimation) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimation) + {} + + MultinomialSingularDistributionEstimation::~MultinomialSingularDistributionEstimation() + {} + + MultinomialSingularDistributionEstimation::Estimator::Estimator() + {} + + MultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) + {} + + MultinomialSingularDistributionEstimation::Estimator::~Estimator() + {} + + std::unique_ptr< SingularDistributionEstimation > MultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data) const + { + std::unique_ptr< SingularDistributionEstimation > estimation; + std::unique_ptr< MultivariateData::Generator > generator = data.generator(); + Eigen::VectorXd pi = Eigen::VectorXd::Zero(generator->event()->size()); + while(generator->is_valid()) + { + const MultivariateEvent* mevent = generator->event(); + for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) + { + const UnivariateEvent* uevent = mevent->get(component); + if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) + { pi[component] += generator->weight() * static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + } + ++(*generator); + } + MultinomialSingularDistribution* estimated = new MultinomialSingularDistribution(pi); + if(lazy) + { estimation = std::make_unique< LazyEstimation< MultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } + else + { estimation = std::make_unique< MultinomialSingularDistributionEstimation >(estimated, &data); } + return estimation; + } + + DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(DirichletMultinomialSingularDistribution const * estimated, MultivariateData const * data) : OptimizationEstimation(estimated, data) + {} + + DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(const DirichletMultinomialSingularDistributionEstimation& estimation) : OptimizationEstimation(estimation) + {} + + DirichletMultinomialSingularDistributionEstimation::~DirichletMultinomialSingularDistributionEstimation() + {} + + DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator() : PolymorphicCopy::Estimator >() + {} + + DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy::Estimator >(estimator) + {} + + DirichletMultinomialSingularDistributionEstimation::Estimator::~Estimator() + {} + + std::unique_ptr< SingularDistributionEstimation > DirichletMultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data) const + { + std::unique_ptr< SingularDistributionEstimation > estimation; + double total = data.compute_total(); + Eigen::VectorXd prev, curr = Eigen::VectorXd::Ones(data.get_sample_space()->size()); + DirichletMultinomialSingularDistribution* estimated = new DirichletMultinomialSingularDistribution(curr); + if(lazy) + { estimation = std::make_unique< LazyEstimation< DirichletMultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } + else + { estimation = std::make_unique< DirichletMultinomialSingularDistributionEstimation >(estimated, &data); } + unsigned int its = 0; + do + { + prev = curr; + Eigen::VectorXd temp = Eigen::VectorXd::Zero(data.get_sample_space()->size()); + for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) + { + std::unique_ptr< MultivariateData::Generator > generator = data.generator(); + while(generator->is_valid()) + { + const MultivariateEvent* mevent = generator->event(); + if(mevent) + { + const UnivariateEvent* uevent = mevent->get(component); + if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) + { temp[component] += generator->weight() * boost::math::digamma(static_cast< const DiscreteElementaryEvent* >(uevent)->get_value() + prev[component]); } + } + ++(*generator); + } + temp[component] -= total * boost::math::digamma(prev[component]); + } + std::pair< double, double > sums = std::make_pair(0., curr.sum()); + std::unique_ptr< MultivariateData::Generator > generator = data.generator(); + while(generator->is_valid()) + { + const MultivariateEvent* event = generator->event(); + if(event) + { + int value = 0; + for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) + { + const UnivariateEvent* uevent = event->get(component); + if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) + { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + } + sums.first += generator->weight() * boost::math::digamma(value + sums.second); + } + ++(*generator); + } + sums.first -= total * boost::math::digamma(sums.second); + temp /= sums.first; + if(temp.minCoeff() >= 0.) + { + curr = prev.cwiseProduct(temp); + if(!lazy) + { static_cast< DirichletMultinomialSingularDistributionEstimation* >(estimation.get())->_iterations.push_back(curr); } + } + ++its; + } while(run(its, __impl::reldiff(prev, curr))); + estimated->set_alpha(curr); + return estimation; + } + + SplittingDistribution::SplittingDistribution() + { + this->sum = nullptr; + this->singular = nullptr; + } + + SplittingDistribution::SplittingDistribution(const DiscreteUnivariateDistribution& sum, const SingularDistribution& singular) + { + this->sum = nullptr; + this->set_sum(sum); + this->singular = nullptr; + this->set_singular(singular); + } + + SplittingDistribution::SplittingDistribution(const SplittingDistribution& splitting) + { + if (splitting.sum) { + this->sum = static_cast< DiscreteUnivariateDistribution* >(splitting.sum->copy().release()); + } else { + this->sum = nullptr; + } + if (splitting.singular) { + this->singular = splitting.singular->copy().release(); + } else { + this->singular = nullptr; + } + } + + SplittingDistribution::~SplittingDistribution() + { + if (this->sum) { + delete this->sum; + this->sum = nullptr; + } + if (this->singular) { + delete this->singular; + this->singular = nullptr; + } + } + + Index SplittingDistribution::get_nb_components() const + { + return this->singular->get_nb_components(); + } + + unsigned int SplittingDistribution::get_nb_parameters() const + { return this->sum->get_nb_parameters() + this->singular->get_nb_parameters(); } + + double SplittingDistribution::probability(const MultivariateEvent* event, const bool& logarithm) const + { + double p; + if (event && event->size() == this->get_nb_components()) { + try { + int sum = 0; + for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { + const UnivariateEvent* uevent = event->get_event(component); + if (uevent) { + if (uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { + sum += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); + } else { + throw std::exception(); + } + } + } + p = this->sum->ldf(sum) + this->singular->probability(event, logarithm); + } catch (const std::exception& error) { + p = log(0.); + } + } else { + p = log(0.); + } + if (!logarithm) { + p = exp(p); + } + return p; + } + + std::unique_ptr< MultivariateEvent > SplittingDistribution::simulate() const + { + int sum = static_cast< DiscreteElementaryEvent* >(this->sum->simulate().get())->get_value(); + return this->singular->simulate(sum); + } + + const DiscreteUnivariateDistribution* SplittingDistribution::get_sum() const + { + return this->sum; + } + + void SplittingDistribution::set_sum(const DiscreteUnivariateDistribution& sum) + { + if (sum.cdf(-1) > 0.) { + throw parameter_error("sum", "must have a natural numbers subset as support"); + } + if (this->sum) { + delete this->sum; + } + this->sum = static_cast< DiscreteUnivariateDistribution* >(sum.copy().release()); + } + + SingularDistribution* SplittingDistribution::get_singular() const + { + return this->singular; + } + + void SplittingDistribution::set_singular(const SingularDistribution& singular) + { + if (this->singular && !singular.get_nb_components() == this->get_nb_components()) { + throw parameter_error("singular", "has not the required number of components"); + } + if (this->singular) { + delete this->singular; } + this->singular = singular.copy().release(); + } + + SplittingDistributionEstimation::SplittingDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimated, data) + { + _sum = nullptr; + _singular = nullptr; + } + + SplittingDistributionEstimation::SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimation) + { + _sum = estimation._sum; + _singular = estimation._singular; + } + + SplittingDistributionEstimation::~SplittingDistributionEstimation() + { + if(_sum) + { delete _sum; } + if(_singular) + { delete _singular; } + } + + const DiscreteUnivariateDistributionEstimation* SplittingDistributionEstimation::get_sum() const + { return _sum; } + + const SingularDistributionEstimation* SplittingDistributionEstimation::get_singular() const + { return _singular; } + + SplittingDistributionEstimation::Estimator::Estimator() + { + _sum = nullptr; + _singular = nullptr; + } + + SplittingDistributionEstimation::Estimator::Estimator(const Estimator& estimator) + { + if(estimator._sum) + { _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >((estimator._sum->copy()).release()); } + else + { _sum = nullptr; } + if(estimator._singular) + { _singular = estimator._singular->copy().release(); } else - { throw parameter_error("alpha", "number of parameters"); } + { _singular = nullptr; } + } + + SplittingDistributionEstimation::Estimator::~Estimator() + { + if(_sum) + { + delete _sum; + _sum = nullptr; + } + if(_singular) + { + delete _singular; + _singular = nullptr; + } + } + + std::unique_ptr< MultivariateDistributionEstimation > SplittingDistributionEstimation::Estimator::operator() (const MultivariateData& data) const + { + UnivariateDataFrame* sum_data = new UnivariateDataFrame(get_NN()); + std::unique_ptr< MultivariateData::Generator > generator = data.generator(); + while(generator->is_valid()) + { + int value = 0; + const MultivariateEvent* mevent = generator->event(); + for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) + { + const UnivariateEvent* uevent = mevent->get(component); + if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) + { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + } + DiscreteElementaryEvent* sum_event = new DiscreteElementaryEvent(value); + sum_data->add_event(sum_event); + ++(*generator); + } + WeightedUnivariateData weighted_sum_data = WeightedUnivariateData(sum_data); + Index index = 0; + generator = data.generator(); + while(generator->is_valid()) + { + weighted_sum_data.set_weight(index, generator->weight()); + ++index; + ++(*generator); + } + DiscreteUnivariateDistributionEstimation* sum = static_cast< DiscreteUnivariateDistributionEstimation* >(((*_sum)(weighted_sum_data, lazy)).release()); + delete sum_data; + SingularDistributionEstimation* singular = (*_singular)(data, lazy).release(); + SplittingDistribution* estimated = new SplittingDistribution(*(static_cast< const DiscreteUnivariateDistribution* >(sum->get_estimated())), *(singular->get_estimated())); + std::unique_ptr< MultivariateDistributionEstimation > estimation; + if(lazy) + { + estimation = std::make_unique< LazyEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation > >(estimated); + if(sum) + { delete sum; } + if(singular) + { delete singular; } + } + else + { + estimation = std::make_unique< SplittingDistributionEstimation >(estimated, &data); + static_cast< SplittingDistributionEstimation* >(estimation.get())->_sum = sum; + static_cast< SplittingDistributionEstimation* >(estimation.get())->_singular = singular; + } + return estimation; + } + + const DiscreteUnivariateDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_sum() const + { return _sum; } + + void SplittingDistributionEstimation::Estimator::set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum) + { + if(_sum) + { delete _sum; } + _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >(sum.copy().release()); + } + + const SingularDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_singular() const + { return _singular; } + + void SplittingDistributionEstimation::Estimator::set_singular(const SingularDistributionEstimation::Estimator& singular) + { + if(_singular) + { delete _singular; } + _singular = static_cast< SingularDistributionEstimation::Estimator* >(singular.copy().release()); } } \ No newline at end of file diff --git a/src/cpp/singular.h b/src/cpp/singular.h index 6879a712..f12d5d81 100644 --- a/src/cpp/singular.h +++ b/src/cpp/singular.h @@ -9,7 +9,8 @@ namespace statiskit { struct STATISKIT_CORE_API SingularDistribution { - typedef MultivariateData data_type; + using copy_type = SingularDistribution; + using data_type = MultivariateData; virtual ~SingularDistribution() = 0; @@ -26,7 +27,7 @@ namespace statiskit virtual std::unique_ptr< SingularDistribution > copy() const = 0; }; - class STATISKIT_CORE_API MultinomialSingularDistribution : public PolymorphicCopy< SingularDistribution, MultinomialSingularDistribution > + class STATISKIT_CORE_API MultinomialSingularDistribution : public PolymorphicCopy< MultinomialSingularDistribution, SingularDistribution > { public: MultinomialSingularDistribution(const Eigen::VectorXd& pi); @@ -45,10 +46,10 @@ namespace statiskit void set_pi(const Eigen::VectorXd& pi); protected: - Eigen::VectorXd _pi; + Eigen::VectorXd pi; }; - class STATISKIT_CORE_API DirichletMultinomialSingularDistribution : public PolymorphicCopy< SingularDistribution, DirichletMultinomialSingularDistribution > + class STATISKIT_CORE_API DirichletMultinomialSingularDistribution : public PolymorphicCopy< DirichletMultinomialSingularDistribution, SingularDistribution > { public: DirichletMultinomialSingularDistribution(const Eigen::VectorXd& alpha); @@ -67,6 +68,102 @@ namespace statiskit void set_alpha(const Eigen::VectorXd& alpha); protected: - Eigen::VectorXd _alpha; + Eigen::VectorXd alpha; + }; + + using SingularDistributionEstimation = DistributionEstimation< SingularDistribution >; + using SingularDistributionSelection = Selection< SingularDistributionEstimation >; + using SingularDistributionCriterionEstimator = SingularDistributionSelection::CriterionEstimator; + + struct STATISKIT_CORE_API MultinomialSingularDistributionEstimation : PolymorphicCopy + { + using PolymorphicCopy::PolymorphicCopy; + + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, SingularDistributionEstimation::Estimator > + { + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + }; + }; + + struct STATISKIT_CORE_API DirichletMultinomialSingularDistributionEstimation : PolymorphicCopy > + { + using PolymorphicCopy >::PolymorphicCopy; + + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, SingularDistributionEstimation::Estimator > + { + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + }; + }; + + class STATISKIT_CORE_API SplittingDistribution : public PolymorphicCopy< SplittingDistribution, DiscreteMultivariateDistribution > + { + public: + SplittingDistribution(const DiscreteUnivariateDistribution& sum, const SingularDistribution& singular); + SplittingDistribution(const SplittingDistribution& splitting); + virtual ~SplittingDistribution(); + + virtual Index get_nb_components() const; + + virtual unsigned int get_nb_parameters() const; + + virtual double probability(const MultivariateEvent* event, const bool& logarithm) const; + + std::unique_ptr< MultivariateEvent > simulate() const; + + const DiscreteUnivariateDistribution* get_sum() const; + void set_sum(const DiscreteUnivariateDistribution& sum); + + SingularDistribution* get_singular() const; + void set_singular(const SingularDistribution& singular); + + protected: + DiscreteUnivariateDistribution* sum; + SingularDistribution* singular; + + SplittingDistribution(); + }; + + class STATISKIT_CORE_API SplittingDistributionEstimation : public PolymorphicCopy< SplittingDistributionEstimation, DiscreteMultivariateDistributionEstimation > + { + public: + using PolymorphicCopy< SplittingDistributionEstimation, DiscreteMultivariateDistributionEstimation >::PolymorphicCopy; + + const DiscreteUnivariateDistributionEstimation* get_sum() const; + + const SingularDistributionEstimation* get_singular() const; + + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, DiscreteMultivariateDistributionEstimation::Estimator > + { + public: + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); + + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + + const DiscreteUnivariateDistributionEstimation::Estimator* get_sum() const; + void set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum); + + const SingularDistributionEstimation::Estimator* get_singular() const; + void set_singular(const SingularDistributionEstimation::Estimator& singular); + + protected: + DiscreteUnivariateDistributionEstimation::Estimator* sum; + SingularDistributionEstimation::Estimator* singular; + + virtual std::unordered_set< uintptr_t > children() const; + }; + + protected: + DiscreteUnivariateDistributionEstimation* sum; + SingularDistributionEstimation* singular; }; } \ No newline at end of file diff --git a/src/cpp/slope_heuristic.h b/src/cpp/slope_heuristic.h index 80b733c6..75a400ec 100644 --- a/src/cpp/slope_heuristic.h +++ b/src/cpp/slope_heuristic.h @@ -25,7 +25,7 @@ namespace statiskit virtual std::unique_ptr< SlopeHeuristicSolver > copy() const = 0; protected: - linalg::solver_type _solver; + linalg::solver_type solver; }; struct STATISKIT_CORE_API SlopeHeuristicOLSSolver : SlopeHeuristicSolver @@ -53,8 +53,8 @@ namespace statiskit void set_maxits(const unsigned int& maxits); protected: - double _epsilon; - unsigned int _maxits; + double epsilon; + unsigned int maxits; virtual void update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const = 0; }; @@ -71,7 +71,7 @@ namespace statiskit void set_k(const double& k); protected: - double _k; + double k; virtual void update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const; }; @@ -88,7 +88,7 @@ namespace statiskit void set_k(const double& k); protected: - double _k; + double k; virtual void update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const; }; @@ -97,38 +97,34 @@ namespace statiskit struct STATISKIT_CORE_API SlopeHeuristicSelector { + using copy_type = SlopeHeuristicSelector; + virtual ~SlopeHeuristicSelector(); virtual Index operator() (const SlopeHeuristic& sh) const = 0; - virtual std::unique_ptr< SlopeHeuristicSelector > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; - struct STATISKIT_CORE_API SlopeHeuristicMaximalSelector : SlopeHeuristicSelector + struct STATISKIT_CORE_API SlopeHeuristicMaximalSelector : PolymorphicCopy { - SlopeHeuristicMaximalSelector(); - SlopeHeuristicMaximalSelector(const SlopeHeuristicMaximalSelector& selector); + using PolymorphicCopy::PolymorphicCopy; virtual Index operator() (const SlopeHeuristic& sh) const; - - virtual std::unique_ptr< SlopeHeuristicSelector > copy() const; }; - class STATISKIT_CORE_API SlopeHeuristicSuperiorSelector : public SlopeHeuristicSelector + class STATISKIT_CORE_API SlopeHeuristicSuperiorSelector : public PolymorphicCopy { public: - SlopeHeuristicSuperiorSelector(); - SlopeHeuristicSuperiorSelector(const SlopeHeuristicSuperiorSelector& selector); + using PolymorphicCopy::PolymorphicCopy; virtual Index operator() (const SlopeHeuristic& sh) const; - virtual std::unique_ptr< SlopeHeuristicSelector > copy() const; - const double& get_threshold() const; void set_threshold(const double& threshold); protected: - double _threshold; + double threshold; }; class STATISKIT_CORE_API SlopeHeuristic @@ -161,37 +157,14 @@ namespace statiskit void set_selector(const SlopeHeuristicSelector& _selector); protected: - std::vector< double > _penshapes; - std::vector< double > _scores; - std::vector< double > _intercepts; - std::vector< double > _slopes; - std::vector< Index > _selected; - SlopeHeuristicSolver* _solver; - SlopeHeuristicSelector* _selector; + std::vector< double > penshapes; + std::vector< double > scores; + std::vector< double > intercepts; + std::vector< double > slopes; + std::vector< Index > selected; + SlopeHeuristicSolver* solver; + SlopeHeuristicSelector* selector; void finalize(); }; - - template class SlopeHeuristicSelection : public SlopeHeuristic, public E - { - public: - SlopeHeuristicSelection(const typename E::data_type* data); - SlopeHeuristicSelection(const SlopeHeuristicSelection< E >& she); - virtual ~SlopeHeuristicSelection(); - - virtual typename E::estimated_type const * get_estimated() const; - - const typename E::estimated_type* get_proposal(const Index& index) const; - - const typename E::data_type* get_data() const; - - - protected: - typename E::data_type* _data; - std::vector< typename E::estimated_type* > _proposals; - - void add(const double& penshape, const double& score, typename E::estimated_type* model); - }; -} - -#include "slope_heuristic.hpp" \ No newline at end of file +} \ No newline at end of file diff --git a/src/cpp/slope_heuristic.hpp b/src/cpp/slope_heuristic.hpp deleted file mode 100644 index 6987dd34..00000000 --- a/src/cpp/slope_heuristic.hpp +++ /dev/null @@ -1,94 +0,0 @@ -#ifndef AUTOWIG -#pragma once - -namespace statiskit -{ - template - SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const typename E::data_type* data) : SlopeHeuristic() - { - _proposals.clear(); - if(data) - { _data = data->copy().release(); } - else - { _data = nullptr; } - } - - template - SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const SlopeHeuristicSelection< E >& she) : SlopeHeuristic(she) - { - _proposals = std::vector< typename E::estimated_type* >(she._proposals.size(), nullptr); - for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) - { _proposals[index] = static_cast< typename E::estimated_type* >(she._proposals[index]->copy().release()); } - if(she._data) - { _data = static_cast< typename E::data_type* >(she._data->copy().release()); } - else - { _data = nullptr; } - } - - template - SlopeHeuristicSelection< E >::~SlopeHeuristicSelection() - { - for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) - { - delete _proposals[index]; - _proposals[index] = nullptr; - } - _proposals.clear(); - if(_data) - { - delete _data; - _data = nullptr; - } - } - - template - typename E::estimated_type const * SlopeHeuristicSelection< E >::get_estimated() const - { - typename E::estimated_type const * estimated; - if(this->_selected.size() > 0) - { estimated = _proposals[this->_selected[(*this->_selector)(*this)]]; } - return estimated; - } - - template - const typename E::estimated_type* SlopeHeuristicSelection< E >::get_proposal(const Index& index) const - { return _proposals[index]; } - - template - const typename E::data_type* SlopeHeuristicSelection< E >::get_data() const - { return _data; } - - template - void SlopeHeuristicSelection< E >::add(const double& penshape, const double& score, typename E::estimated_type* estimated) - { - if(boost::math::isfinite(penshape) && boost::math::isfinite(score)) - { - std::vector< double >::iterator it = std::lower_bound(this->_penshapes.begin(), this->_penshapes.end(), penshape); - if(it == this->_penshapes.end()) - { - this->_penshapes.push_back(penshape); - this->_scores.push_back(score); - _proposals.push_back(estimated); - } - else if(*it == penshape) - { - Index index = distance(this->_penshapes.begin(), it); - if(this->_scores[index] < score) - { - delete _proposals[index]; - this->_scores[index] = score; - _proposals[index] = estimated; - } - } - else - { - Index index = distance(this->_penshapes.begin(), it); - this->_penshapes.insert(it, penshape); - this->_scores.insert(this->_scores.begin() + index, score); - _proposals.insert(_proposals.begin() + index, estimated); - } - } - } -} - -#endif \ No newline at end of file From 83728b3f1e2fd6d262924582f59b086401eba3a2 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Wed, 17 Jul 2019 17:03:21 +0200 Subject: [PATCH 13/16] Update --- src/cpp/base.h | 6 + src/cpp/base.hpp | 31 + src/cpp/data.cpp | 50 +- src/cpp/data.h | 82 +- src/cpp/data.hpp | 108 +- src/cpp/distribution.cpp | 16 + src/cpp/distribution.h | 16 - src/cpp/distribution.hpp | 16 + src/cpp/estimation.hpp | 15 +- src/cpp/estimator.cpp | 16 +- src/cpp/estimator.h | 11 +- src/cpp/estimator.hpp | 10 +- src/cpp/event.cpp | 91 +- src/cpp/event.h | 28 +- src/cpp/event.hpp | 117 +- src/cpp/indicator.cpp | 1168 +++----------- src/cpp/indicator.h | 180 +-- src/cpp/optimization.h | 1 + src/cpp/sample_space.cpp | 344 ++-- src/cpp/sample_space.h | 12 +- src/cpp/selection.h | 25 +- src/cpp/selection.hpp | 426 +++-- src/cpp/singular.cpp | 325 ++-- src/cpp/singular.h | 15 +- src/cpp/slope_heuristic.cpp | 377 ++--- src/cpp/slope_heuristic.h | 23 +- src/py/statiskit/core/_core.py | 398 ++--- src/py/wrapper/_core.cpp | 1388 ++++++----------- src/py/wrapper/_core.h | 2 + ...apper_010dca8ca2e458db8505774b1f36db9a.cpp | 2 +- ...apper_0159796d2beb51da9446e83d609342aa.cpp | 3 +- ...apper_0175e6a3766750de8ea59e8c340325ef.cpp | 44 + ...apper_01ddd51bfe2a5d97b4620b9e2d14360e.cpp | 2 +- ...apper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp | 23 +- ...apper_033df89396b35855a50192cdc7f16be3.cpp | 2 +- ...apper_041a0df7795f54fdae26c57528a75193.cpp | 2 +- ...apper_051fc1b76bd35424959669918dd74f6a.cpp | 36 + ...apper_057cf4037321591b98a5dc5f85faf504.cpp | 38 + ...apper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp | 3 +- ...apper_0711065322d6598096f4d4546ef589f7.cpp | 5 +- ...apper_0786eb9689055ad4be86080202077ec7.cpp | 30 + ...apper_08d6e46838b65ffebc188c31dc3d252f.cpp | 65 + ...apper_097d071b39dc5df98bf53b8b2cb22c3d.cpp | 37 + ...apper_098b1688f9d6517bac4fe76bfdbe24bd.cpp | 10 + ...apper_0b663e6159f1527ca997ac0244c65093.cpp | 2 +- ...apper_0c5fdb90743c59dda2a63d2ea31919c2.cpp | 38 + ...apper_0cf8ab1b80485228a6333e32fd937f72.cpp | 36 + ...apper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp | 24 +- ...apper_0e85222f05205b5983c73610343623c8.cpp | 61 + ...apper_0f491a898d6251e1851339f286f0358c.cpp | 43 + ...apper_0f631b8bbb065d39a1378915b306a904.cpp | 8 + ...apper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp | 14 + ...apper_104495a9f44f508fb8c76ab6d2269ec3.cpp | 3 +- ...apper_112dc12b863f53fea4df7b3ba388fd84.cpp | 38 + ...apper_119aa039675055618c8a856f637be1e0.cpp | 36 + ...apper_11b76bdf145b514f8ed8993245b9864c.cpp | 61 + ...apper_13ec603d05f1534bbe1491c0634dca90.cpp | 8 + ...apper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp | 15 +- ...apper_14b77d76dd2d51e1acac41ef7ea4a4ca.cpp | 2 +- ...apper_1581bb259a1355888c0e234a7f9960d9.cpp | 2 +- ...apper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp | 10 + ...apper_16e0ec24327b5201927673f1e4c6eeca.cpp | 38 + ...apper_172696efc2ee5189bf7047d20bc97387.cpp | 37 + ...apper_176ad7b821255b478820451a70624393.cpp | 6 + ...apper_1ca74b2dc66a5ee79310589958dcce9f.cpp | 44 + ...apper_1cfac4e761e4558085f0b7c2a58070f2.cpp | 40 + ...apper_1cfe57e82ce352e4b80ae7c44a661b01.cpp | 2 +- ...apper_1dee5220708e5da08c33a1d4fa45151b.cpp | 12 +- ...apper_1dfb91cd35315554957dc314e2ba48a2.cpp | 14 + ...apper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp | 2 +- ...apper_1ec5dee4e7cb5437b83047021c0ca63f.cpp | 2 +- ...apper_1f896af016d3557fa2b823b2110a3f82.cpp | 61 + ...apper_1f9e3c91d1bd51a89c7b1370bf7475f1.cpp | 2 +- ...apper_206185953d7651e78a6714d1fe602758.cpp | 8 + ...apper_20a3935ea3995924abfb200f08b075ee.cpp | 43 + ...apper_22316f691c3051a4b467ae58506ba1df.cpp | 40 + ...apper_22af95e725215bc9b21db076f5deefd7.cpp | 23 + ...apper_23541363c56f58418e709d76f3ae28bc.cpp | 53 + ...apper_246619e611bb5657b2e56a30794d1385.cpp | 52 + ...apper_2513f8d88792503e97d2b3f6b8c31e6f.cpp | 26 +- ...apper_25265f42150552ea9c7e3f59af135f87.cpp | 40 + ...apper_254705bef21f59ca807412aa011917c0.cpp | 31 + ...apper_259bbb897cee510787d813a9c7525d6f.cpp | 30 + ...apper_2644b3904d665c118ab54533b295d7e3.cpp | 43 + ...apper_2934c614112358768beae325b0d33ea2.cpp | 2 +- ...apper_294225563b8d53458805fdd4cfd054de.cpp | 16 + ...apper_295ece6953a856c8b865758b0a34795c.cpp | 8 + ...apper_2a0dd80c75b958a198cbb602212dea2d.cpp | 28 + ...apper_2b57b3b9280e5071b728b923da9d2c0a.cpp | 2 +- ...apper_2cfec7576f805b8d8fb103d1f86f786e.cpp | 2 +- ...apper_2d284769c93a57cba44be5c34bcfafd7.cpp | 14 + ...apper_2da6d48bdb575a46ad7d2e948eb7ee83.cpp | 2 +- ...apper_2da8a9223cae5918afa89d5266f7f7e7.cpp | 52 + ...apper_2eae4ac2dbf259029ee0e81da54c2c15.cpp | 2 +- ...apper_2f3439617e035c41b1282a03e900ef19.cpp | 35 + ...apper_2f72e6e6db9a5498beee75dbafdc6393.cpp | 2 +- ...apper_3170a5376b065cea9f39ca7a6ad5332f.cpp | 46 + ...apper_31aa0a631312549a9cf4cb8740b55a7f.cpp | 11 + ...apper_31af2f3c7b5c54f5a56e10ac7064289b.cpp | 3 +- ...apper_3220f60173275579a5722fe8dba23dfa.cpp | 2 +- ...apper_32c776be879e5a4f8e5388d5cb33ecc4.cpp | 10 + ...apper_334941caf3de5e3ab25e41d07fa1d9ca.cpp | 6 +- ...apper_337b3fb852125acd94dcdd79f0bbc00a.cpp | 40 + ...apper_340c5465095052af9d63bdb8d9799d79.cpp | 20 +- ...apper_34c2a8dbedd15f6e89c09855550f107b.cpp | 16 + ...apper_34d64090a84e51db9616a4cc540e43b8.cpp | 4 +- ...apper_354f862e227e590491c20a9acad58d0b.cpp | 8 + ...apper_3557273679395cf2a3e4b3d3f227accd.cpp | 2 +- ...apper_36823ab42b0c57b48d903606aa743329.cpp | 3 +- ...apper_36adf88112dd5312b6c5fe75ebbc5559.cpp | 2 +- ...apper_37b7e83ad4685de7971d757784ece860.cpp | 61 + ...apper_37cab44615185125b12b8246ddcfeae0.cpp | 13 + ...apper_37d2da7ae2985fcc8caca8de36d30ce7.cpp | 2 +- ...apper_3878f151eb4759f89a07796ff631bdf9.cpp | 4 +- ...apper_39737fb8eb785c29bb3a9eca8ab9e325.cpp | 26 +- ...apper_39eaaa358ce655d08615c947c949eb83.cpp | 2 +- ...apper_3a6a49079d1b5e9bb815105374e2fc93.cpp | 2 +- ...apper_3a72e173884155f78c8bc127cca80d9c.cpp | 13 + ...apper_3ae69567ec205969a9f2da364450fd2e.cpp | 10 +- ...apper_3aedd3fce1c956baaeb85f4606914109.cpp | 14 + ...apper_3c3eb4c91b905a988bd9546e804a0d95.cpp | 2 +- ...apper_3ca8ff4e14d1580fa17364607bc956c4.cpp | 6 + ...apper_3e3d38965c5e5a02ae621877dba470cf.cpp | 6 + ...apper_3e9d65e7582c5349812d357cd482c2ca.cpp | 2 - ...apper_3ea06f62f79c50b5856e5712f2ec8e84.cpp | 17 + ...apper_3f4e466ff3215f84837970a75685a8b5.cpp | 17 + ...apper_3ff582522b0d5915b638d6939794ff66.cpp | 57 + ...apper_4091fe7ebaea5a58bb732192d7661dce.cpp | 11 +- ...apper_4143f1db036e5bbdbba0a64045946862.cpp | 2 +- ...apper_41e812da3d3654cd9fb33041c3acf25f.cpp | 37 +- ...apper_41ea68bb4a9850aa9861003b9fcab334.cpp | 2 +- ...apper_420aec1990555632bd8e6235f3099ec2.cpp | 14 + ...apper_42c73f7b760d584f96ee42693c708651.cpp | 2 +- ...apper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp | 24 +- ...apper_4420321c5ba25609a5915044efb89bc8.cpp | 57 + ...apper_4540538b16205d90be33cf08feed0673.cpp | 11 + ...apper_45da991e033e578d8aa55b46b232ec21.cpp | 12 + ...apper_4637f9b5c7175ff0880fd325a6eca119.cpp | 53 + ...apper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp | 14 + ...apper_47e877e586e1567691c16ec40ec1eb13.cpp | 16 + ...apper_484cc9c9d3f856c7aa18f642966f14a9.cpp | 6 + ...apper_488de6b23c2d582c8382ac19e518b6a8.cpp | 23 + ...apper_48d411e601675e49961eaa93daeb1835.cpp | 2 +- ...apper_49bd08872be751c291082c55ce0677e3.cpp | 2 +- ...apper_4b5bca62b7795925980272db0dce9ae7.cpp | 29 + ...apper_4e2cec23d01552a2b35a809a21ed47b7.cpp | 36 + ...apper_4f02856d2af15e4ba0bc8f413558566d.cpp | 14 + ...apper_4f08e906137d58128853d1fc5d729fae.cpp | 2 +- ...apper_4f25ed2b505752de8ee46e2e6aa83af6.cpp | 2 +- ...apper_505be4c829e95c51829a196fdbf7392f.cpp | 2 +- ...apper_50d5d8b88c0d5eeea2e382dc4626754a.cpp | 28 + ...apper_513f1e95007657ac9d8f70c0a2356aac.cpp | 29 + ...apper_5180cb0278d15668832646c0905783b8.cpp | 16 + ...apper_5186497276525dcc88f6e6e8b313d2af.cpp | 4 + ...apper_5266ea37de9b57c680d01c7fb2421e89.cpp | 57 + ...apper_53a566eea7215e8b945cbdedf3acf7bc.cpp | 23 + ...apper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp | 23 +- ...apper_5517439c40d6505682aa2e58ed6cea33.cpp | 10 + ...apper_551c927628b651a19489817a39ededb8.cpp | 57 + ...apper_5562b8b01aa050b886b919c9b81686f5.cpp | 4 +- ...apper_55903cb2e67650868a4cd698632375c1.cpp | 36 + ...apper_55c811c1cb0f58cf8dbf62aa61f8d814.cpp | 2 +- ...apper_5647113ef4105dfab0588ffcaf6c479b.cpp | 34 + ...apper_5678c4d7ca565a7d9dbc239c27111073.cpp | 4 +- ...apper_5881d40c671d5a6eaeba5e461dc55622.cpp | 13 + ...apper_5b5f1c1f4aa852eab398cea6df20fee2.cpp | 51 +- ...apper_5cf53138947354ddb9f4e01b4b221762.cpp | 44 + ...apper_5ed6f55d014d5a74a1d1acafef440cde.cpp | 17 + ...apper_5fefecf0971c53a682b5075141e39dc0.cpp | 2 +- ...apper_6100283fa34c5dc5af23228c1af7758a.cpp | 2 +- ...apper_621822ae142e56979bee170334c7a63a.cpp | 16 + ...apper_622b4b6c4fef5b119cba23181cff6cf6.cpp | 11 + ...apper_62bb4890a4005e5aabb044b5bfeb72ea.cpp | 2 +- ...apper_63f5048eedae564391cd268a0107428f.cpp | 30 + ...apper_643847dccc2b560082343f2bbda15cba.cpp | 8 +- ...apper_64ae6eddce405116ba534ed722881799.cpp | 24 +- ...apper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp | 8 +- ...apper_65947043f3a35049b50e8d74f93075cf.cpp | 2 +- ...apper_663730845d925082a43337bf446ebf00.cpp | 44 + ...apper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp | 36 + ...apper_66f947be876e54a4901f1a9633fffbaf.cpp | 36 + ...apper_68d58bb20b4e507ea69ba2065530644b.cpp | 61 + ...apper_69913377d1325b99bc7469de4f5cf375.cpp | 53 + ...apper_69ca358c24cd5cabb1a6b9e1358519e4.cpp | 10 +- ...apper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp | 36 + ...apper_6d1d52249a4c562691e57f68df4bcc06.cpp | 12 +- ...apper_6d256cdc2e1253b8823893d5d72bc031.cpp | 29 + ...apper_6d51d5c1ef2d5f1bb98935798af976e0.cpp | 22 + ...apper_6eb1ba92b1d158b09999c16267a2ec28.cpp | 37 +- ...apper_6f54a1805d7d5e6b9796d225ad86ca34.cpp | 21 + ...apper_6fac6a71bec1544eaecb1b57399ee5ec.cpp | 30 + ...apper_6fd71629a95855bbad845fa81b27f4d5.cpp | 61 + ...apper_700bbebe1a2a5b0699f46ca77b7ea310.cpp | 36 + ...apper_73e107092bdb5be2a9ec6e31772ffd09.cpp | 30 + ...apper_7466a1a79edf5312955ff663594f561b.cpp | 34 + ...apper_76d258d0b30f5e3a94d02ba97954104b.cpp | 12 + ...apper_779c0e94601b5238932a999e37acfdea.cpp | 12 + ...apper_78fa594811935c2ea4b4905d733f141f.cpp | 2 +- ...apper_79c03425b8505668b16ffdd958127107.cpp | 13 + ...apper_79e2f422f64050e2896852975f3b368d.cpp | 14 + ...apper_7d52c5fa83fa5b7abbc12831a19a2931.cpp | 29 + ...apper_7e4c2f85b93b5cc399280098492de425.cpp | 14 + ...apper_7ed55bcdec33582fb2767f7d96937c85.cpp | 10 +- ...apper_7f05968a172a528da4c7ae7e40d9faa7.cpp | 44 + ...apper_81e358ca53ad5cb480953fedfe8cee0b.cpp | 14 + ...apper_8273d59d3b9f581fa07283ea1cce6a0f.cpp | 14 + ...apper_830457bcfd9a53298ff673c9b6d66714.cpp | 14 + ...apper_839b61ecb09d54819eb38cf69dde50bb.cpp | 2 +- ...apper_8408f59ac7205444bbaf4ef2fb92867d.cpp | 52 + ...apper_85102754beff532db66ca292ea3a6486.cpp | 2 +- ...apper_851931d00bce5cabad06313cbacce91b.cpp | 2 +- ...apper_85e5d9c1d86a574d8623fe4bb0164527.cpp | 2 +- ...apper_8637850c39dc51d3a7ea186462c65e2a.cpp | 36 + ...apper_864140a02b1554ffbf15f5c312a38d8c.cpp | 29 + ...apper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp | 3 +- ...apper_87b566a692cb54b18914b54eb295ef9a.cpp | 8 + ...apper_88cb53c05b215504b1f0ee0564765af0.cpp | 61 +- ...apper_8d9f50f674e25529b3d059a5a5380bcb.cpp | 21 + ...apper_8dc14cd974045db7ab63d2d8c0c5c496.cpp | 36 + ...apper_8dcb38f525415f5eb16b5b180a314eab.cpp | 53 + ...apper_8efea02ccdc156c4aa5aae37b04b810a.cpp | 2 +- ...apper_8f6b8d601b265537abfca5a924ae495d.cpp | 2 +- ...apper_91c5962ae4f35199bc2e90b5edad8412.cpp | 21 + ...apper_9662a6a016085675978d04e2bc87a7f3.cpp | 44 + ...apper_966a285304c1551a9a283e9a8bd4917e.cpp | 22 + ...apper_96902179d8e1527ab8396789f078e437.cpp | 24 + ...apper_96a5a23f253351d38c0689328d0d8eb2.cpp | 18 + ...apper_9819c01af16354f5af1bd00fe32e33a5.cpp | 61 + ...apper_985dfffef8265a319e222a08d8f11f05.cpp | 2 +- ...apper_98dec83d5b055bb7bd34151081ce3693.cpp | 4 +- ...apper_98e0aa1c483d522aa3e3427e0c99ee6f.cpp | 14 + ...apper_98e77d2afcc252cba528077bc2cc3103.cpp | 35 +- ...apper_9962e820b2a75e44aeb478a7fa3f1b63.cpp | 30 + ...apper_9981958281625422b3b46cea8ec85a6d.cpp | 2 +- ...apper_99fc77e1853459ba9270c901d62d010f.cpp | 40 + ...apper_9a33479821955c81b01e8f3c319e5180.cpp | 38 + ...apper_9b1c85d3df8e5cba922fb88752a0d746.cpp | 6 + ...apper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp | 4 +- ...apper_9c2fa9a7a902547eab99ffb00609ac86.cpp | 29 + ...apper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp | 38 + ...apper_9ca9917e667b52ea9eb2ec4f17e230b5.cpp | 2 +- ...apper_9ce76073f232512da483f80a23807ddc.cpp | 57 + ...apper_9e028a1ab0715490be328e777d68493e.cpp | 14 + ...apper_9f08dae44aa3561686bc0ef53e82d042.cpp | 2 +- ...apper_a0117c6545ed509a9f9743da0a6360b7.cpp | 30 + ...apper_a07113fabe3b5ca2bb7456220de98547.cpp | 16 + ...apper_a079c62242f25fd5aefc1ac40095a061.cpp | 61 + ...apper_a0e97d92179d57c6b360e221cdb4303b.cpp | 16 + ...apper_a14f45085a74550c89aab30952f6725b.cpp | 2 +- ...apper_a32936912db85574b408168f51749429.cpp | 29 + ...apper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp | 18 +- ...apper_a42d846927fa55029bf78190c71fb4a4.cpp | 31 + ...apper_a4463e49d7865a6497ec20612e342cbe.cpp | 20 +- ...apper_a4d6cfc5f43a5e10a524a2cea681460d.cpp | 10 + ...apper_a5cf9061d7bb5791ad10bf28e28951fd.cpp | 61 + ...apper_a640206684935d01aa5be922b3bbdf00.cpp | 3 +- ...apper_a700d305386f53d0ae8398580f9913c3.cpp | 16 + ...apper_a766c9930af25f8f90f6e118f2ca75d5.cpp | 2 +- ...apper_a87f64a7a0c553e2b79ea554696bd78b.cpp | 40 + ...apper_a8fb4974396a5f4ca5779c02d0f58b37.cpp | 2 +- ...apper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp | 14 + ...apper_aa4348c3ceb5595a843d8fc5a6c54231.cpp | 2 +- ...apper_aa6b2bab0be654649ef497aa71dff2e3.cpp | 8 +- ...apper_aa6e0b250759574eb903a6b783b18053.cpp | 2 +- ...apper_aabf684ce17950b49b6345c1ab565540.cpp | 3 +- ...apper_abaaf08e32235f2ca7bacb4418592155.cpp | 2 +- ...apper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp | 29 + ...apper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp | 18 +- ...apper_b0122226f9b45c7885b797dfe5216cc3.cpp | 16 + ...apper_b0fdc82131d6539ab2e2a6b14e8038cf.cpp | 14 + ...apper_b14b3594a74c5ccc968141047b5145f4.cpp | 20 +- ...apper_b2b598c024f65acba246d207ae371e07.cpp | 15 + ...apper_b2c44a0108fd54c6a0ec396f27bccd10.cpp | 13 + ...apper_b3aefb8f8c96565c95d583848719e5b2.cpp | 2 +- ...apper_b43d5bcd7fb95832845cba669051438f.cpp | 14 + ...apper_b4644d28cde95fdb8e27360bc00fee72.cpp | 31 + ...apper_b487f4fc27725338b969ff43c4c8f4e4.cpp | 4 +- ...apper_b544b96a33fd5924804b28cfb48e8df8.cpp | 61 + ...apper_b5bed4faf978515387938b2b850d0fdf.cpp | 36 + ...apper_b6605ca6549d54eba3c614d5b6a29235.cpp | 12 + ...apper_b6a067f70ca259909a6411bfb14cfdca.cpp | 10 + ...apper_b730e37e69f05687be99d670316afe25.cpp | 52 + ...apper_b87395375e4e53959abf2c6e5205259d.cpp | 40 + ...apper_b96c209ac3dd5f7fbfe78eac3417193e.cpp | 24 + ...apper_b9daedbb8a1d5864bc019efa0a0d17df.cpp | 24 +- ...apper_ba25f6fe677652cebd40b6aed2762b5a.cpp | 2 +- ...apper_bac6b66586be52859b259d0c4440e387.cpp | 2 +- ...apper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp | 12 + ...apper_bc2764672801516e9cea984f33c9d9bf.cpp | 37 + ...apper_be6e5acaae3150f69207956b75050e55.cpp | 52 + ...apper_bf2c6deebd8e55f3824ecd5cf9312434.cpp | 24 +- ...apper_bf5b68f25d1f5ab9ad2c936351edf740.cpp | 24 +- ...apper_bf9e7f30f1ac5c22a1598a2a6a45b312.cpp | 18 + ...apper_c07d900e8cfe54789b1eb7500f2b17d6.cpp | 29 + ...apper_c14e91b91c9852b8bd1c5fce67b0d241.cpp | 45 + ...apper_c1af1f263c37571f8e1257a72f39fd05.cpp | 10 + ...apper_c2568ff48c245dbe8395ac41d83bc8f8.cpp | 2 +- ...apper_c30582fff9a5510186e17a7b44494d9f.cpp | 29 + ...apper_c3319864e98456809db3192e7060581f.cpp | 2 +- ...apper_c3848ca82c6150b480894755016faabf.cpp | 23 +- ...apper_c4726473069d576fbb9e53aacbf298ea.cpp | 18 +- ...apper_c5145b1136065279b4181888431537f6.cpp | 14 + ...apper_c5daab4ee3ac55c89ee2ee06a88fb23c.cpp | 2 +- ...apper_c6691c5b303051859dffd8d2f0d6c188.cpp | 36 + ...apper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp | 29 + ...apper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp | 10 + ...apper_c87812df9e2e5ead9306b7d4fbe06d71.cpp | 16 + ...apper_c8f9ef7718815a7dbb7946e20b85e07f.cpp | 21 + ...apper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp | 25 +- ...apper_cbe0be5b997e578ea56a5ddbc174c53e.cpp | 36 + ...apper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp | 3 +- ...apper_ccb69f6f1ea252c78b62bd2708670cdd.cpp | 38 + ...apper_cd5e5c2c8f40591793aafe753277bfe3.cpp | 2 +- ...apper_cf0179fb6c94524589e450e5bcacc532.cpp | 10 +- ...apper_cf0415be3d965595a8486e9a8659c1a9.cpp | 19 +- ...apper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp | 30 + ...apper_d30ac07998c750479d39b4a9b78e7da6.cpp | 14 + ...apper_d33d975672ef54f0b9b5e01d57fdf32b.cpp | 6 + ...apper_d3d68100c0aa515393562535c582529e.cpp | 43 + ...apper_d413c9194272547596f08284edb5e2e8.cpp | 3 +- ...apper_d443aa68b0b755eabc2a251be2deb4c6.cpp | 14 + ...apper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp | 3 +- ...apper_d740d10f82335516b6c42048834de0c7.cpp | 36 + ...apper_d7aaae9c78655d9f870d5f017126833f.cpp | 2 +- ...apper_d8072eca33fe5d46a0b27a217a8dbc96.cpp | 14 + ...apper_d82ac4c07b685057ae35b9a0216111d2.cpp | 2 +- ...apper_d9e3c8f1d16d5ffea475de8236279387.cpp | 61 + ...apper_dace22af29e35e1e8847a21e0083dbd0.cpp | 2 +- ...apper_daf74149f27453a7a5360a8ea7e9d69c.cpp | 9 + ...apper_db2668977eed5283a0dfb9992502d2dd.cpp | 43 + ...apper_dbc8a0461eeb579aa69a16cbe03a3913.cpp | 3 +- ...apper_dda6bb3fd9345086a3231d9341e47d49.cpp | 2 +- ...apper_de7ff6e8df595fdab99566ab1fb822d1.cpp | 44 + ...apper_df673121ff9a5ed3a03ae1633aac43b7.cpp | 49 + ...apper_e0e2f05f845558508daf53c1d4b545c7.cpp | 36 + ...apper_e1391944268253558f04b6f996bb5a8b.cpp | 49 + ...apper_e17c871a4a485a888cde7218c52b67e3.cpp | 2 +- ...apper_e1e17df0f495561494b85ab0ad5a5780.cpp | 14 + ...apper_e2d3df06414058178eb5fc957e8fd6d9.cpp | 2 +- ...apper_e3970afe332b54108a4040278f775008.cpp | 52 + ...apper_e5e03034302f5c6ca9d068a205353d2a.cpp | 3 +- ...apper_e695b5b519815f1f96debe2f459d2f2b.cpp | 14 +- ...apper_ece163aebf095bf5b3e83565ba76bec1.cpp | 14 + ...apper_ed56b0739802545c9906dd23adb8636c.cpp | 57 + ...apper_ef06cd7866a05e8a9b9f746a2f9da324.cpp | 22 +- ...apper_f079028b7e505d6f8b4931133595179c.cpp | 2 +- ...apper_f09c97b097575bf2b4af254e6faa082c.cpp | 20 +- ...apper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp | 18 +- ...apper_f1f8a991c324584993f9a58dcb9c014e.cpp | 20 +- ...apper_f2160a41454451d28ba6ed197ddede7e.cpp | 14 + ...apper_f27aa86956235ad3ac8f08855c2b8820.cpp | 2 +- ...apper_f3a4e0390ba552948c69ae13cadb799a.cpp | 30 + ...apper_f4b4623a4bb55ebdb42401f0a981cb83.cpp | 61 + ...apper_f66e5627d97f5fac82e3d89b9b0694dc.cpp | 17 + ...apper_f8b8546034205658b6e3e16175284f26.cpp | 41 + ...apper_f8d597009c7f50c0a1968a49aa56ff46.cpp | 14 + ...apper_f94311a1d1fb597aac56bee900deb9fe.cpp | 14 + ...apper_fa5e2baabb585a5e93632d2563d88b33.cpp | 2 +- ...apper_faed70c01c41556a87ba6c938ce7c777.cpp | 22 +- ...apper_faf1fdd6d84a5fc3a61a827f354b8275.cpp | 36 + ...apper_fb8f1cea3a695accb39f019b3fbd2247.cpp | 2 +- ...apper_fe18de6fe2c850bc986987821db6db68.cpp | 2 +- ...apper_fe481101ccef5e018b6d0e5b0d1be998.cpp | 14 + ...apper_fe5c14ebd9715db583a8fcea54e1d965.cpp | 53 +- ...apper_feb9ad1a68185444ba16325ba90aea6b.cpp | 61 + 365 files changed, 8364 insertions(+), 3908 deletions(-) create mode 100644 src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp create mode 100644 src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp create mode 100644 src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp create mode 100644 src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp create mode 100644 src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp create mode 100644 src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp create mode 100644 src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp create mode 100644 src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp create mode 100644 src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp create mode 100644 src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp create mode 100644 src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp create mode 100644 src/py/wrapper/wrapper_112dc12b863f53fea4df7b3ba388fd84.cpp create mode 100644 src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp create mode 100644 src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp create mode 100644 src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp create mode 100644 src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp create mode 100644 src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp create mode 100644 src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp create mode 100644 src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp create mode 100644 src/py/wrapper/wrapper_1dfb91cd35315554957dc314e2ba48a2.cpp create mode 100644 src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp create mode 100644 src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp create mode 100644 src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp create mode 100644 src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp create mode 100644 src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp create mode 100644 src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp create mode 100644 src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp create mode 100644 src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp create mode 100644 src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp create mode 100644 src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp create mode 100644 src/py/wrapper/wrapper_294225563b8d53458805fdd4cfd054de.cpp create mode 100644 src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp create mode 100644 src/py/wrapper/wrapper_2d284769c93a57cba44be5c34bcfafd7.cpp create mode 100644 src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp create mode 100644 src/py/wrapper/wrapper_2f3439617e035c41b1282a03e900ef19.cpp create mode 100644 src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp create mode 100644 src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp create mode 100644 src/py/wrapper/wrapper_34c2a8dbedd15f6e89c09855550f107b.cpp create mode 100644 src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp create mode 100644 src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp create mode 100644 src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp create mode 100644 src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp create mode 100644 src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp create mode 100644 src/py/wrapper/wrapper_3f4e466ff3215f84837970a75685a8b5.cpp create mode 100644 src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp create mode 100644 src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp create mode 100644 src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp create mode 100644 src/py/wrapper/wrapper_45da991e033e578d8aa55b46b232ec21.cpp create mode 100644 src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp create mode 100644 src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp create mode 100644 src/py/wrapper/wrapper_47e877e586e1567691c16ec40ec1eb13.cpp create mode 100644 src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp create mode 100644 src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp create mode 100644 src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp create mode 100644 src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp create mode 100644 src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp create mode 100644 src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp create mode 100644 src/py/wrapper/wrapper_5180cb0278d15668832646c0905783b8.cpp create mode 100644 src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp create mode 100644 src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp create mode 100644 src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp create mode 100644 src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp create mode 100644 src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp create mode 100644 src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp create mode 100644 src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp create mode 100644 src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp create mode 100644 src/py/wrapper/wrapper_621822ae142e56979bee170334c7a63a.cpp create mode 100644 src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp create mode 100644 src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp create mode 100644 src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp create mode 100644 src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp create mode 100644 src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp create mode 100644 src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp create mode 100644 src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp create mode 100644 src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp create mode 100644 src/py/wrapper/wrapper_6d51d5c1ef2d5f1bb98935798af976e0.cpp create mode 100644 src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp create mode 100644 src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp create mode 100644 src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp create mode 100644 src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp create mode 100644 src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp create mode 100644 src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp create mode 100644 src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp create mode 100644 src/py/wrapper/wrapper_79c03425b8505668b16ffdd958127107.cpp create mode 100644 src/py/wrapper/wrapper_79e2f422f64050e2896852975f3b368d.cpp create mode 100644 src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp create mode 100644 src/py/wrapper/wrapper_7e4c2f85b93b5cc399280098492de425.cpp create mode 100644 src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp create mode 100644 src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp create mode 100644 src/py/wrapper/wrapper_8273d59d3b9f581fa07283ea1cce6a0f.cpp create mode 100644 src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp create mode 100644 src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp create mode 100644 src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp create mode 100644 src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp create mode 100644 src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp create mode 100644 src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp create mode 100644 src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp create mode 100644 src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp create mode 100644 src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp create mode 100644 src/py/wrapper/wrapper_966a285304c1551a9a283e9a8bd4917e.cpp create mode 100644 src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp create mode 100644 src/py/wrapper/wrapper_96a5a23f253351d38c0689328d0d8eb2.cpp create mode 100644 src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp create mode 100644 src/py/wrapper/wrapper_98e0aa1c483d522aa3e3427e0c99ee6f.cpp create mode 100644 src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp create mode 100644 src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp create mode 100644 src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp create mode 100644 src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp create mode 100644 src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp create mode 100644 src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp create mode 100644 src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp create mode 100644 src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp create mode 100644 src/py/wrapper/wrapper_a07113fabe3b5ca2bb7456220de98547.cpp create mode 100644 src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp create mode 100644 src/py/wrapper/wrapper_a0e97d92179d57c6b360e221cdb4303b.cpp create mode 100644 src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp create mode 100644 src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp create mode 100644 src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp create mode 100644 src/py/wrapper/wrapper_a700d305386f53d0ae8398580f9913c3.cpp create mode 100644 src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp create mode 100644 src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp create mode 100644 src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp create mode 100644 src/py/wrapper/wrapper_b0122226f9b45c7885b797dfe5216cc3.cpp create mode 100644 src/py/wrapper/wrapper_b0fdc82131d6539ab2e2a6b14e8038cf.cpp create mode 100644 src/py/wrapper/wrapper_b2b598c024f65acba246d207ae371e07.cpp create mode 100644 src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp create mode 100644 src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp create mode 100644 src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp create mode 100644 src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp create mode 100644 src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp create mode 100644 src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp create mode 100644 src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp create mode 100644 src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp create mode 100644 src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp create mode 100644 src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp create mode 100644 src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp create mode 100644 src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp create mode 100644 src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp create mode 100644 src/py/wrapper/wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312.cpp create mode 100644 src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp create mode 100644 src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp create mode 100644 src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp create mode 100644 src/py/wrapper/wrapper_c5145b1136065279b4181888431537f6.cpp create mode 100644 src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp create mode 100644 src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp create mode 100644 src/py/wrapper/wrapper_c87812df9e2e5ead9306b7d4fbe06d71.cpp create mode 100644 src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp create mode 100644 src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp create mode 100644 src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp create mode 100644 src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp create mode 100644 src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp create mode 100644 src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp create mode 100644 src/py/wrapper/wrapper_d443aa68b0b755eabc2a251be2deb4c6.cpp create mode 100644 src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp create mode 100644 src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp create mode 100644 src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp create mode 100644 src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp create mode 100644 src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp create mode 100644 src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp create mode 100644 src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp create mode 100644 src/py/wrapper/wrapper_e1391944268253558f04b6f996bb5a8b.cpp create mode 100644 src/py/wrapper/wrapper_e1e17df0f495561494b85ab0ad5a5780.cpp create mode 100644 src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp create mode 100644 src/py/wrapper/wrapper_ece163aebf095bf5b3e83565ba76bec1.cpp create mode 100644 src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp create mode 100644 src/py/wrapper/wrapper_f2160a41454451d28ba6ed197ddede7e.cpp create mode 100644 src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp create mode 100644 src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp create mode 100644 src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp create mode 100644 src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp create mode 100644 src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp create mode 100644 src/py/wrapper/wrapper_f94311a1d1fb597aac56bee900deb9fe.cpp create mode 100644 src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp create mode 100644 src/py/wrapper/wrapper_fe481101ccef5e018b6d0e5b0d1be998.cpp create mode 100644 src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp diff --git a/src/cpp/base.h b/src/cpp/base.h index 9adde8a5..64d3a51f 100644 --- a/src/cpp/base.h +++ b/src/cpp/base.h @@ -87,6 +87,12 @@ namespace statiskit template void merge(std::unordered_set< T >& lhs, const std::unordered_set< T >& rhs); template std::set< U > keys(const std::map< U, V >& map); + + template void delete_vector(std::vector& v); + template void delete_vector(std::vector& v); + + template std::vector copy_vector(const std::vector& v); + template std::vector copy_vector(const std::vector& v); } STATISKIT_CORE_API void set_seed(); diff --git a/src/cpp/base.hpp b/src/cpp/base.hpp index 5c19e090..c82b402e 100644 --- a/src/cpp/base.hpp +++ b/src/cpp/base.hpp @@ -97,6 +97,37 @@ namespace statiskit return set; } + template + void delete_vector(std::vector& v) + { + v.clear(); + } + + template + void delete_vector(std::vector& v) + { + for (Index index = 0, max_index = v.size(); index < max_index; ++index) { + delete v[index]; + v[index] = nullptr; + } + v.clear(); + } + + template + std::vector copy_vector(const std::vector& v) + { + return v; + } + + template + std::vector copy_vector(const std::vector& v) + { + std::vector u = v; + for (Index index = 0, max_index = u.size(); index < max_index; ++index) { + u[index] = u[index].copy().release(); + } + return u; + } } template diff --git a/src/cpp/data.cpp b/src/cpp/data.cpp index fdaf8084..75b26e5a 100644 --- a/src/cpp/data.cpp +++ b/src/cpp/data.cpp @@ -154,6 +154,16 @@ namespace statiskit UnivariateData::Generator::~Generator() {} + std::unique_ptr< UnivariateData::Generator > WeightedUnivariateData::generator() const + { + return std::make_unique< Generator >(*this); + } + + const UnivariateEvent* WeightedUnivariateData::Generator::get_event() const + { + return this->generator->get_event(); + } + unsigned int NamedData::INDEX = 0; NamedData::NamedData() @@ -312,23 +322,11 @@ namespace statiskit this->index = 0; } - UnivariateDataFrame::Generator::Generator(const Generator& generator) - { - this->data = static_cast< UnivariateDataFrame* >(generator.data->copy().release()); - this->index = generator.index; - } - UnivariateDataFrame::Generator::~Generator() { delete this->data; } - outcome_type UnivariateDataFrame::Generator::get_outcome() const - { return this->get_event()->get_outcome(); } - - censoring_type UnivariateDataFrame::Generator::get_censoring() const - { return this->get_event()->get_censoring(); } - bool UnivariateDataFrame::Generator::is_valid() const { return this->index < this->data->get_nb_events(); } @@ -418,7 +416,9 @@ namespace statiskit { return this->data->get_sample_space(this->index); } Index IndexSelectedData::get_index() const - { return this->index; } + { + return this->index; + } IndexSelectedData::Generator::Generator(const IndexSelectedData& data) { @@ -426,23 +426,11 @@ namespace statiskit this->index = data.get_index(); } - IndexSelectedData::Generator::Generator(const Generator& generator) - { - this->generator = static_cast< MultivariateData::Generator* >(generator.generator->copy().release()); - this->index = generator.index; - } - IndexSelectedData::Generator::~Generator() { delete this->generator; } - outcome_type IndexSelectedData::Generator::get_outcome() const - { return this->generator->get_event(this->index)->get_outcome(); } - - censoring_type IndexSelectedData::Generator::get_censoring() const - { return this->generator->get_event(this->index)->get_censoring(); } - const UnivariateEvent* IndexSelectedData::Generator::get_event() const { return this->generator->get_event(this->index); } @@ -501,12 +489,6 @@ namespace statiskit this->indices = data.indices; } - IndicesSelectedData::Generator::Generator(const Generator& generator) - { - this->generator = static_cast< MultivariateData::Generator* >(generator.generator->copy().release()); - this->indices = generator.indices; - } - IndicesSelectedData::Generator::~Generator() { delete this->generator; @@ -660,12 +642,6 @@ namespace statiskit this->index = 0; } - MultivariateDataFrame::Generator::Generator(const Generator& generator) - { - this->data = static_cast< MultivariateDataFrame* >(generator.data->copy().release()); - this->index = generator.index; - } - MultivariateDataFrame::Generator::~Generator() { delete this->data; diff --git a/src/cpp/data.h b/src/cpp/data.h index 0324530d..fcc23c9d 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -10,14 +10,14 @@ namespace statiskit { template - class WeightedData : public PolymorphicCopy, B > + class WeightedData : public B { public: WeightedData(const B& data); WeightedData(const WeightedData& data); virtual ~WeightedData(); - virtual std::unique_ptr< typename B::Generator > generator() const; + // std::unique_ptr< typename B::Generator > generator() const; virtual const typename B::sample_space_type* get_sample_space() const; @@ -34,19 +34,22 @@ namespace statiskit void detach(); - class Generator : public PolymorphicCopy + class Generator : public B::Generator { public: Generator(const WeightedData& data); - Generator(const Generator& generator); + Generator(const Generator& generator) = default; virtual ~Generator(); - virtual double get_weight() const = 0; + virtual double get_weight() const; + + virtual bool is_valid() const; virtual typename B::Generator& operator++(); protected: WeightedData* data; + typename B::Generator* generator; Index index; }; }; @@ -56,15 +59,18 @@ namespace statiskit using copy_type = UnivariateData; using sample_space_type = UnivariateSampleSpace; using event_type = UnivariateEvent; - using weighted_type = WeightedData< UnivariateData >; + using weighted_type = class WeightedUnivariateData; virtual ~UnivariateData() = 0; - struct STATISKIT_CORE_API Generator : public UnivariateEvent + struct STATISKIT_CORE_API Generator { + Generator() = default; + Generator(const Generator& generator) = default; virtual ~Generator() = 0; virtual const UnivariateEvent* get_event() const = 0; + virtual double get_weight() const = 0; virtual bool is_valid() const = 0; @@ -86,7 +92,21 @@ namespace statiskit virtual std::unique_ptr< copy_type > copy() const = 0; }; - using WeightedUnivariateData = UnivariateData::weighted_type; + class STATISKIT_CORE_API WeightedUnivariateData : public PolymorphicCopy> + { + public: + using PolymorphicCopy>::PolymorphicCopy; + + virtual std::unique_ptr< UnivariateData::Generator > generator() const; + + protected: + struct STATISKIT_CORE_API Generator : WeightedData< UnivariateData >::Generator + { + using WeightedData< UnivariateData >::Generator::Generator; + + virtual const UnivariateEvent* get_event() const; + }; + }; class STATISKIT_CORE_API NamedData { @@ -136,18 +156,15 @@ namespace statiskit void detach(); - class STATISKIT_CORE_API Generator : public PolymorphicCopy< Generator, UnivariateData::Generator > + class STATISKIT_CORE_API Generator : public UnivariateData::Generator { public: Generator(const UnivariateDataFrame& data); - Generator(const Generator& generator); + Generator(const Generator& generator) = default; virtual ~Generator(); - virtual outcome_type get_outcome() const; - - virtual censoring_type get_censoring() const; - virtual const UnivariateEvent* get_event() const; + virtual double get_weight() const; virtual bool is_valid() const; @@ -165,7 +182,7 @@ namespace statiskit using copy_type = MultivariateData; using sample_space_type = MultivariateSampleSpace; using event_type = MultivariateEvent; - using weighted_type = WeightedData< MultivariateData >; + using weighted_type = class WeightedMultivariateData; virtual ~MultivariateData() = 0; @@ -191,10 +208,26 @@ namespace statiskit virtual std::unique_ptr< UnivariateData > select(const Index& index) const; virtual std::unique_ptr< MultivariateData > select(const Indices& indices) const; - virtual std::unique_ptr< MultivariateData > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; - using WeightedMultivariateData = MultivariateData::weighted_type; + class STATISKIT_CORE_API WeightedMultivariateData : public WeightedData< MultivariateData > + { + public: + using WeightedData< MultivariateData >::WeightedData; + + virtual std::unique_ptr< MultivariateData::Generator > generator() const; + + protected: + struct STATISKIT_CORE_API Generator : PolymorphicCopy::Generator> + { + using PolymorphicCopy::Generator>::PolymorphicCopy; + + virtual const UnivariateEvent* get_event(const Index& index); + + virtual Index size() const; + }; + }; class STATISKIT_CORE_API IndexSelectedData : public PolymorphicCopy { @@ -217,18 +250,15 @@ namespace statiskit MultivariateData* data; Index index; - class STATISKIT_CORE_API Generator : public PolymorphicCopy + class STATISKIT_CORE_API Generator : public UnivariateData::Generator { public: Generator(const IndexSelectedData& data); - Generator(const Generator& generator); + Generator(const Generator& generator) = default; virtual ~Generator(); - virtual outcome_type get_outcome() const; - - virtual censoring_type get_censoring() const; - virtual const UnivariateEvent* get_event() const; + virtual double get_weight() const; virtual bool is_valid() const; @@ -274,6 +304,7 @@ namespace statiskit virtual Index size() const; virtual const UnivariateEvent* get_event(const Index& index) const; + virtual double get_weight() const; virtual bool is_valid() const; @@ -320,12 +351,13 @@ namespace statiskit { public: Generator(const MultivariateDataFrame& data); - Generator(const Generator& generator); + Generator(const Generator& generator) = default; virtual ~Generator(); virtual Index size() const; virtual const UnivariateEvent* get_event(const Index& index) const; + virtual double get_weight() const; virtual bool is_valid() const; @@ -337,6 +369,8 @@ namespace statiskit Index index; }; }; + + using WeightedMultivariateDataFrame = WeightedData< MultivariateDataFrame >; } #include "data.hpp" \ No newline at end of file diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index fc2329dd..5d8cba89 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -17,17 +17,12 @@ namespace statiskit this->weights = data.weights; } - template WeightedData::~WeightedData() { delete this->data; } - template - std::unique_ptr< typename B::Generator > WeightedData::generator() const - { return std::make_unique< Generator >(*this); } - template const B* WeightedData::origin() const { return this->data; } @@ -67,116 +62,39 @@ namespace statiskit } template - WeightedData::Generator::Generator(const WeightedData& data) : PolymorphicCopy< Generator, typename B::Generator >(data) + WeightedData::Generator::Generator(const WeightedData& data) { - this->data = data.copy().release(); + this->data = static_cast< WeightedData* >(data.copy().release()); + this->generator = data.generator().release(); this->index = 0; } template - WeightedData::Generator::Generator(const Generator& generator) : PolymorphicCopy< Generator, typename B::Generator >(generator) + WeightedData::Generator::~Generator() { - this->data = static_cast< WeightedData* >(generator.data->copy().release()); - this->index = generator.index; + delete this->data; + delete this->generator; } template - WeightedData::Generator::~Generator() + double WeightedData::Generator::get_weight() const { - delete this->data; + return this->data->get_weight(this->index); } template - double WeightedData::Generator::get_weight() const - { return this->data->get_weight(this->index); } + bool WeightedData::Generator::is_valid() const + { + return this->generator->is_valid() && this->index < this->data->get_nb_weights(); + } template typename B::Generator& WeightedData::Generator::operator++() { - B::Generator::operator++(); + ++(*this->generator); ++index; return *this; } - - // template - // PairedData< I >::PairedData(const typename I::indexing_type first, const Indices& second, const MultivariateData& data) - // { - // this->first = data.select(first).release(); - // this->second = data.select(second).release(); - // } - - // template - // PairedData< I >::PairedData(const PairedData< I >& data) - // { - // this->first = data.first.copy().release(); - // this->second = data.second.copy().release(); - // } - - // template - // PairedData< I >::~PairedData() - // { - // delete this->first; - // delete this->second; - // } - - // template - // PairedData< I >::Generator::Generator(const PairedData< I >& data) - // { - // this->first = data.first->generator().release(); - // this->second = data.second->generator().release(); - // } - - // template - // PairedData< I >::Generator::Generator(const Generator& generator) - // { - // this->first = generator.first->copy().release(); - // this->second = generator.second->copy().release(); - // } - - // template - // PairedData< I >::Generator::~Generator() - // { - // if (this->first) { - // delete this->first; - // this->first = nullptr; - // } - // if (this->second) { - // delete this->second; - // this->second = nullptr; - // } - // } - - // template - // const typename I::event_type* PairedData< I >::Generator::get_first() const - // { - // return this->first->get_event(); - // } - - // template - // const MultivariateEvent* PairedData< I >::Generator::get_second() const - // { - // return this->second->get_event(); - // } - - // template - // double PairedData< I >::Generator::get_weight() const - // { - // return this->first->get_weight(); - // } - - // template - // bool PairedData< I >::Generator::is_valid() const - // { - // return this->first->is_valid() && this->second->is_valid(); - // } - - // template - // PairedData< I >::Generator& PairedData< I >::Generator::get_first() const - // { - // ++(*this->first); - // ++(*this->second); - // return *this; - // } } #endif \ No newline at end of file diff --git a/src/cpp/distribution.cpp b/src/cpp/distribution.cpp index 8d1ccdce..18a9fad0 100644 --- a/src/cpp/distribution.cpp +++ b/src/cpp/distribution.cpp @@ -1,3 +1,19 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include "distribution.h" #include "base.h" diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index b047e032..4b6e46a0 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -1,21 +1,5 @@ #pragma once -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include #include "base.h" diff --git a/src/cpp/distribution.hpp b/src/cpp/distribution.hpp index f2722cf3..18024d88 100644 --- a/src/cpp/distribution.hpp +++ b/src/cpp/distribution.hpp @@ -1,6 +1,22 @@ #ifndef AUTOWIG #pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + namespace statiskit { template diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index aab3bf98..7aed3eb1 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -6,24 +6,13 @@ namespace statiskit template IterativeEstimation::IterativeEstimation(const IterativeEstimation& estimation) : B(estimation) { - this->steps = estimation.steps; - if (std::is_pointer< S >::value) { - for(Index index = 0, max_index = this->steps.size(); index < max_index; ++index) { - this->steps[index] = static_cast< S >(this->steps[index]->copy().release()); - } - } + this->steps = __impl::copy_vector(estimation.steps); } template IterativeEstimation::~IterativeEstimation() { - if (std::is_pointer< S >::value) { - for (Index index = 0, max_index = this->steps.size(); index < max_index; ++index) { - delete this->steps[index]; - this->steps[index] = nullptr; - } - } - this->steps.clear(); + __impl::delete_vector(this->steps); } template diff --git a/src/cpp/estimator.cpp b/src/cpp/estimator.cpp index 39591c25..e56b7541 100644 --- a/src/cpp/estimator.cpp +++ b/src/cpp/estimator.cpp @@ -66,7 +66,8 @@ namespace statiskit } unsigned int kappa = std::max(round(pow(mean, 2)/(mean - variance)), static_cast< DiscreteElementaryEvent* >(data.compute_maximum().get())->get_value()); BinomialDistribution* binomial = new BinomialDistribution(kappa, mean/double(kappa)); - std::unique_ptr< BinomialDistributionMLEstimation > estimation = std::make_unique< BinomialDistributionMLEstimation >(binomial, &data); + std::unique_ptr< BinomialDistributionMLEstimation > estimation = std::make_unique< BinomialDistributionMLEstimation >(data.copy().release(), + binomial); estimation->steps.push_back(kappa); double curr, prev = binomial->loglikelihood(data); unsigned int its = 1; @@ -89,7 +90,7 @@ namespace statiskit binomial->set_pi(mean / double(kappa)); curr = binomial->loglikelihood(data); ++its; - } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (this->run(its, __impl::reldiff(prev, curr)) && curr > prev); } if (curr < prev) { ++kappa; @@ -107,7 +108,7 @@ namespace statiskit binomial->set_pi(mean / double(kappa)); curr = binomial->loglikelihood(data); ++its; - } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (this->run(its, __impl::reldiff(prev, curr)) && curr > prev); if (curr < prev) { --kappa; estimation->steps.push_back(kappa); @@ -203,7 +204,8 @@ namespace statiskit } theta = 1 - 1 / theta; LogarithmicDistribution* logarithmic = new LogarithmicDistribution(theta); - std::unique_ptr< LogarithmicDistributionMLEstimation > estimation = std::make_unique< LogarithmicDistributionMLEstimation >(logarithmic, &data); + std::unique_ptr< LogarithmicDistributionMLEstimation > estimation = std::make_unique< LogarithmicDistributionMLEstimation >(data.copy().release(), + logarithmic); estimation->steps.push_back(theta); double prev, curr = logarithmic->loglikelihood(data); unsigned int its = 0; @@ -216,7 +218,7 @@ namespace statiskit curr = logarithmic->loglikelihood(data); ++its; } - } while (run(its, __impl::reldiff(prev, curr)) && curr > prev); + } while (this->run(its, __impl::reldiff(prev, curr)) && curr > prev); return estimation; } @@ -670,10 +672,10 @@ namespace statiskit this->constant = constant; } - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator() : PolymorphicCopy() + NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator() : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > >() {} - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator(const WZ99Estimator& estimator) : PolymorphicCopy(estimator) + NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator(const WZ99Estimator& estimator) : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > >(estimator) {} NegativeMultinomialDistributionEstimation::WZ99Estimator::~WZ99Estimator() diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index 6dfc8acf..9d093367 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -20,6 +20,7 @@ namespace statiskit using estimator_type = typename B::Estimator; using estimation_type = typename estimator_type::estimation_type; using data_type = typename estimator_type::data_type; + using event_type = typename estimator_type::event_type; Estimator(); Estimator(const Estimator& estimator); @@ -27,15 +28,17 @@ namespace statiskit virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; - typename B::event_type::value_type get_shift() const; - void set_shift(const typename B::event_type::value_type& shift); + typename event_type::value_type get_shift() const; + void set_shift(const typename event_type::value_type& shift); const estimator_type* get_estimator() const; void set_estimator(const estimator_type& estimator); protected: - typename B::event_type::value_type shift; + typename event_type::value_type shift; estimator_type* estimator; + + virtual std::unique_ptr< distribution_type > create(const distribution_type* distribution) const; }; }; @@ -338,7 +341,7 @@ namespace statiskit { using PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API WZ99Estimator : PolymorphicCopy + struct STATISKIT_CORE_API WZ99Estimator : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > > { public: WZ99Estimator(); diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index a3585860..d8195052 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -33,9 +33,9 @@ namespace statiskit template std::unique_ptr< typename ShiftedDistributionEstimation::Estimator::estimation_type > ShiftedDistributionEstimation::Estimator::operator() (const data_type& data) const { - using event_type = ElementaryEvent< typename B::mixture_distribution_type::observation_type::event_type >; + using event_type = ElementaryEvent< typename B::event_type >; using value_type = typename event_type::value_type; - using distribution_type = ShiftedDistribution< typename B::mixture_distribution_type::observation_type >; + using distribution_type = ShiftedDistribution< typename B::observation_type >; this->check(data); if (!this->estimator) { throw member_error("estimator", "you must give an estimator in order to compute a shifted estimation"); @@ -61,17 +61,17 @@ namespace statiskit ++index; } return std::make_unique< ShiftedDistributionEstimation >(weighted, - new distribution_type(*(*this->estimator(weighted))->get_distribution()), this->shift); + new distribution_type(*(*this->estimator(weighted))->get_distribution(), this->shift)); } template - typename B::event_type::value_type ShiftedDistributionEstimation::Estimator::get_shift() const + typename ShiftedDistributionEstimation::Estimator::event_type::value_type ShiftedDistributionEstimation::Estimator::get_shift() const { return this->shift; } template - void ShiftedDistributionEstimation::Estimator::set_shift(const typename B::event_type::value_type& shift) + void ShiftedDistributionEstimation::Estimator::set_shift(const typename event_type::value_type& shift) { this->shift = shift; } diff --git a/src/cpp/event.cpp b/src/cpp/event.cpp index 76a7cd3a..93aa9672 100644 --- a/src/cpp/event.cpp +++ b/src/cpp/event.cpp @@ -5,13 +5,13 @@ namespace statiskit std::ostream& operator<<(std::ostream& os, const outcome_type& outcome) { switch (outcome) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: os << "categorical"; break; - case DISCRETE: + case outcome_type::DISCRETE: os << "discrete"; break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: os << "continuous"; break; } @@ -23,75 +23,96 @@ namespace statiskit template<> ContinuousEvent::value_type IntervalCensoredEvent< ContinuousEvent >::get_center() const - { return _bounds.first + get_range()/2.; } + { + return this->bounds.first + this->get_range() / 2.; + } template<> DiscreteEvent::value_type IntervalCensoredEvent< DiscreteEvent >::get_center() const { - double range = get_range()/2.; - int center = _bounds.first + int(range); - if(range - int(range) > 0.5) - { ++center; } + double range = this->get_range()/2.; + int center = this->bounds.first + int(range); + if (range - int(range) > 0.5) { + ++center; + } return center; } outcome_type CategoricalEvent::get_outcome() const - { return CATEGORICAL; } + { + return outcome_type::CATEGORICAL; + } outcome_type DiscreteEvent::get_outcome() const - { return DISCRETE; } + { + return outcome_type::DISCRETE; + } outcome_type ContinuousEvent::get_outcome() const - { return CONTINUOUS; } + { + return outcome_type::CONTINUOUS; + } MultivariateEvent::~MultivariateEvent() {} VectorEvent::VectorEvent(const Index& size) - { _events.resize(size, nullptr); } + { + this->events.resize(size, nullptr); + } VectorEvent::VectorEvent(const VectorEvent& event) { - _events.resize(event.size(), nullptr); - for(Index index = 0, max_index = event.size(); index < max_index; ++index) - { _events[index] = event.get_event(index)->copy().release(); } + this->events.resize(event.size(), nullptr); + for (Index index = 0, max_index = event.size(); index < max_index; ++index) { + this->events[index] = event.get_event(index)->copy().release(); + } } VectorEvent::VectorEvent(const Eigen::VectorXd& event) { - _events.resize(event.size(), nullptr); - for(Index index = 0, max_index = event.size(); index < max_index; ++index) - { _events[index] = new ContinuousElementaryEvent(event(index)); } + this->events.resize(event.size(), nullptr); + for (Index index = 0, max_index = event.size(); index < max_index; ++index) { + this->events[index] = new ContinuousElementaryEvent(event(index)); + } } VectorEvent::~VectorEvent() { - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - if(_events[index]) - { delete _events[index]; } - _events[index] = nullptr; + for (Index index = 0, max_index = size(); index < max_index; ++index) { + if (this->events[index]) { + delete this->events[index]; + } + this->events[index] = nullptr; } - _events.clear(); + this->events.clear(); } Index VectorEvent::size() const - { return _events.size(); } + { + return this->events.size(); + } const UnivariateEvent* VectorEvent::get_event(const Index& index) const { - if(index > size()) - { throw size_error("index", size(), size_error::inferior); } - return _events[index]; + if (index > this->size()) { + throw size_error("index", size(), size_error::inferior); + } + return this->events[index]; } - void VectorEvent::set_event(const Index& index, const UnivariateEvent& event) + void VectorEvent::set_event(const Index& index, const UnivariateEvent* event) { - if(index > size()) - { throw size_error("index", size(), size_error::inferior); } - _events[index] = event.copy().release(); + if (index > this->size()) { + throw size_error("index", size(), size_error::inferior); + } + if (events[index]) { + delete events[index]; + } + if (event) { + this->events[index] = event->copy().release(); + } else { + this->events[index] = nullptr; + } } - - std::unique_ptr< MultivariateEvent > VectorEvent::copy() const - { return std::make_unique< VectorEvent >(*this); } } diff --git a/src/cpp/event.h b/src/cpp/event.h index b4ff98d9..dfa1cbda 100644 --- a/src/cpp/event.h +++ b/src/cpp/event.h @@ -3,8 +3,6 @@ #include #include -#include - #include "base.h" namespace statiskit @@ -41,7 +39,7 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const = 0; }; - template class ElementaryEvent : public E + template class ElementaryEvent : public PolymorphicCopy, E> { public: ElementaryEvent(const typename E::value_type& value); @@ -55,10 +53,10 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const; protected: - typename E::value_type _value; + typename E::value_type value; }; - template class CensoredEvent : public E + template class CensoredEvent : public PolymorphicCopy, E> { public: CensoredEvent(const std::vector< typename E::value_type >& values); @@ -71,10 +69,10 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const; protected: - std::vector< typename E::value_type > _values; + std::vector< typename E::value_type > values; }; - template class LeftCensoredEvent : public E + template class LeftCensoredEvent : public PolymorphicCopy, E> { public: LeftCensoredEvent(const typename E::value_type& upper_bound); @@ -87,10 +85,10 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const; protected: - typename E::value_type _upper_bound; + typename E::value_type upper_bound; }; - template class RightCensoredEvent : public E + template class RightCensoredEvent : public PolymorphicCopy, E> { public: RightCensoredEvent(const typename E::value_type& lower_bound); @@ -103,10 +101,10 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const; protected: - typename E::value_type _lower_bound; + typename E::value_type lower_bound; }; - template class IntervalCensoredEvent : public E + template class IntervalCensoredEvent : public PolymorphicCopy, E> { public: IntervalCensoredEvent(const typename E::value_type& lhs, const typename E::value_type& rhs); @@ -123,7 +121,7 @@ namespace statiskit virtual std::unique_ptr< UnivariateEvent > copy() const; protected: - std::pair _bounds; + std::pair bounds; }; class CategoricalUnivariateDistribution; @@ -184,7 +182,7 @@ namespace statiskit virtual std::unique_ptr< MultivariateEvent > copy() const = 0; }; - class STATISKIT_CORE_API VectorEvent : public MultivariateEvent + class STATISKIT_CORE_API VectorEvent : public PolymorphicCopy { public: VectorEvent(const Index& size); @@ -197,10 +195,8 @@ namespace statiskit virtual const UnivariateEvent* get_event(const Index& index) const; void set_event(const Index& index, const UnivariateEvent* event); - virtual std::unique_ptr< MultivariateEvent > copy() const; - protected: - std::vector< UnivariateEvent* > _events; + std::vector< UnivariateEvent* > events; }; } diff --git a/src/cpp/event.hpp b/src/cpp/event.hpp index 93e3ca34..69208752 100644 --- a/src/cpp/event.hpp +++ b/src/cpp/event.hpp @@ -5,11 +5,15 @@ namespace statiskit { template ElementaryEvent< E >::ElementaryEvent(const typename E::value_type& value) - { _value = value; } + { + this->value = value; + } template ElementaryEvent< E >::ElementaryEvent(const ElementaryEvent< E >& event) - { _value = event._value; } + { + this->value = event.value; + } template ElementaryEvent< E >::~ElementaryEvent() @@ -17,112 +21,139 @@ namespace statiskit template censoring_type ElementaryEvent< E >::get_censoring() const - { return censoring_type::NONE; } + { + return censoring_type::NONE; + } template const typename E::value_type& ElementaryEvent< E >::get_value() const - { return _value; } + { + return this->value; + } template std::unique_ptr< UnivariateEvent > ElementaryEvent< E >::copy() const - { return std::make_unique< ElementaryEvent< E > >(*this); } + { + return std::make_unique< ElementaryEvent< E > >(*this); + } template CensoredEvent< E >::CensoredEvent(const std::vector< typename E::value_type >& values) - { _values = values; } + { + this->values = values; + } template CensoredEvent< E >::CensoredEvent(const CensoredEvent< E >& event) - { _values = event._values; } + { + this->values = event.values; + } template censoring_type CensoredEvent< E >::get_censoring() const - { return censoring_type::CENSORED; } + { + return censoring_type::CENSORED; + } template const std::vector< typename E::value_type >& CensoredEvent< E >::get_values() const - { return _values; } - - template - std::unique_ptr< UnivariateEvent > CensoredEvent< E >::copy() const - { return std::make_unique< CensoredEvent< E > >(*this); } + { + return this->values; + } template LeftCensoredEvent< E >::LeftCensoredEvent(const typename E::value_type& upper_bound) - { _upper_bound = upper_bound; } + { + this->upper_bound = upper_bound; + } template LeftCensoredEvent< E >::LeftCensoredEvent(const LeftCensoredEvent< E >& event) - { _upper_bound = event._upper_bound; } + { + this->upper_bound = event.upper_bound; + } template censoring_type LeftCensoredEvent< E >::get_censoring() const - { return censoring_type::LEFT; } + { + return censoring_type::LEFT; + } template const typename E::value_type& LeftCensoredEvent< E >::get_upper_bound() const - { return _upper_bound; } - - template - std::unique_ptr< UnivariateEvent > LeftCensoredEvent< E >::copy() const - { return std::make_unique< LeftCensoredEvent< E > >(*this); } + { + return this->upper_bound; + } template RightCensoredEvent< E >::RightCensoredEvent(const typename E::value_type& lower_bound) - { _lower_bound = lower_bound; } + { + this->lower_bound = lower_bound; + } template RightCensoredEvent< E >::RightCensoredEvent(const RightCensoredEvent< E >& event) - { _lower_bound = event._lower_bound; } + { + this->lower_bound = event.lower_bound; + } template censoring_type RightCensoredEvent< E >::get_censoring() const - { return censoring_type::RIGHT; } + { + return censoring_type::RIGHT; + } template const typename E::value_type& RightCensoredEvent< E >::get_lower_bound() const - { return _lower_bound; } - - template - std::unique_ptr< UnivariateEvent > RightCensoredEvent< E >::copy() const - { return std::make_unique< RightCensoredEvent< E > >(*this); } + { + return this->lower_bound; + } template IntervalCensoredEvent< E >::IntervalCensoredEvent(const typename E::value_type& lhs, const typename E::value_type& rhs) { - if(lhs < rhs) - { _bounds = std::make_pair(lhs, rhs); } - else - { _bounds = std::make_pair(rhs, lhs); } + if (lhs < rhs) { + this->bounds = std::make_pair(lhs, rhs); + } else { + this->bounds = std::make_pair(rhs, lhs); + } } template IntervalCensoredEvent< E >::IntervalCensoredEvent(const IntervalCensoredEvent< E >& event) - { _bounds = event._bounds; } + { + this->bounds = event.bounds; + } template censoring_type IntervalCensoredEvent< E >::get_censoring() const - { return censoring_type::INTERVAL; } + { + return censoring_type::INTERVAL; + } template const typename E::value_type& IntervalCensoredEvent< E >::get_lower_bound() const - { return _bounds.first; } + { + return this->bounds.first; + } template const typename E::value_type& IntervalCensoredEvent< E >::get_upper_bound() const - { return _bounds.second; } + { + return this->bounds.second; + } template typename E::value_type IntervalCensoredEvent< E >::get_range() const - { return _bounds.second - _bounds.first; } + { + return this->bounds.second - this->bounds.first; + } template typename E::value_type IntervalCensoredEvent< E >::get_center() const - { return get_range() / 2.; } - - template - std::unique_ptr< UnivariateEvent > IntervalCensoredEvent< E >::copy() const - { return std::make_unique< IntervalCensoredEvent< E > >(*this); } + { + return this->get_range() / 2.; + } } #endif \ No newline at end of file diff --git a/src/cpp/indicator.cpp b/src/cpp/indicator.cpp index 79199d9d..0ae5a658 100644 --- a/src/cpp/indicator.cpp +++ b/src/cpp/indicator.cpp @@ -2,7 +2,7 @@ namespace statiskit { - qualitative_sample_space_error::qualitative_sample_space_error() : parameter_error("data", "unexpected " + __impl::to_string(CATEGORICAL) + " outcome") + qualitative_sample_space_error::qualitative_sample_space_error() : parameter_error("data", "unexpected " + __impl::to_string(outcome_type::CATEGORICAL) + " outcome") {} UnivariateLocationEstimation::~UnivariateLocationEstimation() @@ -18,16 +18,22 @@ namespace statiskit {} UnivariateMeanEstimation::UnivariateMeanEstimation(const double& location) - { _location = location; } + { + this->location = location; + } UnivariateMeanEstimation::UnivariateMeanEstimation(const UnivariateMeanEstimation& estimation) - { _location = estimation._location; } + { + this->location = estimation.location; + } UnivariateMeanEstimation::~UnivariateMeanEstimation() {} const double& UnivariateMeanEstimation::get_location() const - { return _location; } + { + return this->location; + } UnivariateMeanEstimation::Estimator::Estimator() {} @@ -43,48 +49,45 @@ namespace statiskit double total = data.compute_total(); double location = 0.; std::unique_ptr< UnivariateLocationEstimation > estimation; - if(total > 0) - { - std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - switch(data.get_sample_space()->get_outcome()) - { - case DISCRETE: - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->get_event(); - if(event && event->get_censoring() == censoring_type::NONE) - { location += generator->get_weight() * static_cast< const DiscreteElementaryEvent* >(event)->get_value() / total; } - ++(*generator); + if (total <= 0) { + throw sample_size_error(1); + } + std::unique_ptr< UnivariateData::Generator > generator = data.generator(); + switch(data.get_sample_space()->get_outcome()) { + case outcome_type::DISCRETE: + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + location += generator->get_weight() * static_cast< const DiscreteElementaryEvent* >(event)->get_value() / total; } - break; - case CONTINUOUS: - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->get_event(); - if(event && event->get_censoring() == censoring_type::NONE) - { location += generator->get_weight() * static_cast< const ContinuousElementaryEvent* >(event)->get_value() / total; } - ++(*generator); + ++(*generator); + } + break; + case outcome_type::CONTINUOUS: + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + location += generator->get_weight() * static_cast< const ContinuousElementaryEvent* >(event)->get_value() / total; } - break; - default: - location = std::numeric_limits< double >::quiet_NaN(); - break; - } - estimation = std::make_unique< UnivariateMeanEstimation >(location); + ++(*generator); + } + break; + default: + location = std::numeric_limits< double >::quiet_NaN(); + break; } - else - { throw sample_size_error(1); } - return estimation; + return std::make_unique< UnivariateMeanEstimation >(location); } - std::unique_ptr< UnivariateLocationEstimation::Estimator > UnivariateMeanEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - MultivariateMeanEstimation::MultivariateMeanEstimation(const Eigen::VectorXd& location) - { _location = location; } + { + this->location = location; + } MultivariateMeanEstimation::MultivariateMeanEstimation(const MultivariateMeanEstimation& estimation) - { _location = estimation._location; } + { + this->location = estimation.location; + } MultivariateMeanEstimation::~MultivariateMeanEstimation() {} @@ -100,46 +103,55 @@ namespace statiskit std::unique_ptr< MultivariateLocationEstimation > MultivariateMeanEstimation::Estimator::operator() (const MultivariateData& data) const { - Eigen::VectorXd mu = Eigen::VectorXd(data.get_sample_space()->size()); + Eigen::VectorXd location = Eigen::VectorXd(data.get_nb_components()); UnivariateMeanEstimation::Estimator estimator = UnivariateMeanEstimation::Estimator(); - std::unique_ptr< UnivariateData > marginal; - for(Index index = 0, max_index = mu.size(); index < max_index; ++index) - { - marginal = data.extract(index); - mu(index) = estimator(*marginal)->get_location(); + for (Index index = 0, max_index = location.size(); index < max_index; ++index) { + std::unique_ptr< UnivariateData > marginal = data.select(index); + location(index) = estimator(*marginal)->get_location(); } - return std::make_unique< MultivariateMeanEstimation >(mu); + return std::make_unique< MultivariateMeanEstimation >(location); } - std::unique_ptr< MultivariateLocationEstimation::Estimator > MultivariateMeanEstimation::Estimator::copy() const - { return std::make_unique< MultivariateMeanEstimation::Estimator >(*this); } - const Eigen::VectorXd& MultivariateMeanEstimation::get_location() const - { return _location; } + { + return this->location; + } UnivariateDispersionEstimation::UnivariateDispersionEstimation(const double& location) - { _location = location; } + { + this->location = location; + } UnivariateDispersionEstimation::UnivariateDispersionEstimation(const UnivariateDispersionEstimation& estimation) - { _location = estimation._location; } + { + this->location = estimation.location; + } UnivariateDispersionEstimation::~UnivariateDispersionEstimation() {} const double& UnivariateDispersionEstimation::get_location() const - { return _location; } + { + return this->location; + } UnivariateDispersionEstimation::Estimator::~Estimator() {} MultivariateDispersionEstimation::MultivariateDispersionEstimation(const Eigen::VectorXd& location) - { _location = location; } + { + this->location = location; + } MultivariateDispersionEstimation::MultivariateDispersionEstimation(const MultivariateDispersionEstimation& estimation) - { _location = estimation._location; } + { + this->location = estimation.location; + } const Eigen::VectorXd& MultivariateDispersionEstimation::get_location() const - { return _location; } + { + return this->location; + } MultivariateDispersionEstimation::~MultivariateDispersionEstimation() {} @@ -147,35 +159,45 @@ namespace statiskit MultivariateDispersionEstimation::Estimator::~Estimator() {} - UnivariateVarianceEstimation::UnivariateVarianceEstimation(const double& location, const bool& bias, const double& dispersion) : UnivariateDispersionEstimation(location) + UnivariateVarianceEstimation::UnivariateVarianceEstimation(const double& location, const bool& bias, const double& dispersion) : PolymorphicCopy(location) { - _bias = bias; - _dispersion = dispersion; + this->bias = bias; + this->dispersion = dispersion; } - UnivariateVarianceEstimation::UnivariateVarianceEstimation(const UnivariateVarianceEstimation& estimation) : UnivariateDispersionEstimation(estimation) + UnivariateVarianceEstimation::UnivariateVarianceEstimation(const UnivariateVarianceEstimation& estimation) : PolymorphicCopy(estimation) { - _bias = estimation._bias; - _dispersion = estimation._dispersion; + this->bias = estimation.bias; + this->dispersion = estimation.dispersion; } UnivariateVarianceEstimation::~UnivariateVarianceEstimation() {} const bool& UnivariateVarianceEstimation::get_bias() const - { return _bias; } + { + return this->bias; + } const double& UnivariateVarianceEstimation::get_dispersion() const - { return _dispersion; } + { + return this->dispersion; + } UnivariateVarianceEstimation::Estimator::Estimator() - { _bias = false; } + { + this->bias = false; + } UnivariateVarianceEstimation::Estimator::Estimator(const bool& bias) - { _bias = bias; } + { + this->bias = bias; + } UnivariateVarianceEstimation::Estimator::Estimator(const Estimator& estimator) - { _bias = estimator._bias; } + { + this->bias = estimator.bias; + } UnivariateVarianceEstimation::Estimator::~Estimator() {} @@ -184,90 +206,92 @@ namespace statiskit { double total = data.compute_total(), total_square = 0.; std::unique_ptr< UnivariateDispersionEstimation > estimation; - if(total > 0) - { - double dispersion = 0.; - std::unique_ptr< UnivariateData::Generator > generator = data.generator(); - switch(data.get_sample_space()->get_outcome()) - { - case DISCRETE: - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->get_event(); - if(event && event->get_censoring() == censoring_type::NONE) - { - dispersion += generator->get_weight() * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location, 2) / total; - total_square += pow(generator->get_weight(), 2); - } - ++(*generator); + if (total <= 0) { + throw sample_size_error(1); + } + double dispersion = 0.; + std::unique_ptr< UnivariateData::Generator > generator = data.generator(); + switch (data.get_sample_space()->get_outcome()) { + case outcome_type::DISCRETE: + while(generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + dispersion += generator->get_weight() * pow(static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location, 2) / total; + total_square += pow(generator->get_weight(), 2); } - break; - case CONTINUOUS: - while(generator->is_valid()) - { - const UnivariateEvent* event = generator->get_event(); - if(event && event->get_censoring() == censoring_type::NONE) - { - dispersion += generator->get_weight() * pow(static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location, 2)/ total; - total_square += pow(generator->get_weight(), 2); - } - ++(*generator); + ++(*generator); + } + break; + case outcome_type::CONTINUOUS: + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(); + if (event && event->get_censoring() == censoring_type::NONE) { + dispersion += generator->get_weight() * pow(static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location, 2)/ total; + total_square += pow(generator->get_weight(), 2); } - break; - default: - dispersion = std::numeric_limits< double >::quiet_NaN(); - break; - } - if(!_bias) - { - total *= total; - dispersion *= total/(total - total_square); - } - estimation = std::make_unique< UnivariateVarianceEstimation >(location, _bias, dispersion); + ++(*generator); + } + break; + default: + dispersion = std::numeric_limits< double >::quiet_NaN(); + break; + } + if (!this->bias) { + total *= total; + dispersion *= total/(total - total_square); } - else - { throw sample_size_error(1); } - return estimation; + return std::make_unique< UnivariateVarianceEstimation >(location, this->bias, dispersion); } - std::unique_ptr< UnivariateDispersionEstimation::Estimator > UnivariateVarianceEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - const bool& UnivariateVarianceEstimation::Estimator::get_bias() const - { return _bias; } + { + return this->bias; + } void UnivariateVarianceEstimation::Estimator::set_bias(const bool& bias) - { _bias = bias; } + { + this->bias = bias; + } - MultivariateVarianceEstimation::MultivariateVarianceEstimation(const Eigen::VectorXd& location, const Eigen::MatrixXd& dispersion, const bool& bias) : MultivariateDispersionEstimation(location) + MultivariateVarianceEstimation::MultivariateVarianceEstimation(const Eigen::VectorXd& location, const Eigen::MatrixXd& dispersion, const bool& bias) : PolymorphicCopy(location) { - _dispersion = dispersion; - _bias = bias; + this->dispersion = dispersion; + this->bias = bias; } - MultivariateVarianceEstimation::MultivariateVarianceEstimation(const MultivariateVarianceEstimation& estimation) : MultivariateDispersionEstimation(estimation) + MultivariateVarianceEstimation::MultivariateVarianceEstimation(const MultivariateVarianceEstimation& estimation) : PolymorphicCopy(estimation) { - _dispersion = estimation._dispersion; - _bias = estimation._bias; + this->dispersion = estimation.dispersion; + this->bias = estimation.bias; } MultivariateVarianceEstimation::~MultivariateVarianceEstimation() {} const bool& MultivariateVarianceEstimation::get_bias() const - { return _bias; } + { + return this->bias; + } const Eigen::MatrixXd& MultivariateVarianceEstimation::get_dispersion() const - { return _dispersion; } + { + return this->dispersion; + } MultivariateVarianceEstimation::Estimator::Estimator() - { _bias = false; } + { + this->bias = false; + } MultivariateVarianceEstimation::Estimator::Estimator(const bool& bias) - { _bias = bias; } + { + this->bias = bias; + } MultivariateVarianceEstimation::Estimator::Estimator(const Estimator& estimator) - { _bias = estimator._bias; } + { + this->bias = estimator.bias; + } MultivariateVarianceEstimation::Estimator::~Estimator() {} @@ -275,58 +299,52 @@ namespace statiskit std::unique_ptr< MultivariateDispersionEstimation > MultivariateVarianceEstimation::Estimator::operator() (const MultivariateData& data, const Eigen::VectorXd& location) const { Eigen::MatrixXd dispersion = Eigen::MatrixXd(location.size(), location.size()); - for(Index i = 0, max_i = location.size(); i < max_i; ++i) - { - dispersion(i, i) = compute(data, location, i, i); - for(Index j = 0; j < i; ++j) - { - dispersion(i, j) = compute(data, location, i, j); - dispersion(j, i) = dispersion(i, j); + for (Index row = 0, max_row = location.size(); row < max_row; ++row) { + dispersion(row, row) = compute(data, location, row, row); + for (Index column = 0; column < row; ++column) { + dispersion(row, column) = compute(data, location, row, column); + dispersion(column, row) = dispersion(row, column); } } - if(!_bias) - {} - return std::make_unique< MultivariateVarianceEstimation >(location, dispersion, _bias); + return std::make_unique< MultivariateVarianceEstimation >(location, dispersion, this->bias); } - std::unique_ptr< MultivariateDispersionEstimation::Estimator > MultivariateVarianceEstimation::Estimator::copy() const - { return std::make_unique< Estimator >(*this); } - const bool& MultivariateVarianceEstimation::Estimator::get_bias() const - { return _bias; } + { + return this->bias; + } void MultivariateVarianceEstimation::Estimator::set_bias(const bool& bias) - { _bias = bias; } + { + this->bias = bias; + } double MultivariateVarianceEstimation::Estimator::compute(const MultivariateData& data, const Eigen::VectorXd& location, const Index& i, const Index& j) const { - double codispersion = 0., total = 0., total_square = 0.; - switch(data.get_sample_space(i)->get_outcome()) - { - case CATEGORICAL: + double codispersion = 0.; + double total = 0.; + double total_square = 0.; + switch (data.get_sample_space(i)->get_outcome()) { + case outcome_type::CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); break; - case DISCRETE: - switch(data.get_sample_space(j)->get_outcome()) - { - case CATEGORICAL: + case outcome_type::DISCRETE: + switch (data.get_sample_space(j)->get_outcome()) { + case outcome_type::CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); break; - case DISCRETE: + case outcome_type::DISCRETE: { std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - double _codispersion = 0; + while (generator->is_valid()) { + double local_codispersion = 0; const UnivariateEvent* event = generator->get_event(i); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); event = generator->get_event(j); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->get_weight(); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); + codispersion += local_codispersion * generator->get_weight(); total += generator->get_weight(); total_square += pow(generator->get_weight(), 2); } @@ -335,21 +353,19 @@ namespace statiskit } } break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: { std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - double _codispersion = 0; + while (generator->is_valid()) { + double local_codispersion = 0; const UnivariateEvent* event = generator->get_event(i); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion = static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(i); event = generator->get_event(j); if(event && event->get_censoring() == censoring_type::NONE) { - _codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->get_weight(); + local_codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); + codispersion += local_codispersion * generator->get_weight(); total += generator->get_weight(); total_square += pow(generator->get_weight(), 2); } @@ -360,27 +376,24 @@ namespace statiskit break; } break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: switch(data.get_sample_space(j)->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: codispersion = std::numeric_limits< double >::quiet_NaN(); break; - case DISCRETE: + case outcome_type::DISCRETE: { std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - double _codispersion = 0; + while (generator->is_valid()) { + double local_codispersion = 0; const UnivariateEvent* event = generator->get_event(i); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); event = generator->get_event(j); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->get_weight(); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion *= static_cast< const DiscreteElementaryEvent* >(event)->get_value() - location(j); + codispersion += local_codispersion * generator->get_weight(); total += generator->get_weight(); total_square += pow(generator->get_weight(), 2); } @@ -389,21 +402,20 @@ namespace statiskit } } break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: { std::unique_ptr< MultivariateData::Generator > generator = data.generator(); while(generator->is_valid()) { - double _codispersion = 0; + double local_codispersion = 0; const UnivariateEvent* event = generator->get_event(i); if(event && event->get_censoring() == censoring_type::NONE) { - _codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); + local_codispersion = static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(i); event = generator->get_event(j); - if(event && event->get_censoring() == censoring_type::NONE) - { - _codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); - codispersion += _codispersion * generator->get_weight(); + if (event && event->get_censoring() == censoring_type::NONE) { + local_codispersion *= static_cast< const ContinuousElementaryEvent* >(event)->get_value() - location(j); + codispersion += local_codispersion * generator->get_weight(); total += generator->get_weight(); total_square += pow(generator->get_weight(), 2); } @@ -416,793 +428,11 @@ namespace statiskit break; } codispersion /= total; - if(!_bias) + if(!this->bias) { total = pow(total, 2.); codispersion *= total / (total - total_square); } return codispersion; } - /*CoVarianceEstimation::CoVarianceEstimation(const std::array< double, 2 >& locations) - { _locations = locations; } - - CoVarianceEstimation::CoVarianceEstimation(const CoVarianceEstimation& estimation) - { _locations = estimation._locations; } - - const std::array< double, 2 >& CoVarianceEstimation::get_locations() const - { return _locations; } - - std::unique_ptr< CoVarianceEstimation > CoVarianceEstimation::Estimator::operator() (const UnivariateData& data) const - { - UnivariateMeanEstimation::Estimator estimator = UnivariateMeanEstimation::Estimator(); - std::unique_ptr< MeanEstimation > estimation = estimator(data); - double location = estimation->get_location(); - return operator() (data, location); - } - - std::unique_ptr< CoVarianceEstimation > CoVarianceEstimation::Estimator::operator() (const UnivariateData& data, const double& location) const - { - std::unique_ptr< MultivariateDataFrame > datas = std::make_unique< MultivariateDataFrame >(); - datas->append_component(data); - datas->append_component(data); - std::array< double, 2 > locations{ {location, location} }; - return operator() (0, 1, datas, locations); - } - - std::unique_ptr< CoVarianceEstimation > CoVarianceEstimation::Estimator::operator() (const Index& i, const Index& j, const std::unique_ptr< MultivariateDataFrame > data) const - { - UnivariateMeanEstimation::Estimator estimator = UnivariateMeanEstimation::Estimator(); - std::unique_ptr< MeanEstimation > estimation_i = estimator(data.get_component(i)); - std::unique_ptr< MeanEstimation > estimation_j = estimator(data.get_component(j)); - std::array< double, 2 > locations{ {estimation_i->get_location(), estimation_j->get_location()} }; - return operator() (i, j, data, locations); - } - - NaturalCoVarianceEstimation::NaturalCoVarianceEstimation(const std::array< double, 2 >& locations, const double& codispersion, const bool& bias) : CoVarianceEstimation(locations) - { - _codispersion = codispersion; - _bias = bias; - } - - NaturalCoVarianceEstimation::NaturalCoVarianceEstimation(const NaturalCoVarianceEstimation& estimation) : CoVarianceEstimation(estimation) - { - _codispersion = estimation._codispersion; - _bias = estimation._bias; - } - - const bool& NaturalCoVarianceEstimation::get_bias() const - { return _bias; } - - const double& NaturalCoVarianceEstimation::get_codispersion() const - { return _codispersion; } - - NaturalCoVarianceEstimation::Estimator::Estimator(const bool& bias) - { _bias = bias; } - - NaturalCoVarianceEstimation::Estimator::Estimator(const Estimator& estimator) - { _bias = estimator._bias; } - - std::unique_ptr< CoVarianceEstimation > NaturalCoVarianceEstimation::Estimator::operator() (const Index& i, const Index& j, const std::unique_ptr< MultivariateDataFrame > data, const std::array< double, 2 >& locations) const - { - if(!data) - { throw std::runtime_error("None"); } - if(!*data) - { throw std::runtime_error("invalid"); } - double total = data.compute_total(), codispersion; - if(total > 0 && data.size() > 0 && boost::math::isfinite(locations.at(0) + locations.at(1))) - { - Index index = 0, max_index = data.size(); - double total_square = 0; - const UnivariateData&& data_i = data.get_component(i), data_j = data.get_component(j); - switch(data_i->get_sample_space()->get_outcome()) - { - case CATEGORICAL: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - case DISCRETE: - switch(data_j->get_sample_space()->get_outcome()) - { - case CATEGORICAL: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - case DISCRETE: - codispersion = 0.; - while(boost::math::isfinite(codispersion) && index < max_index) - { - const UnivariateEvent* event_i = data_i->get_event(index); - if(event_i && event_i->get_event() == ELEMENTARY) - { - const UnivariateEvent* event_j = data_j->get_event(index); - if(event_j && event_j->get_event() == ELEMENTARY) - { - codispersion += data.get_weight(index) * (static_cast< const DiscreteElementaryEvent* >(event_i)->get_value() - locations.at(i)) * (static_cast< const DiscreteElementaryEvent* >(event_j)->get_value() - locations.at(j)) / total; - total_square += pow(data.get_weight(index), 2); - } - } - ++index; - } - break; - case CONTINUOUS: - codispersion = 0.; - while(boost::math::isfinite(codispersion) && index < max_index) - { - const UnivariateEvent* event_i = data_i->get_event(index); - if(event_i && event_i->get_event() == ELEMENTARY) - { - const UnivariateEvent* event_j = data_j->get_event(index); - if(event_j && event_j->get_event() == ELEMENTARY) - { - codispersion += data.get_weight(index) * (static_cast< const DiscreteElementaryEvent* >(event_i)->get_value() - locations.at(i)) * (static_cast< const ContinuousElementaryEvent* >(event_j)->get_value() - locations.at(j)) / total; - total_square += pow(data.get_weight(index), 2); - } - } - ++index; - } - break; - } - break; - case CONTINUOUS: - switch(data_j->get_sample_space()->get_outcome()) - { - case CATEGORICAL: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - case DISCRETE: - codispersion = 0.; - while(boost::math::isfinite(codispersion) && index < max_index) - { - const UnivariateEvent* event_i = data_i->get_event(index); - if(event_i && event_i->get_event() == ELEMENTARY) - { - const UnivariateEvent* event_j = data_j->get_event(index); - if(event_j && event_j->get_event() == ELEMENTARY) - { - codispersion += data.get_weight(index) * (static_cast< const ContinuousElementaryEvent* >(event_i)->get_value() - locations.at(i)) * (static_cast< const DiscreteElementaryEvent* >(event_j)->get_value() - locations.at(j)) / total; - total_square += pow(data.get_weight(index), 2); - } - } - ++index; - } - break; - case CONTINUOUS: - codispersion = 0.; - while(boost::math::isfinite(codispersion) && index < max_index) - { - const UnivariateEvent* event_i = data_i->get_event(index); - if(event_i && event_i->get_event() == ELEMENTARY) - { - const UnivariateEvent* event_j = data_j->get_event(index); - if(event_j && event_j->get_event() == ELEMENTARY) - { - codispersion += data.get_weight(index) * (static_cast< const ContinuousElementaryEvent* >(event_i)->get_value() - locations.at(i)) * (static_cast< const ContinuousElementaryEvent* >(event_j)->get_value() - locations.at(j)) / total; - total_square += pow(data.get_weight(index), 2); - } - } - ++index; - } - break; - } - break; - } - if(boost::math::isfinite(codispersion) && !_bias) - { - total *= total; - codispersion *= total / (total - total_square); - } - } - else - { codispersion = std::numeric_limits< double >::quiet_NaN(); } - return std::make_unique< NaturalCoVarianceEstimation >(locations, codispersion, _bias); - } - - const bool& NaturalCoVarianceEstimation::Estimator::get_bias() const - { return _bias; } - - void NaturalCoVarianceEstimation::Estimator::set_bias(const bool& bias) - { _bias = bias; } - - /*double MomentEstimator::operator() (const std::array< const UnivariateData*, 3 >& df) const - { - std::array< double, 3 > location{ {(*this)(df.at(0), na_omit), - (*this)(df.at(1), na_omit), - (*this)(df.at(2), na_omit)} }; - return (*this)(df, location, na_omit); - } - - double MomentEstimator::operator() (const std::array< const UnivariateData*, 3 >& df, const std::array< double, 3 >& location) const - { - std::array< double, 3 > stderror{ {(*this)(std::array< const UnivariateData*, 2 >{ {df.at(0), df.at(0)} }, std::array< double, 2 >{ {location.at(0), location.at(0)} }, na_omit), - (*this)(std::array< const UnivariateData*, 2 >{ {df.at(1), df.at(1)} }, std::array< double, 2 >{ {location.at(1), location.at(1)} }, na_omit), - (*this)(std::array< const UnivariateData*, 2 >{ {df.at(2), df.at(2)} }, std::array< double, 2 >{ {location.at(2), location.at(2)} }, na_omit)} }; - stderror.at(0) = sqrt(stderror.at(0)); - stderror.at(1) = sqrt(stderror.at(1)); - stderror.at(2) = sqrt(stderror.at(2)); - return (*this)(df, location, stderror, na_omit); - } - - double MomentEstimator::operator() (const std::array< const UnivariateData*, 4 >& df) const - { - std::array< double, 4 > location{ {(*this)(df.at(0), na_omit), - (*this)(df.at(1), na_omit), - (*this)(df.at(2), na_omit), - (*this)(df.at(3), na_omit)} }; - return (*this)(df, location, na_omit); - } - - double MomentEstimator::operator() (const std::array< const UnivariateData*, 4 >& df, const std::array< double, 4 >& location) const - { - std::array< double, 4 > stderror{ {(*this)(std::array< const UnivariateData*, 2 >{ {df.at(0), df.at(0)} }, std::array< double, 2 >{ {location.at(0), location.at(0)} }, na_omit), - (*this)(std::array< const UnivariateData*, 2 >{ {df.at(1), df.at(1)} }, std::array< double, 2 >{ {location.at(1), location.at(1)} }, na_omit), - (*this)(std::array< const UnivariateData*, 2 >{ {df.at(2), df.at(2)} }, std::array< double, 2 >{ {location.at(2), location.at(2)} }, na_omit), - (*this)(std::array< const UnivariateData*, 2 >{ {df.at(3), df.at(3)} }, std::array< double, 2 >{ {location.at(3), location.at(3)} }, na_omit)} }; - stderror.at(0) = sqrt(stderror.at(0)); - stderror.at(1) = sqrt(stderror.at(1)); - stderror.at(2) = sqrt(stderror.at(2)); - stderror.at(3) = sqrt(stderror.at(3)); - return (*this)(df, location, stderror, na_omit); - } - - NaturalMomentEstimator::NaturalMomentEstimator(const bool& biased) - { _biased = biased; } - - NaturalMomentEstimator::NaturalMomentEstimator(const NaturalMomentEstimator& estimator) - { _biased = estimator._biased; } - - NaturalMomentEstimator::~NaturalMomentEstimator() - {} - - double NaturalMomentEstimator::operator() (const UnivariateData* df) const - { - double total; - if(df && df->get_sample_space()->get_outcome() != CATEGORICAL) - { total = df->compute_total(na_omit); } - else - { total = std::numeric_limits< double >::quiet_NaN(); } - double location; - if(boost::math::isfinite(total)) - { - location = 0.; - switch(df->get_sample_space()->get_outcome()) - { - case DISCRETE: - for(Index index = 0, max_index = df->size(); index < max_index; ++index) - { location += get_value< DiscreteEvent >(df, index, na_omit)/total; } - break; - case CONTINUOUS: - for(Index index = 0, max_index = df->size(); index < max_index; ++index) - { location += get_value< ContinuousEvent >(df, index, na_omit)/total; } - break; - default: - location = std::numeric_limits< double >::quiet_NaN(); - break; - } - } - else - { location = total; } - return location; - } - - double NaturalMomentEstimator::operator() (const std::array< const UnivariateData*, 2 >& df, const std::array< double, 2 >& location) const - { - double total; - if(df.at(0) && df.at(1) && df.at(0)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(1)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(0)->size() == df.at(1)->size()) - { total = std::min(df.at(0)->compute_total(na_omit), df.at(1)->compute_total(na_omit)); } - else - { total = std::numeric_limits< double >::quiet_NaN(); } - double codispersion; - if(boost::math::isfinite(total)) - { - codispersion = 0.; - Index index = 0; - std::array< Index, 2 > max_index{ {df.at(0)->size(), df.at(1)->size()} }; - switch(df.at(0)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1)) - { - codispersion += (get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0]) * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1)) - { - codispersion += (get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0]) * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/total; - ++index; - } - break; - default: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1)) - { - codispersion += (get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0]) * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1)) - { - codispersion += (get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0]) * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/total; - ++index; - } - break; - default: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - codispersion = std::numeric_limits< double >::quiet_NaN(); - break; - } - if(boost::math::isfinite(codispersion) && !_biased) - { codispersion *= total/(total-1); } - } - else - { codispersion = total; } - return codispersion; - } - - double NaturalMomentEstimator::operator() (const std::array< const UnivariateData*, 3 >& df, const std::array& location, const std::array& stderror) const - { - double total; - if(df.at(0) && df.at(1) && df.at(2) && df.at(0)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(1)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(2)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(0)->size() == df.at(1)->size() && df.at(1)->size() == df.at(2)->size()) - { total = std::min(df.at(0)->compute_total(na_omit), std::min(df.at(1)->compute_total(na_omit), df.at(2)->compute_total(na_omit))); } - else - { total = std::numeric_limits< double >::quiet_NaN(); } - double coskewness; - if(boost::math::isfinite(total)) - { - coskewness = 0.; - Index index = 0; - std::array< Index, 3 > max_index{ {df.at(0)->size(), df.at(1)->size(), df.at(2)->size()} }; - switch(df.at(0)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< DiscreteEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2)) - { - coskewness += ((get_value< ContinuousEvent >(df.at(0), index, location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1), index, location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2), index, location[2], na_omit)-location[2])/stderror[2])/total; - ++index; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - coskewness = std::numeric_limits< double >::quiet_NaN(); - break; - } - if(boost::math::isfinite(coskewness) && !_biased) - { coskewness *= total/(total-1)*total/(total-2); } - } - else - { coskewness = total; } - return coskewness; - } - - double NaturalMomentEstimator::operator() (const std::array< const UnivariateData*, 4 >& df, const std::array& location, const std::array& stderror) const - { - double total; - if(df.at(0) && df.at(1) && df.at(2) && df.at(3) && df.at(0)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(1)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(2)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(3)->get_sample_space()->get_outcome() != CATEGORICAL && df.at(0)->size() == df.at(1)->size() && df.at(1)->size() == df.at(2)->size() && df.at(2)->size() == df.at(3)->size()) - { total = std::min(df.at(0)->compute_total(na_omit), std::min(df.at(1)->compute_total(na_omit), std::min(df.at(2)->compute_total(na_omit), df.at(3)->compute_total(na_omit)))); } - else - { total = std::numeric_limits< double >::quiet_NaN(); } - double cokurtosis; - if(boost::math::isfinite(total)) - { - cokurtosis = 0.; - Index index = 0; - std::array< Index, 4 > max_index = { {df.at(0)->size(), df.at(1)->size(), df.at(2)->size(), df.at(3)->size()} }; - switch(df.at(0)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< DiscreteEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(1)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(2)->get_sample_space()->get_outcome()) - { - case DISCRETE: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< DiscreteEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< DiscreteEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - case CONTINUOUS: - switch(df.at(3)->get_sample_space()->get_outcome()) - { - case DISCRETE: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< DiscreteEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - break; - case CONTINUOUS: - while(index < max_index.at(0) || index < max_index.at(1) || index < max_index.at(2) || index < max_index.at(3)) - { - cokurtosis += ((get_value< ContinuousEvent >(df.at(0)->get_event(index).get(), location[0], na_omit)-location[0])/stderror[0] * - (get_value< ContinuousEvent >(df.at(1)->get_event(index).get(), location[1], na_omit)-location[1])/stderror[1] * - (get_value< ContinuousEvent >(df.at(2)->get_event(index).get(), location[2], na_omit)-location[2])/stderror[2] * - (get_value< ContinuousEvent >(df.at(3)->get_event(index).get(), location[3], na_omit)-location[3])/stderror[3])/total; - ++index; - } - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - break; - default: - cokurtosis = std::numeric_limits< double >::quiet_NaN(); - break; - } - if(boost::math::isfinite(cokurtosis) && !_biased) - { - cokurtosis *= total/(total-1)*total/(total-2)*(total+1)/(total-3); - cokurtosis -= 3*(total-1)*(total-1)/((total-2)*(total-3)); - } - else - { cokurtosis -= 3.; } - } - else - { cokurtosis = total; } - return cokurtosis; - } - - const bool& NaturalMomentEstimator::get_biased() const - { return _biased; } - - std::unique_ptr< MomentEstimator > NaturalMomentEstimator::copy() const - { return std::make_unique< NaturalMomentEstimator >(*this); }*/ } diff --git a/src/cpp/indicator.h b/src/cpp/indicator.h index a0cbc3f0..70a000ec 100644 --- a/src/cpp/indicator.h +++ b/src/cpp/indicator.h @@ -10,37 +10,49 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateLocationEstimation { + using copy_type = UnivariateLocationEstimation; + virtual ~UnivariateLocationEstimation() = 0; virtual const double& get_location() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; + struct STATISKIT_CORE_API Estimator { + using copy_type = Estimator; + virtual ~Estimator() = 0; virtual std::unique_ptr< UnivariateLocationEstimation > operator() (const UnivariateData& data) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; }; struct STATISKIT_CORE_API MultivariateLocationEstimation { + using copy_type = MultivariateLocationEstimation; + virtual ~MultivariateLocationEstimation() = 0; virtual const Eigen::VectorXd& get_location() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; + struct STATISKIT_CORE_API Estimator { + using copy_type = Estimator; + virtual ~Estimator() = 0; virtual std::unique_ptr< MultivariateLocationEstimation > operator() (const MultivariateData& data) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; }; - class STATISKIT_CORE_API UnivariateMeanEstimation : public UnivariateLocationEstimation + class STATISKIT_CORE_API UnivariateMeanEstimation : public PolymorphicCopy { public: UnivariateMeanEstimation(const double& location); @@ -49,22 +61,20 @@ namespace statiskit virtual const double& get_location() const; - struct STATISKIT_CORE_API Estimator : UnivariateLocationEstimation::Estimator + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); virtual std::unique_ptr< UnivariateLocationEstimation > operator() (const UnivariateData& data) const; - - virtual std::unique_ptr< UnivariateLocationEstimation::Estimator > copy() const; }; protected: - double _location; + double location; }; - class STATISKIT_CORE_API MultivariateMeanEstimation : public MultivariateLocationEstimation + class STATISKIT_CORE_API MultivariateMeanEstimation : public PolymorphicCopy { public: MultivariateMeanEstimation(const Eigen::VectorXd& location); @@ -73,24 +83,24 @@ namespace statiskit virtual const Eigen::VectorXd& get_location() const; - struct STATISKIT_CORE_API Estimator : MultivariateLocationEstimation::Estimator + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); virtual std::unique_ptr< MultivariateLocationEstimation > operator() (const MultivariateData& data) const; - - virtual std::unique_ptr< MultivariateLocationEstimation::Estimator > copy() const; }; protected: - Eigen::VectorXd _location; + Eigen::VectorXd location; }; class STATISKIT_CORE_API UnivariateDispersionEstimation { public: + using copy_type = UnivariateDispersionEstimation; + UnivariateDispersionEstimation(const double& location); UnivariateDispersionEstimation(const UnivariateDispersionEstimation& estimation); virtual ~UnivariateDispersionEstimation() = 0; @@ -99,22 +109,28 @@ namespace statiskit virtual const double& get_dispersion() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; + struct STATISKIT_CORE_API Estimator { + using copy_type = Estimator; + virtual ~Estimator() = 0; virtual std::unique_ptr< UnivariateDispersionEstimation > operator() (const UnivariateData& data, const double& location) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; protected: - double _location; + double location; }; class STATISKIT_CORE_API MultivariateDispersionEstimation { public: + using copy_type = MultivariateDispersionEstimation; + MultivariateDispersionEstimation(const Eigen::VectorXd& location); MultivariateDispersionEstimation(const MultivariateDispersionEstimation& estimation); virtual ~MultivariateDispersionEstimation() = 0; @@ -123,20 +139,24 @@ namespace statiskit virtual const Eigen::MatrixXd& get_dispersion() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; + struct STATISKIT_CORE_API Estimator { + using copy_type = Estimator; + virtual ~Estimator() = 0; virtual std::unique_ptr< MultivariateDispersionEstimation > operator() (const MultivariateData& data, const Eigen::VectorXd& location) const = 0; - virtual std::unique_ptr< Estimator > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; }; protected: - Eigen::VectorXd _location; + Eigen::VectorXd location; }; - class STATISKIT_CORE_API UnivariateVarianceEstimation : public UnivariateDispersionEstimation + class STATISKIT_CORE_API UnivariateVarianceEstimation : public PolymorphicCopy { public: UnivariateVarianceEstimation(const double& location, const bool& bias, const double& dispersion); @@ -147,7 +167,7 @@ namespace statiskit virtual const double& get_dispersion() const; - class STATISKIT_CORE_API Estimator : public UnivariateDispersionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); @@ -157,21 +177,19 @@ namespace statiskit virtual std::unique_ptr< UnivariateDispersionEstimation > operator() (const UnivariateData& data, const double& location) const; - virtual std::unique_ptr< UnivariateDispersionEstimation::Estimator > copy() const; - const bool& get_bias() const; void set_bias(const bool& bias); protected: - bool _bias; + bool bias; }; protected: - bool _bias; - double _dispersion; + bool bias; + double dispersion; }; - class STATISKIT_CORE_API MultivariateVarianceEstimation : public MultivariateDispersionEstimation + class STATISKIT_CORE_API MultivariateVarianceEstimation : public PolymorphicCopy { public: MultivariateVarianceEstimation(const Eigen::VectorXd& location, const Eigen::MatrixXd& dispersion, const bool& bias); @@ -182,7 +200,7 @@ namespace statiskit virtual const Eigen::MatrixXd& get_dispersion() const; - class STATISKIT_CORE_API Estimator : public MultivariateDispersionEstimation::Estimator + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); @@ -192,123 +210,17 @@ namespace statiskit virtual std::unique_ptr< MultivariateDispersionEstimation > operator() (const MultivariateData& data, const Eigen::VectorXd& location) const; - virtual std::unique_ptr< MultivariateDispersionEstimation::Estimator > copy() const; - const bool& get_bias() const; void set_bias(const bool& bias); protected: - bool _bias; + bool bias; double compute(const MultivariateData& data, const Eigen::VectorXd& location, const Index& i, const Index& j) const; }; protected: - bool _bias; - Eigen::MatrixXd _dispersion; + bool bias; + Eigen::MatrixXd dispersion; }; - - /*class CoVarianceEstimation - { - public: - CoVarianceEstimation(const std::array< double, 2 >& locations); - CoVarianceEstimation(const CoVarianceEstimation& estimation); - - const std::array< double, 2 >& get_locations() const; - - virtual const double& get_dispersion() const = 0; - - struct Estimator - { - std::unique_ptr< CoVarianceEstimation > operator() (const UnivariateData& data) const; - std::unique_ptr< CoVarianceEstimation > operator() (const UnivariateData& data, const double& location) const; - std::unique_ptr< CoVarianceEstimation > operator() (const Index& i, const Index& j, const std::unique_ptr< MultivariateDataFrame > data) const; - virtual std::unique_ptr< CoVarianceEstimation > operator() (const Index& i, const Index& j, const std::unique_ptr< MultivariateDataFrame > data, const std::array< double, 2 >& locations) const = 0; - }; - - protected: - std::array< double, 2 > _locations; - }; - - class NaturalCoVarianceEstimation : public CoVarianceEstimation - { - public: - NaturalCoVarianceEstimation(const std::array< double, 2 >& locations, const double& covariance, const bool& bias); - NaturalCoVarianceEstimation(const NaturalCoVarianceEstimation& estimation); - - const bool& get_bias() const; - - virtual const double& get_covariance() const; - - class Estimator : public CoVarianceEstimation::Estimator - { - public: - Estimator(const bool& bias); - Estimator(const Estimator& estimator); - - using CoVarianceEstimation::Estimator::operator(); - virtual std::unique_ptr< CoVarianceEstimation > operator() (const Index& i, const Index& j, const std::unique_ptr< MultivariateDataFrame > data, const std::array< double, 2 >& locations) const; - - const bool& get_bias() const; - void set_bias(const bool& bias); - - protected: - bool _bias; - }; - - protected: - double _covariance; - bool _bias; - };*/ - - /*struct CoSkewnessEstimator - { - virtual double operator() (const UnivariateData& df) const; - virtual double operator() (const Index& i, const Index& j, const Index& k, const MultivariateDataFrame& df, const bool& na_omit=true) const = 0; - }; - - struct CoKurtosisEstimator - { - virtual double operator() (const UnivariateData& df, const bool& na_omit=true) const; - virtual double operator() (const Index& i, const Index& j, const Index& k, const Index& l, const MultivariateDataFrame& df, const bool& na_omit=true) const = 0; - };*/ - - /*struct MomentEstimator - { - virtual double operator() (const UnivariateData* df, const bool& na_omit=true) const = 0; - virtual double operator() (const std::array< const UnivariateData*, 2 >& df, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 2 >& df, const std::array& location, const bool& na_omit=true) const = 0; - virtual double operator() (const std::array< const UnivariateData*, 3 >& df, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 3 >& df, const std::array& location, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 3 >& df, const std::array& location, const std::array& stderror, const bool& na_omit=true) const = 0; - virtual double operator() (const std::array< const UnivariateData*, 4 >& df, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 4 >& df, const std::array& location, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 4 >& df, const std::array& location, const std::array& stderror, const bool& na_omit=true) const = 0; - - virtual std::unique_ptr< MomentEstimator > copy() const = 0; - }; - - class NaturalMomentEstimator : public MomentEstimator - { - public: - NaturalMomentEstimator(const bool& biased=false); - NaturalMomentEstimator(const NaturalMomentEstimator& estimator); - virtual ~NaturalMomentEstimator(); - - virtual double operator() (const UnivariateData* df, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 2 >& df, const std::array& location, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 3 >& df, const std::array& location, const std::array& stderror, const bool& na_omit=true) const; - virtual double operator() (const std::array< const UnivariateData*, 4 >& df, const std::array& location, const std::array& stderror, const bool& na_omit=true) const; - - const bool& get_biased() const; - - virtual std::unique_ptr< MomentEstimator > copy() const; - - protected: - bool _biased; - - template double get_value(const UnivariateData* data, const Index& index, const bool& na_omit=true) const; - template double get_value(const UnivariateData* data, const Index& index, const double& location, const bool& na_omit=true) const; - template double get_value(const UnivariateEvent* event, const double& completion, const bool& na_omit=true) const; - };*/ } \ No newline at end of file diff --git a/src/cpp/optimization.h b/src/cpp/optimization.h index ee599139..4b21c536 100644 --- a/src/cpp/optimization.h +++ b/src/cpp/optimization.h @@ -1,4 +1,5 @@ #pragma once + #include "base.h" namespace statiskit diff --git a/src/cpp/sample_space.cpp b/src/cpp/sample_space.cpp index d632fb82..e17dd455 100644 --- a/src/cpp/sample_space.cpp +++ b/src/cpp/sample_space.cpp @@ -1,3 +1,8 @@ +#include + +#include +#include + #include "sample_space.h" #include "data.h" @@ -7,7 +12,9 @@ namespace statiskit {} CategoricalSampleSpace::CategoricalSampleSpace(const std::set< std::string >& values) - { this->values = std::make_shared< std::set< std::string > >(values); } + { + this->values = std::make_shared< std::set< std::string > >(values); + } CategoricalSampleSpace::CategoricalSampleSpace(const CategoricalSampleSpace& sample_space) { @@ -19,27 +26,35 @@ namespace statiskit {} const std::set< std::string >& CategoricalSampleSpace::get_values() const - { return *(this->values.get()); } + { + return *(this->values.get()); + } encoding_type CategoricalSampleSpace::get_encoding() const - { return this->encoding; } + { + return this->encoding; + } Index CategoricalSampleSpace::get_cardinality() const - { return this->values->size(); } + { + return this->values->size(); + } outcome_type CategoricalSampleSpace::get_outcome() const - { return CATEGORICAL; } + { + return outcome_type::CATEGORICAL; + } bool CategoricalSampleSpace::is_compatible(const UnivariateEvent* event) const { bool compatible = !event; if (!compatible) { - if (event->get_outcome() == CATEGORICAL) { - switch (event->get_event()) { - case ELEMENTARY: + if (event->get_outcome() == outcome_type::CATEGORICAL) { + switch (event->get_censoring()) { + case censoring_type::NONE: compatible = this->is_compatible_value(static_cast< const CategoricalElementaryEvent* >(event)->get_value()); break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< std::string >& values = static_cast< const CategoricalCensoredEvent* >(event)->get_values(); std::vector< std::string >::const_iterator it = values.cbegin(), ite = values.cend(); @@ -60,7 +75,9 @@ namespace statiskit } bool CategoricalSampleSpace::is_compatible_value(const std::string& value) const - { return this->values->find(value) != this->values->end(); } + { + return this->values->find(value) != this->values->end(); + } NominalSampleSpace::NominalSampleSpace(const std::set< std::string >& values) : CategoricalSampleSpace(values) { @@ -80,10 +97,14 @@ namespace statiskit {} ordering_type NominalSampleSpace::get_ordering() const - { return NONE; } + { + return ordering_type::NONE; + } const std::string& NominalSampleSpace::get_reference() const - { return *(this->reference); } + { + return *(this->reference); + } void NominalSampleSpace::set_reference(const std::string& reference) { @@ -105,7 +126,7 @@ namespace statiskit void NominalSampleSpace::set_encoding(const encoding_type& encoding) { - if (encoding > DEVIATION) { + if (encoding > encoding_type::DEVIATION) { throw std::runtime_error("invalid encoding"); } this->encoding = encoding; @@ -123,7 +144,7 @@ namespace statiskit } else { Index index = std::distance(this->values->cbegin(), it), ref_index = std::distance(this->values->cbegin(), this->reference); switch (this->encoding) { - case TREATMENT: + case encoding_type::TREATMENT: dummy = Eigen::RowVectorXd::Zero(cardinality); if (index < ref_index) { dummy(index) = 1; @@ -132,7 +153,7 @@ namespace statiskit dummy(index) = 1; } break; - case DEVIATION: + case encoding_type::DEVIATION: if (index == ref_index) { dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); } else { @@ -156,7 +177,9 @@ namespace statiskit } std::unique_ptr< OrdinalSampleSpace > NominalSampleSpace::as_ordinal() const - { return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(this->values->cbegin(), this->values->cend())); } + { + return std::make_unique< OrdinalSampleSpace >(std::vector< std::string >(this->values->cbegin(), this->values->cend())); + } std::unique_ptr< UnivariateSampleSpace > NominalSampleSpace::copy() const { return std::make_unique< NominalSampleSpace >(*this); } @@ -180,10 +203,14 @@ namespace statiskit {} ordering_type OrdinalSampleSpace::get_ordering() const - { return TOTAL; } + { + return ordering_type::TOTAL; + } void OrdinalSampleSpace::set_encoding(const encoding_type& encoding) - { this->encoding = encoding; } + { + this->encoding = encoding; + } Eigen::RowVectorXd OrdinalSampleSpace::encode(const std::string& value) const { @@ -197,14 +224,14 @@ namespace statiskit dummy = std::numeric_limits< double >::quiet_NaN() * Eigen::RowVectorXd::Ones(cardinality); } else { switch (this->encoding) { - case TREATMENT: + case encoding_type::TREATMENT: index = (*this->rank)[std::distance(this->values->cbegin(), it)]; dummy = Eigen::RowVectorXd::Zero(cardinality); if (index < cardinality) { dummy(index) = 1; } break; - case DEVIATION: + case encoding_type::DEVIATION: if (index == cardinality) { dummy = -1 * Eigen::RowVectorXd::Ones(cardinality); } else { @@ -214,7 +241,7 @@ namespace statiskit } } break; - case CUMULATIVE: + case encoding_type::CUMULATIVE: dummy = Eigen::RowVectorXd::Zero(cardinality); for (index = 0, max_index = std::min(cardinality, (*this->rank)[std::distance(this->values->cbegin(), it)]); index < max_index; ++index) { dummy(index) = 1; @@ -246,48 +273,55 @@ namespace statiskit std::shared_ptr< std::vector< Index > > rank = std::make_shared< std::vector< Index > >(ordered.size(), ordered.size()); for (Index size = 0, max_size = ordered.size(); size < max_size; ++size) { std::set< std::string >::iterator it = this->values->find(ordered[size]); - if(it == this->values->end()) - { throw std::runtime_error("rank"); } + if (it == this->values->end()) { + throw std::runtime_error("rank"); + } (*rank)[std::distance(this->values->begin(), it)] = size; } for(Index size = 0, max_size = ordered.size(); size < max_size; ++size) { - if((*rank)[size] >= ordered.size()) - { throw std::runtime_error("ordered"); } + if ((*rank)[size] >= ordered.size()) { + throw std::runtime_error("ordered"); + } } this->rank = rank; } const std::vector< Index >& OrdinalSampleSpace::get_rank() const - { return *this->rank; } + { + return *this->rank; + } void OrdinalSampleSpace::set_rank(const std::vector< Index >& rank) { - if(rank.size() != this->values->size()) - { throw std::runtime_error("rank"); } + if (rank.size() != this->values->size()){ + throw std::runtime_error("rank"); + } Indices order = Indices(); - for(Index size = 0, max_size = this->values->size(); size < max_size; ++size) - { order.insert(order.end(), size); } - for(Index size = 0, max_size = this->values->size(); size < max_size; ++size) - { + for (Index size = 0, max_size = this->values->size(); size < max_size; ++size) { + order.insert(order.end(), size); + } + for (Index size = 0, max_size = this->values->size(); size < max_size; ++size) { Indices::iterator it = order.find(rank[size]); - if(it == order.end()) - { throw std::runtime_error("rank"); } + if (it == order.end()) { + throw std::runtime_error("rank"); + } order.erase(it); } - if(order.size() != 0) - { throw std::runtime_error("rank"); } + if (order.size() != 0) { + throw std::runtime_error("rank"); + } this->rank = std::make_shared< std::vector< Index > >(rank); } void OrdinalSampleSpace::randomize() { - detach(); - std::set< std::string >::iterator first_it = this->values->begin(), it_end = this->values->end(); + this->detach(); + std::set< std::string >::iterator first_it = this->values->begin(); + std::set< std::string >::iterator it_end = this->values->end(); ++first_it; - while(first_it != it_end) - { + while (first_it != it_end) { std::set< std::string >::iterator second_it = this->values->begin(); boost::random::uniform_int_distribution<> dist(0, std::distance(this->values->begin(), first_it)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); @@ -300,10 +334,14 @@ namespace statiskit } std::unique_ptr< NominalSampleSpace > OrdinalSampleSpace::as_nominal() const - { return std::make_unique< NominalSampleSpace >(*(this->values.get())); } + { + return std::make_unique< NominalSampleSpace >(*(this->values.get())); + } std::unique_ptr< UnivariateSampleSpace > OrdinalSampleSpace::copy() const - { return std::make_unique< OrdinalSampleSpace >(*this); } + { + return std::make_unique< OrdinalSampleSpace >(*this); + } void OrdinalSampleSpace::detach() { @@ -311,13 +349,15 @@ namespace statiskit this->rank = std::make_shared< std::vector< Index > >(*this->rank); } } + HierarchicalSampleSpace::HierarchicalSampleSpace(const CategoricalSampleSpace& root_sample_space) : CategoricalSampleSpace(root_sample_space.get_values()) { this->tree_sample_space = std::make_shared< std::map< std::string, std::unique_ptr< CategoricalSampleSpace > > >(); (*this->tree_sample_space)[""] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(root_sample_space.copy().release())); this->parents = std::make_shared< std::map< std::string, std::string > >(); - for(std::set< std::string >::const_iterator it = root_sample_space.get_values().cbegin(), it_end = root_sample_space.get_values().cend(); it != it_end; ++it) - { (*this->parents)[*it] = ""; } + for (std::set< std::string >::const_iterator it = root_sample_space.get_values().cbegin(), it_end = root_sample_space.get_values().cend(); it != it_end; ++it) { + (*this->parents)[*it] = ""; + } } HierarchicalSampleSpace::HierarchicalSampleSpace(const HierarchicalSampleSpace& p_sample_space) : CategoricalSampleSpace(p_sample_space.get_values()) @@ -343,7 +383,7 @@ namespace statiskit // if(it != it_end) // { ordering = PARTIAL; } // return ordering; - return PARTIAL; + return ordering_type::PARTIAL; } void HierarchicalSampleSpace::set_encoding(const encoding_type& encoding) @@ -366,7 +406,7 @@ namespace statiskit ++it; } if (it == it_end) { - detach(); + this->detach(); this->values->erase(leave); this->values->insert(values.cbegin(), values.cend()); (*this->tree_sample_space)[leave] = std::unique_ptr< CategoricalSampleSpace >(static_cast< CategoricalSampleSpace* >(sample_space.copy().release())); @@ -381,53 +421,63 @@ namespace statiskit } } - UnivariateConditionalData HierarchicalSampleSpace::split(const std::string& non_leave, const UnivariateConditionalData& data) const - { - MultivariateDataFrame explanatories_data(*(data.get_explanatories()->get_sample_space())); - UnivariateDataFrame response_data(*((this->tree_sample_space->find(non_leave))->second)); - - std::map< std::string, std::string > new_leaves; - for (std::set< std::string >::const_iterator it = this->values->begin(), it_end = this->values->cend(); it != it_end; ++it) { - new_leaves[*it] = this->children(non_leave, *it); - } - - std::unique_ptr< UnivariateConditionalData::Generator > generator = data.generator(); - std::vector< double > weights; - while (generator->is_valid()) { - const CategoricalElementaryEvent* response_event = static_cast< const CategoricalElementaryEvent* >(generator->response()->copy().release()); - if (response_event) { - std::string new_response = new_leaves.find(response_event->get_value())->second; - if (new_response != "") { - CategoricalElementaryEvent* new_response_event = new CategoricalElementaryEvent(new_response); - response_data.add_event(new_response_event); - delete new_response_event; - weights.push_back(generator->weight()); - explanatories_data.add_event(generator->explanatories()); - } - } - ++(*generator); - } - UnivariateDataFrame* resp_data = new UnivariateDataFrame(response_data); - WeightedUnivariateData weighted_response_data(resp_data, weights); - delete resp_data; - UnivariateConditionalData new_data(weighted_response_data, explanatories_data); - return new_data; - } + // UnivariateConditionalData HierarchicalSampleSpace::split(const std::string& non_leave, const UnivariateConditionalData& data) const + // { + // MultivariateDataFrame explanatories_data(*(data.get_explanatories()->get_sample_space())); + // UnivariateDataFrame response_data(*((this->tree_sample_space->find(non_leave))->second)); + + // std::map< std::string, std::string > new_leaves; + // for (std::set< std::string >::const_iterator it = this->values->begin(), it_end = this->values->cend(); it != it_end; ++it) { + // new_leaves[*it] = this->children(non_leave, *it); + // } + + // std::unique_ptr< UnivariateConditionalData::Generator > generator = data.generator(); + // std::vector< double > weights; + // while (generator->is_valid()) { + // const CategoricalElementaryEvent* response_event = static_cast< const CategoricalElementaryEvent* >(generator->response()->copy().release()); + // if (response_event) { + // std::string new_response = new_leaves.find(response_event->get_value())->second; + // if (new_response != "") { + // CategoricalElementaryEvent* new_response_event = new CategoricalElementaryEvent(new_response); + // response_data.add_event(new_response_event); + // delete new_response_event; + // weights.push_back(generator->weight()); + // explanatories_data.add_event(generator->explanatories()); + // } + // } + // ++(*generator); + // } + // UnivariateDataFrame* resp_data = new UnivariateDataFrame(response_data); + // WeightedUnivariateData weighted_response_data(resp_data, weights); + // delete resp_data; + // UnivariateConditionalData new_data(weighted_response_data, explanatories_data); + // return new_data; + // } std::unique_ptr< UnivariateSampleSpace > HierarchicalSampleSpace::copy() const - { return std::make_unique< HierarchicalSampleSpace >(*this); } + { + return std::make_unique< HierarchicalSampleSpace >(*this); + } HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cbegin() const - { return this->tree_sample_space->cbegin(); } + { + return this->tree_sample_space->cbegin(); + } HierarchicalSampleSpace::const_iterator HierarchicalSampleSpace::cend() const - { return this->tree_sample_space->cend(); } + { + return this->tree_sample_space->cend(); + } const CategoricalSampleSpace* HierarchicalSampleSpace::get_sample_space(const std::string& value) - { return (*this->tree_sample_space)[value].get(); } + { + return (*this->tree_sample_space)[value].get(); + } const std::map< std::string, std::string >& HierarchicalSampleSpace::get_parents() const - { return *this->parents; } + { + return *this->parents; + } std::string HierarchicalSampleSpace::children(const std::string& non_leave, const std::string& leave) const { @@ -482,10 +532,14 @@ namespace statiskit } outcome_type DiscreteSampleSpace::get_outcome() const - { return DISCRETE; } + { + return outcome_type::DISCRETE; + } ordering_type DiscreteSampleSpace::get_ordering() const - { return TOTAL; } + { + return ordering_type::TOTAL; + } IntegerSampleSpace::IntegerSampleSpace(const int& lower_bound, const int& upper_bound) { @@ -500,15 +554,15 @@ namespace statiskit { bool compatible = !event; if (!compatible) { - if (event->get_outcome() == DISCRETE) { - switch(event->get_event()) { - case ELEMENTARY: + if (event->get_outcome() == outcome_type::DISCRETE) { + switch(event->get_censoring()) { + case censoring_type::NONE: { int value = static_cast< const DiscreteElementaryEvent* >(event)->get_value(); compatible = value >= this->lower_bound && value <= this->upper_bound; } break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< int >& __values = static_cast< const DiscreteCensoredEvent* >(event)->get_values(); std::vector< int >::const_iterator it = __values.cbegin(), ite = __values.cend(); @@ -519,7 +573,7 @@ namespace statiskit } } break; - case LEFT: + case censoring_type::LEFT: if (this->lower_bound == std::numeric_limits< int >::min()) { int value = static_cast< const DiscreteLeftCensoredEvent* >(event)->get_upper_bound(); compatible = value >= this->lower_bound && value <= this->upper_bound; @@ -527,7 +581,7 @@ namespace statiskit compatible = false; } break; - case RIGHT: + case censoring_type::RIGHT: if(this->upper_bound == std::numeric_limits< int >::max()) { int value = static_cast< const DiscreteRightCensoredEvent* >(event)->get_lower_bound(); compatible = value >= this->lower_bound && value <= this->upper_bound; @@ -535,7 +589,7 @@ namespace statiskit compatible = false; } break; - case INTERVAL: + case censoring_type::INTERVAL: { int value = static_cast< const DiscreteIntervalCensoredEvent* >(event)->get_upper_bound(); compatible = value >= this->lower_bound && value <= this->upper_bound; @@ -552,29 +606,43 @@ namespace statiskit } const int& IntegerSampleSpace::get_lower_bound() const - { return this->lower_bound; } + { + return this->lower_bound; + } const int& IntegerSampleSpace::get_upper_bound() const - { return this->upper_bound; } + { + return this->upper_bound; + } std::unique_ptr< UnivariateSampleSpace > IntegerSampleSpace::copy() const - { return std::make_unique< IntegerSampleSpace >(*this); } + { + return std::make_unique< IntegerSampleSpace >(*this); + } const IntegerSampleSpace NN = IntegerSampleSpace(0); const IntegerSampleSpace& get_NN() - { return NN; } + { + return NN; + } const IntegerSampleSpace ZZ = IntegerSampleSpace(); const IntegerSampleSpace& get_ZZ() - { return ZZ; } + { + return ZZ; + } outcome_type ContinuousSampleSpace::get_outcome() const - { return CONTINUOUS; } + { + return outcome_type::CONTINUOUS; + } ordering_type ContinuousSampleSpace::get_ordering() const - { return TOTAL; } + { + return ordering_type::TOTAL; + } RealSampleSpace::RealSampleSpace(const double& lhs, const double& rhs, const bool& left_closed, const bool& right_closed) { @@ -596,9 +664,9 @@ namespace statiskit { bool compatible = !event; if (!compatible) { - if (event->get_outcome() == CONTINUOUS) { - switch(event->get_event()) { - case ELEMENTARY: + if (event->get_outcome() == outcome_type::CONTINUOUS) { + switch (event->get_censoring()) { + case censoring_type::NONE: { double value = static_cast< const ContinuousElementaryEvent* >(event)->get_value(); compatible = boost::math::isfinite(value); @@ -618,7 +686,7 @@ namespace statiskit } } break; - case CENSORED: + case censoring_type::CENSORED: { const std::vector< double >& __values = static_cast< const ContinuousCensoredEvent* >(event)->get_values(); std::vector< double >::const_iterator it = __values.cbegin(), ite = __values.cend(); @@ -643,7 +711,7 @@ namespace statiskit } } break; - case LEFT: + case censoring_type::LEFT: if (boost::math::isinf(this->lower_bound) && this->lower_bound < 0) { double value = static_cast< const ContinuousLeftCensoredEvent* >(event)->get_upper_bound(); compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; @@ -651,7 +719,7 @@ namespace statiskit compatible = false; } break; - case RIGHT: + case censoring_type::RIGHT: if (boost::math::isinf(this->upper_bound) && this->upper_bound > 0) { double value = static_cast< const ContinuousRightCensoredEvent* >(event)->get_lower_bound(); compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; @@ -659,7 +727,7 @@ namespace statiskit compatible = false; } break; - case INTERVAL: + case censoring_type::INTERVAL: { double value = static_cast< const ContinuousIntervalCensoredEvent* >(event)->get_upper_bound(); compatible = boost::math::isfinite(value) && value >= this->lower_bound && value <= this->upper_bound; @@ -676,34 +744,50 @@ namespace statiskit } const double& RealSampleSpace::get_lower_bound() const - { return this->lower_bound; } + { + return this->lower_bound; + } const double& RealSampleSpace::get_upper_bound() const - { return this->upper_bound; } + { + return this->upper_bound; + } const bool& RealSampleSpace::get_left_closed() const - { return this->left_closed; } + { + return this->left_closed; + } const bool& RealSampleSpace::get_right_closed() const - { return this->right_closed; } + { + return this->right_closed; + } std::unique_ptr< UnivariateSampleSpace > RealSampleSpace::copy() const - { return std::make_unique< RealSampleSpace >(*this); } + { + return std::make_unique< RealSampleSpace >(*this); + } const RealSampleSpace RR = RealSampleSpace(); const RealSampleSpace& get_RR() - { return RR; } + { + return RR; + } const RealSampleSpace PR = RealSampleSpace(0); const RealSampleSpace& get_PR() - { return PR; } + { + return PR; + } const RealSampleSpace NR = RealSampleSpace(-1*std::numeric_limits< double >::infinity(), 0); const RealSampleSpace& get_NR() - { return NR; } + { + return NR; + } /*Eigen::MatrixXd MultivariateSampleSpace::encode(const MultivariateEvent& event, const std::set< std::set >& interactions) const { @@ -812,7 +896,7 @@ namespace statiskit Index index = 0, max_index = this->size(); while (compatible && index < max_index) { sample_space = this->get_sample_space(index); - compatible = sample_space && sample_space->is_compatible(event->get(index)); + compatible = sample_space && sample_space->is_compatible(event->get_event(index)); ++index; } } else { @@ -826,7 +910,7 @@ namespace statiskit Index size = 0; for (Index index = 0, max_index = this->size(); index < max_index; ++index) { const UnivariateSampleSpace* sample_space = this->get_sample_space(index); - if (sample_space->get_outcome() == CATEGORICAL) { + if (sample_space->get_outcome() == outcome_type::CATEGORICAL) { size += static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); size -= 1; } else { @@ -847,10 +931,10 @@ namespace statiskit Eigen::RowVectorXd temp; for (Index index = 0, max_index = this->size(); index< max_index; ++index) { const UnivariateEvent* uevent = event.get_event(index); - if (uevent->get_event() == ELEMENTARY) { - const UnivariateSampleSpace* sample_space = this->get_event(index); + if (uevent->get_censoring() == censoring_type::NONE) { + const UnivariateSampleSpace* sample_space = this->get_sample_space(index); switch (sample_space->get_outcome()) { - case CATEGORICAL: + case outcome_type::CATEGORICAL: { temp = (static_cast< const CategoricalSampleSpace* >(sample_space)->encode(static_cast< const CategoricalElementaryEvent* >(uevent)->get_value())); dummy.segment(index + shift, temp.size()) = temp; @@ -858,16 +942,16 @@ namespace statiskit --shift; } break; - case DISCRETE: + case outcome_type::DISCRETE: dummy(index + shift) = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); break; - case CONTINUOUS: + case outcome_type::CONTINUOUS: dummy(index + shift) = static_cast< const ContinuousElementaryEvent* >(uevent)->get_value(); break; } } else { - const UnivariateSampleSpace* sample_space = get_sample_space(index); - if (sample_space->get_outcome() == CATEGORICAL) { + const UnivariateSampleSpace* sample_space = this->get_sample_space(index); + if (sample_space->get_outcome() == outcome_type::CATEGORICAL) { Index max_size = index + shift + static_cast< const CategoricalSampleSpace* >(sample_space)->get_cardinality(); while(index + shift < max_size) { dummy(index + shift) = std::numeric_limits< double >::quiet_NaN(); @@ -904,19 +988,25 @@ namespace statiskit } Index VectorSampleSpace::size() const - {return this->sample_spaces->size(); } + { + return this->sample_spaces->size(); + } const UnivariateSampleSpace* VectorSampleSpace::get_sample_space(const Index& index) const - { return (*this->sample_spaces)[index].get(); } + { + return (*this->sample_spaces)[index].get(); + } void VectorSampleSpace::set_sample_space(const Index& index, const UnivariateSampleSpace& sample_space) { - detach(); + this->detach(); (*this->sample_spaces)[index] = sample_space.copy(); } std::unique_ptr< MultivariateSampleSpace > VectorSampleSpace::copy() const - { return std::make_unique< VectorSampleSpace >(*this); } + { + return std::make_unique< VectorSampleSpace >(*this); + } void VectorSampleSpace::detach() { diff --git a/src/cpp/sample_space.h b/src/cpp/sample_space.h index 81c2384e..afb8d76a 100644 --- a/src/cpp/sample_space.h +++ b/src/cpp/sample_space.h @@ -1,11 +1,7 @@ #pragma once -#include #include -#include -#include - #include #include "base.h" @@ -144,7 +140,7 @@ namespace statiskit virtual Eigen::RowVectorXd encode(const std::string& value) const; void partition(const std::string& leave, const CategoricalSampleSpace& sample_space); // partition the leave "value" into a sample space - UnivariateConditionalData split(const std::string& non_leave, const UnivariateConditionalData& data) const; + // UnivariateConditionalData split(const std::string& non_leave, const UnivariateConditionalData& data) const; virtual std::unique_ptr< UnivariateSampleSpace > copy() const; @@ -236,7 +232,7 @@ namespace statiskit virtual Index size() const = 0; - virtual const UnivariateSampleSpace* get_event(const Index& index) const = 0; + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const = 0; virtual bool is_compatible(const MultivariateEvent* event) const; @@ -256,8 +252,8 @@ namespace statiskit virtual Index size() const; - virtual const UnivariateSampleSpace* get_event(const Index& index) const; - virtual void set_event(const Index& index, const UnivariateSampleSpace& sample_space); + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const; + virtual void set_sample_space(const Index& index, const UnivariateSampleSpace& sample_space); virtual std::unique_ptr< MultivariateSampleSpace > copy() const; diff --git a/src/cpp/selection.h b/src/cpp/selection.h index 9c8e488b..4b3a1f9e 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -1,4 +1,5 @@ #pragma once + #include "estimation.h" #include "slope_heuristic.h" @@ -7,12 +8,14 @@ namespace statiskit template class Selection : public PolymorphicCopy, B> { public: - using PolymorphicCopy, B>::PolymorphicCopy; + Selection(); + Selection(const typename B::data_type* data); + Selection(const Selection& selection); virtual ~Selection(); Index size() const; - B const * get_estimation(const Index& index) const; + typename B::distribution_type const * get_distribution(const Index& index) const; const double& get_score(const Index& index) const; @@ -34,7 +37,7 @@ namespace statiskit protected: std::vector< typename B::Estimator * > estimators; - virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const = 0; + virtual double scoring(const typename B::distribution_type * distribution, typename B::data_type const & data) const = 0; void init(); void init(const Estimator& estimator); @@ -58,19 +61,19 @@ namespace statiskit void set_criterion(const criterion_type& criterion); protected: - criterion_type _criterion; + criterion_type criterion; - virtual double scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const; - };/**/ + virtual double scoring(const typename B::distribution_type * distribution, typename B::data_type const & data) const; + }; protected: - std::vector< B * > estimations; + std::vector< typename B::distribution_type* > distributions; std::vector< double > scores; void finalize(); }; - template class SlopeHeuristicSelection : public SlopeHeuristic, public B + template class SlopeHeuristicSelection : public SlopeHeuristic, public PolymorphicCopy, B> { public: SlopeHeuristicSelection(const typename B::data_type* data); @@ -85,5 +88,9 @@ namespace statiskit std::vector< typename B::distribution_type* > proposals; void add(const double& penshape, const double& score, typename B::distribution_type* proposal); + + void finalize(); }; -} \ No newline at end of file +} + +#include "selection.hpp" \ No newline at end of file diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp index fc18d268..d7ad6f2e 100644 --- a/src/cpp/selection.hpp +++ b/src/cpp/selection.hpp @@ -1,229 +1,204 @@ - template - Selection< D, B >::Selection() : ActiveEstimation< D, B >() - { - _estimations.clear(); - _scores.clear(); - } +#ifndef AUTOWIG +#pragma once - template - Selection< D, B >::Selection(const typename B::data_type* data) : ActiveEstimation< D, B >(data) +namespace statiskit +{ + template + Selection::Selection() : PolymorphicCopy, B>() { - _estimations.clear(); - _scores.clear(); + this->distributions.clear(); + this->scores.clear(); } - template - Selection< D, B >::Selection(const D * estimated, const typename B::data_type* data) : ActiveEstimation< D, B >(estimated, data) + template + Selection::Selection(const typename B::data_type* data) : PolymorphicCopy, B>(data) { - _estimations.clear(); - _scores.clear(); + this->distributions.clear(); + this->scores.clear(); } - template - Selection< D, B >::Selection(const Selection< D, B >& estimation) + template + Selection::Selection(const Selection& estimation) : PolymorphicCopy, B>(estimation) { - _estimations.resize(estimation.size(), nullptr); - for(Index index = 0, max_index = estimation.size(); index < max_index; ++index) - { _estimations[index] = static_cast< B* >(estimation._estimations[index]); }/*->copy().release()); TODO */ - _scores = estimation._scores; - this->_data = estimation._data->copy().release(); - finalize(); + this->distributions.resize(estimation.size(), nullptr); + for (Index index = 0, max_index = estimation.size(); index < max_index; ++index) { + if (estimation.distributions[index]) { + this->distributions[index] = static_cast< typename B::distribution_type* >(estimation.distributions[index]->copy().release()); + } else { + this->distributions[index] = nullptr; + } + } + this->scores = estimation->scores; + this->finalize(); } - template - Selection< D, B >::~Selection() + template + Selection::~Selection() { - this->_estimated = nullptr; - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - if(_estimations[index]) - { - delete _estimations[index]; - _estimations[index] = nullptr; + for(Index index = 0, max_index = this->size(); index < max_index; ++index) { + if(this->distributions[index]) { + delete this->distributions[index]; + this->distributions[index] = nullptr; } } - _estimations.clear(); - _scores.clear(); + this->distributions.clear(); + this->scores.clear(); } - template - Index Selection< D, B >::size() const - { return _scores.size(); } + template + Index Selection::size() const + { + return this->scores.size(); + } - template - B const * Selection< D, B >::get_estimation(const Index& index) const - { return _estimations[index]; } + template + typename B::distribution_type const * Selection::get_distribution(const Index& index) const + { + return this->distributions[index]; + } - template - const double& Selection< D, B >::get_score(const Index& index) const - { return _scores[index]; } + template + const double& Selection::get_score(const Index& index) const + { + return this->scores[index]; + } - template - void Selection< D, B >::finalize() + template + void Selection::finalize() { - std::vector< double >::const_iterator it = std::max_element(_scores.cbegin(), _scores.cend()); - if(it != _scores.cend() && boost::math::isfinite(*it)) - { this->_estimated = static_cast< const D * >(_estimations[distance(_scores.cbegin(), it)]->get_estimated()); } - else - { this->_estimated = nullptr; } + std::vector< double >::const_iterator it = std::max_element(this->scores.cbegin(), this->scores.cend()); + if (it != this->scores.cend() && boost::math::isfinite(*it)) { + this->distribution = static_cast< typename B::distribution_type * >(this->distributions[distance(this->scores.cbegin(), it)]->get_distribution()->copy().release()); + } else { + this->distribution = nullptr; + } } - template - Selection< D, B >::Estimator::~Estimator() + template + Selection::Estimator::~Estimator() { - for(Index index = 0, max_index = _estimators.size(); index < max_index; ++index) - { - delete _estimators[index]; - _estimators[index] = nullptr; + for (Index index = 0, max_index = this->estimators.size(); index < max_index; ++index) { + delete this->estimators[index]; + this->estimators[index] = nullptr; } - _estimators.clear(); + this->estimators.clear(); } - template - std::unique_ptr< typename B::Estimator::estimation_type > Selection< D, B >::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const + template + std::unique_ptr< typename B::Estimator::estimation_type > Selection::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const { - std::unique_ptr< typename B::Estimator::estimation_type > estimation; - if(lazy) - { - std::unique_ptr< typename B::Estimator::estimation_type > _estimation; - double curr, prev = -1 * std::numeric_limits< double >::infinity(); - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - try - { - if(_estimators[index]) - { - _estimation = (*(_estimators[index]))(data, true); - curr = scoring(_estimation->get_estimated(), data); - if(curr > prev && boost::math::isfinite(curr)) - { - prev = curr; - estimation.swap(_estimation); - } - } - } - catch(const std::exception& e) - {} + std::unique_ptr> estimation = std::make_unique< Selection >(data.copy().release()); + for (Index index = 0, max_index = this->size(); index < max_index; ++index) { + try { + this->estimation->distributions.push_back(static_cast< B* >((*(this->estimators[index]))(data, false).release())); + this->estimation->scores.push_back(scoring(estimation->distributions.back()->get_distribution(), data)); + } catch (const std::exception& e) { + this->estimation->distributions.push_back(nullptr); + this->estimation->scores.push_back(std::numeric_limits< double >::quiet_NaN()); } } - else - { - Selection< D, B >* _estimation = new Selection< D, B >(data.copy().release()); - for(Index index = 0, max_index = size(); index < max_index; ++index) - { - try - { - _estimation->_estimations.push_back(static_cast< B* >((*(_estimators[index]))(data, false).release())); - _estimation->_scores.push_back(scoring(_estimation->_estimations.back()->get_estimated(), data)); - } - catch(const std::exception& e) - { - _estimation->_estimations.push_back(nullptr); - _estimation->_scores.push_back(std::numeric_limits< double >::quiet_NaN()); - } - } - _estimation->finalize(); - estimation.reset(_estimation); + this->estimation->finalize(); + if (!estimation->get_distribution()) { + throw std::runtime_error("All estimations failed, perform manually the estimations in order to investigate what went wrong"); } - if(!estimation || !(estimation->get_estimated())) - { throw std::runtime_error("All estimations failed, perform manually the estimations in order to investigate what went wrong"); } return estimation; } - template - Index Selection< D, B >::Estimator::size() const - { return _estimators.size(); } + template + Index Selection::Estimator::size() const + { + return this->estimators.size(); + } - template - typename B::Estimator* Selection< D, B >::Estimator::get_estimator(const Index& index) + template + typename B::Estimator* Selection::Estimator::get_estimator(const Index& index) { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - return _estimators[index]; + if (index >= this->size()) { + throw size_error("index", this->size(), size_error::inferior); + } + return this->estimators[index]; } - template - void Selection< D, B >::Estimator::set_estimator(const Index& index, const typename B::Estimator& estimator) + template + void Selection::Estimator::set_estimator(const Index& index, const typename B::Estimator& estimator) { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - delete _estimators[index]; - _estimators[index] = static_cast< typename B::Estimator* >(estimator.copy().release()); + if (index >= size()) { + throw size_error("index", size(), size_error::inferior); + } + delete this->estimators[index]; + this->estimators[index] = static_cast< typename B::Estimator* >(estimator.copy().release()); } - template - void Selection< D, B >::Estimator::add_estimator(const typename B::Estimator& estimator) - { _estimators.push_back(static_cast< typename B::Estimator* >(estimator.copy().release())); } + template + void Selection::Estimator::add_estimator(const typename B::Estimator& estimator) + { + this->estimators.push_back(static_cast< typename B::Estimator* >(estimator.copy().release())); + } - template - void Selection< D, B >::Estimator::remove_estimator(const Index& index) + template + void Selection::Estimator::remove_estimator(const Index& index) { - if(index >= size()) - { throw size_error("index", size(), size_error::inferior); } - typename std::vector< typename B::Estimator * >::iterator it = _estimators.begin(); + if (index >= this->size()) { + throw size_error("index", this->size(), size_error::inferior); + } + typename std::vector< typename B::Estimator * >::iterator it = this->estimators.begin(); advance(it, index); delete *it; - _estimators.erase(it); + this->estimators.erase(it); } - template - void Selection< D, B >::Estimator::init() - { _estimators.clear(); } - - template - void Selection< D, B >::Estimator::init(const Estimator& estimator) - { - _estimators.resize(estimator.size()); - for(Index index = 0, max_index = estimator.size(); index < max_index; ++index) - { _estimators[index] = static_cast< typename B::Estimator* >(estimator._estimators[index]->copy().release()); } + template + void Selection::Estimator::init() + { + this->estimators.clear(); } - template - std::unordered_set< uintptr_t > Selection< D, B >::Estimator::children() const - { - std::unordered_set< uintptr_t > ch; - for(typename std::vector< typename B::Estimator* >::const_iterator it = _estimators.cbegin(), it_end = _estimators.cend(); it != it_end; ++it) - { - ch.insert(this->compute_identifier(**it)); - __impl::merge(ch, this->compute_children(**it)); + template + void Selection::Estimator::init(const Estimator& estimator) + { + this->estimators.resize(estimator.size()); + for (Index index = 0, max_index = estimator.size(); index < max_index; ++index) { + this->estimators[index] = static_cast< typename B::Estimator* >(estimator.estimators[index]->copy().release()); } - return ch; } - template - Selection< D, B >::CriterionEstimator::CriterionEstimator() + template + Selection::CriterionEstimator::CriterionEstimator() { this->init(); - _criterion = criterion_type::BIC; + this->criterion = criterion_type::BIC; } - template - Selection< D, B >::CriterionEstimator::CriterionEstimator(const CriterionEstimator& estimator) + template + Selection::CriterionEstimator::CriterionEstimator(const CriterionEstimator& estimator) { this->init(estimator); - _criterion = estimator._criterion; + this->criterion = estimator.criterion; } - template - Selection< D, B >::CriterionEstimator::~CriterionEstimator() + template + Selection::CriterionEstimator::~CriterionEstimator() {} - template - const typename Selection< D, B >::CriterionEstimator::criterion_type& Selection< D, B >::CriterionEstimator::get_criterion() const - { return _criterion; } + template + const typename Selection::CriterionEstimator::criterion_type& Selection::CriterionEstimator::get_criterion() const + { + return this->criterion; + } - template - void Selection< D, B >::CriterionEstimator::set_criterion(const criterion_type& criterion) - { _criterion = criterion; } + template + void Selection::CriterionEstimator::set_criterion(const criterion_type& criterion) + { + this->criterion = criterion; + } - template - double Selection< D, B >::CriterionEstimator::scoring(const typename B::estimated_type * estimated, typename B::data_type const & data) const + template + double Selection::CriterionEstimator::scoring(const typename B::distribution_type * distribution, typename B::data_type const & data) const { - double score = estimated->loglikelihood(data); + double score = distribution->loglikelihood(data); double total = data.compute_total(); - unsigned int nb_parameters = estimated->get_nb_parameters(); - switch(_criterion) - { + unsigned int nb_parameters = distribution->get_nb_parameters(); + switch (this->criterion) { case AIC: score -= nb_parameters; break; @@ -240,89 +215,82 @@ return score; } - template - SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const typename E::data_type* data) : SlopeHeuristic() + template + SlopeHeuristicSelection::SlopeHeuristicSelection(const typename B::data_type* data) : PolymorphicCopy(), SlopeHeuristic() { - _proposals.clear(); - if(data) - { _data = data->copy().release(); } - else - { _data = nullptr; } + this->proposals.clear(); } - template - SlopeHeuristicSelection< E >::SlopeHeuristicSelection(const SlopeHeuristicSelection< E >& she) : SlopeHeuristic(she) + template + SlopeHeuristicSelection::SlopeHeuristicSelection(const SlopeHeuristicSelection& she) : PolymorphicCopy(she), SlopeHeuristic(she) { - _proposals = std::vector< typename E::estimated_type* >(she._proposals.size(), nullptr); - for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) - { _proposals[index] = static_cast< typename E::estimated_type* >(she._proposals[index]->copy().release()); } - if(she._data) - { _data = static_cast< typename E::data_type* >(she._data->copy().release()); } - else - { _data = nullptr; } + this->proposals = std::vector< typename B::distribution_type* >(she.proposals.size(), nullptr); + for (Index index = 0, max_index = this->proposals.size(); index < max_index; ++index) { + this->proposals[index] = static_cast< typename B::distribution_type* >(she.proposals[index]->copy().release()); + } + this->finalize(); } - template - SlopeHeuristicSelection< E >::~SlopeHeuristicSelection() + template + SlopeHeuristicSelection::~SlopeHeuristicSelection() { - for(Index index = 0, max_index = _proposals.size(); index < max_index; ++index) + this->distribution = nullptr; + for(Index index = 0, max_index = this->proposals.size(); index < max_index; ++index) { - delete _proposals[index]; - _proposals[index] = nullptr; - } - _proposals.clear(); - if(_data) - { - delete _data; - _data = nullptr; + if (this->proposals[index]) { + delete this->proposals[index]; + this->proposals[index] = nullptr; + } } + this->proposals.clear(); } - template - typename E::estimated_type const * SlopeHeuristicSelection< E >::get_estimated() const + template + typename B::distribution_type const * SlopeHeuristicSelection::get_distribution() const { - typename E::estimated_type const * estimated; - if(this->_selected.size() > 0) - { estimated = _proposals[this->_selected[(*this->_selector)(*this)]]; } - return estimated; + return this->distribution; } - template - const typename E::estimated_type* SlopeHeuristicSelection< E >::get_proposal(const Index& index) const - { return _proposals[index]; } - - template - const typename E::data_type* SlopeHeuristicSelection< E >::get_data() const - { return _data; } + template + const typename B::distribution_type* SlopeHeuristicSelection::get_proposal(const Index& index) const + { + return this->proposals[index]; + } - template - void SlopeHeuristicSelection< E >::add(const double& penshape, const double& score, typename E::estimated_type* estimated) + template + void SlopeHeuristicSelection::add(const double& penshape, const double& score, typename B::distribution_type* proposal) { - if(boost::math::isfinite(penshape) && boost::math::isfinite(score)) - { - std::vector< double >::iterator it = std::lower_bound(this->_penshapes.begin(), this->_penshapes.end(), penshape); - if(it == this->_penshapes.end()) - { - this->_penshapes.push_back(penshape); - this->_scores.push_back(score); - _proposals.push_back(estimated); - } - else if(*it == penshape) - { - Index index = distance(this->_penshapes.begin(), it); - if(this->_scores[index] < score) - { - delete _proposals[index]; - this->_scores[index] = score; - _proposals[index] = estimated; + if (boost::math::isfinite(penshape) && boost::math::isfinite(score)) { + std::vector< double >::iterator it = std::lower_bound(this->penshapes.begin(), this->penshapes.end(), penshape); + if(it == this->penshapes.end()) { + this->penshapes.push_back(penshape); + this->scores.push_back(score); + this->proposals.push_back(proposal); + } else if(*it == penshape) { + Index index = distance(this->penshapes.begin(), it); + if (this->scores[index] < score) { + delete this->proposals[index]; + this->scores[index] = score; + this->proposals[index] = proposal; } - } - else - { - Index index = distance(this->_penshapes.begin(), it); - this->_penshapes.insert(it, penshape); - this->_scores.insert(this->_scores.begin() + index, score); - _proposals.insert(_proposals.begin() + index, estimated); + } else { + Index index = distance(this->penshapes.begin(), it); + this->penshapes.insert(it, penshape); + this->scores.insert(this->scores.begin() + index, score); + this->proposals.insert(this->proposals.begin() + index, proposal); } } - } \ No newline at end of file + } + + template + void SlopeHeuristicSelection::finalize() + { + if (this->selected.size() > 0) { + this->distribution = this->proposals[this->selected[(*this->selector)(*this)]]; + } else { + this->distribution = nullptr; + } + } +} + +#endif \ No newline at end of file diff --git a/src/cpp/singular.cpp b/src/cpp/singular.cpp index 51091f59..12d6909f 100644 --- a/src/cpp/singular.cpp +++ b/src/cpp/singular.cpp @@ -21,9 +21,9 @@ namespace statiskit double llh = 0.; std::unique_ptr< MultivariateData::Generator > generator = data.generator(); while (generator->is_valid() && boost::math::isfinite(llh)) { - double weight = generator->weight(); + double weight = generator->get_weight(); if (weight > 0.) { - llh += weight * this->probability(generator->event(), true); + llh += weight * this->probability(generator.get(), true); } ++(*generator); } @@ -62,9 +62,9 @@ namespace statiskit p = 0.; int sum = 0; for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { - const UnivariateEvent* uevent = event->get(component); + const UnivariateEvent* uevent = event->get_event(component); if (uevent) { - if (uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) { + if (uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { int value = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); if (!(this->pi[component] <= 0. && value == 0)) { p += value * log(this->pi[component]) - boost::math::lgamma(value + 1); @@ -76,7 +76,7 @@ namespace statiskit } } p += boost::math::lgamma(sum + 1); - } catch(const std::exception& error) { + } catch (const std::exception& error) { p = log(0.); } } else { @@ -98,14 +98,19 @@ namespace statiskit boost::variate_generator > simulator(__impl::get_random_generator(), dist); int value = simulator(); pi += this->pi[component]; - event->set(component, DiscreteElementaryEvent(value)); + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(value); + event->set_event(component, uevent); + delete uevent; sum -= value; ++component; } for (; component < max_component; ++component) { - event->set(component, DiscreteElementaryEvent(0)); + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(0); + event->set_event(component, uevent); + delete uevent; } - event->set(max_component, DiscreteElementaryEvent(sum)); + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(sum); + event->set_event(max_component, uevent); return std::move(event); } @@ -176,17 +181,13 @@ namespace statiskit p = 0.; int sum = 0; for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { - const UnivariateEvent* uevent = event->get(component); - if (uevent) { - if (uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) { - int value = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); - if (!(this->alpha[component] <= 0. && value == 0)) { - p += boost::math::lgamma(this->alpha[component] + value); - p -= boost::math::lgamma(this->alpha[component]) + boost::math::lgamma(value + 1); - sum += value; - } - } else { - throw std::exception(); + const UnivariateEvent* uevent = event->get_event(component); + if (uevent && uevent->get_outcome() == outcome_type::DISCRETE && uevent->get_censoring() == censoring_type::NONE) { + int value = static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); + if (!(this->alpha[component] <= 0. && value == 0)) { + p += boost::math::lgamma(this->alpha[component] + value); + p -= boost::math::lgamma(this->alpha[component]) + boost::math::lgamma(value + 1); + sum += value; } } } @@ -207,29 +208,36 @@ namespace statiskit std::unique_ptr< MultivariateEvent > DirichletMultinomialSingularDistribution::simulate(unsigned int sum) const { - Eigen::VectorXd this->pi = Eigen::VectorXd::Zero(this->get_nb_components()); + Eigen::VectorXd pi = Eigen::VectorXd::Zero(this->get_nb_components()); for (Index component = 0, max_component = this->get_nb_components(); component < max_component; ++component) { boost::random::gamma_distribution<> dist(this->alpha(component), 1.); boost::variate_generator > simulator(__impl::get_random_generator(), dist); - this->pi(component) = simulator(); + pi(component) = simulator(); } - this->pi /= this->pi.sum(); - double pi = 0.; - Index component = 0, max_component = this->get_nb_components() - 1; + pi /= pi.sum(); + double cum_pi = 0.; + Index component = 0; + Index max_component = this->get_nb_components() - 1; std::unique_ptr< VectorEvent > event = std::make_unique< VectorEvent >(max_component + 1); while (component < max_component && sum > 0) { - boost::binomial_distribution<> dist(sum, this->pi[component] / (1 - pi)); + boost::binomial_distribution<> dist(sum, pi[component] / (1 - cum_pi)); boost::variate_generator > simulator(__impl::get_random_generator(), dist); int value = simulator(); - pi += this->pi[component]; - event->set(component, DiscreteElementaryEvent(value)); + cum_pi += pi[component]; + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(value); + event->set_event(component, uevent); + delete uevent; sum -= value; ++component; } for (; component < max_component; ++component) { - event->set(component, DiscreteElementaryEvent(0)); + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(0); + event->set_event(component, uevent); + delete uevent; } - event->set(max_component, DiscreteElementaryEvent(sum)); + DiscreteElementaryEvent* uevent = new DiscreteElementaryEvent(sum); + event->set_event(max_component, uevent); + delete uevent; return std::move(event); } @@ -254,21 +262,6 @@ namespace statiskit } } - SingularDistributionEstimation::~SingularDistributionEstimation() - {} - - SingularDistributionEstimation::Estimator::~Estimator() - {} - - MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(MultinomialSingularDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimated, data) - {} - - MultinomialSingularDistributionEstimation::MultinomialSingularDistributionEstimation(const MultinomialSingularDistributionEstimation& estimation) : ActiveEstimation< MultinomialSingularDistribution, SingularDistributionEstimation >(estimation) - {} - - MultinomialSingularDistributionEstimation::~MultinomialSingularDistributionEstimation() - {} - MultinomialSingularDistributionEstimation::Estimator::Estimator() {} @@ -278,43 +271,28 @@ namespace statiskit MultinomialSingularDistributionEstimation::Estimator::~Estimator() {} - std::unique_ptr< SingularDistributionEstimation > MultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data) const + std::unique_ptr< MultinomialSingularDistributionEstimation::Estimator::estimation_type > MultinomialSingularDistributionEstimation::Estimator::operator() (const data_type& data) const { - std::unique_ptr< SingularDistributionEstimation > estimation; + this->check(data); + Eigen::VectorXd pi = Eigen::VectorXd::Zero(data.get_nb_components()); std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - Eigen::VectorXd pi = Eigen::VectorXd::Zero(generator->event()->size()); - while(generator->is_valid()) - { - const MultivariateEvent* mevent = generator->event(); - for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { pi[component] += generator->weight() * static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + while (generator->is_valid()) { + for (Index component = 0, max_component = data.get_nb_components(); component < max_component; ++component) { + const UnivariateEvent* event = generator->get_event(component); + if (event && event->get_outcome() == outcome_type::DISCRETE && event->get_censoring() == censoring_type::NONE) { + pi[component] += generator->get_weight() * static_cast< const DiscreteElementaryEvent* >(event)->get_value(); + } } ++(*generator); } - MultinomialSingularDistribution* estimated = new MultinomialSingularDistribution(pi); - if(lazy) - { estimation = std::make_unique< LazyEstimation< MultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } - else - { estimation = std::make_unique< MultinomialSingularDistributionEstimation >(estimated, &data); } - return estimation; + return std::make_unique< MultinomialSingularDistributionEstimation >(data.copy().release(), + new MultinomialSingularDistribution(pi)); } - DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(DirichletMultinomialSingularDistribution const * estimated, MultivariateData const * data) : OptimizationEstimation(estimated, data) + DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< SingularDistributionEstimation::Estimator > >() {} - DirichletMultinomialSingularDistributionEstimation::DirichletMultinomialSingularDistributionEstimation(const DirichletMultinomialSingularDistributionEstimation& estimation) : OptimizationEstimation(estimation) - {} - - DirichletMultinomialSingularDistributionEstimation::~DirichletMultinomialSingularDistributionEstimation() - {} - - DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator() : PolymorphicCopy::Estimator >() - {} - - DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy::Estimator >(estimator) + DirichletMultinomialSingularDistributionEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< SingularDistributionEstimation::Estimator > >(estimator) {} DirichletMultinomialSingularDistributionEstimation::Estimator::~Estimator() @@ -322,30 +300,22 @@ namespace statiskit std::unique_ptr< SingularDistributionEstimation > DirichletMultinomialSingularDistributionEstimation::Estimator::operator() (const MultivariateData& data) const { - std::unique_ptr< SingularDistributionEstimation > estimation; double total = data.compute_total(); - Eigen::VectorXd prev, curr = Eigen::VectorXd::Ones(data.get_sample_space()->size()); + Eigen::VectorXd prev; + Eigen::VectorXd curr = Eigen::VectorXd::Ones(data.get_nb_components()); DirichletMultinomialSingularDistribution* estimated = new DirichletMultinomialSingularDistribution(curr); - if(lazy) - { estimation = std::make_unique< LazyEstimation< DirichletMultinomialSingularDistribution, SingularDistributionEstimation > >(estimated); } - else - { estimation = std::make_unique< DirichletMultinomialSingularDistributionEstimation >(estimated, &data); } + std::unique_ptr< DirichletMultinomialSingularDistributionEstimation > estimation = std::make_unique< DirichletMultinomialSingularDistributionEstimation >(data.copy().release(), + estimated); unsigned int its = 0; - do - { + do { prev = curr; - Eigen::VectorXd temp = Eigen::VectorXd::Zero(data.get_sample_space()->size()); - for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) - { + Eigen::VectorXd temp = Eigen::VectorXd::Zero(data.get_nb_components()); + for (Index component = 0, max_component = temp.size(); component < max_component; ++component) { std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* mevent = generator->event(); - if(mevent) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { temp[component] += generator->weight() * boost::math::digamma(static_cast< const DiscreteElementaryEvent* >(uevent)->get_value() + prev[component]); } + while (generator->is_valid()) { + const UnivariateEvent* event = generator->get_event(component); + if (event && event->get_outcome() == outcome_type::DISCRETE && event->get_censoring() == censoring_type::NONE) { + temp[component] += generator->get_weight() * boost::math::digamma(static_cast< const DiscreteElementaryEvent* >(event)->get_value() + prev[component]); } ++(*generator); } @@ -353,32 +323,25 @@ namespace statiskit } std::pair< double, double > sums = std::make_pair(0., curr.sum()); std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { - const MultivariateEvent* event = generator->event(); - if(event) - { - int value = 0; - for(Index component = 0, max_component = data.get_sample_space()->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = event->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + while (generator->is_valid()) { + int value = 0; + for (Index component = 0, max_component = data.get_nb_components(); component < max_component; ++component) { + const UnivariateEvent* event = generator->get_event(component); + if (event && event->get_outcome() == outcome_type::DISCRETE && event->get_censoring() == censoring_type::NONE) { + value += static_cast< const DiscreteElementaryEvent* >(event)->get_value(); } - sums.first += generator->weight() * boost::math::digamma(value + sums.second); } + sums.first += generator->get_weight() * boost::math::digamma(value + sums.second); ++(*generator); } sums.first -= total * boost::math::digamma(sums.second); temp /= sums.first; - if(temp.minCoeff() >= 0.) - { + if (temp.minCoeff() >= 0.) { curr = prev.cwiseProduct(temp); - if(!lazy) - { static_cast< DirichletMultinomialSingularDistributionEstimation* >(estimation.get())->_iterations.push_back(curr); } + estimation->steps.push_back(curr); } ++its; - } while(run(its, __impl::reldiff(prev, curr))); + } while (this->run(its, __impl::reldiff(prev, curr))); estimated->set_alpha(curr); return estimation; } @@ -498,130 +461,132 @@ namespace statiskit this->singular = singular.copy().release(); } - SplittingDistributionEstimation::SplittingDistributionEstimation(SplittingDistribution const * estimated, MultivariateData const * data) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimated, data) - { - _sum = nullptr; - _singular = nullptr; - } - - SplittingDistributionEstimation::SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation) : ActiveEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation >(estimation) + SplittingDistributionEstimation::SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation) : PolymorphicCopy< SplittingDistributionEstimation, DiscreteMultivariateDistributionEstimation >(estimation) { - _sum = estimation._sum; - _singular = estimation._singular; + if (estimation.sum) { + this->sum = static_cast< DiscreteUnivariateDistributionEstimation* >(estimation.sum->copy().release()); + } else { + this->sum = nullptr; + } + if (estimation.singular) { + this->singular = estimation.singular->copy().release(); + } else { + this->singular = nullptr; + } } SplittingDistributionEstimation::~SplittingDistributionEstimation() { - if(_sum) - { delete _sum; } - if(_singular) - { delete _singular; } + if (this->sum) { + delete this->sum; + } + if (this->singular) + { + delete this->singular; + } } const DiscreteUnivariateDistributionEstimation* SplittingDistributionEstimation::get_sum() const - { return _sum; } + { + return this->sum; + } const SingularDistributionEstimation* SplittingDistributionEstimation::get_singular() const - { return _singular; } + { + return this->singular; + } SplittingDistributionEstimation::Estimator::Estimator() { - _sum = nullptr; - _singular = nullptr; + this->sum = nullptr; + this->singular = nullptr; } SplittingDistributionEstimation::Estimator::Estimator(const Estimator& estimator) { - if(estimator._sum) - { _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >((estimator._sum->copy()).release()); } - else - { _sum = nullptr; } - if(estimator._singular) - { _singular = estimator._singular->copy().release(); } - else - { _singular = nullptr; } + if (estimator.sum) { + this->sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >(estimator.sum->copy().release()); + } else { + this->sum = nullptr; + } + if (estimator.singular) { + this->singular = estimator.singular->copy().release(); + } else { + this->singular = nullptr; + } } SplittingDistributionEstimation::Estimator::~Estimator() { - if(_sum) + if(this->sum) { - delete _sum; - _sum = nullptr; + delete this->sum; + this->sum = nullptr; } - if(_singular) + if(this->singular) { - delete _singular; - _singular = nullptr; + delete this->singular; + this->singular = nullptr; } } - std::unique_ptr< MultivariateDistributionEstimation > SplittingDistributionEstimation::Estimator::operator() (const MultivariateData& data) const + std::unique_ptr< SplittingDistributionEstimation::Estimator::estimation_type > SplittingDistributionEstimation::Estimator::operator() (const data_type& data) const { - UnivariateDataFrame* sum_data = new UnivariateDataFrame(get_NN()); + UnivariateDataFrame sum_data = UnivariateDataFrame(get_NN()); std::unique_ptr< MultivariateData::Generator > generator = data.generator(); - while(generator->is_valid()) - { + while(generator->is_valid()) { int value = 0; - const MultivariateEvent* mevent = generator->event(); - for(Index component = 0, max_component = mevent->size(); component < max_component; ++component) - { - const UnivariateEvent* uevent = mevent->get(component); - if(uevent && uevent->get_outcome() == DISCRETE && uevent->get_event() == ELEMENTARY) - { value += static_cast< const DiscreteElementaryEvent* >(uevent)->get_value(); } + for (Index component = 0, max_component = data.get_nb_components(); component < max_component; ++component) { + const UnivariateEvent* event = generator->get_event(component); + if (event && event->get_outcome() == outcome_type::DISCRETE && event->get_censoring() == censoring_type::NONE) { + value += static_cast< const DiscreteElementaryEvent* >(event)->get_value(); + } } DiscreteElementaryEvent* sum_event = new DiscreteElementaryEvent(value); - sum_data->add_event(sum_event); + sum_data.add_event(sum_event); + delete sum_event; ++(*generator); } WeightedUnivariateData weighted_sum_data = WeightedUnivariateData(sum_data); Index index = 0; generator = data.generator(); - while(generator->is_valid()) - { - weighted_sum_data.set_weight(index, generator->weight()); + while (generator->is_valid()) { + weighted_sum_data.set_weight(index, generator->get_weight()); ++index; ++(*generator); } - DiscreteUnivariateDistributionEstimation* sum = static_cast< DiscreteUnivariateDistributionEstimation* >(((*_sum)(weighted_sum_data, lazy)).release()); - delete sum_data; - SingularDistributionEstimation* singular = (*_singular)(data, lazy).release(); - SplittingDistribution* estimated = new SplittingDistribution(*(static_cast< const DiscreteUnivariateDistribution* >(sum->get_estimated())), *(singular->get_estimated())); - std::unique_ptr< MultivariateDistributionEstimation > estimation; - if(lazy) - { - estimation = std::make_unique< LazyEstimation< SplittingDistribution, DiscreteMultivariateDistributionEstimation > >(estimated); - if(sum) - { delete sum; } - if(singular) - { delete singular; } - } - else - { - estimation = std::make_unique< SplittingDistributionEstimation >(estimated, &data); - static_cast< SplittingDistributionEstimation* >(estimation.get())->_sum = sum; - static_cast< SplittingDistributionEstimation* >(estimation.get())->_singular = singular; - } + DiscreteUnivariateDistributionEstimation* sum = static_cast< DiscreteUnivariateDistributionEstimation* >(((*this->sum)(weighted_sum_data)).release()); + SingularDistributionEstimation* singular = (*this->singular)(data).release(); + std::unique_ptr< SplittingDistributionEstimation > estimation = std::make_unique< SplittingDistributionEstimation >(data.copy().release(), + new SplittingDistribution(*(static_cast< const DiscreteUnivariateDistribution* >(sum->get_distribution())), *(singular->get_distribution()))); + estimation->sum = sum; + estimation->singular = singular; return estimation; } const DiscreteUnivariateDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_sum() const - { return _sum; } + { + return this->sum; + } void SplittingDistributionEstimation::Estimator::set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum) { - if(_sum) - { delete _sum; } - _sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >(sum.copy().release()); + if (this->sum) { + delete this->sum; + } + this->sum = static_cast< DiscreteUnivariateDistributionEstimation::Estimator* >(sum.copy().release()); } const SingularDistributionEstimation::Estimator* SplittingDistributionEstimation::Estimator::get_singular() const - { return _singular; } + { + return this->singular; + } void SplittingDistributionEstimation::Estimator::set_singular(const SingularDistributionEstimation::Estimator& singular) { - if(_singular) - { delete _singular; } - _singular = static_cast< SingularDistributionEstimation::Estimator* >(singular.copy().release()); + if (this->singular) { + delete this->singular; + } + this->singular = static_cast< SingularDistributionEstimation::Estimator* >(singular.copy().release()); } } \ No newline at end of file diff --git a/src/cpp/singular.h b/src/cpp/singular.h index f12d5d81..daf2dcfd 100644 --- a/src/cpp/singular.h +++ b/src/cpp/singular.h @@ -4,6 +4,10 @@ #include "base.h" #include "data.h" +#include "distribution.h" +#include "estimation.h" +#include "optimization.h" +#include "selection.h" namespace statiskit { @@ -85,7 +89,7 @@ namespace statiskit Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; }; }; @@ -93,13 +97,13 @@ namespace statiskit { using PolymorphicCopy >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, SingularDistributionEstimation::Estimator > + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, Optimization< SingularDistributionEstimation::Estimator > > { Estimator(); Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; }; }; @@ -136,6 +140,9 @@ namespace statiskit public: using PolymorphicCopy< SplittingDistributionEstimation, DiscreteMultivariateDistributionEstimation >::PolymorphicCopy; + SplittingDistributionEstimation(const SplittingDistributionEstimation& estimation); + ~SplittingDistributionEstimation(); + const DiscreteUnivariateDistributionEstimation* get_sum() const; const SingularDistributionEstimation* get_singular() const; @@ -147,7 +154,7 @@ namespace statiskit Estimator(const Estimator& estimator); virtual ~Estimator(); - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const bool& lazy=false) const; + virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; const DiscreteUnivariateDistributionEstimation::Estimator* get_sum() const; void set_sum(const DiscreteUnivariateDistributionEstimation::Estimator& sum); diff --git a/src/cpp/slope_heuristic.cpp b/src/cpp/slope_heuristic.cpp index 6f69ab07..4ad02233 100644 --- a/src/cpp/slope_heuristic.cpp +++ b/src/cpp/slope_heuristic.cpp @@ -3,149 +3,163 @@ namespace statiskit { SlopeHeuristicSolver::SlopeHeuristicSolver() - { _solver = linalg::llt; } + { + this->solver = linalg::llt; + } SlopeHeuristicSolver::SlopeHeuristicSolver(const SlopeHeuristicSolver& solver) - { _solver = solver._solver; } + { + this->solver = solver.solver; + } SlopeHeuristicSolver::~SlopeHeuristicSolver() {} linalg::solver_type SlopeHeuristicSolver::get_solver() const - { return _solver; } + { + return this->solver; + } void SlopeHeuristicSolver::set_solver(const linalg::solver_type& solver) - { _solver = solver; } + { + this->solver = solver; + } - SlopeHeuristicOLSSolver::SlopeHeuristicOLSSolver() : SlopeHeuristicSolver() + SlopeHeuristicOLSSolver::SlopeHeuristicOLSSolver() : PolymorphicCopy() {} - SlopeHeuristicOLSSolver::SlopeHeuristicOLSSolver(const SlopeHeuristicOLSSolver& solver) : SlopeHeuristicSolver(solver) + SlopeHeuristicOLSSolver::SlopeHeuristicOLSSolver(const SlopeHeuristicOLSSolver& solver) : PolymorphicCopy(solver) {} Eigen::VectorXd SlopeHeuristicOLSSolver::operator() (const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const - { return linalg::solve(X.transpose() * X, (X.transpose() * y).eval(), _solver); } - - std::unique_ptr< SlopeHeuristicSolver > SlopeHeuristicOLSSolver::copy() const - { return std::make_unique< SlopeHeuristicOLSSolver >(); } + { + return linalg::solve(X.transpose() * X, (X.transpose() * y).eval(), this->solver); + } - SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver() + SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver() : SlopeHeuristicSolver() { - _epsilon = 1e-6; - _maxits = 10; + this->epsilon = 1e-6; + this->maxits = 10; } - SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver(const SlopeHeuristicIWLSSolver& shs) + SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver(const SlopeHeuristicIWLSSolver& shs) : SlopeHeuristicSolver(shs) { - _epsilon = shs._epsilon; - _maxits = shs._maxits; + this->epsilon = shs.epsilon; + this->maxits = shs.maxits; } Eigen::VectorXd SlopeHeuristicIWLSSolver::operator() (const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const { Eigen::MatrixXd W = (Eigen::VectorXd::Ones(y.rows())).asDiagonal(); - Eigen::VectorXd bp, bc = linalg::solve(X.transpose() * X, (X.transpose() * y).eval(), _solver); + Eigen::VectorXd bp, bc = linalg::solve(X.transpose() * X, (X.transpose() * y).eval(), this->solver); unsigned int its = 0; - do - { + do { bp = bc; - update(bp, W, X, y); - bc = linalg::solve(X.transpose() * W * X, (X.transpose() * W * y).eval(), _solver); + this->update(bp, W, X, y); + bc = linalg::solve(X.transpose() * W * X, (X.transpose() * W * y).eval(), this->solver); ++its; - } while((bc - bp).array().square().sqrt().sum() > _epsilon * bp.array().abs().sum() && its < _maxits); + } while((bc - bp).array().square().sqrt().sum() > this->epsilon * bp.array().abs().sum() && its < this->maxits); return bc; } const double& SlopeHeuristicIWLSSolver::get_epsilon() const - { return _epsilon; } + { + return this->epsilon; + } void SlopeHeuristicIWLSSolver::set_epsilon(const double& epsilon) - { _epsilon = epsilon; } + { + this->epsilon = epsilon; + } const unsigned int& SlopeHeuristicIWLSSolver::get_maxits() const - { return _maxits; } + { + return this->maxits; + } void SlopeHeuristicIWLSSolver::set_maxits(const unsigned int& maxits) - { _maxits = maxits; } - - SlopeHeuristicHuberSolver::SlopeHeuristicHuberSolver() : SlopeHeuristicIWLSSolver() - { _k = 1.345; } + { + this->maxits = maxits; + } - SlopeHeuristicHuberSolver::SlopeHeuristicHuberSolver(const SlopeHeuristicHuberSolver& shs) : SlopeHeuristicIWLSSolver(shs) - { _k = shs._k; } + SlopeHeuristicHuberSolver::SlopeHeuristicHuberSolver() : PolymorphicCopy() + { + this->k = 1.345; + } - std::unique_ptr< SlopeHeuristicSolver > SlopeHeuristicHuberSolver::copy() const - { return std::make_unique< SlopeHeuristicHuberSolver >(*this); } + SlopeHeuristicHuberSolver::SlopeHeuristicHuberSolver(const SlopeHeuristicHuberSolver& shs) : PolymorphicCopy(shs) + { + this->k = shs.k; + } const double& SlopeHeuristicHuberSolver::get_k() const - { return _k; } + { + return this->k; + } void SlopeHeuristicHuberSolver::set_k(const double& k) - { _k = k; } + { + this->k = k; + } void SlopeHeuristicHuberSolver::update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const { Eigen::VectorXd errors = y - X * beta; - double sigma = _k * errors.norm() / sqrt(y.size()); + double sigma = this->k * errors.norm() / sqrt(y.size()); errors = errors.cwiseAbs(); - for(Index index = 0, max_index = y.size(); index < max_index; ++index) - { - if(errors(index) <= sigma) - { W(index, index) = 1; } - else - { W(index, index) = sigma / errors(index); } + for (Index index = 0, max_index = y.size(); index < max_index; ++index) { + if (errors(index) <= sigma) { + W(index, index) = 1; + } else { + W(index, index) = sigma / errors(index); + } } } - SlopeHeuristicBiSquareSolver::SlopeHeuristicBiSquareSolver() : SlopeHeuristicIWLSSolver() - { _k = 4.685; } - - SlopeHeuristicBiSquareSolver::SlopeHeuristicBiSquareSolver(const SlopeHeuristicBiSquareSolver& shs) : SlopeHeuristicIWLSSolver(shs) - { _k = shs._k; } + SlopeHeuristicBiSquareSolver::SlopeHeuristicBiSquareSolver() : PolymorphicCopy() + { + this->k = 4.685; + } - std::unique_ptr< SlopeHeuristicSolver > SlopeHeuristicBiSquareSolver::copy() const - { return std::make_unique< SlopeHeuristicBiSquareSolver >(*this); } + SlopeHeuristicBiSquareSolver::SlopeHeuristicBiSquareSolver(const SlopeHeuristicBiSquareSolver& shs) : PolymorphicCopy(shs) + { + this->k = shs.k; + } const double& SlopeHeuristicBiSquareSolver::get_k() const - { return _k; } + { + return this->k; + } void SlopeHeuristicBiSquareSolver::set_k(const double& k) - { _k = k; } + { + this->k = k; + } void SlopeHeuristicBiSquareSolver::update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const { Eigen::VectorXd errors = y - X * beta; - double sigma = _k * errors.norm() / sqrt(y.size()); + double sigma = this->k * errors.norm() / sqrt(y.size()); errors = errors.cwiseAbs(); - for(Index index = 0, max_index = y.size(); index < max_index; ++index) - { - if(errors(index) <= sigma) - { W(index, index) = pow(1 - pow(errors(index) / sigma, 2), 2); } - else - { W(index, index) = 0.; } + for( Index index = 0, max_index = y.size(); index < max_index; ++index) { + if(errors(index) <= sigma) { + W(index, index) = pow(1 - pow(errors(index) / sigma, 2), 2); + } else { + W(index, index) = 0.; + } } } - SlopeHeuristicSelector::~SlopeHeuristicSelector() - {} - - SlopeHeuristicMaximalSelector::SlopeHeuristicMaximalSelector() - {} - - SlopeHeuristicMaximalSelector::SlopeHeuristicMaximalSelector(const SlopeHeuristicMaximalSelector& selector) - {} - Index SlopeHeuristicMaximalSelector::operator() (const SlopeHeuristic& sh) const { Index index, lower = 0, upper = 1, max_index = sh.size(); index = max_index; Index length = 0; - while(upper < max_index) - { - while(upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) - { ++upper; } - if(upper - lower >= length) - { + while (upper < max_index) { + while (upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) { + ++upper; + } + if (upper - lower >= length) { length = upper - lower; index = lower; } @@ -154,40 +168,39 @@ namespace statiskit } return index; } - - std::unique_ptr< SlopeHeuristicSelector > SlopeHeuristicMaximalSelector::copy() const - { return std::make_unique< SlopeHeuristicMaximalSelector >(*this); } - SlopeHeuristicSuperiorSelector::SlopeHeuristicSuperiorSelector() - { _threshold = .20; } + { + this->threshold = .20; + } SlopeHeuristicSuperiorSelector::SlopeHeuristicSuperiorSelector(const SlopeHeuristicSuperiorSelector& selector) - { _threshold = selector._threshold; } + { + this->threshold = selector.threshold; + } Index SlopeHeuristicSuperiorSelector::operator() (const SlopeHeuristic& sh) const { Index index, lower = 0, upper = 1, max_index = sh.size(); index = max_index; - while(index == max_index && upper < max_index) - { - while(upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) - { ++upper; } - if(upper - lower > int(_threshold * max_index)) - { index = lower; } + while (index == max_index && upper < max_index) { + while (upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) { + ++upper; + } + if (upper - lower > int(this->threshold * max_index)) { + index = lower; + } lower = upper; ++upper; } - if(index == max_index) - { + if (index == max_index) { lower = 0, upper = 1; Index length = 0; - while(upper < max_index) - { - while(upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) - { ++upper; } - if(upper - lower > length) - { + while (upper < max_index) { + while (upper < max_index && sh.get_selected(lower) == sh.get_selected(upper)) { + ++upper; + } + if (upper - lower > length) { length = upper - lower; index = lower; } @@ -198,162 +211,174 @@ namespace statiskit return index; } - std::unique_ptr< SlopeHeuristicSelector > SlopeHeuristicSuperiorSelector::copy() const - { return std::make_unique< SlopeHeuristicSuperiorSelector >(*this); } - const double& SlopeHeuristicSuperiorSelector::get_threshold() const - { return _threshold; } + { + return this->threshold; + } void SlopeHeuristicSuperiorSelector::set_threshold(const double& threshold) - { _threshold = threshold; } + { + this->threshold = threshold; + } SlopeHeuristic::SlopeHeuristic() { - _penshapes.clear(); - _scores.clear(); - _intercepts.clear(); - _slopes.clear(); - _selected.clear(); - _solver = new SlopeHeuristicHuberSolver(); - _selector = new SlopeHeuristicSuperiorSelector(); + this->penshapes.clear(); + this->scores.clear(); + this->intercepts.clear(); + this->slopes.clear(); + this->selected.clear(); + this->solver = new SlopeHeuristicHuberSolver(); + this->selector = new SlopeHeuristicSuperiorSelector(); } SlopeHeuristic::SlopeHeuristic(const std::set< double >& penshapes, const std::vector< double >& scores) { - _penshapes = std::vector< double >(penshapes.cbegin(), penshapes.cend()); - if(scores.size() != penshapes.size()) - { throw size_error("scores", scores.size(), penshapes.size()); } - _scores = scores; - _solver = new SlopeHeuristicBiSquareSolver(); - _selector = new SlopeHeuristicSuperiorSelector(); - finalize(); + this->penshapes = std::vector< double >(penshapes.cbegin(), penshapes.cend()); + if (scores.size() != penshapes.size()) { + throw size_error("scores", scores.size(), penshapes.size()); + } + this->scores = scores; + this->solver = new SlopeHeuristicBiSquareSolver(); + this->selector = new SlopeHeuristicSuperiorSelector(); + this->finalize(); } SlopeHeuristic::SlopeHeuristic(const std::set< double >& penshapes, const std::vector< double >& scores, const SlopeHeuristicSolver& solver, const SlopeHeuristicSelector& selector) { - _penshapes = std::vector< double >(penshapes.cbegin(), penshapes.cend()); - if(scores.size() != penshapes.size()) - { throw size_error("scores", scores.size(), penshapes.size()); } - _scores = scores; - _solver = solver.copy().release(); - _selector = selector.copy().release(); - finalize(); + this->penshapes = std::vector< double >(penshapes.cbegin(), penshapes.cend()); + if (scores.size() != penshapes.size()) { + throw size_error("scores", scores.size(), penshapes.size()); + } + this->scores = scores; + this->solver = solver.copy().release(); + this->selector = selector.copy().release(); + this->finalize(); } SlopeHeuristic::~SlopeHeuristic() { - if(_solver) + if(this->solver) { - delete _solver; - _solver = nullptr; + delete this->solver; + this->solver = nullptr; } - if(_selector) + if(this->selector) { - delete _selector; - _selector = nullptr; + delete this->selector; + this->selector = nullptr; } } SlopeHeuristic::SlopeHeuristic(const SlopeHeuristic& sh) { - _penshapes = sh._penshapes; - _scores = sh._scores; - _intercepts = sh._intercepts; - _slopes = sh._slopes; - _selected = sh._selected; - _solver = sh._solver->copy().release(); - _selector = sh._selector->copy().release(); + this->penshapes = sh.penshapes; + this->scores = sh.scores; + this->intercepts = sh.intercepts; + this->slopes = sh.slopes; + this->selected = sh.selected; + this->solver = sh.solver->copy().release(); + this->selector = sh.selector->copy().release(); } Index SlopeHeuristic::size() const - { return _penshapes.size(); } + { + return this->penshapes.size(); + } const double& SlopeHeuristic::get_score(const Index& index) const - { return _scores[index]; } + { + return this->scores[index]; + } const double& SlopeHeuristic::get_penshape(const Index& index) const - { return _penshapes[index]; } + { + return this->penshapes[index]; + } const double& SlopeHeuristic::get_intercept(const Index& index) const - { return _intercepts[index]; } + { + return this->intercepts[index]; + } const double& SlopeHeuristic::get_slope(const Index& index) const - { return _slopes[index]; } + { + return this->slopes[index]; + } const Index& SlopeHeuristic::get_selected(const Index& index) const - { return _selected[index]; } + { + return this->selected[index]; + } double SlopeHeuristic::compute_r_squared(const Index& index) const { Index max_index = size(); Eigen::MatrixXd X(index, 2); Eigen::VectorXd y(index), beta(2); - beta(0) = _intercepts[index]; - beta(1) = _slopes[index]; - for(Index shift = 0; shift < index; ++shift) - { + beta(0) = this->intercepts[index]; + beta(1) = this->slopes[index]; + for (Index shift = 0; shift < index; ++shift) { X(shift, 0) = 1; - X(shift, 1) = _penshapes[max_index - shift - 1]; - y(shift) = _scores[max_index - shift - 1]; + X(shift, 1) = this->penshapes[max_index - shift - 1]; + y(shift) = this->scores[max_index - shift - 1]; } return 1. - (y - X * beta).squaredNorm() / (y.array() - y.mean()).matrix().squaredNorm(); } SlopeHeuristicSolver* SlopeHeuristic::get_solver() - { return _solver; } + { + return this->solver; + } void SlopeHeuristic::set_solver(const SlopeHeuristicSolver& solver) { - _solver = solver.copy().release(); - finalize(); + this->solver = solver.copy().release(); + this->finalize(); } SlopeHeuristicSelector* SlopeHeuristic::get_selector() - { return _selector; } + { + return this->selector; + } void SlopeHeuristic::set_selector(const SlopeHeuristicSelector& selector) - { _selector = selector.copy().release(); } + { + this->selector = selector.copy().release(); + } void SlopeHeuristic::finalize() { - _intercepts = std::vector< double >(size(), std::numeric_limits< double >::quiet_NaN()); - _slopes = std::vector< double >(size(), std::numeric_limits< double >::quiet_NaN()); - for(Index index = 2, max_index = size(); index < max_index; ++index) - { + this->intercepts = std::vector< double >(this->size(), std::numeric_limits< double >::quiet_NaN()); + this->slopes = std::vector< double >(this->size(), std::numeric_limits< double >::quiet_NaN()); + for (Index index = 2, max_index = this->size(); index < max_index; ++index) { Eigen::MatrixXd X(index, 2); Eigen::VectorXd y(index); - for(Index shift = 0; shift < index; ++shift) - { + for (Index shift = 0; shift < index; ++shift) { X(shift, 0) = 1; - X(shift, 1) = _penshapes[max_index - shift - 1]; - y(shift) = _scores[max_index - shift - 1]; + X(shift, 1) = this->penshapes[max_index - shift - 1]; + y(shift) = this->scores[max_index - shift - 1]; } - try - { - Eigen::VectorXd beta = (*_solver)(X, y); - _intercepts[index - 1] = beta(0); - _slopes[index - 1] = beta(1); + try { + Eigen::VectorXd beta = (*this->solver)(X, y); + this->intercepts[index - 1] = beta(0); + this->slopes[index - 1] = beta(1); + } catch(const std::exception& error) { } - catch(const std::exception& error) - {} } - _selected = std::vector< Index >(_slopes.size()); - for(Index index = 1, max_index = size(); index < max_index; ++index) - { - std::pair< double, Index > max = std::make_pair(-1*std::numeric_limits< double >::infinity(), size()); - if(boost::math::isfinite(_slopes[index])) - { - for(Index shift = 0; shift < max_index; ++shift) - { - double score = _scores[shift] - 2 * _slopes[index] * _penshapes[shift]; - if(boost::math::isfinite(score) && score > max.first) - { + this->selected = std::vector< Index >(this->slopes.size()); + for (Index index = 1, max_index = size(); index < max_index; ++index) { + std::pair< double, Index > max = std::make_pair(-1*std::numeric_limits< double >::infinity(), this->size()); + if (boost::math::isfinite(this->slopes[index])) { + for (Index shift = 0; shift < max_index; ++shift) { + double score = this->scores[shift] - 2 * this->slopes[index] * this->penshapes[shift]; + if(boost::math::isfinite(score) && score > max.first) { max.first = score; max.second = shift; } } } - _selected[index] = max.second; + this->selected[index] = max.second; } } } diff --git a/src/cpp/slope_heuristic.h b/src/cpp/slope_heuristic.h index 75a400ec..2adfced6 100644 --- a/src/cpp/slope_heuristic.h +++ b/src/cpp/slope_heuristic.h @@ -13,6 +13,8 @@ namespace statiskit class STATISKIT_CORE_API SlopeHeuristicSolver { public: + using copy_type = SlopeHeuristicSolver; + SlopeHeuristicSolver(); SlopeHeuristicSolver(const SlopeHeuristicSolver& solver); virtual ~SlopeHeuristicSolver(); @@ -22,13 +24,13 @@ namespace statiskit linalg::solver_type get_solver() const; void set_solver(const linalg::solver_type& solver); - virtual std::unique_ptr< SlopeHeuristicSolver > copy() const = 0; + virtual std::unique_ptr< copy_type > copy() const = 0; protected: linalg::solver_type solver; }; - struct STATISKIT_CORE_API SlopeHeuristicOLSSolver : SlopeHeuristicSolver + struct STATISKIT_CORE_API SlopeHeuristicOLSSolver : PolymorphicCopy { SlopeHeuristicOLSSolver(); SlopeHeuristicOLSSolver(const SlopeHeuristicOLSSolver& solver); @@ -59,14 +61,12 @@ namespace statiskit virtual void update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const = 0; }; - class STATISKIT_CORE_API SlopeHeuristicHuberSolver : public SlopeHeuristicIWLSSolver + class STATISKIT_CORE_API SlopeHeuristicHuberSolver : public PolymorphicCopy { public: SlopeHeuristicHuberSolver(); SlopeHeuristicHuberSolver(const SlopeHeuristicHuberSolver& shs); - virtual std::unique_ptr< SlopeHeuristicSolver > copy() const; - const double& get_k() const; void set_k(const double& k); @@ -76,14 +76,12 @@ namespace statiskit virtual void update(const Eigen::VectorXd& beta, Eigen::MatrixXd& W, const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const; }; - class STATISKIT_CORE_API SlopeHeuristicBiSquareSolver : public SlopeHeuristicIWLSSolver + class STATISKIT_CORE_API SlopeHeuristicBiSquareSolver : public PolymorphicCopy { public: SlopeHeuristicBiSquareSolver(); SlopeHeuristicBiSquareSolver(const SlopeHeuristicBiSquareSolver& shs); - virtual std::unique_ptr< SlopeHeuristicSolver > copy() const; - const double& get_k() const; void set_k(const double& k); @@ -99,7 +97,9 @@ namespace statiskit { using copy_type = SlopeHeuristicSelector; - virtual ~SlopeHeuristicSelector(); + SlopeHeuristicSelector() = default; + SlopeHeuristicSelector(const SlopeHeuristicSelector& selector) = default; + virtual ~SlopeHeuristicSelector() = default; virtual Index operator() (const SlopeHeuristic& sh) const = 0; @@ -116,8 +116,9 @@ namespace statiskit class STATISKIT_CORE_API SlopeHeuristicSuperiorSelector : public PolymorphicCopy { public: - using PolymorphicCopy::PolymorphicCopy; - + SlopeHeuristicSuperiorSelector(); + SlopeHeuristicSuperiorSelector(const SlopeHeuristicSuperiorSelector& selector); + virtual Index operator() (const SlopeHeuristic& sh) const; const double& get_threshold() const; diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index 7b0c7142..8bba37b3 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -8,347 +8,135 @@ from . import __core # Resolve scopes +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator = __core.statiskit.__distribution_estimation_91c5962ae4f35199bc2e90b5edad8412.Estimator +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator = __core.statiskit.__distribution_estimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator __core.statiskit.MultivariateLocationEstimation.Estimator = __core.statiskit._multivariate_location_estimation.Estimator +__core.std.IosBase.event = __core.std._ios_base.event __core.statiskit.UnivariateData.Generator = __core.statiskit._univariate_data.Generator +__core.std.IosBase.Init = __core.std._ios_base.Init +__core.std.Locale.Facet = __core.std._locale.Facet __core.statiskit.UnivariateDispersionEstimation.Estimator = __core.statiskit._univariate_dispersion_estimation.Estimator +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator = __core.statiskit.__conditional_distribution_estimation_22af95e725215bc9b21db076f5deefd7.Estimator __core.statiskit.SizeError.size_type = __core.statiskit._size_error.size_type -__core.statiskit.MultivariateData.Generator = __core.statiskit._multivariate_data.Generator +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.Sentry = __core.std.__basic_ostream_e1391944268253558f04b6f996bb5a8b.Sentry +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator = __core.statiskit.__conditional_distribution_estimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator __core.statiskit.MultivariateDispersionEstimation.Estimator = __core.statiskit._multivariate_dispersion_estimation.Estimator -__core.statiskit.MultivariateConditionalData.Generator = __core.statiskit._multivariate_conditional_data.Generator -__core.statiskit.UnivariateConditionalData.Generator = __core.statiskit._univariate_conditional_data.Generator +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator = __core.statiskit.__distribution_estimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator +__core.std.Locale.Id = __core.std._locale.Id __core.statiskit.UnivariateLocationEstimation.Estimator = __core.statiskit._univariate_location_estimation.Estimator -__core.statiskit.MultivariateVarianceEstimation.Estimator = __core.statiskit._multivariate_variance_estimation.Estimator +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.Estimator = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb.Estimator __core.statiskit.UnivariateDistributionEstimation.Estimator = __core.statiskit._univariate_distribution_estimation.Estimator -__core.statiskit.MultivariateMeanEstimation.Estimator = __core.statiskit._multivariate_mean_estimation.Estimator -__core.statiskit.UnivariateVarianceEstimation.Estimator = __core.statiskit._univariate_variance_estimation.Estimator -__core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799.Generator = __core.statiskit.__weighted_data_64ae6eddce405116ba534ed722881799.Generator -__core.statiskit.SingularDistributionEstimation.Estimator = __core.statiskit._singular_distribution_estimation.Estimator -__core.statiskit.MultivariateDistributionEstimation.Estimator = __core.statiskit._multivariate_distribution_estimation.Estimator __core.statiskit.MultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._multivariate_conditional_distribution_estimation.Estimator -__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2.Generator = __core.statiskit.__weighted_data_5b5f1c1f4aa852eab398cea6df20fee2.Generator +__core.statiskit.MultivariateDistributionEstimation.Estimator = __core.statiskit._multivariate_distribution_estimation.Estimator __core.statiskit.UnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._univariate_conditional_distribution_estimation.Estimator -__core.statiskit.UnivariateMeanEstimation.Estimator = __core.statiskit._univariate_mean_estimation.Estimator -__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_distribution_estimation.Estimator -__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._categorical_univariate_conditional_distribution_estimation.Estimator -__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_conditional_distribution_estimation.Estimator -__core.statiskit._Selection_503849a008915707a02e604de7f58273.Estimator = __core.statiskit.__selection_503849a008915707a02e604de7f58273.Estimator -__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._continuous_multivariate_conditional_distribution_estimation.Estimator -__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._continuous_univariate_conditional_distribution_estimation.Estimator +__core.statiskit.MultivariateData.Generator = __core.statiskit._multivariate_data.Generator __core.statiskit.ContinuousMultivariateDistributionEstimation.Estimator = __core.statiskit._continuous_multivariate_distribution_estimation.Estimator __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator = __core.statiskit._continuous_univariate_distribution_estimation.Estimator -__core.statiskit.DiscreteMultivariateDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_distribution_estimation.Estimator -__core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.Estimator = __core.statiskit.__selection_44e7c25b7bde5df2a9f031c534765f11.Estimator -__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_conditional_distribution_estimation.Estimator -__core.statiskit.CategoricalUnivariateDistributionEstimation.Estimator = __core.statiskit._categorical_univariate_distribution_estimation.Estimator -__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._discrete_univariate_conditional_distribution_estimation.Estimator -__core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.Estimator = __core.statiskit.__selection_2d551f106ba85f3cb3acfbda4c8e17c7.Estimator +__core.statiskit.MultivariateVarianceEstimation.Estimator = __core.statiskit._multivariate_variance_estimation.Estimator +__core.statiskit.MultinomialSingularDistributionEstimation.Estimator = __core.statiskit._multinomial_singular_distribution_estimation.Estimator +__core.statiskit.MultivariateMeanEstimation.Estimator = __core.statiskit._multivariate_mean_estimation.Estimator +__core.statiskit.UnivariateVarianceEstimation.Estimator = __core.statiskit._univariate_variance_estimation.Estimator __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator = __core.statiskit._discrete_univariate_distribution_estimation.Estimator +__core.statiskit.CategoricalUnivariateDistributionEstimation.Estimator = __core.statiskit._categorical_univariate_distribution_estimation.Estimator +__core.statiskit.DiscreteMultivariateDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_distribution_estimation.Estimator +__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_distribution_estimation.Estimator +__core.statiskit.UnivariateMeanEstimation.Estimator = __core.statiskit._univariate_mean_estimation.Estimator +__core.statiskit.DirichletMultinomialSingularDistributionEstimation.Estimator = __core.statiskit._dirichlet_multinomial_singular_distribution_estimation.Estimator +__core.std.IosBase.Failure = __core.std._ios_base.Failure +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator +__core.statiskit.GeometricDistributionMLEstimation.Estimator = __core.statiskit._geometric_distribution_ml_estimation.Estimator __core.statiskit.RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._regular_univariate_histogram_distribution_slope_heuristic_selection.Estimator -__core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.Estimator = __core.statiskit.__selection_8f3919223a1f55afb240c3500b95c95b.Estimator -__core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.Estimator = __core.statiskit.__selection_b797921d7173586f85a1f0978dfdd59d.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e.Estimator __core.statiskit.BinomialDistributionMMEstimation.Estimator = __core.statiskit._binomial_distribution_mm_estimation.Estimator -__core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.Estimator = __core.statiskit.__selection_98899d54414f570aa57f6357fdc66074.Estimator +__core.statiskit.SplittingDistributionEstimation.Estimator = __core.statiskit._splitting_distribution_estimation.Estimator __core.statiskit.NegativeBinomialDistributionMMEstimation.Estimator = __core.statiskit._negative_binomial_distribution_mm_estimation.Estimator __core.statiskit.PoissonDistributionMLEstimation.Estimator = __core.statiskit._poisson_distribution_ml_estimation.Estimator -__core.statiskit.MultinomialSingularDistributionEstimation.Estimator = __core.statiskit._multinomial_singular_distribution_estimation.Estimator -__core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.Estimator = __core.statiskit.__selection_f29b9e4bae2254ec8b6d9cf0133bf530.Estimator -__core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.Estimator = __core.statiskit.__selection_e28923ae1ac356e5845929232f8e09ac.Estimator __core.statiskit.IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._irregular_univariate_histogram_distribution_slope_heuristic_selection.Estimator -__core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.Estimator = __core.statiskit.__selection_5b1444f7a44054459e5adff18c81bbfb.Estimator -__core.statiskit._OptimizationEstimationImpl_b11157049fc45e7181cc22c9c3670513.Estimator = __core.statiskit.__optimization_estimation_impl_b11157049fc45e7181cc22c9c3670513.Estimator -__core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.Estimator = __core.statiskit.__selection_d9f7731b9dbc5740add8fc7749d9283d.Estimator -__core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.Estimator = __core.statiskit.__selection_6040d8f35856585fa65c9beece0f520f.Estimator -__core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.Estimator = __core.statiskit.__selection_cd94566e790a5588be95cba4cfaaec57.Estimator +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator = __core.statiskit.__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator __core.statiskit.NormalDistributionMLEstimation.Estimator = __core.statiskit._normal_distribution_ml_estimation.Estimator -__core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.Estimator = __core.statiskit.__selection_6d92f9f1e7ca5180bf403b23e9073d86.Estimator -__core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator -__core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.Estimator = __core.statiskit.__selection_e1e7647ed4235775b6d085dd28a83675.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7.Estimator +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator = __core.statiskit.__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1.Estimator __core.statiskit.UnivariateHistogramDistributionEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_estimation.Estimator -__core.statiskit._OptimizationEstimationImpl_16ec8df96bd85f88b8999c4cbe58279e.Estimator = __core.statiskit.__optimization_estimation_impl_16ec8df96bd85f88b8999c4cbe58279e.Estimator -__core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.Estimator = __core.statiskit.__selection_1c16077fc2b0519d806e8d900500edde.Estimator -__core.statiskit.GeometricDistributionMLEstimation.Estimator = __core.statiskit._geometric_distribution_ml_estimation.Estimator -__core.statiskit._OptimizationEstimationImpl_ddbb72c73020556288736634edca5653.Estimator = __core.statiskit.__optimization_estimation_impl_ddbb72c73020556288736634edca5653.Estimator -__core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator -__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator = __core.statiskit.__shifted_distribution_estimation_c4fa66fd13165a0abce0c43742e69748.Estimator -__core.statiskit._OptimizationEstimationImpl_19547a3e283b56f0bcbda5ed6c39eca7.Estimator = __core.statiskit.__optimization_estimation_impl_19547a3e283b56f0bcbda5ed6c39eca7.Estimator -__core.statiskit.SplittingDistributionEstimation.Estimator = __core.statiskit._splitting_distribution_estimation.Estimator -__core.statiskit._OptimizationEstimationImpl_1b24919f2a0e5918adddc5638f6048e9.Estimator = __core.statiskit.__optimization_estimation_impl_1b24919f2a0e5918adddc5638f6048e9.Estimator -__core.statiskit._OptimizationEstimationImpl_a4ffccf09be35258a1a7081721670d59.Estimator = __core.statiskit.__optimization_estimation_impl_a4ffccf09be35258a1a7081721670d59.Estimator -__core.statiskit._OptimizationEstimationImpl_099f33625b8c56688a7b3e04cbb36b62.Estimator = __core.statiskit.__optimization_estimation_impl_099f33625b8c56688a7b3e04cbb36b62.Estimator -__core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator = __core.statiskit.__selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator -__core.statiskit._OptimizationEstimationImpl_48bb93ba41cb566d971639633c42258d.Estimator = __core.statiskit.__optimization_estimation_impl_48bb93ba41cb566d971639633c42258d.Estimator -__core.statiskit._OptimizationEstimation_a2e03e1beb3652d19910e253216cbbdd.Estimator = __core.statiskit.__optimization_estimation_a2e03e1beb3652d19910e253216cbbdd.Estimator -__core.statiskit._OptimizationEstimationImpl_84eec6a551bf57658127a555bf79a38f.Estimator = __core.statiskit.__optimization_estimation_impl_84eec6a551bf57658127a555bf79a38f.Estimator -__core.statiskit._OptimizationEstimationImpl_28b80b998353537091198ca5f60cbdbf.Estimator = __core.statiskit.__optimization_estimation_impl_28b80b998353537091198ca5f60cbdbf.Estimator -__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator = __core.statiskit.__shifted_distribution_estimation_df69c16128ca5c609f45a63866a1af2f.Estimator -__core.statiskit._OptimizationEstimation_68170427b0885d37a676e4274699fa05.Estimator = __core.statiskit.__optimization_estimation_68170427b0885d37a676e4274699fa05.Estimator -__core.statiskit._OptimizationEstimation_1d32c3b4d5615a2883aebf6ef53e85e8.Estimator = __core.statiskit.__optimization_estimation_1d32c3b4d5615a2883aebf6ef53e85e8.Estimator -__core.statiskit._OptimizationEstimationImpl_39bbeb58de54579b934e5a56a51b377c.Estimator = __core.statiskit.__optimization_estimation_impl_39bbeb58de54579b934e5a56a51b377c.Estimator -__core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator = __core.statiskit.__selection_503849a008915707a02e604de7f58273.CriterionEstimator -__core.statiskit._OptimizationEstimationImpl_748e3ec2e85552f2ab39e490d409b414.Estimator = __core.statiskit.__optimization_estimation_impl_748e3ec2e85552f2ab39e490d409b414.Estimator -__core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator = __core.statiskit.__selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator -__core.statiskit._OptimizationEstimationImpl_7595c6bb437c59a9bc93a1f66c37eddf.Estimator = __core.statiskit.__optimization_estimation_impl_7595c6bb437c59a9bc93a1f66c37eddf.Estimator -__core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator = __core.statiskit.__selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator -__core.statiskit._OptimizationEstimation_232384c3de2e54ad9b4768c29f93cd4e.Estimator = __core.statiskit.__optimization_estimation_232384c3de2e54ad9b4768c29f93cd4e.Estimator -__core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator = __core.statiskit.__selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator -__core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator = __core.statiskit.__mixture_distribution_em_estimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator -__core.statiskit._OptimizationEstimation_66ba790876ea5d25be923643f217b67a.Estimator = __core.statiskit.__optimization_estimation_66ba790876ea5d25be923643f217b67a.Estimator -__core.statiskit._OptimizationEstimation_ee3148dbf8425c8f8a5c5a280fb4586c.Estimator = __core.statiskit.__optimization_estimation_ee3148dbf8425c8f8a5c5a280fb4586c.Estimator -__core.statiskit._OptimizationEstimation_615b4cea5f9251d3b38950014f9d5697.Estimator = __core.statiskit.__optimization_estimation_615b4cea5f9251d3b38950014f9d5697.Estimator -__core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator = __core.statiskit.__selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator -__core.statiskit._OptimizationEstimation_d703fdffb5985355afb348563c2a3b0c.Estimator = __core.statiskit.__optimization_estimation_d703fdffb5985355afb348563c2a3b0c.Estimator -__core.statiskit._OptimizationEstimation_15d5beb354475a4b8c2ab5885c0662bd.Estimator = __core.statiskit.__optimization_estimation_15d5beb354475a4b8c2ab5885c0662bd.Estimator -__core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator = __core.statiskit.__mixture_distribution_em_estimation_c3981878d7ab5e6f87183b575418286b.Estimator -__core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator = __core.statiskit.__selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator -__core.statiskit._OptimizationEstimation_6ab41d8aa0095175b6da7190fc953a97.Estimator = __core.statiskit.__optimization_estimation_6ab41d8aa0095175b6da7190fc953a97.Estimator -__core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator = __core.statiskit.__selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator -__core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator = __core.statiskit.__selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator -__core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator = __core.statiskit.__selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator -__core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator = __core.statiskit.__selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator -__core.statiskit._OptimizationEstimation_bae2e5a4968957478cacad701caac477.Estimator = __core.statiskit.__optimization_estimation_bae2e5a4968957478cacad701caac477.Estimator -__core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator = __core.statiskit.__selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator -__core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator = __core.statiskit.__selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator -__core.statiskit._OptimizationEstimation_90a595db73ec5964850871a0849d9df6.Estimator = __core.statiskit.__optimization_estimation_90a595db73ec5964850871a0849d9df6.Estimator -__core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator = __core.statiskit.__selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator -__core.statiskit._OptimizationEstimation_8c6ff66ad2db50f3b16cf4191e75d77b.Estimator = __core.statiskit.__optimization_estimation_8c6ff66ad2db50f3b16cf4191e75d77b.Estimator -__core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator = __core.statiskit.__selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator -__core.statiskit.DirichletMultinomialSingularDistributionEstimation.Estimator = __core.statiskit._dirichlet_multinomial_singular_distribution_estimation.Estimator -__core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator = __core.statiskit.__mixture_distribution_em_estimation_6dd78f5508545bf49150581341735774.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator __core.statiskit.BinomialDistributionMLEstimation.Estimator = __core.statiskit._binomial_distribution_ml_estimation.Estimator __core.statiskit.NegativeMultinomialDistributionEstimation.WZ99Estimator = __core.statiskit._negative_multinomial_distribution_estimation.WZ99Estimator -__core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator = __core.statiskit.__mixture_distribution_em_estimation_1b793d6dd01553ae939c99e3743fa436.Estimator -__core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator = __core.statiskit.__mixture_distribution_em_estimation_5940fdd28e32560cbb554a38b002be00.Estimator -__core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator = __core.statiskit.__mixture_distribution_em_estimation_5e00a634363a53b79e62b0712b0cbe57.Estimator __core.statiskit.NegativeBinomialDistributionMLEstimation.Estimator = __core.statiskit._negative_binomial_distribution_ml_estimation.Estimator __core.statiskit.LogarithmicDistributionMLEstimation.Estimator = __core.statiskit._logarithmic_distribution_ml_estimation.Estimator -__core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator = __core.statiskit.__mixture_distribution_em_estimation_f6675a262e6b55f6819ef4c5599c308b.Estimator -__core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator = __core.statiskit.__mixture_distribution_em_estimation_a361e68cde6a5b379c5300d00bee657c.Estimator -__core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator.criterion_type = __core.statiskit.__selection_e1e7647ed4235775b6d085dd28a83675._criterion_estimator.criterion_type -__core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator.criterion_type = __core.statiskit.__selection_44e7c25b7bde5df2a9f031c534765f11._criterion_estimator.criterion_type -__core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator.criterion_type = __core.statiskit.__selection_e28923ae1ac356e5845929232f8e09ac._criterion_estimator.criterion_type -__core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator.criterion_type = __core.statiskit.__selection_1c16077fc2b0519d806e8d900500edde._criterion_estimator.criterion_type -__core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator.criterion_type = __core.statiskit.__selection_b797921d7173586f85a1f0978dfdd59d._criterion_estimator.criterion_type -__core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator.criterion_type = __core.statiskit.__selection_98899d54414f570aa57f6357fdc66074._criterion_estimator.criterion_type -__core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator.criterion_type = __core.statiskit.__selection_6040d8f35856585fa65c9beece0f520f._criterion_estimator.criterion_type -__core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator.criterion_type = __core.statiskit.__selection_2d551f106ba85f3cb3acfbda4c8e17c7._criterion_estimator.criterion_type -__core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator.criterion_type = __core.statiskit.__selection_8f3919223a1f55afb240c3500b95c95b._criterion_estimator.criterion_type -__core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator.criterion_type = __core.statiskit.__selection_503849a008915707a02e604de7f58273._criterion_estimator.criterion_type -__core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator.criterion_type = __core.statiskit.__selection_d9f7731b9dbc5740add8fc7749d9283d._criterion_estimator.criterion_type -__core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator.criterion_type = __core.statiskit.__selection_6d92f9f1e7ca5180bf403b23e9073d86._criterion_estimator.criterion_type -__core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator.criterion_type = __core.statiskit.__selection_f29b9e4bae2254ec8b6d9cf0133bf530._criterion_estimator.criterion_type -__core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator.criterion_type = __core.statiskit.__selection_cd94566e790a5588be95cba4cfaaec57._criterion_estimator.criterion_type -__core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator.criterion_type = __core.statiskit.__selection_5b1444f7a44054459e5adff18c81bbfb._criterion_estimator.criterion_type +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator.criterion_type = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb._criterion_estimator.criterion_type # Group template specializations -__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0281a28ebbe655cabfc3d1baabb16b6c, __core.statiskit._PolymorphicCopy_1790dd7d2111554099562871bb0f85af, __core.statiskit._PolymorphicCopy_d84d3426cce55670b51d351b388a8ae8, __core.statiskit._PolymorphicCopy_eb4ed1ac11775528a15a11246865cec3, __core.statiskit._PolymorphicCopy_fbe279819c925fe9bb1cdf5d0de8cf1a, __core.statiskit._PolymorphicCopy_075f4a1dea37583ebdb7b34686ef683f, __core.statiskit._PolymorphicCopy_0ec3624c447f5547b35390faafaf867f, __core.statiskit._PolymorphicCopy_167b2440c33657b2abc8311b6621a7bb, __core.statiskit._PolymorphicCopy_16a072b3aa3255f989f89ed810798d2e, __core.statiskit._PolymorphicCopy_214e9eab615f5960b6c5415c0c55fa0c, __core.statiskit._PolymorphicCopy_2ff2806eb8795c00b3220e66ed037bae, __core.statiskit._PolymorphicCopy_3185f3f8abfe5447acd1b43172130b8e, __core.statiskit._PolymorphicCopy_3389d2f38d825c49975e5cfc9a0517d5, __core.statiskit._PolymorphicCopy_43d603893a165ed2bf34ad286a50f22e, __core.statiskit._PolymorphicCopy_5e9c2eecb34851cd99100ce520f53c6e, __core.statiskit._PolymorphicCopy_665b8d3ceeaa526cb99ce05a6dc94f38, __core.statiskit._PolymorphicCopy_6c36c615980657b7b51c6c44de94c819, __core.statiskit._PolymorphicCopy_7504e6a86bdf57c0a7e644a6615fcd51, __core.statiskit._PolymorphicCopy_7510c84a2e4c5022ac15bd97a576d4b0, __core.statiskit._PolymorphicCopy_7963cd416f6c50c09445d3b27e4f9428, __core.statiskit._PolymorphicCopy_79be5108bb8c56d9825ee10945271a59, __core.statiskit._PolymorphicCopy_8486f4aa8ce25724972cec18f80c00cc, __core.statiskit._PolymorphicCopy_861c54941e635197a1fd90e0eb95cd28, __core.statiskit._PolymorphicCopy_86ceaf8153c052c9b470c7e534cdb934, __core.statiskit._PolymorphicCopy_988ed407a0da542eb838d5681ba5ffd1, __core.statiskit._PolymorphicCopy_abb8de3fed35566b9c88aebdaec5f1a0, __core.statiskit._PolymorphicCopy_b101d02bb3d95e95ac86387f50f9bccd, __core.statiskit._PolymorphicCopy_bb48025bb0a15b5c907ff0400bf2207a, __core.statiskit._PolymorphicCopy_bc77a106572e58ba96fe5742a38e574c, __core.statiskit._PolymorphicCopy_cc3bc950f48855398043fabd1fa92b62, __core.statiskit._PolymorphicCopy_dd64d489201652bd9b30c6b9ce866197, __core.statiskit._PolymorphicCopy_eae24fefebd9570687e8a345f6e50c1b, __core.statiskit._PolymorphicCopy_f93af042f688513484b1158c96b9eaef, __core.statiskit._PolymorphicCopy_fcc6162c378c5756b392afed99931125, __core.statiskit._PolymorphicCopy_09fa62065c8f5098af0f7db57ad3e6a9, __core.statiskit._PolymorphicCopy_1151599a3fae506b8f5a5bddf7efd129, __core.statiskit._PolymorphicCopy_3fdfbd3fa64657cebd5a4166db8b26a9, __core.statiskit._PolymorphicCopy_473e4f9a05ed5118bd06e179489a35f4, __core.statiskit._PolymorphicCopy_48bccb3a91fe5cebbca2f6105b37b2c5, __core.statiskit._PolymorphicCopy_90681e203d925f7c8b9ca14a02786804, __core.statiskit._PolymorphicCopy_a3883be24c8c5dd1bcba4dff4ebd0c4f, __core.statiskit._PolymorphicCopy_b014379d48a45dac9f7ee65cf09afac7, __core.statiskit._PolymorphicCopy_b745bd62c1315087a0aa661317232745, __core.statiskit._PolymorphicCopy_d09bc728f19c5db5a6f8091c4c6d9f2b, __core.statiskit._PolymorphicCopy_d0ed0f7adad950a1a66bbbf2fcc3f5d1, __core.statiskit._PolymorphicCopy_d6970cd0a37451cfbcd48d316b17aaa0, __core.statiskit._PolymorphicCopy_e49aea4bd5fa5370abfd0a3ba47ff03e, __core.statiskit._PolymorphicCopy_f76f62b9f79a5f43900330c071ce00fb, __core.statiskit._PolymorphicCopy_ffc7b6c27c595cb6ab53ebb2f04ce1de, __core.statiskit._PolymorphicCopy_22a1fcd680dc54a1b88ffdab2f60f4a5, __core.statiskit._PolymorphicCopy_30b90e733d3b5718b760496782efec78, __core.statiskit._PolymorphicCopy_3b85938d896e56519b8342119ca08869, __core.statiskit._PolymorphicCopy_528d7cd3a92d569d897fdc1e61483003, __core.statiskit._PolymorphicCopy_5877793da2745ffb9f47b225e5ec26b6, __core.statiskit._PolymorphicCopy_58960b7597495bb78bb15e0b1e8c9de8, __core.statiskit._PolymorphicCopy_603c48a232f0549ab95e7c0325f6f159, __core.statiskit._PolymorphicCopy_681ebebfc39f52e7b797a69c6f165cc7, __core.statiskit._PolymorphicCopy_74f6b70412845069a8b8594df02c99e5, __core.statiskit._PolymorphicCopy_86541250592e58489f051f41f0896e22, __core.statiskit._PolymorphicCopy_c64f8514180b56eabe5b4d197177f547, __core.statiskit._PolymorphicCopy_ca5d28928ff15dbc886e10017edb407d, __core.statiskit._PolymorphicCopy_ddc1dd1f57af5b6d966459fdd3ae2480, __core.statiskit._PolymorphicCopy_2613fe07dc7251cea4181b6d9d00aad1, __core.statiskit._PolymorphicCopy_c285de96478650da951aca759bc2616e, __core.statiskit._PolymorphicCopy_c45aea45ed2e564cb24514edfc5e63b0) -__core.statiskit._LazyEstimation = (__core.statiskit._LazyEstimation_040909a1c2b158b198be21fa1ab2b474, __core.statiskit._LazyEstimation_423ed9cbac44541cb53a4cf80e6e15d5, __core.statiskit._LazyEstimation_51a269f41c995b2e8c33ae7f895f50ae, __core.statiskit._LazyEstimation_59db006e2d0a532f903fd7d41c9aabfb, __core.statiskit._LazyEstimation_90ffe8fffb9b5923867b6c24ac9eedb7, __core.statiskit._LazyEstimation_caa96dc8906e541dbda0563fb9f042bc, __core.statiskit._LazyEstimation_db3e81250c765e35b6b7ab7b9d17c8ea, __core.statiskit._LazyEstimation_08568636c5a25349ad6ad5335ed1718e, __core.statiskit._LazyEstimation_1f50e5c48a545cf9a618ddbf871d3a9c, __core.statiskit._LazyEstimation_281a291cf9465a1e9af25cbee1cf5bad, __core.statiskit._LazyEstimation_2ee8bfaab59653a08d72e8d97ec7b5dd, __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065, __core.statiskit._LazyEstimation_3b2e19fa74a45eb49f08742886108635, __core.statiskit._LazyEstimation_3fd024ee203f5dbeb9a9f3392ca1db8c, __core.statiskit._LazyEstimation_40c631b5a67d5748bbfdeaa0beedb4e0, __core.statiskit._LazyEstimation_49e18be963b9503a942009b04ff7e676, __core.statiskit._LazyEstimation_4b1365f753d05b8db1db0b529f5110f9, __core.statiskit._LazyEstimation_5d63830a58ae5ad1aaf2cb88275ddd22, __core.statiskit._LazyEstimation_6d99edae55df515bbdeb7c5c0e15917e, __core.statiskit._LazyEstimation_6f183e6be0945c80a110bb22edb227d9, __core.statiskit._LazyEstimation_7189dbb358a659bb802e95b3ea6ebebd, __core.statiskit._LazyEstimation_7b62905e006b57cc879769143ac42b3a, __core.statiskit._LazyEstimation_7d52b247865d503986da71f28e0da3e9, __core.statiskit._LazyEstimation_87317e63de535031ba8bf5e2f19134ef, __core.statiskit._LazyEstimation_87bede3683865d5daba537c08a5c665f, __core.statiskit._LazyEstimation_8946cbc54c235b72b2e100c2785ce4c3, __core.statiskit._LazyEstimation_899c8afc48a850aaac3ae5c4614380e9, __core.statiskit._LazyEstimation_90894824332153a7a0c5c3bd4ff0eab8, __core.statiskit._LazyEstimation_9d7f0f97517952029268e1fd35ac8843, __core.statiskit._LazyEstimation_9dcc67ced1f05c0a9b634f6e7bdffe6c, __core.statiskit._LazyEstimation_bb17c2bea1da5d2a86714ca422d3c393, __core.statiskit._LazyEstimation_d72a9c13e27a5de5800ea382cc4d107f, __core.statiskit._LazyEstimation_db760ff53e0e5dca8e558b09ed12163c, __core.statiskit._LazyEstimation_e8c4cdf7ac4e5ead83bcc0877ffddd76, __core.statiskit._LazyEstimation_ea23650412285dd89c33e1ed29a91cb7, __core.statiskit._LazyEstimation_ef99412d87545a1391d9c6cbb66e08e8, __core.statiskit._LazyEstimation_f7ee5d4607de508bb39519488f31e96c) -__core.statiskit._MixtureDistribution = (__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389, __core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb, __core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d, __core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19, __core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8, __core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3, __core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05, __core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c) -__core.std._Vector = (__core.std._Vector_160b713997e259caa9b19848803d29f1, __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78, __core.std._Vector_1a895a21d59854609ac58f50d8dcef94, __core.std._Vector_3c1962795bd85111b3372c4c25474792, __core.std._Vector_41f94682b11f5bf481e7cf7033a93181, __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0, __core.std._Vector_a138b226412951b38a64aaad8bc549ac, __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1, __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda) -__core.statiskit._WeightedData = (__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2, __core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799) -__core.statiskit._LeftCensoredEvent = (__core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e, __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053) +__core.std._BasicStreambuf = (__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84) +__core.statiskit._ConditionalDistributionEstimation = (__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7, __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc) +__core.statiskit._DistributionEstimation = (__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34, __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412, __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f) +__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7, __core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d, __core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f, __core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0, __core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f, __core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d, __core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7, __core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a, __core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762, __core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f, __core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09, __core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b, __core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86, __core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7, __core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4, __core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72, __core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf, __core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55, __core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6, __core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92, __core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a, __core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998, __core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8, __core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c, __core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c, __core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387, __core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82, __core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee, __core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87, __core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a, __core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860, __core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66, __core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8, __core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7, __core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac, __core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89, __core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8, __core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b, __core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031, __core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5, __core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931, __core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425, __core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d, __core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c, __core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5, __core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63, __core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc, __core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061, __core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429, __core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd, __core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a, __core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8, __core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6, __core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f, __core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387, __core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd, __core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7, __core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008, __core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c, __core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83, __core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b, __core.statiskit._PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72, __core.statiskit._PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475, __core.statiskit._PolymorphicCopy_119aa039675055618c8a856f637be1e0, __core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2, __core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc, __core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3, __core.statiskit._PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109, __core.statiskit._PolymorphicCopy_420aec1990555632bd8e6235f3099ec2, __core.statiskit._PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e, __core.statiskit._PolymorphicCopy_4e2cec23d01552a2b35a809a21ed47b7, __core.statiskit._PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d, __core.statiskit._PolymorphicCopy_55903cb2e67650868a4cd698632375c1, __core.statiskit._PolymorphicCopy_66d9b98a90ce5f338f4cf2e1c0e583ae, __core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf, __core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375, __core.statiskit._PolymorphicCopy_6ccbb61746f857cfafd8b031a8f6a6d9, __core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec, __core.statiskit._PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310, __core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d, __core.statiskit._PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a, __core.statiskit._PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496, __core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f, __core.statiskit._PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc, __core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf, __core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf, __core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8, __core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e, __core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7, __core.statiskit._PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7, __core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780, __core.statiskit._PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46, __core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe, __core.statiskit._PolymorphicCopy_051fc1b76bd35424959669918dd74f6a, __core.statiskit._PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b, __core.statiskit._PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714, __core.statiskit._PolymorphicCopy_9e028a1ab0715490be328e777d68493e, __core.statiskit._PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188, __core.statiskit._PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e, __core.statiskit._PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6, __core.statiskit._PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275, __core.statiskit._PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622, __core.statiskit._PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10) +__core.std._Vector = (__core.std._Vector_160b713997e259caa9b19848803d29f1) +__core.statiskit._Optimization = (__core.statiskit._Optimization_3170a5376b065cea9f39ca7a6ad5332f, __core.statiskit._Optimization_246619e611bb5657b2e56a30794d1385, __core.statiskit._Optimization_b730e37e69f05687be99d670316afe25) +__core.statiskit._IterativeEstimation = (__core.statiskit._IterativeEstimation_3f4e466ff3215f84837970a75685a8b5, __core.statiskit._IterativeEstimation_3ea06f62f79c50b5856e5712f2ec8e84, __core.statiskit._IterativeEstimation_5ed6f55d014d5a74a1d1acafef440cde, __core.statiskit._IterativeEstimation_f66e5627d97f5fac82e3d89b9b0694dc) +__core.std._Ctype = (__core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8) +__core.statiskit._WeightedData = (__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2, __core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799, __core.statiskit._WeightedData_b96c209ac3dd5f7fbfe78eac3417193e) +__core.std._BasicIos = (__core.std._BasicIos_f8b8546034205658b6e3e16175284f26) __core.statiskit._UnivariateFrequencyDistribution = (__core.statiskit._UnivariateFrequencyDistribution_0db25688c9bf5a57b1d944dcc1a3b7f2, __core.statiskit._UnivariateFrequencyDistribution_a4463e49d7865a6497ec20612e342cbe, __core.statiskit._UnivariateFrequencyDistribution_bf5b68f25d1f5ab9ad2c936351edf740) +__core.statiskit._Selection = (__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb) +__core.std._BasicOstream = (__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b) +__core.statiskit._LeftCensoredEvent = (__core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e, __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053) __core.statiskit._RightCensoredEvent = (__core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f, __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6) __core.statiskit._ElementaryEvent = (__core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393, __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527, __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d) +__core.statiskit._ShiftedDistribution = (__core.statiskit._ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559, __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486) __core.statiskit._CensoredEvent = (__core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651, __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835, __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33) -__core.statiskit._ActiveEstimation = (__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6, __core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca, __core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437, __core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f, __core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4, __core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c, __core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664, __core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937, __core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7, __core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330, __core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3, __core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c, __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a, __core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df, __core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b, __core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60, __core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557, __core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8, __core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983, __core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6, __core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15, __core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0, __core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e, __core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5, __core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99, __core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733, __core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d, __core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36, __core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0, __core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3, __core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84, __core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279, __core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b, __core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4, __core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618) -__core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4) __core.statiskit._IntervalCensoredEvent = (__core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5, __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247) -__core.statiskit._Optimization = (__core.statiskit._Optimization_b65e2bfb02355375b92295f460fb1b15, __core.statiskit._Optimization_fd63b9f470165717923109c2f3c8739d, __core.statiskit._Optimization_3d6a15edb2225daba874c2b80defe6b4, __core.statiskit._Optimization_5bbb1918edfa5fb49894cb0a6bf46044, __core.statiskit._Optimization_985cf21680915944bc189269c6e7eaf8, __core.statiskit._Optimization_b129309aaed65ac0b06bd5889ca44405, __core.statiskit._Optimization_e04b2c4523535837960c26d5b28953fc, __core.statiskit._Optimization_f81a8ee127995b0890ddd9786aab755d) -__core.statiskit._UnivariateMixtureDistribution = (__core.statiskit._UnivariateMixtureDistribution_055ebc8a6eb3586cb94dfd0b3df1eb0f, __core.statiskit._UnivariateMixtureDistribution_55c0eb1fcb6e5b0da7045e99481d4b0c, __core.statiskit._UnivariateMixtureDistribution_61234f1033f25f108ec6c1bb0d3ddf38) -__core.statiskit._OptimizationEstimationImpl = (__core.statiskit._OptimizationEstimationImpl_16ec8df96bd85f88b8999c4cbe58279e, __core.statiskit._OptimizationEstimationImpl_b11157049fc45e7181cc22c9c3670513, __core.statiskit._OptimizationEstimationImpl_ddbb72c73020556288736634edca5653, __core.statiskit._OptimizationEstimationImpl_099f33625b8c56688a7b3e04cbb36b62, __core.statiskit._OptimizationEstimationImpl_19547a3e283b56f0bcbda5ed6c39eca7, __core.statiskit._OptimizationEstimationImpl_1b24919f2a0e5918adddc5638f6048e9, __core.statiskit._OptimizationEstimationImpl_28b80b998353537091198ca5f60cbdbf, __core.statiskit._OptimizationEstimationImpl_39bbeb58de54579b934e5a56a51b377c, __core.statiskit._OptimizationEstimationImpl_48bb93ba41cb566d971639633c42258d, __core.statiskit._OptimizationEstimationImpl_748e3ec2e85552f2ab39e490d409b414, __core.statiskit._OptimizationEstimationImpl_7595c6bb437c59a9bc93a1f66c37eddf, __core.statiskit._OptimizationEstimationImpl_84eec6a551bf57658127a555bf79a38f, __core.statiskit._OptimizationEstimationImpl_a4ffccf09be35258a1a7081721670d59) -__core.statiskit._Selection = (__core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7, __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11, __core.statiskit._Selection_503849a008915707a02e604de7f58273, __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde, __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb, __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f, __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86, __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b, __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074, __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d, __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57, __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d, __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675, __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac, __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530) -__core.statiskit._ShiftedDistribution = (__core.statiskit._ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559, __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486) -__core.statiskit._MultivariateMixtureDistribution = (__core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f, __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b, __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa, __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580) -__core.statiskit._ShiftedDistributionEstimation = (__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748, __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f) -__core.statiskit._UnivariateFrequencyDistributionEstimation = (__core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201, __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4) __core.statiskit._QuantitativeUnivariateFrequencyDistribution = (__core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01, __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb) -__core.statiskit._OptimizationEstimation = (__core.statiskit._OptimizationEstimation_1d32c3b4d5615a2883aebf6ef53e85e8, __core.statiskit._OptimizationEstimation_68170427b0885d37a676e4274699fa05, __core.statiskit._OptimizationEstimation_a2e03e1beb3652d19910e253216cbbdd, __core.statiskit._OptimizationEstimation_15d5beb354475a4b8c2ab5885c0662bd, __core.statiskit._OptimizationEstimation_232384c3de2e54ad9b4768c29f93cd4e, __core.statiskit._OptimizationEstimation_615b4cea5f9251d3b38950014f9d5697, __core.statiskit._OptimizationEstimation_66ba790876ea5d25be923643f217b67a, __core.statiskit._OptimizationEstimation_6ab41d8aa0095175b6da7190fc953a97, __core.statiskit._OptimizationEstimation_8c6ff66ad2db50f3b16cf4191e75d77b, __core.statiskit._OptimizationEstimation_90a595db73ec5964850871a0849d9df6, __core.statiskit._OptimizationEstimation_bae2e5a4968957478cacad701caac477, __core.statiskit._OptimizationEstimation_d703fdffb5985355afb348563c2a3b0c, __core.statiskit._OptimizationEstimation_ee3148dbf8425c8f8a5c5a280fb4586c) -__core.statiskit._QuantitativeUnivariateMixtureDistribution = (__core.statiskit._QuantitativeUnivariateMixtureDistribution_61733bdc2db95f128686b3292ae9259a, __core.statiskit._QuantitativeUnivariateMixtureDistribution_9961bd1cc47c50ed9fd0cd4ed55feeb4) -__core.statiskit._MixtureDistributionEMEstimation = (__core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87, __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b, __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436, __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00, __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57, __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774, __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c, __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b) +__core.statiskit._UnivariateFrequencyDistributionEstimation = (__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7, __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6, __core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e) +__core.statiskit._ShiftedDistributionEstimation = (__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f, __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1) +__core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4) # Define aliases -__core.statiskit.ContinuousUnivariateDistributionVector = __core.std._Vector_67870dc7ea665794a91fa84ca05aecb0 -__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b -__core.statiskit._ActiveEstimation_85895a324a625f0888907166731d1bca.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.DiscreteMultivariateDistributionEstimation.MarginalType = __core.statiskit.DiscreteUnivariateDistributionEstimation -__core.statiskit.MixedMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11.CriterionEstimator -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436.Estimator -__core.statiskit.MultivariateConditionalDistributionEstimation.DataType = __core.statiskit.MultivariateConditionalData -__core.statiskit.ContinuousUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57.CriterionEstimator -__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 -__core.statiskit.MultivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit._ActiveEstimation_0b7e758230bf50db981289f48e9fdca7.EstimatedType = __core.statiskit.DiscreteMultivariateConditionalDistribution -__core.statiskit.MixedMultivariateConditionalDistributionSelection = __core.statiskit._Selection_44e7c25b7bde5df2a9f031c534765f11 -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00.Estimator -__core.statiskit._ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c.EstimatedType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a.EstimatedType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.ContinuousMultivariateDistributionVector = __core.std._Vector_19ec6a1f261852b5b192c3cbc4571d78 -__core.statiskit._ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator -__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData -__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86.CriterionEstimator -__core.statiskit.CategoricalUnivariateConditionalDistribution.ResponseType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit.CategoricalUnivariateConditionalDistributionSelection = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074 +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData __core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201 -__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774.Estimator -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.CategoricalUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436 +__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.DistributionType = __core.statiskit.UnivariateConditionalDistribution +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator __core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.CategoricalMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00 -__core.statiskit._ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937.EstimatedType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit._ActiveEstimation_281622f2e8fd576dae1b13441146f58b.EstimatedType = __core.statiskit.BinomialDistribution -__core.statiskit._ActiveEstimation_e793dec94d375e40b28adb85f4d45664.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 -__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac.CriterionEstimator -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57 -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c.Estimator -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.CategoricalUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_98899d54414f570aa57f6357fdc66074.CriterionEstimator -__core.statiskit.MixedMultivariateDistributionSelection = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7 -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b.Estimator -__core.statiskit.SingularDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.ContinuousMultivariateDistributionEstimation.MarginalType = __core.statiskit.ContinuousUnivariateDistributionEstimation -__core.statiskit._MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8.ObservationType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DataType = __core.statiskit.MultivariateData +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator __core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit._MixtureDistribution_dcb42c58c45353839bf4d081d804b14c.ObservationType = __core.statiskit.CategoricalMultivariateDistribution -__core.statiskit._ActiveEstimation_6375bd4b368450a684e289f7598736a6.EstimatedType = __core.statiskit.DiscreteMultivariateDistribution -__core.statiskit.MultivariateDistributionEstimation.CopyType = __core.statiskit.MultivariateDistributionEstimation -__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData -__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb -__core.statiskit.DiscreteUnivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530.CriterionEstimator -__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace -__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent -__core.statiskit.DiscreteUnivariateConditionalDistribution.ResponseType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit._ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8.EstimatedType = __core.statiskit.UnivariateHistogramDistribution -__core.statiskit.CategoricalMultivariateConditionalDistributionSelection = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f -__core.statiskit._ActiveEstimation_134023695d4459f2931df9cb87b57330.EstimatedType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 +__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 +__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 __core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent -__core.statiskit.ContinuousUnivariateConditionalDistribution.ResponseType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionVector = __core.std._Vector_ee054e76c90f582f9e07cdff4cd63eda -__core.statiskit._ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15.EstimatedType = __core.statiskit.NegativeBinomialDistribution -__core.statiskit._ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6.EstimatedType = __core.statiskit.SingularDistribution -__core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d.CriterionEstimator -__core.statiskit.MultivariateDistribution.MarginalType = __core.statiskit.UnivariateDistribution -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f -__core.statiskit._MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d.ObservationType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_503849a008915707a02e604de7f58273 -__core.statiskit.MixedMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b -__core.statiskit.MultivariateDistributionEstimation.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.CategoricalMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.MultivariateConditionalDistributionEstimation.CopyType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit._ActiveEstimation_8481c329ca5e52b0af85447122c41ca5.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit.CategoricalUnivariateDistributionLazyEstimation = __core.statiskit._LazyEstimation_3312cf49434759ee93e09764ddc76065 -__core.statiskit.CategoricalMultivariateDistributionEstimation.MarginalType = __core.statiskit.CategoricalUnivariateDistributionEstimation -__core.statiskit.UnivariateConditionalDistributionEstimation.CopyType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit._ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b.EstimatedType = __core.statiskit.DiscreteUnivariateMixtureDistribution -__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_6d92f9f1e7ca5180bf403b23e9073d86 -__core.statiskit.ContinuousMultivariateDistribution.MarginalType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.MixtureSingularDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87 -__core.statiskit.DiscreteMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b -__core.statiskit._ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e.EstimatedType = __core.statiskit.GeometricDistribution -__core.statiskit.MultivariateDistributionEstimation.DataType = __core.statiskit.MultivariateData -__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 __core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateConditionalDistributionEstimation -__core.statiskit._ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3.EstimatedType = __core.statiskit.CategoricalMultivariateConditionalDistribution -__core.statiskit.SingularDistributionEstimation.EstimatedType = __core.statiskit.SingularDistribution -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit.SingularDistributionEstimation.Estimator.EstimationType = __core.statiskit.SingularDistributionEstimation -__core.statiskit._ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733.EstimatedType = __core.statiskit.LogarithmicDistribution -__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748 -__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_503849a008915707a02e604de7f58273.CriterionEstimator -__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution -__core.statiskit._ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84.EstimatedType = __core.statiskit.ContinuousUnivariateMixtureDistribution -__core.statiskit._ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0.EstimatedType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit.DiscreteMultivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57.Estimator -__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent -__core.statiskit._MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05.ObservationType = __core.statiskit.ContinuousMultivariateDistribution -__core.statiskit._ActiveEstimation_9cf0f707397c5385baa38f245ba80437.EstimatedType = __core.statiskit.MultinomialSingularDistribution -__core.statiskit._ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_8f3919223a1f55afb240c3500b95c95b.CriterionEstimator -__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator -__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit.DiscreteMultivariateDistributionVector = __core.std._Vector_3c1962795bd85111b3372c4c25474792 -__core.statiskit.UnivariateDistributionEstimation.DataType = __core.statiskit.UnivariateData -__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace -__core.statiskit.ContinuousUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774 -__core.statiskit._ActiveEstimation_27cfd1a8870659e08234770c1938e6df.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580 -__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201.Estimator -__core.statiskit._ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator -__core.statiskit.ContinuousMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit._ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4.EstimatedType = __core.statiskit.PoissonDistribution -__core.statiskit._ActiveEstimation_adb101528f1256ccaa63a94998938b36.EstimatedType = __core.statiskit.SplittingDistribution -__core.statiskit.SingularDistributionEstimation.CopyType = __core.statiskit.SingularDistributionEstimation -__core.statiskit._MixtureDistribution_b24ad967ae66587ba612c3f37635bddb.ObservationType = __core.statiskit.MultivariateDistribution -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_1c16077fc2b0519d806e8d900500edde.CriterionEstimator -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4.Estimator -__core.statiskit.MixedMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_2d551f106ba85f3cb3acfbda4c8e17c7.CriterionEstimator -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b.Estimator -__core.statiskit._ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4.EstimatedType = __core.statiskit.MixtureSingularDistribution -__core.statiskit.DiscreteUnivariateConditionalDistributionSelection = __core.statiskit._Selection_f29b9e4bae2254ec8b6d9cf0133bf530 -__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_d9f7731b9dbc5740add8fc7749d9283d -__core.statiskit.DiscreteUnivariateDistributionVector = __core.std._Vector_ce6d678c114158f596627eb4f0c6e9b1 -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent -__core.statiskit.UnivariateDistributionEstimation.EstimatedType = __core.statiskit.UnivariateDistribution -__core.statiskit.CategoricalMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_6040d8f35856585fa65c9beece0f520f.CriterionEstimator -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit.MixtureSingularDistributionEMEstimator = __core.statiskit._MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87.Estimator -__core.statiskit._ActiveEstimation_30db7beed1bd54e38566ef11693e0e60.EstimatedType = __core.statiskit.ContinuousUnivariateDistribution -__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation.Estimator -__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.EstimationType = __core.statiskit.MultivariateConditionalDistributionEstimation -__core.statiskit.ContinuousUnivariateConditionalDistributionSelection = __core.statiskit._Selection_cd94566e790a5588be95cba4cfaaec57 -__core.statiskit.DiscreteMultivariateConditionalDistributionSelection = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675 -__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData -__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData -__core.statiskit._ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c.EstimatedType = __core.statiskit.NormalDistribution -__core.statiskit.ContinuousMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d.CriterionEstimator -__core.statiskit.MultivariateDistributionEstimation.EstimatedType = __core.statiskit.MultivariateDistribution -__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_5b1444f7a44054459e5adff18c81bbfb.CriterionEstimator -__core.statiskit.DiscreteMultivariateDistribution.MarginalType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData __core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._MixtureDistribution_13232a7341945cd08787bdf29befb389.ObservationType = __core.statiskit.SingularDistribution -__core.statiskit._MixtureDistribution_c50f0d84f3a05771b904e670721690e3.ObservationType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d.EstimatedType = __core.statiskit.CategoricalUnivariateMixtureDistribution -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.statiskit._ActiveEstimation_18bed25ce1eb5640880f010edb403ed3.EstimatedType = __core.statiskit.ContinuousMultivariateConditionalDistribution -__core.statiskit._MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19.ObservationType = __core.statiskit.DiscreteUnivariateDistribution -__core.statiskit._ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f.EstimatedType = __core.statiskit.DirichletMultinomialSingularDistribution -__core.statiskit.MixedMultivariateMixtureDistribution = __core.statiskit._MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f -__core.statiskit.UnivariateDistributionEstimation.CopyType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_e28923ae1ac356e5845929232f8e09ac -__core.statiskit.CategoricalUnivariateDistributionActiveEstimation = __core.statiskit._ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a -__core.statiskit.MultivariateDistributionEstimation.Estimator.MarginalType = __core.statiskit.UnivariateDistributionEstimation -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.UnivariateConditionalDistributionEstimation.DataType = __core.statiskit.UnivariateConditionalData -__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit.UnivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit.CategoricalUnivariateDistributionVector = __core.std._Vector_41f94682b11f5bf481e7cf7033a93181 -__core.statiskit.UnivariateDistributionEstimation.Estimator.EstimationType = __core.statiskit.UnivariateDistributionEstimation -__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.CategoricalMultivariateDistribution.MarginalType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0.EstimatedType = __core.statiskit.DiscreteUnivariateConditionalDistribution -__core.statiskit.DiscreteMultivariateConditionalDistributionCriterionEstimator = __core.statiskit._Selection_e1e7647ed4235775b6d085dd28a83675.CriterionEstimator -__core.statiskit._ActiveEstimation_9603102166305920b6c85e3416150e99.EstimatedType = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 -__core.statiskit._ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557.EstimatedType = __core.statiskit.ContinuousUnivariateConditionalDistribution -__core.statiskit._ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279.EstimatedType = __core.statiskit._MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa -__core.statiskit.MultivariateDistributionVector = __core.std._Vector_1a895a21d59854609ac58f50d8dcef94 -__core.statiskit.DiscreteUnivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b -__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4 -__core.statiskit._ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983.EstimatedType = __core.statiskit.CategoricalUnivariateConditionalDistribution -__core.statiskit.ContinuousMultivariateConditionalDistributionSelection = __core.statiskit._Selection_b797921d7173586f85a1f0978dfdd59d -__core.statiskit.ContinuousMultivariateMixtureDistributionEMEstimation = __core.statiskit._MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c -__core.statiskit.MultivariateConditionalDistributionEstimation.EstimatedType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution diff --git a/src/py/wrapper/_core.cpp b/src/py/wrapper/_core.cpp index 47ddbb7f..9dce3ca2 100644 --- a/src/py/wrapper/_core.cpp +++ b/src/py/wrapper/_core.cpp @@ -1,102 +1,95 @@ #include "_core.h" -void wrapper_0a36039624465699ab0fb3ebba56695a(pybind11::module& module); +void wrapper_057cf4037321591b98a5dc5f85faf504(pybind11::module& module); void wrapper_0e41540d879f5526a70e316582f05d49(pybind11::module& module); void wrapper_0f631b8bbb065d39a1378915b306a904(pybind11::module& module); -void wrapper_117864e1dfe65915bf10502e182e5502(pybind11::module& module); +void wrapper_112dc12b863f53fea4df7b3ba388fd84(pybind11::module& module); void wrapper_13ec603d05f1534bbe1491c0634dca90(pybind11::module& module); void wrapper_1495e1a47b435a5cab889b3ee5b413de(pybind11::module& module); void wrapper_154892f4a4d05203bd5b77c0b8662195(pybind11::module& module); +void wrapper_16e0ec24327b5201927673f1e4c6eeca(pybind11::module& module); void wrapper_176ad7b821255b478820451a70624393(pybind11::module& module); void wrapper_1a16c32a3d8f5d01b8d739fb757db381(pybind11::module& module); -void wrapper_1ae28b9397ee5736a45e106e0eb3d8f9(pybind11::module& module); -void wrapper_1d46946cbf4e5e5188cb98cb24f80697(pybind11::module& module); -void wrapper_209197cf35105a20a75950ef9403af98(pybind11::module& module); +void wrapper_1cfac4e761e4558085f0b7c2a58070f2(pybind11::module& module); +void wrapper_22af95e725215bc9b21db076f5deefd7(pybind11::module& module); void wrapper_2513f8d88792503e97d2b3f6b8c31e6f(pybind11::module& module); -void wrapper_2644644fcf2c54858f0565d665dcdbf4(pybind11::module& module); +void wrapper_294225563b8d53458805fdd4cfd054de(pybind11::module& module); void wrapper_2a9f5c079e365a359ea86941717450bb(pybind11::module& module); +void wrapper_2f3439617e035c41b1282a03e900ef19(pybind11::module& module); void wrapper_30c68813a7c05198a94e1fdadbddc931(pybind11::module& module); -void wrapper_340c5465095052af9d63bdb8d9799d79(pybind11::module& module); +void wrapper_34c2a8dbedd15f6e89c09855550f107b(pybind11::module& module); +void wrapper_37cab44615185125b12b8246ddcfeae0(pybind11::module& module); void wrapper_39737fb8eb785c29bb3a9eca8ab9e325(pybind11::module& module); void wrapper_3a465479f748511898cc3d6b13455141(pybind11::module& module); void wrapper_3a6a49079d1b5e9bb815105374e2fc93(pybind11::module& module); +void wrapper_3a72e173884155f78c8bc127cca80d9c(pybind11::module& module); void wrapper_3c400e97b58f58b5ba01fa8b0e0f5cca(pybind11::module& module); -void wrapper_3c4215c1e4465be3a5f234b657381458(pybind11::module& module); void wrapper_3ca8ff4e14d1580fa17364607bc956c4(pybind11::module& module); void wrapper_3e3d38965c5e5a02ae621877dba470cf(pybind11::module& module); void wrapper_4091fe7ebaea5a58bb732192d7661dce(pybind11::module& module); void wrapper_41e33df7e8f15f9498a49fd08b35a4fc(pybind11::module& module); -void wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(pybind11::module& module); void wrapper_4540538b16205d90be33cf08feed0673(pybind11::module& module); -void wrapper_47713b069ca05573b21bd47acc8c8465(pybind11::module& module); +void wrapper_45da991e033e578d8aa55b46b232ec21(pybind11::module& module); +void wrapper_47e877e586e1567691c16ec40ec1eb13(pybind11::module& module); void wrapper_484cc9c9d3f856c7aa18f642966f14a9(pybind11::module& module); -void wrapper_4ccf3378b28a52cf822b51336a473a25(pybind11::module& module); void wrapper_4ddb01be8d3a54e7a69007c077bb86fb(pybind11::module& module); -void wrapper_4e58a130fe9e52ffa312f3e583614e93(pybind11::module& module); void wrapper_5060bd7989345eaab2a7cccb560a27f2(pybind11::module& module); -void wrapper_50b1ee8b31d65a6c8c8652f8d3909202(pybind11::module& module); +void wrapper_5180cb0278d15668832646c0905783b8(pybind11::module& module); void wrapper_5186497276525dcc88f6e6e8b313d2af(pybind11::module& module); +void wrapper_53a566eea7215e8b945cbdedf3acf7bc(pybind11::module& module); void wrapper_5517439c40d6505682aa2e58ed6cea33(pybind11::module& module); -void wrapper_5882772a749051e4bbaf2d0ffe53631a(pybind11::module& module); +void wrapper_5647113ef4105dfab0588ffcaf6c479b(pybind11::module& module); void wrapper_5a335bfacc455508850f696069e82b3b(pybind11::module& module); -void wrapper_6286fa427e2b5074b726466691e9713a(pybind11::module& module); -void wrapper_62ba3b73a1c356bcacfb0c66e927e78d(pybind11::module& module); +void wrapper_621822ae142e56979bee170334c7a63a(pybind11::module& module); void wrapper_63cc054edf33518fa708f9caa286dab6(pybind11::module& module); -void wrapper_65f1b96fc3cf5b6abf37b20774ffb554(pybind11::module& module); +void wrapper_663730845d925082a43337bf446ebf00(pybind11::module& module); void wrapper_6d1d52249a4c562691e57f68df4bcc06(pybind11::module& module); void wrapper_6eb3528843c6511f97a06a8eb24dda64(pybind11::module& module); +void wrapper_6f54a1805d7d5e6b9796d225ad86ca34(pybind11::module& module); void wrapper_76d258d0b30f5e3a94d02ba97954104b(pybind11::module& module); void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module); -void wrapper_7a9d965afc04501291149551eda23354(pybind11::module& module); -void wrapper_7e1cec4e31015327b818f37cfea0452d(pybind11::module& module); +void wrapper_79c03425b8505668b16ffdd958127107(pybind11::module& module); void wrapper_7ed55bcdec33582fb2767f7d96937c85(pybind11::module& module); +void wrapper_7f05968a172a528da4c7ae7e40d9faa7(pybind11::module& module); void wrapper_84a556d72f7851e1831ea2c8cb5d6cb3(pybind11::module& module); void wrapper_87b566a692cb54b18914b54eb295ef9a(pybind11::module& module); void wrapper_87d8e2ef8c42506c83fc802501fb4284(pybind11::module& module); void wrapper_88cb53c05b215504b1f0ee0564765af0(pybind11::module& module); void wrapper_89be9fb233875ed0ab82187a315d00e7(pybind11::module& module); -void wrapper_8c51a578c55d5bdd9eb4e60d4581366b(pybind11::module& module); -void wrapper_8e92507e5f595339b8e2826b584e0a7b(pybind11::module& module); +void wrapper_91c5962ae4f35199bc2e90b5edad8412(pybind11::module& module); void wrapper_95d0d4d7e8215bf98789264a4aeb8c71(pybind11::module& module); -void wrapper_97ddfd5be73a5e91b93724af3ea449cd(pybind11::module& module); -void wrapper_98e77d2afcc252cba528077bc2cc3103(pybind11::module& module); -void wrapper_99243b0a36d95168b8a85b4b4999e459(pybind11::module& module); +void wrapper_96902179d8e1527ab8396789f078e437(pybind11::module& module); +void wrapper_9a33479821955c81b01e8f3c319e5180(pybind11::module& module); void wrapper_9b1c85d3df8e5cba922fb88752a0d746(pybind11::module& module); -void wrapper_9c9b0b8265215a57b48807e0fc9938ba(pybind11::module& module); +void wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(pybind11::module& module); +void wrapper_a07113fabe3b5ca2bb7456220de98547(pybind11::module& module); +void wrapper_a0e97d92179d57c6b360e221cdb4303b(pybind11::module& module); void wrapper_a40e46e6e0ca59f7a440e68cd5fd7072(pybind11::module& module); -void wrapper_a57657628a525cab9dae00c5ee02b84f(pybind11::module& module); void wrapper_a5987d3cf2915a0aa8ed90e4c5f1f64f(pybind11::module& module); +void wrapper_a700d305386f53d0ae8398580f9913c3(pybind11::module& module); void wrapper_a9a9c3199bce59e6adb38a4d295e4bd4(pybind11::module& module); void wrapper_aa517e9d14595c32b4bf797f0280ed1f(pybind11::module& module); -void wrapper_abef6177f46d50b5bb54c0dd31824754(pybind11::module& module); -void wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe(pybind11::module& module); -void wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4(pybind11::module& module); -void wrapper_b2b642c7a2d45bf5ad54e86cd730fb10(pybind11::module& module); +void wrapper_b0122226f9b45c7885b797dfe5216cc3(pybind11::module& module); +void wrapper_b2b598c024f65acba246d207ae371e07(pybind11::module& module); void wrapper_b2f3c2f39c61584abb2d15ebc8f7a063(pybind11::module& module); void wrapper_b3b19a6f3e2a5de28de1bc7ac29a0253(pybind11::module& module); -void wrapper_b69665ff8e35506d9f4bdc083f09c052(pybind11::module& module); -void wrapper_b9daedbb8a1d5864bc019efa0a0d17df(pybind11::module& module); -void wrapper_bf2c6deebd8e55f3824ecd5cf9312434(pybind11::module& module); +void wrapper_b43d5bcd7fb95832845cba669051438f(pybind11::module& module); void wrapper_bf466ef5cbd6539bbde8028bd459b6cb(pybind11::module& module); -void wrapper_c37f435056a151f5a398c0a2e86d752a(pybind11::module& module); void wrapper_c85ee717b61a5378b8f1bc88cdf6c91a(pybind11::module& module); +void wrapper_c87812df9e2e5ead9306b7d4fbe06d71(pybind11::module& module); +void wrapper_c8f9ef7718815a7dbb7946e20b85e07f(pybind11::module& module); void wrapper_cc00dae7ca6d56c79922ef32ecf17f07(pybind11::module& module); void wrapper_cd2f170876c354e483515add3780006d(pybind11::module& module); -void wrapper_ceecfdda95b55b7c9ffa26c45ca90aef(pybind11::module& module); void wrapper_cf5d31feb9b059de8352d654f997199c(pybind11::module& module); void wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6(pybind11::module& module); -void wrapper_d1d07891cded56f98ac530b8a0898dd9(pybind11::module& module); void wrapper_d33d975672ef54f0b9b5e01d57fdf32b(pybind11::module& module); -void wrapper_d358a39c74145ef4b6d844aec605e715(pybind11::module& module); -void wrapper_d7f10816ae3755518cc8f9508c8f2b84(pybind11::module& module); +void wrapper_d8072eca33fe5d46a0b27a217a8dbc96(pybind11::module& module); void wrapper_dacafb2abd3e5e87bcba015691229ac8(pybind11::module& module); void wrapper_daf74149f27453a7a5360a8ea7e9d69c(pybind11::module& module); void wrapper_dcc8ef4101bc5e2faab31d52dc0fe7ff(pybind11::module& module); void wrapper_e695b5b519815f1f96debe2f459d2f2b(pybind11::module& module); -void wrapper_edfb27681f195343b523e5b949187dba(pybind11::module& module); void wrapper_efb22dd89dfc592fbbbda15aec725121(pybind11::module& module); void wrapper_f0b505f9181a5a428a2ef97f2bcd9cb9(pybind11::module& module); -void wrapper_f4afe77755d35d35b62ff4de5295156d(pybind11::module& module); void wrapper_f547adcf134f504ea7a1c24a48441dfa(pybind11::module& module); void wrapper_f5729db8e15254f8b7481092212bac64(pybind11::module& module); void wrapper_f8f00712e4e856159eebbf7b438e61ba(pybind11::module& module); @@ -104,694 +97,451 @@ void wrapper_f926cb231a7f5da09f313cd361ff94c7(pybind11::module& module); void wrapper_f960e2553b04556891123a86cfb68152(pybind11::module& module); void wrapper_faed70c01c41556a87ba6c938ce7c777(pybind11::module& module); void wrapper_fe18de6fe2c850bc986987821db6db68(pybind11::module& module); -void wrapper_ff336bb969875c6bb9226d1ab053af10(pybind11::module& module); -void wrapper_0281a28ebbe655cabfc3d1baabb16b6c(pybind11::module& module); void wrapper_02cb27a2f5305d6eaf2fc0d0977b5565(pybind11::module& module); -void wrapper_040909a1c2b158b198be21fa1ab2b474(pybind11::module& module); +void wrapper_0786eb9689055ad4be86080202077ec7(pybind11::module& module); +void wrapper_08d6e46838b65ffebc188c31dc3d252f(pybind11::module& module); +void wrapper_097d071b39dc5df98bf53b8b2cb22c3d(pybind11::module& module); void wrapper_098b1688f9d6517bac4fe76bfdbe24bd(pybind11::module& module); -void wrapper_10d5b7d349c75b6b89998f9a341fb629(pybind11::module& module); -void wrapper_13232a7341945cd08787bdf29befb389(pybind11::module& module); void wrapper_14a9cd2a8d9a572e8c7d58d490e5269e(pybind11::module& module); void wrapper_160b713997e259caa9b19848803d29f1(pybind11::module& module); -void wrapper_1790dd7d2111554099562871bb0f85af(pybind11::module& module); -void wrapper_19ec6a1f261852b5b192c3cbc4571d78(pybind11::module& module); -void wrapper_1a895a21d59854609ac58f50d8dcef94(pybind11::module& module); +void wrapper_1ca74b2dc66a5ee79310589958dcce9f(pybind11::module& module); void wrapper_206185953d7651e78a6714d1fe602758(pybind11::module& module); +void wrapper_254705bef21f59ca807412aa011917c0(pybind11::module& module); +void wrapper_259bbb897cee510787d813a9c7525d6f(pybind11::module& module); void wrapper_295ece6953a856c8b865758b0a34795c(pybind11::module& module); -void wrapper_2b57b3b9280e5071b728b923da9d2c0a(pybind11::module& module); -void wrapper_2da6d48bdb575a46ad7d2e948eb7ee83(pybind11::module& module); +void wrapper_2a0dd80c75b958a198cbb602212dea2d(pybind11::module& module); +void wrapper_2da8a9223cae5918afa89d5266f7f7e7(pybind11::module& module); +void wrapper_3170a5376b065cea9f39ca7a6ad5332f(pybind11::module& module); void wrapper_31aa0a631312549a9cf4cb8740b55a7f(pybind11::module& module); -void wrapper_3220f60173275579a5722fe8dba23dfa(pybind11::module& module); void wrapper_32c776be879e5a4f8e5388d5cb33ecc4(pybind11::module& module); -void wrapper_334941caf3de5e3ab25e41d07fa1d9ca(pybind11::module& module); +void wrapper_340c5465095052af9d63bdb8d9799d79(pybind11::module& module); void wrapper_354f862e227e590491c20a9acad58d0b(pybind11::module& module); void wrapper_3ae69567ec205969a9f2da364450fd2e(pybind11::module& module); -void wrapper_3c1962795bd85111b3372c4c25474792(pybind11::module& module); +void wrapper_3f4e466ff3215f84837970a75685a8b5(pybind11::module& module); void wrapper_41e812da3d3654cd9fb33041c3acf25f(pybind11::module& module); -void wrapper_41f94682b11f5bf481e7cf7033a93181(pybind11::module& module); -void wrapper_423ed9cbac44541cb53a4cf80e6e15d5(pybind11::module& module); -void wrapper_49bd08872be751c291082c55ce0677e3(pybind11::module& module); -void wrapper_51a269f41c995b2e8c33ae7f895f50ae(pybind11::module& module); +void wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(pybind11::module& module); +void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module); +void wrapper_488de6b23c2d582c8382ac19e518b6a8(pybind11::module& module); +void wrapper_50d5d8b88c0d5eeea2e382dc4626754a(pybind11::module& module); void wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f(pybind11::module& module); -void wrapper_59db006e2d0a532f903fd7d41c9aabfb(pybind11::module& module); void wrapper_5b5f1c1f4aa852eab398cea6df20fee2(pybind11::module& module); +void wrapper_5cf53138947354ddb9f4e01b4b221762(pybind11::module& module); void wrapper_622b4b6c4fef5b119cba23181cff6cf6(pybind11::module& module); +void wrapper_63f5048eedae564391cd268a0107428f(pybind11::module& module); void wrapper_643847dccc2b560082343f2bbda15cba(pybind11::module& module); void wrapper_64ae6eddce405116ba534ed722881799(pybind11::module& module); void wrapper_6588548f29e15f0ea6e9ef29ce68dfd8(pybind11::module& module); -void wrapper_65947043f3a35049b50e8d74f93075cf(pybind11::module& module); -void wrapper_6690633b82205104834e2688e6549e65(pybind11::module& module); -void wrapper_67870dc7ea665794a91fa84ca05aecb0(pybind11::module& module); -void wrapper_67cb5425a85056b38615b0d4e5c587b3(pybind11::module& module); void wrapper_69ca358c24cd5cabb1a6b9e1358519e4(pybind11::module& module); void wrapper_6eb1ba92b1d158b09999c16267a2ec28(pybind11::module& module); -void wrapper_7b337e963b005631b0b064a739f3b591(pybind11::module& module); -void wrapper_8a816909345b5bf2911f863db5b8cb0b(pybind11::module& module); -void wrapper_8f6b8d601b265537abfca5a924ae495d(pybind11::module& module); -void wrapper_90ffe8fffb9b5923867b6c24ac9eedb7(pybind11::module& module); +void wrapper_73e107092bdb5be2a9ec6e31772ffd09(pybind11::module& module); +void wrapper_7466a1a79edf5312955ff663594f561b(pybind11::module& module); +void wrapper_8dcb38f525415f5eb16b5b180a314eab(pybind11::module& module); void wrapper_98dec83d5b055bb7bd34151081ce3693(pybind11::module& module); -void wrapper_9af672b8799e52dda111d00a974022cd(pybind11::module& module); -void wrapper_9b52bf3c9c595cdb890173a39b0d02c4(pybind11::module& module); -void wrapper_9f71ff88156f5fd0a459f920329e5dc8(pybind11::module& module); -void wrapper_a004a7cf0d095bdeadf276d9713e024f(pybind11::module& module); -void wrapper_a138b226412951b38a64aaad8bc549ac(pybind11::module& module); +void wrapper_98e77d2afcc252cba528077bc2cc3103(pybind11::module& module); +void wrapper_9c2fa9a7a902547eab99ffb00609ac86(pybind11::module& module); +void wrapper_a0117c6545ed509a9f9743da0a6360b7(pybind11::module& module); +void wrapper_a42d846927fa55029bf78190c71fb4a4(pybind11::module& module); void wrapper_a4d6cfc5f43a5e10a524a2cea681460d(pybind11::module& module); void wrapper_a636d351527b51298739e1ccb4313967(pybind11::module& module); -void wrapper_a8fb4974396a5f4ca5779c02d0f58b37(pybind11::module& module); void wrapper_aa6b2bab0be654649ef497aa71dff2e3(pybind11::module& module); -void wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(pybind11::module& module); -void wrapper_b14b3594a74c5ccc968141047b5145f4(pybind11::module& module); -void wrapper_b24ad967ae66587ba612c3f37635bddb(pybind11::module& module); -void wrapper_bac6b66586be52859b259d0c4440e387(pybind11::module& module); +void wrapper_b4644d28cde95fdb8e27360bc00fee72(pybind11::module& module); +void wrapper_b9daedbb8a1d5864bc019efa0a0d17df(pybind11::module& module); +void wrapper_bc2764672801516e9cea984f33c9d9bf(pybind11::module& module); +void wrapper_be6e5acaae3150f69207956b75050e55(pybind11::module& module); +void wrapper_bf2c6deebd8e55f3824ecd5cf9312434(pybind11::module& module); void wrapper_c1af1f263c37571f8e1257a72f39fd05(pybind11::module& module); -void wrapper_c4726473069d576fbb9e53aacbf298ea(pybind11::module& module); -void wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c(pybind11::module& module); -void wrapper_caa96dc8906e541dbda0563fb9f042bc(pybind11::module& module); -void wrapper_ce6d678c114158f596627eb4f0c6e9b1(pybind11::module& module); +void wrapper_c5145b1136065279b4181888431537f6(pybind11::module& module); +void wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92(pybind11::module& module); void wrapper_cf0179fb6c94524589e450e5bcacc532(pybind11::module& module); void wrapper_cf0415be3d965595a8486e9a8659c1a9(pybind11::module& module); -void wrapper_d82ac4c07b685057ae35b9a0216111d2(pybind11::module& module); -void wrapper_d84d3426cce55670b51d351b388a8ae8(pybind11::module& module); -void wrapper_da164767fc675bd29ae86f87eff482aa(pybind11::module& module); -void wrapper_db3e81250c765e35b6b7ab7b9d17c8ea(pybind11::module& module); -void wrapper_e19df620173959fc805b30a13ab6379a(pybind11::module& module); -void wrapper_e2d3df06414058178eb5fc957e8fd6d9(pybind11::module& module); -void wrapper_eb4ed1ac11775528a15a11246865cec3(pybind11::module& module); -void wrapper_ee054e76c90f582f9e07cdff4cd63eda(pybind11::module& module); -void wrapper_f09c97b097575bf2b4af254e6faa082c(pybind11::module& module); -void wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c(pybind11::module& module); -void wrapper_f1f8a991c324584993f9a58dcb9c014e(pybind11::module& module); -void wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a(pybind11::module& module); -void wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(pybind11::module& module); -void wrapper_075f4a1dea37583ebdb7b34686ef683f(pybind11::module& module); -void wrapper_08568636c5a25349ad6ad5335ed1718e(pybind11::module& module); +void wrapper_f3a4e0390ba552948c69ae13cadb799a(pybind11::module& module); +void wrapper_f8b8546034205658b6e3e16175284f26(pybind11::module& module); +void wrapper_fe481101ccef5e018b6d0e5b0d1be998(pybind11::module& module); +void wrapper_0c5fdb90743c59dda2a63d2ea31919c2(pybind11::module& module); void wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2(pybind11::module& module); -void wrapper_0ec3624c447f5547b35390faafaf867f(pybind11::module& module); -void wrapper_167b2440c33657b2abc8311b6621a7bb(pybind11::module& module); -void wrapper_16a072b3aa3255f989f89ed810798d2e(pybind11::module& module); -void wrapper_1ec5dee4e7cb5437b83047021c0ca63f(pybind11::module& module); -void wrapper_1f50e5c48a545cf9a618ddbf871d3a9c(pybind11::module& module); -void wrapper_214e9eab615f5960b6c5415c0c55fa0c(pybind11::module& module); -void wrapper_281a291cf9465a1e9af25cbee1cf5bad(pybind11::module& module); -void wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd(pybind11::module& module); -void wrapper_2f72e6e6db9a5498beee75dbafdc6393(pybind11::module& module); -void wrapper_2ff2806eb8795c00b3220e66ed037bae(pybind11::module& module); -void wrapper_3185f3f8abfe5447acd1b43172130b8e(pybind11::module& module); -void wrapper_3312cf49434759ee93e09764ddc76065(pybind11::module& module); -void wrapper_3389d2f38d825c49975e5cfc9a0517d5(pybind11::module& module); -void wrapper_3b2e19fa74a45eb49f08742886108635(pybind11::module& module); +void wrapper_0e85222f05205b5983c73610343623c8(pybind11::module& module); +void wrapper_0f491a898d6251e1851339f286f0358c(pybind11::module& module); +void wrapper_11b76bdf145b514f8ed8993245b9864c(pybind11::module& module); +void wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(pybind11::module& module); +void wrapper_172696efc2ee5189bf7047d20bc97387(pybind11::module& module); +void wrapper_1f896af016d3557fa2b823b2110a3f82(pybind11::module& module); +void wrapper_20a3935ea3995924abfb200f08b075ee(pybind11::module& module); +void wrapper_22316f691c3051a4b467ae58506ba1df(pybind11::module& module); +void wrapper_25265f42150552ea9c7e3f59af135f87(pybind11::module& module); +void wrapper_2b57b3b9280e5071b728b923da9d2c0a(pybind11::module& module); +void wrapper_2da6d48bdb575a46ad7d2e948eb7ee83(pybind11::module& module); +void wrapper_2eae4ac2dbf259029ee0e81da54c2c15(pybind11::module& module); +void wrapper_3220f60173275579a5722fe8dba23dfa(pybind11::module& module); +void wrapper_334941caf3de5e3ab25e41d07fa1d9ca(pybind11::module& module); +void wrapper_337b3fb852125acd94dcdd79f0bbc00a(pybind11::module& module); +void wrapper_37b7e83ad4685de7971d757784ece860(pybind11::module& module); void wrapper_3e9d65e7582c5349812d357cd482c2ca(pybind11::module& module); -void wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c(pybind11::module& module); -void wrapper_40c631b5a67d5748bbfdeaa0beedb4e0(pybind11::module& module); -void wrapper_413148ff15d05180b4dbaaac395b3625(pybind11::module& module); +void wrapper_3ff582522b0d5915b638d6939794ff66(pybind11::module& module); void wrapper_41ea68bb4a9850aa9861003b9fcab334(pybind11::module& module); -void wrapper_42c73f7b760d584f96ee42693c708651(pybind11::module& module); void wrapper_4377e68c4caf5dae89a051f45d03b8c3(pybind11::module& module); -void wrapper_43d603893a165ed2bf34ad286a50f22e(pybind11::module& module); -void wrapper_48d411e601675e49961eaa93daeb1835(pybind11::module& module); +void wrapper_4420321c5ba25609a5915044efb89bc8(pybind11::module& module); +void wrapper_49bd08872be751c291082c55ce0677e3(pybind11::module& module); void wrapper_49ca84779c315483b61bc3fa2c2221b3(pybind11::module& module); -void wrapper_49e18be963b9503a942009b04ff7e676(pybind11::module& module); -void wrapper_4b1365f753d05b8db1db0b529f5110f9(pybind11::module& module); -void wrapper_4f25ed2b505752de8ee46e2e6aa83af6(pybind11::module& module); +void wrapper_4b5bca62b7795925980272db0dce9ae7(pybind11::module& module); +void wrapper_513f1e95007657ac9d8f70c0a2356aac(pybind11::module& module); +void wrapper_5266ea37de9b57c680d01c7fb2421e89(pybind11::module& module); +void wrapper_551c927628b651a19489817a39ededb8(pybind11::module& module); void wrapper_5678c4d7ca565a7d9dbc239c27111073(pybind11::module& module); -void wrapper_5856b02a98b7543baa5144338b21e69d(pybind11::module& module); void wrapper_59d6fe57059653bd86dc375009cc7317(pybind11::module& module); -void wrapper_5d63830a58ae5ad1aaf2cb88275ddd22(pybind11::module& module); -void wrapper_5e3b9b778c57534eb8d780dfb69a1f3f(pybind11::module& module); -void wrapper_5e9c2eecb34851cd99100ce520f53c6e(pybind11::module& module); -void wrapper_5fefecf0971c53a682b5075141e39dc0(pybind11::module& module); -void wrapper_65233ae509075a4885c6c150d99046ae(pybind11::module& module); -void wrapper_665b8d3ceeaa526cb99ce05a6dc94f38(pybind11::module& module); +void wrapper_65947043f3a35049b50e8d74f93075cf(pybind11::module& module); void wrapper_6703ab3001965416a3da60ad8639a800(pybind11::module& module); void wrapper_67a3e4ff2f845698a912990ce487f08d(pybind11::module& module); -void wrapper_6923aecde43059bd8a00d1bd199ffa8d(pybind11::module& module); -void wrapper_6c36c615980657b7b51c6c44de94c819(pybind11::module& module); -void wrapper_6d99edae55df515bbdeb7c5c0e15917e(pybind11::module& module); -void wrapper_6f183e6be0945c80a110bb22edb227d9(pybind11::module& module); -void wrapper_7189dbb358a659bb802e95b3ea6ebebd(pybind11::module& module); -void wrapper_7504e6a86bdf57c0a7e644a6615fcd51(pybind11::module& module); -void wrapper_7510c84a2e4c5022ac15bd97a576d4b0(pybind11::module& module); -void wrapper_7815e44baa9c505681db76fc0d0c7fd6(pybind11::module& module); -void wrapper_7963cd416f6c50c09445d3b27e4f9428(pybind11::module& module); -void wrapper_79be5108bb8c56d9825ee10945271a59(pybind11::module& module); -void wrapper_7b62905e006b57cc879769143ac42b3a(pybind11::module& module); -void wrapper_7d0c9ca0e35156dda4481073c8664c19(pybind11::module& module); -void wrapper_7d52b247865d503986da71f28e0da3e9(pybind11::module& module); -void wrapper_8486f4aa8ce25724972cec18f80c00cc(pybind11::module& module); +void wrapper_68d58bb20b4e507ea69ba2065530644b(pybind11::module& module); +void wrapper_6d256cdc2e1253b8823893d5d72bc031(pybind11::module& module); +void wrapper_6fd71629a95855bbad845fa81b27f4d5(pybind11::module& module); +void wrapper_7d52c5fa83fa5b7abbc12831a19a2931(pybind11::module& module); +void wrapper_7e4c2f85b93b5cc399280098492de425(pybind11::module& module); +void wrapper_8408f59ac7205444bbaf4ef2fb92867d(pybind11::module& module); void wrapper_850400feaf015819b89ae0fb0bc38962(pybind11::module& module); -void wrapper_85895a324a625f0888907166731d1bca(pybind11::module& module); -void wrapper_85e5d9c1d86a574d8623fe4bb0164527(pybind11::module& module); -void wrapper_861c54941e635197a1fd90e0eb95cd28(pybind11::module& module); -void wrapper_86ceaf8153c052c9b470c7e534cdb934(pybind11::module& module); -void wrapper_87317e63de535031ba8bf5e2f19134ef(pybind11::module& module); -void wrapper_87bede3683865d5daba537c08a5c665f(pybind11::module& module); -void wrapper_881a8218d7d65c82b32d722273692e73(pybind11::module& module); -void wrapper_8946cbc54c235b72b2e100c2785ce4c3(pybind11::module& module); -void wrapper_899c8afc48a850aaac3ae5c4614380e9(pybind11::module& module); -void wrapper_8d6042c687a1543d97b4931d7ca1fca8(pybind11::module& module); -void wrapper_90894824332153a7a0c5c3bd4ff0eab8(pybind11::module& module); -void wrapper_9547a153430f5693a08b4dbbf3204f78(pybind11::module& module); -void wrapper_988ed407a0da542eb838d5681ba5ffd1(pybind11::module& module); -void wrapper_9981958281625422b3b46cea8ec85a6d(pybind11::module& module); -void wrapper_9b457c1fefee52aeba68eb2ee374d6c8(pybind11::module& module); -void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module); -void wrapper_9cf0f707397c5385baa38f245ba80437(pybind11::module& module); -void wrapper_9d7f0f97517952029268e1fd35ac8843(pybind11::module& module); -void wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c(pybind11::module& module); +void wrapper_864140a02b1554ffbf15f5c312a38d8c(pybind11::module& module); +void wrapper_8d9f50f674e25529b3d059a5a5380bcb(pybind11::module& module); +void wrapper_8f6b8d601b265537abfca5a924ae495d(pybind11::module& module); +void wrapper_96a5a23f253351d38c0689328d0d8eb2(pybind11::module& module); +void wrapper_9819c01af16354f5af1bd00fe32e33a5(pybind11::module& module); +void wrapper_9962e820b2a75e44aeb478a7fa3f1b63(pybind11::module& module); +void wrapper_99fc77e1853459ba9270c901d62d010f(pybind11::module& module); +void wrapper_9ce76073f232512da483f80a23807ddc(pybind11::module& module); +void wrapper_a079c62242f25fd5aefc1ac40095a061(pybind11::module& module); +void wrapper_a32936912db85574b408168f51749429(pybind11::module& module); void wrapper_a4463e49d7865a6497ec20612e342cbe(pybind11::module& module); -void wrapper_a744c0e699b3529e8ea41b36264771ec(pybind11::module& module); -void wrapper_a766c9930af25f8f90f6e118f2ca75d5(pybind11::module& module); -void wrapper_aa6e0b250759574eb903a6b783b18053(pybind11::module& module); -void wrapper_abb8de3fed35566b9c88aebdaec5f1a0(pybind11::module& module); -void wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda(pybind11::module& module); -void wrapper_b0590d3783ba5288a5695b0e9cf1b03f(pybind11::module& module); -void wrapper_b101d02bb3d95e95ac86387f50f9bccd(pybind11::module& module); -void wrapper_b191a9bdcde4562cb6bfc0666feb816d(pybind11::module& module); -void wrapper_b65e2bfb02355375b92295f460fb1b15(pybind11::module& module); +void wrapper_a5cf9061d7bb5791ad10bf28e28951fd(pybind11::module& module); +void wrapper_a87f64a7a0c553e2b79ea554696bd78b(pybind11::module& module); +void wrapper_a8fb4974396a5f4ca5779c02d0f58b37(pybind11::module& module); +void wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a(pybind11::module& module); +void wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(pybind11::module& module); +void wrapper_b14b3594a74c5ccc968141047b5145f4(pybind11::module& module); +void wrapper_b487f4fc27725338b969ff43c4c8f4e4(pybind11::module& module); +void wrapper_b544b96a33fd5924804b28cfb48e8df8(pybind11::module& module); +void wrapper_b87395375e4e53959abf2c6e5205259d(pybind11::module& module); void wrapper_ba25f6fe677652cebd40b6aed2762b5a(pybind11::module& module); -void wrapper_bb17c2bea1da5d2a86714ca422d3c393(pybind11::module& module); -void wrapper_bb48025bb0a15b5c907ff0400bf2207a(pybind11::module& module); -void wrapper_bc77a106572e58ba96fe5742a38e574c(pybind11::module& module); -void wrapper_be720dbf462e5dce8b7d4a0b04921c48(pybind11::module& module); -void wrapper_bf47140d396d5c208e074ff3a2a31af4(pybind11::module& module); +void wrapper_bac6b66586be52859b259d0c4440e387(pybind11::module& module); void wrapper_bf5b68f25d1f5ab9ad2c936351edf740(pybind11::module& module); -void wrapper_c08067855baa5ebea605270776020990(pybind11::module& module); +void wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312(pybind11::module& module); +void wrapper_c07d900e8cfe54789b1eb7500f2b17d6(pybind11::module& module); +void wrapper_c30582fff9a5510186e17a7b44494d9f(pybind11::module& module); void wrapper_c3848ca82c6150b480894755016faabf(pybind11::module& module); -void wrapper_c50f0d84f3a05771b904e670721690e3(pybind11::module& module); -void wrapper_c5f88ba309545f39820cbd74b19f1f7c(pybind11::module& module); -void wrapper_cc3bc950f48855398043fabd1fa92b62(pybind11::module& module); -void wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46(pybind11::module& module); -void wrapper_d4b7bfff2e0551769c3e6767fe7dca05(pybind11::module& module); -void wrapper_d72a9c13e27a5de5800ea382cc4d107f(pybind11::module& module); +void wrapper_c4726473069d576fbb9e53aacbf298ea(pybind11::module& module); +void wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c(pybind11::module& module); +void wrapper_ccb69f6f1ea252c78b62bd2708670cdd(pybind11::module& module); void wrapper_d7aaae9c78655d9f870d5f017126833f(pybind11::module& module); -void wrapper_dace22af29e35e1e8847a21e0083dbd0(pybind11::module& module); -void wrapper_db760ff53e0e5dca8e558b09ed12163c(pybind11::module& module); -void wrapper_dcb42c58c45353839bf4d081d804b14c(pybind11::module& module); -void wrapper_dd64d489201652bd9b30c6b9ce866197(pybind11::module& module); -void wrapper_e04333cf88f85b74a12abe551bc271c3(pybind11::module& module); -void wrapper_e1c5f547b5d15a24a9c9a3bab487c15d(pybind11::module& module); -void wrapper_e793dec94d375e40b28adb85f4d45664(pybind11::module& module); -void wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76(pybind11::module& module); -void wrapper_ea23650412285dd89c33e1ed29a91cb7(pybind11::module& module); -void wrapper_eae24fefebd9570687e8a345f6e50c1b(pybind11::module& module); +void wrapper_d82ac4c07b685057ae35b9a0216111d2(pybind11::module& module); +void wrapper_d9e3c8f1d16d5ffea475de8236279387(pybind11::module& module); +void wrapper_db2668977eed5283a0dfb9992502d2dd(pybind11::module& module); +void wrapper_df673121ff9a5ed3a03ae1633aac43b7(pybind11::module& module); +void wrapper_e1391944268253558f04b6f996bb5a8b(pybind11::module& module); +void wrapper_e2d3df06414058178eb5fc957e8fd6d9(pybind11::module& module); +void wrapper_e3970afe332b54108a4040278f775008(pybind11::module& module); +void wrapper_ed56b0739802545c9906dd23adb8636c(pybind11::module& module); void wrapper_ef06cd7866a05e8a9b9f746a2f9da324(pybind11::module& module); -void wrapper_ef99412d87545a1391d9c6cbb66e08e8(pybind11::module& module); +void wrapper_f09c97b097575bf2b4af254e6faa082c(pybind11::module& module); +void wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c(pybind11::module& module); +void wrapper_f1f8a991c324584993f9a58dcb9c014e(pybind11::module& module); +void wrapper_f4b4623a4bb55ebdb42401f0a981cb83(pybind11::module& module); void wrapper_f722c8cfa79750d98e46db79b3b1130d(pybind11::module& module); -void wrapper_f7ee5d4607de508bb39519488f31e96c(pybind11::module& module); -void wrapper_f93af042f688513484b1158c96b9eaef(pybind11::module& module); -void wrapper_fa5e2baabb585a5e93632d2563d88b33(pybind11::module& module); -void wrapper_fb8f1cea3a695accb39f019b3fbd2247(pybind11::module& module); -void wrapper_fcc6162c378c5756b392afed99931125(pybind11::module& module); -void wrapper_fd63b9f470165717923109c2f3c8739d(pybind11::module& module); -void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module); +void wrapper_fe5c14ebd9715db583a8fcea54e1d965(pybind11::module& module); +void wrapper_feb9ad1a68185444ba16325ba90aea6b(pybind11::module& module); +void wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(pybind11::module& module); void wrapper_033df89396b35855a50192cdc7f16be3(pybind11::module& module); void wrapper_041a0df7795f54fdae26c57528a75193(pybind11::module& module); -void wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f(pybind11::module& module); -void wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(pybind11::module& module); -void wrapper_06b2640afe975f8dbf856bb3a88451cf(pybind11::module& module); -void wrapper_09e5fef4970b56dabc3cf805a4fca937(pybind11::module& module); -void wrapper_09fa62065c8f5098af0f7db57ad3e6a9(pybind11::module& module); void wrapper_0b663e6159f1527ca997ac0244c65093(pybind11::module& module); -void wrapper_0b7e758230bf50db981289f48e9fdca7(pybind11::module& module); -void wrapper_10d55631c3925ada88a549c3ce423021(pybind11::module& module); -void wrapper_1151599a3fae506b8f5a5bddf7efd129(pybind11::module& module); -void wrapper_134023695d4459f2931df9cb87b57330(pybind11::module& module); +void wrapper_0cf8ab1b80485228a6333e32fd937f72(pybind11::module& module); +void wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(pybind11::module& module); +void wrapper_119aa039675055618c8a856f637be1e0(pybind11::module& module); void wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca(pybind11::module& module); -void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module); -void wrapper_16ec8df96bd85f88b8999c4cbe58279e(pybind11::module& module); -void wrapper_18bed25ce1eb5640880f010edb403ed3(pybind11::module& module); -void wrapper_19ee605677815ce58ebdc169d44e3d8c(pybind11::module& module); -void wrapper_1bbe231bce835ebeb36da82ccdeb5997(pybind11::module& module); -void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module); -void wrapper_20f43f33e75f5ed8baf3e95be100740a(pybind11::module& module); +void wrapper_1dfb91cd35315554957dc314e2ba48a2(pybind11::module& module); +void wrapper_1ec5dee4e7cb5437b83047021c0ca63f(pybind11::module& module); +void wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(pybind11::module& module); +void wrapper_23541363c56f58418e709d76f3ae28bc(pybind11::module& module); void wrapper_2374d2b9da295a348658b43237daeaba(pybind11::module& module); -void wrapper_27cfd1a8870659e08234770c1938e6df(pybind11::module& module); -void wrapper_281622f2e8fd576dae1b13441146f58b(pybind11::module& module); -void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module); +void wrapper_246619e611bb5657b2e56a30794d1385(pybind11::module& module); +void wrapper_2644b3904d665c118ab54533b295d7e3(pybind11::module& module); void wrapper_2b3c507b8c725207815095175a281285(pybind11::module& module); void wrapper_2cfec7576f805b8d8fb103d1f86f786e(pybind11::module& module); -void wrapper_2d551f106ba85f3cb3acfbda4c8e17c7(pybind11::module& module); -void wrapper_2eae4ac2dbf259029ee0e81da54c2c15(pybind11::module& module); -void wrapper_30db7beed1bd54e38566ef11693e0e60(pybind11::module& module); -void wrapper_31af2f3c7b5c54f5a56e10ac7064289b(pybind11::module& module); -void wrapper_3201f3b07b0254eb8ef2d0c42eff2557(pybind11::module& module); +void wrapper_2f72e6e6db9a5498beee75dbafdc6393(pybind11::module& module); void wrapper_33e65ba70bc55b7a87a025eaa60e5665(pybind11::module& module); -void wrapper_346ee3489d025beead99ffc0c8770939(pybind11::module& module); void wrapper_34d64090a84e51db9616a4cc540e43b8(pybind11::module& module); void wrapper_3557273679395cf2a3e4b3d3f227accd(pybind11::module& module); void wrapper_36adf88112dd5312b6c5fe75ebbc5559(pybind11::module& module); -void wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8(pybind11::module& module); void wrapper_37d2da7ae2985fcc8caca8de36d30ce7(pybind11::module& module); void wrapper_3878f151eb4759f89a07796ff631bdf9(pybind11::module& module); void wrapper_39eaaa358ce655d08615c947c949eb83(pybind11::module& module); -void wrapper_3d6a15edb2225daba874c2b80defe6b4(pybind11::module& module); -void wrapper_3ee8eb16efa65e34aae8ad9f32dcb983(pybind11::module& module); -void wrapper_3fdfbd3fa64657cebd5a4166db8b26a9(pybind11::module& module); -void wrapper_432843a5646c5268bb35f7309d2d4b33(pybind11::module& module); -void wrapper_44e7c25b7bde5df2a9f031c534765f11(pybind11::module& module); -void wrapper_473e4f9a05ed5118bd06e179489a35f4(pybind11::module& module); -void wrapper_48bccb3a91fe5cebbca2f6105b37b2c5(pybind11::module& module); -void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module); -void wrapper_503849a008915707a02e604de7f58273(pybind11::module& module); +void wrapper_3aedd3fce1c956baaeb85f4606914109(pybind11::module& module); +void wrapper_3ea06f62f79c50b5856e5712f2ec8e84(pybind11::module& module); +void wrapper_420aec1990555632bd8e6235f3099ec2(pybind11::module& module); +void wrapper_42c73f7b760d584f96ee42693c708651(pybind11::module& module); +void wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(pybind11::module& module); +void wrapper_48d411e601675e49961eaa93daeb1835(pybind11::module& module); +void wrapper_4e2cec23d01552a2b35a809a21ed47b7(pybind11::module& module); +void wrapper_4f02856d2af15e4ba0bc8f413558566d(pybind11::module& module); +void wrapper_4f25ed2b505752de8ee46e2e6aa83af6(pybind11::module& module); void wrapper_505be4c829e95c51829a196fdbf7392f(pybind11::module& module); -void wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c(pybind11::module& module); +void wrapper_5562b8b01aa050b886b919c9b81686f5(pybind11::module& module); +void wrapper_55903cb2e67650868a4cd698632375c1(pybind11::module& module); void wrapper_55c811c1cb0f58cf8dbf62aa61f8d814(pybind11::module& module); -void wrapper_5a3d233a5dc55aaba123c4eb5cd6e502(pybind11::module& module); -void wrapper_5bbb1918edfa5fb49894cb0a6bf46044(pybind11::module& module); -void wrapper_5c6e4c2beaae58e1a041154bd478b75f(pybind11::module& module); +void wrapper_5ed6f55d014d5a74a1d1acafef440cde(pybind11::module& module); +void wrapper_5fefecf0971c53a682b5075141e39dc0(pybind11::module& module); void wrapper_6100283fa34c5dc5af23228c1af7758a(pybind11::module& module); -void wrapper_61234f1033f25f108ec6c1bb0d3ddf38(pybind11::module& module); void wrapper_62bb4890a4005e5aabb044b5bfeb72ea(pybind11::module& module); -void wrapper_6375bd4b368450a684e289f7598736a6(pybind11::module& module); void wrapper_660dca73e10451bcbba83efec37196ae(pybind11::module& module); -void wrapper_66595150e9b05d2aaf4d9f52269aca0d(pybind11::module& module); -void wrapper_66ea0b28087057f5abc6f26dadfb4c15(pybind11::module& module); -void wrapper_6714db1d278d5fec95ea3760f54b9fa0(pybind11::module& module); +void wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(pybind11::module& module); +void wrapper_66f947be876e54a4901f1a9633fffbaf(pybind11::module& module); +void wrapper_69913377d1325b99bc7469de4f5cf375(pybind11::module& module); +void wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(pybind11::module& module); +void wrapper_6fac6a71bec1544eaecb1b57399ee5ec(pybind11::module& module); +void wrapper_700bbebe1a2a5b0699f46ca77b7ea310(pybind11::module& module); void wrapper_704ee68add3e546ca4a169ccfcb00d07(pybind11::module& module); -void wrapper_7164ab149b5259c39291b9f2886585fb(pybind11::module& module); -void wrapper_73f4a03ba6125d598bb6a6a8f7de7664(pybind11::module& module); +void wrapper_79e2f422f64050e2896852975f3b368d(pybind11::module& module); void wrapper_7c0a27a86dcc5f2d8020dad9bb975e76(pybind11::module& module); -void wrapper_7d35ddb2f28b57a1849a13f7711f313e(pybind11::module& module); -void wrapper_7ee099e22285561eb2a1e4dac64d4ff9(pybind11::module& module); -void wrapper_8481c329ca5e52b0af85447122c41ca5(pybind11::module& module); void wrapper_85102754beff532db66ca292ea3a6486(pybind11::module& module); void wrapper_851931d00bce5cabad06313cbacce91b(pybind11::module& module); -void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module); -void wrapper_8a467c708d9c5620937b1f63cde332b1(pybind11::module& module); -void wrapper_90681e203d925f7c8b9ca14a02786804(pybind11::module& module); +void wrapper_85e5d9c1d86a574d8623fe4bb0164527(pybind11::module& module); +void wrapper_8637850c39dc51d3a7ea186462c65e2a(pybind11::module& module); +void wrapper_8dc14cd974045db7ab63d2d8c0c5c496(pybind11::module& module); void wrapper_943c8cc5188d5f9d9fba36372e10ed33(pybind11::module& module); -void wrapper_9603102166305920b6c85e3416150e99(pybind11::module& module); -void wrapper_96486d682f0851438822ccbdd2c8c3eb(pybind11::module& module); -void wrapper_964cf359ff005773acf9fc2bf7c5743b(pybind11::module& module); -void wrapper_985cf21680915944bc189269c6e7eaf8(pybind11::module& module); void wrapper_985dfffef8265a319e222a08d8f11f05(pybind11::module& module); -void wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733(pybind11::module& module); +void wrapper_98e0aa1c483d522aa3e3427e0c99ee6f(pybind11::module& module); +void wrapper_9981958281625422b3b46cea8ec85a6d(pybind11::module& module); void wrapper_9ca9917e667b52ea9eb2ec4f17e230b5(pybind11::module& module); -void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module); -void wrapper_a1dbe32ad4be556a97d08416f9bb668d(pybind11::module& module); -void wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f(pybind11::module& module); +void wrapper_a766c9930af25f8f90f6e118f2ca75d5(pybind11::module& module); void wrapper_a85fc45746c05d078709ff7a44d648a2(pybind11::module& module); +void wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(pybind11::module& module); void wrapper_aa4348c3ceb5595a843d8fc5a6c54231(pybind11::module& module); -void wrapper_adb101528f1256ccaa63a94998938b36(pybind11::module& module); -void wrapper_b014379d48a45dac9f7ee65cf09afac7(pybind11::module& module); -void wrapper_b11157049fc45e7181cc22c9c3670513(pybind11::module& module); -void wrapper_b129309aaed65ac0b06bd5889ca44405(pybind11::module& module); +void wrapper_aa6e0b250759574eb903a6b783b18053(pybind11::module& module); +void wrapper_b0fdc82131d6539ab2e2a6b14e8038cf(pybind11::module& module); void wrapper_b3aefb8f8c96565c95d583848719e5b2(pybind11::module& module); -void wrapper_b487f4fc27725338b969ff43c4c8f4e4(pybind11::module& module); -void wrapper_b745bd62c1315087a0aa661317232745(pybind11::module& module); +void wrapper_b5bed4faf978515387938b2b850d0fdf(pybind11::module& module); +void wrapper_b6a067f70ca259909a6411bfb14cfdca(pybind11::module& module); +void wrapper_b730e37e69f05687be99d670316afe25(pybind11::module& module); +void wrapper_b96c209ac3dd5f7fbfe78eac3417193e(pybind11::module& module); +void wrapper_c14e91b91c9852b8bd1c5fce67b0d241(pybind11::module& module); void wrapper_c2568ff48c245dbe8395ac41d83bc8f8(pybind11::module& module); -void wrapper_c4fa66fd13165a0abce0c43742e69748(pybind11::module& module); -void wrapper_c8d0cf6feb9650a486b6da44c7b338e0(pybind11::module& module); -void wrapper_c92b9bfaab03555f87343457a8d1a2b0(pybind11::module& module); void wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(pybind11::module& module); -void wrapper_caa62ffec61a5e0a99ca640a1ed36905(pybind11::module& module); void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module); void wrapper_cd5e5c2c8f40591793aafe753277bfe3(pybind11::module& module); -void wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b(pybind11::module& module); -void wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1(pybind11::module& module); +void wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(pybind11::module& module); void wrapper_d335c4296ec45f9a80fc78493af8917e(pybind11::module& module); -void wrapper_d43cf2b0b53753edb3fccbdddfef43b3(pybind11::module& module); -void wrapper_d5050a1ccbb65a28b581f7bdf82e3a84(pybind11::module& module); -void wrapper_d6970cd0a37451cfbcd48d316b17aaa0(pybind11::module& module); +void wrapper_d3d68100c0aa515393562535c582529e(pybind11::module& module); +void wrapper_d740d10f82335516b6c42048834de0c7(pybind11::module& module); void wrapper_d7ec56dc53f25158bd8061ead52e9950(pybind11::module& module); -void wrapper_ddbb72c73020556288736634edca5653(pybind11::module& module); -void wrapper_de92243b99cb5ef4a3c6cd0f80eb6279(pybind11::module& module); -void wrapper_df69c16128ca5c609f45a63866a1af2f(pybind11::module& module); -void wrapper_e04b2c4523535837960c26d5b28953fc(pybind11::module& module); -void wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e(pybind11::module& module); +void wrapper_dace22af29e35e1e8847a21e0083dbd0(pybind11::module& module); +void wrapper_e0e2f05f845558508daf53c1d4b545c7(pybind11::module& module); +void wrapper_e1e17df0f495561494b85ab0ad5a5780(pybind11::module& module); void wrapper_e5c76380eae85d579238480527b2512c(pybind11::module& module); -void wrapper_ebc71d261393504a8a716623a3119a76(pybind11::module& module); -void wrapper_eddfddadfccc5e56b9e809e952641f6b(pybind11::module& module); void wrapper_f079028b7e505d6f8b4931133595179c(pybind11::module& module); void wrapper_f27aa86956235ad3ac8f08855c2b8820(pybind11::module& module); -void wrapper_f490fbe6298d5af89adf9098e57be3d4(pybind11::module& module); -void wrapper_f76f62b9f79a5f43900330c071ce00fb(pybind11::module& module); -void wrapper_f7ee2d0fd855596a8c0abbb2be320618(pybind11::module& module); -void wrapper_f81a8ee127995b0890ddd9786aab755d(pybind11::module& module); -void wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2(pybind11::module& module); -void wrapper_fd1fa4531ff65b6c889e56be99ebfc4e(pybind11::module& module); -void wrapper_fe5c14ebd9715db583a8fcea54e1d965(pybind11::module& module); -void wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de(pybind11::module& module); +void wrapper_f66e5627d97f5fac82e3d89b9b0694dc(pybind11::module& module); +void wrapper_f8d597009c7f50c0a1968a49aa56ff46(pybind11::module& module); +void wrapper_f94311a1d1fb597aac56bee900deb9fe(pybind11::module& module); +void wrapper_fa5e2baabb585a5e93632d2563d88b33(pybind11::module& module); +void wrapper_fb8f1cea3a695accb39f019b3fbd2247(pybind11::module& module); +void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module); void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module); +void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module); +void wrapper_051fc1b76bd35424959669918dd74f6a(pybind11::module& module); void wrapper_0711065322d6598096f4d4546ef589f7(pybind11::module& module); -void wrapper_099f33625b8c56688a7b3e04cbb36b62(pybind11::module& module); -void wrapper_0a237c7df2ac57109630f38c8cbc0fd4(pybind11::module& module); -void wrapper_0ec596bf98a6521c9bf30c96dc0ff201(pybind11::module& module); void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module); -void wrapper_17c6ed20c6a8518c806e33b3fcfab409(pybind11::module& module); -void wrapper_19547a3e283b56f0bcbda5ed6c39eca7(pybind11::module& module); -void wrapper_1b24919f2a0e5918adddc5638f6048e9(pybind11::module& module); -void wrapper_1c16077fc2b0519d806e8d900500edde(pybind11::module& module); +void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module); void wrapper_1cfe57e82ce352e4b80ae7c44a661b01(pybind11::module& module); -void wrapper_1d32c3b4d5615a2883aebf6ef53e85e8(pybind11::module& module); void wrapper_1dee5220708e5da08c33a1d4fa45151b(pybind11::module& module); -void wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5(pybind11::module& module); -void wrapper_28b80b998353537091198ca5f60cbdbf(pybind11::module& module); -void wrapper_2bc4b4cf9a315380aa25500e269996ba(pybind11::module& module); -void wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7(pybind11::module& module); -void wrapper_30b90e733d3b5718b760496782efec78(pybind11::module& module); +void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module); +void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module); +void wrapper_2d284769c93a57cba44be5c34bcfafd7(pybind11::module& module); void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module); -void wrapper_39bbeb58de54579b934e5a56a51b377c(pybind11::module& module); -void wrapper_3b85938d896e56519b8342119ca08869(pybind11::module& module); -void wrapper_48bb93ba41cb566d971639633c42258d(pybind11::module& module); -void wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705(pybind11::module& module); -void wrapper_528d7cd3a92d569d897fdc1e61483003(pybind11::module& module); -void wrapper_5750371755a95c10b9259748c7b5e21b(pybind11::module& module); -void wrapper_5877793da2745ffb9f47b225e5ec26b6(pybind11::module& module); -void wrapper_58960b7597495bb78bb15e0b1e8c9de8(pybind11::module& module); -void wrapper_5b1444f7a44054459e5adff18c81bbfb(pybind11::module& module); -void wrapper_603c48a232f0549ab95e7c0325f6f159(pybind11::module& module); -void wrapper_6040d8f35856585fa65c9beece0f520f(pybind11::module& module); -void wrapper_61733bdc2db95f128686b3292ae9259a(pybind11::module& module); -void wrapper_6731f013fc2f50e6b3684322e5d511aa(pybind11::module& module); -void wrapper_67548b1b39c8521c8f630ca5b4d502c4(pybind11::module& module); -void wrapper_68170427b0885d37a676e4274699fa05(pybind11::module& module); -void wrapper_681ebebfc39f52e7b797a69c6f165cc7(pybind11::module& module); -void wrapper_6d92f9f1e7ca5180bf403b23e9073d86(pybind11::module& module); -void wrapper_748e3ec2e85552f2ab39e490d409b414(pybind11::module& module); -void wrapper_74f6b70412845069a8b8594df02c99e5(pybind11::module& module); -void wrapper_7595c6bb437c59a9bc93a1f66c37eddf(pybind11::module& module); -void wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0(pybind11::module& module); +void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module); +void wrapper_6d51d5c1ef2d5f1bb98935798af976e0(pybind11::module& module); +void wrapper_81e358ca53ad5cb480953fedfe8cee0b(pybind11::module& module); +void wrapper_8273d59d3b9f581fa07283ea1cce6a0f(pybind11::module& module); +void wrapper_830457bcfd9a53298ff673c9b6d66714(pybind11::module& module); void wrapper_839b61ecb09d54819eb38cf69dde50bb(pybind11::module& module); -void wrapper_84c9be0b16d95273a960328d06f07469(pybind11::module& module); -void wrapper_84eec6a551bf57658127a555bf79a38f(pybind11::module& module); -void wrapper_86541250592e58489f051f41f0896e22(pybind11::module& module); +void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module); void wrapper_8efea02ccdc156c4aa5aae37b04b810a(pybind11::module& module); -void wrapper_8f3919223a1f55afb240c3500b95c95b(pybind11::module& module); void wrapper_90255c732933534b957e042c1796455c(pybind11::module& module); -void wrapper_9519b407cd30535e9a46079d8d8e90b2(pybind11::module& module); -void wrapper_9805623587005093969beb2ea47b0499(pybind11::module& module); -void wrapper_98899d54414f570aa57f6357fdc66074(pybind11::module& module); -void wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4(pybind11::module& module); +void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module); +void wrapper_966a285304c1551a9a283e9a8bd4917e(pybind11::module& module); +void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module); +void wrapper_9e028a1ab0715490be328e777d68493e(pybind11::module& module); void wrapper_9f08dae44aa3561686bc0ef53e82d042(pybind11::module& module); -void wrapper_a2e03e1beb3652d19910e253216cbbdd(pybind11::module& module); -void wrapper_a4ffccf09be35258a1a7081721670d59(pybind11::module& module); -void wrapper_a887ab230e4b513ab40c258c172f2580(pybind11::module& module); +void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module); void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module); void wrapper_abaaf08e32235f2ca7bacb4418592155(pybind11::module& module); -void wrapper_b588087797ae51f7bce93503c0c1a013(pybind11::module& module); -void wrapper_b797921d7173586f85a1f0978dfdd59d(pybind11::module& module); -void wrapper_b85047a790a65c398d0495802b9a0f04(pybind11::module& module); void wrapper_c3319864e98456809db3192e7060581f(pybind11::module& module); -void wrapper_c64f8514180b56eabe5b4d197177f547(pybind11::module& module); -void wrapper_ca5d28928ff15dbc886e10017edb407d(pybind11::module& module); +void wrapper_c6691c5b303051859dffd8d2f0d6c188(pybind11::module& module); +void wrapper_cbe0be5b997e578ea56a5ddbc174c53e(pybind11::module& module); void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module); -void wrapper_cd94566e790a5588be95cba4cfaaec57(pybind11::module& module); -void wrapper_cfd02dd933ca5798b9cc4c5244cd20ca(pybind11::module& module); -void wrapper_d63319879d9750a497ce0eb3e49e5d7a(pybind11::module& module); -void wrapper_d9f7731b9dbc5740add8fc7749d9283d(pybind11::module& module); +void wrapper_d30ac07998c750479d39b4a9b78e7da6(pybind11::module& module); +void wrapper_d443aa68b0b755eabc2a251be2deb4c6(pybind11::module& module); void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module); -void wrapper_ddc1dd1f57af5b6d966459fdd3ae2480(pybind11::module& module); -void wrapper_e1e7647ed4235775b6d085dd28a83675(pybind11::module& module); -void wrapper_e28923ae1ac356e5845929232f8e09ac(pybind11::module& module); -void wrapper_e2aa406ade4850eda910a734d419832b(pybind11::module& module); -void wrapper_ed81e719ae18598db776779b62b54889(pybind11::module& module); -void wrapper_f29b9e4bae2254ec8b6d9cf0133bf530(pybind11::module& module); -void wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d(pybind11::module& module); -void wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac(pybind11::module& module); -void wrapper_f550a61e11625416b81603dbfad86987(pybind11::module& module); -void wrapper_08e79862ae80532bb837c70a9c93652b(pybind11::module& module); -void wrapper_0950e6469e715d39b9590b5a0c7f484e(pybind11::module& module); -void wrapper_0f6bb80b715057a7964abf2a553f0818(pybind11::module& module); -void wrapper_13d523d2695b5825b5cf182c5a8fa6ca(pybind11::module& module); -void wrapper_15d5beb354475a4b8c2ab5885c0662bd(pybind11::module& module); -void wrapper_1935a142d4425b8e9212ebbb3d98b996(pybind11::module& module); -void wrapper_223fb8b8797b558497d5dea978484cfc(pybind11::module& module); -void wrapper_232384c3de2e54ad9b4768c29f93cd4e(pybind11::module& module); -void wrapper_2613fe07dc7251cea4181b6d9d00aad1(pybind11::module& module); -void wrapper_28ff0e97fdaa50f39207b3f08ac85ccd(pybind11::module& module); -void wrapper_360ceb38fb075feb99dc83054d31e423(pybind11::module& module); -void wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34(pybind11::module& module); -void wrapper_5562b8b01aa050b886b919c9b81686f5(pybind11::module& module); -void wrapper_57247d6d8d8354eda6e19f19da8dc732(pybind11::module& module); -void wrapper_5d11528f24755a879438133d5708e545(pybind11::module& module); -void wrapper_5fe9bb1da30956d98b555d9379555582(pybind11::module& module); -void wrapper_615b4cea5f9251d3b38950014f9d5697(pybind11::module& module); -void wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f(pybind11::module& module); -void wrapper_637dbedd3c8a59949a0df6e3a9989f87(pybind11::module& module); -void wrapper_66ba790876ea5d25be923643f217b67a(pybind11::module& module); -void wrapper_6ab41d8aa0095175b6da7190fc953a97(pybind11::module& module); -void wrapper_6d14c3d1f43b5dc99e4f553fff425665(pybind11::module& module); -void wrapper_6e8787baa0dc5b76b8b3076c994506dc(pybind11::module& module); -void wrapper_7eb3e765d79d55fd922f5b11acbb031e(pybind11::module& module); -void wrapper_8c6ff66ad2db50f3b16cf4191e75d77b(pybind11::module& module); -void wrapper_90a595db73ec5964850871a0849d9df6(pybind11::module& module); -void wrapper_a268e28862575ead97b631ce4a762208(pybind11::module& module); -void wrapper_ab333a3ecc9754b09181298d1da9b61e(pybind11::module& module); -void wrapper_b672d81fdca4541e96bb6aec3a8641d3(pybind11::module& module); -void wrapper_ba10383a23ff54399f92db2e929ec564(pybind11::module& module); -void wrapper_bae2e5a4968957478cacad701caac477(pybind11::module& module); -void wrapper_c0bee75b3bf95732b384679bc9ef8f9f(pybind11::module& module); -void wrapper_c285de96478650da951aca759bc2616e(pybind11::module& module); -void wrapper_c3981878d7ab5e6f87183b575418286b(pybind11::module& module); -void wrapper_c45aea45ed2e564cb24514edfc5e63b0(pybind11::module& module); -void wrapper_c57cf5e1268c5299a5895ad1b219623f(pybind11::module& module); -void wrapper_cac66b5845885b48b2bb02c9d01b81db(pybind11::module& module); -void wrapper_cd2f32a2cb285d6c9d814fca476c78af(pybind11::module& module); -void wrapper_d703fdffb5985355afb348563c2a3b0c(pybind11::module& module); -void wrapper_db69feb5c0dc5537adb3ca6589dd9d60(pybind11::module& module); -void wrapper_ee3148dbf8425c8f8a5c5a280fb4586c(pybind11::module& module); -void wrapper_1b793d6dd01553ae939c99e3743fa436(pybind11::module& module); -void wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(pybind11::module& module); -void wrapper_21120050d3d2560d969f522ea4e94cde(pybind11::module& module); +void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module); +void wrapper_ece163aebf095bf5b3e83565ba76bec1(pybind11::module& module); +void wrapper_f2160a41454451d28ba6ed197ddede7e(pybind11::module& module); +void wrapper_faf1fdd6d84a5fc3a61a827f354b8275(pybind11::module& module); void wrapper_3c3eb4c91b905a988bd9546e804a0d95(pybind11::module& module); void wrapper_4143f1db036e5bbdbba0a64045946862(pybind11::module& module); -void wrapper_446f651133d55eebbb2e7b65c75f4477(pybind11::module& module); -void wrapper_5940fdd28e32560cbb554a38b002be00(pybind11::module& module); -void wrapper_5e00a634363a53b79e62b0712b0cbe57(pybind11::module& module); -void wrapper_5e703a4587815486b6950405a411169b(pybind11::module& module); -void wrapper_6dd78f5508545bf49150581341735774(pybind11::module& module); -void wrapper_7a72df81b8e3525a981c66a31496b8f4(pybind11::module& module); -void wrapper_886998686eca518d858abef756189174(pybind11::module& module); -void wrapper_939d85e97df35cb48d17558623c03cc2(pybind11::module& module); -void wrapper_a361e68cde6a5b379c5300d00bee657c(pybind11::module& module); +void wrapper_5881d40c671d5a6eaeba5e461dc55622(pybind11::module& module); +void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module); void wrapper_a640206684935d01aa5be922b3bbdf00(pybind11::module& module); +void wrapper_b2c44a0108fd54c6a0ec396f27bccd10(pybind11::module& module); +void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module); +void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module); void wrapper_d413c9194272547596f08284edb5e2e8(pybind11::module& module); void wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(pybind11::module& module); void wrapper_dda6bb3fd9345086a3231d9341e47d49(pybind11::module& module); void wrapper_e17c871a4a485a888cde7218c52b67e3(pybind11::module& module); void wrapper_e5e03034302f5c6ca9d068a205353d2a(pybind11::module& module); -void wrapper_eb3cd0df0cd558acb42631cfa3f9a172(pybind11::module& module); -void wrapper_f3dab438657054798b20b872db63311a(pybind11::module& module); -void wrapper_f6675a262e6b55f6819ef4c5599c308b(pybind11::module& module); +void wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(pybind11::module& module); +void wrapper_31af2f3c7b5c54f5a56e10ac7064289b(pybind11::module& module); PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) { - pybind11::module module_fa414b05d29e5f4ea0b6d6cb5cf81b01 = module_9b5d0e83426e59fe8644dee679bc9dc1.def_submodule("statiskit", ""); pybind11::module module_a5e4e9231d6351ccb0e06756b389f0af = module_9b5d0e83426e59fe8644dee679bc9dc1.def_submodule("std", ""); + pybind11::module module_fa414b05d29e5f4ea0b6d6cb5cf81b01 = module_9b5d0e83426e59fe8644dee679bc9dc1.def_submodule("statiskit", ""); + pybind11::module module_91c5962ae4f35199bc2e90b5edad8412 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__distribution_estimation_91c5962ae4f35199bc2e90b5edad8412", ""); + pybind11::module module_6f54a1805d7d5e6b9796d225ad86ca34 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__distribution_estimation_6f54a1805d7d5e6b9796d225ad86ca34", ""); pybind11::module module_5517439c40d6505682aa2e58ed6cea33 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_location_estimation", ""); + pybind11::module module_5647113ef4105dfab0588ffcaf6c479b = module_a5e4e9231d6351ccb0e06756b389f0af.def_submodule("_ios_base", ""); pybind11::module module_2513f8d88792503e97d2b3f6b8c31e6f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_data", ""); + pybind11::module module_2f3439617e035c41b1282a03e900ef19 = module_a5e4e9231d6351ccb0e06756b389f0af.def_submodule("_locale", ""); pybind11::module module_87b566a692cb54b18914b54eb295ef9a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_dispersion_estimation", ""); + pybind11::module module_22af95e725215bc9b21db076f5deefd7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__conditional_distribution_estimation_22af95e725215bc9b21db076f5deefd7", ""); pybind11::module module_ca4f80534b7b5884bffbbf5ba13d2f49 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_size_error", ""); - pybind11::module module_88cb53c05b215504b1f0ee0564765af0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_data", ""); + pybind11::module module_e1391944268253558f04b6f996bb5a8b = module_a5e4e9231d6351ccb0e06756b389f0af.def_submodule("__basic_ostream_e1391944268253558f04b6f996bb5a8b", ""); + pybind11::module module_53a566eea7215e8b945cbdedf3acf7bc = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__conditional_distribution_estimation_53a566eea7215e8b945cbdedf3acf7bc", ""); pybind11::module module_13ec603d05f1534bbe1491c0634dca90 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_dispersion_estimation", ""); - pybind11::module module_b2b642c7a2d45bf5ad54e86cd730fb10 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_conditional_data", ""); - pybind11::module module_4e58a130fe9e52ffa312f3e583614e93 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_conditional_data", ""); + pybind11::module module_c8f9ef7718815a7dbb7946e20b85e07f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__distribution_estimation_c8f9ef7718815a7dbb7946e20b85e07f", ""); pybind11::module module_c85ee717b61a5378b8f1bc88cdf6c91a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_location_estimation", ""); - pybind11::module module_8f6b8d601b265537abfca5a924ae495d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_variance_estimation", ""); + pybind11::module module_8d9f50f674e25529b3d059a5a5380bcb = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_8d9f50f674e25529b3d059a5a5380bcb", ""); pybind11::module module_340c5465095052af9d63bdb8d9799d79 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_distribution_estimation", ""); - pybind11::module module_bac6b66586be52859b259d0c4440e387 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_mean_estimation", ""); - pybind11::module module_a8fb4974396a5f4ca5779c02d0f58b37 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_variance_estimation", ""); - pybind11::module module_64ae6eddce405116ba534ed722881799 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__weighted_data_64ae6eddce405116ba534ed722881799", ""); - pybind11::module module_3c4215c1e4465be3a5f234b657381458 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_singular_distribution_estimation", ""); - pybind11::module module_43ff7c79dcd15ad9995fd0d0ccc6d440 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_distribution_estimation", ""); pybind11::module module_b9daedbb8a1d5864bc019efa0a0d17df = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_conditional_distribution_estimation", ""); - pybind11::module module_5b5f1c1f4aa852eab398cea6df20fee2 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__weighted_data_5b5f1c1f4aa852eab398cea6df20fee2", ""); + pybind11::module module_43ff7c79dcd15ad9995fd0d0ccc6d440 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_distribution_estimation", ""); pybind11::module module_bf2c6deebd8e55f3824ecd5cf9312434 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_conditional_distribution_estimation", ""); - pybind11::module module_c5daab4ee3ac55c89ee2ee06a88fb23c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_mean_estimation", ""); - pybind11::module module_f09c97b097575bf2b4af254e6faa082c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_distribution_estimation", ""); - pybind11::module module_9b52bf3c9c595cdb890173a39b0d02c4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_univariate_conditional_distribution_estimation", ""); - pybind11::module module_9af672b8799e52dda111d00a974022cd = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_conditional_distribution_estimation", ""); - pybind11::module module_503849a008915707a02e604de7f58273 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_503849a008915707a02e604de7f58273", ""); - pybind11::module module_9f71ff88156f5fd0a459f920329e5dc8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_multivariate_conditional_distribution_estimation", ""); - pybind11::module module_10d5b7d349c75b6b89998f9a341fb629 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_univariate_conditional_distribution_estimation", ""); + pybind11::module module_88cb53c05b215504b1f0ee0564765af0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_data", ""); pybind11::module module_f1f8a991c324584993f9a58dcb9c014e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_multivariate_distribution_estimation", ""); pybind11::module module_f13beb88f0a956f5bc0cd7245bbd4b1c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_univariate_distribution_estimation", ""); - pybind11::module module_b14b3594a74c5ccc968141047b5145f4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_distribution_estimation", ""); - pybind11::module module_44e7c25b7bde5df2a9f031c534765f11 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_44e7c25b7bde5df2a9f031c534765f11", ""); - pybind11::module module_a004a7cf0d095bdeadf276d9713e024f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_conditional_distribution_estimation", ""); - pybind11::module module_c4726473069d576fbb9e53aacbf298ea = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_univariate_distribution_estimation", ""); - pybind11::module module_da164767fc675bd29ae86f87eff482aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_univariate_conditional_distribution_estimation", ""); - pybind11::module module_2d551f106ba85f3cb3acfbda4c8e17c7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_2d551f106ba85f3cb3acfbda4c8e17c7", ""); + pybind11::module module_8f6b8d601b265537abfca5a924ae495d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_variance_estimation", ""); + pybind11::module module_b487f4fc27725338b969ff43c4c8f4e4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multinomial_singular_distribution_estimation", ""); + pybind11::module module_bac6b66586be52859b259d0c4440e387 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_mean_estimation", ""); + pybind11::module module_a8fb4974396a5f4ca5779c02d0f58b37 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_variance_estimation", ""); pybind11::module module_ae5ffcb5f4c75f5cbb01e288fa5a986d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_univariate_distribution_estimation", ""); + pybind11::module module_c4726473069d576fbb9e53aacbf298ea = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_univariate_distribution_estimation", ""); + pybind11::module module_b14b3594a74c5ccc968141047b5145f4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_distribution_estimation", ""); + pybind11::module module_f09c97b097575bf2b4af254e6faa082c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_distribution_estimation", ""); + pybind11::module module_c5daab4ee3ac55c89ee2ee06a88fb23c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_mean_estimation", ""); + pybind11::module module_5562b8b01aa050b886b919c9b81686f5 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_dirichlet_multinomial_singular_distribution_estimation", ""); + pybind11::module module_104495a9f44f508fb8c76ab6d2269ec3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_ml_estimation", ""); pybind11::module module_05ca2ab336025cf2a8fa3266fedb4a1e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_regular_univariate_histogram_distribution_slope_heuristic_selection", ""); - pybind11::module module_8f3919223a1f55afb240c3500b95c95b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_8f3919223a1f55afb240c3500b95c95b", ""); - pybind11::module module_b797921d7173586f85a1f0978dfdd59d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_b797921d7173586f85a1f0978dfdd59d", ""); + pybind11::module module_f2160a41454451d28ba6ed197ddede7e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e", ""); pybind11::module module_dbc8a0461eeb579aa69a16cbe03a3913 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_mm_estimation", ""); - pybind11::module module_98899d54414f570aa57f6357fdc66074 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_98899d54414f570aa57f6357fdc66074", ""); + pybind11::module module_0711065322d6598096f4d4546ef589f7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_splitting_distribution_estimation", ""); pybind11::module module_cc9b200ad98c51108cfb0b6bf6bf2bd0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_mm_estimation", ""); pybind11::module module_36823ab42b0c57b48d903606aa743329 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_poisson_distribution_ml_estimation", ""); - pybind11::module module_b487f4fc27725338b969ff43c4c8f4e4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multinomial_singular_distribution_estimation", ""); - pybind11::module module_f29b9e4bae2254ec8b6d9cf0133bf530 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_f29b9e4bae2254ec8b6d9cf0133bf530", ""); - pybind11::module module_e28923ae1ac356e5845929232f8e09ac = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_e28923ae1ac356e5845929232f8e09ac", ""); pybind11::module module_31af2f3c7b5c54f5a56e10ac7064289b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_irregular_univariate_histogram_distribution_slope_heuristic_selection", ""); - pybind11::module module_5b1444f7a44054459e5adff18c81bbfb = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_5b1444f7a44054459e5adff18c81bbfb", ""); - pybind11::module module_b11157049fc45e7181cc22c9c3670513 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_b11157049fc45e7181cc22c9c3670513", ""); - pybind11::module module_d9f7731b9dbc5740add8fc7749d9283d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_d9f7731b9dbc5740add8fc7749d9283d", ""); - pybind11::module module_6040d8f35856585fa65c9beece0f520f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_6040d8f35856585fa65c9beece0f520f", ""); - pybind11::module module_cd94566e790a5588be95cba4cfaaec57 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_cd94566e790a5588be95cba4cfaaec57", ""); + pybind11::module module_8273d59d3b9f581fa07283ea1cce6a0f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f", ""); pybind11::module module_aabf684ce17950b49b6345c1ab565540 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_normal_distribution_ml_estimation", ""); - pybind11::module module_6d92f9f1e7ca5180bf403b23e9073d86 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_6d92f9f1e7ca5180bf403b23e9073d86", ""); - pybind11::module module_0ec596bf98a6521c9bf30c96dc0ff201 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_0ec596bf98a6521c9bf30c96dc0ff201", ""); - pybind11::module module_e1e7647ed4235775b6d085dd28a83675 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_e1e7647ed4235775b6d085dd28a83675", ""); + pybind11::module module_2d284769c93a57cba44be5c34bcfafd7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7", ""); + pybind11::module module_ece163aebf095bf5b3e83565ba76bec1 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1", ""); pybind11::module module_0159796d2beb51da9446e83d609342aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_estimation", ""); - pybind11::module module_16ec8df96bd85f88b8999c4cbe58279e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_16ec8df96bd85f88b8999c4cbe58279e", ""); - pybind11::module module_1c16077fc2b0519d806e8d900500edde = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_1c16077fc2b0519d806e8d900500edde", ""); - pybind11::module module_104495a9f44f508fb8c76ab6d2269ec3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_ml_estimation", ""); - pybind11::module module_ddbb72c73020556288736634edca5653 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_ddbb72c73020556288736634edca5653", ""); - pybind11::module module_67548b1b39c8521c8f630ca5b4d502c4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_67548b1b39c8521c8f630ca5b4d502c4", ""); - pybind11::module module_c4fa66fd13165a0abce0c43742e69748 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_c4fa66fd13165a0abce0c43742e69748", ""); - pybind11::module module_19547a3e283b56f0bcbda5ed6c39eca7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_19547a3e283b56f0bcbda5ed6c39eca7", ""); - pybind11::module module_0711065322d6598096f4d4546ef589f7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_splitting_distribution_estimation", ""); - pybind11::module module_1b24919f2a0e5918adddc5638f6048e9 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_1b24919f2a0e5918adddc5638f6048e9", ""); - pybind11::module module_a4ffccf09be35258a1a7081721670d59 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_a4ffccf09be35258a1a7081721670d59", ""); - pybind11::module module_099f33625b8c56688a7b3e04cbb36b62 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_099f33625b8c56688a7b3e04cbb36b62", ""); - pybind11::module module_48bb93ba41cb566d971639633c42258d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_48bb93ba41cb566d971639633c42258d", ""); - pybind11::module module_a2e03e1beb3652d19910e253216cbbdd = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_a2e03e1beb3652d19910e253216cbbdd", ""); - pybind11::module module_84eec6a551bf57658127a555bf79a38f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_84eec6a551bf57658127a555bf79a38f", ""); - pybind11::module module_28b80b998353537091198ca5f60cbdbf = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_28b80b998353537091198ca5f60cbdbf", ""); - pybind11::module module_df69c16128ca5c609f45a63866a1af2f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_df69c16128ca5c609f45a63866a1af2f", ""); - pybind11::module module_68170427b0885d37a676e4274699fa05 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_68170427b0885d37a676e4274699fa05", ""); - pybind11::module module_1d32c3b4d5615a2883aebf6ef53e85e8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_1d32c3b4d5615a2883aebf6ef53e85e8", ""); - pybind11::module module_39bbeb58de54579b934e5a56a51b377c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_39bbeb58de54579b934e5a56a51b377c", ""); - pybind11::module module_748e3ec2e85552f2ab39e490d409b414 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_748e3ec2e85552f2ab39e490d409b414", ""); - pybind11::module module_7595c6bb437c59a9bc93a1f66c37eddf = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_impl_7595c6bb437c59a9bc93a1f66c37eddf", ""); - pybind11::module module_232384c3de2e54ad9b4768c29f93cd4e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_232384c3de2e54ad9b4768c29f93cd4e", ""); - pybind11::module module_637dbedd3c8a59949a0df6e3a9989f87 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_637dbedd3c8a59949a0df6e3a9989f87", ""); - pybind11::module module_66ba790876ea5d25be923643f217b67a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_66ba790876ea5d25be923643f217b67a", ""); - pybind11::module module_ee3148dbf8425c8f8a5c5a280fb4586c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_ee3148dbf8425c8f8a5c5a280fb4586c", ""); - pybind11::module module_615b4cea5f9251d3b38950014f9d5697 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_615b4cea5f9251d3b38950014f9d5697", ""); - pybind11::module module_d703fdffb5985355afb348563c2a3b0c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_d703fdffb5985355afb348563c2a3b0c", ""); - pybind11::module module_15d5beb354475a4b8c2ab5885c0662bd = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_15d5beb354475a4b8c2ab5885c0662bd", ""); - pybind11::module module_c3981878d7ab5e6f87183b575418286b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_c3981878d7ab5e6f87183b575418286b", ""); - pybind11::module module_6ab41d8aa0095175b6da7190fc953a97 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_6ab41d8aa0095175b6da7190fc953a97", ""); - pybind11::module module_bae2e5a4968957478cacad701caac477 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_bae2e5a4968957478cacad701caac477", ""); - pybind11::module module_90a595db73ec5964850871a0849d9df6 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_90a595db73ec5964850871a0849d9df6", ""); - pybind11::module module_8c6ff66ad2db50f3b16cf4191e75d77b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__optimization_estimation_8c6ff66ad2db50f3b16cf4191e75d77b", ""); - pybind11::module module_5562b8b01aa050b886b919c9b81686f5 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_dirichlet_multinomial_singular_distribution_estimation", ""); - pybind11::module module_6dd78f5508545bf49150581341735774 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_6dd78f5508545bf49150581341735774", ""); + pybind11::module module_d443aa68b0b755eabc2a251be2deb4c6 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6", ""); pybind11::module module_a640206684935d01aa5be922b3bbdf00 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_ml_estimation", ""); pybind11::module module_d413c9194272547596f08284edb5e2e8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_multinomial_distribution_estimation", ""); - pybind11::module module_1b793d6dd01553ae939c99e3743fa436 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_1b793d6dd01553ae939c99e3743fa436", ""); - pybind11::module module_5940fdd28e32560cbb554a38b002be00 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_5940fdd28e32560cbb554a38b002be00", ""); - pybind11::module module_5e00a634363a53b79e62b0712b0cbe57 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_5e00a634363a53b79e62b0712b0cbe57", ""); pybind11::module module_e5e03034302f5c6ca9d068a205353d2a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_ml_estimation", ""); pybind11::module module_d57080a5d88f5beaa3f8f3ee09b1da8c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_logarithmic_distribution_ml_estimation", ""); - pybind11::module module_f6675a262e6b55f6819ef4c5599c308b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_f6675a262e6b55f6819ef4c5599c308b", ""); - pybind11::module module_a361e68cde6a5b379c5300d00bee657c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__mixture_distribution_em_estimation_a361e68cde6a5b379c5300d00bee657c", ""); - pybind11::module module_360ceb38fb075feb99dc83054d31e423 = module_e1e7647ed4235775b6d085dd28a83675.def_submodule("_criterion_estimator", ""); - pybind11::module module_f4db63bd9e7254c18d0dca2fbb1da1ac = module_44e7c25b7bde5df2a9f031c534765f11.def_submodule("_criterion_estimator", ""); - pybind11::module module_ba10383a23ff54399f92db2e929ec564 = module_e28923ae1ac356e5845929232f8e09ac.def_submodule("_criterion_estimator", ""); - pybind11::module module_5fe9bb1da30956d98b555d9379555582 = module_1c16077fc2b0519d806e8d900500edde.def_submodule("_criterion_estimator", ""); - pybind11::module module_6e8787baa0dc5b76b8b3076c994506dc = module_b797921d7173586f85a1f0978dfdd59d.def_submodule("_criterion_estimator", ""); - pybind11::module module_0f6bb80b715057a7964abf2a553f0818 = module_98899d54414f570aa57f6357fdc66074.def_submodule("_criterion_estimator", ""); - pybind11::module module_b672d81fdca4541e96bb6aec3a8641d3 = module_6040d8f35856585fa65c9beece0f520f.def_submodule("_criterion_estimator", ""); - pybind11::module module_7622b202aa8c5c10af59ca8b1ec3c7e0 = module_2d551f106ba85f3cb3acfbda4c8e17c7.def_submodule("_criterion_estimator", ""); - pybind11::module module_08e79862ae80532bb837c70a9c93652b = module_8f3919223a1f55afb240c3500b95c95b.def_submodule("_criterion_estimator", ""); - pybind11::module module_ed81e719ae18598db776779b62b54889 = module_503849a008915707a02e604de7f58273.def_submodule("_criterion_estimator", ""); - pybind11::module module_7eb3e765d79d55fd922f5b11acbb031e = module_d9f7731b9dbc5740add8fc7749d9283d.def_submodule("_criterion_estimator", ""); - pybind11::module module_6d14c3d1f43b5dc99e4f553fff425665 = module_6d92f9f1e7ca5180bf403b23e9073d86.def_submodule("_criterion_estimator", ""); - pybind11::module module_db69feb5c0dc5537adb3ca6589dd9d60 = module_f29b9e4bae2254ec8b6d9cf0133bf530.def_submodule("_criterion_estimator", ""); - pybind11::module module_c57cf5e1268c5299a5895ad1b219623f = module_cd94566e790a5588be95cba4cfaaec57.def_submodule("_criterion_estimator", ""); - pybind11::module module_a268e28862575ead97b631ce4a762208 = module_5b1444f7a44054459e5adff18c81bbfb.def_submodule("_criterion_estimator", ""); - wrapper_0a36039624465699ab0fb3ebba56695a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + pybind11::module module_c14e91b91c9852b8bd1c5fce67b0d241 = module_8d9f50f674e25529b3d059a5a5380bcb.def_submodule("_criterion_estimator", ""); + wrapper_057cf4037321591b98a5dc5f85faf504(module_91c5962ae4f35199bc2e90b5edad8412); wrapper_0e41540d879f5526a70e316582f05d49(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_0f631b8bbb065d39a1378915b306a904(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_117864e1dfe65915bf10502e182e5502(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_112dc12b863f53fea4df7b3ba388fd84(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_13ec603d05f1534bbe1491c0634dca90(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1495e1a47b435a5cab889b3ee5b413de(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_154892f4a4d05203bd5b77c0b8662195(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_16e0ec24327b5201927673f1e4c6eeca(module_6f54a1805d7d5e6b9796d225ad86ca34); wrapper_176ad7b821255b478820451a70624393(module_5517439c40d6505682aa2e58ed6cea33); wrapper_1a16c32a3d8f5d01b8d739fb757db381(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1ae28b9397ee5736a45e106e0eb3d8f9(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_1d46946cbf4e5e5188cb98cb24f80697(module_360ceb38fb075feb99dc83054d31e423); - wrapper_209197cf35105a20a75950ef9403af98(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_1cfac4e761e4558085f0b7c2a58070f2(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_22af95e725215bc9b21db076f5deefd7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2513f8d88792503e97d2b3f6b8c31e6f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2644644fcf2c54858f0565d665dcdbf4(module_f4db63bd9e7254c18d0dca2fbb1da1ac); + wrapper_294225563b8d53458805fdd4cfd054de(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_2a9f5c079e365a359ea86941717450bb(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_2f3439617e035c41b1282a03e900ef19(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_30c68813a7c05198a94e1fdadbddc931(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_340c5465095052af9d63bdb8d9799d79(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_34c2a8dbedd15f6e89c09855550f107b(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_37cab44615185125b12b8246ddcfeae0(module_5647113ef4105dfab0588ffcaf6c479b); wrapper_39737fb8eb785c29bb3a9eca8ab9e325(module_2513f8d88792503e97d2b3f6b8c31e6f); wrapper_3a465479f748511898cc3d6b13455141(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_3a6a49079d1b5e9bb815105374e2fc93(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3a72e173884155f78c8bc127cca80d9c(module_5647113ef4105dfab0588ffcaf6c479b); wrapper_3c400e97b58f58b5ba01fa8b0e0f5cca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3c4215c1e4465be3a5f234b657381458(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3ca8ff4e14d1580fa17364607bc956c4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3e3d38965c5e5a02ae621877dba470cf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4091fe7ebaea5a58bb732192d7661dce(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_41e33df7e8f15f9498a49fd08b35a4fc(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4540538b16205d90be33cf08feed0673(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_47713b069ca05573b21bd47acc8c8465(module_ba10383a23ff54399f92db2e929ec564); + wrapper_45da991e033e578d8aa55b46b232ec21(module_2f3439617e035c41b1282a03e900ef19); + wrapper_47e877e586e1567691c16ec40ec1eb13(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_484cc9c9d3f856c7aa18f642966f14a9(module_87b566a692cb54b18914b54eb295ef9a); - wrapper_4ccf3378b28a52cf822b51336a473a25(module_5fe9bb1da30956d98b555d9379555582); wrapper_4ddb01be8d3a54e7a69007c077bb86fb(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_4e58a130fe9e52ffa312f3e583614e93(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5060bd7989345eaab2a7cccb560a27f2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_50b1ee8b31d65a6c8c8652f8d3909202(module_6e8787baa0dc5b76b8b3076c994506dc); + wrapper_5180cb0278d15668832646c0905783b8(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_5186497276525dcc88f6e6e8b313d2af(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_53a566eea7215e8b945cbdedf3acf7bc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5517439c40d6505682aa2e58ed6cea33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5882772a749051e4bbaf2d0ffe53631a(module_0f6bb80b715057a7964abf2a553f0818); + wrapper_5647113ef4105dfab0588ffcaf6c479b(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_5a335bfacc455508850f696069e82b3b(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_6286fa427e2b5074b726466691e9713a(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_62ba3b73a1c356bcacfb0c66e927e78d(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_621822ae142e56979bee170334c7a63a(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_63cc054edf33518fa708f9caa286dab6(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_65f1b96fc3cf5b6abf37b20774ffb554(module_b672d81fdca4541e96bb6aec3a8641d3); + wrapper_663730845d925082a43337bf446ebf00(module_22af95e725215bc9b21db076f5deefd7); wrapper_6d1d52249a4c562691e57f68df4bcc06(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6eb3528843c6511f97a06a8eb24dda64(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_6f54a1805d7d5e6b9796d225ad86ca34(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_76d258d0b30f5e3a94d02ba97954104b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_78fa594811935c2ea4b4905d733f141f(module_ca4f80534b7b5884bffbbf5ba13d2f49); - wrapper_7a9d965afc04501291149551eda23354(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_7e1cec4e31015327b818f37cfea0452d(module_7622b202aa8c5c10af59ca8b1ec3c7e0); + wrapper_79c03425b8505668b16ffdd958127107(module_e1391944268253558f04b6f996bb5a8b); wrapper_7ed55bcdec33582fb2767f7d96937c85(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7f05968a172a528da4c7ae7e40d9faa7(module_53a566eea7215e8b945cbdedf3acf7bc); wrapper_84a556d72f7851e1831ea2c8cb5d6cb3(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_87b566a692cb54b18914b54eb295ef9a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_87d8e2ef8c42506c83fc802501fb4284(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_88cb53c05b215504b1f0ee0564765af0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_89be9fb233875ed0ab82187a315d00e7(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_8c51a578c55d5bdd9eb4e60d4581366b(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_8e92507e5f595339b8e2826b584e0a7b(module_08e79862ae80532bb837c70a9c93652b); + wrapper_91c5962ae4f35199bc2e90b5edad8412(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_95d0d4d7e8215bf98789264a4aeb8c71(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_97ddfd5be73a5e91b93724af3ea449cd(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_98e77d2afcc252cba528077bc2cc3103(module_88cb53c05b215504b1f0ee0564765af0); - wrapper_99243b0a36d95168b8a85b4b4999e459(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_96902179d8e1527ab8396789f078e437(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_9a33479821955c81b01e8f3c319e5180(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_9b1c85d3df8e5cba922fb88752a0d746(module_13ec603d05f1534bbe1491c0634dca90); - wrapper_9c9b0b8265215a57b48807e0fc9938ba(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(module_c8f9ef7718815a7dbb7946e20b85e07f); + wrapper_a07113fabe3b5ca2bb7456220de98547(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_a0e97d92179d57c6b360e221cdb4303b(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_a40e46e6e0ca59f7a440e68cd5fd7072(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a57657628a525cab9dae00c5ee02b84f(module_b2b642c7a2d45bf5ad54e86cd730fb10); wrapper_a5987d3cf2915a0aa8ed90e4c5f1f64f(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_a700d305386f53d0ae8398580f9913c3(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_a9a9c3199bce59e6adb38a4d295e4bd4(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_aa517e9d14595c32b4bf797f0280ed1f(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_abef6177f46d50b5bb54c0dd31824754(module_ed81e719ae18598db776779b62b54889); - wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe(module_7eb3e765d79d55fd922f5b11acbb031e); - wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b2b642c7a2d45bf5ad54e86cd730fb10(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b0122226f9b45c7885b797dfe5216cc3(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_b2b598c024f65acba246d207ae371e07(module_2f3439617e035c41b1282a03e900ef19); wrapper_b2f3c2f39c61584abb2d15ebc8f7a063(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_b3b19a6f3e2a5de28de1bc7ac29a0253(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_b69665ff8e35506d9f4bdc083f09c052(module_6d14c3d1f43b5dc99e4f553fff425665); - wrapper_b9daedbb8a1d5864bc019efa0a0d17df(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_bf2c6deebd8e55f3824ecd5cf9312434(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b43d5bcd7fb95832845cba669051438f(module_c14e91b91c9852b8bd1c5fce67b0d241); wrapper_bf466ef5cbd6539bbde8028bd459b6cb(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_c37f435056a151f5a398c0a2e86d752a(module_4e58a130fe9e52ffa312f3e583614e93); wrapper_c85ee717b61a5378b8f1bc88cdf6c91a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c87812df9e2e5ead9306b7d4fbe06d71(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_c8f9ef7718815a7dbb7946e20b85e07f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cc00dae7ca6d56c79922ef32ecf17f07(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cd2f170876c354e483515add3780006d(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_ceecfdda95b55b7c9ffa26c45ca90aef(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_cf5d31feb9b059de8352d654f997199c(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d1d07891cded56f98ac530b8a0898dd9(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_d33d975672ef54f0b9b5e01d57fdf32b(module_c85ee717b61a5378b8f1bc88cdf6c91a); - wrapper_d358a39c74145ef4b6d844aec605e715(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_d7f10816ae3755518cc8f9508c8f2b84(module_db69feb5c0dc5537adb3ca6589dd9d60); + wrapper_d8072eca33fe5d46a0b27a217a8dbc96(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dacafb2abd3e5e87bcba015691229ac8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_daf74149f27453a7a5360a8ea7e9d69c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dcc8ef4101bc5e2faab31d52dc0fe7ff(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_e695b5b519815f1f96debe2f459d2f2b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_edfb27681f195343b523e5b949187dba(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_efb22dd89dfc592fbbbda15aec725121(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_f0b505f9181a5a428a2ef97f2bcd9cb9(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_f4afe77755d35d35b62ff4de5295156d(module_c57cf5e1268c5299a5895ad1b219623f); wrapper_f547adcf134f504ea7a1c24a48441dfa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f5729db8e15254f8b7481092212bac64(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f8f00712e4e856159eebbf7b438e61ba(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -799,474 +549,302 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_f960e2553b04556891123a86cfb68152(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_faed70c01c41556a87ba6c938ce7c777(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_fe18de6fe2c850bc986987821db6db68(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ff336bb969875c6bb9226d1ab053af10(module_a268e28862575ead97b631ce4a762208); - wrapper_0281a28ebbe655cabfc3d1baabb16b6c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_02cb27a2f5305d6eaf2fc0d0977b5565(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_040909a1c2b158b198be21fa1ab2b474(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0786eb9689055ad4be86080202077ec7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_08d6e46838b65ffebc188c31dc3d252f(module_8d9f50f674e25529b3d059a5a5380bcb); + wrapper_097d071b39dc5df98bf53b8b2cb22c3d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_098b1688f9d6517bac4fe76bfdbe24bd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_10d5b7d349c75b6b89998f9a341fb629(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_13232a7341945cd08787bdf29befb389(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_14a9cd2a8d9a572e8c7d58d490e5269e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_160b713997e259caa9b19848803d29f1(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_1790dd7d2111554099562871bb0f85af(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_19ec6a1f261852b5b192c3cbc4571d78(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_1a895a21d59854609ac58f50d8dcef94(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_1ca74b2dc66a5ee79310589958dcce9f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_206185953d7651e78a6714d1fe602758(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_254705bef21f59ca807412aa011917c0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_259bbb897cee510787d813a9c7525d6f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_295ece6953a856c8b865758b0a34795c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2b57b3b9280e5071b728b923da9d2c0a(module_8f6b8d601b265537abfca5a924ae495d); - wrapper_2da6d48bdb575a46ad7d2e948eb7ee83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2a0dd80c75b958a198cbb602212dea2d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2da8a9223cae5918afa89d5266f7f7e7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3170a5376b065cea9f39ca7a6ad5332f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_31aa0a631312549a9cf4cb8740b55a7f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3220f60173275579a5722fe8dba23dfa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_32c776be879e5a4f8e5388d5cb33ecc4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_334941caf3de5e3ab25e41d07fa1d9ca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_340c5465095052af9d63bdb8d9799d79(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_354f862e227e590491c20a9acad58d0b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3ae69567ec205969a9f2da364450fd2e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3c1962795bd85111b3372c4c25474792(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_3f4e466ff3215f84837970a75685a8b5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_41e812da3d3654cd9fb33041c3acf25f(module_340c5465095052af9d63bdb8d9799d79); - wrapper_41f94682b11f5bf481e7cf7033a93181(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_423ed9cbac44541cb53a4cf80e6e15d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_49bd08872be751c291082c55ce0677e3(module_bac6b66586be52859b259d0c4440e387); - wrapper_51a269f41c995b2e8c33ae7f895f50ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4637f9b5c7175ff0880fd325a6eca119(module_b9daedbb8a1d5864bc019efa0a0d17df); + wrapper_488de6b23c2d582c8382ac19e518b6a8(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_50d5d8b88c0d5eeea2e382dc4626754a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_59db006e2d0a532f903fd7d41c9aabfb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5b5f1c1f4aa852eab398cea6df20fee2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5cf53138947354ddb9f4e01b4b221762(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_622b4b6c4fef5b119cba23181cff6cf6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_63f5048eedae564391cd268a0107428f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_643847dccc2b560082343f2bbda15cba(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_64ae6eddce405116ba534ed722881799(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6588548f29e15f0ea6e9ef29ce68dfd8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_65947043f3a35049b50e8d74f93075cf(module_a8fb4974396a5f4ca5779c02d0f58b37); - wrapper_6690633b82205104834e2688e6549e65(module_64ae6eddce405116ba534ed722881799); - wrapper_67870dc7ea665794a91fa84ca05aecb0(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_67cb5425a85056b38615b0d4e5c587b3(module_3c4215c1e4465be3a5f234b657381458); wrapper_69ca358c24cd5cabb1a6b9e1358519e4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6eb1ba92b1d158b09999c16267a2ec28(module_43ff7c79dcd15ad9995fd0d0ccc6d440); - wrapper_7b337e963b005631b0b064a739f3b591(module_b9daedbb8a1d5864bc019efa0a0d17df); - wrapper_8a816909345b5bf2911f863db5b8cb0b(module_5b5f1c1f4aa852eab398cea6df20fee2); - wrapper_8f6b8d601b265537abfca5a924ae495d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_90ffe8fffb9b5923867b6c24ac9eedb7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_73e107092bdb5be2a9ec6e31772ffd09(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7466a1a79edf5312955ff663594f561b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8dcb38f525415f5eb16b5b180a314eab(module_bf2c6deebd8e55f3824ecd5cf9312434); wrapper_98dec83d5b055bb7bd34151081ce3693(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9af672b8799e52dda111d00a974022cd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9b52bf3c9c595cdb890173a39b0d02c4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9f71ff88156f5fd0a459f920329e5dc8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a004a7cf0d095bdeadf276d9713e024f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a138b226412951b38a64aaad8bc549ac(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_98e77d2afcc252cba528077bc2cc3103(module_88cb53c05b215504b1f0ee0564765af0); + wrapper_9c2fa9a7a902547eab99ffb00609ac86(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a0117c6545ed509a9f9743da0a6360b7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a42d846927fa55029bf78190c71fb4a4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a4d6cfc5f43a5e10a524a2cea681460d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a636d351527b51298739e1ccb4313967(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_a8fb4974396a5f4ca5779c02d0f58b37(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_aa6b2bab0be654649ef497aa71dff2e3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b14b3594a74c5ccc968141047b5145f4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b24ad967ae66587ba612c3f37635bddb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_bac6b66586be52859b259d0c4440e387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b4644d28cde95fdb8e27360bc00fee72(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b9daedbb8a1d5864bc019efa0a0d17df(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bc2764672801516e9cea984f33c9d9bf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_be6e5acaae3150f69207956b75050e55(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bf2c6deebd8e55f3824ecd5cf9312434(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c1af1f263c37571f8e1257a72f39fd05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c4726473069d576fbb9e53aacbf298ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_caa96dc8906e541dbda0563fb9f042bc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ce6d678c114158f596627eb4f0c6e9b1(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_c5145b1136065279b4181888431537f6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cf0179fb6c94524589e450e5bcacc532(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cf0415be3d965595a8486e9a8659c1a9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d82ac4c07b685057ae35b9a0216111d2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d84d3426cce55670b51d351b388a8ae8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_da164767fc675bd29ae86f87eff482aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_db3e81250c765e35b6b7ab7b9d17c8ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e19df620173959fc805b30a13ab6379a(module_bf2c6deebd8e55f3824ecd5cf9312434); - wrapper_e2d3df06414058178eb5fc957e8fd6d9(module_c5daab4ee3ac55c89ee2ee06a88fb23c); - wrapper_eb4ed1ac11775528a15a11246865cec3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ee054e76c90f582f9e07cdff4cd63eda(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_f09c97b097575bf2b4af254e6faa082c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f1f8a991c324584993f9a58dcb9c014e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_075f4a1dea37583ebdb7b34686ef683f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_08568636c5a25349ad6ad5335ed1718e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f3a4e0390ba552948c69ae13cadb799a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f8b8546034205658b6e3e16175284f26(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_fe481101ccef5e018b6d0e5b0d1be998(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0c5fdb90743c59dda2a63d2ea31919c2(module_f1f8a991c324584993f9a58dcb9c014e); wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_0ec3624c447f5547b35390faafaf867f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_167b2440c33657b2abc8311b6621a7bb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_16a072b3aa3255f989f89ed810798d2e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1ec5dee4e7cb5437b83047021c0ca63f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1f50e5c48a545cf9a618ddbf871d3a9c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_214e9eab615f5960b6c5415c0c55fa0c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_281a291cf9465a1e9af25cbee1cf5bad(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2f72e6e6db9a5498beee75dbafdc6393(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2ff2806eb8795c00b3220e66ed037bae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3185f3f8abfe5447acd1b43172130b8e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3312cf49434759ee93e09764ddc76065(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3389d2f38d825c49975e5cfc9a0517d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3b2e19fa74a45eb49f08742886108635(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0e85222f05205b5983c73610343623c8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0f491a898d6251e1851339f286f0358c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_11b76bdf145b514f8ed8993245b9864c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_172696efc2ee5189bf7047d20bc97387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1f896af016d3557fa2b823b2110a3f82(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_20a3935ea3995924abfb200f08b075ee(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_22316f691c3051a4b467ae58506ba1df(module_f13beb88f0a956f5bc0cd7245bbd4b1c); + wrapper_25265f42150552ea9c7e3f59af135f87(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2b57b3b9280e5071b728b923da9d2c0a(module_8f6b8d601b265537abfca5a924ae495d); + wrapper_2da6d48bdb575a46ad7d2e948eb7ee83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2eae4ac2dbf259029ee0e81da54c2c15(module_b487f4fc27725338b969ff43c4c8f4e4); + wrapper_3220f60173275579a5722fe8dba23dfa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_334941caf3de5e3ab25e41d07fa1d9ca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_337b3fb852125acd94dcdd79f0bbc00a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_37b7e83ad4685de7971d757784ece860(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3e9d65e7582c5349812d357cd482c2ca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_40c631b5a67d5748bbfdeaa0beedb4e0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_413148ff15d05180b4dbaaac395b3625(module_f09c97b097575bf2b4af254e6faa082c); + wrapper_3ff582522b0d5915b638d6939794ff66(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_41ea68bb4a9850aa9861003b9fcab334(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_42c73f7b760d584f96ee42693c708651(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4377e68c4caf5dae89a051f45d03b8c3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_43d603893a165ed2bf34ad286a50f22e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_48d411e601675e49961eaa93daeb1835(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4420321c5ba25609a5915044efb89bc8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_49bd08872be751c291082c55ce0677e3(module_bac6b66586be52859b259d0c4440e387); wrapper_49ca84779c315483b61bc3fa2c2221b3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_49e18be963b9503a942009b04ff7e676(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4b1365f753d05b8db1db0b529f5110f9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4f25ed2b505752de8ee46e2e6aa83af6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4b5bca62b7795925980272db0dce9ae7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_513f1e95007657ac9d8f70c0a2356aac(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5266ea37de9b57c680d01c7fb2421e89(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_551c927628b651a19489817a39ededb8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5678c4d7ca565a7d9dbc239c27111073(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5856b02a98b7543baa5144338b21e69d(module_9b52bf3c9c595cdb890173a39b0d02c4); wrapper_59d6fe57059653bd86dc375009cc7317(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5d63830a58ae5ad1aaf2cb88275ddd22(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5e3b9b778c57534eb8d780dfb69a1f3f(module_9af672b8799e52dda111d00a974022cd); - wrapper_5e9c2eecb34851cd99100ce520f53c6e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5fefecf0971c53a682b5075141e39dc0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_65233ae509075a4885c6c150d99046ae(module_503849a008915707a02e604de7f58273); - wrapper_665b8d3ceeaa526cb99ce05a6dc94f38(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_65947043f3a35049b50e8d74f93075cf(module_a8fb4974396a5f4ca5779c02d0f58b37); wrapper_6703ab3001965416a3da60ad8639a800(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_67a3e4ff2f845698a912990ce487f08d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6923aecde43059bd8a00d1bd199ffa8d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6c36c615980657b7b51c6c44de94c819(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6d99edae55df515bbdeb7c5c0e15917e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6f183e6be0945c80a110bb22edb227d9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7189dbb358a659bb802e95b3ea6ebebd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7504e6a86bdf57c0a7e644a6615fcd51(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7510c84a2e4c5022ac15bd97a576d4b0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7815e44baa9c505681db76fc0d0c7fd6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7963cd416f6c50c09445d3b27e4f9428(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_79be5108bb8c56d9825ee10945271a59(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7b62905e006b57cc879769143ac42b3a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7d0c9ca0e35156dda4481073c8664c19(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7d52b247865d503986da71f28e0da3e9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_8486f4aa8ce25724972cec18f80c00cc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_68d58bb20b4e507ea69ba2065530644b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6d256cdc2e1253b8823893d5d72bc031(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6fd71629a95855bbad845fa81b27f4d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7d52c5fa83fa5b7abbc12831a19a2931(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7e4c2f85b93b5cc399280098492de425(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8408f59ac7205444bbaf4ef2fb92867d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_850400feaf015819b89ae0fb0bc38962(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_85895a324a625f0888907166731d1bca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_85e5d9c1d86a574d8623fe4bb0164527(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_861c54941e635197a1fd90e0eb95cd28(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_86ceaf8153c052c9b470c7e534cdb934(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_87317e63de535031ba8bf5e2f19134ef(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_87bede3683865d5daba537c08a5c665f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_881a8218d7d65c82b32d722273692e73(module_9f71ff88156f5fd0a459f920329e5dc8); - wrapper_8946cbc54c235b72b2e100c2785ce4c3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_899c8afc48a850aaac3ae5c4614380e9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_8d6042c687a1543d97b4931d7ca1fca8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_90894824332153a7a0c5c3bd4ff0eab8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9547a153430f5693a08b4dbbf3204f78(module_10d5b7d349c75b6b89998f9a341fb629); - wrapper_988ed407a0da542eb838d5681ba5ffd1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9981958281625422b3b46cea8ec85a6d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9b457c1fefee52aeba68eb2ee374d6c8(module_f1f8a991c324584993f9a58dcb9c014e); - wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9cf0f707397c5385baa38f245ba80437(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9d7f0f97517952029268e1fd35ac8843(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_864140a02b1554ffbf15f5c312a38d8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8d9f50f674e25529b3d059a5a5380bcb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8f6b8d601b265537abfca5a924ae495d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_96a5a23f253351d38c0689328d0d8eb2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9819c01af16354f5af1bd00fe32e33a5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9962e820b2a75e44aeb478a7fa3f1b63(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_99fc77e1853459ba9270c901d62d010f(module_ae5ffcb5f4c75f5cbb01e288fa5a986d); + wrapper_9ce76073f232512da483f80a23807ddc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a079c62242f25fd5aefc1ac40095a061(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a32936912db85574b408168f51749429(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a4463e49d7865a6497ec20612e342cbe(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a744c0e699b3529e8ea41b36264771ec(module_f13beb88f0a956f5bc0cd7245bbd4b1c); - wrapper_a766c9930af25f8f90f6e118f2ca75d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_aa6e0b250759574eb903a6b783b18053(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_abb8de3fed35566b9c88aebdaec5f1a0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda(module_b14b3594a74c5ccc968141047b5145f4); - wrapper_b0590d3783ba5288a5695b0e9cf1b03f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b101d02bb3d95e95ac86387f50f9bccd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b191a9bdcde4562cb6bfc0666feb816d(module_44e7c25b7bde5df2a9f031c534765f11); - wrapper_b65e2bfb02355375b92295f460fb1b15(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a5cf9061d7bb5791ad10bf28e28951fd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a87f64a7a0c553e2b79ea554696bd78b(module_c4726473069d576fbb9e53aacbf298ea); + wrapper_a8fb4974396a5f4ca5779c02d0f58b37(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b14b3594a74c5ccc968141047b5145f4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b487f4fc27725338b969ff43c4c8f4e4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b544b96a33fd5924804b28cfb48e8df8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b87395375e4e53959abf2c6e5205259d(module_b14b3594a74c5ccc968141047b5145f4); wrapper_ba25f6fe677652cebd40b6aed2762b5a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_bb17c2bea1da5d2a86714ca422d3c393(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_bb48025bb0a15b5c907ff0400bf2207a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_bc77a106572e58ba96fe5742a38e574c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_be720dbf462e5dce8b7d4a0b04921c48(module_a004a7cf0d095bdeadf276d9713e024f); - wrapper_bf47140d396d5c208e074ff3a2a31af4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bac6b66586be52859b259d0c4440e387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_bf5b68f25d1f5ab9ad2c936351edf740(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c08067855baa5ebea605270776020990(module_c4726473069d576fbb9e53aacbf298ea); + wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c07d900e8cfe54789b1eb7500f2b17d6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c30582fff9a5510186e17a7b44494d9f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c3848ca82c6150b480894755016faabf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c50f0d84f3a05771b904e670721690e3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c5f88ba309545f39820cbd74b19f1f7c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cc3bc950f48855398043fabd1fa92b62(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46(module_da164767fc675bd29ae86f87eff482aa); - wrapper_d4b7bfff2e0551769c3e6767fe7dca05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d72a9c13e27a5de5800ea382cc4d107f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c4726473069d576fbb9e53aacbf298ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ccb69f6f1ea252c78b62bd2708670cdd(module_f09c97b097575bf2b4af254e6faa082c); wrapper_d7aaae9c78655d9f870d5f017126833f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_dace22af29e35e1e8847a21e0083dbd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_db760ff53e0e5dca8e558b09ed12163c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_dcb42c58c45353839bf4d081d804b14c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_dd64d489201652bd9b30c6b9ce866197(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e04333cf88f85b74a12abe551bc271c3(module_2d551f106ba85f3cb3acfbda4c8e17c7); - wrapper_e1c5f547b5d15a24a9c9a3bab487c15d(module_ae5ffcb5f4c75f5cbb01e288fa5a986d); - wrapper_e793dec94d375e40b28adb85f4d45664(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ea23650412285dd89c33e1ed29a91cb7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_eae24fefebd9570687e8a345f6e50c1b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d82ac4c07b685057ae35b9a0216111d2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d9e3c8f1d16d5ffea475de8236279387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_db2668977eed5283a0dfb9992502d2dd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_df673121ff9a5ed3a03ae1633aac43b7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_e1391944268253558f04b6f996bb5a8b(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_e2d3df06414058178eb5fc957e8fd6d9(module_c5daab4ee3ac55c89ee2ee06a88fb23c); + wrapper_e3970afe332b54108a4040278f775008(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ed56b0739802545c9906dd23adb8636c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_ef06cd7866a05e8a9b9f746a2f9da324(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ef99412d87545a1391d9c6cbb66e08e8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f09c97b097575bf2b4af254e6faa082c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f1f8a991c324584993f9a58dcb9c014e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f4b4623a4bb55ebdb42401f0a981cb83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f722c8cfa79750d98e46db79b3b1130d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f7ee5d4607de508bb39519488f31e96c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f93af042f688513484b1158c96b9eaef(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_fa5e2baabb585a5e93632d2563d88b33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_fb8f1cea3a695accb39f019b3fbd2247(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_fcc6162c378c5756b392afed99931125(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_fd63b9f470165717923109c2f3c8739d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_010dca8ca2e458db8505774b1f36db9a(module_05ca2ab336025cf2a8fa3266fedb4a1e); + wrapper_fe5c14ebd9715db583a8fcea54e1d965(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_feb9ad1a68185444ba16325ba90aea6b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_033df89396b35855a50192cdc7f16be3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_041a0df7795f54fdae26c57528a75193(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_06b2640afe975f8dbf856bb3a88451cf(module_8f3919223a1f55afb240c3500b95c95b); - wrapper_09e5fef4970b56dabc3cf805a4fca937(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_09fa62065c8f5098af0f7db57ad3e6a9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0b663e6159f1527ca997ac0244c65093(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_0b7e758230bf50db981289f48e9fdca7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_10d55631c3925ada88a549c3ce423021(module_b797921d7173586f85a1f0978dfdd59d); - wrapper_1151599a3fae506b8f5a5bddf7efd129(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_134023695d4459f2931df9cb87b57330(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0cf8ab1b80485228a6333e32fd937f72(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_119aa039675055618c8a856f637be1e0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1581bb259a1355888c0e234a7f9960d9(module_dbc8a0461eeb579aa69a16cbe03a3913); - wrapper_16ec8df96bd85f88b8999c4cbe58279e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_18bed25ce1eb5640880f010edb403ed3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_19ee605677815ce58ebdc169d44e3d8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1bbe231bce835ebeb36da82ccdeb5997(module_98899d54414f570aa57f6357fdc66074); - wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(module_cc9b200ad98c51108cfb0b6bf6bf2bd0); - wrapper_20f43f33e75f5ed8baf3e95be100740a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1dfb91cd35315554957dc314e2ba48a2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1ec5dee4e7cb5437b83047021c0ca63f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(module_5562b8b01aa050b886b919c9b81686f5); + wrapper_23541363c56f58418e709d76f3ae28bc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2374d2b9da295a348658b43237daeaba(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_27cfd1a8870659e08234770c1938e6df(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_281622f2e8fd576dae1b13441146f58b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2934c614112358768beae325b0d33ea2(module_36823ab42b0c57b48d903606aa743329); + wrapper_246619e611bb5657b2e56a30794d1385(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2644b3904d665c118ab54533b295d7e3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2b3c507b8c725207815095175a281285(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2cfec7576f805b8d8fb103d1f86f786e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2d551f106ba85f3cb3acfbda4c8e17c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2eae4ac2dbf259029ee0e81da54c2c15(module_b487f4fc27725338b969ff43c4c8f4e4); - wrapper_30db7beed1bd54e38566ef11693e0e60(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_31af2f3c7b5c54f5a56e10ac7064289b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3201f3b07b0254eb8ef2d0c42eff2557(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2f72e6e6db9a5498beee75dbafdc6393(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_33e65ba70bc55b7a87a025eaa60e5665(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_346ee3489d025beead99ffc0c8770939(module_f29b9e4bae2254ec8b6d9cf0133bf530); wrapper_34d64090a84e51db9616a4cc540e43b8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3557273679395cf2a3e4b3d3f227accd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_36adf88112dd5312b6c5fe75ebbc5559(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_37d2da7ae2985fcc8caca8de36d30ce7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3878f151eb4759f89a07796ff631bdf9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_39eaaa358ce655d08615c947c949eb83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3d6a15edb2225daba874c2b80defe6b4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3ee8eb16efa65e34aae8ad9f32dcb983(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3fdfbd3fa64657cebd5a4166db8b26a9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_432843a5646c5268bb35f7309d2d4b33(module_e28923ae1ac356e5845929232f8e09ac); - wrapper_44e7c25b7bde5df2a9f031c534765f11(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_473e4f9a05ed5118bd06e179489a35f4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_48bccb3a91fe5cebbca2f6105b37b2c5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4f08e906137d58128853d1fc5d729fae(module_31af2f3c7b5c54f5a56e10ac7064289b); - wrapper_503849a008915707a02e604de7f58273(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3aedd3fce1c956baaeb85f4606914109(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3ea06f62f79c50b5856e5712f2ec8e84(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_420aec1990555632bd8e6235f3099ec2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_42c73f7b760d584f96ee42693c708651(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_48d411e601675e49961eaa93daeb1835(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4e2cec23d01552a2b35a809a21ed47b7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4f02856d2af15e4ba0bc8f413558566d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4f25ed2b505752de8ee46e2e6aa83af6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_505be4c829e95c51829a196fdbf7392f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5562b8b01aa050b886b919c9b81686f5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_55903cb2e67650868a4cd698632375c1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_55c811c1cb0f58cf8dbf62aa61f8d814(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5a3d233a5dc55aaba123c4eb5cd6e502(module_5b1444f7a44054459e5adff18c81bbfb); - wrapper_5bbb1918edfa5fb49894cb0a6bf46044(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5c6e4c2beaae58e1a041154bd478b75f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5ed6f55d014d5a74a1d1acafef440cde(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5fefecf0971c53a682b5075141e39dc0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6100283fa34c5dc5af23228c1af7758a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_61234f1033f25f108ec6c1bb0d3ddf38(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_62bb4890a4005e5aabb044b5bfeb72ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6375bd4b368450a684e289f7598736a6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_660dca73e10451bcbba83efec37196ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_66595150e9b05d2aaf4d9f52269aca0d(module_b11157049fc45e7181cc22c9c3670513); - wrapper_66ea0b28087057f5abc6f26dadfb4c15(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6714db1d278d5fec95ea3760f54b9fa0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_66f947be876e54a4901f1a9633fffbaf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_69913377d1325b99bc7469de4f5cf375(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6fac6a71bec1544eaecb1b57399ee5ec(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_700bbebe1a2a5b0699f46ca77b7ea310(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_704ee68add3e546ca4a169ccfcb00d07(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7164ab149b5259c39291b9f2886585fb(module_d9f7731b9dbc5740add8fc7749d9283d); - wrapper_73f4a03ba6125d598bb6a6a8f7de7664(module_6040d8f35856585fa65c9beece0f520f); + wrapper_79e2f422f64050e2896852975f3b368d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7c0a27a86dcc5f2d8020dad9bb975e76(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7d35ddb2f28b57a1849a13f7711f313e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7ee099e22285561eb2a1e4dac64d4ff9(module_cd94566e790a5588be95cba4cfaaec57); - wrapper_8481c329ca5e52b0af85447122c41ca5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_85102754beff532db66ca292ea3a6486(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_851931d00bce5cabad06313cbacce91b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(module_aabf684ce17950b49b6345c1ab565540); - wrapper_8a467c708d9c5620937b1f63cde332b1(module_6d92f9f1e7ca5180bf403b23e9073d86); - wrapper_90681e203d925f7c8b9ca14a02786804(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_85e5d9c1d86a574d8623fe4bb0164527(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8637850c39dc51d3a7ea186462c65e2a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8dc14cd974045db7ab63d2d8c0c5c496(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_943c8cc5188d5f9d9fba36372e10ed33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9603102166305920b6c85e3416150e99(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_96486d682f0851438822ccbdd2c8c3eb(module_0ec596bf98a6521c9bf30c96dc0ff201); - wrapper_964cf359ff005773acf9fc2bf7c5743b(module_e1e7647ed4235775b6d085dd28a83675); - wrapper_985cf21680915944bc189269c6e7eaf8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_985dfffef8265a319e222a08d8f11f05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_98e0aa1c483d522aa3e3427e0c99ee6f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9981958281625422b3b46cea8ec85a6d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9ca9917e667b52ea9eb2ec4f17e230b5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a14f45085a74550c89aab30952f6725b(module_0159796d2beb51da9446e83d609342aa); - wrapper_a1dbe32ad4be556a97d08416f9bb668d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a766c9930af25f8f90f6e118f2ca75d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a85fc45746c05d078709ff7a44d648a2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_aa4348c3ceb5595a843d8fc5a6c54231(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_adb101528f1256ccaa63a94998938b36(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b014379d48a45dac9f7ee65cf09afac7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b11157049fc45e7181cc22c9c3670513(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b129309aaed65ac0b06bd5889ca44405(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_aa6e0b250759574eb903a6b783b18053(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b0fdc82131d6539ab2e2a6b14e8038cf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b3aefb8f8c96565c95d583848719e5b2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b487f4fc27725338b969ff43c4c8f4e4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b745bd62c1315087a0aa661317232745(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b5bed4faf978515387938b2b850d0fdf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b6a067f70ca259909a6411bfb14cfdca(module_5647113ef4105dfab0588ffcaf6c479b); + wrapper_b730e37e69f05687be99d670316afe25(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b96c209ac3dd5f7fbfe78eac3417193e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c14e91b91c9852b8bd1c5fce67b0d241(module_8d9f50f674e25529b3d059a5a5380bcb); wrapper_c2568ff48c245dbe8395ac41d83bc8f8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c4fa66fd13165a0abce0c43742e69748(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c8d0cf6feb9650a486b6da44c7b338e0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c92b9bfaab03555f87343457a8d1a2b0(module_16ec8df96bd85f88b8999c4cbe58279e); wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_caa62ffec61a5e0a99ca640a1ed36905(module_1c16077fc2b0519d806e8d900500edde); wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(module_104495a9f44f508fb8c76ab6d2269ec3); wrapper_cd5e5c2c8f40591793aafe753277bfe3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d335c4296ec45f9a80fc78493af8917e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d43cf2b0b53753edb3fccbdddfef43b3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d5050a1ccbb65a28b581f7bdf82e3a84(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d6970cd0a37451cfbcd48d316b17aaa0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d3d68100c0aa515393562535c582529e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d740d10f82335516b6c42048834de0c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d7ec56dc53f25158bd8061ead52e9950(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ddbb72c73020556288736634edca5653(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_de92243b99cb5ef4a3c6cd0f80eb6279(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_df69c16128ca5c609f45a63866a1af2f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e04b2c4523535837960c26d5b28953fc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_dace22af29e35e1e8847a21e0083dbd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_e0e2f05f845558508daf53c1d4b545c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_e1e17df0f495561494b85ab0ad5a5780(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e5c76380eae85d579238480527b2512c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ebc71d261393504a8a716623a3119a76(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_eddfddadfccc5e56b9e809e952641f6b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f079028b7e505d6f8b4931133595179c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f27aa86956235ad3ac8f08855c2b8820(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f490fbe6298d5af89adf9098e57be3d4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f76f62b9f79a5f43900330c071ce00fb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f7ee2d0fd855596a8c0abbb2be320618(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f81a8ee127995b0890ddd9786aab755d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2(module_ddbb72c73020556288736634edca5653); - wrapper_fd1fa4531ff65b6c889e56be99ebfc4e(module_67548b1b39c8521c8f630ca5b4d502c4); - wrapper_fe5c14ebd9715db583a8fcea54e1d965(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f66e5627d97f5fac82e3d89b9b0694dc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f8d597009c7f50c0a1968a49aa56ff46(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f94311a1d1fb597aac56bee900deb9fe(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_fa5e2baabb585a5e93632d2563d88b33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_fb8f1cea3a695accb39f019b3fbd2247(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_010dca8ca2e458db8505774b1f36db9a(module_05ca2ab336025cf2a8fa3266fedb4a1e); wrapper_0159796d2beb51da9446e83d609342aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0175e6a3766750de8ea59e8c340325ef(module_f2160a41454451d28ba6ed197ddede7e); + wrapper_051fc1b76bd35424959669918dd74f6a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0711065322d6598096f4d4546ef589f7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_099f33625b8c56688a7b3e04cbb36b62(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_0a237c7df2ac57109630f38c8cbc0fd4(module_c4fa66fd13165a0abce0c43742e69748); - wrapper_0ec596bf98a6521c9bf30c96dc0ff201(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_104495a9f44f508fb8c76ab6d2269ec3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_17c6ed20c6a8518c806e33b3fcfab409(module_19547a3e283b56f0bcbda5ed6c39eca7); - wrapper_19547a3e283b56f0bcbda5ed6c39eca7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1b24919f2a0e5918adddc5638f6048e9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1c16077fc2b0519d806e8d900500edde(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1581bb259a1355888c0e234a7f9960d9(module_dbc8a0461eeb579aa69a16cbe03a3913); wrapper_1cfe57e82ce352e4b80ae7c44a661b01(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1d32c3b4d5615a2883aebf6ef53e85e8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1dee5220708e5da08c33a1d4fa45151b(module_0711065322d6598096f4d4546ef589f7); - wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_28b80b998353537091198ca5f60cbdbf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2bc4b4cf9a315380aa25500e269996ba(module_1b24919f2a0e5918adddc5638f6048e9); - wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7(module_a4ffccf09be35258a1a7081721670d59); - wrapper_30b90e733d3b5718b760496782efec78(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(module_cc9b200ad98c51108cfb0b6bf6bf2bd0); + wrapper_2934c614112358768beae325b0d33ea2(module_36823ab42b0c57b48d903606aa743329); + wrapper_2d284769c93a57cba44be5c34bcfafd7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_36823ab42b0c57b48d903606aa743329(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_39bbeb58de54579b934e5a56a51b377c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3b85938d896e56519b8342119ca08869(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_48bb93ba41cb566d971639633c42258d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705(module_099f33625b8c56688a7b3e04cbb36b62); - wrapper_528d7cd3a92d569d897fdc1e61483003(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5750371755a95c10b9259748c7b5e21b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5877793da2745ffb9f47b225e5ec26b6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_58960b7597495bb78bb15e0b1e8c9de8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5b1444f7a44054459e5adff18c81bbfb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_603c48a232f0549ab95e7c0325f6f159(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6040d8f35856585fa65c9beece0f520f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_61733bdc2db95f128686b3292ae9259a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6731f013fc2f50e6b3684322e5d511aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_67548b1b39c8521c8f630ca5b4d502c4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_68170427b0885d37a676e4274699fa05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_681ebebfc39f52e7b797a69c6f165cc7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6d92f9f1e7ca5180bf403b23e9073d86(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_748e3ec2e85552f2ab39e490d409b414(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_74f6b70412845069a8b8594df02c99e5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7595c6bb437c59a9bc93a1f66c37eddf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0(module_2d551f106ba85f3cb3acfbda4c8e17c7); + wrapper_4f08e906137d58128853d1fc5d729fae(module_31af2f3c7b5c54f5a56e10ac7064289b); + wrapper_6d51d5c1ef2d5f1bb98935798af976e0(module_8273d59d3b9f581fa07283ea1cce6a0f); + wrapper_81e358ca53ad5cb480953fedfe8cee0b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8273d59d3b9f581fa07283ea1cce6a0f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_830457bcfd9a53298ff673c9b6d66714(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_839b61ecb09d54819eb38cf69dde50bb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_84c9be0b16d95273a960328d06f07469(module_48bb93ba41cb566d971639633c42258d); - wrapper_84eec6a551bf57658127a555bf79a38f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_86541250592e58489f051f41f0896e22(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(module_aabf684ce17950b49b6345c1ab565540); wrapper_8efea02ccdc156c4aa5aae37b04b810a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_8f3919223a1f55afb240c3500b95c95b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_90255c732933534b957e042c1796455c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9519b407cd30535e9a46079d8d8e90b2(module_a2e03e1beb3652d19910e253216cbbdd); - wrapper_9805623587005093969beb2ea47b0499(module_84eec6a551bf57658127a555bf79a38f); - wrapper_98899d54414f570aa57f6357fdc66074(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9662a6a016085675978d04e2bc87a7f3(module_2d284769c93a57cba44be5c34bcfafd7); + wrapper_966a285304c1551a9a283e9a8bd4917e(module_ece163aebf095bf5b3e83565ba76bec1); + wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9e028a1ab0715490be328e777d68493e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9f08dae44aa3561686bc0ef53e82d042(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a2e03e1beb3652d19910e253216cbbdd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a4ffccf09be35258a1a7081721670d59(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a887ab230e4b513ab40c258c172f2580(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a14f45085a74550c89aab30952f6725b(module_0159796d2beb51da9446e83d609342aa); wrapper_aabf684ce17950b49b6345c1ab565540(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_abaaf08e32235f2ca7bacb4418592155(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b588087797ae51f7bce93503c0c1a013(module_28b80b998353537091198ca5f60cbdbf); - wrapper_b797921d7173586f85a1f0978dfdd59d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b85047a790a65c398d0495802b9a0f04(module_df69c16128ca5c609f45a63866a1af2f); wrapper_c3319864e98456809db3192e7060581f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c64f8514180b56eabe5b4d197177f547(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ca5d28928ff15dbc886e10017edb407d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c6691c5b303051859dffd8d2f0d6c188(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_cbe0be5b997e578ea56a5ddbc174c53e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cd94566e790a5588be95cba4cfaaec57(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cfd02dd933ca5798b9cc4c5244cd20ca(module_68170427b0885d37a676e4274699fa05); - wrapper_d63319879d9750a497ce0eb3e49e5d7a(module_1d32c3b4d5615a2883aebf6ef53e85e8); - wrapper_d9f7731b9dbc5740add8fc7749d9283d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d30ac07998c750479d39b4a9b78e7da6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d443aa68b0b755eabc2a251be2deb4c6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dbc8a0461eeb579aa69a16cbe03a3913(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_ddc1dd1f57af5b6d966459fdd3ae2480(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e1e7647ed4235775b6d085dd28a83675(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e28923ae1ac356e5845929232f8e09ac(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_e2aa406ade4850eda910a734d419832b(module_39bbeb58de54579b934e5a56a51b377c); - wrapper_ed81e719ae18598db776779b62b54889(module_503849a008915707a02e604de7f58273); - wrapper_f29b9e4bae2254ec8b6d9cf0133bf530(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d(module_748e3ec2e85552f2ab39e490d409b414); - wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac(module_44e7c25b7bde5df2a9f031c534765f11); - wrapper_f550a61e11625416b81603dbfad86987(module_7595c6bb437c59a9bc93a1f66c37eddf); - wrapper_08e79862ae80532bb837c70a9c93652b(module_8f3919223a1f55afb240c3500b95c95b); - wrapper_0950e6469e715d39b9590b5a0c7f484e(module_232384c3de2e54ad9b4768c29f93cd4e); - wrapper_0f6bb80b715057a7964abf2a553f0818(module_98899d54414f570aa57f6357fdc66074); - wrapper_13d523d2695b5825b5cf182c5a8fa6ca(module_637dbedd3c8a59949a0df6e3a9989f87); - wrapper_15d5beb354475a4b8c2ab5885c0662bd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1935a142d4425b8e9212ebbb3d98b996(module_66ba790876ea5d25be923643f217b67a); - wrapper_223fb8b8797b558497d5dea978484cfc(module_ee3148dbf8425c8f8a5c5a280fb4586c); - wrapper_232384c3de2e54ad9b4768c29f93cd4e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2613fe07dc7251cea4181b6d9d00aad1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_28ff0e97fdaa50f39207b3f08ac85ccd(module_615b4cea5f9251d3b38950014f9d5697); - wrapper_360ceb38fb075feb99dc83054d31e423(module_e1e7647ed4235775b6d085dd28a83675); - wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34(module_d703fdffb5985355afb348563c2a3b0c); - wrapper_5562b8b01aa050b886b919c9b81686f5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_57247d6d8d8354eda6e19f19da8dc732(module_15d5beb354475a4b8c2ab5885c0662bd); - wrapper_5d11528f24755a879438133d5708e545(module_c3981878d7ab5e6f87183b575418286b); - wrapper_5fe9bb1da30956d98b555d9379555582(module_1c16077fc2b0519d806e8d900500edde); - wrapper_615b4cea5f9251d3b38950014f9d5697(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f(module_6ab41d8aa0095175b6da7190fc953a97); - wrapper_637dbedd3c8a59949a0df6e3a9989f87(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_66ba790876ea5d25be923643f217b67a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6ab41d8aa0095175b6da7190fc953a97(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6d14c3d1f43b5dc99e4f553fff425665(module_6d92f9f1e7ca5180bf403b23e9073d86); - wrapper_6e8787baa0dc5b76b8b3076c994506dc(module_b797921d7173586f85a1f0978dfdd59d); - wrapper_7eb3e765d79d55fd922f5b11acbb031e(module_d9f7731b9dbc5740add8fc7749d9283d); - wrapper_8c6ff66ad2db50f3b16cf4191e75d77b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_90a595db73ec5964850871a0849d9df6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a268e28862575ead97b631ce4a762208(module_5b1444f7a44054459e5adff18c81bbfb); - wrapper_ab333a3ecc9754b09181298d1da9b61e(module_bae2e5a4968957478cacad701caac477); - wrapper_b672d81fdca4541e96bb6aec3a8641d3(module_6040d8f35856585fa65c9beece0f520f); - wrapper_ba10383a23ff54399f92db2e929ec564(module_e28923ae1ac356e5845929232f8e09ac); - wrapper_bae2e5a4968957478cacad701caac477(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c0bee75b3bf95732b384679bc9ef8f9f(module_90a595db73ec5964850871a0849d9df6); - wrapper_c285de96478650da951aca759bc2616e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c3981878d7ab5e6f87183b575418286b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c45aea45ed2e564cb24514edfc5e63b0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c57cf5e1268c5299a5895ad1b219623f(module_cd94566e790a5588be95cba4cfaaec57); - wrapper_cac66b5845885b48b2bb02c9d01b81db(module_8c6ff66ad2db50f3b16cf4191e75d77b); - wrapper_cd2f32a2cb285d6c9d814fca476c78af(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d703fdffb5985355afb348563c2a3b0c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_db69feb5c0dc5537adb3ca6589dd9d60(module_f29b9e4bae2254ec8b6d9cf0133bf530); - wrapper_ee3148dbf8425c8f8a5c5a280fb4586c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1b793d6dd01553ae939c99e3743fa436(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(module_5562b8b01aa050b886b919c9b81686f5); - wrapper_21120050d3d2560d969f522ea4e94cde(module_6dd78f5508545bf49150581341735774); + wrapper_de7ff6e8df595fdab99566ab1fb822d1(module_d443aa68b0b755eabc2a251be2deb4c6); + wrapper_ece163aebf095bf5b3e83565ba76bec1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_f2160a41454451d28ba6ed197ddede7e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_faf1fdd6d84a5fc3a61a827f354b8275(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3c3eb4c91b905a988bd9546e804a0d95(module_a640206684935d01aa5be922b3bbdf00); wrapper_4143f1db036e5bbdbba0a64045946862(module_d413c9194272547596f08284edb5e2e8); - wrapper_446f651133d55eebbb2e7b65c75f4477(module_1b793d6dd01553ae939c99e3743fa436); - wrapper_5940fdd28e32560cbb554a38b002be00(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5e00a634363a53b79e62b0712b0cbe57(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5e703a4587815486b6950405a411169b(module_5940fdd28e32560cbb554a38b002be00); - wrapper_6dd78f5508545bf49150581341735774(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_7a72df81b8e3525a981c66a31496b8f4(module_5e00a634363a53b79e62b0712b0cbe57); - wrapper_886998686eca518d858abef756189174(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_939d85e97df35cb48d17558623c03cc2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a361e68cde6a5b379c5300d00bee657c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5881d40c671d5a6eaeba5e461dc55622(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_779c0e94601b5238932a999e37acfdea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a640206684935d01aa5be922b3bbdf00(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b2c44a0108fd54c6a0ec396f27bccd10(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b6605ca6549d54eba3c614d5b6a29235(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d413c9194272547596f08284edb5e2e8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dda6bb3fd9345086a3231d9341e47d49(module_e5e03034302f5c6ca9d068a205353d2a); wrapper_e17c871a4a485a888cde7218c52b67e3(module_d57080a5d88f5beaa3f8f3ee09b1da8c); wrapper_e5e03034302f5c6ca9d068a205353d2a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_eb3cd0df0cd558acb42631cfa3f9a172(module_f6675a262e6b55f6819ef4c5599c308b); - wrapper_f3dab438657054798b20b872db63311a(module_a361e68cde6a5b379c5300d00bee657c); - wrapper_f6675a262e6b55f6819ef4c5599c308b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_31af2f3c7b5c54f5a56e10ac7064289b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); } \ No newline at end of file diff --git a/src/py/wrapper/_core.h b/src/py/wrapper/_core.h index 0f047876..17c31bb1 100644 --- a/src/py/wrapper/_core.h +++ b/src/py/wrapper/_core.h @@ -10,7 +10,9 @@ #include #include #include +#include #include +#include #include #include diff --git a/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp b/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp index 2c430b28..4eeff737 100644 --- a/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp +++ b/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_010dca8ca2e458db8505774b1f36db9a(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_010dca8ca2e458db8505774b1f36db9a(module, "Estimator", ""); class_010dca8ca2e458db8505774b1f36db9a.def(pybind11::init< >()); class_010dca8ca2e458db8505774b1f36db9a.def(pybind11::init< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator const & >()); class_010dca8ca2e458db8505774b1f36db9a.def("get_maxbins", method_pointer_8cc4d3f7e7a85290a6eac90ddb1b031c, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp b/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp index ee680012..d7722b36 100644 --- a/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp +++ b/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_0159796d2beb51da9446e83d609342aa(module, "UnivariateHistogramDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_0159796d2beb51da9446e83d609342aa(module, "UnivariateHistogramDistributionEstimation", ""); class_0159796d2beb51da9446e83d609342aa.def(pybind11::init< >()); - class_0159796d2beb51da9446e83d609342aa.def(pybind11::init< class ::statiskit::UnivariateHistogramDistribution const *, struct ::statiskit::UnivariateData const * >()); class_0159796d2beb51da9446e83d609342aa.def(pybind11::init< struct ::statiskit::UnivariateHistogramDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp new file mode 100644 index 00000000..f4ac6b42 --- /dev/null +++ b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; + typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; + virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_0175e6a3766750de8ea59e8c340325ef(module, "Estimator", ""); + class_0175e6a3766750de8ea59e8c340325ef.def(pybind11::init< >()); + class_0175e6a3766750de8ea59e8c340325ef.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_01ddd51bfe2a5d97b4620b9e2d14360e.cpp b/src/py/wrapper/wrapper_01ddd51bfe2a5d97b4620b9e2d14360e.cpp index 1ca7f2ff..e39c1dc6 100644 --- a/src/py/wrapper/wrapper_01ddd51bfe2a5d97b4620b9e2d14360e.cpp +++ b/src/py/wrapper/wrapper_01ddd51bfe2a5d97b4620b9e2d14360e.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_01ddd51bfe2a5d97b4620b9e2d14360e(module, "_LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > > class_01ddd51bfe2a5d97b4620b9e2d14360e(module, "_LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e", ""); class_01ddd51bfe2a5d97b4620b9e2d14360e.def(pybind11::init< int const & >()); class_01ddd51bfe2a5d97b4620b9e2d14360e.def(pybind11::init< class ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent > const & >()); class_01ddd51bfe2a5d97b4620b9e2d14360e.def("get_upper_bound", method_pointer_7f2086559bba5548b25f5bb9bf3e9368, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp index 129fe3e2..92ec4ebf 100644 --- a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp +++ b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistribution::DiscreteUnivariateDistribution; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; @@ -52,6 +62,7 @@ void wrapper_02cb27a2f5305d6eaf2fc0d0977b5565(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::UnivariateDistribution > class_02cb27a2f5305d6eaf2fc0d0977b5565(module, "DiscreteUnivariateDistribution", "This virtual class DiscreteUnivariateDistribution represents the\ndistribution of a random discrete component $ N$. The support is $\n:raw-latex:`\\mathbb{Z}` $ and we have $\n:raw-latex:`\\sum`\\_{n:raw-latex:`\\in `:raw-latex:`\\mathbb{Z}`} P(N=n) =\n1$.\n\n"); + class_02cb27a2f5305d6eaf2fc0d0977b5565.def(pybind11::init< >()); class_02cb27a2f5305d6eaf2fc0d0977b5565.def("ldf", method_pointer_e31fb7a7a5b852af9574d7d8bac3da21, "Compute the log-probability of a value.\n\nLet $n :raw-latex:`\\in `:raw-latex:`\\mathbb{Z}` $ denote the value, $\n:raw-latex:`\\ln `P:raw-latex:`\\left`(N = n:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`int`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_02cb27a2f5305d6eaf2fc0d0977b5565.def("pdf", method_pointer_e743676180d85397828cc79f44d4d185, "Compute the probability of a value\n\nLet $n :raw-latex:`\\in `:raw-latex:`\\mathbb{Z}` $ denote the value, $\nP:raw-latex:`\\left`(N = n:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`int`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_02cb27a2f5305d6eaf2fc0d0977b5565.def("cdf", method_pointer_b8cb3c3bef9a57b0b9e80ef518f215b7, "Compute the cumulative probability of a value\n\nLet $n :raw-latex:`\\in `:raw-latex:`\\mathbb{Z}` $ denote the value\n\n.. math::\n\n\n P\\left(N \\leq n\\right) = \\sum_{k \\leq n} P\\left(N = k\\right).\n\n:Parameter:\n `value` (:cpp:any:`int`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_033df89396b35855a50192cdc7f16be3.cpp b/src/py/wrapper/wrapper_033df89396b35855a50192cdc7f16be3.cpp index 152f8ea0..8d749f08 100644 --- a/src/py/wrapper/wrapper_033df89396b35855a50192cdc7f16be3.cpp +++ b/src/py/wrapper/wrapper_033df89396b35855a50192cdc7f16be3.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_033df89396b35855a50192cdc7f16be3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_033df89396b35855a50192cdc7f16be3(module, "PoissonDistribution", "This class PoissonDistribution represents a `Poisson\ndistribution `__\n\nThe Poisson distribution is an univariate discrete distribution that\nexpresses the probability of a given number of events occurring in a\nfixed interval of time and/or space if these events occur with a known\naverage rate\n$:raw-latex:`\\theta `:raw-latex:`\\in `:raw-latex:`\\mathbb{R}`\\_+^\\* $\nand independently of the time since the last event. The support of the\nPoisson distribution is the set of non-negative integer $\n:raw-latex:`\\mathbb{N}` $.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_033df89396b35855a50192cdc7f16be3(module, "PoissonDistribution", "This class PoissonDistribution represents a `Poisson\ndistribution `__\n\nThe Poisson distribution is an univariate discrete distribution that\nexpresses the probability of a given number of events occurring in a\nfixed interval of time and/or space if these events occur with a known\naverage rate\n$:raw-latex:`\\theta `:raw-latex:`\\in `:raw-latex:`\\mathbb{R}`\\_+^\\* $\nand independently of the time since the last event. The support of the\nPoisson distribution is the set of non-negative integer $\n:raw-latex:`\\mathbb{N}` $.\n\n"); class_033df89396b35855a50192cdc7f16be3.def(pybind11::init< >()); class_033df89396b35855a50192cdc7f16be3.def(pybind11::init< double const & >()); class_033df89396b35855a50192cdc7f16be3.def(pybind11::init< class ::statiskit::PoissonDistribution const & >()); diff --git a/src/py/wrapper/wrapper_041a0df7795f54fdae26c57528a75193.cpp b/src/py/wrapper/wrapper_041a0df7795f54fdae26c57528a75193.cpp index b71db9f4..d8f17a98 100644 --- a/src/py/wrapper/wrapper_041a0df7795f54fdae26c57528a75193.cpp +++ b/src/py/wrapper/wrapper_041a0df7795f54fdae26c57528a75193.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_041a0df7795f54fdae26c57528a75193(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_041a0df7795f54fdae26c57528a75193(module, "GompertzDistribution", "This class GompertzDistribution represents a Gumbel distribution\n(minimum).\n\nA random component :math:`X` is said to folloow a Gumbel distribution\n(minimum) if :math:`Y=-X` follows a Gumbel distribution (maximum). The\nGumbel distribution (minimum) is an univariate continuous distribution.\nIt is also called extreme value type I distribution (minimum). The\nsupport is the set of real values :math:`\\mathbb{R}`. @see\nstatiskit::GumbelMaxDistribution\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_041a0df7795f54fdae26c57528a75193(module, "GompertzDistribution", "This class GompertzDistribution represents a Gumbel distribution\n(minimum).\n\nA random component :math:`X` is said to folloow a Gumbel distribution\n(minimum) if :math:`Y=-X` follows a Gumbel distribution (maximum). The\nGumbel distribution (minimum) is an univariate continuous distribution.\nIt is also called extreme value type I distribution (minimum). The\nsupport is the set of real values :math:`\\mathbb{R}`. @see\nstatiskit::GumbelMaxDistribution\n\n"); class_041a0df7795f54fdae26c57528a75193.def(pybind11::init< >()); class_041a0df7795f54fdae26c57528a75193.def(pybind11::init< double const &, double const & >()); class_041a0df7795f54fdae26c57528a75193.def(pybind11::init< class ::statiskit::GompertzDistribution const & >()); diff --git a/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp b/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp new file mode 100644 index 00000000..61b56176 --- /dev/null +++ b/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_051fc1b76bd35424959669918dd74f6a(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_051fc1b76bd35424959669918dd74f6a(module, "_PolymorphicCopy_051fc1b76bd35424959669918dd74f6a", ""); + class_051fc1b76bd35424959669918dd74f6a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp new file mode 100644 index 00000000..ae01d6a2 --- /dev/null +++ b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::*method_pointer_48dd0f6ecf7e535bb0532e174797e614)(::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::*method_pointer_8716d7dc42c752c2907da43ebb6cf7e5)()const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::copy; + +namespace autowig { +} + +void wrapper_057cf4037321591b98a5dc5f85faf504(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator >::Type > class_057cf4037321591b98a5dc5f85faf504(module, "Estimator", ""); + class_057cf4037321591b98a5dc5f85faf504.def(pybind11::init< >()); + class_057cf4037321591b98a5dc5f85faf504.def("__call__", method_pointer_48dd0f6ecf7e535bb0532e174797e614, ""); + class_057cf4037321591b98a5dc5f85faf504.def("copy", method_pointer_8716d7dc42c752c2907da43ebb6cf7e5, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp b/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp index c25ec202..45ffb529 100644 --- a/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp +++ b/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp @@ -7,8 +7,7 @@ namespace autowig { void wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_05ca2ab336025cf2a8fa3266fedb4a1e(module, "RegularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); - class_05ca2ab336025cf2a8fa3266fedb4a1e.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > > class_05ca2ab336025cf2a8fa3266fedb4a1e(module, "RegularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); class_05ca2ab336025cf2a8fa3266fedb4a1e.def(pybind11::init< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0711065322d6598096f4d4546ef589f7.cpp b/src/py/wrapper/wrapper_0711065322d6598096f4d4546ef589f7.cpp index 8a47a969..9f8000a2 100644 --- a/src/py/wrapper/wrapper_0711065322d6598096f4d4546ef589f7.cpp +++ b/src/py/wrapper/wrapper_0711065322d6598096f4d4546ef589f7.cpp @@ -1,7 +1,7 @@ #include "_core.h" struct ::statiskit::DiscreteUnivariateDistributionEstimation const * (::statiskit::SplittingDistributionEstimation::*method_pointer_bccbb35dbee556ff9fbc1091f8b19ee2)()const= &::statiskit::SplittingDistributionEstimation::get_sum; -struct ::statiskit::SingularDistributionEstimation const * (::statiskit::SplittingDistributionEstimation::*method_pointer_d64202ea64995935924dc50b87ff7098)()const= &::statiskit::SplittingDistributionEstimation::get_singular; +::statiskit::SingularDistributionEstimation const * (::statiskit::SplittingDistributionEstimation::*method_pointer_d64202ea64995935924dc50b87ff7098)()const= &::statiskit::SplittingDistributionEstimation::get_singular; namespace autowig { } @@ -9,8 +9,7 @@ namespace autowig { void wrapper_0711065322d6598096f4d4546ef589f7(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_0711065322d6598096f4d4546ef589f7(module, "SplittingDistributionEstimation", ""); - class_0711065322d6598096f4d4546ef589f7.def(pybind11::init< class ::statiskit::SplittingDistribution const *, struct ::statiskit::MultivariateData const * >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistributionEstimation, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_0711065322d6598096f4d4546ef589f7(module, "SplittingDistributionEstimation", ""); class_0711065322d6598096f4d4546ef589f7.def(pybind11::init< class ::statiskit::SplittingDistributionEstimation const & >()); class_0711065322d6598096f4d4546ef589f7.def("get_sum", method_pointer_bccbb35dbee556ff9fbc1091f8b19ee2, pybind11::return_value_policy::reference_internal, ""); class_0711065322d6598096f4d4546ef589f7.def("get_singular", method_pointer_d64202ea64995935924dc50b87ff7098, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp new file mode 100644 index 00000000..3c80a839 --- /dev/null +++ b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; + typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; + virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_0786eb9689055ad4be86080202077ec7(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator > >::Type, struct ::statiskit::UnivariateLocationEstimation::Estimator > class_0786eb9689055ad4be86080202077ec7(module, "_PolymorphicCopy_0786eb9689055ad4be86080202077ec7", ""); + class_0786eb9689055ad4be86080202077ec7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp new file mode 100644 index 00000000..0859a5f8 --- /dev/null +++ b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp @@ -0,0 +1,65 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::Estimator; + + + protected: + typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; + typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; + typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; + virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; + typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; + typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; + virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; + virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_e63871509e675384a85dc2f7ea740325)(struct ::statiskit::MultivariateData const &, bool const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::operator(); +::statiskit::Index (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_b2167956364857329a2a0568493511ba)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::size; +class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator * (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_7d7c2d7f42295e4a95c71fbef6047f44)(::statiskit::Index const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_08113961b62e51a2867604304fad44c2)(::statiskit::Index const &, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_ea0e1a4898925157bbf6659f61002638)(class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_8796a9e298a2528e91690f18e368150a)(::statiskit::Index const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_08d6e46838b65ffebc188c31dc3d252f(pybind11::module& module) +{ + + pybind11::class_ >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > class_08d6e46838b65ffebc188c31dc3d252f(module, "Estimator", ""); + class_08d6e46838b65ffebc188c31dc3d252f.def(pybind11::init< >()); + class_08d6e46838b65ffebc188c31dc3d252f.def("__call__", method_pointer_e63871509e675384a85dc2f7ea740325, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("__len__", method_pointer_b2167956364857329a2a0568493511ba, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("get_estimator", method_pointer_7d7c2d7f42295e4a95c71fbef6047f44, pybind11::return_value_policy::reference_internal, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("set_estimator", method_pointer_08113961b62e51a2867604304fad44c2, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("add_estimator", method_pointer_ea0e1a4898925157bbf6659f61002638, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("remove_estimator", method_pointer_8796a9e298a2528e91690f18e368150a, ""); + class_08d6e46838b65ffebc188c31dc3d252f.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*) (struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp new file mode 100644 index 00000000..a756ec3c --- /dev/null +++ b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp @@ -0,0 +1,37 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; + + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; + virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: + typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; + virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; + virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_097d071b39dc5df98bf53b8b2cb22c3d(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData > >::Type, struct ::statiskit::UnivariateData > class_097d071b39dc5df98bf53b8b2cb22c3d(module, "_PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d", ""); + class_097d071b39dc5df98bf53b8b2cb22c3d.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp index e55d8698..f9ea51bb 100644 --- a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp +++ b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistribution::ContinuousMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_0b663e6159f1527ca997ac0244c65093.cpp b/src/py/wrapper/wrapper_0b663e6159f1527ca997ac0244c65093.cpp index ee9e3a05..61b694c1 100644 --- a/src/py/wrapper/wrapper_0b663e6159f1527ca997ac0244c65093.cpp +++ b/src/py/wrapper/wrapper_0b663e6159f1527ca997ac0244c65093.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_0b663e6159f1527ca997ac0244c65093(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_0b663e6159f1527ca997ac0244c65093(module, "LogisticDistribution", "This class LogisticDistribution represents a `logistic\ndistribution `__.\n\nThe logistic distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_0b663e6159f1527ca997ac0244c65093(module, "LogisticDistribution", "This class LogisticDistribution represents a `logistic\ndistribution `__.\n\nThe logistic distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); class_0b663e6159f1527ca997ac0244c65093.def(pybind11::init< >()); class_0b663e6159f1527ca997ac0244c65093.def(pybind11::init< double const &, double const & >()); class_0b663e6159f1527ca997ac0244c65093.def(pybind11::init< class ::statiskit::LogisticDistribution const & >()); diff --git a/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp new file mode 100644 index 00000000..9dbad1be --- /dev/null +++ b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_0c5fdb90743c59dda2a63d2ea31919c2(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_0c5fdb90743c59dda2a63d2ea31919c2(module, "Estimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp b/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp new file mode 100644 index 00000000..4b92ac7f --- /dev/null +++ b/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_0cf8ab1b80485228a6333e32fd937f72(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_0cf8ab1b80485228a6333e32fd937f72(module, "_PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72", ""); + class_0cf8ab1b80485228a6333e32fd937f72.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp index a3f72c25..4ee9c005 100644 --- a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp +++ b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp new file mode 100644 index 00000000..7cca6a02 --- /dev/null +++ b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_0e85222f05205b5983c73610343623c8(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_0e85222f05205b5983c73610343623c8(module, "_PolymorphicCopy_0e85222f05205b5983c73610343623c8", ""); + class_0e85222f05205b5983c73610343623c8.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp new file mode 100644 index 00000000..3f299f76 --- /dev/null +++ b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp @@ -0,0 +1,43 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; + virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: + typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; + typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; + typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; + virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: + typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; + virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: + typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; + virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_0f491a898d6251e1851339f286f0358c(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::ContinuousMultivariateDistribution > class_0f491a898d6251e1851339f286f0358c(module, "_PolymorphicCopy_0f491a898d6251e1851339f286f0358c", ""); + class_0f491a898d6251e1851339f286f0358c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp index 1dbbf73a..79ced433 100644 --- a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp +++ b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp @@ -9,13 +9,21 @@ namespace autowig public: using ::statiskit::UnivariateSampleSpace::UnivariateSampleSpace; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_2875d281654d56729645a2393c5d7ae3; virtual return_type_2875d281654d56729645a2393c5d7ae3 get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_2875d281654d56729645a2393c5d7ae3, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp b/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp new file mode 100644 index 00000000..c5d6c073 --- /dev/null +++ b/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_1020dbf5f7b25dc5b8c79ae7eb3ca475(module, "_PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475", ""); + class_1020dbf5f7b25dc5b8c79ae7eb3ca475.def(pybind11::init< >()); + class_1020dbf5f7b25dc5b8c79ae7eb3ca475.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp b/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp index 726846ec..8ef7a3eb 100644 --- a/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp +++ b/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_104495a9f44f508fb8c76ab6d2269ec3(module, "GeometricDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_104495a9f44f508fb8c76ab6d2269ec3(module, "GeometricDistributionMLEstimation", ""); class_104495a9f44f508fb8c76ab6d2269ec3.def(pybind11::init< >()); - class_104495a9f44f508fb8c76ab6d2269ec3.def(pybind11::init< class ::statiskit::GeometricDistribution const *, struct ::statiskit::UnivariateData const * >()); class_104495a9f44f508fb8c76ab6d2269ec3.def(pybind11::init< struct ::statiskit::GeometricDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_112dc12b863f53fea4df7b3ba388fd84.cpp b/src/py/wrapper/wrapper_112dc12b863f53fea4df7b3ba388fd84.cpp new file mode 100644 index 00000000..19715a76 --- /dev/null +++ b/src/py/wrapper/wrapper_112dc12b863f53fea4df7b3ba388fd84.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +class ::std::locale (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_73c494a2dfb4517985232b211533200c)(class ::std::locale const &)= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::pubimbue; +class ::std::locale (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_5737de16043a5da78137948c088d3257)()const= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::getloc; +int (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_93b4b685fee151f1be0336412d779ca5)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::pubsync; +::std::streamsize (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_4e292143959b5ff8b98ac3e995006f1e)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::in_avail; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_ae703141ab07573fa22ed3f7cb36685b)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::snextc; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_5f21eb74f7e25ac3b1d3250327b983f9)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::sbumpc; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_270c3ce800bd51fb89b29421337e1cf9)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::sgetc; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_c8f77cf365025e30b293b5402ef836c9)(::std::basic_streambuf< char, struct ::std::char_traits< char > >::char_type )= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::sputbackc; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_91712faddf415594898ed51802787bb7)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::sungetc; +::std::basic_streambuf< char, struct ::std::char_traits< char > >::int_type (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_c0ccc799bd54556c894d54f4f3b142e2)(::std::basic_streambuf< char, struct ::std::char_traits< char > >::char_type )= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::sputc; +void (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_e75b373786e35733a0a37732790ad698)()= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::stossc; +void (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_3c5548ba706e54bd9826734a04fb8ac5)(::std::streamsize )= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::__safe_gbump; +void (::std::basic_streambuf< char, ::std::char_traits< char > >::*method_pointer_f5a1f600482f58f5973cdcf5cd0e5aa3)(::std::streamsize )= &::std::basic_streambuf< char, struct ::std::char_traits< char > >::__safe_pbump; + +namespace autowig { +} + +void wrapper_112dc12b863f53fea4df7b3ba388fd84(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< class ::std::basic_streambuf< char, struct ::std::char_traits< char > > >::Type > class_112dc12b863f53fea4df7b3ba388fd84(module, "_BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84", ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("pubimbue", method_pointer_73c494a2dfb4517985232b211533200c, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("getloc", method_pointer_5737de16043a5da78137948c088d3257, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("pubsync", method_pointer_93b4b685fee151f1be0336412d779ca5, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("in_avail", method_pointer_4e292143959b5ff8b98ac3e995006f1e, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("snextc", method_pointer_ae703141ab07573fa22ed3f7cb36685b, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("sbumpc", method_pointer_5f21eb74f7e25ac3b1d3250327b983f9, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("sgetc", method_pointer_270c3ce800bd51fb89b29421337e1cf9, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("sputbackc", method_pointer_c8f77cf365025e30b293b5402ef836c9, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("sungetc", method_pointer_91712faddf415594898ed51802787bb7, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("sputc", method_pointer_c0ccc799bd54556c894d54f4f3b142e2, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("stossc", method_pointer_e75b373786e35733a0a37732790ad698, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("safe_gbump", method_pointer_3c5548ba706e54bd9826734a04fb8ac5, ""); + class_112dc12b863f53fea4df7b3ba388fd84.def("safe_pbump", method_pointer_f5a1f600482f58f5973cdcf5cd0e5aa3, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp b/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp new file mode 100644 index 00000000..c05404fb --- /dev/null +++ b/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_119aa039675055618c8a856f637be1e0(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_119aa039675055618c8a856f637be1e0(module, "_PolymorphicCopy_119aa039675055618c8a856f637be1e0", ""); + class_119aa039675055618c8a856f637be1e0.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp new file mode 100644 index 00000000..1ed92bba --- /dev/null +++ b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_11b76bdf145b514f8ed8993245b9864c(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_11b76bdf145b514f8ed8993245b9864c(module, "_PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c", ""); + class_11b76bdf145b514f8ed8993245b9864c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp index b00e3027..a04ce57a 100644 --- a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp +++ b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp @@ -9,6 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::MultivariateDispersionEstimation; + + public: + typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_e7c45515a9ba50b79dd2ae24687f9d7a; + virtual return_type_e7c45515a9ba50b79dd2ae24687f9d7a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e7c45515a9ba50b79dd2ae24687f9d7a, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; @@ -16,6 +22,7 @@ namespace autowig class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MultivariateDispersionEstimation::*method_pointer_ebec9ac7b6a4561290c4d11e2dc97512)()const= &::statiskit::MultivariateDispersionEstimation::get_location; class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & (::statiskit::MultivariateDispersionEstimation::*method_pointer_f90e89297ac2541ca0716c5f01e71bb0)()const= &::statiskit::MultivariateDispersionEstimation::get_dispersion; +class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > (::statiskit::MultivariateDispersionEstimation::*method_pointer_e7c45515a9ba50b79dd2ae24687f9d7a)()const= &::statiskit::MultivariateDispersionEstimation::copy; namespace autowig { } @@ -27,5 +34,6 @@ void wrapper_13ec603d05f1534bbe1491c0634dca90(pybind11::module& module) class_13ec603d05f1534bbe1491c0634dca90.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_13ec603d05f1534bbe1491c0634dca90.def("get_location", method_pointer_ebec9ac7b6a4561290c4d11e2dc97512, pybind11::return_value_policy::copy, ""); class_13ec603d05f1534bbe1491c0634dca90.def("get_dispersion", method_pointer_f90e89297ac2541ca0716c5f01e71bb0, pybind11::return_value_policy::copy, ""); + class_13ec603d05f1534bbe1491c0634dca90.def("copy", method_pointer_e7c45515a9ba50b79dd2ae24687f9d7a, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp index dcb5881d..bc23677d 100644 --- a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp +++ b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp @@ -9,22 +9,27 @@ namespace autowig public: using ::statiskit::CategoricalSampleSpace::CategoricalSampleSpace; + + protected: typedef bool return_type_e2b5e198a60f55b48e6693e16f1ecddb; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_e2b5e198a60f55b48e6693e16f1ecddb_0_type; virtual return_type_e2b5e198a60f55b48e6693e16f1ecddb is_compatible_value(param_e2b5e198a60f55b48e6693e16f1ecddb_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e2b5e198a60f55b48e6693e16f1ecddb, class_type, is_compatible_value, param_0); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_8066b9427c14500d8e4b87e8f42da7e4; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8066b9427c14500d8e4b87e8f42da7e4_0_type; virtual return_type_8066b9427c14500d8e4b87e8f42da7e4 encode(param_8066b9427c14500d8e4b87e8f42da7e4_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8066b9427c14500d8e4b87e8f42da7e4, class_type, encode, param_0); }; + + public: typedef void return_type_5ccffeb21f59579f833d8cfccb48fce9; typedef enum ::statiskit::encoding_type const & param_5ccffeb21f59579f833d8cfccb48fce9_0_type; virtual return_type_5ccffeb21f59579f833d8cfccb48fce9 set_encoding(param_5ccffeb21f59579f833d8cfccb48fce9_0_type param_0) override { PYBIND11_OVERLOAD_PURE(return_type_5ccffeb21f59579f833d8cfccb48fce9, class_type, set_encoding, param_0); }; - typedef enum ::statiskit::outcome_type return_type_8d0ebb7ac2a9544280755c9cf75dbb4e; - virtual return_type_8d0ebb7ac2a9544280755c9cf75dbb4e get_outcome() const override { PYBIND11_OVERLOAD(return_type_8d0ebb7ac2a9544280755c9cf75dbb4e, class_type, get_outcome, ); }; - typedef bool return_type_bc7a777830665a5e86e410c50a9fd373; - typedef struct ::statiskit::UnivariateEvent const * param_bc7a777830665a5e86e410c50a9fd373_0_type; - virtual return_type_bc7a777830665a5e86e410c50a9fd373 is_compatible(param_bc7a777830665a5e86e410c50a9fd373_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_bc7a777830665a5e86e410c50a9fd373, class_type, is_compatible, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; }; diff --git a/src/py/wrapper/wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca.cpp b/src/py/wrapper/wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca.cpp index 8ff17259..5818f543 100644 --- a/src/py/wrapper/wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca.cpp +++ b/src/py/wrapper/wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_14b77d76dd2d51e1acac41ef7ea4a4ca(module, "NegativeBinomialDistribution", "This class NegativeBinomialDistribution represents a `negative binomial\ndistribution `__\n\nThe negative binomial distribution is an univariate discrete\ndistribution of the number of successes in independent `Bernouilli\ntrials `__ with a\nspecified probability :math:`\\pi \\in [0,1]` of success before a\nspecified number of failures denoted\n$:raw-latex:`\\kappa `:raw-latex:`\\in `:raw-latex:`\\mathbb{R}`\\_+^\\* $.\nThe support of the negative binomial distribution is the set of\nnon-negative integer :math:`\\mathbb{N}`. In the particular case of\n:math:`\\kappa = 1.` the negative binomial distribution represents a\n`geometric\ndistribution `__\nwith :math:`\\mathbb{N}` as support.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_14b77d76dd2d51e1acac41ef7ea4a4ca(module, "NegativeBinomialDistribution", "This class NegativeBinomialDistribution represents a `negative binomial\ndistribution `__\n\nThe negative binomial distribution is an univariate discrete\ndistribution of the number of successes in independent `Bernouilli\ntrials `__ with a\nspecified probability :math:`\\pi \\in [0,1]` of success before a\nspecified number of failures denoted\n$:raw-latex:`\\kappa `:raw-latex:`\\in `:raw-latex:`\\mathbb{R}`\\_+^\\* $.\nThe support of the negative binomial distribution is the set of\nnon-negative integer :math:`\\mathbb{N}`. In the particular case of\n:math:`\\kappa = 1.` the negative binomial distribution represents a\n`geometric\ndistribution `__\nwith :math:`\\mathbb{N}` as support.\n\n"); class_14b77d76dd2d51e1acac41ef7ea4a4ca.def(pybind11::init< >()); class_14b77d76dd2d51e1acac41ef7ea4a4ca.def(pybind11::init< double const &, double const & >()); class_14b77d76dd2d51e1acac41ef7ea4a4ca.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const & >()); diff --git a/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp b/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp index ba4df84e..4c36a36d 100644 --- a/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp +++ b/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_1581bb259a1355888c0e234a7f9960d9(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_1581bb259a1355888c0e234a7f9960d9(module, "Estimator", ""); class_1581bb259a1355888c0e234a7f9960d9.def(pybind11::init< >()); class_1581bb259a1355888c0e234a7f9960d9.def(pybind11::init< class ::statiskit::BinomialDistributionMMEstimation::Estimator const & >()); class_1581bb259a1355888c0e234a7f9960d9.def("get_location", method_pointer_6d96ac53d1b95ead90800c8c317b84ac, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp b/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp new file mode 100644 index 00000000..8d8eeae1 --- /dev/null +++ b/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp @@ -0,0 +1,10 @@ +#include "_core.h" + + +void wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(pybind11::module& module) +{ + + + pybind11::register_exception< class ::std::system_error >(module, "SystemError"); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp new file mode 100644 index 00000000..4ccb04a2 --- /dev/null +++ b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::*method_pointer_f5006c7de7595cf1b83e7502ffda0880)(::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::*method_pointer_26294945d2a55f42a4ff3b316d0eb4ab)()const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::copy; + +namespace autowig { +} + +void wrapper_16e0ec24327b5201927673f1e4c6eeca(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator >::Type > class_16e0ec24327b5201927673f1e4c6eeca(module, "Estimator", ""); + class_16e0ec24327b5201927673f1e4c6eeca.def(pybind11::init< >()); + class_16e0ec24327b5201927673f1e4c6eeca.def("__call__", method_pointer_f5006c7de7595cf1b83e7502ffda0880, ""); + class_16e0ec24327b5201927673f1e4c6eeca.def("copy", method_pointer_26294945d2a55f42a4ff3b316d0eb4ab, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp new file mode 100644 index 00000000..0be2fb27 --- /dev/null +++ b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp @@ -0,0 +1,37 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > >::PolymorphicCopy; + + + public: + typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; + typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; + virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; + + public: + typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; + virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; + virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_172696efc2ee5189bf7047d20bc97387(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > >::Type, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > class_172696efc2ee5189bf7047d20bc97387(module, "_PolymorphicCopy_172696efc2ee5189bf7047d20bc97387", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp index 31011647..4351a56e 100644 --- a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp +++ b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateLocationEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_8c923ab987815d75950c21bd5ebe0e9a; virtual return_type_8c923ab987815d75950c21bd5ebe0e9a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8c923ab987815d75950c21bd5ebe0e9a, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; @@ -26,6 +31,7 @@ void wrapper_176ad7b821255b478820451a70624393(pybind11::module& module) { pybind11::class_::Type > class_176ad7b821255b478820451a70624393(module, "Estimator", ""); + class_176ad7b821255b478820451a70624393.def(pybind11::init< >()); class_176ad7b821255b478820451a70624393.def("__call__", method_pointer_e9ba7deeca0056cb9754cfd757b7c670, ""); class_176ad7b821255b478820451a70624393.def("copy", method_pointer_8c923ab987815d75950c21bd5ebe0e9a, ""); diff --git a/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp new file mode 100644 index 00000000..bc2bd0ca --- /dev/null +++ b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; + typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; + virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: + typedef double return_type_acdea368f48f572bb000ce0a3e887539; + typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; + typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; + virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: + typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; + virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: + typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; + virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_1ca74b2dc66a5ee79310589958dcce9f(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > >::Type, struct ::statiskit::SingularDistribution > class_1ca74b2dc66a5ee79310589958dcce9f(module, "_PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f", ""); + class_1ca74b2dc66a5ee79310589958dcce9f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp b/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp new file mode 100644 index 00000000..a33b7d58 --- /dev/null +++ b/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +void (::std::error_code::*method_pointer_983f6b690936572f9b22589850b87def)()= &::std::error_code::clear; +int (::std::error_code::*method_pointer_15ef1dc09b265385bc5d0bc13c03cd5f)()const= &::std::error_code::value; +struct ::std::error_condition (::std::error_code::*method_pointer_aa96e684628c562dbdbb67930ecd700f)()const= &::std::error_code::default_error_condition; +::std::string (::std::error_code::*method_pointer_604d388a5fc85f429bfce6b9a0669a37)()const= &::std::error_code::message; + +namespace autowig { +} + +void wrapper_1cfac4e761e4558085f0b7c2a58070f2(pybind11::module& module) +{ + + struct function_group + { + static bool function_62a2517aca055e82999b1fdab8b77aba(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) + { return operator<(parameter_0, parameter_1); } + static bool function_02f97a7b553f5cd7b662a58496440d07(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) + { return operator==(parameter_0, parameter_1); } + static bool function_0579cfdfcb8653b9bea15d147cd3cfe7(struct ::std::error_code const & parameter_0, struct ::std::error_condition const & parameter_1) + { return operator==(parameter_0, parameter_1); } + static bool function_46b1beaae0cf5872b1631c85adea7e86(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) + { return operator!=(parameter_0, parameter_1); } + static bool function_50be8ab183cd5585bda2b0af6e5b783a(struct ::std::error_code const & parameter_0, struct ::std::error_condition const & parameter_1) + { return operator!=(parameter_0, parameter_1); } + }; + pybind11::class_::Type > class_1cfac4e761e4558085f0b7c2a58070f2(module, "ErrorCode", ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def(pybind11::init< >()); + class_1cfac4e761e4558085f0b7c2a58070f2.def(pybind11::init< struct ::std::error_code const & >()); + class_1cfac4e761e4558085f0b7c2a58070f2.def("clear", method_pointer_983f6b690936572f9b22589850b87def, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("value", method_pointer_15ef1dc09b265385bc5d0bc13c03cd5f, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("default_error_condition", method_pointer_aa96e684628c562dbdbb67930ecd700f, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("message", method_pointer_604d388a5fc85f429bfce6b9a0669a37, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("__lt__", function_group::function_62a2517aca055e82999b1fdab8b77aba, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("__eq__", function_group::function_02f97a7b553f5cd7b662a58496440d07, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("__eq__", function_group::function_0579cfdfcb8653b9bea15d147cd3cfe7, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("__neq__", function_group::function_46b1beaae0cf5872b1631c85adea7e86, ""); + class_1cfac4e761e4558085f0b7c2a58070f2.def("__neq__", function_group::function_50be8ab183cd5585bda2b0af6e5b783a, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1cfe57e82ce352e4b80ae7c44a661b01.cpp b/src/py/wrapper/wrapper_1cfe57e82ce352e4b80ae7c44a661b01.cpp index 10013540..b269e0ea 100644 --- a/src/py/wrapper/wrapper_1cfe57e82ce352e4b80ae7c44a661b01.cpp +++ b/src/py/wrapper/wrapper_1cfe57e82ce352e4b80ae7c44a661b01.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_1cfe57e82ce352e4b80ae7c44a661b01(pybind11::module& module) { - pybind11::class_, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > > class_1cfe57e82ce352e4b80ae7c44a661b01(module, "_QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01", ""); + pybind11::class_, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > > class_1cfe57e82ce352e4b80ae7c44a661b01(module, "_QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01", ""); class_1cfe57e82ce352e4b80ae7c44a661b01.def(pybind11::init< class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & >()); class_1cfe57e82ce352e4b80ae7c44a661b01.def(pybind11::init< class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_1cfe57e82ce352e4b80ae7c44a661b01.def(pybind11::init< class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const & >()); diff --git a/src/py/wrapper/wrapper_1dee5220708e5da08c33a1d4fa45151b.cpp b/src/py/wrapper/wrapper_1dee5220708e5da08c33a1d4fa45151b.cpp index 374ca799..0e27f9fc 100644 --- a/src/py/wrapper/wrapper_1dee5220708e5da08c33a1d4fa45151b.cpp +++ b/src/py/wrapper/wrapper_1dee5220708e5da08c33a1d4fa45151b.cpp @@ -1,9 +1,9 @@ #include "_core.h" -struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const * (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_b124bfab756f50df8050560ecaa94248)()const= &::statiskit::SplittingDistributionEstimation::Estimator::get_sum; -void (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_275c030a2f8c5f20bdeeec13254c88bc)(struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::SplittingDistributionEstimation::Estimator::set_sum; -struct ::statiskit::SingularDistributionEstimation::Estimator const * (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_14f11f804e3150fb80f8d42cc2474e9b)()const= &::statiskit::SplittingDistributionEstimation::Estimator::get_singular; -void (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_a2eb3e7692de580c9820f8fa9bc5849a)(struct ::statiskit::SingularDistributionEstimation::Estimator const &)= &::statiskit::SplittingDistributionEstimation::Estimator::set_singular; +class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const * (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_b124bfab756f50df8050560ecaa94248)()const= &::statiskit::SplittingDistributionEstimation::Estimator::get_sum; +void (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_275c030a2f8c5f20bdeeec13254c88bc)(class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::SplittingDistributionEstimation::Estimator::set_sum; +class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator const * (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_14f11f804e3150fb80f8d42cc2474e9b)()const= &::statiskit::SplittingDistributionEstimation::Estimator::get_singular; +void (::statiskit::SplittingDistributionEstimation::Estimator::*method_pointer_aac312b20931544080f2db64a5a999d8)(class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator const &)= &::statiskit::SplittingDistributionEstimation::Estimator::set_singular; namespace autowig { } @@ -11,12 +11,12 @@ namespace autowig { void wrapper_1dee5220708e5da08c33a1d4fa45151b(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_1dee5220708e5da08c33a1d4fa45151b(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_1dee5220708e5da08c33a1d4fa45151b(module, "Estimator", ""); class_1dee5220708e5da08c33a1d4fa45151b.def(pybind11::init< >()); class_1dee5220708e5da08c33a1d4fa45151b.def(pybind11::init< class ::statiskit::SplittingDistributionEstimation::Estimator const & >()); class_1dee5220708e5da08c33a1d4fa45151b.def("get_sum", method_pointer_b124bfab756f50df8050560ecaa94248, pybind11::return_value_policy::reference_internal, ""); class_1dee5220708e5da08c33a1d4fa45151b.def("set_sum", method_pointer_275c030a2f8c5f20bdeeec13254c88bc, ""); class_1dee5220708e5da08c33a1d4fa45151b.def("get_singular", method_pointer_14f11f804e3150fb80f8d42cc2474e9b, pybind11::return_value_policy::reference_internal, ""); - class_1dee5220708e5da08c33a1d4fa45151b.def("set_singular", method_pointer_a2eb3e7692de580c9820f8fa9bc5849a, ""); + class_1dee5220708e5da08c33a1d4fa45151b.def("set_singular", method_pointer_aac312b20931544080f2db64a5a999d8, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1dfb91cd35315554957dc314e2ba48a2.cpp b/src/py/wrapper/wrapper_1dfb91cd35315554957dc314e2ba48a2.cpp new file mode 100644 index 00000000..b1bd09ab --- /dev/null +++ b/src/py/wrapper/wrapper_1dfb91cd35315554957dc314e2ba48a2.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_1dfb91cd35315554957dc314e2ba48a2(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_1dfb91cd35315554957dc314e2ba48a2(module, "_PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2", ""); + class_1dfb91cd35315554957dc314e2ba48a2.def(pybind11::init< >()); + class_1dfb91cd35315554957dc314e2ba48a2.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp b/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp index 05514d82..bb5237a5 100644 --- a/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp +++ b/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_1dfdcd929fc0513399c2437e9a6c8c3a(module, "Estimator", "This class NegativeBinomialDistribution represents a Maximum Likelihood\nEstimator (MLE) of negative binomial distribution parameters\n:math:`\\kappa` and :math:`\\pi`.\n\nThis MLE prededure is described in :cite:`DBB13.` Note\nthat in their paper, the negative binomial distribution probability\ndistribution function is given by\n\n.. math::\n\n\n P\\left(X = x\\right) = \\frac{\\Gamma\\left(x+\\kappa\\right)}{x! \\Gamma\\left(\\kappa\\right)} \\left(\\frac{\\mu}{\\mu + \\kappa}\\right)^{x} \\left(\\frac{\\kappa}{\\kappa + \\mu}\\right)^{\\kappa}.\n\n This is a reparametrization of the negative binomial distribution\ndescribed by parameters :math:`\\kappa` and :math:`\\pi` with $$\n\n.. seealso::\n\n :cpp:class:`::statiskit::NegativeBinomialDistribution`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_1dfdcd929fc0513399c2437e9a6c8c3a(module, "Estimator", "This class NegativeBinomialDistribution represents a Maximum Likelihood\nEstimator (MLE) of negative binomial distribution parameters\n:math:`\\kappa` and :math:`\\pi`.\n\nThis MLE prededure is described in :cite:`DBB13.` Note\nthat in their paper, the negative binomial distribution probability\ndistribution function is given by\n\n.. math::\n\n\n P\\left(X = x\\right) = \\frac{\\Gamma\\left(x+\\kappa\\right)}{x! \\Gamma\\left(\\kappa\\right)} \\left(\\frac{\\mu}{\\mu + \\kappa}\\right)^{x} \\left(\\frac{\\kappa}{\\kappa + \\mu}\\right)^{\\kappa}.\n\n This is a reparametrization of the negative binomial distribution\ndescribed by parameters :math:`\\kappa` and :math:`\\pi` with $$\n\n.. seealso::\n\n :cpp:class:`::statiskit::NegativeBinomialDistribution`.\n\n"); class_1dfdcd929fc0513399c2437e9a6c8c3a.def(pybind11::init< >()); class_1dfdcd929fc0513399c2437e9a6c8c3a.def(pybind11::init< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator const & >()); class_1dfdcd929fc0513399c2437e9a6c8c3a.def("get_location", method_pointer_f1ef2e72f4535e7994e96e98baeb7891, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_1ec5dee4e7cb5437b83047021c0ca63f.cpp b/src/py/wrapper/wrapper_1ec5dee4e7cb5437b83047021c0ca63f.cpp index 4aad3516..b630078e 100644 --- a/src/py/wrapper/wrapper_1ec5dee4e7cb5437b83047021c0ca63f.cpp +++ b/src/py/wrapper/wrapper_1ec5dee4e7cb5437b83047021c0ca63f.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_1ec5dee4e7cb5437b83047021c0ca63f(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_1ec5dee4e7cb5437b83047021c0ca63f(module, "_RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > > class_1ec5dee4e7cb5437b83047021c0ca63f(module, "_RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f", ""); class_1ec5dee4e7cb5437b83047021c0ca63f.def(pybind11::init< int const & >()); class_1ec5dee4e7cb5437b83047021c0ca63f.def(pybind11::init< class ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent > const & >()); class_1ec5dee4e7cb5437b83047021c0ca63f.def("get_lower_bound", method_pointer_5bcc777112bb51c6833c3818579eae45, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp new file mode 100644 index 00000000..901dec4f --- /dev/null +++ b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_1f896af016d3557fa2b823b2110a3f82(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_1f896af016d3557fa2b823b2110a3f82(module, "_PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82", ""); + class_1f896af016d3557fa2b823b2110a3f82.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1.cpp b/src/py/wrapper/wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1.cpp index a4184595..a6462db7 100644 --- a/src/py/wrapper/wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1.cpp +++ b/src/py/wrapper/wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > > class_1f9e3c91d1bd51a89c7b1370bf7475f1(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > > class_1f9e3c91d1bd51a89c7b1370bf7475f1(module, "Estimator", ""); class_1f9e3c91d1bd51a89c7b1370bf7475f1.def(pybind11::init< >()); class_1f9e3c91d1bd51a89c7b1370bf7475f1.def(pybind11::init< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp index 2bd59c79..7c13959c 100644 --- a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp +++ b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp new file mode 100644 index 00000000..59495619 --- /dev/null +++ b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp @@ -0,0 +1,43 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; + virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: + typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; + typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; + typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; + virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: + typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; + virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: + typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; + virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_20a3935ea3995924abfb200f08b075ee(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::ContinuousMultivariateDistribution > class_20a3935ea3995924abfb200f08b075ee(module, "_PolymorphicCopy_20a3935ea3995924abfb200f08b075ee", ""); + class_20a3935ea3995924abfb200f08b075ee.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp new file mode 100644 index 00000000..6461724f --- /dev/null +++ b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_22316f691c3051a4b467ae58506ba1df(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_22316f691c3051a4b467ae58506ba1df(module, "Estimator", ""); + class_22316f691c3051a4b467ae58506ba1df.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp new file mode 100644 index 00000000..abe83243 --- /dev/null +++ b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp @@ -0,0 +1,23 @@ +#include "_core.h" + +::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_acd2010201c45858a38838c8a926f909)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_response_data; +::statiskit::ConditionalDistributionEstimation::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_46017080d9d753e2b9370e2cabcf7b67)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_explanatory_data; +::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_08e5dd31ebcf58bd810a563a8a261ed1)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_distribution; +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_3452e2874d385bb4be30440e8e655f7c)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::copy; + +namespace autowig { +} + +void wrapper_22af95e725215bc9b21db076f5deefd7(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > >::Type > class_22af95e725215bc9b21db076f5deefd7(module, "_ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7", ""); + class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< >()); + class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * >()); + class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > const & >()); + class_22af95e725215bc9b21db076f5deefd7.def("get_response_data", method_pointer_acd2010201c45858a38838c8a926f909, pybind11::return_value_policy::reference_internal, ""); + class_22af95e725215bc9b21db076f5deefd7.def("get_explanatory_data", method_pointer_46017080d9d753e2b9370e2cabcf7b67, pybind11::return_value_policy::reference_internal, ""); + class_22af95e725215bc9b21db076f5deefd7.def("get_distribution", method_pointer_08e5dd31ebcf58bd810a563a8a261ed1, pybind11::return_value_policy::reference_internal, ""); + class_22af95e725215bc9b21db076f5deefd7.def("copy", method_pointer_3452e2874d385bb4be30440e8e655f7c, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp new file mode 100644 index 00000000..393646af --- /dev/null +++ b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp @@ -0,0 +1,53 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_23541363c56f58418e709d76f3ae28bc(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > >::Type, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_23541363c56f58418e709d76f3ae28bc(module, "_PolymorphicCopy_23541363c56f58418e709d76f3ae28bc", ""); + class_23541363c56f58418e709d76f3ae28bc.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp b/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp new file mode 100644 index 00000000..e77125b1 --- /dev/null +++ b/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_74ff405766cc5b229ff106dfa000469b)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_f2b24cec192b517fa70bcf750bd9d2e0)(double const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_c2fed247fa98516190a1c160f3e695ed)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_e10cbfb82fc857468fd5b631874bd804)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_0c89a8c5a137562c8a95dc5094acb405)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_df3a8407ccfa5147a64e2d0fdc613ccc)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_246619e611bb5657b2e56a30794d1385(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_246619e611bb5657b2e56a30794d1385(module, "_Optimization_246619e611bb5657b2e56a30794d1385", ""); + class_246619e611bb5657b2e56a30794d1385.def(pybind11::init< >()); + class_246619e611bb5657b2e56a30794d1385.def("get_mindiff", method_pointer_74ff405766cc5b229ff106dfa000469b, pybind11::return_value_policy::copy, ""); + class_246619e611bb5657b2e56a30794d1385.def("set_mindiff", method_pointer_f2b24cec192b517fa70bcf750bd9d2e0, ""); + class_246619e611bb5657b2e56a30794d1385.def("get_minits", method_pointer_c2fed247fa98516190a1c160f3e695ed, ""); + class_246619e611bb5657b2e56a30794d1385.def("set_minits", method_pointer_e10cbfb82fc857468fd5b631874bd804, ""); + class_246619e611bb5657b2e56a30794d1385.def("get_maxits", method_pointer_0c89a8c5a137562c8a95dc5094acb405, ""); + class_246619e611bb5657b2e56a30794d1385.def("set_maxits", method_pointer_df3a8407ccfa5147a64e2d0fdc613ccc, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp index 35581c31..a9127acf 100644 --- a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp +++ b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp @@ -7,25 +7,34 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::UnivariateData::UnivariateData; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: + typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; + virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; - typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; - virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; }; } -::statiskit::Index (::statiskit::UnivariateData::*method_pointer_ccb6e82201a6558e9733151230bbc9af)()const= &::statiskit::UnivariateData::size; class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > (::statiskit::UnivariateData::*method_pointer_a33919ff84f759e6b649d1aea1a76e87)()const= &::statiskit::UnivariateData::generator; -struct ::statiskit::UnivariateSampleSpace const * (::statiskit::UnivariateData::*method_pointer_21507917363a580db5491fa57b8df73d)()const= &::statiskit::UnivariateData::get_sample_space; -class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > (::statiskit::UnivariateData::*method_pointer_f924b25c6e335944a81f6073e12504ff)()const= &::statiskit::UnivariateData::copy; +::statiskit::Index (::statiskit::UnivariateData::*method_pointer_7329cda10ff05b02b002e0eb5bbc9083)()const= &::statiskit::UnivariateData::get_nb_events; double (::statiskit::UnivariateData::*method_pointer_e7311f0bb01b535d99e8bc70f058ae81)()const= &::statiskit::UnivariateData::compute_total; class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > (::statiskit::UnivariateData::*method_pointer_cbae3054f1635d5ab0645054f8bbd45b)()const= &::statiskit::UnivariateData::compute_minimum; class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > (::statiskit::UnivariateData::*method_pointer_6114a404726e5acdafff1da68ca6210d)()const= &::statiskit::UnivariateData::compute_maximum; +struct ::statiskit::UnivariateSampleSpace const * (::statiskit::UnivariateData::*method_pointer_21507917363a580db5491fa57b8df73d)()const= &::statiskit::UnivariateData::get_sample_space; +class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > (::statiskit::UnivariateData::*method_pointer_f924b25c6e335944a81f6073e12504ff)()const= &::statiskit::UnivariateData::copy; namespace autowig { } @@ -34,12 +43,13 @@ void wrapper_2513f8d88792503e97d2b3f6b8c31e6f(pybind11::module& module) { pybind11::class_::Type > class_2513f8d88792503e97d2b3f6b8c31e6f(module, "UnivariateData", ""); - class_2513f8d88792503e97d2b3f6b8c31e6f.def("__len__", method_pointer_ccb6e82201a6558e9733151230bbc9af, ""); + class_2513f8d88792503e97d2b3f6b8c31e6f.def(pybind11::init< >()); class_2513f8d88792503e97d2b3f6b8c31e6f.def("__iter__", method_pointer_a33919ff84f759e6b649d1aea1a76e87, ""); - class_2513f8d88792503e97d2b3f6b8c31e6f.def("get_sample_space", method_pointer_21507917363a580db5491fa57b8df73d, pybind11::return_value_policy::reference_internal, ""); - class_2513f8d88792503e97d2b3f6b8c31e6f.def("copy", method_pointer_f924b25c6e335944a81f6073e12504ff, ""); + class_2513f8d88792503e97d2b3f6b8c31e6f.def("get_nb_events", method_pointer_7329cda10ff05b02b002e0eb5bbc9083, ""); class_2513f8d88792503e97d2b3f6b8c31e6f.def("compute_total", method_pointer_e7311f0bb01b535d99e8bc70f058ae81, ""); class_2513f8d88792503e97d2b3f6b8c31e6f.def("compute_minimum", method_pointer_cbae3054f1635d5ab0645054f8bbd45b, ""); class_2513f8d88792503e97d2b3f6b8c31e6f.def("compute_maximum", method_pointer_6114a404726e5acdafff1da68ca6210d, ""); + class_2513f8d88792503e97d2b3f6b8c31e6f.def("get_sample_space", method_pointer_21507917363a580db5491fa57b8df73d, pybind11::return_value_policy::reference_internal, ""); + class_2513f8d88792503e97d2b3f6b8c31e6f.def("copy", method_pointer_f924b25c6e335944a81f6073e12504ff, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp new file mode 100644 index 00000000..d4c92874 --- /dev/null +++ b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; + + + protected: + typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; + virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; + }; + + class Publicist : public class_type + { + public: + using class_type::update; + }; +} + + +namespace autowig { +} + +void wrapper_25265f42150552ea9c7e3f59af135f87(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver > >::Type, class ::statiskit::SlopeHeuristicIWLSSolver > class_25265f42150552ea9c7e3f59af135f87(module, "_PolymorphicCopy_25265f42150552ea9c7e3f59af135f87", ""); + class_25265f42150552ea9c7e3f59af135f87.def(pybind11::init< >()); + class_25265f42150552ea9c7e3f59af135f87.def("_update", static_cast< void (::statiskit::SlopeHeuristicIWLSSolver::*) (class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::update), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp new file mode 100644 index 00000000..5a3ccb0e --- /dev/null +++ b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp @@ -0,0 +1,31 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; + typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; + typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; + virtual return_type_4e882ea0348e56a2816e3f3d20b8b14f operator()(param_4e882ea0348e56a2816e3f3d20b8b14f_0_type param_0, param_4e882ea0348e56a2816e3f3d20b8b14f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4e882ea0348e56a2816e3f3d20b8b14f, class_type, operator(), param_0, param_1); }; + }; +} + + +namespace autowig { +} + +void wrapper_254705bef21f59ca807412aa011917c0(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator > >::Type, struct ::statiskit::UnivariateDispersionEstimation::Estimator > class_254705bef21f59ca807412aa011917c0(module, "_PolymorphicCopy_254705bef21f59ca807412aa011917c0", ""); + class_254705bef21f59ca807412aa011917c0.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp new file mode 100644 index 00000000..c34788a6 --- /dev/null +++ b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; + + + public: + typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; + typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; + virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_259bbb897cee510787d813a9c7525d6f(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector > >::Type, struct ::statiskit::SlopeHeuristicSelector > class_259bbb897cee510787d813a9c7525d6f(module, "_PolymorphicCopy_259bbb897cee510787d813a9c7525d6f", ""); + class_259bbb897cee510787d813a9c7525d6f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp new file mode 100644 index 00000000..1164f216 --- /dev/null +++ b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp @@ -0,0 +1,43 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_2644b3904d665c118ab54533b295d7e3(pybind11::module& module) +{ + + pybind11::class_, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_2644b3904d665c118ab54533b295d7e3(module, "_PolymorphicCopy_2644b3904d665c118ab54533b295d7e3", ""); + class_2644b3904d665c118ab54533b295d7e3.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp b/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp index 64b8b6bf..cd381b9d 100644 --- a/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp +++ b/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_2934c614112358768beae325b0d33ea2(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_2934c614112358768beae325b0d33ea2(module, "Estimator", ""); class_2934c614112358768beae325b0d33ea2.def(pybind11::init< >()); class_2934c614112358768beae325b0d33ea2.def(pybind11::init< struct ::statiskit::PoissonDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_294225563b8d53458805fdd4cfd054de.cpp b/src/py/wrapper/wrapper_294225563b8d53458805fdd4cfd054de.cpp new file mode 100644 index 00000000..20b6460c --- /dev/null +++ b/src/py/wrapper/wrapper_294225563b8d53458805fdd4cfd054de.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > & (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution > > >::*method_pointer_d345ff1e96a3554d8b9c4818e31dc05d)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::operator*; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution > > >::*method_pointer_652a7449119f562daaa83ecefd03d497)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::get; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution > > >::*method_pointer_c3eae19692d35f92bf29918bb1937e65)()= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::release; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution > > >::*method_pointer_5af96673a6c050219d978bfa03895619)(::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::pointer )= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::reset; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution > > >::*method_pointer_ef454c0ed4385c888397181e26407495)(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > &)= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > >::swap; + +namespace autowig { + void method_decorator_d345ff1e96a3554d8b9c4818e31dc05d(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > const & instance, const class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > & param_out) { instance.operator*() = param_out; } +} + +void wrapper_294225563b8d53458805fdd4cfd054de(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp index 75339314..b1f3050d 100644 --- a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp +++ b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistribution::CategoricalUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp new file mode 100644 index 00000000..acf00561 --- /dev/null +++ b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp @@ -0,0 +1,28 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation >::PolymorphicCopy; + + + public: + typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; + virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_2a0dd80c75b958a198cbb602212dea2d(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation > >::Type, class ::statiskit::UnivariateDispersionEstimation > class_2a0dd80c75b958a198cbb602212dea2d(module, "_PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2b57b3b9280e5071b728b923da9d2c0a.cpp b/src/py/wrapper/wrapper_2b57b3b9280e5071b728b923da9d2c0a.cpp index 2a9e0b25..3bb05537 100644 --- a/src/py/wrapper/wrapper_2b57b3b9280e5071b728b923da9d2c0a.cpp +++ b/src/py/wrapper/wrapper_2b57b3b9280e5071b728b923da9d2c0a.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_2b57b3b9280e5071b728b923da9d2c0a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateDispersionEstimation::Estimator > class_2b57b3b9280e5071b728b923da9d2c0a(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator > > class_2b57b3b9280e5071b728b923da9d2c0a(module, "Estimator", ""); class_2b57b3b9280e5071b728b923da9d2c0a.def(pybind11::init< >()); class_2b57b3b9280e5071b728b923da9d2c0a.def(pybind11::init< bool const & >()); class_2b57b3b9280e5071b728b923da9d2c0a.def(pybind11::init< class ::statiskit::MultivariateVarianceEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_2cfec7576f805b8d8fb103d1f86f786e.cpp b/src/py/wrapper/wrapper_2cfec7576f805b8d8fb103d1f86f786e.cpp index 52d8436f..f0ae664b 100644 --- a/src/py/wrapper/wrapper_2cfec7576f805b8d8fb103d1f86f786e.cpp +++ b/src/py/wrapper/wrapper_2cfec7576f805b8d8fb103d1f86f786e.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_2cfec7576f805b8d8fb103d1f86f786e(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_2cfec7576f805b8d8fb103d1f86f786e(module, "NormalDistribution", "This class NormalDistribution represents a `normal\ndistribution `__.\n\nThe normal distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_2cfec7576f805b8d8fb103d1f86f786e(module, "NormalDistribution", "This class NormalDistribution represents a `normal\ndistribution `__.\n\nThe normal distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); class_2cfec7576f805b8d8fb103d1f86f786e.def(pybind11::init< >()); class_2cfec7576f805b8d8fb103d1f86f786e.def(pybind11::init< double const &, double const & >()); class_2cfec7576f805b8d8fb103d1f86f786e.def(pybind11::init< class ::statiskit::NormalDistribution const & >()); diff --git a/src/py/wrapper/wrapper_2d284769c93a57cba44be5c34bcfafd7.cpp b/src/py/wrapper/wrapper_2d284769c93a57cba44be5c34bcfafd7.cpp new file mode 100644 index 00000000..392e46fd --- /dev/null +++ b/src/py/wrapper/wrapper_2d284769c93a57cba44be5c34bcfafd7.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_2d284769c93a57cba44be5c34bcfafd7(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_2d284769c93a57cba44be5c34bcfafd7(module, "_UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7", ""); + class_2d284769c93a57cba44be5c34bcfafd7.def(pybind11::init< >()); + class_2d284769c93a57cba44be5c34bcfafd7.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2da6d48bdb575a46ad7d2e948eb7ee83.cpp b/src/py/wrapper/wrapper_2da6d48bdb575a46ad7d2e948eb7ee83.cpp index 14ba8f35..65b334da 100644 --- a/src/py/wrapper/wrapper_2da6d48bdb575a46ad7d2e948eb7ee83.cpp +++ b/src/py/wrapper/wrapper_2da6d48bdb575a46ad7d2e948eb7ee83.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_2da6d48bdb575a46ad7d2e948eb7ee83(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::SlopeHeuristicSolver > class_2da6d48bdb575a46ad7d2e948eb7ee83(module, "SlopeHeuristicOLSSolver", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, class ::statiskit::SlopeHeuristicSolver > > class_2da6d48bdb575a46ad7d2e948eb7ee83(module, "SlopeHeuristicOLSSolver", ""); class_2da6d48bdb575a46ad7d2e948eb7ee83.def(pybind11::init< >()); class_2da6d48bdb575a46ad7d2e948eb7ee83.def(pybind11::init< struct ::statiskit::SlopeHeuristicOLSSolver const & >()); diff --git a/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp new file mode 100644 index 00000000..ef1a920e --- /dev/null +++ b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; + typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; + virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; + typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; + virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; + typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; + virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: + typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; + virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: + typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; + virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; + virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_2da8a9223cae5918afa89d5266f7f7e7(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > >::Type, struct ::statiskit::MultivariateData > class_2da8a9223cae5918afa89d5266f7f7e7(module, "_PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7", ""); + class_2da8a9223cae5918afa89d5266f7f7e7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2eae4ac2dbf259029ee0e81da54c2c15.cpp b/src/py/wrapper/wrapper_2eae4ac2dbf259029ee0e81da54c2c15.cpp index 59114bd1..e96ab937 100644 --- a/src/py/wrapper/wrapper_2eae4ac2dbf259029ee0e81da54c2c15.cpp +++ b/src/py/wrapper/wrapper_2eae4ac2dbf259029ee0e81da54c2c15.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_2eae4ac2dbf259029ee0e81da54c2c15(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator > > class_2eae4ac2dbf259029ee0e81da54c2c15(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > class_2eae4ac2dbf259029ee0e81da54c2c15(module, "Estimator", ""); class_2eae4ac2dbf259029ee0e81da54c2c15.def(pybind11::init< >()); class_2eae4ac2dbf259029ee0e81da54c2c15.def(pybind11::init< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_2f3439617e035c41b1282a03e900ef19.cpp b/src/py/wrapper/wrapper_2f3439617e035c41b1282a03e900ef19.cpp new file mode 100644 index 00000000..8fd4b29b --- /dev/null +++ b/src/py/wrapper/wrapper_2f3439617e035c41b1282a03e900ef19.cpp @@ -0,0 +1,35 @@ +#include "_core.h" + +::std::string (::std::locale::*method_pointer_c2c506ce991b5daca5247601529992fc)()const= &::std::locale::name; +bool (::std::locale::*method_pointer_d6f72d3b43955c1bbf1e4531b69d14a9)(class ::std::locale const &)const= &::std::locale::operator==; +bool (::std::locale::*method_pointer_4bb8912bb35551caaf4fba37f7b53426)(class ::std::locale const &)const= &::std::locale::operator!=; +class ::std::locale (*method_pointer_5bf034e284795fd18ef049d2d37994ea)(class ::std::locale const &)= ::std::locale::global; +class ::std::locale const & (*method_pointer_37beb60d04255aa09f819d3e2545c8ef)()= ::std::locale::classic; + +namespace autowig { +} + +void wrapper_2f3439617e035c41b1282a03e900ef19(pybind11::module& module) +{ + + pybind11::class_::Type > class_2f3439617e035c41b1282a03e900ef19(module, "Locale", ""); + class_2f3439617e035c41b1282a03e900ef19.def(pybind11::init< >()); + class_2f3439617e035c41b1282a03e900ef19.def(pybind11::init< class ::std::locale const & >()); + class_2f3439617e035c41b1282a03e900ef19.def(pybind11::init< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & >()); + class_2f3439617e035c41b1282a03e900ef19.def(pybind11::init< class ::std::locale const &, class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, ::std::locale::category >()); + class_2f3439617e035c41b1282a03e900ef19.def(pybind11::init< class ::std::locale const &, class ::std::locale const &, ::std::locale::category >()); + class_2f3439617e035c41b1282a03e900ef19.def("name", method_pointer_c2c506ce991b5daca5247601529992fc, ""); + class_2f3439617e035c41b1282a03e900ef19.def("__eq__", method_pointer_d6f72d3b43955c1bbf1e4531b69d14a9, ""); + class_2f3439617e035c41b1282a03e900ef19.def("__neq__", method_pointer_4bb8912bb35551caaf4fba37f7b53426, ""); + class_2f3439617e035c41b1282a03e900ef19.def_static("global", method_pointer_5bf034e284795fd18ef049d2d37994ea, ""); + class_2f3439617e035c41b1282a03e900ef19.def_static("classic", method_pointer_37beb60d04255aa09f819d3e2545c8ef, pybind11::return_value_policy::copy, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("none", &::std::locale::none, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("ctype", &::std::locale::ctype, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("numeric", &::std::locale::numeric, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("collate", &::std::locale::collate, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("time", &::std::locale::time, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("monetary", &::std::locale::monetary, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("messages", &::std::locale::messages, ""); + class_2f3439617e035c41b1282a03e900ef19.def_readonly_static("all", &::std::locale::all, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2f72e6e6db9a5498beee75dbafdc6393.cpp b/src/py/wrapper/wrapper_2f72e6e6db9a5498beee75dbafdc6393.cpp index fe761bf4..1db2b9f4 100644 --- a/src/py/wrapper/wrapper_2f72e6e6db9a5498beee75dbafdc6393.cpp +++ b/src/py/wrapper/wrapper_2f72e6e6db9a5498beee75dbafdc6393.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_2f72e6e6db9a5498beee75dbafdc6393(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent > >::Type, struct ::statiskit::CategoricalEvent > class_2f72e6e6db9a5498beee75dbafdc6393(module, "_ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent > > class_2f72e6e6db9a5498beee75dbafdc6393(module, "_ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393", ""); class_2f72e6e6db9a5498beee75dbafdc6393.def(pybind11::init< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & >()); class_2f72e6e6db9a5498beee75dbafdc6393.def(pybind11::init< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent > const & >()); class_2f72e6e6db9a5498beee75dbafdc6393.def("get_value", method_pointer_52ca03cc26f85b83a9cf872b62cc9597, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp new file mode 100644 index 00000000..305d1a5e --- /dev/null +++ b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp @@ -0,0 +1,46 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; + virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_62864b3a322356a2a80b76a11ba0c820)()const= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_d7181c3e83475a49b0b2f77908e0fccb)(double const &)= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_bc8fd952a44f5c7ea4e769562d731f01)()const= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_daa45e2e7f165ae0b03831c259edb58f)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_6c2c2aafd1325298b0e13e4a19ba5ad0)()const= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::*method_pointer_9870c347070a5ed693415ab08aa37496)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_3170a5376b065cea9f39ca7a6ad5332f(pybind11::module& module) +{ + + pybind11::class_::Estimator >, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > class_3170a5376b065cea9f39ca7a6ad5332f(module, "_Optimization_3170a5376b065cea9f39ca7a6ad5332f", ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def(pybind11::init< >()); + class_3170a5376b065cea9f39ca7a6ad5332f.def("get_mindiff", method_pointer_62864b3a322356a2a80b76a11ba0c820, pybind11::return_value_policy::copy, ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def("set_mindiff", method_pointer_d7181c3e83475a49b0b2f77908e0fccb, ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def("get_minits", method_pointer_bc8fd952a44f5c7ea4e769562d731f01, ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def("set_minits", method_pointer_daa45e2e7f165ae0b03831c259edb58f, ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def("get_maxits", method_pointer_6c2c2aafd1325298b0e13e4a19ba5ad0, ""); + class_3170a5376b065cea9f39ca7a6ad5332f.def("set_maxits", method_pointer_9870c347070a5ed693415ab08aa37496, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp index c0d25237..43b7f0a5 100644 --- a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp +++ b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistribution::DiscreteMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -32,5 +42,6 @@ void wrapper_31aa0a631312549a9cf4cb8740b55a7f(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::MultivariateDistribution > class_31aa0a631312549a9cf4cb8740b55a7f(module, "DiscreteMultivariateDistribution", ""); + class_31aa0a631312549a9cf4cb8740b55a7f.def(pybind11::init< >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp b/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp index 71093431..947d170d 100644 --- a/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp +++ b/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp @@ -7,8 +7,7 @@ namespace autowig { void wrapper_31af2f3c7b5c54f5a56e10ac7064289b(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_31af2f3c7b5c54f5a56e10ac7064289b(module, "IrregularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); - class_31af2f3c7b5c54f5a56e10ac7064289b.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > > class_31af2f3c7b5c54f5a56e10ac7064289b(module, "IrregularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); class_31af2f3c7b5c54f5a56e10ac7064289b.def(pybind11::init< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3220f60173275579a5722fe8dba23dfa.cpp b/src/py/wrapper/wrapper_3220f60173275579a5722fe8dba23dfa.cpp index 9e576340..2a77953b 100644 --- a/src/py/wrapper/wrapper_3220f60173275579a5722fe8dba23dfa.cpp +++ b/src/py/wrapper/wrapper_3220f60173275579a5722fe8dba23dfa.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_3220f60173275579a5722fe8dba23dfa(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::SlopeHeuristicSelector > class_3220f60173275579a5722fe8dba23dfa(module, "SlopeHeuristicSuperiorSelector", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector > > class_3220f60173275579a5722fe8dba23dfa(module, "SlopeHeuristicSuperiorSelector", ""); class_3220f60173275579a5722fe8dba23dfa.def(pybind11::init< >()); class_3220f60173275579a5722fe8dba23dfa.def(pybind11::init< class ::statiskit::SlopeHeuristicSuperiorSelector const & >()); class_3220f60173275579a5722fe8dba23dfa.def("get_threshold", method_pointer_e4d1e5ff572a52868a58cd42498837f8, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp index 01029e71..9d02ee8f 100644 --- a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp +++ b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistribution::DiscreteMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_334941caf3de5e3ab25e41d07fa1d9ca.cpp b/src/py/wrapper/wrapper_334941caf3de5e3ab25e41d07fa1d9ca.cpp index fee6316f..98ad76ff 100644 --- a/src/py/wrapper/wrapper_334941caf3de5e3ab25e41d07fa1d9ca.cpp +++ b/src/py/wrapper/wrapper_334941caf3de5e3ab25e41d07fa1d9ca.cpp @@ -1,6 +1,6 @@ #include "_core.h" -void (::statiskit::VectorEvent::*method_pointer_546c2692954654889471d670fa584d26)(::statiskit::Index const &, struct ::statiskit::UnivariateEvent const &)= &::statiskit::VectorEvent::set; +void (::statiskit::VectorEvent::*method_pointer_1dba086dec5555d492b16fcb63625746)(::statiskit::Index const &, struct ::statiskit::UnivariateEvent const *)= &::statiskit::VectorEvent::set_event; namespace autowig { } @@ -8,10 +8,10 @@ namespace autowig { void wrapper_334941caf3de5e3ab25e41d07fa1d9ca(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateEvent > class_334941caf3de5e3ab25e41d07fa1d9ca(module, "VectorEvent", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent > > class_334941caf3de5e3ab25e41d07fa1d9ca(module, "VectorEvent", ""); class_334941caf3de5e3ab25e41d07fa1d9ca.def(pybind11::init< ::statiskit::Index const & >()); class_334941caf3de5e3ab25e41d07fa1d9ca.def(pybind11::init< class ::statiskit::VectorEvent const & >()); class_334941caf3de5e3ab25e41d07fa1d9ca.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_334941caf3de5e3ab25e41d07fa1d9ca.def("set", method_pointer_546c2692954654889471d670fa584d26, ""); + class_334941caf3de5e3ab25e41d07fa1d9ca.def("set_event", method_pointer_1dba086dec5555d492b16fcb63625746, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp new file mode 100644 index 00000000..ccf385c2 --- /dev/null +++ b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; + + + protected: + typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; + virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; + }; + + class Publicist : public class_type + { + public: + using class_type::update; + }; +} + + +namespace autowig { +} + +void wrapper_337b3fb852125acd94dcdd79f0bbc00a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver > >::Type, class ::statiskit::SlopeHeuristicIWLSSolver > class_337b3fb852125acd94dcdd79f0bbc00a(module, "_PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a", ""); + class_337b3fb852125acd94dcdd79f0bbc00a.def(pybind11::init< >()); + class_337b3fb852125acd94dcdd79f0bbc00a.def("_update", static_cast< void (::statiskit::SlopeHeuristicIWLSSolver::*) (class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::update), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp index fa9d1506..0dccc3a1 100644 --- a/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp +++ b/src/py/wrapper/wrapper_340c5465095052af9d63bdb8d9799d79.cpp @@ -1,20 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::UnivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::UnivariateDistributionEstimation::UnivariateDistributionEstimation; - - typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; - virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; - }; -} - -::statiskit::UnivariateDistributionEstimation::estimated_type const * (::statiskit::UnivariateDistributionEstimation::*method_pointer_bd794e40246350b583a72b6a11ca75d8)()const= &::statiskit::UnivariateDistributionEstimation::get_estimated; namespace autowig { } @@ -22,7 +7,8 @@ namespace autowig { void wrapper_340c5465095052af9d63bdb8d9799d79(pybind11::module& module) { - pybind11::class_::Type > class_340c5465095052af9d63bdb8d9799d79(module, "UnivariateDistributionEstimation", ""); - class_340c5465095052af9d63bdb8d9799d79.def("get_estimated", method_pointer_bd794e40246350b583a72b6a11ca75d8, pybind11::return_value_policy::reference_internal, ""); + pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > class_340c5465095052af9d63bdb8d9799d79(module, "UnivariateDistributionEstimation", ""); + class_340c5465095052af9d63bdb8d9799d79.def(pybind11::init< >()); + class_340c5465095052af9d63bdb8d9799d79.def(pybind11::init< struct ::statiskit::UnivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_34c2a8dbedd15f6e89c09855550f107b.cpp b/src/py/wrapper/wrapper_34c2a8dbedd15f6e89c09855550f107b.cpp new file mode 100644 index 00000000..c411935d --- /dev/null +++ b/src/py/wrapper/wrapper_34c2a8dbedd15f6e89c09855550f107b.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution > > >::*method_pointer_b7f720b5bb8f5605a6bed9106727dfd6)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution > > >::*method_pointer_bb5c7a946c815f90b3f68dae84d0b78c)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution > > >::*method_pointer_65ed0400d5e95b948764199bc264f4af)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution > > >::*method_pointer_a78edea1e19b545c9c32c1fcaca15f61)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution > > >::*method_pointer_ea69ae6aa4d95027b22a09c0ade8c924)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > >::swap; + +namespace autowig { + void method_decorator_b7f720b5bb8f5605a6bed9106727dfd6(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > & param_out) { instance.operator*() = param_out; } +} + +void wrapper_34c2a8dbedd15f6e89c09855550f107b(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_34d64090a84e51db9616a4cc540e43b8.cpp b/src/py/wrapper/wrapper_34d64090a84e51db9616a4cc540e43b8.cpp index 46f894ec..d60d3a47 100644 --- a/src/py/wrapper/wrapper_34d64090a84e51db9616a4cc540e43b8.cpp +++ b/src/py/wrapper/wrapper_34d64090a84e51db9616a4cc540e43b8.cpp @@ -7,9 +7,7 @@ namespace autowig { void wrapper_34d64090a84e51db9616a4cc540e43b8(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, class ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > > class_34d64090a84e51db9616a4cc540e43b8(module, "WeightedUnivariateData", ""); - class_34d64090a84e51db9616a4cc540e43b8.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_34d64090a84e51db9616a4cc540e43b8.def(pybind11::init< struct ::statiskit::UnivariateData const *, class ::std::vector< double, class ::std::allocator< double > > const & >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > > class_34d64090a84e51db9616a4cc540e43b8(module, "WeightedUnivariateData", ""); class_34d64090a84e51db9616a4cc540e43b8.def(pybind11::init< class ::statiskit::WeightedUnivariateData const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp index 09685440..0ad85879 100644 --- a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp +++ b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistribution::DiscreteUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3557273679395cf2a3e4b3d3f227accd.cpp b/src/py/wrapper/wrapper_3557273679395cf2a3e4b3d3f227accd.cpp index f892335c..54f552b2 100644 --- a/src/py/wrapper/wrapper_3557273679395cf2a3e4b3d3f227accd.cpp +++ b/src/py/wrapper/wrapper_3557273679395cf2a3e4b3d3f227accd.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_3557273679395cf2a3e4b3d3f227accd(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_3557273679395cf2a3e4b3d3f227accd(module, "LaplaceDistribution", "This class LaplaceDistribution represents a `Laplace\ndistribution `__.\n\nThe Laplace distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_3557273679395cf2a3e4b3d3f227accd(module, "LaplaceDistribution", "This class LaplaceDistribution represents a `Laplace\ndistribution `__.\n\nThe Laplace distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); class_3557273679395cf2a3e4b3d3f227accd.def(pybind11::init< >()); class_3557273679395cf2a3e4b3d3f227accd.def(pybind11::init< double const &, double const & >()); class_3557273679395cf2a3e4b3d3f227accd.def(pybind11::init< class ::statiskit::LaplaceDistribution const & >()); diff --git a/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp b/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp index ffa01470..42382b9f 100644 --- a/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp +++ b/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_36823ab42b0c57b48d903606aa743329(module, "PoissonDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_36823ab42b0c57b48d903606aa743329(module, "PoissonDistributionMLEstimation", ""); class_36823ab42b0c57b48d903606aa743329.def(pybind11::init< >()); - class_36823ab42b0c57b48d903606aa743329.def(pybind11::init< class ::statiskit::PoissonDistribution const *, struct ::statiskit::UnivariateData const * >()); class_36823ab42b0c57b48d903606aa743329.def(pybind11::init< struct ::statiskit::PoissonDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_36adf88112dd5312b6c5fe75ebbc5559.cpp b/src/py/wrapper/wrapper_36adf88112dd5312b6c5fe75ebbc5559.cpp index 604ad149..02217f36 100644 --- a/src/py/wrapper/wrapper_36adf88112dd5312b6c5fe75ebbc5559.cpp +++ b/src/py/wrapper/wrapper_36adf88112dd5312b6c5fe75ebbc5559.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_36adf88112dd5312b6c5fe75ebbc5559(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > > class_36adf88112dd5312b6c5fe75ebbc5559(module, "_ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > > class_36adf88112dd5312b6c5fe75ebbc5559(module, "_ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559", ""); class_36adf88112dd5312b6c5fe75ebbc5559.def(pybind11::init< struct ::statiskit::ContinuousUnivariateDistribution const &, double const & >()); class_36adf88112dd5312b6c5fe75ebbc5559.def(pybind11::init< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const & >()); class_36adf88112dd5312b6c5fe75ebbc5559.def("get_shift", method_pointer_d31c0f8ae5c6576ab7341adafae58204, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp new file mode 100644 index 00000000..c50a5d7e --- /dev/null +++ b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_37b7e83ad4685de7971d757784ece860(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_37b7e83ad4685de7971d757784ece860(module, "_PolymorphicCopy_37b7e83ad4685de7971d757784ece860", ""); + class_37b7e83ad4685de7971d757784ece860.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp b/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp new file mode 100644 index 00000000..5a4f8e2c --- /dev/null +++ b/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +void wrapper_37cab44615185125b12b8246ddcfeae0(pybind11::module& module) +{ + + pybind11::enum_< ::std::ios_base::event > enum_37cab44615185125b12b8246ddcfeae0(module, "event"); + enum_37cab44615185125b12b8246ddcfeae0.value("ERASE_EVENT", ::std::ios_base::erase_event); + enum_37cab44615185125b12b8246ddcfeae0.value("IMBUE_EVENT", ::std::ios_base::imbue_event); + enum_37cab44615185125b12b8246ddcfeae0.value("COPYFMT_EVENT", ::std::ios_base::copyfmt_event); + enum_37cab44615185125b12b8246ddcfeae0.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp b/src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp index 0f6aa6fb..7e3b27e4 100644 --- a/src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp +++ b/src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_37d2da7ae2985fcc8caca8de36d30ce7(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_37d2da7ae2985fcc8caca8de36d30ce7(module, "CauchyDistribution", "This class CauchyDistribution represents a `Cauchy\ndistribution `__.\n\nThe Cauchy distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_37d2da7ae2985fcc8caca8de36d30ce7(module, "CauchyDistribution", "This class CauchyDistribution represents a `Cauchy\ndistribution `__.\n\nThe Cauchy distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); class_37d2da7ae2985fcc8caca8de36d30ce7.def(pybind11::init< >()); class_37d2da7ae2985fcc8caca8de36d30ce7.def(pybind11::init< double const &, double const & >()); class_37d2da7ae2985fcc8caca8de36d30ce7.def(pybind11::init< class ::statiskit::CauchyDistribution const & >()); diff --git a/src/py/wrapper/wrapper_3878f151eb4759f89a07796ff631bdf9.cpp b/src/py/wrapper/wrapper_3878f151eb4759f89a07796ff631bdf9.cpp index fa5a8480..d9e16b65 100644 --- a/src/py/wrapper/wrapper_3878f151eb4759f89a07796ff631bdf9.cpp +++ b/src/py/wrapper/wrapper_3878f151eb4759f89a07796ff631bdf9.cpp @@ -5,7 +5,7 @@ double (::statiskit::HierarchicalDistribution::*method_pointer_bdb51633f466504b unsigned int (::statiskit::HierarchicalDistribution::*method_pointer_516ce2ebf00e53a5b015217458043636)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::HierarchicalDistribution::index; struct ::statiskit::CategoricalUnivariateDistribution const * (::statiskit::HierarchicalDistribution::*method_pointer_0095a88066135c6c963b6a524c18cad4)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::HierarchicalDistribution::get_distribution; void (::statiskit::HierarchicalDistribution::*method_pointer_82f72d1f9cd65a6881253ef5e6c217db)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, struct ::statiskit::CategoricalUnivariateDistribution const &)= &::statiskit::HierarchicalDistribution::set_distribution; -class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const (::statiskit::HierarchicalDistribution::*method_pointer_a57d14e2013e52109b587e456949b355)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::HierarchicalDistribution::parent; +class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > (::statiskit::HierarchicalDistribution::*method_pointer_a57d14e2013e52109b587e456949b355)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::HierarchicalDistribution::parent; namespace autowig { } @@ -13,7 +13,7 @@ namespace autowig { void wrapper_3878f151eb4759f89a07796ff631bdf9(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > > class_3878f151eb4759f89a07796ff631bdf9(module, "HierarchicalDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > > class_3878f151eb4759f89a07796ff631bdf9(module, "HierarchicalDistribution", ""); class_3878f151eb4759f89a07796ff631bdf9.def(pybind11::init< >()); class_3878f151eb4759f89a07796ff631bdf9.def(pybind11::init< class ::statiskit::HierarchicalSampleSpace const & >()); class_3878f151eb4759f89a07796ff631bdf9.def(pybind11::init< class ::statiskit::HierarchicalDistribution const & >()); diff --git a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp index 3391b4ac..0bcaee39 100644 --- a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp +++ b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp @@ -7,22 +7,31 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::UnivariateData::Generator::Generator; - typedef double return_type_1aba7220d8185b52a1202c2468b95edb; - virtual return_type_1aba7220d8185b52a1202c2468b95edb weight() const override { PYBIND11_OVERLOAD_PURE(return_type_1aba7220d8185b52a1202c2468b95edb, class_type, weight, ); }; - typedef struct ::statiskit::UnivariateEvent const * return_type_06724bc676b252b98a07b30de6e65bee; - virtual return_type_06724bc676b252b98a07b30de6e65bee event() const override { PYBIND11_OVERLOAD_PURE(return_type_06724bc676b252b98a07b30de6e65bee, class_type, event, ); }; + + public: typedef struct ::statiskit::UnivariateData::Generator & return_type_de48c02aa8db50929f6a3f8784c2ec4d; virtual return_type_de48c02aa8db50929f6a3f8784c2ec4d operator++() override { PYBIND11_OVERLOAD_PURE(return_type_de48c02aa8db50929f6a3f8784c2ec4d, class_type, operator++, ); }; + + public: typedef bool return_type_ef9b151802e1543cb7c98d1c40761fbe; virtual return_type_ef9b151802e1543cb7c98d1c40761fbe is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_ef9b151802e1543cb7c98d1c40761fbe, class_type, is_valid, ); }; + + public: + typedef double return_type_3ff5d6aeae9b500daee4500fa6bcd9d2; + virtual return_type_3ff5d6aeae9b500daee4500fa6bcd9d2 get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_3ff5d6aeae9b500daee4500fa6bcd9d2, class_type, get_weight, ); }; + + public: + typedef struct ::statiskit::UnivariateEvent const * return_type_54decb3c8cd45099a4ee49e01abbc27d; + virtual return_type_54decb3c8cd45099a4ee49e01abbc27d get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_54decb3c8cd45099a4ee49e01abbc27d, class_type, get_event, ); }; }; } +struct ::statiskit::UnivariateEvent const * (::statiskit::UnivariateData::Generator::*method_pointer_54decb3c8cd45099a4ee49e01abbc27d)()const= &::statiskit::UnivariateData::Generator::get_event; +double (::statiskit::UnivariateData::Generator::*method_pointer_3ff5d6aeae9b500daee4500fa6bcd9d2)()const= &::statiskit::UnivariateData::Generator::get_weight; bool (::statiskit::UnivariateData::Generator::*method_pointer_ef9b151802e1543cb7c98d1c40761fbe)()const= &::statiskit::UnivariateData::Generator::is_valid; struct ::statiskit::UnivariateData::Generator & (::statiskit::UnivariateData::Generator::*method_pointer_de48c02aa8db50929f6a3f8784c2ec4d)()= &::statiskit::UnivariateData::Generator::operator++; -struct ::statiskit::UnivariateEvent const * (::statiskit::UnivariateData::Generator::*method_pointer_06724bc676b252b98a07b30de6e65bee)()const= &::statiskit::UnivariateData::Generator::event; -double (::statiskit::UnivariateData::Generator::*method_pointer_1aba7220d8185b52a1202c2468b95edb)()const= &::statiskit::UnivariateData::Generator::weight; namespace autowig { void method_decorator_de48c02aa8db50929f6a3f8784c2ec4d(struct ::statiskit::UnivariateData::Generator & instance, const struct ::statiskit::UnivariateData::Generator & param_out) { instance.operator++() = param_out; } @@ -32,10 +41,11 @@ void wrapper_39737fb8eb785c29bb3a9eca8ab9e325(pybind11::module& module) { pybind11::class_::Type > class_39737fb8eb785c29bb3a9eca8ab9e325(module, "Generator", ""); + class_39737fb8eb785c29bb3a9eca8ab9e325.def(pybind11::init< >()); + class_39737fb8eb785c29bb3a9eca8ab9e325.def("get_event", method_pointer_54decb3c8cd45099a4ee49e01abbc27d, pybind11::return_value_policy::reference_internal, ""); + class_39737fb8eb785c29bb3a9eca8ab9e325.def("get_weight", method_pointer_3ff5d6aeae9b500daee4500fa6bcd9d2, ""); class_39737fb8eb785c29bb3a9eca8ab9e325.def("is_valid", method_pointer_ef9b151802e1543cb7c98d1c40761fbe, ""); class_39737fb8eb785c29bb3a9eca8ab9e325.def("__next__", method_pointer_de48c02aa8db50929f6a3f8784c2ec4d, pybind11::return_value_policy::reference_internal, ""); class_39737fb8eb785c29bb3a9eca8ab9e325.def("__next__", autowig::method_decorator_de48c02aa8db50929f6a3f8784c2ec4d); - class_39737fb8eb785c29bb3a9eca8ab9e325.def("event", method_pointer_06724bc676b252b98a07b30de6e65bee, pybind11::return_value_policy::reference_internal, ""); - class_39737fb8eb785c29bb3a9eca8ab9e325.def("weight", method_pointer_1aba7220d8185b52a1202c2468b95edb, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_39eaaa358ce655d08615c947c949eb83.cpp b/src/py/wrapper/wrapper_39eaaa358ce655d08615c947c949eb83.cpp index e3a9d792..546de4ec 100644 --- a/src/py/wrapper/wrapper_39eaaa358ce655d08615c947c949eb83.cpp +++ b/src/py/wrapper/wrapper_39eaaa358ce655d08615c947c949eb83.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_39eaaa358ce655d08615c947c949eb83(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_39eaaa358ce655d08615c947c949eb83(module, "GeometricDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_39eaaa358ce655d08615c947c949eb83(module, "GeometricDistribution", ""); class_39eaaa358ce655d08615c947c949eb83.def(pybind11::init< >()); class_39eaaa358ce655d08615c947c949eb83.def(pybind11::init< double const & >()); class_39eaaa358ce655d08615c947c949eb83.def(pybind11::init< class ::statiskit::GeometricDistribution const & >()); diff --git a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp index b510e311..982c71d9 100644 --- a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp +++ b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp @@ -4,7 +4,7 @@ void wrapper_3a6a49079d1b5e9bb815105374e2fc93(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); + pybind11::enum_< ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); enum_3a6a49079d1b5e9bb815105374e2fc93.value("TREATMENT", ::statiskit::TREATMENT); enum_3a6a49079d1b5e9bb815105374e2fc93.value("DEVIATION", ::statiskit::DEVIATION); enum_3a6a49079d1b5e9bb815105374e2fc93.value("CUMULATIVE", ::statiskit::CUMULATIVE); diff --git a/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp b/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp new file mode 100644 index 00000000..1bd56674 --- /dev/null +++ b/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_3a72e173884155f78c8bc127cca80d9c(pybind11::module& module) +{ + + pybind11::class_::Type > class_3a72e173884155f78c8bc127cca80d9c(module, "Init", ""); + class_3a72e173884155f78c8bc127cca80d9c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp index e666b523..8ba15c7f 100644 --- a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp +++ b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::DiscreteEvent::DiscreteEvent; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; - virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; } diff --git a/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp b/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp new file mode 100644 index 00000000..b4f21470 --- /dev/null +++ b/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_3aedd3fce1c956baaeb85f4606914109(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_3aedd3fce1c956baaeb85f4606914109(module, "_PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109", ""); + class_3aedd3fce1c956baaeb85f4606914109.def(pybind11::init< >()); + class_3aedd3fce1c956baaeb85f4606914109.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp b/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp index d80c2280..239ef207 100644 --- a/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp +++ b/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_3c3eb4c91b905a988bd9546e804a0d95(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_3c3eb4c91b905a988bd9546e804a0d95(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_3c3eb4c91b905a988bd9546e804a0d95(module, "Estimator", ""); class_3c3eb4c91b905a988bd9546e804a0d95.def(pybind11::init< >()); class_3c3eb4c91b905a988bd9546e804a0d95.def(pybind11::init< class ::statiskit::BinomialDistributionMLEstimation::Estimator const & >()); class_3c3eb4c91b905a988bd9546e804a0d95.def("get_force", method_pointer_b9c9fe80edb7575c9c4761d2675e9723, ""); diff --git a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp index fc8de258..6418e8cb 100644 --- a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp +++ b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::Schedule::Schedule; + + public: typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_7b1ce88d04fc5ffb8e9402122cfa4883; virtual return_type_7b1ce88d04fc5ffb8e9402122cfa4883 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7b1ce88d04fc5ffb8e9402122cfa4883, class_type, copy, ); }; + + public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; @@ -26,6 +31,7 @@ void wrapper_3ca8ff4e14d1580fa17364607bc956c4(pybind11::module& module) { pybind11::class_::Type > class_3ca8ff4e14d1580fa17364607bc956c4(module, "Schedule", ""); + class_3ca8ff4e14d1580fa17364607bc956c4.def(pybind11::init< >()); class_3ca8ff4e14d1580fa17364607bc956c4.def("__call__", method_pointer_004876688c73571590d218338cd011b5, ""); class_3ca8ff4e14d1580fa17364607bc956c4.def("copy", method_pointer_7b1ce88d04fc5ffb8e9402122cfa4883, ""); diff --git a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp index 527e90c0..d677334f 100644 --- a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp +++ b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::SlopeHeuristicSelector::SlopeHeuristicSelector; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_b99a360f77cf53eb8f24401404499387; virtual return_type_b99a360f77cf53eb8f24401404499387 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_b99a360f77cf53eb8f24401404499387, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; @@ -26,6 +31,7 @@ void wrapper_3e3d38965c5e5a02ae621877dba470cf(pybind11::module& module) { pybind11::class_::Type > class_3e3d38965c5e5a02ae621877dba470cf(module, "SlopeHeuristicSelector", ""); + class_3e3d38965c5e5a02ae621877dba470cf.def(pybind11::init< >()); class_3e3d38965c5e5a02ae621877dba470cf.def("__call__", method_pointer_df1ee527da8655d4b2d9d5bb1e30ff8e, ""); class_3e3d38965c5e5a02ae621877dba470cf.def("copy", method_pointer_b99a360f77cf53eb8f24401404499387, ""); diff --git a/src/py/wrapper/wrapper_3e9d65e7582c5349812d357cd482c2ca.cpp b/src/py/wrapper/wrapper_3e9d65e7582c5349812d357cd482c2ca.cpp index f6e1d951..c75ecfa1 100644 --- a/src/py/wrapper/wrapper_3e9d65e7582c5349812d357cd482c2ca.cpp +++ b/src/py/wrapper/wrapper_3e9d65e7582c5349812d357cd482c2ca.cpp @@ -1,7 +1,6 @@ #include "_core.h" void (::statiskit::HierarchicalSampleSpace::*method_pointer_604058ca75845a609dc1643449e794c1)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, struct ::statiskit::CategoricalSampleSpace const &)= &::statiskit::HierarchicalSampleSpace::partition; -class ::statiskit::UnivariateConditionalData (::statiskit::HierarchicalSampleSpace::*method_pointer_95ba86567ddd5cdeaee3a8113e8a4924)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, class ::statiskit::UnivariateConditionalData const &)const= &::statiskit::HierarchicalSampleSpace::split; struct ::statiskit::CategoricalSampleSpace const * (::statiskit::HierarchicalSampleSpace::*method_pointer_ddd11f7e554050a9a8f5150229b8c16b)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)= &::statiskit::HierarchicalSampleSpace::get_sample_space; class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > (::statiskit::HierarchicalSampleSpace::*method_pointer_4805cfaee6d85d90a38c5df5668f7bb1)(class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &)const= &::statiskit::HierarchicalSampleSpace::children; @@ -15,7 +14,6 @@ void wrapper_3e9d65e7582c5349812d357cd482c2ca(pybind11::module& module) class_3e9d65e7582c5349812d357cd482c2ca.def(pybind11::init< struct ::statiskit::CategoricalSampleSpace const & >()); class_3e9d65e7582c5349812d357cd482c2ca.def(pybind11::init< class ::statiskit::HierarchicalSampleSpace const & >()); class_3e9d65e7582c5349812d357cd482c2ca.def("partition", method_pointer_604058ca75845a609dc1643449e794c1, ""); - class_3e9d65e7582c5349812d357cd482c2ca.def("split", method_pointer_95ba86567ddd5cdeaee3a8113e8a4924, ""); class_3e9d65e7582c5349812d357cd482c2ca.def("get_sample_space", method_pointer_ddd11f7e554050a9a8f5150229b8c16b, pybind11::return_value_policy::reference_internal, ""); class_3e9d65e7582c5349812d357cd482c2ca.def("children", method_pointer_4805cfaee6d85d90a38c5df5668f7bb1, ""); diff --git a/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp b/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp new file mode 100644 index 00000000..c27e325f --- /dev/null +++ b/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_bff5a16402e25803b812cbe08e5c15be)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; +double const (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_cd024860cb895bc5b0f984a3868f92ff)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_3ea06f62f79c50b5856e5712f2ec8e84(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_3ea06f62f79c50b5856e5712f2ec8e84(module, "_IterativeEstimation_3ea06f62f79c50b5856e5712f2ec8e84", ""); + class_3ea06f62f79c50b5856e5712f2ec8e84.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + class_3ea06f62f79c50b5856e5712f2ec8e84.def("__len__", method_pointer_bff5a16402e25803b812cbe08e5c15be, ""); + class_3ea06f62f79c50b5856e5712f2ec8e84.def("at_step", method_pointer_cd024860cb895bc5b0f984a3868f92ff, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3f4e466ff3215f84837970a75685a8b5.cpp b/src/py/wrapper/wrapper_3f4e466ff3215f84837970a75685a8b5.cpp new file mode 100644 index 00000000..a57ad5a3 --- /dev/null +++ b/src/py/wrapper/wrapper_3f4e466ff3215f84837970a75685a8b5.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_0b796b6e89f15cbb9090f14c63e63232)()const= &::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::size; +class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const (::statiskit::IterativeEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_4bf892f74f37565caa90562c080a10a8)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::at_step; + +namespace autowig { +} + +void wrapper_3f4e466ff3215f84837970a75685a8b5(pybind11::module& module) +{ + + pybind11::class_, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >, autowig::HolderType< class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > class_3f4e466ff3215f84837970a75685a8b5(module, "_IterativeEstimation_3f4e466ff3215f84837970a75685a8b5", ""); + class_3f4e466ff3215f84837970a75685a8b5.def(pybind11::init< class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > const & >()); + class_3f4e466ff3215f84837970a75685a8b5.def("__len__", method_pointer_0b796b6e89f15cbb9090f14c63e63232, ""); + class_3f4e466ff3215f84837970a75685a8b5.def("at_step", method_pointer_4bf892f74f37565caa90562c080a10a8, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp new file mode 100644 index 00000000..83fc764c --- /dev/null +++ b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_3ff582522b0d5915b638d6939794ff66(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_3ff582522b0d5915b638d6939794ff66(module, "_PolymorphicCopy_3ff582522b0d5915b638d6939794ff66", ""); + class_3ff582522b0d5915b638d6939794ff66.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp index a91eba25..64e75559 100644 --- a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp +++ b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp @@ -4,11 +4,10 @@ void wrapper_4091fe7ebaea5a58bb732192d7661dce(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); - enum_4091fe7ebaea5a58bb732192d7661dce.value("CATEGORICAL", ::statiskit::CATEGORICAL); - enum_4091fe7ebaea5a58bb732192d7661dce.value("DISCRETE", ::statiskit::DISCRETE); - enum_4091fe7ebaea5a58bb732192d7661dce.value("CONTINUOUS", ::statiskit::CONTINUOUS); - enum_4091fe7ebaea5a58bb732192d7661dce.value("MIXED", ::statiskit::MIXED); - enum_4091fe7ebaea5a58bb732192d7661dce.export_values(); + pybind11::enum_< ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); + enum_4091fe7ebaea5a58bb732192d7661dce.value("CATEGORICAL", ::statiskit::outcome_type::CATEGORICAL); + enum_4091fe7ebaea5a58bb732192d7661dce.value("DISCRETE", ::statiskit::outcome_type::DISCRETE); + enum_4091fe7ebaea5a58bb732192d7661dce.value("CONTINUOUS", ::statiskit::outcome_type::CONTINUOUS); + enum_4091fe7ebaea5a58bb732192d7661dce.value("MIXED", ::statiskit::outcome_type::MIXED); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp b/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp index e09c43bb..0642a32c 100644 --- a/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp +++ b/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_4143f1db036e5bbdbba0a64045946862(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_4143f1db036e5bbdbba0a64045946862(module, "WZ99Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > > class_4143f1db036e5bbdbba0a64045946862(module, "WZ99Estimator", ""); class_4143f1db036e5bbdbba0a64045946862.def(pybind11::init< >()); class_4143f1db036e5bbdbba0a64045946862.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator const & >()); diff --git a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp index c81bed89..36ecf9e8 100644 --- a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp +++ b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp @@ -9,28 +9,25 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - class Publicist : public class_type - { public: - using class_type::identifier; - using class_type::children; + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; }; } -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::UnivariateDistributionEstimation::Estimator::*method_pointer_163f6bff094c5658b1290a9b2b3a9d26)(::statiskit::UnivariateDistributionEstimation::data_type const &, bool const &)const= &::statiskit::UnivariateDistributionEstimation::Estimator::operator(); -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > (::statiskit::UnivariateDistributionEstimation::Estimator::*method_pointer_97c0dcb4b9a55407beb1affee63e5b47)()const= &::statiskit::UnivariateDistributionEstimation::Estimator::copy; +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::UnivariateDistributionEstimation::Estimator::*method_pointer_47877b68ac8c5802b57686bea7f9f547)(struct ::statiskit::MultivariateData const &, ::statiskit::Index const &)const= &::statiskit::UnivariateDistributionEstimation::Estimator::operator(); namespace autowig { } @@ -38,8 +35,8 @@ namespace autowig { void wrapper_41e812da3d3654cd9fb33041c3acf25f(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::Estimator > class_41e812da3d3654cd9fb33041c3acf25f(module, "Estimator", ""); - class_41e812da3d3654cd9fb33041c3acf25f.def("__call__", method_pointer_163f6bff094c5658b1290a9b2b3a9d26, ""); - class_41e812da3d3654cd9fb33041c3acf25f.def("copy", method_pointer_97c0dcb4b9a55407beb1affee63e5b47, ""); + pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > class_41e812da3d3654cd9fb33041c3acf25f(module, "Estimator", ""); + class_41e812da3d3654cd9fb33041c3acf25f.def(pybind11::init< >()); + class_41e812da3d3654cd9fb33041c3acf25f.def("__call__", method_pointer_47877b68ac8c5802b57686bea7f9f547, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_41ea68bb4a9850aa9861003b9fcab334.cpp b/src/py/wrapper/wrapper_41ea68bb4a9850aa9861003b9fcab334.cpp index 1a8e80a9..334a3d6f 100644 --- a/src/py/wrapper/wrapper_41ea68bb4a9850aa9861003b9fcab334.cpp +++ b/src/py/wrapper/wrapper_41ea68bb4a9850aa9861003b9fcab334.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_41ea68bb4a9850aa9861003b9fcab334(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, class ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > > class_41ea68bb4a9850aa9861003b9fcab334(module, "ExponentialSchedule", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > > class_41ea68bb4a9850aa9861003b9fcab334(module, "ExponentialSchedule", ""); class_41ea68bb4a9850aa9861003b9fcab334.def(pybind11::init< double const & >()); class_41ea68bb4a9850aa9861003b9fcab334.def(pybind11::init< class ::statiskit::ExponentialSchedule const & >()); class_41ea68bb4a9850aa9861003b9fcab334.def("get_theta", method_pointer_e148ea22fdff52539414c0352426c429, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp b/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp new file mode 100644 index 00000000..31b4770c --- /dev/null +++ b/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_420aec1990555632bd8e6235f3099ec2(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_420aec1990555632bd8e6235f3099ec2(module, "_PolymorphicCopy_420aec1990555632bd8e6235f3099ec2", ""); + class_420aec1990555632bd8e6235f3099ec2.def(pybind11::init< >()); + class_420aec1990555632bd8e6235f3099ec2.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_42c73f7b760d584f96ee42693c708651.cpp b/src/py/wrapper/wrapper_42c73f7b760d584f96ee42693c708651.cpp index 31832c3a..7bb5b0bc 100644 --- a/src/py/wrapper/wrapper_42c73f7b760d584f96ee42693c708651.cpp +++ b/src/py/wrapper/wrapper_42c73f7b760d584f96ee42693c708651.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_42c73f7b760d584f96ee42693c708651(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::CategoricalEvent > >::Type, struct ::statiskit::CategoricalEvent > class_42c73f7b760d584f96ee42693c708651(module, "_CensoredEvent_42c73f7b760d584f96ee42693c708651", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::CategoricalEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent > > class_42c73f7b760d584f96ee42693c708651(module, "_CensoredEvent_42c73f7b760d584f96ee42693c708651", ""); class_42c73f7b760d584f96ee42693c708651.def(pybind11::init< class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & >()); class_42c73f7b760d584f96ee42693c708651.def(pybind11::init< class ::statiskit::CensoredEvent< struct ::statiskit::CategoricalEvent > const & >()); class_42c73f7b760d584f96ee42693c708651.def("get_values", method_pointer_0960ac74ede35b06be6fad102add8cba, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp index 3c3e3eb6..3726949d 100644 --- a/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp +++ b/src/py/wrapper/wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440.cpp @@ -1,23 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::MultivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MultivariateDistributionEstimation::MultivariateDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; - virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; - virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; - }; -} - -::statiskit::MultivariateDistributionEstimation::estimated_type const * (::statiskit::MultivariateDistributionEstimation::*method_pointer_123ca6ff048a55c3916851be0f12a662)()const= &::statiskit::MultivariateDistributionEstimation::get_estimated; -class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > (::statiskit::MultivariateDistributionEstimation::*method_pointer_6b2ddebe29b356369027219f55c1bc79)()const= &::statiskit::MultivariateDistributionEstimation::copy; namespace autowig { } @@ -25,8 +7,8 @@ namespace autowig { void wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(pybind11::module& module) { - pybind11::class_::Type > class_43ff7c79dcd15ad9995fd0d0ccc6d440(module, "MultivariateDistributionEstimation", ""); - class_43ff7c79dcd15ad9995fd0d0ccc6d440.def("get_estimated", method_pointer_123ca6ff048a55c3916851be0f12a662, pybind11::return_value_policy::reference_internal, ""); - class_43ff7c79dcd15ad9995fd0d0ccc6d440.def("copy", method_pointer_6b2ddebe29b356369027219f55c1bc79, ""); + pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > class_43ff7c79dcd15ad9995fd0d0ccc6d440(module, "MultivariateDistributionEstimation", ""); + class_43ff7c79dcd15ad9995fd0d0ccc6d440.def(pybind11::init< >()); + class_43ff7c79dcd15ad9995fd0d0ccc6d440.def(pybind11::init< struct ::statiskit::MultivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp new file mode 100644 index 00000000..94cb48b3 --- /dev/null +++ b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_4420321c5ba25609a5915044efb89bc8(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_4420321c5ba25609a5915044efb89bc8(module, "_PolymorphicCopy_4420321c5ba25609a5915044efb89bc8", ""); + class_4420321c5ba25609a5915044efb89bc8.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp index 75cf2ea9..f64a0db9 100644 --- a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp +++ b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::MultivariateDistribution::MultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -38,6 +48,7 @@ void wrapper_4540538b16205d90be33cf08feed0673(pybind11::module& module) { pybind11::class_::Type > class_4540538b16205d90be33cf08feed0673(module, "MultivariateDistribution", ""); + class_4540538b16205d90be33cf08feed0673.def(pybind11::init< >()); class_4540538b16205d90be33cf08feed0673.def("get_nb_components", method_pointer_6bbdbd5137365f409e51be059aaa5dec, "Get the number of components of the distribution.\n\n:Return Type:\n [STRIKEOUT::cpp:any:unsigned long int]\n\n"); class_4540538b16205d90be33cf08feed0673.def("get_nb_parameters", method_pointer_d6b37eb7a2815c508032d7111fe27b25, "Get the number of parameters of the distribution.\n\n:Return Type:\n :cpp:any:`unsigned` int\n\n"); class_4540538b16205d90be33cf08feed0673.def("probability", method_pointer_1b1aa04affe25769a45aa61f808a0a19, ""); diff --git a/src/py/wrapper/wrapper_45da991e033e578d8aa55b46b232ec21.cpp b/src/py/wrapper/wrapper_45da991e033e578d8aa55b46b232ec21.cpp new file mode 100644 index 00000000..f7d8de4e --- /dev/null +++ b/src/py/wrapper/wrapper_45da991e033e578d8aa55b46b232ec21.cpp @@ -0,0 +1,12 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_45da991e033e578d8aa55b46b232ec21(pybind11::module& module) +{ + + pybind11::class_::Type > class_45da991e033e578d8aa55b46b232ec21(module, "Facet", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp new file mode 100644 index 00000000..0fba6d33 --- /dev/null +++ b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp @@ -0,0 +1,53 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::MultivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::MultivariateConditionalDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; + typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; + virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; + + private: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; + typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + private: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; + virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + using class_type::copy; + }; +} + +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::MultivariateConditionalDistributionEstimation::Estimator::*method_pointer_45ab5c9717535df895abfb6127f37c74)(struct ::statiskit::MultivariateData const &, ::statiskit::Indices const &, ::statiskit::Indices const &)const= &::statiskit::MultivariateConditionalDistributionEstimation::Estimator::operator(); + +namespace autowig { +} + +void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module) +{ + + pybind11::class_::Type > class_4637f9b5c7175ff0880fd325a6eca119(module, "Estimator", ""); + class_4637f9b5c7175ff0880fd325a6eca119.def(pybind11::init< >()); + class_4637f9b5c7175ff0880fd325a6eca119.def("__call__", method_pointer_45ab5c9717535df895abfb6127f37c74, ""); + class_4637f9b5c7175ff0880fd325a6eca119.def("____call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_4637f9b5c7175ff0880fd325a6eca119.def("__copy", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) () const >(&autowig::Publicist::copy), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp b/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp new file mode 100644 index 00000000..d8db933d --- /dev/null +++ b/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_4698a0332a6a5c80ba9d7ffbcd83563e(module, "_PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e", ""); + class_4698a0332a6a5c80ba9d7ffbcd83563e.def(pybind11::init< >()); + class_4698a0332a6a5c80ba9d7ffbcd83563e.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_47e877e586e1567691c16ec40ec1eb13.cpp b/src/py/wrapper/wrapper_47e877e586e1567691c16ec40ec1eb13.cpp new file mode 100644 index 00000000..2a737767 --- /dev/null +++ b/src/py/wrapper/wrapper_47e877e586e1567691c16ec40ec1eb13.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator & (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator > >::*method_pointer_03d642ab3323512da4df5b36041aee31)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::operator*; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator > >::*method_pointer_8b3e797797e650df809ab1ff0ea75fac)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::get; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator > >::*method_pointer_6730fee032e9503e9a8efd1000f99700)()= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::release; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator > >::*method_pointer_b97302ac43be57889ab79db8c2aedcf5)(::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::pointer )= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::reset; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator > >::*method_pointer_558abe8a67745f3e9fdb99afa7550ec6)(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > &)= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > >::swap; + +namespace autowig { + void method_decorator_03d642ab3323512da4df5b36041aee31(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > const & instance, const class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator & param_out) { instance.operator*() = param_out; } +} + +void wrapper_47e877e586e1567691c16ec40ec1eb13(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp index da9e2a9c..e0a84fb2 100644 --- a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp +++ b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::UnivariateDispersionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_8f20422aab135f9fb601488df3d82cfa; virtual return_type_8f20422aab135f9fb601488df3d82cfa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8f20422aab135f9fb601488df3d82cfa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; @@ -27,6 +32,7 @@ void wrapper_484cc9c9d3f856c7aa18f642966f14a9(pybind11::module& module) { pybind11::class_::Type > class_484cc9c9d3f856c7aa18f642966f14a9(module, "Estimator", ""); + class_484cc9c9d3f856c7aa18f642966f14a9.def(pybind11::init< >()); class_484cc9c9d3f856c7aa18f642966f14a9.def("__call__", method_pointer_4e882ea0348e56a2816e3f3d20b8b14f, ""); class_484cc9c9d3f856c7aa18f642966f14a9.def("copy", method_pointer_8f20422aab135f9fb601488df3d82cfa, ""); diff --git a/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp b/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp new file mode 100644 index 00000000..a71271b9 --- /dev/null +++ b/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp @@ -0,0 +1,23 @@ +#include "_core.h" + +bool (::std::ctype< char >::*method_pointer_9dd924e9316e5530bf52d195c4a12410)(::std::ctype_base::mask , char )const= &::std::ctype< char >::is; +::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_257942a509e35d0d9ebec35f44bdc3a9)(::std::ctype< char >::char_type )const= &::std::ctype< char >::toupper; +::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_de1db92fef075cff9ae73cb8c7cd384a)(::std::ctype< char >::char_type )const= &::std::ctype< char >::tolower; +::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_c07755c6029c5d788287a798b839abc5)(char )const= &::std::ctype< char >::widen; +char (::std::ctype< char >::*method_pointer_625e9e2026b75458b11f4355faaa4269)(::std::ctype< char >::char_type , char )const= &::std::ctype< char >::narrow; + +namespace autowig { +} + +void wrapper_488de6b23c2d582c8382ac19e518b6a8(pybind11::module& module) +{ + + pybind11::class_, autowig::NoDeleteHolderType< class ::std::ctype< char > >::Type, class ::std::locale::facet, struct ::std::ctype_base > class_488de6b23c2d582c8382ac19e518b6a8(module, "_Ctype_488de6b23c2d582c8382ac19e518b6a8", ""); + class_488de6b23c2d582c8382ac19e518b6a8.def("is", method_pointer_9dd924e9316e5530bf52d195c4a12410, ""); + class_488de6b23c2d582c8382ac19e518b6a8.def("toupper", method_pointer_257942a509e35d0d9ebec35f44bdc3a9, ""); + class_488de6b23c2d582c8382ac19e518b6a8.def("tolower", method_pointer_de1db92fef075cff9ae73cb8c7cd384a, ""); + class_488de6b23c2d582c8382ac19e518b6a8.def("widen", method_pointer_c07755c6029c5d788287a798b839abc5, ""); + class_488de6b23c2d582c8382ac19e518b6a8.def("narrow", method_pointer_625e9e2026b75458b11f4355faaa4269, ""); + class_488de6b23c2d582c8382ac19e518b6a8.def_readonly_static("table_size", &::std::ctype< char >::table_size, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_48d411e601675e49961eaa93daeb1835.cpp b/src/py/wrapper/wrapper_48d411e601675e49961eaa93daeb1835.cpp index e782febc..7a8986fb 100644 --- a/src/py/wrapper/wrapper_48d411e601675e49961eaa93daeb1835.cpp +++ b/src/py/wrapper/wrapper_48d411e601675e49961eaa93daeb1835.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_48d411e601675e49961eaa93daeb1835(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_48d411e601675e49961eaa93daeb1835(module, "_CensoredEvent_48d411e601675e49961eaa93daeb1835", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > > class_48d411e601675e49961eaa93daeb1835(module, "_CensoredEvent_48d411e601675e49961eaa93daeb1835", ""); class_48d411e601675e49961eaa93daeb1835.def(pybind11::init< class ::std::vector< int, class ::std::allocator< int > > const & >()); class_48d411e601675e49961eaa93daeb1835.def(pybind11::init< class ::statiskit::CensoredEvent< struct ::statiskit::DiscreteEvent > const & >()); class_48d411e601675e49961eaa93daeb1835.def("get_values", method_pointer_6c71e4c59ca95bb8b1753b4b2642706f, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_49bd08872be751c291082c55ce0677e3.cpp b/src/py/wrapper/wrapper_49bd08872be751c291082c55ce0677e3.cpp index 431f4791..feba9eb3 100644 --- a/src/py/wrapper/wrapper_49bd08872be751c291082c55ce0677e3.cpp +++ b/src/py/wrapper/wrapper_49bd08872be751c291082c55ce0677e3.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_49bd08872be751c291082c55ce0677e3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateLocationEstimation::Estimator > class_49bd08872be751c291082c55ce0677e3(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator > > class_49bd08872be751c291082c55ce0677e3(module, "Estimator", ""); class_49bd08872be751c291082c55ce0677e3.def(pybind11::init< >()); class_49bd08872be751c291082c55ce0677e3.def(pybind11::init< struct ::statiskit::MultivariateMeanEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp new file mode 100644 index 00000000..54ab9298 --- /dev/null +++ b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_4b5bca62b7795925980272db0dce9ae7(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_4b5bca62b7795925980272db0dce9ae7(module, "_PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7", ""); + class_4b5bca62b7795925980272db0dce9ae7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp b/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp new file mode 100644 index 00000000..b6810aa8 --- /dev/null +++ b/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_4e2cec23d01552a2b35a809a21ed47b7(pybind11::module& module) +{ + + pybind11::class_::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_4e2cec23d01552a2b35a809a21ed47b7(module, "_PolymorphicCopy_4e2cec23d01552a2b35a809a21ed47b7", ""); + class_4e2cec23d01552a2b35a809a21ed47b7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp b/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp new file mode 100644 index 00000000..b77cdbf0 --- /dev/null +++ b/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_4f02856d2af15e4ba0bc8f413558566d(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_4f02856d2af15e4ba0bc8f413558566d(module, "_PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d", ""); + class_4f02856d2af15e4ba0bc8f413558566d.def(pybind11::init< >()); + class_4f02856d2af15e4ba0bc8f413558566d.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp b/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp index 39c835eb..0feff1e8 100644 --- a/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp +++ b/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_4f08e906137d58128853d1fc5d729fae(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_4f08e906137d58128853d1fc5d729fae(module, "Estimator", ""); class_4f08e906137d58128853d1fc5d729fae.def(pybind11::init< >()); class_4f08e906137d58128853d1fc5d729fae.def(pybind11::init< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator const & >()); class_4f08e906137d58128853d1fc5d729fae.def("get_maxbins", method_pointer_56fd39a8f6ed53729ecdf0bdc9056334, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_4f25ed2b505752de8ee46e2e6aa83af6.cpp b/src/py/wrapper/wrapper_4f25ed2b505752de8ee46e2e6aa83af6.cpp index cfad3900..98bf3d57 100644 --- a/src/py/wrapper/wrapper_4f25ed2b505752de8ee46e2e6aa83af6.cpp +++ b/src/py/wrapper/wrapper_4f25ed2b505752de8ee46e2e6aa83af6.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_4f25ed2b505752de8ee46e2e6aa83af6(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_4f25ed2b505752de8ee46e2e6aa83af6(module, "_RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > > class_4f25ed2b505752de8ee46e2e6aa83af6(module, "_RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6", ""); class_4f25ed2b505752de8ee46e2e6aa83af6.def(pybind11::init< double const & >()); class_4f25ed2b505752de8ee46e2e6aa83af6.def(pybind11::init< class ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent > const & >()); class_4f25ed2b505752de8ee46e2e6aa83af6.def("get_lower_bound", method_pointer_9aeec676e8e858f98c653f9ad009e3bd, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_505be4c829e95c51829a196fdbf7392f.cpp b/src/py/wrapper/wrapper_505be4c829e95c51829a196fdbf7392f.cpp index 24a33933..641470ae 100644 --- a/src/py/wrapper/wrapper_505be4c829e95c51829a196fdbf7392f.cpp +++ b/src/py/wrapper/wrapper_505be4c829e95c51829a196fdbf7392f.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_505be4c829e95c51829a196fdbf7392f(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_505be4c829e95c51829a196fdbf7392f(module, "GammaDistribution", "This class represents a Gamma distribution.\n\nThe Gamma distribution is an univariate continuous distribution. The\nsupport is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_505be4c829e95c51829a196fdbf7392f(module, "GammaDistribution", "This class represents a Gamma distribution.\n\nThe Gamma distribution is an univariate continuous distribution. The\nsupport is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); class_505be4c829e95c51829a196fdbf7392f.def(pybind11::init< >()); class_505be4c829e95c51829a196fdbf7392f.def(pybind11::init< double const &, double const & >()); class_505be4c829e95c51829a196fdbf7392f.def(pybind11::init< class ::statiskit::GammaDistribution const & >()); diff --git a/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp new file mode 100644 index 00000000..f760711d --- /dev/null +++ b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp @@ -0,0 +1,28 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation >::PolymorphicCopy; + + + public: + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; + virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_50d5d8b88c0d5eeea2e382dc4626754a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation > >::Type, class ::statiskit::MultivariateDispersionEstimation > class_50d5d8b88c0d5eeea2e382dc4626754a(module, "_PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp new file mode 100644 index 00000000..3abe6574 --- /dev/null +++ b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_513f1e95007657ac9d8f70c0a2356aac(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_513f1e95007657ac9d8f70c0a2356aac(module, "_PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac", ""); + class_513f1e95007657ac9d8f70c0a2356aac.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5180cb0278d15668832646c0905783b8.cpp b/src/py/wrapper/wrapper_5180cb0278d15668832646c0905783b8.cpp new file mode 100644 index 00000000..630b2388 --- /dev/null +++ b/src/py/wrapper/wrapper_5180cb0278d15668832646c0905783b8.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator & (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator > >::*method_pointer_7302531c823b59459c75615034a2a98e)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::operator*; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator > >::*method_pointer_ee61393c0e9f5844ae4a490f5568956f)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::get; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator > >::*method_pointer_58fc7bd2d7bb54f49138ea689255740e)()= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::release; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator > >::*method_pointer_2b4649d7fd425bc89c951b0ace68e1ad)(::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::pointer )= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::reset; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator > >::*method_pointer_225e1c93a5065f1a99cb69de15b80c66)(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > &)= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > >::swap; + +namespace autowig { + void method_decorator_7302531c823b59459c75615034a2a98e(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > const & instance, const class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator & param_out) { instance.operator*() = param_out; } +} + +void wrapper_5180cb0278d15668832646c0905783b8(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp index 4143eef2..3cf3f392 100644 --- a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp +++ b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSolver::SlopeHeuristicSolver; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp new file mode 100644 index 00000000..afbfda4f --- /dev/null +++ b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_5266ea37de9b57c680d01c7fb2421e89(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_5266ea37de9b57c680d01c7fb2421e89(module, "_PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89", ""); + class_5266ea37de9b57c680d01c7fb2421e89.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp b/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp new file mode 100644 index 00000000..447b3e09 --- /dev/null +++ b/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp @@ -0,0 +1,23 @@ +#include "_core.h" + +::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_603e265f5b7357c1bf35779d8e0966d0)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_response_data; +::statiskit::ConditionalDistributionEstimation::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_a798b507f2875022ad305c6f9cef8d44)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_explanatory_data; +::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::distribution_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_3571a20cb0aa59659ed80d219d7f0229)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_distribution; +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_9abc63382e6f5f8db5caa5876d667e65)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::copy; + +namespace autowig { +} + +void wrapper_53a566eea7215e8b945cbdedf3acf7bc(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > >::Type > class_53a566eea7215e8b945cbdedf3acf7bc(module, "_ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc", ""); + class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< >()); + class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::distribution_type const * >()); + class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > const & >()); + class_53a566eea7215e8b945cbdedf3acf7bc.def("get_response_data", method_pointer_603e265f5b7357c1bf35779d8e0966d0, pybind11::return_value_policy::reference_internal, ""); + class_53a566eea7215e8b945cbdedf3acf7bc.def("get_explanatory_data", method_pointer_a798b507f2875022ad305c6f9cef8d44, pybind11::return_value_policy::reference_internal, ""); + class_53a566eea7215e8b945cbdedf3acf7bc.def("get_distribution", method_pointer_3571a20cb0aa59659ed80d219d7f0229, pybind11::return_value_policy::reference_internal, ""); + class_53a566eea7215e8b945cbdedf3acf7bc.def("copy", method_pointer_9abc63382e6f5f8db5caa5876d667e65, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp index 9981d777..99dfb5cc 100644 --- a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp +++ b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp @@ -9,30 +9,44 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistribution::ContinuousUnivariateDistribution; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; @@ -52,6 +66,7 @@ void wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::UnivariateDistribution > class_54cf6a9a8b6f55e88b9761ceaf79ba3f(module, "ContinuousUnivariateDistribution", "This virtual class ContinuousUnivariateDistribution represents the\ndistribution of a random continuous component $ X$. The support is $\n:raw-latex:`\\mathbb{R}` $ and we have $\n:raw-latex:`\\int`\\_{-:raw-latex:`\\infty`}^{:raw-latex:`\\infty`} f(x) dx\n= 1$.\n\n"); + class_54cf6a9a8b6f55e88b9761ceaf79ba3f.def(pybind11::init< >()); class_54cf6a9a8b6f55e88b9761ceaf79ba3f.def("ldf", method_pointer_2843df1d3dc6596aaccccc3a0dd5da36, "Compute the log-probability density of a value.\n\nLet $x :raw-latex:`\\in `:raw-latex:`\\mathbb{R}` $ denote the value, $\n:raw-latex:`\\ln `f(x) = :raw-latex:`\\ln `P:raw-latex:`\\left`(X\n:raw-latex:`\\in `dx:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`double`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_54cf6a9a8b6f55e88b9761ceaf79ba3f.def("pdf", method_pointer_30c20faf3f5a515d9541c73f1eb020df, "Compute the probability density of a value.\n\nLet $x :raw-latex:`\\in `:raw-latex:`\\mathbb{R}` $ denote the value, $\nf(x) = P:raw-latex:`\\left`(X :raw-latex:`\\in `dx:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`double`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_54cf6a9a8b6f55e88b9761ceaf79ba3f.def("cdf", method_pointer_3e9327a27cc259a1a813cf253bd84642, "Compute the cumulative probability of a value.\n\nLet $x :raw-latex:`\\in `:raw-latex:`\\mathbb{R}` $ denote the value, $\nP:raw-latex:`\\left`(X :raw-latex:`\\leq `x :raw-latex:`\\right`) =\n:raw-latex:`\\int`\\_{-:raw-latex:`\\infty`}^x f(t) dt $.\n\n:Parameter:\n `value` (:cpp:any:`double`) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp index b88c0b69..6f8f7d61 100644 --- a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp +++ b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp @@ -7,13 +7,21 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateLocationEstimation::MultivariateLocationEstimation; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_cb99710039d950ecbfd26547709627ec; + virtual return_type_cb99710039d950ecbfd26547709627ec copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_cb99710039d950ecbfd26547709627ec, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; } class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MultivariateLocationEstimation::*method_pointer_79a5b0a58645590a8356a14195e34da5)()const= &::statiskit::MultivariateLocationEstimation::get_location; +class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > (::statiskit::MultivariateLocationEstimation::*method_pointer_cb99710039d950ecbfd26547709627ec)()const= &::statiskit::MultivariateLocationEstimation::copy; namespace autowig { } @@ -22,6 +30,8 @@ void wrapper_5517439c40d6505682aa2e58ed6cea33(pybind11::module& module) { pybind11::class_::Type > class_5517439c40d6505682aa2e58ed6cea33(module, "MultivariateLocationEstimation", ""); + class_5517439c40d6505682aa2e58ed6cea33.def(pybind11::init< >()); class_5517439c40d6505682aa2e58ed6cea33.def("get_location", method_pointer_79a5b0a58645590a8356a14195e34da5, pybind11::return_value_policy::copy, ""); + class_5517439c40d6505682aa2e58ed6cea33.def("copy", method_pointer_cb99710039d950ecbfd26547709627ec, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp new file mode 100644 index 00000000..3ee82836 --- /dev/null +++ b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_551c927628b651a19489817a39ededb8(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteUnivariateDistribution >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_551c927628b651a19489817a39ededb8(module, "_PolymorphicCopy_551c927628b651a19489817a39ededb8", ""); + class_551c927628b651a19489817a39ededb8.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5562b8b01aa050b886b919c9b81686f5.cpp b/src/py/wrapper/wrapper_5562b8b01aa050b886b919c9b81686f5.cpp index 18883415..5b9819fe 100644 --- a/src/py/wrapper/wrapper_5562b8b01aa050b886b919c9b81686f5.cpp +++ b/src/py/wrapper/wrapper_5562b8b01aa050b886b919c9b81686f5.cpp @@ -7,8 +7,8 @@ namespace autowig { void wrapper_5562b8b01aa050b886b919c9b81686f5(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_5562b8b01aa050b886b919c9b81686f5(module, "DirichletMultinomialSingularDistributionEstimation", ""); - class_5562b8b01aa050b886b919c9b81686f5.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation, class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > > class_5562b8b01aa050b886b919c9b81686f5(module, "DirichletMultinomialSingularDistributionEstimation", ""); + class_5562b8b01aa050b886b919c9b81686f5.def(pybind11::init< >()); class_5562b8b01aa050b886b919c9b81686f5.def(pybind11::init< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp b/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp new file mode 100644 index 00000000..bf180c2d --- /dev/null +++ b/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_55903cb2e67650868a4cd698632375c1(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_55903cb2e67650868a4cd698632375c1(module, "_PolymorphicCopy_55903cb2e67650868a4cd698632375c1", ""); + class_55903cb2e67650868a4cd698632375c1.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_55c811c1cb0f58cf8dbf62aa61f8d814.cpp b/src/py/wrapper/wrapper_55c811c1cb0f58cf8dbf62aa61f8d814.cpp index bba4d35a..cdd85384 100644 --- a/src/py/wrapper/wrapper_55c811c1cb0f58cf8dbf62aa61f8d814.cpp +++ b/src/py/wrapper/wrapper_55c811c1cb0f58cf8dbf62aa61f8d814.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_55c811c1cb0f58cf8dbf62aa61f8d814(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > > class_55c811c1cb0f58cf8dbf62aa61f8d814(module, "MultinormalDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > > class_55c811c1cb0f58cf8dbf62aa61f8d814(module, "MultinormalDistribution", ""); class_55c811c1cb0f58cf8dbf62aa61f8d814.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & >()); class_55c811c1cb0f58cf8dbf62aa61f8d814.def(pybind11::init< class ::statiskit::MultinormalDistribution const & >()); class_55c811c1cb0f58cf8dbf62aa61f8d814.def("get_mu", method_pointer_c8bbfad5ecf85392beceef1fb0fb5eb8, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp b/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp new file mode 100644 index 00000000..cb7ca93c --- /dev/null +++ b/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp @@ -0,0 +1,34 @@ +#include "_core.h" + +::std::streamsize (::std::ios_base::*method_pointer_48b849583ebd5cffb48df9fffa5c39e4)()const= &::std::ios_base::precision; +::std::streamsize (::std::ios_base::*method_pointer_7dce16c0188457d496873f7f8411c53d)(::std::streamsize )= &::std::ios_base::precision; +::std::streamsize (::std::ios_base::*method_pointer_f9a9622f5d14595aad7b0ff13aac72ad)()const= &::std::ios_base::width; +::std::streamsize (::std::ios_base::*method_pointer_eafd237d52e0502c9eae565718817c85)(::std::streamsize )= &::std::ios_base::width; +bool (*method_pointer_642ee2614f1a5ca5a34ee6ccea5b0b39)(bool )= ::std::ios_base::sync_with_stdio; +class ::std::locale (::std::ios_base::*method_pointer_5b6536b65c305eb8b11844e126b6799e)(class ::std::locale const &)= &::std::ios_base::imbue; +class ::std::locale (::std::ios_base::*method_pointer_7abb1da4ca8651bfa91319be26c40f5d)()const= &::std::ios_base::getloc; +class ::std::locale const & (::std::ios_base::*method_pointer_44e9c3dcf1c65e0c84afee91c1927f70)()const= &::std::ios_base::_M_getloc; +int (*method_pointer_08afc6a17c1d570481821132c7e45e80)()= ::std::ios_base::xalloc; +long int & (::std::ios_base::*method_pointer_4152bddb47d352a08f31cb74e24a1918)(int )= &::std::ios_base::iword; + +namespace autowig { + void method_decorator_4152bddb47d352a08f31cb74e24a1918(class ::std::ios_base & instance, int param_in_0, long int param_out) { instance.iword(param_in_0) = param_out; } +} + +void wrapper_5647113ef4105dfab0588ffcaf6c479b(pybind11::module& module) +{ + + pybind11::class_::Type > class_5647113ef4105dfab0588ffcaf6c479b(module, "IosBase", ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("precision", method_pointer_48b849583ebd5cffb48df9fffa5c39e4, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("precision", method_pointer_7dce16c0188457d496873f7f8411c53d, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("width", method_pointer_f9a9622f5d14595aad7b0ff13aac72ad, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("width", method_pointer_eafd237d52e0502c9eae565718817c85, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def_static("sync_with_stdio", method_pointer_642ee2614f1a5ca5a34ee6ccea5b0b39, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("imbue", method_pointer_5b6536b65c305eb8b11844e126b6799e, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("getloc", method_pointer_7abb1da4ca8651bfa91319be26c40f5d, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("m__getloc", method_pointer_44e9c3dcf1c65e0c84afee91c1927f70, pybind11::return_value_policy::copy, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def_static("xalloc", method_pointer_08afc6a17c1d570481821132c7e45e80, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("iword", method_pointer_4152bddb47d352a08f31cb74e24a1918, pybind11::return_value_policy::copy, ""); + class_5647113ef4105dfab0588ffcaf6c479b.def("iword", autowig::method_decorator_4152bddb47d352a08f31cb74e24a1918); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5678c4d7ca565a7d9dbc239c27111073.cpp b/src/py/wrapper/wrapper_5678c4d7ca565a7d9dbc239c27111073.cpp index 7a292b87..7c8abf13 100644 --- a/src/py/wrapper/wrapper_5678c4d7ca565a7d9dbc239c27111073.cpp +++ b/src/py/wrapper/wrapper_5678c4d7ca565a7d9dbc239c27111073.cpp @@ -1,7 +1,6 @@ #include "_core.h" void (::statiskit::UnivariateDataFrame::*method_pointer_b2b45040751857d9942654209dd4fdac)(struct ::statiskit::UnivariateSampleSpace const &)= &::statiskit::UnivariateDataFrame::set_sample_space; -::statiskit::Index (::statiskit::UnivariateDataFrame::*method_pointer_ec123cb9662359159705d2b9db63dcaf)()const= &::statiskit::UnivariateDataFrame::get_nb_events; struct ::statiskit::UnivariateEvent const * (::statiskit::UnivariateDataFrame::*method_pointer_acfaaecaae6e563198d7e451796407a2)(::statiskit::Index const &)const= &::statiskit::UnivariateDataFrame::get_event; void (::statiskit::UnivariateDataFrame::*method_pointer_ce7b8fa1ade75b408b8f489683745f15)(::statiskit::Index const &, struct ::statiskit::UnivariateEvent const *)= &::statiskit::UnivariateDataFrame::set_event; void (::statiskit::UnivariateDataFrame::*method_pointer_09c311d9e4475939affd9d4717d290fb)(struct ::statiskit::UnivariateEvent const *)= &::statiskit::UnivariateDataFrame::add_event; @@ -15,11 +14,10 @@ namespace autowig { void wrapper_5678c4d7ca565a7d9dbc239c27111073(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, class ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >, class ::statiskit::NamedData > class_5678c4d7ca565a7d9dbc239c27111073(module, "UnivariateDataFrame", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >, class ::statiskit::NamedData > class_5678c4d7ca565a7d9dbc239c27111073(module, "UnivariateDataFrame", ""); class_5678c4d7ca565a7d9dbc239c27111073.def(pybind11::init< struct ::statiskit::UnivariateSampleSpace const & >()); class_5678c4d7ca565a7d9dbc239c27111073.def(pybind11::init< class ::statiskit::UnivariateDataFrame const & >()); class_5678c4d7ca565a7d9dbc239c27111073.def("set_sample_space", method_pointer_b2b45040751857d9942654209dd4fdac, ""); - class_5678c4d7ca565a7d9dbc239c27111073.def("get_nb_events", method_pointer_ec123cb9662359159705d2b9db63dcaf, ""); class_5678c4d7ca565a7d9dbc239c27111073.def("get_event", method_pointer_acfaaecaae6e563198d7e451796407a2, pybind11::return_value_policy::reference_internal, ""); class_5678c4d7ca565a7d9dbc239c27111073.def("set_event", method_pointer_ce7b8fa1ade75b408b8f489683745f15, ""); class_5678c4d7ca565a7d9dbc239c27111073.def("add_event", method_pointer_09c311d9e4475939affd9d4717d290fb, ""); diff --git a/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp b/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp new file mode 100644 index 00000000..a5fad52f --- /dev/null +++ b/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_5881d40c671d5a6eaeba5e461dc55622(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_5881d40c671d5a6eaeba5e461dc55622(module, "_PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622", ""); + class_5881d40c671d5a6eaeba5e461dc55622.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp index 69b02c89..169155c2 100644 --- a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp +++ b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp @@ -9,27 +9,51 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::MultivariateData >::WeightedData; + + public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; - virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; - typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; - virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; - typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; - virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; - virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; + typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; + virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; + typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; + virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; + typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; + virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: + typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; + virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: + typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; + virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; + virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; } -struct ::statiskit::MultivariateData const * (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_24860636c996556c8cece089c4290285)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_data; +struct ::statiskit::MultivariateSampleSpace const * (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_b5f43de177835cf7a8332223a0439efa)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_sample_space; +struct ::statiskit::MultivariateData const * (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_0ff6cd4afd5d5c6bafd6a862adb38410)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::origin; ::statiskit::Index (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_2ce657ba87ce5daf9e0bc47c5dc1432e)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_nb_weights; double (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_7da327a8236953bdbdbe7d839fab134b)(::statiskit::Index const &)const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_weight; void (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_cbfdf5edbda858af9e4598c8ab86074d)(::statiskit::Index const &, double const &)= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::set_weight; @@ -41,8 +65,9 @@ void wrapper_5b5f1c1f4aa852eab398cea6df20fee2(pybind11::module& module) { pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > >::Type, struct ::statiskit::MultivariateData > class_5b5f1c1f4aa852eab398cea6df20fee2(module, "_WeightedData_5b5f1c1f4aa852eab398cea6df20fee2", ""); - class_5b5f1c1f4aa852eab398cea6df20fee2.def(pybind11::init< >()); - class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_data", method_pointer_24860636c996556c8cece089c4290285, pybind11::return_value_policy::reference_internal, ""); + class_5b5f1c1f4aa852eab398cea6df20fee2.def(pybind11::init< struct ::statiskit::MultivariateData const & >()); + class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_sample_space", method_pointer_b5f43de177835cf7a8332223a0439efa, pybind11::return_value_policy::reference_internal, ""); + class_5b5f1c1f4aa852eab398cea6df20fee2.def("origin", method_pointer_0ff6cd4afd5d5c6bafd6a862adb38410, pybind11::return_value_policy::reference_internal, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_nb_weights", method_pointer_2ce657ba87ce5daf9e0bc47c5dc1432e, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_weight", method_pointer_7da327a8236953bdbdbe7d839fab134b, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("set_weight", method_pointer_cbfdf5edbda858af9e4598c8ab86074d, ""); diff --git a/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp new file mode 100644 index 00000000..8c86dd02 --- /dev/null +++ b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; + typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; + virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: + typedef double return_type_acdea368f48f572bb000ce0a3e887539; + typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; + typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; + virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: + typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; + virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: + typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; + virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_5cf53138947354ddb9f4e01b4b221762(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > >::Type, struct ::statiskit::SingularDistribution > class_5cf53138947354ddb9f4e01b4b221762(module, "_PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762", ""); + class_5cf53138947354ddb9f4e01b4b221762.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp b/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp new file mode 100644 index 00000000..cf513cff --- /dev/null +++ b/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< unsigned int, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_a74cb2405bc152ebabe44883247057ce)()const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; +unsigned int const (::statiskit::IterativeEstimation< unsigned int, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_3959405db584517a8238c988a5f67a83)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_5ed6f55d014d5a74a1d1acafef440cde(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_5ed6f55d014d5a74a1d1acafef440cde(module, "_IterativeEstimation_5ed6f55d014d5a74a1d1acafef440cde", ""); + class_5ed6f55d014d5a74a1d1acafef440cde.def(pybind11::init< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + class_5ed6f55d014d5a74a1d1acafef440cde.def("__len__", method_pointer_a74cb2405bc152ebabe44883247057ce, ""); + class_5ed6f55d014d5a74a1d1acafef440cde.def("at_step", method_pointer_3959405db584517a8238c988a5f67a83, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5fefecf0971c53a682b5075141e39dc0.cpp b/src/py/wrapper/wrapper_5fefecf0971c53a682b5075141e39dc0.cpp index 87d3ac8e..7d9ccc01 100644 --- a/src/py/wrapper/wrapper_5fefecf0971c53a682b5075141e39dc0.cpp +++ b/src/py/wrapper/wrapper_5fefecf0971c53a682b5075141e39dc0.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_5fefecf0971c53a682b5075141e39dc0(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::SlopeHeuristicIWLSSolver > class_5fefecf0971c53a682b5075141e39dc0(module, "SlopeHeuristicBiSquareSolver", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver > > class_5fefecf0971c53a682b5075141e39dc0(module, "SlopeHeuristicBiSquareSolver", ""); class_5fefecf0971c53a682b5075141e39dc0.def(pybind11::init< >()); class_5fefecf0971c53a682b5075141e39dc0.def(pybind11::init< class ::statiskit::SlopeHeuristicBiSquareSolver const & >()); class_5fefecf0971c53a682b5075141e39dc0.def("get_k", method_pointer_9bddc4d28425559fa247588656301e76, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_6100283fa34c5dc5af23228c1af7758a.cpp b/src/py/wrapper/wrapper_6100283fa34c5dc5af23228c1af7758a.cpp index 4efe1d12..6660a161 100644 --- a/src/py/wrapper/wrapper_6100283fa34c5dc5af23228c1af7758a.cpp +++ b/src/py/wrapper/wrapper_6100283fa34c5dc5af23228c1af7758a.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_6100283fa34c5dc5af23228c1af7758a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_6100283fa34c5dc5af23228c1af7758a(module, "ExponentialDistribution", "This class represents a exponential distribution.\n\nThe exponential distribution is an univariate continuous distribution.\nThe support is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_6100283fa34c5dc5af23228c1af7758a(module, "ExponentialDistribution", "This class represents a exponential distribution.\n\nThe exponential distribution is an univariate continuous distribution.\nThe support is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); class_6100283fa34c5dc5af23228c1af7758a.def(pybind11::init< >()); class_6100283fa34c5dc5af23228c1af7758a.def(pybind11::init< double const & >()); class_6100283fa34c5dc5af23228c1af7758a.def(pybind11::init< class ::statiskit::ExponentialDistribution const & >()); diff --git a/src/py/wrapper/wrapper_621822ae142e56979bee170334c7a63a.cpp b/src/py/wrapper/wrapper_621822ae142e56979bee170334c7a63a.cpp new file mode 100644 index 00000000..3f868cea --- /dev/null +++ b/src/py/wrapper/wrapper_621822ae142e56979bee170334c7a63a.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator > >::*method_pointer_ae7827e8006c5eeeb7edbe3b83c035b1)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator > >::*method_pointer_fca116f8914c50dd978ea12973e9d27b)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator > >::*method_pointer_f9e3364a79b85e5988821fc54e7859a9)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator > >::*method_pointer_5463b8114e9a5b20837f3c0babd2d4dc)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator > >::*method_pointer_d5a72b6ea0ca5736a563850990f68b40)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > >::swap; + +namespace autowig { + void method_decorator_ae7827e8006c5eeeb7edbe3b83c035b1(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator & param_out) { instance.operator*() = param_out; } +} + +void wrapper_621822ae142e56979bee170334c7a63a(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp index d01c3a4c..41b01089 100644 --- a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp +++ b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistribution::ContinuousMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; @@ -32,5 +42,6 @@ void wrapper_622b4b6c4fef5b119cba23181cff6cf6(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::MultivariateDistribution > class_622b4b6c4fef5b119cba23181cff6cf6(module, "ContinuousMultivariateDistribution", ""); + class_622b4b6c4fef5b119cba23181cff6cf6.def(pybind11::init< >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_62bb4890a4005e5aabb044b5bfeb72ea.cpp b/src/py/wrapper/wrapper_62bb4890a4005e5aabb044b5bfeb72ea.cpp index d5c0b24f..11324707 100644 --- a/src/py/wrapper/wrapper_62bb4890a4005e5aabb044b5bfeb72ea.cpp +++ b/src/py/wrapper/wrapper_62bb4890a4005e5aabb044b5bfeb72ea.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_62bb4890a4005e5aabb044b5bfeb72ea(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > > class_62bb4890a4005e5aabb044b5bfeb72ea(module, "BinaryDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > > class_62bb4890a4005e5aabb044b5bfeb72ea(module, "BinaryDistribution", ""); class_62bb4890a4005e5aabb044b5bfeb72ea.def(pybind11::init< >()); class_62bb4890a4005e5aabb044b5bfeb72ea.def(pybind11::init< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & >()); class_62bb4890a4005e5aabb044b5bfeb72ea.def(pybind11::init< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const &, double const & >()); diff --git a/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp new file mode 100644 index 00000000..240b7a0a --- /dev/null +++ b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; + + + public: + typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; + typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; + virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_63f5048eedae564391cd268a0107428f(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector > >::Type, struct ::statiskit::SlopeHeuristicSelector > class_63f5048eedae564391cd268a0107428f(module, "_PolymorphicCopy_63f5048eedae564391cd268a0107428f", ""); + class_63f5048eedae564391cd268a0107428f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp index 3eda216a..8a18de39 100644 --- a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp +++ b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp @@ -9,16 +9,16 @@ namespace autowig public: using ::statiskit::SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver; + + protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; - typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; - virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp index 57a39d98..86aed49c 100644 --- a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp +++ b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp @@ -9,21 +9,27 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::UnivariateData >::WeightedData; + + public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_57b9553abf9954478e69ba31cf3316cb; - virtual return_type_57b9553abf9954478e69ba31cf3316cb generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_57b9553abf9954478e69ba31cf3316cb, class_type, generator, ); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; - virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; - typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; - virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; + + public: + typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; + virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; + virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; } -struct ::statiskit::UnivariateData const * (::statiskit::WeightedData< ::statiskit::UnivariateData >::*method_pointer_92c5532a3e0f5f3da7c680e762f4907d)()const= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::get_data; +struct ::statiskit::UnivariateData const * (::statiskit::WeightedData< ::statiskit::UnivariateData >::*method_pointer_509e21af356d596dbf6a212258cdfbbe)()const= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::origin; ::statiskit::Index (::statiskit::WeightedData< ::statiskit::UnivariateData >::*method_pointer_fffe7b48b166550baaca4c08c07a0847)()const= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::get_nb_weights; double (::statiskit::WeightedData< ::statiskit::UnivariateData >::*method_pointer_d0e260fcdc205b2eba4822c5ec5880d0)(::statiskit::Index const &)const= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::get_weight; void (::statiskit::WeightedData< ::statiskit::UnivariateData >::*method_pointer_2d5ccb9b59a85039917dbc4ac3b10b92)(::statiskit::Index const &, double const &)= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::set_weight; @@ -35,8 +41,8 @@ void wrapper_64ae6eddce405116ba534ed722881799(pybind11::module& module) { pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > >::Type, struct ::statiskit::UnivariateData > class_64ae6eddce405116ba534ed722881799(module, "_WeightedData_64ae6eddce405116ba534ed722881799", ""); - class_64ae6eddce405116ba534ed722881799.def(pybind11::init< >()); - class_64ae6eddce405116ba534ed722881799.def("get_data", method_pointer_92c5532a3e0f5f3da7c680e762f4907d, pybind11::return_value_policy::reference_internal, ""); + class_64ae6eddce405116ba534ed722881799.def(pybind11::init< struct ::statiskit::UnivariateData const & >()); + class_64ae6eddce405116ba534ed722881799.def("origin", method_pointer_509e21af356d596dbf6a212258cdfbbe, pybind11::return_value_policy::reference_internal, ""); class_64ae6eddce405116ba534ed722881799.def("get_nb_weights", method_pointer_fffe7b48b166550baaca4c08c07a0847, ""); class_64ae6eddce405116ba534ed722881799.def("get_weight", method_pointer_d0e260fcdc205b2eba4822c5ec5880d0, ""); class_64ae6eddce405116ba534ed722881799.def("set_weight", method_pointer_2d5ccb9b59a85039917dbc4ac3b10b92, ""); diff --git a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp index c7a76a05..15d0e32a 100644 --- a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp +++ b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteSampleSpace::DiscreteSampleSpace; - typedef enum ::statiskit::ordering_type return_type_1c79f8878a485dcf8ba547f4277ceac9; - virtual return_type_1c79f8878a485dcf8ba547f4277ceac9 get_ordering() const override { PYBIND11_OVERLOAD(return_type_1c79f8878a485dcf8ba547f4277ceac9, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ef088c60e12c52ca84b4af897e2a354b; - virtual return_type_ef088c60e12c52ca84b4af897e2a354b get_outcome() const override { PYBIND11_OVERLOAD(return_type_ef088c60e12c52ca84b4af897e2a354b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_65947043f3a35049b50e8d74f93075cf.cpp b/src/py/wrapper/wrapper_65947043f3a35049b50e8d74f93075cf.cpp index 896f20cc..bb07d505 100644 --- a/src/py/wrapper/wrapper_65947043f3a35049b50e8d74f93075cf.cpp +++ b/src/py/wrapper/wrapper_65947043f3a35049b50e8d74f93075cf.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_65947043f3a35049b50e8d74f93075cf(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateDispersionEstimation::Estimator > class_65947043f3a35049b50e8d74f93075cf(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator > > class_65947043f3a35049b50e8d74f93075cf(module, "Estimator", ""); class_65947043f3a35049b50e8d74f93075cf.def(pybind11::init< >()); class_65947043f3a35049b50e8d74f93075cf.def(pybind11::init< bool const & >()); class_65947043f3a35049b50e8d74f93075cf.def(pybind11::init< class ::statiskit::UnivariateVarianceEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp new file mode 100644 index 00000000..5a58cff4 --- /dev/null +++ b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::Estimator; + + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; + typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; + virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*method_pointer_e0f51277c2d15a7b848e5e67281ff6ad)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator::copy; + +namespace autowig { +} + +void wrapper_663730845d925082a43337bf446ebf00(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator >::Type > class_663730845d925082a43337bf446ebf00(module, "Estimator", ""); + class_663730845d925082a43337bf446ebf00.def(pybind11::init< >()); + class_663730845d925082a43337bf446ebf00.def("copy", method_pointer_e0f51277c2d15a7b848e5e67281ff6ad, ""); + class_663730845d925082a43337bf446ebf00.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp b/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp new file mode 100644 index 00000000..008fef8e --- /dev/null +++ b/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(pybind11::module& module) +{ + + pybind11::class_::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_66d9b98a90ce5f338f4cf2e1c0e583ae(module, "_PolymorphicCopy_66d9b98a90ce5f338f4cf2e1c0e583ae", ""); + class_66d9b98a90ce5f338f4cf2e1c0e583ae.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp new file mode 100644 index 00000000..4a94cc5e --- /dev/null +++ b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_66f947be876e54a4901f1a9633fffbaf(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_66f947be876e54a4901f1a9633fffbaf(module, "_PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf", ""); + class_66f947be876e54a4901f1a9633fffbaf.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp new file mode 100644 index 00000000..33bf8930 --- /dev/null +++ b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_68d58bb20b4e507ea69ba2065530644b(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_68d58bb20b4e507ea69ba2065530644b(module, "_PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b", ""); + class_68d58bb20b4e507ea69ba2065530644b.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp new file mode 100644 index 00000000..6abcf4cd --- /dev/null +++ b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp @@ -0,0 +1,53 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_69913377d1325b99bc7469de4f5cf375(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > >::Type, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_69913377d1325b99bc7469de4f5cf375(module, "_PolymorphicCopy_69913377d1325b99bc7469de4f5cf375", ""); + class_69913377d1325b99bc7469de4f5cf375.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp index 253a610f..4fd41133 100644 --- a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp +++ b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::ContinuousEvent::ContinuousEvent; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; - virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; } diff --git a/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp b/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp new file mode 100644 index 00000000..19fa276f --- /dev/null +++ b/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(pybind11::module& module) +{ + + pybind11::class_::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_6ccbb61746f857cfafd8b031a8f6a6d9(module, "_PolymorphicCopy_6ccbb61746f857cfafd8b031a8f6a6d9", ""); + class_6ccbb61746f857cfafd8b031a8f6a6d9.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp index 32158093..08ee462b 100644 --- a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp +++ b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistribution::MultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; @@ -25,7 +35,6 @@ namespace autowig ::statiskit::Index (::statiskit::MultivariateConditionalDistribution::*method_pointer_5c154b63f1c35786827ec4701044e25a)()const= &::statiskit::MultivariateConditionalDistribution::get_nb_components; struct ::statiskit::MultivariateDistribution const * (::statiskit::MultivariateConditionalDistribution::*method_pointer_3285f0544f0e5aada41213932efa56a7)(struct ::statiskit::MultivariateEvent const &)const= &::statiskit::MultivariateConditionalDistribution::operator(); -double (::statiskit::MultivariateConditionalDistribution::*method_pointer_7e3a06a6af745947b31f4facd34b7010)(class ::statiskit::MultivariateConditionalData const &)const= &::statiskit::MultivariateConditionalDistribution::loglikelihood; struct ::statiskit::MultivariateSampleSpace const * (::statiskit::MultivariateConditionalDistribution::*method_pointer_7efcb466ce8a5d1094143e91829eeb72)()const= &::statiskit::MultivariateConditionalDistribution::get_explanatory_space; unsigned int (::statiskit::MultivariateConditionalDistribution::*method_pointer_645f02f88f8b570697bc8d8b93b48d3b)()const= &::statiskit::MultivariateConditionalDistribution::get_nb_parameters; class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > (::statiskit::MultivariateConditionalDistribution::*method_pointer_5602cdbf2c275bce8b45653e1d25ff61)()const= &::statiskit::MultivariateConditionalDistribution::copy; @@ -39,7 +48,6 @@ void wrapper_6d1d52249a4c562691e57f68df4bcc06(pybind11::module& module) pybind11::class_::Type > class_6d1d52249a4c562691e57f68df4bcc06(module, "MultivariateConditionalDistribution", ""); class_6d1d52249a4c562691e57f68df4bcc06.def("get_nb_components", method_pointer_5c154b63f1c35786827ec4701044e25a, ""); class_6d1d52249a4c562691e57f68df4bcc06.def("__call__", method_pointer_3285f0544f0e5aada41213932efa56a7, pybind11::return_value_policy::reference_internal, ""); - class_6d1d52249a4c562691e57f68df4bcc06.def("loglikelihood", method_pointer_7e3a06a6af745947b31f4facd34b7010, ""); class_6d1d52249a4c562691e57f68df4bcc06.def("get_explanatory_space", method_pointer_7efcb466ce8a5d1094143e91829eeb72, pybind11::return_value_policy::reference_internal, ""); class_6d1d52249a4c562691e57f68df4bcc06.def("get_nb_parameters", method_pointer_645f02f88f8b570697bc8d8b93b48d3b, ""); class_6d1d52249a4c562691e57f68df4bcc06.def("copy", method_pointer_5602cdbf2c275bce8b45653e1d25ff61, ""); diff --git a/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp new file mode 100644 index 00000000..46e365cf --- /dev/null +++ b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_6d256cdc2e1253b8823893d5d72bc031(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_6d256cdc2e1253b8823893d5d72bc031(module, "_PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031", ""); + class_6d256cdc2e1253b8823893d5d72bc031.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d51d5c1ef2d5f1bb98935798af976e0.cpp b/src/py/wrapper/wrapper_6d51d5c1ef2d5f1bb98935798af976e0.cpp new file mode 100644 index 00000000..bdf8ef63 --- /dev/null +++ b/src/py/wrapper/wrapper_6d51d5c1ef2d5f1bb98935798af976e0.cpp @@ -0,0 +1,22 @@ +#include "_core.h" + +double (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_574dc45165355bb2b40d40079eaeaac7)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_shift; +void (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_1e95cb49491155a1bcc03373fedaea32)(double const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_shift; +::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::estimator_type const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_fd79432338a9535782d486a7ec60f926)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_b58055ed0c995a8abfee3865e8d0fcde)(::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::estimator_type const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_estimator; + +namespace autowig { +} + +void wrapper_6d51d5c1ef2d5f1bb98935798af976e0(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_6d51d5c1ef2d5f1bb98935798af976e0(module, "Estimator", ""); + class_6d51d5c1ef2d5f1bb98935798af976e0.def(pybind11::init< >()); + class_6d51d5c1ef2d5f1bb98935798af976e0.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator const & >()); + class_6d51d5c1ef2d5f1bb98935798af976e0.def("get_shift", method_pointer_574dc45165355bb2b40d40079eaeaac7, ""); + class_6d51d5c1ef2d5f1bb98935798af976e0.def("set_shift", method_pointer_1e95cb49491155a1bcc03373fedaea32, ""); + class_6d51d5c1ef2d5f1bb98935798af976e0.def("get_estimator", method_pointer_fd79432338a9535782d486a7ec60f926, pybind11::return_value_policy::reference_internal, ""); + class_6d51d5c1ef2d5f1bb98935798af976e0.def("set_estimator", method_pointer_b58055ed0c995a8abfee3865e8d0fcde, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp index c55bd4f5..fdb3ea5a 100644 --- a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp +++ b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp @@ -9,28 +9,25 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - class Publicist : public class_type - { public: - using class_type::identifier; - using class_type::children; + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; }; } -class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > (::statiskit::MultivariateDistributionEstimation::Estimator::*method_pointer_0cfbeb46728f5e3393b2f59c4a91a99d)(::statiskit::MultivariateDistributionEstimation::data_type const &, bool const &)const= &::statiskit::MultivariateDistributionEstimation::Estimator::operator(); -class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > (::statiskit::MultivariateDistributionEstimation::Estimator::*method_pointer_20397b66478a59f481c4e33cec98b652)()const= &::statiskit::MultivariateDistributionEstimation::Estimator::copy; +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::MultivariateDistributionEstimation::Estimator::*method_pointer_56bfe1476d1c5751ac9fe73ff87e4079)(struct ::statiskit::MultivariateData const &, ::statiskit::Indices const &)const= &::statiskit::MultivariateDistributionEstimation::Estimator::operator(); namespace autowig { } @@ -38,8 +35,8 @@ namespace autowig { void wrapper_6eb1ba92b1d158b09999c16267a2ec28(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::Estimator > class_6eb1ba92b1d158b09999c16267a2ec28(module, "Estimator", ""); - class_6eb1ba92b1d158b09999c16267a2ec28.def("__call__", method_pointer_0cfbeb46728f5e3393b2f59c4a91a99d, ""); - class_6eb1ba92b1d158b09999c16267a2ec28.def("copy", method_pointer_20397b66478a59f481c4e33cec98b652, ""); + pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > class_6eb1ba92b1d158b09999c16267a2ec28(module, "Estimator", ""); + class_6eb1ba92b1d158b09999c16267a2ec28.def(pybind11::init< >()); + class_6eb1ba92b1d158b09999c16267a2ec28.def("__call__", method_pointer_56bfe1476d1c5751ac9fe73ff87e4079, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp b/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp new file mode 100644 index 00000000..0df43bb1 --- /dev/null +++ b/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::data_type const * (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::*method_pointer_8300865ac1645fa39dcee8a5ab8d600f)()const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::get_data; +::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::distribution_type const * (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::*method_pointer_4372f251e6ca5621b45002541872f846)()const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::get_distribution; +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::*method_pointer_9005909659fe5420ac3457068040454b)()const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::copy; + +namespace autowig { +} + +void wrapper_6f54a1805d7d5e6b9796d225ad86ca34(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > >::Type > class_6f54a1805d7d5e6b9796d225ad86ca34(module, "_DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34", ""); + class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< >()); + class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::distribution_type const * >()); + class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > const & >()); + class_6f54a1805d7d5e6b9796d225ad86ca34.def("get_data", method_pointer_8300865ac1645fa39dcee8a5ab8d600f, pybind11::return_value_policy::reference_internal, ""); + class_6f54a1805d7d5e6b9796d225ad86ca34.def("get_distribution", method_pointer_4372f251e6ca5621b45002541872f846, pybind11::return_value_policy::reference_internal, ""); + class_6f54a1805d7d5e6b9796d225ad86ca34.def("copy", method_pointer_9005909659fe5420ac3457068040454b, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp new file mode 100644 index 00000000..15b5b465 --- /dev/null +++ b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; + + + public: + typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; + typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; + virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_6fac6a71bec1544eaecb1b57399ee5ec(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_6fac6a71bec1544eaecb1b57399ee5ec(module, "_PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec", ""); + class_6fac6a71bec1544eaecb1b57399ee5ec.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp new file mode 100644 index 00000000..0768fe09 --- /dev/null +++ b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_6fd71629a95855bbad845fa81b27f4d5(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_6fd71629a95855bbad845fa81b27f4d5(module, "_PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5", ""); + class_6fd71629a95855bbad845fa81b27f4d5.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp b/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp new file mode 100644 index 00000000..a7d6d009 --- /dev/null +++ b/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_700bbebe1a2a5b0699f46ca77b7ea310(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_700bbebe1a2a5b0699f46ca77b7ea310(module, "_PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310", ""); + class_700bbebe1a2a5b0699f46ca77b7ea310.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp new file mode 100644 index 00000000..bad668d2 --- /dev/null +++ b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; + + + public: + typedef double return_type_004876688c73571590d218338cd011b5; + typedef double const & param_004876688c73571590d218338cd011b5_0_type; + virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_73e107092bdb5be2a9ec6e31772ffd09(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > >::Type, struct ::statiskit::Schedule > class_73e107092bdb5be2a9ec6e31772ffd09(module, "_PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09", ""); + class_73e107092bdb5be2a9ec6e31772ffd09.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp new file mode 100644 index 00000000..036a516d --- /dev/null +++ b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp @@ -0,0 +1,34 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent >::PolymorphicCopy; + + + public: + typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; + typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; + virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: + typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; + virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_7466a1a79edf5312955ff663594f561b(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent > >::Type, struct ::statiskit::MultivariateEvent > class_7466a1a79edf5312955ff663594f561b(module, "_PolymorphicCopy_7466a1a79edf5312955ff663594f561b", ""); + class_7466a1a79edf5312955ff663594f561b.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp index 02d29efb..21b52498 100644 --- a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp +++ b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp @@ -7,18 +7,29 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::SingularDistribution::SingularDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; @@ -38,6 +49,7 @@ void wrapper_76d258d0b30f5e3a94d02ba97954104b(pybind11::module& module) { pybind11::class_::Type > class_76d258d0b30f5e3a94d02ba97954104b(module, "SingularDistribution", ""); + class_76d258d0b30f5e3a94d02ba97954104b.def(pybind11::init< >()); class_76d258d0b30f5e3a94d02ba97954104b.def("get_nb_components", method_pointer_0d6cc8e9b1fb50da9e07aa24ca7b9901, ""); class_76d258d0b30f5e3a94d02ba97954104b.def("get_nb_parameters", method_pointer_2c1d7ed64e3e5d1aa53e91bf74bfffd9, ""); class_76d258d0b30f5e3a94d02ba97954104b.def("probability", method_pointer_acdea368f48f572bb000ce0a3e887539, ""); diff --git a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp new file mode 100644 index 00000000..8a7cf74d --- /dev/null +++ b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp @@ -0,0 +1,12 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module) +{ + + pybind11::class_::Type > class_779c0e94601b5238932a999e37acfdea(module, "DiscreteUnivariateFrequencyDistributionEstimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp index f9eeabce..c5987a4b 100644 --- a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp +++ b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp @@ -4,7 +4,7 @@ void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); + pybind11::enum_< ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); enum_78fa594811935c2ea4b4905d733f141f.value("INFERIOR", ::statiskit::size_error::inferior); enum_78fa594811935c2ea4b4905d733f141f.value("EQUAL", ::statiskit::size_error::equal); enum_78fa594811935c2ea4b4905d733f141f.value("SUPERIOR", ::statiskit::size_error::superior); diff --git a/src/py/wrapper/wrapper_79c03425b8505668b16ffdd958127107.cpp b/src/py/wrapper/wrapper_79c03425b8505668b16ffdd958127107.cpp new file mode 100644 index 00000000..1a6ab517 --- /dev/null +++ b/src/py/wrapper/wrapper_79c03425b8505668b16ffdd958127107.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_79c03425b8505668b16ffdd958127107(pybind11::module& module) +{ + + pybind11::class_ >::sentry, autowig::HolderType< class ::std::basic_ostream< char, struct ::std::char_traits< char > >::sentry >::Type > class_79c03425b8505668b16ffdd958127107(module, "Sentry", ""); + class_79c03425b8505668b16ffdd958127107.def(pybind11::init< class ::std::basic_ostream< char, struct ::std::char_traits< char > > & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_79e2f422f64050e2896852975f3b368d.cpp b/src/py/wrapper/wrapper_79e2f422f64050e2896852975f3b368d.cpp new file mode 100644 index 00000000..903b3888 --- /dev/null +++ b/src/py/wrapper/wrapper_79e2f422f64050e2896852975f3b368d.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_79e2f422f64050e2896852975f3b368d(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_79e2f422f64050e2896852975f3b368d(module, "_PolymorphicCopy_79e2f422f64050e2896852975f3b368d", ""); + class_79e2f422f64050e2896852975f3b368d.def(pybind11::init< >()); + class_79e2f422f64050e2896852975f3b368d.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp new file mode 100644 index 00000000..6a769c6c --- /dev/null +++ b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_7d52c5fa83fa5b7abbc12831a19a2931(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::CategoricalEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent > >::Type, struct ::statiskit::CategoricalEvent > class_7d52c5fa83fa5b7abbc12831a19a2931(module, "_PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931", ""); + class_7d52c5fa83fa5b7abbc12831a19a2931.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7e4c2f85b93b5cc399280098492de425.cpp b/src/py/wrapper/wrapper_7e4c2f85b93b5cc399280098492de425.cpp new file mode 100644 index 00000000..140526c6 --- /dev/null +++ b/src/py/wrapper/wrapper_7e4c2f85b93b5cc399280098492de425.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_7e4c2f85b93b5cc399280098492de425(pybind11::module& module) +{ + + pybind11::class_, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation, class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > >::Type, class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > class_7e4c2f85b93b5cc399280098492de425(module, "_PolymorphicCopy_7e4c2f85b93b5cc399280098492de425", ""); + class_7e4c2f85b93b5cc399280098492de425.def(pybind11::init< >()); + class_7e4c2f85b93b5cc399280098492de425.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation, class ::statiskit::IterativeEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp index f6846501..1ffaae2a 100644 --- a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp +++ b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistribution::UnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; @@ -22,7 +30,6 @@ namespace autowig } struct ::statiskit::UnivariateDistribution const * (::statiskit::UnivariateConditionalDistribution::*method_pointer_53f978a20dca5ccd9144b1aeb74559b6)(struct ::statiskit::MultivariateEvent const &)const= &::statiskit::UnivariateConditionalDistribution::operator(); -double (::statiskit::UnivariateConditionalDistribution::*method_pointer_8dba0d01abc159cf8681ca1cca6dbacb)(class ::statiskit::UnivariateConditionalData const &)const= &::statiskit::UnivariateConditionalDistribution::loglikelihood; struct ::statiskit::MultivariateSampleSpace const * (::statiskit::UnivariateConditionalDistribution::*method_pointer_152a627d69cd5b35837e015943fc1e75)()const= &::statiskit::UnivariateConditionalDistribution::get_explanatory_space; unsigned int (::statiskit::UnivariateConditionalDistribution::*method_pointer_a19605344e725c65ab302819d1663dbe)()const= &::statiskit::UnivariateConditionalDistribution::get_nb_parameters; class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > (::statiskit::UnivariateConditionalDistribution::*method_pointer_2d42bbbaff065a9cb38813f62e9dafda)()const= &::statiskit::UnivariateConditionalDistribution::copy; @@ -35,7 +42,6 @@ void wrapper_7ed55bcdec33582fb2767f7d96937c85(pybind11::module& module) pybind11::class_::Type > class_7ed55bcdec33582fb2767f7d96937c85(module, "UnivariateConditionalDistribution", ""); class_7ed55bcdec33582fb2767f7d96937c85.def("__call__", method_pointer_53f978a20dca5ccd9144b1aeb74559b6, pybind11::return_value_policy::reference_internal, ":Parameter:\n `event` (:cpp:class:`::statiskit::MultivariateEvent`) - Undocumented\n\n:Return Type:\n :cpp:class:`::statiskit::UnivariateDistribution`\n\n"); - class_7ed55bcdec33582fb2767f7d96937c85.def("loglikelihood", method_pointer_8dba0d01abc159cf8681ca1cca6dbacb, ""); class_7ed55bcdec33582fb2767f7d96937c85.def("get_explanatory_space", method_pointer_152a627d69cd5b35837e015943fc1e75, pybind11::return_value_policy::reference_internal, ":Return Type:\n :cpp:class:`::statiskit::MultivariateSampleSpace`\n\n"); class_7ed55bcdec33582fb2767f7d96937c85.def("get_nb_parameters", method_pointer_a19605344e725c65ab302819d1663dbe, ":Return Type:\n :cpp:any:`unsigned` int\n\n"); class_7ed55bcdec33582fb2767f7d96937c85.def("copy", method_pointer_2d42bbbaff065a9cb38813f62e9dafda, ""); diff --git a/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp new file mode 100644 index 00000000..6a7c3be5 --- /dev/null +++ b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::Estimator; + + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; + typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; + virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*method_pointer_030642c36da6500fb2e89aacc274d46b)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator::copy; + +namespace autowig { +} + +void wrapper_7f05968a172a528da4c7ae7e40d9faa7(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator >::Type > class_7f05968a172a528da4c7ae7e40d9faa7(module, "Estimator", ""); + class_7f05968a172a528da4c7ae7e40d9faa7.def(pybind11::init< >()); + class_7f05968a172a528da4c7ae7e40d9faa7.def("copy", method_pointer_030642c36da6500fb2e89aacc274d46b, ""); + class_7f05968a172a528da4c7ae7e40d9faa7.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp b/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp new file mode 100644 index 00000000..d1726e5e --- /dev/null +++ b/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_81e358ca53ad5cb480953fedfe8cee0b(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_81e358ca53ad5cb480953fedfe8cee0b(module, "_PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b", ""); + class_81e358ca53ad5cb480953fedfe8cee0b.def(pybind11::init< >()); + class_81e358ca53ad5cb480953fedfe8cee0b.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8273d59d3b9f581fa07283ea1cce6a0f.cpp b/src/py/wrapper/wrapper_8273d59d3b9f581fa07283ea1cce6a0f.cpp new file mode 100644 index 00000000..7c10a3b3 --- /dev/null +++ b/src/py/wrapper/wrapper_8273d59d3b9f581fa07283ea1cce6a0f.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_8273d59d3b9f581fa07283ea1cce6a0f(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_8273d59d3b9f581fa07283ea1cce6a0f(module, "_ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f", ""); + class_8273d59d3b9f581fa07283ea1cce6a0f.def(pybind11::init< >()); + class_8273d59d3b9f581fa07283ea1cce6a0f.def(pybind11::init< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp b/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp new file mode 100644 index 00000000..3cd655f8 --- /dev/null +++ b/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_830457bcfd9a53298ff673c9b6d66714(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_830457bcfd9a53298ff673c9b6d66714(module, "_PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714", ""); + class_830457bcfd9a53298ff673c9b6d66714.def(pybind11::init< >()); + class_830457bcfd9a53298ff673c9b6d66714.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_839b61ecb09d54819eb38cf69dde50bb.cpp b/src/py/wrapper/wrapper_839b61ecb09d54819eb38cf69dde50bb.cpp index 666ab731..a0755c67 100644 --- a/src/py/wrapper/wrapper_839b61ecb09d54819eb38cf69dde50bb.cpp +++ b/src/py/wrapper/wrapper_839b61ecb09d54819eb38cf69dde50bb.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_839b61ecb09d54819eb38cf69dde50bb(pybind11::module& module) { - pybind11::class_, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > > class_839b61ecb09d54819eb38cf69dde50bb(module, "_QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb", ""); + pybind11::class_, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > > class_839b61ecb09d54819eb38cf69dde50bb(module, "_QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb", ""); class_839b61ecb09d54819eb38cf69dde50bb.def(pybind11::init< class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & >()); class_839b61ecb09d54819eb38cf69dde50bb.def(pybind11::init< class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_839b61ecb09d54819eb38cf69dde50bb.def(pybind11::init< class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const & >()); diff --git a/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp new file mode 100644 index 00000000..83686a5b --- /dev/null +++ b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; + virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: + typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; + typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; + virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: + typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; + virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: + typedef double return_type_bf87506bdef85834a040bd514141c40f; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; + virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_8408f59ac7205444bbaf4ef2fb92867d(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > >::Type, struct ::statiskit::CategoricalUnivariateDistribution > class_8408f59ac7205444bbaf4ef2fb92867d(module, "_PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d", ""); + class_8408f59ac7205444bbaf4ef2fb92867d.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_85102754beff532db66ca292ea3a6486.cpp b/src/py/wrapper/wrapper_85102754beff532db66ca292ea3a6486.cpp index e8e21c3c..2151ac09 100644 --- a/src/py/wrapper/wrapper_85102754beff532db66ca292ea3a6486.cpp +++ b/src/py/wrapper/wrapper_85102754beff532db66ca292ea3a6486.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_85102754beff532db66ca292ea3a6486(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > > class_85102754beff532db66ca292ea3a6486(module, "_ShiftedDistribution_85102754beff532db66ca292ea3a6486", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > > class_85102754beff532db66ca292ea3a6486(module, "_ShiftedDistribution_85102754beff532db66ca292ea3a6486", ""); class_85102754beff532db66ca292ea3a6486.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistribution const &, int const & >()); class_85102754beff532db66ca292ea3a6486.def(pybind11::init< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const & >()); class_85102754beff532db66ca292ea3a6486.def("get_shift", method_pointer_79ecaaf3284e534fbcf899fbbc0fd104, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_851931d00bce5cabad06313cbacce91b.cpp b/src/py/wrapper/wrapper_851931d00bce5cabad06313cbacce91b.cpp index 0f12bf26..89cccbfa 100644 --- a/src/py/wrapper/wrapper_851931d00bce5cabad06313cbacce91b.cpp +++ b/src/py/wrapper/wrapper_851931d00bce5cabad06313cbacce91b.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_851931d00bce5cabad06313cbacce91b(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_851931d00bce5cabad06313cbacce91b(module, "GumbelDistribution", "This class GumbelDistribution represents a `Gumbel\ndistribution `__\n(maximum).\n\nThe Gumbel distribution (maximum) is an univariate continuous\ndistribution. It is also called extreme value type I distribution\n(maximum). The support is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_851931d00bce5cabad06313cbacce91b(module, "GumbelDistribution", "This class GumbelDistribution represents a `Gumbel\ndistribution `__\n(maximum).\n\nThe Gumbel distribution (maximum) is an univariate continuous\ndistribution. It is also called extreme value type I distribution\n(maximum). The support is the set of real values :math:`\\mathbb{R}`.\n\n"); class_851931d00bce5cabad06313cbacce91b.def(pybind11::init< >()); class_851931d00bce5cabad06313cbacce91b.def(pybind11::init< double const &, double const & >()); class_851931d00bce5cabad06313cbacce91b.def(pybind11::init< class ::statiskit::GumbelDistribution const & >()); diff --git a/src/py/wrapper/wrapper_85e5d9c1d86a574d8623fe4bb0164527.cpp b/src/py/wrapper/wrapper_85e5d9c1d86a574d8623fe4bb0164527.cpp index 37fcbbf2..f11b8278 100644 --- a/src/py/wrapper/wrapper_85e5d9c1d86a574d8623fe4bb0164527.cpp +++ b/src/py/wrapper/wrapper_85e5d9c1d86a574d8623fe4bb0164527.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_85e5d9c1d86a574d8623fe4bb0164527(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_85e5d9c1d86a574d8623fe4bb0164527(module, "_ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > > class_85e5d9c1d86a574d8623fe4bb0164527(module, "_ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527", ""); class_85e5d9c1d86a574d8623fe4bb0164527.def(pybind11::init< int const & >()); class_85e5d9c1d86a574d8623fe4bb0164527.def(pybind11::init< class ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent > const & >()); class_85e5d9c1d86a574d8623fe4bb0164527.def("get_value", method_pointer_2a3a0db3adea56158741771284715f12, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp b/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp new file mode 100644 index 00000000..e35fcc8a --- /dev/null +++ b/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_8637850c39dc51d3a7ea186462c65e2a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_8637850c39dc51d3a7ea186462c65e2a(module, "_PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a", ""); + class_8637850c39dc51d3a7ea186462c65e2a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp new file mode 100644 index 00000000..0938120a --- /dev/null +++ b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_864140a02b1554ffbf15f5c312a38d8c(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_864140a02b1554ffbf15f5c312a38d8c(module, "_PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c", ""); + class_864140a02b1554ffbf15f5c312a38d8c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp b/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp index edfa3283..dee1e41a 100644 --- a/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp +++ b/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp @@ -7,7 +7,8 @@ namespace autowig { void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_871f2a5a4b135dfeb5ac066db0fbca5c(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_871f2a5a4b135dfeb5ac066db0fbca5c(module, "Estimator", ""); class_871f2a5a4b135dfeb5ac066db0fbca5c.def(pybind11::init< >()); + class_871f2a5a4b135dfeb5ac066db0fbca5c.def(pybind11::init< struct ::statiskit::NormalDistributionMLEstimation::Estimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp index 1be6917f..9e53c929 100644 --- a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp +++ b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp @@ -9,6 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::UnivariateDispersionEstimation; + + public: + typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_0b82141bcbce5248908bd378832e2a9c; + virtual return_type_0b82141bcbce5248908bd378832e2a9c copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0b82141bcbce5248908bd378832e2a9c, class_type, copy, ); }; + + public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; @@ -16,6 +22,7 @@ namespace autowig double const & (::statiskit::UnivariateDispersionEstimation::*method_pointer_0301fbd58a7a5c1388ceb1e5f1396915)()const= &::statiskit::UnivariateDispersionEstimation::get_location; double const & (::statiskit::UnivariateDispersionEstimation::*method_pointer_a18c7d90bacb538d9895cf5c0091b871)()const= &::statiskit::UnivariateDispersionEstimation::get_dispersion; +class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > (::statiskit::UnivariateDispersionEstimation::*method_pointer_0b82141bcbce5248908bd378832e2a9c)()const= &::statiskit::UnivariateDispersionEstimation::copy; namespace autowig { } @@ -27,5 +34,6 @@ void wrapper_87b566a692cb54b18914b54eb295ef9a(pybind11::module& module) class_87b566a692cb54b18914b54eb295ef9a.def(pybind11::init< double const & >()); class_87b566a692cb54b18914b54eb295ef9a.def("get_location", method_pointer_0301fbd58a7a5c1388ceb1e5f1396915, pybind11::return_value_policy::copy, ""); class_87b566a692cb54b18914b54eb295ef9a.def("get_dispersion", method_pointer_a18c7d90bacb538d9895cf5c0091b871, pybind11::return_value_policy::copy, ""); + class_87b566a692cb54b18914b54eb295ef9a.def("copy", method_pointer_0b82141bcbce5248908bd378832e2a9c, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp index 1ed0bb8c..e9108e7d 100644 --- a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp +++ b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp @@ -7,31 +7,50 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateData::MultivariateData; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; - typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; - virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; - typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; - virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; - virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; + typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; + virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; + typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; + virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; + typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; + virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: + typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; + virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: + typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; + virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; - typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; - virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; }; } -::statiskit::Index (::statiskit::MultivariateData::*method_pointer_e5fc456b4a2d5131b0cd3ab814baba49)()const= &::statiskit::MultivariateData::size; class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > (::statiskit::MultivariateData::*method_pointer_facf1de3504b5543b1eed987285d8673)()const= &::statiskit::MultivariateData::generator; -struct ::statiskit::MultivariateSampleSpace const * (::statiskit::MultivariateData::*method_pointer_2da46638257d59e48fa1636c64d254bf)()const= &::statiskit::MultivariateData::get_sample_space; -class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > (::statiskit::MultivariateData::*method_pointer_03ae26ff6e5c56ac9c1e8dc84d177549)(::statiskit::Index const &)const= &::statiskit::MultivariateData::extract; -class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > (::statiskit::MultivariateData::*method_pointer_6458b57af188571eb3d4621eb252540b)(::statiskit::Indices const &)const= &::statiskit::MultivariateData::extract; -class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > (::statiskit::MultivariateData::*method_pointer_772fe48a3d9157a8866c84dd1f9b5675)()const= &::statiskit::MultivariateData::copy; +::statiskit::Index (::statiskit::MultivariateData::*method_pointer_9a45dee4cb885178bcb89ced8cb3face)()const= &::statiskit::MultivariateData::get_nb_events; double (::statiskit::MultivariateData::*method_pointer_21b09584f6625e14abe2acdb420c6b08)()const= &::statiskit::MultivariateData::compute_total; +::statiskit::Index (::statiskit::MultivariateData::*method_pointer_c47e79caf5975050b200ee7ce97df8ff)()const= &::statiskit::MultivariateData::get_nb_components; +struct ::statiskit::UnivariateSampleSpace const * (::statiskit::MultivariateData::*method_pointer_ac6508992c5b5503bd21d9306d7865ab)(::statiskit::Index const &)const= &::statiskit::MultivariateData::get_sample_space; +class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > (::statiskit::MultivariateData::*method_pointer_c396af3cbd155448853ecc949208ba01)(::statiskit::Index const &)const= &::statiskit::MultivariateData::select; +class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > (::statiskit::MultivariateData::*method_pointer_f64a6810607b5e87abd849016a7257a8)(::statiskit::Indices const &)const= &::statiskit::MultivariateData::select; +class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > (::statiskit::MultivariateData::*method_pointer_772fe48a3d9157a8866c84dd1f9b5675)()const= &::statiskit::MultivariateData::copy; namespace autowig { } @@ -40,12 +59,14 @@ void wrapper_88cb53c05b215504b1f0ee0564765af0(pybind11::module& module) { pybind11::class_::Type > class_88cb53c05b215504b1f0ee0564765af0(module, "MultivariateData", ""); - class_88cb53c05b215504b1f0ee0564765af0.def("__len__", method_pointer_e5fc456b4a2d5131b0cd3ab814baba49, ""); + class_88cb53c05b215504b1f0ee0564765af0.def(pybind11::init< >()); class_88cb53c05b215504b1f0ee0564765af0.def("__iter__", method_pointer_facf1de3504b5543b1eed987285d8673, ""); - class_88cb53c05b215504b1f0ee0564765af0.def("get_sample_space", method_pointer_2da46638257d59e48fa1636c64d254bf, pybind11::return_value_policy::reference_internal, ""); - class_88cb53c05b215504b1f0ee0564765af0.def("extract", method_pointer_03ae26ff6e5c56ac9c1e8dc84d177549, ""); - class_88cb53c05b215504b1f0ee0564765af0.def("extract", method_pointer_6458b57af188571eb3d4621eb252540b, ""); - class_88cb53c05b215504b1f0ee0564765af0.def("copy", method_pointer_772fe48a3d9157a8866c84dd1f9b5675, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("get_nb_events", method_pointer_9a45dee4cb885178bcb89ced8cb3face, ""); class_88cb53c05b215504b1f0ee0564765af0.def("compute_total", method_pointer_21b09584f6625e14abe2acdb420c6b08, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("get_nb_components", method_pointer_c47e79caf5975050b200ee7ce97df8ff, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("get_sample_space", method_pointer_ac6508992c5b5503bd21d9306d7865ab, pybind11::return_value_policy::reference_internal, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("select", method_pointer_c396af3cbd155448853ecc949208ba01, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("select", method_pointer_f64a6810607b5e87abd849016a7257a8, ""); + class_88cb53c05b215504b1f0ee0564765af0.def("copy", method_pointer_772fe48a3d9157a8866c84dd1f9b5675, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp b/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp new file mode 100644 index 00000000..5dd835a4 --- /dev/null +++ b/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_b8d633dd3fba502087b924858a0fd3c3)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::size; +struct ::statiskit::SingularDistribution const * (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_24b830382ee05c73b073881f4f58f9f7)(::statiskit::Index const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::get_distribution; +double const & (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_bb87061374485ac6adaf5ed60315f642)(::statiskit::Index const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::get_score; + +namespace autowig { +} + +void wrapper_8d9f50f674e25529b3d059a5a5380bcb(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > class_8d9f50f674e25529b3d059a5a5380bcb(module, "_Selection_8d9f50f674e25529b3d059a5a5380bcb", ""); + class_8d9f50f674e25529b3d059a5a5380bcb.def(pybind11::init< >()); + class_8d9f50f674e25529b3d059a5a5380bcb.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); + class_8d9f50f674e25529b3d059a5a5380bcb.def(pybind11::init< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > const & >()); + class_8d9f50f674e25529b3d059a5a5380bcb.def("__len__", method_pointer_b8d633dd3fba502087b924858a0fd3c3, ""); + class_8d9f50f674e25529b3d059a5a5380bcb.def("get_distribution", method_pointer_24b830382ee05c73b073881f4f58f9f7, pybind11::return_value_policy::reference_internal, ""); + class_8d9f50f674e25529b3d059a5a5380bcb.def("get_score", method_pointer_bb87061374485ac6adaf5ed60315f642, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp b/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp new file mode 100644 index 00000000..00bae202 --- /dev/null +++ b/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_8dc14cd974045db7ab63d2d8c0c5c496(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_8dc14cd974045db7ab63d2d8c0c5c496(module, "_PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496", ""); + class_8dc14cd974045db7ab63d2d8c0c5c496.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp new file mode 100644 index 00000000..3ae23bf6 --- /dev/null +++ b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp @@ -0,0 +1,53 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::UnivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::UnivariateConditionalDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; + typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; + typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; + typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; + virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; + + private: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; + typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + private: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; + virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + using class_type::copy; + }; +} + +class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::UnivariateConditionalDistributionEstimation::Estimator::*method_pointer_2e84d0444d9f5eb29e764d81a82e587c)(struct ::statiskit::MultivariateData const &, ::statiskit::Index const &, ::statiskit::Indices const &)const= &::statiskit::UnivariateConditionalDistributionEstimation::Estimator::operator(); + +namespace autowig { +} + +void wrapper_8dcb38f525415f5eb16b5b180a314eab(pybind11::module& module) +{ + + pybind11::class_::Type > class_8dcb38f525415f5eb16b5b180a314eab(module, "Estimator", ""); + class_8dcb38f525415f5eb16b5b180a314eab.def(pybind11::init< >()); + class_8dcb38f525415f5eb16b5b180a314eab.def("__call__", method_pointer_2e84d0444d9f5eb29e764d81a82e587c, ""); + class_8dcb38f525415f5eb16b5b180a314eab.def("____call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_8dcb38f525415f5eb16b5b180a314eab.def("__copy", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) () const >(&autowig::Publicist::copy), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp b/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp index 312a9af7..0b83e3ec 100644 --- a/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp +++ b/src/py/wrapper/wrapper_8efea02ccdc156c4aa5aae37b04b810a.cpp @@ -15,7 +15,7 @@ namespace autowig { void wrapper_8efea02ccdc156c4aa5aae37b04b810a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > > class_8efea02ccdc156c4aa5aae37b04b810a(module, "OrdinalDistribution", "This class OrdinalDistribution represents the distribution of a random\nordinal component $ S$. The support is a finite ordered set of\ncategories (string) $ :raw-latex:`\\mathcal{S}`\n=:raw-latex:`\\left`:raw-latex:`\\lbrace `s_1, :raw-latex:`\\ldots`, s_J\n:raw-latex:`\\right`:raw-latex:`\\rbrace `$ and we have $\n:raw-latex:`\\sum`\\_{j=1}^J P(S=s_j) = 1 $.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > > class_8efea02ccdc156c4aa5aae37b04b810a(module, "OrdinalDistribution", "This class OrdinalDistribution represents the distribution of a random\nordinal component $ S$. The support is a finite ordered set of\ncategories (string) $ :raw-latex:`\\mathcal{S}`\n=:raw-latex:`\\left`:raw-latex:`\\lbrace `s_1, :raw-latex:`\\ldots`, s_J\n:raw-latex:`\\right`:raw-latex:`\\rbrace `$ and we have $\n:raw-latex:`\\sum`\\_{j=1}^J P(S=s_j) = 1 $.\n\n"); class_8efea02ccdc156c4aa5aae37b04b810a.def(pybind11::init< class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & >()); class_8efea02ccdc156c4aa5aae37b04b810a.def(pybind11::init< class ::std::vector< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_8efea02ccdc156c4aa5aae37b04b810a.def(pybind11::init< class ::statiskit::OrdinalDistribution const & >()); diff --git a/src/py/wrapper/wrapper_8f6b8d601b265537abfca5a924ae495d.cpp b/src/py/wrapper/wrapper_8f6b8d601b265537abfca5a924ae495d.cpp index c449703c..1f950cea 100644 --- a/src/py/wrapper/wrapper_8f6b8d601b265537abfca5a924ae495d.cpp +++ b/src/py/wrapper/wrapper_8f6b8d601b265537abfca5a924ae495d.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_8f6b8d601b265537abfca5a924ae495d(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::MultivariateDispersionEstimation > class_8f6b8d601b265537abfca5a924ae495d(module, "MultivariateVarianceEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation > > class_8f6b8d601b265537abfca5a924ae495d(module, "MultivariateVarianceEstimation", ""); class_8f6b8d601b265537abfca5a924ae495d.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &, class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const &, bool const & >()); class_8f6b8d601b265537abfca5a924ae495d.def(pybind11::init< class ::statiskit::MultivariateVarianceEstimation const & >()); class_8f6b8d601b265537abfca5a924ae495d.def("get_bias", method_pointer_c09df8176bf655ddbb0dc17cf26df734, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp b/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp new file mode 100644 index 00000000..826ddd4d --- /dev/null +++ b/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::data_type const * (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::*method_pointer_e4a2a9b682fa5d1ab1a7d05a0b75b056)()const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::get_data; +::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::distribution_type const * (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::*method_pointer_ad69595ceb9f55ff84afe57d082c5819)()const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::get_distribution; +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::*method_pointer_62da80c8000c54c3b93b222f1b724508)()const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::copy; + +namespace autowig { +} + +void wrapper_91c5962ae4f35199bc2e90b5edad8412(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > >::Type > class_91c5962ae4f35199bc2e90b5edad8412(module, "_DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412", ""); + class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< >()); + class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::distribution_type const * >()); + class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > const & >()); + class_91c5962ae4f35199bc2e90b5edad8412.def("get_data", method_pointer_e4a2a9b682fa5d1ab1a7d05a0b75b056, pybind11::return_value_policy::reference_internal, ""); + class_91c5962ae4f35199bc2e90b5edad8412.def("get_distribution", method_pointer_ad69595ceb9f55ff84afe57d082c5819, pybind11::return_value_policy::reference_internal, ""); + class_91c5962ae4f35199bc2e90b5edad8412.def("copy", method_pointer_62da80c8000c54c3b93b222f1b724508, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp new file mode 100644 index 00000000..108c0dd8 --- /dev/null +++ b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; + typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; + virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_9662a6a016085675978d04e2bc87a7f3(module, "Estimator", ""); + class_9662a6a016085675978d04e2bc87a7f3.def(pybind11::init< >()); + class_9662a6a016085675978d04e2bc87a7f3.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_966a285304c1551a9a283e9a8bd4917e.cpp b/src/py/wrapper/wrapper_966a285304c1551a9a283e9a8bd4917e.cpp new file mode 100644 index 00000000..df32c425 --- /dev/null +++ b/src/py/wrapper/wrapper_966a285304c1551a9a283e9a8bd4917e.cpp @@ -0,0 +1,22 @@ +#include "_core.h" + +int (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_0d55c01b2eec5f748231ef290dc05d5c)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_shift; +void (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_cd935413479b521f848b79af8b07372e)(int const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_shift; +::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::estimator_type const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_ae163cd6a1e4577f9b23e1b3a41103c0)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_c95e6c176cdd5134933d0001a4221b85)(::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::estimator_type const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_estimator; + +namespace autowig { +} + +void wrapper_966a285304c1551a9a283e9a8bd4917e(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_966a285304c1551a9a283e9a8bd4917e(module, "Estimator", ""); + class_966a285304c1551a9a283e9a8bd4917e.def(pybind11::init< >()); + class_966a285304c1551a9a283e9a8bd4917e.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator const & >()); + class_966a285304c1551a9a283e9a8bd4917e.def("get_shift", method_pointer_0d55c01b2eec5f748231ef290dc05d5c, ""); + class_966a285304c1551a9a283e9a8bd4917e.def("set_shift", method_pointer_cd935413479b521f848b79af8b07372e, ""); + class_966a285304c1551a9a283e9a8bd4917e.def("get_estimator", method_pointer_ae163cd6a1e4577f9b23e1b3a41103c0, pybind11::return_value_policy::reference_internal, ""); + class_966a285304c1551a9a283e9a8bd4917e.def("set_estimator", method_pointer_c95e6c176cdd5134933d0001a4221b85, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp b/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp new file mode 100644 index 00000000..10a44f81 --- /dev/null +++ b/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp @@ -0,0 +1,24 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_96902179d8e1527ab8396789f078e437(pybind11::module& module) +{ + + pybind11::class_::Type > class_96902179d8e1527ab8396789f078e437(module, "CtypeBase", ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("upper", &::std::ctype_base::upper, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("lower", &::std::ctype_base::lower, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("alpha", &::std::ctype_base::alpha, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("digit", &::std::ctype_base::digit, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("xdigit", &::std::ctype_base::xdigit, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("space", &::std::ctype_base::space, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("print", &::std::ctype_base::print, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("graph", &::std::ctype_base::graph, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("cntrl", &::std::ctype_base::cntrl, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("punct", &::std::ctype_base::punct, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("alnum", &::std::ctype_base::alnum, ""); + class_96902179d8e1527ab8396789f078e437.def_readonly_static("blank", &::std::ctype_base::blank, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_96a5a23f253351d38c0689328d0d8eb2.cpp b/src/py/wrapper/wrapper_96a5a23f253351d38c0689328d0d8eb2.cpp new file mode 100644 index 00000000..57f1a9f4 --- /dev/null +++ b/src/py/wrapper/wrapper_96a5a23f253351d38c0689328d0d8eb2.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +struct ::statiskit::MultivariateData const * (::statiskit::IndexSelectedData::*method_pointer_7f2f4c108cf75898ab48e37fb8037786)()const= &::statiskit::IndexSelectedData::origin; +::statiskit::Index (::statiskit::IndexSelectedData::*method_pointer_7f1a472f52ad59cb95b2616b04e31e93)()const= &::statiskit::IndexSelectedData::get_index; + +namespace autowig { +} + +void wrapper_96a5a23f253351d38c0689328d0d8eb2(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData > > class_96a5a23f253351d38c0689328d0d8eb2(module, "IndexSelectedData", ""); + class_96a5a23f253351d38c0689328d0d8eb2.def(pybind11::init< struct ::statiskit::MultivariateData const &, ::statiskit::Index const & >()); + class_96a5a23f253351d38c0689328d0d8eb2.def(pybind11::init< class ::statiskit::IndexSelectedData const & >()); + class_96a5a23f253351d38c0689328d0d8eb2.def("origin", method_pointer_7f2f4c108cf75898ab48e37fb8037786, pybind11::return_value_policy::reference_internal, ""); + class_96a5a23f253351d38c0689328d0d8eb2.def("get_index", method_pointer_7f1a472f52ad59cb95b2616b04e31e93, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp new file mode 100644 index 00000000..ff78ada2 --- /dev/null +++ b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_9819c01af16354f5af1bd00fe32e33a5(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_9819c01af16354f5af1bd00fe32e33a5(module, "_PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5", ""); + class_9819c01af16354f5af1bd00fe32e33a5.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_985dfffef8265a319e222a08d8f11f05.cpp b/src/py/wrapper/wrapper_985dfffef8265a319e222a08d8f11f05.cpp index 01b86593..072f9fe3 100644 --- a/src/py/wrapper/wrapper_985dfffef8265a319e222a08d8f11f05.cpp +++ b/src/py/wrapper/wrapper_985dfffef8265a319e222a08d8f11f05.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_985dfffef8265a319e222a08d8f11f05(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_985dfffef8265a319e222a08d8f11f05(module, "BetaDistribution", "This class represents a beta distribution.\n\nThe beta distribution is an univariate continuous distribution. The\nsupport is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_985dfffef8265a319e222a08d8f11f05(module, "BetaDistribution", "This class represents a beta distribution.\n\nThe beta distribution is an univariate continuous distribution. The\nsupport is the set of positive real values :math:`\\mathbb{R}_+^*`.\n\n"); class_985dfffef8265a319e222a08d8f11f05.def(pybind11::init< >()); class_985dfffef8265a319e222a08d8f11f05.def(pybind11::init< double const &, double const & >()); class_985dfffef8265a319e222a08d8f11f05.def(pybind11::init< class ::statiskit::BetaDistribution const & >()); diff --git a/src/py/wrapper/wrapper_98dec83d5b055bb7bd34151081ce3693.cpp b/src/py/wrapper/wrapper_98dec83d5b055bb7bd34151081ce3693.cpp index c7d1a255..5015b07b 100644 --- a/src/py/wrapper/wrapper_98dec83d5b055bb7bd34151081ce3693.cpp +++ b/src/py/wrapper/wrapper_98dec83d5b055bb7bd34151081ce3693.cpp @@ -1,6 +1,6 @@ #include "_core.h" -void (::statiskit::VectorSampleSpace::*method_pointer_06b47ef228045a14a15a6565b1762490)(::statiskit::Index const &, struct ::statiskit::UnivariateSampleSpace const &)= &::statiskit::VectorSampleSpace::set; +void (::statiskit::VectorSampleSpace::*method_pointer_4f023bb2dc8a5a4aa7ef051031a8e5c7)(::statiskit::Index const &, struct ::statiskit::UnivariateSampleSpace const &)= &::statiskit::VectorSampleSpace::set_sample_space; namespace autowig { } @@ -11,6 +11,6 @@ void wrapper_98dec83d5b055bb7bd34151081ce3693(pybind11::module& module) pybind11::class_::Type, struct ::statiskit::MultivariateSampleSpace > class_98dec83d5b055bb7bd34151081ce3693(module, "VectorSampleSpace", ""); class_98dec83d5b055bb7bd34151081ce3693.def(pybind11::init< class ::std::vector< struct ::statiskit::UnivariateSampleSpace *, class ::std::allocator< struct ::statiskit::UnivariateSampleSpace * > > const & >()); class_98dec83d5b055bb7bd34151081ce3693.def(pybind11::init< class ::statiskit::VectorSampleSpace const & >()); - class_98dec83d5b055bb7bd34151081ce3693.def("set", method_pointer_06b47ef228045a14a15a6565b1762490, ""); + class_98dec83d5b055bb7bd34151081ce3693.def("set_sample_space", method_pointer_4f023bb2dc8a5a4aa7ef051031a8e5c7, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_98e0aa1c483d522aa3e3427e0c99ee6f.cpp b/src/py/wrapper/wrapper_98e0aa1c483d522aa3e3427e0c99ee6f.cpp new file mode 100644 index 00000000..b0c4ac8e --- /dev/null +++ b/src/py/wrapper/wrapper_98e0aa1c483d522aa3e3427e0c99ee6f.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_98e0aa1c483d522aa3e3427e0c99ee6f(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_98e0aa1c483d522aa3e3427e0c99ee6f(module, "_PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f", ""); + class_98e0aa1c483d522aa3e3427e0c99ee6f.def(pybind11::init< >()); + class_98e0aa1c483d522aa3e3427e0c99ee6f.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp index 9d8fe1b3..d8543eef 100644 --- a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp +++ b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp @@ -7,22 +7,39 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateData::Generator::Generator; - typedef double return_type_97dd3ac3ad43541faf4f468d1c840930; - virtual return_type_97dd3ac3ad43541faf4f468d1c840930 weight() const override { PYBIND11_OVERLOAD_PURE(return_type_97dd3ac3ad43541faf4f468d1c840930, class_type, weight, ); }; - typedef struct ::statiskit::MultivariateEvent const * return_type_8c2339dd565653b4a935b28162423031; - virtual return_type_8c2339dd565653b4a935b28162423031 event() const override { PYBIND11_OVERLOAD_PURE(return_type_8c2339dd565653b4a935b28162423031, class_type, event, ); }; + + public: typedef struct ::statiskit::MultivariateData::Generator & return_type_63b969fdfda0571a865b8fd09d42ff6f; virtual return_type_63b969fdfda0571a865b8fd09d42ff6f operator++() override { PYBIND11_OVERLOAD_PURE(return_type_63b969fdfda0571a865b8fd09d42ff6f, class_type, operator++, ); }; + + public: typedef bool return_type_d3e757b7d5b05c689e6686d4856df74c; virtual return_type_d3e757b7d5b05c689e6686d4856df74c is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_d3e757b7d5b05c689e6686d4856df74c, class_type, is_valid, ); }; + + public: + typedef double return_type_27f1417576dc5f07946c8258dad0fd1e; + virtual return_type_27f1417576dc5f07946c8258dad0fd1e get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_27f1417576dc5f07946c8258dad0fd1e, class_type, get_weight, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; + virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; + + public: + typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; + typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; + virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: + typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; + virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; } +double (::statiskit::MultivariateData::Generator::*method_pointer_27f1417576dc5f07946c8258dad0fd1e)()const= &::statiskit::MultivariateData::Generator::get_weight; bool (::statiskit::MultivariateData::Generator::*method_pointer_d3e757b7d5b05c689e6686d4856df74c)()const= &::statiskit::MultivariateData::Generator::is_valid; struct ::statiskit::MultivariateData::Generator & (::statiskit::MultivariateData::Generator::*method_pointer_63b969fdfda0571a865b8fd09d42ff6f)()= &::statiskit::MultivariateData::Generator::operator++; -struct ::statiskit::MultivariateEvent const * (::statiskit::MultivariateData::Generator::*method_pointer_8c2339dd565653b4a935b28162423031)()const= &::statiskit::MultivariateData::Generator::event; -double (::statiskit::MultivariateData::Generator::*method_pointer_97dd3ac3ad43541faf4f468d1c840930)()const= &::statiskit::MultivariateData::Generator::weight; namespace autowig { void method_decorator_63b969fdfda0571a865b8fd09d42ff6f(struct ::statiskit::MultivariateData::Generator & instance, const struct ::statiskit::MultivariateData::Generator & param_out) { instance.operator++() = param_out; } @@ -31,11 +48,11 @@ namespace autowig { void wrapper_98e77d2afcc252cba528077bc2cc3103(pybind11::module& module) { - pybind11::class_::Type > class_98e77d2afcc252cba528077bc2cc3103(module, "Generator", ""); + pybind11::class_::Type, struct ::statiskit::MultivariateEvent > class_98e77d2afcc252cba528077bc2cc3103(module, "Generator", ""); + class_98e77d2afcc252cba528077bc2cc3103.def(pybind11::init< >()); + class_98e77d2afcc252cba528077bc2cc3103.def("get_weight", method_pointer_27f1417576dc5f07946c8258dad0fd1e, ""); class_98e77d2afcc252cba528077bc2cc3103.def("is_valid", method_pointer_d3e757b7d5b05c689e6686d4856df74c, ""); class_98e77d2afcc252cba528077bc2cc3103.def("__next__", method_pointer_63b969fdfda0571a865b8fd09d42ff6f, pybind11::return_value_policy::reference_internal, ""); class_98e77d2afcc252cba528077bc2cc3103.def("__next__", autowig::method_decorator_63b969fdfda0571a865b8fd09d42ff6f); - class_98e77d2afcc252cba528077bc2cc3103.def("event", method_pointer_8c2339dd565653b4a935b28162423031, pybind11::return_value_policy::reference_internal, ""); - class_98e77d2afcc252cba528077bc2cc3103.def("weight", method_pointer_97dd3ac3ad43541faf4f468d1c840930, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp new file mode 100644 index 00000000..70f67f52 --- /dev/null +++ b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_9962e820b2a75e44aeb478a7fa3f1b63(pybind11::module& module) +{ + + pybind11::class_::Estimator > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > class_9962e820b2a75e44aeb478a7fa3f1b63(module, "_PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63", ""); + class_9962e820b2a75e44aeb478a7fa3f1b63.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9981958281625422b3b46cea8ec85a6d.cpp b/src/py/wrapper/wrapper_9981958281625422b3b46cea8ec85a6d.cpp index 255ffe3e..f7f7a86d 100644 --- a/src/py/wrapper/wrapper_9981958281625422b3b46cea8ec85a6d.cpp +++ b/src/py/wrapper/wrapper_9981958281625422b3b46cea8ec85a6d.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_9981958281625422b3b46cea8ec85a6d(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_9981958281625422b3b46cea8ec85a6d(module, "_ElementaryEvent_9981958281625422b3b46cea8ec85a6d", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > > class_9981958281625422b3b46cea8ec85a6d(module, "_ElementaryEvent_9981958281625422b3b46cea8ec85a6d", ""); class_9981958281625422b3b46cea8ec85a6d.def(pybind11::init< double const & >()); class_9981958281625422b3b46cea8ec85a6d.def(pybind11::init< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent > const & >()); class_9981958281625422b3b46cea8ec85a6d.def("get_value", method_pointer_cf3d3c8e459955608a6e0dbb6112752a, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp new file mode 100644 index 00000000..163fcf16 --- /dev/null +++ b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_99fc77e1853459ba9270c901d62d010f(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_99fc77e1853459ba9270c901d62d010f(module, "Estimator", ""); + class_99fc77e1853459ba9270c901d62d010f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp b/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp new file mode 100644 index 00000000..6a8f849c --- /dev/null +++ b/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +void (::std::error_condition::*method_pointer_fba0ff58c5425aa799ffc6ee30f6d2c7)()= &::std::error_condition::clear; +int (::std::error_condition::*method_pointer_46f6bb84da0e5c45aed5f8ef3e6f7728)()const= &::std::error_condition::value; +::std::string (::std::error_condition::*method_pointer_f967d5c96c0a539dae90ec7f0f01d2be)()const= &::std::error_condition::message; + +namespace autowig { +} + +void wrapper_9a33479821955c81b01e8f3c319e5180(pybind11::module& module) +{ + + struct function_group + { + static bool function_55c61eb8a32d5c7782d92bf46d363fb2(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) + { return operator<(parameter_0, parameter_1); } + static bool function_22ae3e20bfac5d8998539effe8b661a5(struct ::std::error_condition const & parameter_0, struct ::std::error_code const & parameter_1) + { return operator==(parameter_0, parameter_1); } + static bool function_924086b8713852e693ba4c93e8327800(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) + { return operator==(parameter_0, parameter_1); } + static bool function_c10cd09edca553f09b5e98b7fbd35fce(struct ::std::error_condition const & parameter_0, struct ::std::error_code const & parameter_1) + { return operator!=(parameter_0, parameter_1); } + static bool function_9f0a211a6e3f56e9baf30f3870f725b9(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) + { return operator!=(parameter_0, parameter_1); } + }; + pybind11::class_::Type > class_9a33479821955c81b01e8f3c319e5180(module, "ErrorCondition", ""); + class_9a33479821955c81b01e8f3c319e5180.def(pybind11::init< >()); + class_9a33479821955c81b01e8f3c319e5180.def(pybind11::init< struct ::std::error_condition const & >()); + class_9a33479821955c81b01e8f3c319e5180.def("clear", method_pointer_fba0ff58c5425aa799ffc6ee30f6d2c7, ""); + class_9a33479821955c81b01e8f3c319e5180.def("value", method_pointer_46f6bb84da0e5c45aed5f8ef3e6f7728, ""); + class_9a33479821955c81b01e8f3c319e5180.def("message", method_pointer_f967d5c96c0a539dae90ec7f0f01d2be, ""); + class_9a33479821955c81b01e8f3c319e5180.def("__lt__", function_group::function_55c61eb8a32d5c7782d92bf46d363fb2, ""); + class_9a33479821955c81b01e8f3c319e5180.def("__eq__", function_group::function_22ae3e20bfac5d8998539effe8b661a5, ""); + class_9a33479821955c81b01e8f3c319e5180.def("__eq__", function_group::function_924086b8713852e693ba4c93e8327800, ""); + class_9a33479821955c81b01e8f3c319e5180.def("__neq__", function_group::function_c10cd09edca553f09b5e98b7fbd35fce, ""); + class_9a33479821955c81b01e8f3c319e5180.def("__neq__", function_group::function_9f0a211a6e3f56e9baf30f3870f725b9, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp index 89922a10..846c0556 100644 --- a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp +++ b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateDispersionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_fd8c28a661ec58aba7edb069108b96b4; virtual return_type_fd8c28a661ec58aba7edb069108b96b4 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_fd8c28a661ec58aba7edb069108b96b4, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; @@ -27,6 +32,7 @@ void wrapper_9b1c85d3df8e5cba922fb88752a0d746(pybind11::module& module) { pybind11::class_::Type > class_9b1c85d3df8e5cba922fb88752a0d746(module, "Estimator", ""); + class_9b1c85d3df8e5cba922fb88752a0d746.def(pybind11::init< >()); class_9b1c85d3df8e5cba922fb88752a0d746.def("__call__", method_pointer_362d225b055b59faab2c348f93722cb7, ""); class_9b1c85d3df8e5cba922fb88752a0d746.def("copy", method_pointer_fd8c28a661ec58aba7edb069108b96b4, ""); diff --git a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp b/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp index 13408081..b7e14188 100644 --- a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp +++ b/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp @@ -1,7 +1,6 @@ #include "_core.h" struct ::statiskit::UnivariateDistribution const * (::statiskit::SlopeHeuristicSelection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_8204f20a4c0f58e1adcc7dacf271e202)(::statiskit::Index const &)const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_proposal; -struct ::statiskit::UnivariateData const * (::statiskit::SlopeHeuristicSelection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_2ccd9b83f3265937aabf1b8641fbbba0)()const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; namespace autowig { } @@ -9,10 +8,9 @@ namespace autowig { void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::SlopeHeuristic, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module, "_SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::SlopeHeuristic, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module, "_SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4", ""); class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def(pybind11::init< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def("get_proposal", method_pointer_8204f20a4c0f58e1adcc7dacf271e202, pybind11::return_value_policy::reference_internal, ""); - class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def("get_data", method_pointer_2ccd9b83f3265937aabf1b8641fbbba0, pybind11::return_value_policy::reference_internal, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp new file mode 100644 index 00000000..63b757fe --- /dev/null +++ b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation >::PolymorphicCopy; + + + public: + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; + virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_9c2fa9a7a902547eab99ffb00609ac86(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation > >::Type, struct ::statiskit::MultivariateLocationEstimation > class_9c2fa9a7a902547eab99ffb00609ac86(module, "_PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86", ""); + class_9c2fa9a7a902547eab99ffb00609ac86.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp new file mode 100644 index 00000000..ac43b50f --- /dev/null +++ b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; + virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; +} + +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::*method_pointer_1b58fb67872859e3906ec2e648200d3c)(::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::*method_pointer_9457ae163d2b51e6a4b68c1d52a61c5e)()const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::copy; + +namespace autowig { +} + +void wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::Type > class_9c33ffd5bcf755b3bcb784af88f00e0b(module, "Estimator", ""); + class_9c33ffd5bcf755b3bcb784af88f00e0b.def(pybind11::init< >()); + class_9c33ffd5bcf755b3bcb784af88f00e0b.def("__call__", method_pointer_1b58fb67872859e3906ec2e648200d3c, ""); + class_9c33ffd5bcf755b3bcb784af88f00e0b.def("copy", method_pointer_9457ae163d2b51e6a4b68c1d52a61c5e, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9ca9917e667b52ea9eb2ec4f17e230b5.cpp b/src/py/wrapper/wrapper_9ca9917e667b52ea9eb2ec4f17e230b5.cpp index a367ac62..562f9343 100644 --- a/src/py/wrapper/wrapper_9ca9917e667b52ea9eb2ec4f17e230b5.cpp +++ b/src/py/wrapper/wrapper_9ca9917e667b52ea9eb2ec4f17e230b5.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_9ca9917e667b52ea9eb2ec4f17e230b5(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_9ca9917e667b52ea9eb2ec4f17e230b5(module, "UnivariateHistogramDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_9ca9917e667b52ea9eb2ec4f17e230b5(module, "UnivariateHistogramDistribution", ""); class_9ca9917e667b52ea9eb2ec4f17e230b5.def(pybind11::init< class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const &, class ::std::vector< double, class ::std::allocator< double > > const & >()); class_9ca9917e667b52ea9eb2ec4f17e230b5.def(pybind11::init< class ::statiskit::UnivariateHistogramDistribution const & >()); class_9ca9917e667b52ea9eb2ec4f17e230b5.def("get_bins", method_pointer_0adabf56e3155b9b81c68457b36cddd8, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp new file mode 100644 index 00000000..bac6fde3 --- /dev/null +++ b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_9ce76073f232512da483f80a23807ddc(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_9ce76073f232512da483f80a23807ddc(module, "_PolymorphicCopy_9ce76073f232512da483f80a23807ddc", ""); + class_9ce76073f232512da483f80a23807ddc.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp b/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp new file mode 100644 index 00000000..93858d11 --- /dev/null +++ b/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_9e028a1ab0715490be328e777d68493e(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_9e028a1ab0715490be328e777d68493e(module, "_PolymorphicCopy_9e028a1ab0715490be328e777d68493e", ""); + class_9e028a1ab0715490be328e777d68493e.def(pybind11::init< >()); + class_9e028a1ab0715490be328e777d68493e.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9f08dae44aa3561686bc0ef53e82d042.cpp b/src/py/wrapper/wrapper_9f08dae44aa3561686bc0ef53e82d042.cpp index 3d508d5c..8d52793c 100644 --- a/src/py/wrapper/wrapper_9f08dae44aa3561686bc0ef53e82d042.cpp +++ b/src/py/wrapper/wrapper_9f08dae44aa3561686bc0ef53e82d042.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_9f08dae44aa3561686bc0ef53e82d042(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > > class_9f08dae44aa3561686bc0ef53e82d042(module, "NominalDistribution", "This class NominalDistribution represents the distribution of a random\nnominal component $ S$. The support is a finite non-ordered set of\ncategories (string) $ :raw-latex:`\\mathcal{S}` $ and we have $\n:raw-latex:`\\sum`\\_{s:raw-latex:`\\in `:raw-latex:`\\mathcal{S}`} P(S=s) =\n1$.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > > class_9f08dae44aa3561686bc0ef53e82d042(module, "NominalDistribution", "This class NominalDistribution represents the distribution of a random\nnominal component $ S$. The support is a finite non-ordered set of\ncategories (string) $ :raw-latex:`\\mathcal{S}` $ and we have $\n:raw-latex:`\\sum`\\_{s:raw-latex:`\\in `:raw-latex:`\\mathcal{S}`} P(S=s) =\n1$.\n\n"); class_9f08dae44aa3561686bc0ef53e82d042.def(pybind11::init< class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & >()); class_9f08dae44aa3561686bc0ef53e82d042.def(pybind11::init< class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_9f08dae44aa3561686bc0ef53e82d042.def(pybind11::init< struct ::statiskit::NominalDistribution const & >()); diff --git a/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp new file mode 100644 index 00000000..5e1269dc --- /dev/null +++ b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; + typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; + virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_a0117c6545ed509a9f9743da0a6360b7(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator > >::Type, struct ::statiskit::MultivariateLocationEstimation::Estimator > class_a0117c6545ed509a9f9743da0a6360b7(module, "_PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7", ""); + class_a0117c6545ed509a9f9743da0a6360b7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a07113fabe3b5ca2bb7456220de98547.cpp b/src/py/wrapper/wrapper_a07113fabe3b5ca2bb7456220de98547.cpp new file mode 100644 index 00000000..65232e13 --- /dev/null +++ b/src/py/wrapper/wrapper_a07113fabe3b5ca2bb7456220de98547.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > & (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution > > >::*method_pointer_955763c5802b5d1ab55552a6ae7304e5)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::operator*; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution > > >::*method_pointer_d5c918acc57f550d85d4435d86e1cad7)()const= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::get; +::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::pointer (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution > > >::*method_pointer_7c4ba79fe94e543c9dc99eabbf0a43ed)()= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::release; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution > > >::*method_pointer_bb7c5b23a58b509cacfc8a2127bc01dd)(::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::pointer )= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::reset; +void (::std::unique_ptr< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >, ::std::default_delete< ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution > > >::*method_pointer_61a775dcdf135e3297c83242ecaf9145)(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > &)= &::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > >::swap; + +namespace autowig { + void method_decorator_955763c5802b5d1ab55552a6ae7304e5(class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > const & instance, const class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > & param_out) { instance.operator*() = param_out; } +} + +void wrapper_a07113fabe3b5ca2bb7456220de98547(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp new file mode 100644 index 00000000..fe2687c7 --- /dev/null +++ b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_a079c62242f25fd5aefc1ac40095a061(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousUnivariateDistribution >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_a079c62242f25fd5aefc1ac40095a061(module, "_PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061", ""); + class_a079c62242f25fd5aefc1ac40095a061.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a0e97d92179d57c6b360e221cdb4303b.cpp b/src/py/wrapper/wrapper_a0e97d92179d57c6b360e221cdb4303b.cpp new file mode 100644 index 00000000..b5ce607b --- /dev/null +++ b/src/py/wrapper/wrapper_a0e97d92179d57c6b360e221cdb4303b.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > >::*method_pointer_53d50b882dcd514bac8ba2f7964d87d0)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > >::*method_pointer_e8667edb2c9d5e778517f9cdcc0488aa)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > >::*method_pointer_cb0343b902ad5926a7e0e35142828ff7)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > >::*method_pointer_7f6e13a466f75911b230284f278e6644)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator > >::*method_pointer_b2b79f9ff31953dab19a3b963d5b455c)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::swap; + +namespace autowig { + void method_decorator_53d50b882dcd514bac8ba2f7964d87d0(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator & param_out) { instance.operator*() = param_out; } +} + +void wrapper_a0e97d92179d57c6b360e221cdb4303b(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp b/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp index 5400ca9d..fc645133 100644 --- a/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp +++ b/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_a14f45085a74550c89aab30952f6725b(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_a14f45085a74550c89aab30952f6725b(module, "Estimator", ""); class_a14f45085a74550c89aab30952f6725b.def(pybind11::init< >()); class_a14f45085a74550c89aab30952f6725b.def(pybind11::init< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator const & >()); class_a14f45085a74550c89aab30952f6725b.def("get_nb_bins", method_pointer_51500bc0b2985679b02003e72c323092, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp new file mode 100644 index 00000000..691ae1bd --- /dev/null +++ b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_a32936912db85574b408168f51749429(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_a32936912db85574b408168f51749429(module, "_PolymorphicCopy_a32936912db85574b408168f51749429", ""); + class_a32936912db85574b408168f51749429.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp index 1202e930..3fea9b25 100644 --- a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp +++ b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp @@ -7,19 +7,26 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::MultivariateEvent::MultivariateEvent; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; - typedef struct ::statiskit::UnivariateEvent const * return_type_10a704d5992d559888ef502fa18a5a47; - typedef ::statiskit::Index const & param_10a704d5992d559888ef502fa18a5a47_0_type; - virtual return_type_10a704d5992d559888ef502fa18a5a47 get(param_10a704d5992d559888ef502fa18a5a47_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_10a704d5992d559888ef502fa18a5a47, class_type, get, param_0); }; + + public: + typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; + typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; + virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; } ::statiskit::Index (::statiskit::MultivariateEvent::*method_pointer_b16ba67d442357de95884c2b80cd9413)()const= &::statiskit::MultivariateEvent::size; -struct ::statiskit::UnivariateEvent const * (::statiskit::MultivariateEvent::*method_pointer_10a704d5992d559888ef502fa18a5a47)(::statiskit::Index const &)const= &::statiskit::MultivariateEvent::get; +struct ::statiskit::UnivariateEvent const * (::statiskit::MultivariateEvent::*method_pointer_09d1fd5db58a5234abee68232835e76b)(::statiskit::Index const &)const= &::statiskit::MultivariateEvent::get_event; class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > (::statiskit::MultivariateEvent::*method_pointer_ee0381fa29a75d5782f895a637e2a8d5)()const= &::statiskit::MultivariateEvent::copy; namespace autowig { @@ -29,8 +36,9 @@ void wrapper_a40e46e6e0ca59f7a440e68cd5fd7072(pybind11::module& module) { pybind11::class_::Type > class_a40e46e6e0ca59f7a440e68cd5fd7072(module, "MultivariateEvent", ""); + class_a40e46e6e0ca59f7a440e68cd5fd7072.def(pybind11::init< >()); class_a40e46e6e0ca59f7a440e68cd5fd7072.def("__len__", method_pointer_b16ba67d442357de95884c2b80cd9413, ""); - class_a40e46e6e0ca59f7a440e68cd5fd7072.def("get", method_pointer_10a704d5992d559888ef502fa18a5a47, pybind11::return_value_policy::reference_internal, ""); + class_a40e46e6e0ca59f7a440e68cd5fd7072.def("get_event", method_pointer_09d1fd5db58a5234abee68232835e76b, pybind11::return_value_policy::reference_internal, ""); class_a40e46e6e0ca59f7a440e68cd5fd7072.def("copy", method_pointer_ee0381fa29a75d5782f895a637e2a8d5, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp new file mode 100644 index 00000000..bb72cd04 --- /dev/null +++ b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp @@ -0,0 +1,31 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; + typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; + virtual return_type_362d225b055b59faab2c348f93722cb7 operator()(param_362d225b055b59faab2c348f93722cb7_0_type param_0, param_362d225b055b59faab2c348f93722cb7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_362d225b055b59faab2c348f93722cb7, class_type, operator(), param_0, param_1); }; + }; +} + + +namespace autowig { +} + +void wrapper_a42d846927fa55029bf78190c71fb4a4(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator > >::Type, struct ::statiskit::MultivariateDispersionEstimation::Estimator > class_a42d846927fa55029bf78190c71fb4a4(module, "_PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4", ""); + class_a42d846927fa55029bf78190c71fb4a4.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp index fe88fae1..7195dcde 100644 --- a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp +++ b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp @@ -9,25 +9,13 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::CategoricalUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp index 9138dfeb..25071bdd 100644 --- a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp +++ b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistribution::CategoricalMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp new file mode 100644 index 00000000..375751a8 --- /dev/null +++ b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_a5cf9061d7bb5791ad10bf28e28951fd(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_a5cf9061d7bb5791ad10bf28e28951fd(module, "_PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd", ""); + class_a5cf9061d7bb5791ad10bf28e28951fd.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp b/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp index 31875516..45acab4e 100644 --- a/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp +++ b/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_a640206684935d01aa5be922b3bbdf00(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_a640206684935d01aa5be922b3bbdf00(module, "BinomialDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_a640206684935d01aa5be922b3bbdf00(module, "BinomialDistributionMLEstimation", ""); class_a640206684935d01aa5be922b3bbdf00.def(pybind11::init< >()); - class_a640206684935d01aa5be922b3bbdf00.def(pybind11::init< class ::statiskit::BinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); class_a640206684935d01aa5be922b3bbdf00.def(pybind11::init< struct ::statiskit::BinomialDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a700d305386f53d0ae8398580f9913c3.cpp b/src/py/wrapper/wrapper_a700d305386f53d0ae8398580f9913c3.cpp new file mode 100644 index 00000000..1142b7c5 --- /dev/null +++ b/src/py/wrapper/wrapper_a700d305386f53d0ae8398580f9913c3.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > > >::*method_pointer_62bed2e74471562d97d64baa50d2c5a4)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > > >::*method_pointer_21b775d7034d510596323374324eb8b7)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > > >::*method_pointer_1fbb9503e1e35ad28669cdd0f06c5b5c)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > > >::*method_pointer_02358e1ef4735543bc1ed61f4ceea3c3)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > > >::*method_pointer_187dd6c0a7d65cdfa35d2525d232be31)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::swap; + +namespace autowig { + void method_decorator_62bed2e74471562d97d64baa50d2c5a4(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > & param_out) { instance.operator*() = param_out; } +} + +void wrapper_a700d305386f53d0ae8398580f9913c3(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a766c9930af25f8f90f6e118f2ca75d5.cpp b/src/py/wrapper/wrapper_a766c9930af25f8f90f6e118f2ca75d5.cpp index c0fdd5a4..f58b127f 100644 --- a/src/py/wrapper/wrapper_a766c9930af25f8f90f6e118f2ca75d5.cpp +++ b/src/py/wrapper/wrapper_a766c9930af25f8f90f6e118f2ca75d5.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_a766c9930af25f8f90f6e118f2ca75d5(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_a766c9930af25f8f90f6e118f2ca75d5(module, "_IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > > class_a766c9930af25f8f90f6e118f2ca75d5(module, "_IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5", ""); class_a766c9930af25f8f90f6e118f2ca75d5.def(pybind11::init< double const &, double const & >()); class_a766c9930af25f8f90f6e118f2ca75d5.def(pybind11::init< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent > const & >()); class_a766c9930af25f8f90f6e118f2ca75d5.def("get_lower_bound", method_pointer_9a8b6edb1f21504f9f2680be39fdd1fb, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp new file mode 100644 index 00000000..ebe8ee7b --- /dev/null +++ b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_a87f64a7a0c553e2b79ea554696bd78b(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_a87f64a7a0c553e2b79ea554696bd78b(module, "Estimator", ""); + class_a87f64a7a0c553e2b79ea554696bd78b.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a8fb4974396a5f4ca5779c02d0f58b37.cpp b/src/py/wrapper/wrapper_a8fb4974396a5f4ca5779c02d0f58b37.cpp index 3bce9292..4bf7962b 100644 --- a/src/py/wrapper/wrapper_a8fb4974396a5f4ca5779c02d0f58b37.cpp +++ b/src/py/wrapper/wrapper_a8fb4974396a5f4ca5779c02d0f58b37.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_a8fb4974396a5f4ca5779c02d0f58b37(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::UnivariateDispersionEstimation > class_a8fb4974396a5f4ca5779c02d0f58b37(module, "UnivariateVarianceEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation > > class_a8fb4974396a5f4ca5779c02d0f58b37(module, "UnivariateVarianceEstimation", ""); class_a8fb4974396a5f4ca5779c02d0f58b37.def(pybind11::init< double const &, bool const &, double const & >()); class_a8fb4974396a5f4ca5779c02d0f58b37.def(pybind11::init< class ::statiskit::UnivariateVarianceEstimation const & >()); class_a8fb4974396a5f4ca5779c02d0f58b37.def("get_bias", method_pointer_82667d41ae9658d3b19c94ed2fb3aeda, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp b/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp new file mode 100644 index 00000000..4ec7e838 --- /dev/null +++ b/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_a9f3c5b5305c5c23a7742b905ccee4cc(module, "_PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc", ""); + class_a9f3c5b5305c5c23a7742b905ccee4cc.def(pybind11::init< >()); + class_a9f3c5b5305c5c23a7742b905ccee4cc.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_aa4348c3ceb5595a843d8fc5a6c54231.cpp b/src/py/wrapper/wrapper_aa4348c3ceb5595a843d8fc5a6c54231.cpp index 6ee76953..ed46289e 100644 --- a/src/py/wrapper/wrapper_aa4348c3ceb5595a843d8fc5a6c54231.cpp +++ b/src/py/wrapper/wrapper_aa4348c3ceb5595a843d8fc5a6c54231.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_aa4348c3ceb5595a843d8fc5a6c54231(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_aa4348c3ceb5595a843d8fc5a6c54231(module, "BinomialDistribution", "This class BinomialDistribution represents a `binomial\ndistribution `__\n\nThe binomial distribution is an univariate discrete distribution of the\nnumber of successes in $\n:raw-latex:`\\kappa `:raw-latex:`\\in `:raw-latex:`\\mathbb{N}`^\\* $\nindependent `Bernouilli\ntrials `__ with a\nspecified probability :math:`\\pi \\in [0,1]` of success. The support of\nthe binomial distribution is the set all intergers betwwen :math:`0` and\n$ :raw-latex:`\\kappa `$. In the particular case of $\n:raw-latex:`\\kappa `= 1$ the binomial distribution is the `Bernouilli\ndistribution `__.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_aa4348c3ceb5595a843d8fc5a6c54231(module, "BinomialDistribution", "This class BinomialDistribution represents a `binomial\ndistribution `__\n\nThe binomial distribution is an univariate discrete distribution of the\nnumber of successes in $\n:raw-latex:`\\kappa `:raw-latex:`\\in `:raw-latex:`\\mathbb{N}`^\\* $\nindependent `Bernouilli\ntrials `__ with a\nspecified probability :math:`\\pi \\in [0,1]` of success. The support of\nthe binomial distribution is the set all intergers betwwen :math:`0` and\n$ :raw-latex:`\\kappa `$. In the particular case of $\n:raw-latex:`\\kappa `= 1$ the binomial distribution is the `Bernouilli\ndistribution `__.\n\n"); class_aa4348c3ceb5595a843d8fc5a6c54231.def(pybind11::init< >()); class_aa4348c3ceb5595a843d8fc5a6c54231.def(pybind11::init< unsigned int const &, double const & >()); class_aa4348c3ceb5595a843d8fc5a6c54231.def(pybind11::init< class ::statiskit::BinomialDistribution const & >()); diff --git a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp index caa9087e..052d01ec 100644 --- a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp +++ b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousSampleSpace::ContinuousSampleSpace; - typedef enum ::statiskit::ordering_type return_type_dd35b002873d50f698c1c0f5e685daf1; - virtual return_type_dd35b002873d50f698c1c0f5e685daf1 get_ordering() const override { PYBIND11_OVERLOAD(return_type_dd35b002873d50f698c1c0f5e685daf1, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ce443c4aefe55cf5b2debe02d45c58ed; - virtual return_type_ce443c4aefe55cf5b2debe02d45c58ed get_outcome() const override { PYBIND11_OVERLOAD(return_type_ce443c4aefe55cf5b2debe02d45c58ed, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_aa6e0b250759574eb903a6b783b18053.cpp b/src/py/wrapper/wrapper_aa6e0b250759574eb903a6b783b18053.cpp index 2f6611fd..40e0d300 100644 --- a/src/py/wrapper/wrapper_aa6e0b250759574eb903a6b783b18053.cpp +++ b/src/py/wrapper/wrapper_aa6e0b250759574eb903a6b783b18053.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_aa6e0b250759574eb903a6b783b18053(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_aa6e0b250759574eb903a6b783b18053(module, "_LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > > class_aa6e0b250759574eb903a6b783b18053(module, "_LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053", ""); class_aa6e0b250759574eb903a6b783b18053.def(pybind11::init< double const & >()); class_aa6e0b250759574eb903a6b783b18053.def(pybind11::init< class ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent > const & >()); class_aa6e0b250759574eb903a6b783b18053.def("get_upper_bound", method_pointer_13a2fa63820b597ab14a608d2f621651, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp b/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp index 27483012..e171de25 100644 --- a/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp +++ b/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_aabf684ce17950b49b6345c1ab565540(module, "NormalDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_aabf684ce17950b49b6345c1ab565540(module, "NormalDistributionMLEstimation", ""); class_aabf684ce17950b49b6345c1ab565540.def(pybind11::init< >()); - class_aabf684ce17950b49b6345c1ab565540.def(pybind11::init< class ::statiskit::NormalDistribution const *, struct ::statiskit::UnivariateData const * >()); class_aabf684ce17950b49b6345c1ab565540.def(pybind11::init< struct ::statiskit::NormalDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_abaaf08e32235f2ca7bacb4418592155.cpp b/src/py/wrapper/wrapper_abaaf08e32235f2ca7bacb4418592155.cpp index 4b934512..c4a34918 100644 --- a/src/py/wrapper/wrapper_abaaf08e32235f2ca7bacb4418592155.cpp +++ b/src/py/wrapper/wrapper_abaaf08e32235f2ca7bacb4418592155.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_abaaf08e32235f2ca7bacb4418592155(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > > class_abaaf08e32235f2ca7bacb4418592155(module, "BetaBinomialDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > > class_abaaf08e32235f2ca7bacb4418592155(module, "BetaBinomialDistribution", ""); class_abaaf08e32235f2ca7bacb4418592155.def(pybind11::init< >()); class_abaaf08e32235f2ca7bacb4418592155.def(pybind11::init< unsigned int const &, double const &, double const & >()); class_abaaf08e32235f2ca7bacb4418592155.def(pybind11::init< class ::statiskit::BetaBinomialDistribution const & >()); diff --git a/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp new file mode 100644 index 00000000..0d4f78eb --- /dev/null +++ b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_acaf9a5cc6ee5eff8cfa5b68a6258d5a(module, "_PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a", ""); + class_acaf9a5cc6ee5eff8cfa5b68a6258d5a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp index f54ededf..46bdd82f 100644 --- a/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp +++ b/src/py/wrapper/wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d.cpp @@ -1,19 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::DiscreteUnivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; - - typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; - virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -21,6 +7,8 @@ namespace autowig { void wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_ae5ffcb5f4c75f5cbb01e288fa5a986d(module, "DiscreteUnivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_ae5ffcb5f4c75f5cbb01e288fa5a986d(module, "DiscreteUnivariateDistributionEstimation", ""); + class_ae5ffcb5f4c75f5cbb01e288fa5a986d.def(pybind11::init< >()); + class_ae5ffcb5f4c75f5cbb01e288fa5a986d.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b0122226f9b45c7885b797dfe5216cc3.cpp b/src/py/wrapper/wrapper_b0122226f9b45c7885b797dfe5216cc3.cpp new file mode 100644 index 00000000..2f69cd43 --- /dev/null +++ b/src/py/wrapper/wrapper_b0122226f9b45c7885b797dfe5216cc3.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution > > >::*method_pointer_bde731f6fb4e5c74baae2f5407940034)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution > > >::*method_pointer_478a6fab1f025fbe9dd78a8904e08569)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution > > >::*method_pointer_2d12c6d85c2f5ce39b7c27c06058ca7d)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution > > >::*method_pointer_4206afbed45b5ce3a4103f1d6c042bd3)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution > > >::*method_pointer_3e9a3dbc9b2b5f538ad4ec5285379e64)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > >::swap; + +namespace autowig { + void method_decorator_bde731f6fb4e5c74baae2f5407940034(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > & param_out) { instance.operator*() = param_out; } +} + +void wrapper_b0122226f9b45c7885b797dfe5216cc3(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b0fdc82131d6539ab2e2a6b14e8038cf.cpp b/src/py/wrapper/wrapper_b0fdc82131d6539ab2e2a6b14e8038cf.cpp new file mode 100644 index 00000000..2f6ef95e --- /dev/null +++ b/src/py/wrapper/wrapper_b0fdc82131d6539ab2e2a6b14e8038cf.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b0fdc82131d6539ab2e2a6b14e8038cf(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_b0fdc82131d6539ab2e2a6b14e8038cf(module, "_PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf", ""); + class_b0fdc82131d6539ab2e2a6b14e8038cf.def(pybind11::init< >()); + class_b0fdc82131d6539ab2e2a6b14e8038cf.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp index e3c5ade4..7f6939e0 100644 --- a/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp +++ b/src/py/wrapper/wrapper_b14b3594a74c5ccc968141047b5145f4.cpp @@ -1,21 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::DiscreteMultivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteMultivariateDistributionEstimation::DiscreteMultivariateDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; - virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; - virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -23,6 +7,8 @@ namespace autowig { void wrapper_b14b3594a74c5ccc968141047b5145f4(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_b14b3594a74c5ccc968141047b5145f4(module, "DiscreteMultivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_b14b3594a74c5ccc968141047b5145f4(module, "DiscreteMultivariateDistributionEstimation", ""); + class_b14b3594a74c5ccc968141047b5145f4.def(pybind11::init< >()); + class_b14b3594a74c5ccc968141047b5145f4.def(pybind11::init< struct ::statiskit::DiscreteMultivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b2b598c024f65acba246d207ae371e07.cpp b/src/py/wrapper/wrapper_b2b598c024f65acba246d207ae371e07.cpp new file mode 100644 index 00000000..cd0c40e7 --- /dev/null +++ b/src/py/wrapper/wrapper_b2b598c024f65acba246d207ae371e07.cpp @@ -0,0 +1,15 @@ +#include "_core.h" + +::std::size_t (::std::locale::id::*method_pointer_e68fc79fdb385b8494652d968f50fb2b)()const= &::std::locale::id::_M_id; + +namespace autowig { +} + +void wrapper_b2b598c024f65acba246d207ae371e07(pybind11::module& module) +{ + + pybind11::class_::Type > class_b2b598c024f65acba246d207ae371e07(module, "Id", ""); + class_b2b598c024f65acba246d207ae371e07.def(pybind11::init< >()); + class_b2b598c024f65acba246d207ae371e07.def("m__id", method_pointer_e68fc79fdb385b8494652d968f50fb2b, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp b/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp new file mode 100644 index 00000000..8cfb0058 --- /dev/null +++ b/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b2c44a0108fd54c6a0ec396f27bccd10(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_b2c44a0108fd54c6a0ec396f27bccd10(module, "_PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10", ""); + class_b2c44a0108fd54c6a0ec396f27bccd10.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b3aefb8f8c96565c95d583848719e5b2.cpp b/src/py/wrapper/wrapper_b3aefb8f8c96565c95d583848719e5b2.cpp index 9e950686..341a2da9 100644 --- a/src/py/wrapper/wrapper_b3aefb8f8c96565c95d583848719e5b2.cpp +++ b/src/py/wrapper/wrapper_b3aefb8f8c96565c95d583848719e5b2.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_b3aefb8f8c96565c95d583848719e5b2(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_b3aefb8f8c96565c95d583848719e5b2(module, "UniformDistribution", "This class represents a uniform distribution.\n\nThe uniform distribution is an univariate continuous distribution. The\nsupport is the interval :math:`[\\alpha,\\beta]` where :math:`\\alpha` and\n:math:`\\beta` are two real values such that :math:`\\alpha<\\beta`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_b3aefb8f8c96565c95d583848719e5b2(module, "UniformDistribution", "This class represents a uniform distribution.\n\nThe uniform distribution is an univariate continuous distribution. The\nsupport is the interval :math:`[\\alpha,\\beta]` where :math:`\\alpha` and\n:math:`\\beta` are two real values such that :math:`\\alpha<\\beta`.\n\n"); class_b3aefb8f8c96565c95d583848719e5b2.def(pybind11::init< >()); class_b3aefb8f8c96565c95d583848719e5b2.def(pybind11::init< double const &, double const & >()); class_b3aefb8f8c96565c95d583848719e5b2.def(pybind11::init< class ::statiskit::UniformDistribution const & >()); diff --git a/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp new file mode 100644 index 00000000..2a2fd7b1 --- /dev/null +++ b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_b43d5bcd7fb95832845cba669051438f(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type > enum_b43d5bcd7fb95832845cba669051438f(module, "criterion_type"); + enum_b43d5bcd7fb95832845cba669051438f.value("AIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AIC); + enum_b43d5bcd7fb95832845cba669051438f.value("AI_CC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AICc); + enum_b43d5bcd7fb95832845cba669051438f.value("BIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::BIC); + enum_b43d5bcd7fb95832845cba669051438f.value("HQIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::HQIC); + enum_b43d5bcd7fb95832845cba669051438f.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp new file mode 100644 index 00000000..1898923f --- /dev/null +++ b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp @@ -0,0 +1,31 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, ::statiskit::SlopeHeuristicSolver > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, ::statiskit::SlopeHeuristicSolver >::PolymorphicCopy; + + + public: + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; + virtual return_type_d3975f18eb9652cea17c1ce078741a5e operator()(param_d3975f18eb9652cea17c1ce078741a5e_0_type param_0, param_d3975f18eb9652cea17c1ce078741a5e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3975f18eb9652cea17c1ce078741a5e, class_type, operator(), param_0, param_1); }; + }; +} + + +namespace autowig { +} + +void wrapper_b4644d28cde95fdb8e27360bc00fee72(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, class ::statiskit::SlopeHeuristicSolver > >::Type, class ::statiskit::SlopeHeuristicSolver > class_b4644d28cde95fdb8e27360bc00fee72(module, "_PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72", ""); + class_b4644d28cde95fdb8e27360bc00fee72.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b487f4fc27725338b969ff43c4c8f4e4.cpp b/src/py/wrapper/wrapper_b487f4fc27725338b969ff43c4c8f4e4.cpp index 8e59c9c1..fc47ff52 100644 --- a/src/py/wrapper/wrapper_b487f4fc27725338b969ff43c4c8f4e4.cpp +++ b/src/py/wrapper/wrapper_b487f4fc27725338b969ff43c4c8f4e4.cpp @@ -7,8 +7,8 @@ namespace autowig { void wrapper_b487f4fc27725338b969ff43c4c8f4e4(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_b487f4fc27725338b969ff43c4c8f4e4(module, "MultinomialSingularDistributionEstimation", ""); - class_b487f4fc27725338b969ff43c4c8f4e4.def(pybind11::init< class ::statiskit::MultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > class_b487f4fc27725338b969ff43c4c8f4e4(module, "MultinomialSingularDistributionEstimation", ""); + class_b487f4fc27725338b969ff43c4c8f4e4.def(pybind11::init< >()); class_b487f4fc27725338b969ff43c4c8f4e4.def(pybind11::init< struct ::statiskit::MultinomialSingularDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp new file mode 100644 index 00000000..48070fd2 --- /dev/null +++ b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_b544b96a33fd5924804b28cfb48e8df8(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_b544b96a33fd5924804b28cfb48e8df8(module, "_PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8", ""); + class_b544b96a33fd5924804b28cfb48e8df8.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp new file mode 100644 index 00000000..86f2c472 --- /dev/null +++ b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_b5bed4faf978515387938b2b850d0fdf(pybind11::module& module) +{ + + pybind11::class_::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_b5bed4faf978515387938b2b850d0fdf(module, "_PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf", ""); + class_b5bed4faf978515387938b2b850d0fdf.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp new file mode 100644 index 00000000..9303d883 --- /dev/null +++ b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp @@ -0,0 +1,12 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module) +{ + + pybind11::class_::Type > class_b6605ca6549d54eba3c614d5b6a29235(module, "NominalDistributionEstimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp b/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp new file mode 100644 index 00000000..63d394fe --- /dev/null +++ b/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp @@ -0,0 +1,10 @@ +#include "_core.h" + + +void wrapper_b6a067f70ca259909a6411bfb14cfdca(pybind11::module& module) +{ + + + pybind11::register_exception< class ::std::ios_base::failure >(module, "Failure"); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp b/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp new file mode 100644 index 00000000..a23cb137 --- /dev/null +++ b/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_2d570bb6238c588e8df030fcc186f8a2)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_b5dbf9a293985f8ba1770a0b07915da4)(double const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_2a0bf3f8ae745dd0adf4697ab5a385af)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_d65c85cb59785e15ac07984f310b0d74)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_1ba12dd370ba5426a662a8c29fa3d4ef)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_8215e7fb91415f0dbd10a2bb22e19766)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_b730e37e69f05687be99d670316afe25(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_b730e37e69f05687be99d670316afe25(module, "_Optimization_b730e37e69f05687be99d670316afe25", ""); + class_b730e37e69f05687be99d670316afe25.def(pybind11::init< >()); + class_b730e37e69f05687be99d670316afe25.def("get_mindiff", method_pointer_2d570bb6238c588e8df030fcc186f8a2, pybind11::return_value_policy::copy, ""); + class_b730e37e69f05687be99d670316afe25.def("set_mindiff", method_pointer_b5dbf9a293985f8ba1770a0b07915da4, ""); + class_b730e37e69f05687be99d670316afe25.def("get_minits", method_pointer_2a0bf3f8ae745dd0adf4697ab5a385af, ""); + class_b730e37e69f05687be99d670316afe25.def("set_minits", method_pointer_d65c85cb59785e15ac07984f310b0d74, ""); + class_b730e37e69f05687be99d670316afe25.def("get_maxits", method_pointer_1ba12dd370ba5426a662a8c29fa3d4ef, ""); + class_b730e37e69f05687be99d670316afe25.def("set_maxits", method_pointer_8215e7fb91415f0dbd10a2bb22e19766, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp new file mode 100644 index 00000000..b6bf227b --- /dev/null +++ b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_b87395375e4e53959abf2c6e5205259d(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_b87395375e4e53959abf2c6e5205259d(module, "Estimator", ""); + class_b87395375e4e53959abf2c6e5205259d.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp b/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp new file mode 100644 index 00000000..bd589185 --- /dev/null +++ b/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp @@ -0,0 +1,24 @@ +#include "_core.h" + +struct ::statiskit::MultivariateSampleSpace const * (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_3a2a3a9b97515f4a9768f025e794825e)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_sample_space; +class ::statiskit::MultivariateDataFrame const * (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_56897e28ca035b0daf721a8cff74c501)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::origin; +::statiskit::Index (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_cdad2d0065a253248c1ebc64c41e0a91)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_nb_weights; +double (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_05d41b99b36b5848832d09948d315dd8)(::statiskit::Index const &)const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_weight; +void (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_0ac1bbdd82215ba99ad2916691481b60)(::statiskit::Index const &, double const &)= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::set_weight; + +namespace autowig { +} + +void wrapper_b96c209ac3dd5f7fbfe78eac3417193e(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame > >::Type, class ::statiskit::MultivariateDataFrame > class_b96c209ac3dd5f7fbfe78eac3417193e(module, "_WeightedData_b96c209ac3dd5f7fbfe78eac3417193e", ""); + class_b96c209ac3dd5f7fbfe78eac3417193e.def(pybind11::init< class ::statiskit::MultivariateDataFrame const & >()); + class_b96c209ac3dd5f7fbfe78eac3417193e.def(pybind11::init< class ::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame > const & >()); + class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_sample_space", method_pointer_3a2a3a9b97515f4a9768f025e794825e, pybind11::return_value_policy::reference_internal, ""); + class_b96c209ac3dd5f7fbfe78eac3417193e.def("origin", method_pointer_56897e28ca035b0daf721a8cff74c501, pybind11::return_value_policy::reference_internal, ""); + class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_nb_weights", method_pointer_cdad2d0065a253248c1ebc64c41e0a91, ""); + class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_weight", method_pointer_05d41b99b36b5848832d09948d315dd8, ""); + class_b96c209ac3dd5f7fbfe78eac3417193e.def("set_weight", method_pointer_0ac1bbdd82215ba99ad2916691481b60, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp index 6bbcc77e..6e63a018 100644 --- a/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp +++ b/src/py/wrapper/wrapper_b9daedbb8a1d5864bc019efa0a0d17df.cpp @@ -1,23 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::MultivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; - virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; - virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; - }; -} - -::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * (::statiskit::MultivariateConditionalDistributionEstimation::*method_pointer_84032d21ab6f50bd8e28510f7cd5494f)()const= &::statiskit::MultivariateConditionalDistributionEstimation::get_estimated; -class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > (::statiskit::MultivariateConditionalDistributionEstimation::*method_pointer_d983a7f463755e8dbd136e8296970fe7)()const= &::statiskit::MultivariateConditionalDistributionEstimation::copy; namespace autowig { } @@ -25,8 +7,8 @@ namespace autowig { void wrapper_b9daedbb8a1d5864bc019efa0a0d17df(pybind11::module& module) { - pybind11::class_::Type > class_b9daedbb8a1d5864bc019efa0a0d17df(module, "MultivariateConditionalDistributionEstimation", ""); - class_b9daedbb8a1d5864bc019efa0a0d17df.def("get_estimated", method_pointer_84032d21ab6f50bd8e28510f7cd5494f, pybind11::return_value_policy::reference_internal, ""); - class_b9daedbb8a1d5864bc019efa0a0d17df.def("copy", method_pointer_d983a7f463755e8dbd136e8296970fe7, ""); + pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > class_b9daedbb8a1d5864bc019efa0a0d17df(module, "MultivariateConditionalDistributionEstimation", ""); + class_b9daedbb8a1d5864bc019efa0a0d17df.def(pybind11::init< >()); + class_b9daedbb8a1d5864bc019efa0a0d17df.def(pybind11::init< struct ::statiskit::MultivariateConditionalDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ba25f6fe677652cebd40b6aed2762b5a.cpp b/src/py/wrapper/wrapper_ba25f6fe677652cebd40b6aed2762b5a.cpp index f6eedf60..46c9958f 100644 --- a/src/py/wrapper/wrapper_ba25f6fe677652cebd40b6aed2762b5a.cpp +++ b/src/py/wrapper/wrapper_ba25f6fe677652cebd40b6aed2762b5a.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_ba25f6fe677652cebd40b6aed2762b5a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > > class_ba25f6fe677652cebd40b6aed2762b5a(module, "MultinomialSingularDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > > class_ba25f6fe677652cebd40b6aed2762b5a(module, "MultinomialSingularDistribution", ""); class_ba25f6fe677652cebd40b6aed2762b5a.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_ba25f6fe677652cebd40b6aed2762b5a.def(pybind11::init< class ::statiskit::MultinomialSingularDistribution const & >()); class_ba25f6fe677652cebd40b6aed2762b5a.def("get_pi", method_pointer_0eb2e57f88f7522cbd8ce57df2a18a31, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_bac6b66586be52859b259d0c4440e387.cpp b/src/py/wrapper/wrapper_bac6b66586be52859b259d0c4440e387.cpp index df065b0a..81e8a89c 100644 --- a/src/py/wrapper/wrapper_bac6b66586be52859b259d0c4440e387.cpp +++ b/src/py/wrapper/wrapper_bac6b66586be52859b259d0c4440e387.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_bac6b66586be52859b259d0c4440e387(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateLocationEstimation > class_bac6b66586be52859b259d0c4440e387(module, "MultivariateMeanEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation > > class_bac6b66586be52859b259d0c4440e387(module, "MultivariateMeanEstimation", ""); class_bac6b66586be52859b259d0c4440e387.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_bac6b66586be52859b259d0c4440e387.def(pybind11::init< class ::statiskit::MultivariateMeanEstimation const & >()); diff --git a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp new file mode 100644 index 00000000..aa1f7c14 --- /dev/null +++ b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp @@ -0,0 +1,12 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module) +{ + + pybind11::class_::Type > class_bc200d01ce665d1f9024e1ee1e59a5c5(module, "ContinuousUnivariateFrequencyDistributionEstimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp new file mode 100644 index 00000000..d6d8a4c9 --- /dev/null +++ b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp @@ -0,0 +1,37 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData >::PolymorphicCopy; + + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; + virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: + typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; + virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; + virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_bc2764672801516e9cea984f33c9d9bf(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData > >::Type, struct ::statiskit::UnivariateData > class_bc2764672801516e9cea984f33c9d9bf(module, "_PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf", ""); + class_bc2764672801516e9cea984f33c9d9bf.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp new file mode 100644 index 00000000..b54837bc --- /dev/null +++ b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; + typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; + virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; + typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; + virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; + typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; + virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: + typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; + virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: + typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; + virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; + virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_be6e5acaae3150f69207956b75050e55(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData > >::Type, struct ::statiskit::MultivariateData > class_be6e5acaae3150f69207956b75050e55(module, "_PolymorphicCopy_be6e5acaae3150f69207956b75050e55", ""); + class_be6e5acaae3150f69207956b75050e55.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp index 379f2879..6899a62c 100644 --- a/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp +++ b/src/py/wrapper/wrapper_bf2c6deebd8e55f3824ecd5cf9312434.cpp @@ -1,23 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::UnivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; - virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; - virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; - }; -} - -::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * (::statiskit::UnivariateConditionalDistributionEstimation::*method_pointer_c18e0a4c85e9560fa63a48b370681cca)()const= &::statiskit::UnivariateConditionalDistributionEstimation::get_estimated; -class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > (::statiskit::UnivariateConditionalDistributionEstimation::*method_pointer_7d21d7a9db0b54beb12be25dbd45dc87)()const= &::statiskit::UnivariateConditionalDistributionEstimation::copy; namespace autowig { } @@ -25,8 +7,8 @@ namespace autowig { void wrapper_bf2c6deebd8e55f3824ecd5cf9312434(pybind11::module& module) { - pybind11::class_::Type > class_bf2c6deebd8e55f3824ecd5cf9312434(module, "UnivariateConditionalDistributionEstimation", ""); - class_bf2c6deebd8e55f3824ecd5cf9312434.def("get_estimated", method_pointer_c18e0a4c85e9560fa63a48b370681cca, pybind11::return_value_policy::reference_internal, ""); - class_bf2c6deebd8e55f3824ecd5cf9312434.def("copy", method_pointer_7d21d7a9db0b54beb12be25dbd45dc87, ""); + pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > class_bf2c6deebd8e55f3824ecd5cf9312434(module, "UnivariateConditionalDistributionEstimation", ""); + class_bf2c6deebd8e55f3824ecd5cf9312434.def(pybind11::init< >()); + class_bf2c6deebd8e55f3824ecd5cf9312434.def(pybind11::init< struct ::statiskit::UnivariateConditionalDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp index f17e150e..fc2b8657 100644 --- a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp +++ b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312.cpp b/src/py/wrapper/wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312.cpp new file mode 100644 index 00000000..2afb45dd --- /dev/null +++ b/src/py/wrapper/wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +struct ::statiskit::MultivariateData const * (::statiskit::IndicesSelectedData::*method_pointer_d6c7efbc09c752d192fd6ffa5db7924e)()const= &::statiskit::IndicesSelectedData::origin; +class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > const & (::statiskit::IndicesSelectedData::*method_pointer_e9aa5c082c775c28beea479e2329c74c)()const= &::statiskit::IndicesSelectedData::get_indices; + +namespace autowig { +} + +void wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData > > class_bf9e7f30f1ac5c22a1598a2a6a45b312(module, "IndicesSelectedData", ""); + class_bf9e7f30f1ac5c22a1598a2a6a45b312.def(pybind11::init< struct ::statiskit::MultivariateData const &, ::statiskit::Indices const & >()); + class_bf9e7f30f1ac5c22a1598a2a6a45b312.def(pybind11::init< class ::statiskit::IndicesSelectedData const & >()); + class_bf9e7f30f1ac5c22a1598a2a6a45b312.def("origin", method_pointer_d6c7efbc09c752d192fd6ffa5db7924e, pybind11::return_value_policy::reference_internal, ""); + class_bf9e7f30f1ac5c22a1598a2a6a45b312.def("get_indices", method_pointer_e9aa5c082c775c28beea479e2329c74c, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp new file mode 100644 index 00000000..f6e102c4 --- /dev/null +++ b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_c07d900e8cfe54789b1eb7500f2b17d6(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_c07d900e8cfe54789b1eb7500f2b17d6(module, "_PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6", ""); + class_c07d900e8cfe54789b1eb7500f2b17d6.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp new file mode 100644 index 00000000..aa186eb7 --- /dev/null +++ b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp @@ -0,0 +1,45 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::CriterionEstimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; + typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; + typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; + virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; + + class Publicist : public class_type + { + public: + }; +} + +enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::*method_pointer_b44ef74eea0156c2a9e658dcd1081763)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::*method_pointer_ecc46aaf5a885e4588963ddadae0464a)(enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_c14e91b91c9852b8bd1c5fce67b0d241(pybind11::module& module) +{ + + pybind11::class_ >::CriterionEstimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > > class_c14e91b91c9852b8bd1c5fce67b0d241(module, "CriterionEstimator", ""); + class_c14e91b91c9852b8bd1c5fce67b0d241.def(pybind11::init< >()); + class_c14e91b91c9852b8bd1c5fce67b0d241.def("get_criterion", method_pointer_b44ef74eea0156c2a9e658dcd1081763, pybind11::return_value_policy::copy, ""); + class_c14e91b91c9852b8bd1c5fce67b0d241.def("set_criterion", method_pointer_ecc46aaf5a885e4588963ddadae0464a, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp index 39c3003a..c4ec39fe 100644 --- a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp +++ b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistribution::CategoricalMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_c2568ff48c245dbe8395ac41d83bc8f8.cpp b/src/py/wrapper/wrapper_c2568ff48c245dbe8395ac41d83bc8f8.cpp index 4af90fea..fd4083be 100644 --- a/src/py/wrapper/wrapper_c2568ff48c245dbe8395ac41d83bc8f8.cpp +++ b/src/py/wrapper/wrapper_c2568ff48c245dbe8395ac41d83bc8f8.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_c2568ff48c245dbe8395ac41d83bc8f8(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_c2568ff48c245dbe8395ac41d83bc8f8(module, "LogarithmicDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > > class_c2568ff48c245dbe8395ac41d83bc8f8(module, "LogarithmicDistribution", ""); class_c2568ff48c245dbe8395ac41d83bc8f8.def(pybind11::init< >()); class_c2568ff48c245dbe8395ac41d83bc8f8.def(pybind11::init< double const & >()); class_c2568ff48c245dbe8395ac41d83bc8f8.def(pybind11::init< class ::statiskit::LogarithmicDistribution const & >()); diff --git a/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp new file mode 100644 index 00000000..77c678ea --- /dev/null +++ b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; + + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_c30582fff9a5510186e17a7b44494d9f(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousEvent >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_c30582fff9a5510186e17a7b44494d9f(module, "_PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f", ""); + class_c30582fff9a5510186e17a7b44494d9f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c3319864e98456809db3192e7060581f.cpp b/src/py/wrapper/wrapper_c3319864e98456809db3192e7060581f.cpp index 708658c4..6182b637 100644 --- a/src/py/wrapper/wrapper_c3319864e98456809db3192e7060581f.cpp +++ b/src/py/wrapper/wrapper_c3319864e98456809db3192e7060581f.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_c3319864e98456809db3192e7060581f(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > > class_c3319864e98456809db3192e7060581f(module, "BetaNegativeBinomialDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > > class_c3319864e98456809db3192e7060581f(module, "BetaNegativeBinomialDistribution", ""); class_c3319864e98456809db3192e7060581f.def(pybind11::init< >()); class_c3319864e98456809db3192e7060581f.def(pybind11::init< double const &, double const &, double const & >()); class_c3319864e98456809db3192e7060581f.def(pybind11::init< class ::statiskit::BetaNegativeBinomialDistribution const & >()); diff --git a/src/py/wrapper/wrapper_c3848ca82c6150b480894755016faabf.cpp b/src/py/wrapper/wrapper_c3848ca82c6150b480894755016faabf.cpp index 98b36794..f677adf2 100644 --- a/src/py/wrapper/wrapper_c3848ca82c6150b480894755016faabf.cpp +++ b/src/py/wrapper/wrapper_c3848ca82c6150b480894755016faabf.cpp @@ -1,20 +1,12 @@ #include "_core.h" -void (::statiskit::MultivariateDataFrame::*method_pointer_ceb65df6fb445fa2846e8bb4a96abc30)(struct ::statiskit::MultivariateSampleSpace const &)= &::statiskit::MultivariateDataFrame::set_sample_space; -::statiskit::Index (::statiskit::MultivariateDataFrame::*method_pointer_3d40300675955653b701c20d2aa3e360)()const= &::statiskit::MultivariateDataFrame::get_nb_components; +void (::statiskit::MultivariateDataFrame::*method_pointer_bdf57f4d8234532bab59339bf04ced18)(::statiskit::Index const &, struct ::statiskit::UnivariateSampleSpace const &)= &::statiskit::MultivariateDataFrame::set_sample_space; class ::statiskit::UnivariateDataFrame const * (::statiskit::MultivariateDataFrame::*method_pointer_b9d069c00f5c563587cb7bb977d07267)(::statiskit::Index const &)const= &::statiskit::MultivariateDataFrame::get_component; void (::statiskit::MultivariateDataFrame::*method_pointer_bd6f29af832854fd90b48c846aef5083)(::statiskit::Index const &, class ::statiskit::UnivariateDataFrame const &)= &::statiskit::MultivariateDataFrame::set_component; void (::statiskit::MultivariateDataFrame::*method_pointer_e10b9c47f5cd51a68b8b0640eb4af2a4)(class ::statiskit::UnivariateDataFrame const &)= &::statiskit::MultivariateDataFrame::add_component; class ::std::unique_ptr< class ::statiskit::UnivariateDataFrame, struct ::std::default_delete< class ::statiskit::UnivariateDataFrame > > (::statiskit::MultivariateDataFrame::*method_pointer_0e36cd3c6b7554bb8faab5320f147d49)()= &::statiskit::MultivariateDataFrame::pop_component; void (::statiskit::MultivariateDataFrame::*method_pointer_fc707ff04a2653ea8e21bf6a890a5abb)(::statiskit::Index const &, class ::statiskit::UnivariateDataFrame const &)= &::statiskit::MultivariateDataFrame::insert_component; void (::statiskit::MultivariateDataFrame::*method_pointer_600b4f5b6cc15bb1b7a8e0601af0e7f9)(::statiskit::Index const &)= &::statiskit::MultivariateDataFrame::remove_component; -::statiskit::Index (::statiskit::MultivariateDataFrame::*method_pointer_10ac8325c1085cec9a39efd69ba41c3c)()const= &::statiskit::MultivariateDataFrame::get_nb_events; -class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > (::statiskit::MultivariateDataFrame::*method_pointer_6ad6e1f3747d5172b5d3ab1dcc010a9f)(::statiskit::Index const &)const= &::statiskit::MultivariateDataFrame::get_event; -void (::statiskit::MultivariateDataFrame::*method_pointer_b0f5e788fdc65ce699e64f98105b4c7c)(::statiskit::Index const &, struct ::statiskit::MultivariateEvent const *)= &::statiskit::MultivariateDataFrame::set_event; -void (::statiskit::MultivariateDataFrame::*method_pointer_b555b7b0972754ac85cab0703f97447f)(struct ::statiskit::MultivariateEvent const *)= &::statiskit::MultivariateDataFrame::add_event; -class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > (::statiskit::MultivariateDataFrame::*method_pointer_82e95a12a3db599eb1d0d88a3d521a65)()= &::statiskit::MultivariateDataFrame::pop_event; -void (::statiskit::MultivariateDataFrame::*method_pointer_014f7c47848152659ad0201bd69f0ab5)(::statiskit::Index const &, struct ::statiskit::MultivariateEvent const *)= &::statiskit::MultivariateDataFrame::insert_event; -void (::statiskit::MultivariateDataFrame::*method_pointer_ce2cebc7034858dabbda327fb270350c)(::statiskit::Index const &)= &::statiskit::MultivariateDataFrame::remove_event; namespace autowig { } @@ -22,24 +14,15 @@ namespace autowig { void wrapper_c3848ca82c6150b480894755016faabf(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, class ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > > class_c3848ca82c6150b480894755016faabf(module, "MultivariateDataFrame", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > > class_c3848ca82c6150b480894755016faabf(module, "MultivariateDataFrame", ""); class_c3848ca82c6150b480894755016faabf.def(pybind11::init< >()); - class_c3848ca82c6150b480894755016faabf.def(pybind11::init< struct ::statiskit::MultivariateSampleSpace const & >()); class_c3848ca82c6150b480894755016faabf.def(pybind11::init< class ::statiskit::MultivariateDataFrame const & >()); - class_c3848ca82c6150b480894755016faabf.def("set_sample_space", method_pointer_ceb65df6fb445fa2846e8bb4a96abc30, ""); - class_c3848ca82c6150b480894755016faabf.def("get_nb_components", method_pointer_3d40300675955653b701c20d2aa3e360, ""); + class_c3848ca82c6150b480894755016faabf.def("set_sample_space", method_pointer_bdf57f4d8234532bab59339bf04ced18, ""); class_c3848ca82c6150b480894755016faabf.def("get_component", method_pointer_b9d069c00f5c563587cb7bb977d07267, pybind11::return_value_policy::reference_internal, ""); class_c3848ca82c6150b480894755016faabf.def("set_component", method_pointer_bd6f29af832854fd90b48c846aef5083, ""); class_c3848ca82c6150b480894755016faabf.def("add_component", method_pointer_e10b9c47f5cd51a68b8b0640eb4af2a4, ""); class_c3848ca82c6150b480894755016faabf.def("pop_component", method_pointer_0e36cd3c6b7554bb8faab5320f147d49, ""); class_c3848ca82c6150b480894755016faabf.def("insert_component", method_pointer_fc707ff04a2653ea8e21bf6a890a5abb, ""); class_c3848ca82c6150b480894755016faabf.def("remove_component", method_pointer_600b4f5b6cc15bb1b7a8e0601af0e7f9, ""); - class_c3848ca82c6150b480894755016faabf.def("get_nb_events", method_pointer_10ac8325c1085cec9a39efd69ba41c3c, ""); - class_c3848ca82c6150b480894755016faabf.def("get_event", method_pointer_6ad6e1f3747d5172b5d3ab1dcc010a9f, ""); - class_c3848ca82c6150b480894755016faabf.def("set_event", method_pointer_b0f5e788fdc65ce699e64f98105b4c7c, ""); - class_c3848ca82c6150b480894755016faabf.def("add_event", method_pointer_b555b7b0972754ac85cab0703f97447f, ""); - class_c3848ca82c6150b480894755016faabf.def("pop_event", method_pointer_82e95a12a3db599eb1d0d88a3d521a65, ""); - class_c3848ca82c6150b480894755016faabf.def("insert_event", method_pointer_014f7c47848152659ad0201bd69f0ab5, ""); - class_c3848ca82c6150b480894755016faabf.def("remove_event", method_pointer_ce2cebc7034858dabbda327fb270350c, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp index dd611759..0b2b491d 100644 --- a/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp +++ b/src/py/wrapper/wrapper_c4726473069d576fbb9e53aacbf298ea.cpp @@ -1,19 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::CategoricalUnivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::CategoricalUnivariateDistributionEstimation::CategoricalUnivariateDistributionEstimation; - - typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; - virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -21,6 +7,8 @@ namespace autowig { void wrapper_c4726473069d576fbb9e53aacbf298ea(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_c4726473069d576fbb9e53aacbf298ea(module, "CategoricalUnivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_c4726473069d576fbb9e53aacbf298ea(module, "CategoricalUnivariateDistributionEstimation", ""); + class_c4726473069d576fbb9e53aacbf298ea.def(pybind11::init< >()); + class_c4726473069d576fbb9e53aacbf298ea.def(pybind11::init< struct ::statiskit::CategoricalUnivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c5145b1136065279b4181888431537f6.cpp b/src/py/wrapper/wrapper_c5145b1136065279b4181888431537f6.cpp new file mode 100644 index 00000000..69be998f --- /dev/null +++ b/src/py/wrapper/wrapper_c5145b1136065279b4181888431537f6.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_c5145b1136065279b4181888431537f6(pybind11::module& module) +{ + + pybind11::class_ >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > class_c5145b1136065279b4181888431537f6(module, "_PolymorphicCopy_c5145b1136065279b4181888431537f6", ""); + class_c5145b1136065279b4181888431537f6.def(pybind11::init< >()); + class_c5145b1136065279b4181888431537f6.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c.cpp b/src/py/wrapper/wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c.cpp index 6e04d06f..26a6a375 100644 --- a/src/py/wrapper/wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c.cpp +++ b/src/py/wrapper/wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_c5daab4ee3ac55c89ee2ee06a88fb23c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateLocationEstimation > class_c5daab4ee3ac55c89ee2ee06a88fb23c(module, "UnivariateMeanEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation > > class_c5daab4ee3ac55c89ee2ee06a88fb23c(module, "UnivariateMeanEstimation", ""); class_c5daab4ee3ac55c89ee2ee06a88fb23c.def(pybind11::init< double const & >()); class_c5daab4ee3ac55c89ee2ee06a88fb23c.def(pybind11::init< class ::statiskit::UnivariateMeanEstimation const & >()); diff --git a/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp b/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp new file mode 100644 index 00000000..ccf86998 --- /dev/null +++ b/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_c6691c5b303051859dffd8d2f0d6c188(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_c6691c5b303051859dffd8d2f0d6c188(module, "_PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188", ""); + class_c6691c5b303051859dffd8d2f0d6c188.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp new file mode 100644 index 00000000..990a37d0 --- /dev/null +++ b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp @@ -0,0 +1,29 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation >::PolymorphicCopy; + + + public: + typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; + virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation > >::Type, struct ::statiskit::UnivariateLocationEstimation > class_c6b6c0b5c2f852c597d52bf9c25f3f92(module, "_PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92", ""); + class_c6b6c0b5c2f852c597d52bf9c25f3f92.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp index d4ded7c0..739e5d5d 100644 --- a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp +++ b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp @@ -7,13 +7,21 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::UnivariateLocationEstimation::UnivariateLocationEstimation; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_f62d06e83b8a572c85ec833896347ff2; + virtual return_type_f62d06e83b8a572c85ec833896347ff2 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f62d06e83b8a572c85ec833896347ff2, class_type, copy, ); }; + + public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; } double const & (::statiskit::UnivariateLocationEstimation::*method_pointer_9dde6f7d86c45ddd8e7676fbf005dcc2)()const= &::statiskit::UnivariateLocationEstimation::get_location; +class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > (::statiskit::UnivariateLocationEstimation::*method_pointer_f62d06e83b8a572c85ec833896347ff2)()const= &::statiskit::UnivariateLocationEstimation::copy; namespace autowig { } @@ -22,6 +30,8 @@ void wrapper_c85ee717b61a5378b8f1bc88cdf6c91a(pybind11::module& module) { pybind11::class_::Type > class_c85ee717b61a5378b8f1bc88cdf6c91a(module, "UnivariateLocationEstimation", ""); + class_c85ee717b61a5378b8f1bc88cdf6c91a.def(pybind11::init< >()); class_c85ee717b61a5378b8f1bc88cdf6c91a.def("get_location", method_pointer_9dde6f7d86c45ddd8e7676fbf005dcc2, pybind11::return_value_policy::copy, ""); + class_c85ee717b61a5378b8f1bc88cdf6c91a.def("copy", method_pointer_f62d06e83b8a572c85ec833896347ff2, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c87812df9e2e5ead9306b7d4fbe06d71.cpp b/src/py/wrapper/wrapper_c87812df9e2e5ead9306b7d4fbe06d71.cpp new file mode 100644 index 00000000..16d3a751 --- /dev/null +++ b/src/py/wrapper/wrapper_c87812df9e2e5ead9306b7d4fbe06d71.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator & (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator > >::*method_pointer_04dcff2be3905b3f9de4afcad2c82cda)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::operator*; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator > >::*method_pointer_b90a92e7a79a59aebb37f0e1d3eb0274)()const= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::get; +::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::pointer (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator > >::*method_pointer_64cd49f0652c581a9bd817a188cfd783)()= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::release; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator > >::*method_pointer_4dc2e43a707d5a52a3e6d46567cb67b5)(::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::pointer )= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::reset; +void (::std::unique_ptr< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator, ::std::default_delete< ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator > >::*method_pointer_0d5124b4ba455173b3e3be0832badbdf)(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > &)= &::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > >::swap; + +namespace autowig { + void method_decorator_04dcff2be3905b3f9de4afcad2c82cda(class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > const & instance, const class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator & param_out) { instance.operator*() = param_out; } +} + +void wrapper_c87812df9e2e5ead9306b7d4fbe06d71(pybind11::module& module) +{ + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp b/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp new file mode 100644 index 00000000..951b40e4 --- /dev/null +++ b/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::data_type const * (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::*method_pointer_aa2cbc3e3f6c51ec8b7709c23d558a89)()const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::get_data; +::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::distribution_type const * (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::*method_pointer_ba97ddec37b250ff8e8ff65ddc5537cc)()const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::get_distribution; +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::*method_pointer_3d081c3327cf5ca8b9e9d4e4b4e45af6)()const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::copy; + +namespace autowig { +} + +void wrapper_c8f9ef7718815a7dbb7946e20b85e07f(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Type > class_c8f9ef7718815a7dbb7946e20b85e07f(module, "_DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f", ""); + class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< >()); + class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::distribution_type const * >()); + class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > const & >()); + class_c8f9ef7718815a7dbb7946e20b85e07f.def("get_data", method_pointer_aa2cbc3e3f6c51ec8b7709c23d558a89, pybind11::return_value_policy::reference_internal, ""); + class_c8f9ef7718815a7dbb7946e20b85e07f.def("get_distribution", method_pointer_ba97ddec37b250ff8e8ff65ddc5537cc, pybind11::return_value_policy::reference_internal, ""); + class_c8f9ef7718815a7dbb7946e20b85e07f.def("copy", method_pointer_3d081c3327cf5ca8b9e9d4e4b4e45af6, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp index c82f14f4..aca493e1 100644 --- a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp +++ b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp @@ -1,5 +1,27 @@ #include "_core.h" +namespace autowig +{ + typedef ::statiskit::GeometricDistributionMLEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::GeometricDistributionMLEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + }; +} + namespace autowig { } @@ -7,8 +29,7 @@ namespace autowig { void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< >()); - class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< struct ::statiskit::GeometricDistributionMLEstimation::Estimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp b/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp new file mode 100644 index 00000000..9f5ed626 --- /dev/null +++ b/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_cbe0be5b997e578ea56a5ddbc174c53e(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_cbe0be5b997e578ea56a5ddbc174c53e(module, "_PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e", ""); + class_cbe0be5b997e578ea56a5ddbc174c53e.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp b/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp index af90ba9d..0f33987c 100644 --- a/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp +++ b/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_cc9b200ad98c51108cfb0b6bf6bf2bd0(module, "NegativeBinomialDistributionMMEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_cc9b200ad98c51108cfb0b6bf6bf2bd0(module, "NegativeBinomialDistributionMMEstimation", ""); class_cc9b200ad98c51108cfb0b6bf6bf2bd0.def(pybind11::init< >()); - class_cc9b200ad98c51108cfb0b6bf6bf2bd0.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); class_cc9b200ad98c51108cfb0b6bf6bf2bd0.def(pybind11::init< struct ::statiskit::NegativeBinomialDistributionMMEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp new file mode 100644 index 00000000..42f29aaa --- /dev/null +++ b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; + typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; + typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; + virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_ccb69f6f1ea252c78b62bd2708670cdd(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_ccb69f6f1ea252c78b62bd2708670cdd(module, "Estimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cd5e5c2c8f40591793aafe753277bfe3.cpp b/src/py/wrapper/wrapper_cd5e5c2c8f40591793aafe753277bfe3.cpp index 281bb8cf..67b8f772 100644 --- a/src/py/wrapper/wrapper_cd5e5c2c8f40591793aafe753277bfe3.cpp +++ b/src/py/wrapper/wrapper_cd5e5c2c8f40591793aafe753277bfe3.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_cd5e5c2c8f40591793aafe753277bfe3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > > class_cd5e5c2c8f40591793aafe753277bfe3(module, "DirichletDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > > class_cd5e5c2c8f40591793aafe753277bfe3(module, "DirichletDistribution", ""); class_cd5e5c2c8f40591793aafe753277bfe3.def(pybind11::init< ::statiskit::Index const & >()); class_cd5e5c2c8f40591793aafe753277bfe3.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_cd5e5c2c8f40591793aafe753277bfe3.def(pybind11::init< class ::statiskit::DirichletDistribution const & >()); diff --git a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp index c56004fa..d40b9ae2 100644 --- a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp +++ b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::CategoricalEvent::CategoricalEvent; - typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; - virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; - virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; } diff --git a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp index 3a79abe3..92669cab 100644 --- a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp +++ b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp @@ -9,25 +9,35 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistribution::CategoricalUnivariateDistribution; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; @@ -45,6 +55,7 @@ void wrapper_cf0415be3d965595a8486e9a8659c1a9(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::UnivariateDistribution > class_cf0415be3d965595a8486e9a8659c1a9(module, "CategoricalUnivariateDistribution", "This virtual class CategoricalUnivariateDistribution represents the\ndistribution of a random categorical component $ X $. The support is a\nfinite set of categories (string) $ :raw-latex:`\\mathcal{X}` $ and we\nhave $ :raw-latex:`\\sum`\\_{s:raw-latex:`\\in `:raw-latex:`\\mathcal{S}`}\nP(S=s) = 1$.\n\n"); + class_cf0415be3d965595a8486e9a8659c1a9.def(pybind11::init< >()); class_cf0415be3d965595a8486e9a8659c1a9.def("ldf", method_pointer_bf87506bdef85834a040bd514141c40f, "Compute the log-probability of a value.\n\nLet $c :raw-latex:`\\in `:raw-latex:`\\mathcal{S}` $ denote the value, $\n:raw-latex:`\\ln `P:raw-latex:`\\left`(S = s:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`::std::basic_string<` char, struct\n::std::char_traits< char >, class ::std::allocator< char > >) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_cf0415be3d965595a8486e9a8659c1a9.def("pdf", method_pointer_d5f6ca2affb75fd78b00fcc370d678ff, "Compute the probability of a value\n\nLet $c :raw-latex:`\\in `:raw-latex:`\\mathcal{S}` $ denote the value, $\nP:raw-latex:`\\left`(S = s:raw-latex:`\\right`) $.\n\n:Parameter:\n `value` (:cpp:any:`::std::basic_string<` char, struct\n::std::char_traits< char >, class ::std::allocator< char > >) - The considered value.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_cf0415be3d965595a8486e9a8659c1a9.def("pdf", method_pointer_ffbd4b9cbee7579795e0ce6676ff252f, "Compute the probability of a value\n\nLet $c :raw-latex:`\\in `:raw-latex:`\\mathcal{S}` $ denote the value, $\nP:raw-latex:`\\left`(S = s:raw-latex:`\\right`) $.\n\n:Parameter:\n `position` (:cpp:any:`int`) - Undocumented\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp new file mode 100644 index 00000000..0cd2868f --- /dev/null +++ b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; + + + public: + typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; + typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; + virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_d19aab6dbd7651dda367a81e9c9ee1a8(module, "_PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8", ""); + class_d19aab6dbd7651dda367a81e9c9ee1a8.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp b/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp new file mode 100644 index 00000000..150b4825 --- /dev/null +++ b/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_d30ac07998c750479d39b4a9b78e7da6(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_d30ac07998c750479d39b4a9b78e7da6(module, "_PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6", ""); + class_d30ac07998c750479d39b4a9b78e7da6.def(pybind11::init< >()); + class_d30ac07998c750479d39b4a9b78e7da6.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp index bdaaa0e0..b3ef07d6 100644 --- a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp +++ b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp @@ -7,9 +7,14 @@ namespace autowig class Trampoline : public class_type { public: + using ::statiskit::UnivariateLocationEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_8b9c71aa21be519083da91720a92b999; virtual return_type_8b9c71aa21be519083da91720a92b999 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b9c71aa21be519083da91720a92b999, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; @@ -26,6 +31,7 @@ void wrapper_d33d975672ef54f0b9b5e01d57fdf32b(pybind11::module& module) { pybind11::class_::Type > class_d33d975672ef54f0b9b5e01d57fdf32b(module, "Estimator", ""); + class_d33d975672ef54f0b9b5e01d57fdf32b.def(pybind11::init< >()); class_d33d975672ef54f0b9b5e01d57fdf32b.def("__call__", method_pointer_e340294596125a0b839c5cee432407c7, ""); class_d33d975672ef54f0b9b5e01d57fdf32b.def("copy", method_pointer_8b9c71aa21be519083da91720a92b999, ""); diff --git a/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp new file mode 100644 index 00000000..01621cac --- /dev/null +++ b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp @@ -0,0 +1,43 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_d3d68100c0aa515393562535c582529e(pybind11::module& module) +{ + + pybind11::class_, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_d3d68100c0aa515393562535c582529e(module, "_PolymorphicCopy_d3d68100c0aa515393562535c582529e", ""); + class_d3d68100c0aa515393562535c582529e.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp b/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp index 1c36f21e..8e96ea3a 100644 --- a/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp +++ b/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_d413c9194272547596f08284edb5e2e8(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_d413c9194272547596f08284edb5e2e8(module, "NegativeMultinomialDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > > class_d413c9194272547596f08284edb5e2e8(module, "NegativeMultinomialDistributionEstimation", ""); class_d413c9194272547596f08284edb5e2e8.def(pybind11::init< >()); - class_d413c9194272547596f08284edb5e2e8.def(pybind11::init< class ::statiskit::SplittingDistribution const *, struct ::statiskit::MultivariateData const * >()); class_d413c9194272547596f08284edb5e2e8.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d443aa68b0b755eabc2a251be2deb4c6.cpp b/src/py/wrapper/wrapper_d443aa68b0b755eabc2a251be2deb4c6.cpp new file mode 100644 index 00000000..a124834a --- /dev/null +++ b/src/py/wrapper/wrapper_d443aa68b0b755eabc2a251be2deb4c6.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_d443aa68b0b755eabc2a251be2deb4c6(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_d443aa68b0b755eabc2a251be2deb4c6(module, "_UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6", ""); + class_d443aa68b0b755eabc2a251be2deb4c6.def(pybind11::init< >()); + class_d443aa68b0b755eabc2a251be2deb4c6.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp b/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp index 47e47bcb..8d7d5315 100644 --- a/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp +++ b/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_d57080a5d88f5beaa3f8f3ee09b1da8c(module, "LogarithmicDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_d57080a5d88f5beaa3f8f3ee09b1da8c(module, "LogarithmicDistributionMLEstimation", ""); class_d57080a5d88f5beaa3f8f3ee09b1da8c.def(pybind11::init< >()); - class_d57080a5d88f5beaa3f8f3ee09b1da8c.def(pybind11::init< class ::statiskit::LogarithmicDistribution const *, struct ::statiskit::UnivariateData const * >()); class_d57080a5d88f5beaa3f8f3ee09b1da8c.def(pybind11::init< struct ::statiskit::LogarithmicDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp new file mode 100644 index 00000000..21a2dd56 --- /dev/null +++ b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_d740d10f82335516b6c42048834de0c7(pybind11::module& module) +{ + + pybind11::class_::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_d740d10f82335516b6c42048834de0c7(module, "_PolymorphicCopy_d740d10f82335516b6c42048834de0c7", ""); + class_d740d10f82335516b6c42048834de0c7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d7aaae9c78655d9f870d5f017126833f.cpp b/src/py/wrapper/wrapper_d7aaae9c78655d9f870d5f017126833f.cpp index 73335fea..a766b788 100644 --- a/src/py/wrapper/wrapper_d7aaae9c78655d9f870d5f017126833f.cpp +++ b/src/py/wrapper/wrapper_d7aaae9c78655d9f870d5f017126833f.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_d7aaae9c78655d9f870d5f017126833f(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > > class_d7aaae9c78655d9f870d5f017126833f(module, "DirichletMultinomialSingularDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > > class_d7aaae9c78655d9f870d5f017126833f(module, "DirichletMultinomialSingularDistribution", ""); class_d7aaae9c78655d9f870d5f017126833f.def(pybind11::init< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); class_d7aaae9c78655d9f870d5f017126833f.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const & >()); class_d7aaae9c78655d9f870d5f017126833f.def("get_alpha", method_pointer_06bd867c93c85c6f87717fbc2be04a50, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp new file mode 100644 index 00000000..76c248f3 --- /dev/null +++ b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_d8072eca33fe5d46a0b27a217a8dbc96(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::censoring_type > enum_d8072eca33fe5d46a0b27a217a8dbc96(module, "censoring_type"); + enum_d8072eca33fe5d46a0b27a217a8dbc96.value("NONE", ::statiskit::censoring_type::NONE); + enum_d8072eca33fe5d46a0b27a217a8dbc96.value("CENSORED", ::statiskit::censoring_type::CENSORED); + enum_d8072eca33fe5d46a0b27a217a8dbc96.value("LEFT", ::statiskit::censoring_type::LEFT); + enum_d8072eca33fe5d46a0b27a217a8dbc96.value("RIGHT", ::statiskit::censoring_type::RIGHT); + enum_d8072eca33fe5d46a0b27a217a8dbc96.value("INTERVAL", ::statiskit::censoring_type::INTERVAL); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d82ac4c07b685057ae35b9a0216111d2.cpp b/src/py/wrapper/wrapper_d82ac4c07b685057ae35b9a0216111d2.cpp index 17e65dea..c5a95e06 100644 --- a/src/py/wrapper/wrapper_d82ac4c07b685057ae35b9a0216111d2.cpp +++ b/src/py/wrapper/wrapper_d82ac4c07b685057ae35b9a0216111d2.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_d82ac4c07b685057ae35b9a0216111d2(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::SlopeHeuristicSelector > class_d82ac4c07b685057ae35b9a0216111d2(module, "SlopeHeuristicMaximalSelector", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector > > class_d82ac4c07b685057ae35b9a0216111d2(module, "SlopeHeuristicMaximalSelector", ""); class_d82ac4c07b685057ae35b9a0216111d2.def(pybind11::init< >()); class_d82ac4c07b685057ae35b9a0216111d2.def(pybind11::init< struct ::statiskit::SlopeHeuristicMaximalSelector const & >()); diff --git a/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp new file mode 100644 index 00000000..187704db --- /dev/null +++ b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_d9e3c8f1d16d5ffea475de8236279387(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_d9e3c8f1d16d5ffea475de8236279387(module, "_PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387", ""); + class_d9e3c8f1d16d5ffea475de8236279387.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dace22af29e35e1e8847a21e0083dbd0.cpp b/src/py/wrapper/wrapper_dace22af29e35e1e8847a21e0083dbd0.cpp index 8011b3f9..abf29c7e 100644 --- a/src/py/wrapper/wrapper_dace22af29e35e1e8847a21e0083dbd0.cpp +++ b/src/py/wrapper/wrapper_dace22af29e35e1e8847a21e0083dbd0.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_dace22af29e35e1e8847a21e0083dbd0(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::SlopeHeuristicIWLSSolver > class_dace22af29e35e1e8847a21e0083dbd0(module, "SlopeHeuristicHuberSolver", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver > > class_dace22af29e35e1e8847a21e0083dbd0(module, "SlopeHeuristicHuberSolver", ""); class_dace22af29e35e1e8847a21e0083dbd0.def(pybind11::init< >()); class_dace22af29e35e1e8847a21e0083dbd0.def(pybind11::init< class ::statiskit::SlopeHeuristicHuberSolver const & >()); class_dace22af29e35e1e8847a21e0083dbd0.def("get_k", method_pointer_4b87ddb1d0a553e89a54cc1bba96ed07, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp index 853feff3..d9a78658 100644 --- a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp +++ b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp @@ -9,14 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateDistribution::UnivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef double return_type_e54dcb61962b537ca725a1f2230202dc; typedef struct ::statiskit::UnivariateEvent const * param_e54dcb61962b537ca725a1f2230202dc_0_type; typedef bool const & param_e54dcb61962b537ca725a1f2230202dc_1_type; virtual return_type_e54dcb61962b537ca725a1f2230202dc probability(param_e54dcb61962b537ca725a1f2230202dc_0_type param_0, param_e54dcb61962b537ca725a1f2230202dc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e54dcb61962b537ca725a1f2230202dc, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; @@ -35,6 +43,7 @@ void wrapper_daf74149f27453a7a5360a8ea7e9d69c(pybind11::module& module) { pybind11::class_::Type > class_daf74149f27453a7a5360a8ea7e9d69c(module, "UnivariateDistribution", "This virtual class UnivariateDistribution represents the distribution of\na random univariate component $ X $. The support of this distribution is\na set $ :raw-latex:`\\mathcal{X}` $ with one dimension.\n\n"); + class_daf74149f27453a7a5360a8ea7e9d69c.def(pybind11::init< >()); class_daf74149f27453a7a5360a8ea7e9d69c.def("get_nb_parameters", method_pointer_0826ef63abcb5a8d83b7e3e2df48a620, "Get the number of parameters of the distribution.\n\n:Return Type:\n :cpp:any:`unsigned` int\n\n"); class_daf74149f27453a7a5360a8ea7e9d69c.def("probability", method_pointer_e54dcb61962b537ca725a1f2230202dc, "Compute the probability of a set of values.\n\nLet $A :raw-latex:`\\subseteq `:raw-latex:`\\mathcal{X}` $ denote the set\nof values. The probability function get the probability $\nP:raw-latex:`\\left`(X :raw-latex:`\\in `A:raw-latex:`\\right`) $ or the\nlog probability $ :raw-latex:`\\ln `P:raw-latex:`\\left`(X\n:raw-latex:`\\in `A:raw-latex:`\\right`) $ according to the boolean\nparameter logarithm.\n\n:Parameters:\n - `event` (:cpp:class:`::statiskit::UnivariateEvent`) - Undocumented\n - `logarithm` (:cpp:any:`bool`) - The boolean.\n\n:Return Type:\n :cpp:any:`double`\n\n"); class_daf74149f27453a7a5360a8ea7e9d69c.def("loglikelihood", method_pointer_fea412084f2c5ba9bc73dfaeb8b4c3dc, "Compute the log-likelihood of an univariate dataset according to the\nconsidered univariate distribution.\n\n:Parameter:\n `data` (:cpp:class:`::statiskit::UnivariateData`) - The considered univariate dataset.\n\n:Return Type:\n :cpp:any:`double`\n\n"); diff --git a/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp new file mode 100644 index 00000000..0d68a169 --- /dev/null +++ b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp @@ -0,0 +1,43 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; + virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: + typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; + typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; + typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; + virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: + typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; + virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: + typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; + virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_db2668977eed5283a0dfb9992502d2dd(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > >::Type, struct ::statiskit::DiscreteMultivariateDistribution > class_db2668977eed5283a0dfb9992502d2dd(module, "_PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd", ""); + class_db2668977eed5283a0dfb9992502d2dd.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp b/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp index 12b64576..a910bd30 100644 --- a/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp +++ b/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::ActiveEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_dbc8a0461eeb579aa69a16cbe03a3913(module, "BinomialDistributionMMEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_dbc8a0461eeb579aa69a16cbe03a3913(module, "BinomialDistributionMMEstimation", ""); class_dbc8a0461eeb579aa69a16cbe03a3913.def(pybind11::init< >()); - class_dbc8a0461eeb579aa69a16cbe03a3913.def(pybind11::init< class ::statiskit::BinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); class_dbc8a0461eeb579aa69a16cbe03a3913.def(pybind11::init< struct ::statiskit::BinomialDistributionMMEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp b/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp index 2bcb8fb8..5dc59cff 100644 --- a/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp +++ b/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_dda6bb3fd9345086a3231d9341e47d49(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_dda6bb3fd9345086a3231d9341e47d49(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_dda6bb3fd9345086a3231d9341e47d49(module, "Estimator", ""); class_dda6bb3fd9345086a3231d9341e47d49.def(pybind11::init< >()); class_dda6bb3fd9345086a3231d9341e47d49.def(pybind11::init< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator const & >()); class_dda6bb3fd9345086a3231d9341e47d49.def("get_force", method_pointer_a6fb931b41ac5f978452c410417353b9, ""); diff --git a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp new file mode 100644 index 00000000..cae4a852 --- /dev/null +++ b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; + virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > > class_de7ff6e8df595fdab99566ab1fb822d1(module, "Estimator", ""); + class_de7ff6e8df595fdab99566ab1fb822d1.def(pybind11::init< >()); + class_de7ff6e8df595fdab99566ab1fb822d1.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp new file mode 100644 index 00000000..971d5dd3 --- /dev/null +++ b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp @@ -0,0 +1,49 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; + typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; + typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; + virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; + typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; + typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; + virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_df673121ff9a5ed3a03ae1633aac43b7(pybind11::module& module) +{ + + pybind11::class_ >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > >::Type, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > class_df673121ff9a5ed3a03ae1633aac43b7(module, "_PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7", ""); + class_df673121ff9a5ed3a03ae1633aac43b7.def(pybind11::init< >()); + class_df673121ff9a5ed3a03ae1633aac43b7.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*) (struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp b/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp new file mode 100644 index 00000000..88edded5 --- /dev/null +++ b/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_e0e2f05f845558508daf53c1d4b545c7(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_e0e2f05f845558508daf53c1d4b545c7(module, "_PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7", ""); + class_e0e2f05f845558508daf53c1d4b545c7.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e1391944268253558f04b6f996bb5a8b.cpp b/src/py/wrapper/wrapper_e1391944268253558f04b6f996bb5a8b.cpp new file mode 100644 index 00000000..c6396f00 --- /dev/null +++ b/src/py/wrapper/wrapper_e1391944268253558f04b6f996bb5a8b.cpp @@ -0,0 +1,49 @@ +#include "_core.h" + +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_811223937a145039bd3ba22522f05f34)(long int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_9623e9d08cc4596b80deed3b2ab056a9)(unsigned long int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_a9ead294136d560cb7a032dfe1b93328)(bool )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_6cf1e50b56e953a8b7b218284b1af8e9)(short int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_47c9630b79d65a088c8c4e07428cc4d2)(unsigned short int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_fd15bdaf9d8c50949e2a28a40246274f)(int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_98bdfe64296e5b3ca2c00ef4f0590911)(unsigned int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_55f880c410615b398a03d85b72e8296d)(long long int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_8418beee078d5bc882490ab7853cddd0)(unsigned long long int )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_084a0fb248525f9481ee1d4fa39e9cdf)(double )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_936409ac9b73503fbfdecacbfaae7877)(float )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_bdedcd4559d9568e9139493a9965f95d)(long double )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_bc015e92465a5f63965d220c56b8618c)(::std::basic_ostream< char, struct ::std::char_traits< char > >::__streambuf_type *)= &::std::basic_ostream< char, struct ::std::char_traits< char > >::operator<<; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_4a834bf786675346b0f64eea6c43956f)(::std::basic_ostream< char, struct ::std::char_traits< char > >::char_type )= &::std::basic_ostream< char, struct ::std::char_traits< char > >::put; +::std::basic_ostream< char, struct ::std::char_traits< char > >::__ostream_type & (::std::basic_ostream< char, ::std::char_traits< char > >::*method_pointer_0ee6e29611e15ea388b8558ecda686cf)()= &::std::basic_ostream< char, struct ::std::char_traits< char > >::flush; + +namespace autowig { +} + +void wrapper_e1391944268253558f04b6f996bb5a8b(pybind11::module& module) +{ + + struct function_group + { + static class ::std::basic_ostream< char, struct ::std::char_traits< char > > & function_477c2906fbbc5a5aaa7ce5da390439c4(class ::std::basic_ostream< char, struct ::std::char_traits< char > > & parameter_0, enum ::statiskit::outcome_type const & parameter_1) + { return operator<<(parameter_0, parameter_1); } + }; + pybind11::class_ >, autowig::HolderType< class ::std::basic_ostream< char, struct ::std::char_traits< char > > >::Type, class ::std::basic_ios< char, struct ::std::char_traits< char > > > class_e1391944268253558f04b6f996bb5a8b(module, "_BasicOstream_e1391944268253558f04b6f996bb5a8b", ""); + class_e1391944268253558f04b6f996bb5a8b.def(pybind11::init< ::std::basic_ostream< char, struct ::std::char_traits< char > >::__streambuf_type * >()); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_811223937a145039bd3ba22522f05f34, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_9623e9d08cc4596b80deed3b2ab056a9, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_a9ead294136d560cb7a032dfe1b93328, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_6cf1e50b56e953a8b7b218284b1af8e9, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_47c9630b79d65a088c8c4e07428cc4d2, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_fd15bdaf9d8c50949e2a28a40246274f, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_98bdfe64296e5b3ca2c00ef4f0590911, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_55f880c410615b398a03d85b72e8296d, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_8418beee078d5bc882490ab7853cddd0, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_084a0fb248525f9481ee1d4fa39e9cdf, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_936409ac9b73503fbfdecacbfaae7877, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_bdedcd4559d9568e9139493a9965f95d, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", method_pointer_bc015e92465a5f63965d220c56b8618c, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("put", method_pointer_4a834bf786675346b0f64eea6c43956f, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("flush", method_pointer_0ee6e29611e15ea388b8558ecda686cf, pybind11::return_value_policy::reference_internal, ""); + class_e1391944268253558f04b6f996bb5a8b.def("__lshift__", function_group::function_477c2906fbbc5a5aaa7ce5da390439c4, pybind11::return_value_policy::reference, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp b/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp index 79f82fff..a0ab44eb 100644 --- a/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp +++ b/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_e17c871a4a485a888cde7218c52b67e3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_e17c871a4a485a888cde7218c52b67e3(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_e17c871a4a485a888cde7218c52b67e3(module, "Estimator", ""); class_e17c871a4a485a888cde7218c52b67e3.def(pybind11::init< >()); class_e17c871a4a485a888cde7218c52b67e3.def(pybind11::init< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_e1e17df0f495561494b85ab0ad5a5780.cpp b/src/py/wrapper/wrapper_e1e17df0f495561494b85ab0ad5a5780.cpp new file mode 100644 index 00000000..d44bd729 --- /dev/null +++ b/src/py/wrapper/wrapper_e1e17df0f495561494b85ab0ad5a5780.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_e1e17df0f495561494b85ab0ad5a5780(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistributionEstimation, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_e1e17df0f495561494b85ab0ad5a5780(module, "_PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780", ""); + class_e1e17df0f495561494b85ab0ad5a5780.def(pybind11::init< >()); + class_e1e17df0f495561494b85ab0ad5a5780.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistributionEstimation, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e2d3df06414058178eb5fc957e8fd6d9.cpp b/src/py/wrapper/wrapper_e2d3df06414058178eb5fc957e8fd6d9.cpp index 10d5702f..d19af83b 100644 --- a/src/py/wrapper/wrapper_e2d3df06414058178eb5fc957e8fd6d9.cpp +++ b/src/py/wrapper/wrapper_e2d3df06414058178eb5fc957e8fd6d9.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_e2d3df06414058178eb5fc957e8fd6d9(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateLocationEstimation::Estimator > class_e2d3df06414058178eb5fc957e8fd6d9(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator > > class_e2d3df06414058178eb5fc957e8fd6d9(module, "Estimator", ""); class_e2d3df06414058178eb5fc957e8fd6d9.def(pybind11::init< >()); class_e2d3df06414058178eb5fc957e8fd6d9.def(pybind11::init< struct ::statiskit::UnivariateMeanEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp new file mode 100644 index 00000000..136a5270 --- /dev/null +++ b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; + virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: + typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; + typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; + virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: + typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; + virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: + typedef double return_type_bf87506bdef85834a040bd514141c40f; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; + virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_e3970afe332b54108a4040278f775008(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > >::Type, struct ::statiskit::CategoricalUnivariateDistribution > class_e3970afe332b54108a4040278f775008(module, "_PolymorphicCopy_e3970afe332b54108a4040278f775008", ""); + class_e3970afe332b54108a4040278f775008.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp b/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp index 9273babc..d72698f5 100644 --- a/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp +++ b/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp @@ -7,9 +7,8 @@ namespace autowig { void wrapper_e5e03034302f5c6ca9d068a205353d2a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_e5e03034302f5c6ca9d068a205353d2a(module, "NegativeBinomialDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_e5e03034302f5c6ca9d068a205353d2a(module, "NegativeBinomialDistributionMLEstimation", ""); class_e5e03034302f5c6ca9d068a205353d2a.def(pybind11::init< >()); - class_e5e03034302f5c6ca9d068a205353d2a.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); class_e5e03034302f5c6ca9d068a205353d2a.def(pybind11::init< struct ::statiskit::NegativeBinomialDistributionMLEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp index eb200c24..9a35c811 100644 --- a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp +++ b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::UnivariateEvent::UnivariateEvent; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - typedef enum ::statiskit::event_type return_type_3544ff3ce8685011b1261f19fcf546be; - virtual return_type_3544ff3ce8685011b1261f19fcf546be get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_3544ff3ce8685011b1261f19fcf546be, class_type, get_event, ); }; + + public: + typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; + virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_68e98310906f5b1a8f388fded81a6acd; virtual return_type_68e98310906f5b1a8f388fded81a6acd get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_68e98310906f5b1a8f388fded81a6acd, class_type, get_outcome, ); }; }; } enum ::statiskit::outcome_type (::statiskit::UnivariateEvent::*method_pointer_68e98310906f5b1a8f388fded81a6acd)()const= &::statiskit::UnivariateEvent::get_outcome; -enum ::statiskit::event_type (::statiskit::UnivariateEvent::*method_pointer_3544ff3ce8685011b1261f19fcf546be)()const= &::statiskit::UnivariateEvent::get_event; +enum ::statiskit::censoring_type (::statiskit::UnivariateEvent::*method_pointer_e27fd4219e44503fa91f650545c9af28)()const= &::statiskit::UnivariateEvent::get_censoring; class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > (::statiskit::UnivariateEvent::*method_pointer_963689b729ca55bb9ee4a8fbb5e871c0)()const= &::statiskit::UnivariateEvent::copy; namespace autowig { @@ -30,7 +36,7 @@ void wrapper_e695b5b519815f1f96debe2f459d2f2b(pybind11::module& module) pybind11::class_::Type > class_e695b5b519815f1f96debe2f459d2f2b(module, "UnivariateEvent", ""); class_e695b5b519815f1f96debe2f459d2f2b.def("get_outcome", method_pointer_68e98310906f5b1a8f388fded81a6acd, ""); - class_e695b5b519815f1f96debe2f459d2f2b.def("get_event", method_pointer_3544ff3ce8685011b1261f19fcf546be, ""); + class_e695b5b519815f1f96debe2f459d2f2b.def("get_censoring", method_pointer_e27fd4219e44503fa91f650545c9af28, ""); class_e695b5b519815f1f96debe2f459d2f2b.def("copy", method_pointer_963689b729ca55bb9ee4a8fbb5e871c0, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ece163aebf095bf5b3e83565ba76bec1.cpp b/src/py/wrapper/wrapper_ece163aebf095bf5b3e83565ba76bec1.cpp new file mode 100644 index 00000000..9da1a04e --- /dev/null +++ b/src/py/wrapper/wrapper_ece163aebf095bf5b3e83565ba76bec1.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_ece163aebf095bf5b3e83565ba76bec1(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_ece163aebf095bf5b3e83565ba76bec1(module, "_ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1", ""); + class_ece163aebf095bf5b3e83565ba76bec1.def(pybind11::init< >()); + class_ece163aebf095bf5b3e83565ba76bec1.def(pybind11::init< struct ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp new file mode 100644 index 00000000..ddb16b46 --- /dev/null +++ b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp @@ -0,0 +1,57 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; + virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: + typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; + virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: + typedef int return_type_0f752a27239a55e4a5244da5bea67286; + typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; + virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: + typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; + typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; + virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: + typedef double return_type_e743676180d85397828cc79f44d4d185; + typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; + virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: + typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; + typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; + virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_ed56b0739802545c9906dd23adb8636c(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_ed56b0739802545c9906dd23adb8636c(module, "_PolymorphicCopy_ed56b0739802545c9906dd23adb8636c", ""); + class_ed56b0739802545c9906dd23adb8636c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp index f8a1fbe0..2339cd6b 100644 --- a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp +++ b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_f079028b7e505d6f8b4931133595179c.cpp b/src/py/wrapper/wrapper_f079028b7e505d6f8b4931133595179c.cpp index 897d89d4..e49104df 100644 --- a/src/py/wrapper/wrapper_f079028b7e505d6f8b4931133595179c.cpp +++ b/src/py/wrapper/wrapper_f079028b7e505d6f8b4931133595179c.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_f079028b7e505d6f8b4931133595179c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_f079028b7e505d6f8b4931133595179c(module, "StudentDistribution", "This class NonStandardStudentDistribution represents a Student\ndistribution.\n\nThe Student distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > > class_f079028b7e505d6f8b4931133595179c(module, "StudentDistribution", "This class NonStandardStudentDistribution represents a Student\ndistribution.\n\nThe Student distribution is an univariate continuous distribution. The\nsupport is the set of real values :math:`\\mathbb{R}`.\n\n"); class_f079028b7e505d6f8b4931133595179c.def(pybind11::init< >()); class_f079028b7e505d6f8b4931133595179c.def(pybind11::init< double const & >()); class_f079028b7e505d6f8b4931133595179c.def(pybind11::init< class ::statiskit::StudentDistribution const & >()); diff --git a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp index 1aa2b9ce..824d56c7 100644 --- a/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp +++ b/src/py/wrapper/wrapper_f09c97b097575bf2b4af254e6faa082c.cpp @@ -1,21 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::CategoricalMultivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::CategoricalMultivariateDistributionEstimation::CategoricalMultivariateDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; - virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; - virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -23,6 +7,8 @@ namespace autowig { void wrapper_f09c97b097575bf2b4af254e6faa082c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_f09c97b097575bf2b4af254e6faa082c(module, "CategoricalMultivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_f09c97b097575bf2b4af254e6faa082c(module, "CategoricalMultivariateDistributionEstimation", ""); + class_f09c97b097575bf2b4af254e6faa082c.def(pybind11::init< >()); + class_f09c97b097575bf2b4af254e6faa082c.def(pybind11::init< struct ::statiskit::CategoricalMultivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp index d676d6fc..161cc2fd 100644 --- a/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp +++ b/src/py/wrapper/wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c.cpp @@ -1,19 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::ContinuousUnivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousUnivariateDistributionEstimation::ContinuousUnivariateDistributionEstimation; - - typedef ::statiskit::UnivariateDistributionEstimation::estimated_type const * return_type_bd794e40246350b583a72b6a11ca75d8; - virtual return_type_bd794e40246350b583a72b6a11ca75d8 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_bd794e40246350b583a72b6a11ca75d8, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -21,6 +7,8 @@ namespace autowig { void wrapper_f13beb88f0a956f5bc0cd7245bbd4b1c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_f13beb88f0a956f5bc0cd7245bbd4b1c(module, "ContinuousUnivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation > class_f13beb88f0a956f5bc0cd7245bbd4b1c(module, "ContinuousUnivariateDistributionEstimation", ""); + class_f13beb88f0a956f5bc0cd7245bbd4b1c.def(pybind11::init< >()); + class_f13beb88f0a956f5bc0cd7245bbd4b1c.def(pybind11::init< struct ::statiskit::ContinuousUnivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp index c63fb837..c3485928 100644 --- a/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp +++ b/src/py/wrapper/wrapper_f1f8a991c324584993f9a58dcb9c014e.cpp @@ -1,21 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::ContinuousMultivariateDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousMultivariateDistributionEstimation::ContinuousMultivariateDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_6b2ddebe29b356369027219f55c1bc79; - virtual return_type_6b2ddebe29b356369027219f55c1bc79 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6b2ddebe29b356369027219f55c1bc79, class_type, copy, ); }; - typedef ::statiskit::MultivariateDistributionEstimation::estimated_type const * return_type_123ca6ff048a55c3916851be0f12a662; - virtual return_type_123ca6ff048a55c3916851be0f12a662 get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_123ca6ff048a55c3916851be0f12a662, class_type, get_estimated, ); }; - }; -} - namespace autowig { } @@ -23,6 +7,8 @@ namespace autowig { void wrapper_f1f8a991c324584993f9a58dcb9c014e(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_f1f8a991c324584993f9a58dcb9c014e(module, "ContinuousMultivariateDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation > class_f1f8a991c324584993f9a58dcb9c014e(module, "ContinuousMultivariateDistributionEstimation", ""); + class_f1f8a991c324584993f9a58dcb9c014e.def(pybind11::init< >()); + class_f1f8a991c324584993f9a58dcb9c014e.def(pybind11::init< struct ::statiskit::ContinuousMultivariateDistributionEstimation const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f2160a41454451d28ba6ed197ddede7e.cpp b/src/py/wrapper/wrapper_f2160a41454451d28ba6ed197ddede7e.cpp new file mode 100644 index 00000000..b69abc98 --- /dev/null +++ b/src/py/wrapper/wrapper_f2160a41454451d28ba6ed197ddede7e.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_f2160a41454451d28ba6ed197ddede7e(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_f2160a41454451d28ba6ed197ddede7e(module, "_UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e", ""); + class_f2160a41454451d28ba6ed197ddede7e.def(pybind11::init< >()); + class_f2160a41454451d28ba6ed197ddede7e.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f27aa86956235ad3ac8f08855c2b8820.cpp b/src/py/wrapper/wrapper_f27aa86956235ad3ac8f08855c2b8820.cpp index 3acd708f..b631595b 100644 --- a/src/py/wrapper/wrapper_f27aa86956235ad3ac8f08855c2b8820.cpp +++ b/src/py/wrapper/wrapper_f27aa86956235ad3ac8f08855c2b8820.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_f27aa86956235ad3ac8f08855c2b8820(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > > class_f27aa86956235ad3ac8f08855c2b8820(module, "SplittingDistribution", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > > class_f27aa86956235ad3ac8f08855c2b8820(module, "SplittingDistribution", ""); class_f27aa86956235ad3ac8f08855c2b8820.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistribution const &, struct ::statiskit::SingularDistribution const & >()); class_f27aa86956235ad3ac8f08855c2b8820.def(pybind11::init< class ::statiskit::SplittingDistribution const & >()); class_f27aa86956235ad3ac8f08855c2b8820.def("get_sum", method_pointer_3d0a5e25401d5a02a6b475d9f5ce084d, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp new file mode 100644 index 00000000..a438a587 --- /dev/null +++ b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp @@ -0,0 +1,30 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; + virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_f3a4e0390ba552948c69ae13cadb799a(pybind11::module& module) +{ + + pybind11::class_::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > class_f3a4e0390ba552948c69ae13cadb799a(module, "_PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a", ""); + class_f3a4e0390ba552948c69ae13cadb799a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp new file mode 100644 index 00000000..7e91e357 --- /dev/null +++ b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_f4b4623a4bb55ebdb42401f0a981cb83(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_f4b4623a4bb55ebdb42401f0a981cb83(module, "_PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83", ""); + class_f4b4623a4bb55ebdb42401f0a981cb83.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp b/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp new file mode 100644 index 00000000..fee8900e --- /dev/null +++ b/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_5707d7a558215b39922ed84f8e706100)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; +double const (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_6e479df71da25de293b13d39fddb9df4)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_f66e5627d97f5fac82e3d89b9b0694dc(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_f66e5627d97f5fac82e3d89b9b0694dc(module, "_IterativeEstimation_f66e5627d97f5fac82e3d89b9b0694dc", ""); + class_f66e5627d97f5fac82e3d89b9b0694dc.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); + class_f66e5627d97f5fac82e3d89b9b0694dc.def("__len__", method_pointer_5707d7a558215b39922ed84f8e706100, ""); + class_f66e5627d97f5fac82e3d89b9b0694dc.def("at_step", method_pointer_6e479df71da25de293b13d39fddb9df4, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp b/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp new file mode 100644 index 00000000..e7f62991 --- /dev/null +++ b/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp @@ -0,0 +1,41 @@ +#include "_core.h" + +bool (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_a0c0805d4b6b59ba88690cd3db015da7)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::operator!; +bool (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_59f0426d0a165494be5b3531e0d18c9e)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::good; +bool (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_c2f76483114053bf83e03aa784c56523)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::eof; +bool (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_707433c165ba5532813dcef01c94f6a3)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::fail; +bool (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_0302786b8fca56cba0fda223d7ca1019)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::bad; +class ::std::basic_ostream< char, struct ::std::char_traits< char > > * (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_b8f82021bdb55d99ba890738ad574cd7)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::tie; +class ::std::basic_ostream< char, struct ::std::char_traits< char > > * (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_3d881e27cd3d5e73bf07d33b5e9ef462)(class ::std::basic_ostream< char, struct ::std::char_traits< char > > *)= &::std::basic_ios< char, struct ::std::char_traits< char > >::tie; +class ::std::basic_streambuf< char, struct ::std::char_traits< char > > * (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_2389245b79115d4eb749dac1b5ed04c9)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::rdbuf; +class ::std::basic_streambuf< char, struct ::std::char_traits< char > > * (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_5d783671cf0a5ed59c133d962c405171)(class ::std::basic_streambuf< char, struct ::std::char_traits< char > > *)= &::std::basic_ios< char, struct ::std::char_traits< char > >::rdbuf; +::std::basic_ios< char, struct ::std::char_traits< char > >::char_type (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_5a384e5d036f524d814f0b703e9bdbdc)()const= &::std::basic_ios< char, struct ::std::char_traits< char > >::fill; +::std::basic_ios< char, struct ::std::char_traits< char > >::char_type (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_4e3c6969231f525a9828caaba87d4fe7)(::std::basic_ios< char, struct ::std::char_traits< char > >::char_type )= &::std::basic_ios< char, struct ::std::char_traits< char > >::fill; +class ::std::locale (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_ee6b6443b5e25b858ac6a330c430783d)(class ::std::locale const &)= &::std::basic_ios< char, struct ::std::char_traits< char > >::imbue; +char (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_76485232bb4956709eb82fac8224d994)(::std::basic_ios< char, struct ::std::char_traits< char > >::char_type , char )const= &::std::basic_ios< char, struct ::std::char_traits< char > >::narrow; +::std::basic_ios< char, struct ::std::char_traits< char > >::char_type (::std::basic_ios< char, ::std::char_traits< char > >::*method_pointer_852c2026975153f5ac272623962df45e)(char )const= &::std::basic_ios< char, struct ::std::char_traits< char > >::widen; + +namespace autowig { +} + +void wrapper_f8b8546034205658b6e3e16175284f26(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< class ::std::basic_ios< char, struct ::std::char_traits< char > > >::Type, class ::std::ios_base > class_f8b8546034205658b6e3e16175284f26(module, "_BasicIos_f8b8546034205658b6e3e16175284f26", ""); + class_f8b8546034205658b6e3e16175284f26.def(pybind11::init< class ::std::basic_streambuf< char, struct ::std::char_traits< char > > * >()); + class_f8b8546034205658b6e3e16175284f26.def("__not__", method_pointer_a0c0805d4b6b59ba88690cd3db015da7, ""); + class_f8b8546034205658b6e3e16175284f26.def("good", method_pointer_59f0426d0a165494be5b3531e0d18c9e, ""); + class_f8b8546034205658b6e3e16175284f26.def("eof", method_pointer_c2f76483114053bf83e03aa784c56523, ""); + class_f8b8546034205658b6e3e16175284f26.def("fail", method_pointer_707433c165ba5532813dcef01c94f6a3, ""); + class_f8b8546034205658b6e3e16175284f26.def("bad", method_pointer_0302786b8fca56cba0fda223d7ca1019, ""); + class_f8b8546034205658b6e3e16175284f26.def("tie", method_pointer_b8f82021bdb55d99ba890738ad574cd7, pybind11::return_value_policy::reference_internal, ""); + class_f8b8546034205658b6e3e16175284f26.def("tie", method_pointer_3d881e27cd3d5e73bf07d33b5e9ef462, pybind11::return_value_policy::reference_internal, ""); + class_f8b8546034205658b6e3e16175284f26.def("rdbuf", method_pointer_2389245b79115d4eb749dac1b5ed04c9, pybind11::return_value_policy::reference_internal, ""); + class_f8b8546034205658b6e3e16175284f26.def("rdbuf", method_pointer_5d783671cf0a5ed59c133d962c405171, pybind11::return_value_policy::reference_internal, ""); + class_f8b8546034205658b6e3e16175284f26.def("fill", method_pointer_5a384e5d036f524d814f0b703e9bdbdc, ""); + class_f8b8546034205658b6e3e16175284f26.def("fill", method_pointer_4e3c6969231f525a9828caaba87d4fe7, ""); + class_f8b8546034205658b6e3e16175284f26.def("imbue", method_pointer_ee6b6443b5e25b858ac6a330c430783d, ""); + class_f8b8546034205658b6e3e16175284f26.def("narrow", method_pointer_76485232bb4956709eb82fac8224d994, ""); + class_f8b8546034205658b6e3e16175284f26.def("widen", method_pointer_852c2026975153f5ac272623962df45e, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp b/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp new file mode 100644 index 00000000..631b841b --- /dev/null +++ b/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_f8d597009c7f50c0a1968a49aa56ff46(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_f8d597009c7f50c0a1968a49aa56ff46(module, "_PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46", ""); + class_f8d597009c7f50c0a1968a49aa56ff46.def(pybind11::init< >()); + class_f8d597009c7f50c0a1968a49aa56ff46.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f94311a1d1fb597aac56bee900deb9fe.cpp b/src/py/wrapper/wrapper_f94311a1d1fb597aac56bee900deb9fe.cpp new file mode 100644 index 00000000..b243bc3d --- /dev/null +++ b/src/py/wrapper/wrapper_f94311a1d1fb597aac56bee900deb9fe.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_f94311a1d1fb597aac56bee900deb9fe(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::CategoricalUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation > class_f94311a1d1fb597aac56bee900deb9fe(module, "_PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe", ""); + class_f94311a1d1fb597aac56bee900deb9fe.def(pybind11::init< >()); + class_f94311a1d1fb597aac56bee900deb9fe.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fa5e2baabb585a5e93632d2563d88b33.cpp b/src/py/wrapper/wrapper_fa5e2baabb585a5e93632d2563d88b33.cpp index c5ec9ffc..6a0bb0f7 100644 --- a/src/py/wrapper/wrapper_fa5e2baabb585a5e93632d2563d88b33.cpp +++ b/src/py/wrapper/wrapper_fa5e2baabb585a5e93632d2563d88b33.cpp @@ -8,7 +8,7 @@ namespace autowig { void wrapper_fa5e2baabb585a5e93632d2563d88b33(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::ContinuousEvent > class_fa5e2baabb585a5e93632d2563d88b33(module, "_CensoredEvent_fa5e2baabb585a5e93632d2563d88b33", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::CensoredEvent< struct ::statiskit::ContinuousEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent > > class_fa5e2baabb585a5e93632d2563d88b33(module, "_CensoredEvent_fa5e2baabb585a5e93632d2563d88b33", ""); class_fa5e2baabb585a5e93632d2563d88b33.def(pybind11::init< class ::std::vector< double, class ::std::allocator< double > > const & >()); class_fa5e2baabb585a5e93632d2563d88b33.def(pybind11::init< class ::statiskit::CensoredEvent< struct ::statiskit::ContinuousEvent > const & >()); class_fa5e2baabb585a5e93632d2563d88b33.def("get_values", method_pointer_4c0063c1f4535d73afc077edbf304fb4, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp index 2dd2e51c..461a5ad0 100644 --- a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp +++ b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp @@ -8,26 +8,38 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::MultivariateSampleSpace > > return_type_40d149de873956828c7a7bb6efb1b291; virtual return_type_40d149de873956828c7a7bb6efb1b291 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_40d149de873956828c7a7bb6efb1b291, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_453c7ae8bd33563d9ea0317dca724475; typedef struct ::statiskit::MultivariateEvent const & param_453c7ae8bd33563d9ea0317dca724475_0_type; virtual return_type_453c7ae8bd33563d9ea0317dca724475 encode(param_453c7ae8bd33563d9ea0317dca724475_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_453c7ae8bd33563d9ea0317dca724475, class_type, encode, param_0); }; + + public: typedef ::statiskit::Index return_type_58045e2837b651c18e64ce6ac4e0be9e; virtual return_type_58045e2837b651c18e64ce6ac4e0be9e encode() const override { PYBIND11_OVERLOAD(return_type_58045e2837b651c18e64ce6ac4e0be9e, class_type, encode, ); }; + + public: typedef bool return_type_817740fe51f5581ca0b50fe3fdee1e78; typedef struct ::statiskit::MultivariateEvent const * param_817740fe51f5581ca0b50fe3fdee1e78_0_type; virtual return_type_817740fe51f5581ca0b50fe3fdee1e78 is_compatible(param_817740fe51f5581ca0b50fe3fdee1e78_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_817740fe51f5581ca0b50fe3fdee1e78, class_type, is_compatible, param_0); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_89faf58ffa485b8fafccbd250d1fe75d; - typedef ::statiskit::Index const & param_89faf58ffa485b8fafccbd250d1fe75d_0_type; - virtual return_type_89faf58ffa485b8fafccbd250d1fe75d get(param_89faf58ffa485b8fafccbd250d1fe75d_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_89faf58ffa485b8fafccbd250d1fe75d, class_type, get, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_8c0662a511875406abdb211229d806f3; + typedef ::statiskit::Index const & param_8c0662a511875406abdb211229d806f3_0_type; + virtual return_type_8c0662a511875406abdb211229d806f3 get_sample_space(param_8c0662a511875406abdb211229d806f3_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8c0662a511875406abdb211229d806f3, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_34b56241180a545dbbc2cc99f5f4650e; virtual return_type_34b56241180a545dbbc2cc99f5f4650e size() const override { PYBIND11_OVERLOAD_PURE(return_type_34b56241180a545dbbc2cc99f5f4650e, class_type, size, ); }; }; } ::statiskit::Index (::statiskit::MultivariateSampleSpace::*method_pointer_34b56241180a545dbbc2cc99f5f4650e)()const= &::statiskit::MultivariateSampleSpace::size; -struct ::statiskit::UnivariateSampleSpace const * (::statiskit::MultivariateSampleSpace::*method_pointer_89faf58ffa485b8fafccbd250d1fe75d)(::statiskit::Index const &)const= &::statiskit::MultivariateSampleSpace::get; +struct ::statiskit::UnivariateSampleSpace const * (::statiskit::MultivariateSampleSpace::*method_pointer_8c0662a511875406abdb211229d806f3)(::statiskit::Index const &)const= &::statiskit::MultivariateSampleSpace::get_sample_space; bool (::statiskit::MultivariateSampleSpace::*method_pointer_817740fe51f5581ca0b50fe3fdee1e78)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MultivariateSampleSpace::is_compatible; ::statiskit::Index (::statiskit::MultivariateSampleSpace::*method_pointer_58045e2837b651c18e64ce6ac4e0be9e)()const= &::statiskit::MultivariateSampleSpace::encode; class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > (::statiskit::MultivariateSampleSpace::*method_pointer_453c7ae8bd33563d9ea0317dca724475)(struct ::statiskit::MultivariateEvent const &)const= &::statiskit::MultivariateSampleSpace::encode; @@ -41,7 +53,7 @@ void wrapper_faed70c01c41556a87ba6c938ce7c777(pybind11::module& module) pybind11::class_::Type > class_faed70c01c41556a87ba6c938ce7c777(module, "MultivariateSampleSpace", ""); class_faed70c01c41556a87ba6c938ce7c777.def("__len__", method_pointer_34b56241180a545dbbc2cc99f5f4650e, ""); - class_faed70c01c41556a87ba6c938ce7c777.def("get", method_pointer_89faf58ffa485b8fafccbd250d1fe75d, pybind11::return_value_policy::reference_internal, ""); + class_faed70c01c41556a87ba6c938ce7c777.def("get_sample_space", method_pointer_8c0662a511875406abdb211229d806f3, pybind11::return_value_policy::reference_internal, ""); class_faed70c01c41556a87ba6c938ce7c777.def("is_compatible", method_pointer_817740fe51f5581ca0b50fe3fdee1e78, ""); class_faed70c01c41556a87ba6c938ce7c777.def("encode", method_pointer_58045e2837b651c18e64ce6ac4e0be9e, ""); class_faed70c01c41556a87ba6c938ce7c777.def("encode", method_pointer_453c7ae8bd33563d9ea0317dca724475, ""); diff --git a/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp b/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp new file mode 100644 index 00000000..a5cfab28 --- /dev/null +++ b/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_faf1fdd6d84a5fc3a61a827f354b8275(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_faf1fdd6d84a5fc3a61a827f354b8275(module, "_PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275", ""); + class_faf1fdd6d84a5fc3a61a827f354b8275.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fb8f1cea3a695accb39f019b3fbd2247.cpp b/src/py/wrapper/wrapper_fb8f1cea3a695accb39f019b3fbd2247.cpp index 8b2e152d..6535bc9f 100644 --- a/src/py/wrapper/wrapper_fb8f1cea3a695accb39f019b3fbd2247.cpp +++ b/src/py/wrapper/wrapper_fb8f1cea3a695accb39f019b3fbd2247.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_fb8f1cea3a695accb39f019b3fbd2247(pybind11::module& module) { - pybind11::class_, autowig::HolderType< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::DiscreteEvent > class_fb8f1cea3a695accb39f019b3fbd2247(module, "_IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247", ""); + pybind11::class_, autowig::HolderType< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent > > class_fb8f1cea3a695accb39f019b3fbd2247(module, "_IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247", ""); class_fb8f1cea3a695accb39f019b3fbd2247.def(pybind11::init< int const &, int const & >()); class_fb8f1cea3a695accb39f019b3fbd2247.def(pybind11::init< class ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent > const & >()); class_fb8f1cea3a695accb39f019b3fbd2247.def("get_lower_bound", method_pointer_8376654e7157578aa3f686833ab27fac, pybind11::return_value_policy::copy, ""); diff --git a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp index 4eb3851c..2613b951 100644 --- a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp +++ b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp @@ -4,7 +4,7 @@ void wrapper_fe18de6fe2c850bc986987821db6db68(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); + pybind11::enum_< ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); enum_fe18de6fe2c850bc986987821db6db68.value("NONE", ::statiskit::NONE); enum_fe18de6fe2c850bc986987821db6db68.value("TOTAL", ::statiskit::TOTAL); enum_fe18de6fe2c850bc986987821db6db68.value("PARTIAL", ::statiskit::PARTIAL); diff --git a/src/py/wrapper/wrapper_fe481101ccef5e018b6d0e5b0d1be998.cpp b/src/py/wrapper/wrapper_fe481101ccef5e018b6d0e5b0d1be998.cpp new file mode 100644 index 00000000..0e503dd2 --- /dev/null +++ b/src/py/wrapper/wrapper_fe481101ccef5e018b6d0e5b0d1be998.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_fe481101ccef5e018b6d0e5b0d1be998(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > class_fe481101ccef5e018b6d0e5b0d1be998(module, "_PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998", ""); + class_fe481101ccef5e018b6d0e5b0d1be998.def(pybind11::init< >()); + class_fe481101ccef5e018b6d0e5b0d1be998.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp index 7917d7a2..e42da445 100644 --- a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp +++ b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp @@ -1,5 +1,53 @@ #include "_core.h" +namespace autowig +{ + typedef ::statiskit::WeightedMultivariateData class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::WeightedMultivariateData::WeightedMultivariateData; + + + public: + typedef double return_type_7da327a8236953bdbdbe7d839fab134b; + typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; + virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; + + public: + typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; + virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; + virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; + typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; + virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; + typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; + virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; + typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; + virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: + typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; + virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: + typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; + virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + }; +} + namespace autowig { } @@ -7,9 +55,6 @@ namespace autowig { void wrapper_fe5c14ebd9715db583a8fcea54e1d965(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, class ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > > > class_fe5c14ebd9715db583a8fcea54e1d965(module, "WeightedMultivariateData", ""); - class_fe5c14ebd9715db583a8fcea54e1d965.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_fe5c14ebd9715db583a8fcea54e1d965.def(pybind11::init< struct ::statiskit::MultivariateData const *, class ::std::vector< double, class ::std::allocator< double > > const & >()); - class_fe5c14ebd9715db583a8fcea54e1d965.def(pybind11::init< class ::statiskit::WeightedMultivariateData const & >()); + pybind11::class_::Type, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > > class_fe5c14ebd9715db583a8fcea54e1d965(module, "WeightedMultivariateData", ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp new file mode 100644 index 00000000..31c71717 --- /dev/null +++ b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp @@ -0,0 +1,61 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; + + + public: + typedef double return_type_17d4a13bc764561299d331907516003f; + virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: + typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; + virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: + typedef double return_type_32217c345e3d5454a2e46058d702ce84; + typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; + virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: + typedef double return_type_3e9327a27cc259a1a813cf253bd84642; + typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; + virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: + typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; + typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; + virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: + typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; + typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; + virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; + + public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; + virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: + typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; + virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; + }; +} + + +namespace autowig { +} + +void wrapper_feb9ad1a68185444ba16325ba90aea6b(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_feb9ad1a68185444ba16325ba90aea6b(module, "_PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b", ""); + class_feb9ad1a68185444ba16325ba90aea6b.def(pybind11::init< >()); + +} \ No newline at end of file From 2eb91d92ad9702ccdc2f11e5c192770af3b37257 Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Thu, 18 Jul 2019 14:52:06 +0200 Subject: [PATCH 14/16] Update wrappers --- src/cpp/estimation.h | 5 +- src/cpp/estimation.hpp | 11 ++- src/cpp/estimator.h | 38 ++++---- src/cpp/estimator.hpp | 5 +- src/cpp/selection.h | 4 +- src/cpp/selection.hpp | 40 ++++----- src/py/statiskit/core/_core.py | 86 +++++++++---------- src/py/wrapper/_core.cpp | 40 ++++----- ...apper_0175e6a3766750de8ea59e8c340325ef.cpp | 6 +- ...apper_0281a28ebbe655cabfc3d1baabb16b6c.cpp | 38 -------- ...apper_040909a1c2b158b198be21fa1ab2b474.cpp | 17 ---- ...apper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp | 55 ------------ ...apper_06b2640afe975f8dbf856bb3a88451cf.cpp | 56 ------------ ...apper_075f4a1dea37583ebdb7b34686ef683f.cpp | 51 ----------- ...apper_08568636c5a25349ad6ad5335ed1718e.cpp | 15 ---- ...apper_08e79862ae80532bb837c70a9c93652b.cpp | 18 ---- ...apper_0950e6469e715d39b9590b5a0c7f484e.cpp | 42 --------- ...apper_099f33625b8c56688a7b3e04cbb36b62.cpp | 17 ---- ...apper_09e5fef4970b56dabc3cf805a4fca937.cpp | 18 ---- ...apper_09fa62065c8f5098af0f7db57ad3e6a9.cpp | 48 ----------- ...apper_0a237c7df2ac57109630f38c8cbc0fd4.cpp | 22 ----- ...apper_0a36039624465699ab0fb3ebba56695a.cpp | 13 --- ...apper_0b7e758230bf50db981289f48e9fdca7.cpp | 18 ---- ...apper_0ec3624c447f5547b35390faafaf867f.cpp | 51 ----------- ...apper_0ec596bf98a6521c9bf30c96dc0ff201.cpp | 15 ---- ...apper_0f6bb80b715057a7964abf2a553f0818.cpp | 18 ---- ...apper_10d55631c3925ada88a549c3ce423021.cpp | 56 ------------ ...apper_10d5b7d349c75b6b89998f9a341fb629.cpp | 28 ------ ...apper_1151599a3fae506b8f5a5bddf7efd129.cpp | 41 --------- ...apper_117864e1dfe65915bf10502e182e5502.cpp | 16 ---- ...apper_13232a7341945cd08787bdf29befb389.cpp | 62 ------------- ...apper_134023695d4459f2931df9cb87b57330.cpp | 18 ---- ...apper_13d523d2695b5825b5cf182c5a8fa6ca.cpp | 34 -------- ...apper_15d5beb354475a4b8c2ab5885c0662bd.cpp | 17 ---- ...apper_167b2440c33657b2abc8311b6621a7bb.cpp | 51 ----------- ...apper_16a072b3aa3255f989f89ed810798d2e.cpp | 51 ----------- ...apper_16ec8df96bd85f88b8999c4cbe58279e.cpp | 17 ---- ...apper_1790dd7d2111554099562871bb0f85af.cpp | 33 ------- ...apper_17c6ed20c6a8518c806e33b3fcfab409.cpp | 42 --------- ...apper_18bed25ce1eb5640880f010edb403ed3.cpp | 18 ---- ...apper_1935a142d4425b8e9212ebbb3d98b996.cpp | 42 --------- ...apper_19547a3e283b56f0bcbda5ed6c39eca7.cpp | 17 ---- ...apper_19ec6a1f261852b5b192c3cbc4571d78.cpp | 40 --------- ...apper_19ee605677815ce58ebdc169d44e3d8c.cpp | 18 ---- ...apper_1a895a21d59854609ac58f50d8dcef94.cpp | 40 --------- ...apper_1ae28b9397ee5736a45e106e0eb3d8f9.cpp | 16 ---- ...apper_1b24919f2a0e5918adddc5638f6048e9.cpp | 17 ---- ...apper_1b793d6dd01553ae939c99e3743fa436.cpp | 15 ---- ...apper_1bbe231bce835ebeb36da82ccdeb5997.cpp | 56 ------------ ...apper_1c16077fc2b0519d806e8d900500edde.cpp | 22 ----- ...apper_1d32c3b4d5615a2883aebf6ef53e85e8.cpp | 17 ---- ...apper_1d46946cbf4e5e5188cb98cb24f80697.cpp | 14 --- ...apper_1f50e5c48a545cf9a618ddbf871d3a9c.cpp | 15 ---- ...apper_209197cf35105a20a75950ef9403af98.cpp | 16 ---- ...apper_20f43f33e75f5ed8baf3e95be100740a.cpp | 18 ---- ...apper_21120050d3d2560d969f522ea4e94cde.cpp | 34 -------- ...apper_214e9eab615f5960b6c5415c0c55fa0c.cpp | 51 ----------- ...apper_223fb8b8797b558497d5dea978484cfc.cpp | 42 --------- ...apper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp | 48 ----------- ...apper_22af95e725215bc9b21db076f5deefd7.cpp | 4 +- ...apper_232384c3de2e54ad9b4768c29f93cd4e.cpp | 17 ---- ...apper_2613fe07dc7251cea4181b6d9d00aad1.cpp | 42 --------- ...apper_2644644fcf2c54858f0565d665dcdbf4.cpp | 14 --- ...apper_27cfd1a8870659e08234770c1938e6df.cpp | 18 ---- ...apper_281622f2e8fd576dae1b13441146f58b.cpp | 18 ---- ...apper_281a291cf9465a1e9af25cbee1cf5bad.cpp | 17 ---- ...apper_28b80b998353537091198ca5f60cbdbf.cpp | 17 ---- ...apper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp | 42 --------- ...apper_2bc4b4cf9a315380aa25500e269996ba.cpp | 42 --------- ...apper_2cb2b79ddcda5d669891ac34e006005a.cpp | 36 ++++++++ ...apper_2d551f106ba85f3cb3acfbda4c8e17c7.cpp | 22 ----- ...apper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp | 42 --------- ...apper_2ee8bfaab59653a08d72e8d97ec7b5dd.cpp | 17 ---- ...apper_2ff2806eb8795c00b3220e66ed037bae.cpp | 51 ----------- ...apper_30b90e733d3b5718b760496782efec78.cpp | 48 ----------- ...apper_30db7beed1bd54e38566ef11693e0e60.cpp | 18 ---- ...apper_3185f3f8abfe5447acd1b43172130b8e.cpp | 42 --------- ...apper_3201f3b07b0254eb8ef2d0c42eff2557.cpp | 18 ---- ...apper_3312cf49434759ee93e09764ddc76065.cpp | 17 ---- ...apper_3389d2f38d825c49975e5cfc9a0517d5.cpp | 51 ----------- ...apper_346ee3489d025beead99ffc0c8770939.cpp | 56 ------------ ...apper_360ceb38fb075feb99dc83054d31e423.cpp | 18 ---- ...apper_36c99cd43c5c5fb8abeb0fd1ca103ac8.cpp | 18 ---- ...apper_39bbeb58de54579b934e5a56a51b377c.cpp | 17 ---- ...apper_3b2e19fa74a45eb49f08742886108635.cpp | 17 ---- ...apper_3b85938d896e56519b8342119ca08869.cpp | 48 ----------- ...apper_3c1962795bd85111b3372c4c25474792.cpp | 40 --------- ...apper_3c4215c1e4465be3a5f234b657381458.cpp | 27 ------ ...apper_3d6a15edb2225daba874c2b80defe6b4.cpp | 54 ------------ ...apper_3ee8eb16efa65e34aae8ad9f32dcb983.cpp | 18 ---- ...apper_3fd024ee203f5dbeb9a9f3392ca1db8c.cpp | 17 ---- ...apper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp | 51 ----------- ...apper_4045395044115f8ca0008a4001f465bf.cpp | 44 ++++++++++ ...apper_40c631b5a67d5748bbfdeaa0beedb4e0.cpp | 17 ---- ...apper_413148ff15d05180b4dbaaac395b3625.cpp | 41 --------- ...apper_41f94682b11f5bf481e7cf7033a93181.cpp | 40 --------- ...apper_420aec1990555632bd8e6235f3099ec2.cpp | 14 --- ...apper_423ed9cbac44541cb53a4cf80e6e15d5.cpp | 17 ---- ...apper_432843a5646c5268bb35f7309d2d4b33.cpp | 56 ------------ ...apper_43d603893a165ed2bf34ad286a50f22e.cpp | 42 --------- ...apper_446f651133d55eebbb2e7b65c75f4477.cpp | 34 -------- ...apper_44e7c25b7bde5df2a9f031c534765f11.cpp | 22 ----- ...apper_4637f9b5c7175ff0880fd325a6eca119.cpp | 12 ++- ...apper_473e4f9a05ed5118bd06e179489a35f4.cpp | 51 ----------- ...apper_47713b069ca05573b21bd47acc8c8465.cpp | 14 --- ...apper_48bb93ba41cb566d971639633c42258d.cpp | 17 ---- ...apper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp | 48 ----------- ...apper_49e18be963b9503a942009b04ff7e676.cpp | 17 ---- ...apper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp | 42 --------- ...apper_4b1365f753d05b8db1db0b529f5110f9.cpp | 15 ---- ...apper_4ccf3378b28a52cf822b51336a473a25.cpp | 14 --- ...apper_4e58a130fe9e52ffa312f3e583614e93.cpp | 27 ------ ...apper_503849a008915707a02e604de7f58273.cpp | 22 ----- ...apper_50b1ee8b31d65a6c8c8652f8d3909202.cpp | 14 --- ...apper_51a269f41c995b2e8c33ae7f895f50ae.cpp | 15 ---- ...apper_528d7cd3a92d569d897fdc1e61483003.cpp | 48 ----------- ...apper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp | 42 --------- ...apper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp | 50 ----------- ...apper_57247d6d8d8354eda6e19f19da8dc732.cpp | 42 --------- ...apper_5750371755a95c10b9259748c7b5e21b.cpp | 14 --- ...apper_5856b02a98b7543baa5144338b21e69d.cpp | 40 --------- ...apper_5877793da2745ffb9f47b225e5ec26b6.cpp | 48 ----------- ...apper_5882772a749051e4bbaf2d0ffe53631a.cpp | 14 --- ...apper_58960b7597495bb78bb15e0b1e8c9de8.cpp | 48 ----------- ...apper_5940fdd28e32560cbb554a38b002be00.cpp | 15 ---- ...apper_59db006e2d0a532f903fd7d41c9aabfb.cpp | 17 ---- ...apper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp | 56 ------------ ...apper_5b1444f7a44054459e5adff18c81bbfb.cpp | 22 ----- ...apper_5bbb1918edfa5fb49894cb0a6bf46044.cpp | 54 ------------ ...apper_5c6e4c2beaae58e1a041154bd478b75f.cpp | 14 --- ...apper_5d11528f24755a879438133d5708e545.cpp | 34 -------- ...apper_5d63830a58ae5ad1aaf2cb88275ddd22.cpp | 15 ---- ...apper_5e00a634363a53b79e62b0712b0cbe57.cpp | 15 ---- ...apper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp | 40 --------- ...apper_5e703a4587815486b6950405a411169b.cpp | 34 -------- ...apper_5e9c2eecb34851cd99100ce520f53c6e.cpp | 37 -------- ...apper_5fe9bb1da30956d98b555d9379555582.cpp | 18 ---- ...apper_603c48a232f0549ab95e7c0325f6f159.cpp | 48 ----------- ...apper_6040d8f35856585fa65c9beece0f520f.cpp | 22 ----- ...apper_61234f1033f25f108ec6c1bb0d3ddf38.cpp | 55 ------------ ...apper_615b4cea5f9251d3b38950014f9d5697.cpp | 17 ---- ...apper_61733bdc2db95f128686b3292ae9259a.cpp | 55 ------------ ...apper_6286fa427e2b5074b726466691e9713a.cpp | 16 ---- ...apper_62ba3b73a1c356bcacfb0c66e927e78d.cpp | 16 ---- ...apper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp | 42 --------- ...apper_6375bd4b368450a684e289f7598736a6.cpp | 18 ---- ...apper_637dbedd3c8a59949a0df6e3a9989f87.cpp | 15 ---- ...apper_65233ae509075a4885c6c150d99046ae.cpp | 56 ------------ ...apper_65f1b96fc3cf5b6abf37b20774ffb554.cpp | 14 --- ...apper_66595150e9b05d2aaf4d9f52269aca0d.cpp | 42 --------- ...apper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp | 46 ---------- ...apper_6690633b82205104834e2688e6549e65.cpp | 15 ---- ...apper_66ba790876ea5d25be923643f217b67a.cpp | 17 ---- ...apper_66ea0b28087057f5abc6f26dadfb4c15.cpp | 18 ---- ...apper_6714db1d278d5fec95ea3760f54b9fa0.cpp | 18 ---- ...apper_6731f013fc2f50e6b3684322e5d511aa.cpp | 14 --- ...apper_67548b1b39c8521c8f630ca5b4d502c4.cpp | 15 ---- ...apper_67870dc7ea665794a91fa84ca05aecb0.cpp | 40 --------- ...apper_67cb5425a85056b38615b0d4e5c587b3.cpp | 44 ---------- ...apper_68170427b0885d37a676e4274699fa05.cpp | 17 ---- ...apper_681ebebfc39f52e7b797a69c6f165cc7.cpp | 48 ----------- ...apper_6923aecde43059bd8a00d1bd199ffa8d.cpp | 75 ---------------- ...apper_6ab41d8aa0095175b6da7190fc953a97.cpp | 17 ---- ...apper_6c36c615980657b7b51c6c44de94c819.cpp | 41 --------- ...apper_6d14c3d1f43b5dc99e4f553fff425665.cpp | 18 ---- ...apper_6d92f9f1e7ca5180bf403b23e9073d86.cpp | 22 ----- ...apper_6d99edae55df515bbdeb7c5c0e15917e.cpp | 15 ---- ...apper_6dd78f5508545bf49150581341735774.cpp | 15 ---- ...apper_6e8787baa0dc5b76b8b3076c994506dc.cpp | 18 ---- ...apper_6f183e6be0945c80a110bb22edb227d9.cpp | 17 ---- ...apper_6f54a1805d7d5e6b9796d225ad86ca34.cpp | 1 + ...apper_7164ab149b5259c39291b9f2886585fb.cpp | 56 ------------ ...apper_7189dbb358a659bb802e95b3ea6ebebd.cpp | 15 ---- ...apper_73f4a03ba6125d598bb6a6a8f7de7664.cpp | 56 ------------ ...apper_748e3ec2e85552f2ab39e490d409b414.cpp | 17 ---- ...apper_74f6b70412845069a8b8594df02c99e5.cpp | 50 ----------- ...apper_7504e6a86bdf57c0a7e644a6615fcd51.cpp | 51 ----------- ...apper_7510c84a2e4c5022ac15bd97a576d4b0.cpp | 37 -------- ...apper_7595c6bb437c59a9bc93a1f66c37eddf.cpp | 17 ---- ...apper_7622b202aa8c5c10af59ca8b1ec3c7e0.cpp | 18 ---- ...apper_779c0e94601b5238932a999e37acfdea.cpp | 4 +- ...apper_7815e44baa9c505681db76fc0d0c7fd6.cpp | 18 ---- ...apper_7963cd416f6c50c09445d3b27e4f9428.cpp | 51 ----------- ...apper_79be5108bb8c56d9825ee10945271a59.cpp | 51 ----------- ...apper_7a72df81b8e3525a981c66a31496b8f4.cpp | 34 -------- ...apper_7a9d965afc04501291149551eda23354.cpp | 16 ---- ...apper_7b337e963b005631b0b064a739f3b591.cpp | 44 ---------- ...apper_7b62905e006b57cc879769143ac42b3a.cpp | 17 ---- ...apper_7d0c9ca0e35156dda4481073c8664c19.cpp | 75 ---------------- ...apper_7d35ddb2f28b57a1849a13f7711f313e.cpp | 18 ---- ...apper_7d52b247865d503986da71f28e0da3e9.cpp | 15 ---- ...apper_7e1cec4e31015327b818f37cfea0452d.cpp | 14 --- ...apper_7eb3e765d79d55fd922f5b11acbb031e.cpp | 18 ---- ...apper_7ee099e22285561eb2a1e4dac64d4ff9.cpp | 56 ------------ ...apper_823c1d5da2f35f9abbb62a989d434392.cpp | 44 ++++++++++ ...apper_8481c329ca5e52b0af85447122c41ca5.cpp | 18 ---- ...apper_8486f4aa8ce25724972cec18f80c00cc.cpp | 51 ----------- ...apper_84c9be0b16d95273a960328d06f07469.cpp | 42 --------- ...apper_84eec6a551bf57658127a555bf79a38f.cpp | 17 ---- ...apper_85895a324a625f0888907166731d1bca.cpp | 18 ---- ...apper_861c54941e635197a1fd90e0eb95cd28.cpp | 51 ----------- ...apper_86541250592e58489f051f41f0896e22.cpp | 48 ----------- ...apper_86ceaf8153c052c9b470c7e534cdb934.cpp | 14 --- ...apper_87317e63de535031ba8bf5e2f19134ef.cpp | 17 ---- ...apper_87bede3683865d5daba537c08a5c665f.cpp | 17 ---- ...apper_881a8218d7d65c82b32d722273692e73.cpp | 40 --------- ...apper_886998686eca518d858abef756189174.cpp | 14 --- ...apper_8946cbc54c235b72b2e100c2785ce4c3.cpp | 17 ---- ...apper_899c8afc48a850aaac3ae5c4614380e9.cpp | 15 ---- ...apper_8a467c708d9c5620937b1f63cde332b1.cpp | 56 ------------ ...apper_8a816909345b5bf2911f863db5b8cb0b.cpp | 15 ---- ...apper_8c51a578c55d5bdd9eb4e60d4581366b.cpp | 16 ---- ...apper_8c6ff66ad2db50f3b16cf4191e75d77b.cpp | 17 ---- ...apper_8d6042c687a1543d97b4931d7ca1fca8.cpp | 61 ------------- ...apper_8d9f50f674e25529b3d059a5a5380bcb.cpp | 4 +- ...apper_8dcb38f525415f5eb16b5b180a314eab.cpp | 10 +-- ...apper_8e92507e5f595339b8e2826b584e0a7b.cpp | 14 --- ...apper_8f3919223a1f55afb240c3500b95c95b.cpp | 22 ----- ...apper_90681e203d925f7c8b9ca14a02786804.cpp | 42 --------- ...apper_90894824332153a7a0c5c3bd4ff0eab8.cpp | 15 ---- ...apper_90a595db73ec5964850871a0849d9df6.cpp | 17 ---- ...apper_90ffe8fffb9b5923867b6c24ac9eedb7.cpp | 15 ---- ...apper_91c5962ae4f35199bc2e90b5edad8412.cpp | 1 + ...apper_939d85e97df35cb48d17558623c03cc2.cpp | 18 ---- ...apper_9519b407cd30535e9a46079d8d8e90b2.cpp | 42 --------- ...apper_9547a153430f5693a08b4dbbf3204f78.cpp | 40 --------- ...apper_9603102166305920b6c85e3416150e99.cpp | 18 ---- ...apper_96486d682f0851438822ccbdd2c8c3eb.cpp | 14 --- ...apper_964cf359ff005773acf9fc2bf7c5743b.cpp | 56 ------------ ...apper_9662a6a016085675978d04e2bc87a7f3.cpp | 6 +- ...apper_97ddfd5be73a5e91b93724af3ea449cd.cpp | 16 ---- ...apper_9805623587005093969beb2ea47b0499.cpp | 42 --------- ...apper_985cf21680915944bc189269c6e7eaf8.cpp | 26 ------ ...apper_98899d54414f570aa57f6357fdc66074.cpp | 22 ----- ...apper_988ed407a0da542eb838d5681ba5ffd1.cpp | 51 ----------- ...apper_99243b0a36d95168b8a85b4b4999e459.cpp | 16 ---- ...apper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp | 55 ------------ ...apper_9a82eb8fa3e45c72b3ff12f7d2c15733.cpp | 18 ---- ...apper_9af672b8799e52dda111d00a974022cd.cpp | 28 ------ ...apper_9b457c1fefee52aeba68eb2ee374d6c8.cpp | 41 --------- ...apper_9b52bf3c9c595cdb890173a39b0d02c4.cpp | 28 ------ ...apper_9c9b0b8265215a57b48807e0fc9938ba.cpp | 16 ---- ...apper_9cf0f707397c5385baa38f245ba80437.cpp | 18 ---- ...apper_9d7f0f97517952029268e1fd35ac8843.cpp | 15 ---- ...apper_9dcc67ced1f05c0a9b634f6e7bdffe6c.cpp | 17 ---- ...apper_9f71ff88156f5fd0a459f920329e5dc8.cpp | 28 ------ ...apper_a004a7cf0d095bdeadf276d9713e024f.cpp | 28 ------ ...apper_a138b226412951b38a64aaad8bc549ac.cpp | 40 --------- ...apper_a1dbe32ad4be556a97d08416f9bb668d.cpp | 18 ---- ...apper_a22eff2d08c251169af231a773c880d3.cpp | 44 ++++++++++ ...apper_a268e28862575ead97b631ce4a762208.cpp | 18 ---- ...apper_a2e03e1beb3652d19910e253216cbbdd.cpp | 17 ---- ...apper_a361e68cde6a5b379c5300d00bee657c.cpp | 15 ---- ...apper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp | 41 --------- ...apper_a4ffccf09be35258a1a7081721670d59.cpp | 17 ---- ...apper_a57657628a525cab9dae00c5ee02b84f.cpp | 25 ------ ...apper_a744c0e699b3529e8ea41b36264771ec.cpp | 41 --------- ...apper_a87f64a7a0c553e2b79ea554696bd78b.cpp | 2 - ...apper_a887ab230e4b513ab40c258c172f2580.cpp | 14 --- ...apper_ab333a3ecc9754b09181298d1da9b61e.cpp | 14 --- ...apper_abb8de3fed35566b9c88aebdaec5f1a0.cpp | 42 --------- ...apper_abef6177f46d50b5bb54c0dd31824754.cpp | 14 --- ...apper_acd4ffddf51e5c5fa9caca7f5b4aa6fe.cpp | 14 --- ...apper_adb101528f1256ccaa63a94998938b36.cpp | 18 ---- ...apper_b014379d48a45dac9f7ee65cf09afac7.cpp | 46 ---------- ...apper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp | 41 --------- ...apper_b0590d3783ba5288a5695b0e9cf1b03f.cpp | 18 ---- ...apper_b101d02bb3d95e95ac86387f50f9bccd.cpp | 51 ----------- ...apper_b11157049fc45e7181cc22c9c3670513.cpp | 17 ---- ...apper_b129309aaed65ac0b06bd5889ca44405.cpp | 54 ------------ ...apper_b15475d07cc156dcbf49a9f1fe4e2ad4.cpp | 16 ---- ...apper_b191a9bdcde4562cb6bfc0666feb816d.cpp | 56 ------------ ...apper_b24ad967ae66587ba612c3f37635bddb.cpp | 61 ------------- ...apper_b2b642c7a2d45bf5ad54e86cd730fb10.cpp | 26 ------ ...apper_b588087797ae51f7bce93503c0c1a013.cpp | 42 --------- ...apper_b65e2bfb02355375b92295f460fb1b15.cpp | 54 ------------ ...apper_b6605ca6549d54eba3c614d5b6a29235.cpp | 4 +- ...apper_b672d81fdca4541e96bb6aec3a8641d3.cpp | 18 ---- ...apper_b69665ff8e35506d9f4bdc083f09c052.cpp | 14 --- ...apper_b745bd62c1315087a0aa661317232745.cpp | 46 ---------- ...apper_b797921d7173586f85a1f0978dfdd59d.cpp | 22 ----- ...apper_b85047a790a65c398d0495802b9a0f04.cpp | 22 ----- ...apper_ba10383a23ff54399f92db2e929ec564.cpp | 18 ---- ...apper_bae2e5a4968957478cacad701caac477.cpp | 17 ---- ...apper_bb17c2bea1da5d2a86714ca422d3c393.cpp | 15 ---- ...apper_bb48025bb0a15b5c907ff0400bf2207a.cpp | 51 ----------- ...apper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp | 4 +- ...apper_bc77a106572e58ba96fe5742a38e574c.cpp | 51 ----------- ...apper_be720dbf462e5dce8b7d4a0b04921c48.cpp | 40 --------- ...apper_bf47140d396d5c208e074ff3a2a31af4.cpp | 18 ---- ...apper_c08067855baa5ebea605270776020990.cpp | 14 --- ...apper_c0bee75b3bf95732b384679bc9ef8f9f.cpp | 42 --------- ...apper_c285de96478650da951aca759bc2616e.cpp | 55 ------------ ...apper_c37f435056a151f5a398c0a2e86d752a.cpp | 25 ------ ...apper_c3981878d7ab5e6f87183b575418286b.cpp | 15 ---- ...apper_c45aea45ed2e564cb24514edfc5e63b0.cpp | 14 --- ...apper_c4fa66fd13165a0abce0c43742e69748.cpp | 17 ---- ...apper_c50f0d84f3a05771b904e670721690e3.cpp | 70 --------------- ...apper_c57cf5e1268c5299a5895ad1b219623f.cpp | 18 ---- ...apper_c5f88ba309545f39820cbd74b19f1f7c.cpp | 18 ---- ...apper_c64f8514180b56eabe5b4d197177f547.cpp | 48 ----------- ...apper_c8d0cf6feb9650a486b6da44c7b338e0.cpp | 18 ---- ...apper_c8f9ef7718815a7dbb7946e20b85e07f.cpp | 1 + ...apper_c92b9bfaab03555f87343457a8d1a2b0.cpp | 42 --------- ...apper_ca5d28928ff15dbc886e10017edb407d.cpp | 48 ----------- ...apper_caa62ffec61a5e0a99ca640a1ed36905.cpp | 56 ------------ ...apper_caa96dc8906e541dbda0563fb9f042bc.cpp | 17 ---- ...apper_cac66b5845885b48b2bb02c9d01b81db.cpp | 42 --------- ...apper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp | 25 +----- ...apper_cc3bc950f48855398043fabd1fa92b62.cpp | 51 ----------- ...apper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp | 40 --------- ...apper_cd2f32a2cb285d6c9d814fca476c78af.cpp | 14 --- ...apper_cd94566e790a5588be95cba4cfaaec57.cpp | 22 ----- ...apper_ce6d678c114158f596627eb4f0c6e9b1.cpp | 40 --------- ...apper_ceecfdda95b55b7c9ffa26c45ca90aef.cpp | 16 ---- ...apper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp | 42 --------- ...apper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp | 41 --------- ...apper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp | 51 ----------- ...apper_d1d07891cded56f98ac530b8a0898dd9.cpp | 16 ---- ...apper_d358a39c74145ef4b6d844aec605e715.cpp | 16 ---- ...apper_d43cf2b0b53753edb3fccbdddfef43b3.cpp | 18 ---- ...apper_d4b7bfff2e0551769c3e6767fe7dca05.cpp | 61 ------------- ...apper_d5050a1ccbb65a28b581f7bdf82e3a84.cpp | 18 ---- ...apper_d63319879d9750a497ce0eb3e49e5d7a.cpp | 42 --------- ...apper_d6970cd0a37451cfbcd48d316b17aaa0.cpp | 42 --------- ...apper_d703fdffb5985355afb348563c2a3b0c.cpp | 17 ---- ...apper_d72a9c13e27a5de5800ea382cc4d107f.cpp | 17 ---- ...apper_d7f10816ae3755518cc8f9508c8f2b84.cpp | 14 --- ...apper_d84d3426cce55670b51d351b388a8ae8.cpp | 39 --------- ...apper_d9f7731b9dbc5740add8fc7749d9283d.cpp | 22 ----- ...apper_da164767fc675bd29ae86f87eff482aa.cpp | 28 ------ ...apper_db3e81250c765e35b6b7ab7b9d17c8ea.cpp | 15 ---- ...apper_db69feb5c0dc5537adb3ca6589dd9d60.cpp | 18 ---- ...apper_db760ff53e0e5dca8e558b09ed12163c.cpp | 17 ---- ...apper_dcb42c58c45353839bf4d081d804b14c.cpp | 61 ------------- ...apper_dd64d489201652bd9b30c6b9ce866197.cpp | 46 ---------- ...apper_ddbb72c73020556288736634edca5653.cpp | 17 ---- ...apper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp | 48 ----------- ...apper_de7ff6e8df595fdab99566ab1fb822d1.cpp | 6 +- ...apper_de92243b99cb5ef4a3c6cd0f80eb6279.cpp | 18 ---- ...apper_df69c16128ca5c609f45a63866a1af2f.cpp | 17 ---- ...apper_e04333cf88f85b74a12abe551bc271c3.cpp | 56 ------------ ...apper_e04b2c4523535837960c26d5b28953fc.cpp | 54 ------------ ...apper_e19df620173959fc805b30a13ab6379a.cpp | 44 ---------- ...apper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp | 41 --------- ...apper_e1e7647ed4235775b6d085dd28a83675.cpp | 22 ----- ...apper_e28923ae1ac356e5845929232f8e09ac.cpp | 22 ----- ...apper_e2aa406ade4850eda910a734d419832b.cpp | 42 --------- ...apper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp | 42 --------- ...apper_e793dec94d375e40b28adb85f4d45664.cpp | 18 ---- ...apper_e8c4cdf7ac4e5ead83bcc0877ffddd76.cpp | 17 ---- ...apper_ea23650412285dd89c33e1ed29a91cb7.cpp | 15 ---- ...apper_eae24fefebd9570687e8a345f6e50c1b.cpp | 51 ----------- ...apper_eb3cd0df0cd558acb42631cfa3f9a172.cpp | 34 -------- ...apper_eb4ed1ac11775528a15a11246865cec3.cpp | 30 ------- ...apper_ebc71d261393504a8a716623a3119a76.cpp | 14 --- ...apper_ed81e719ae18598db776779b62b54889.cpp | 18 ---- ...apper_eddfddadfccc5e56b9e809e952641f6b.cpp | 18 ---- ...apper_edfb27681f195343b523e5b949187dba.cpp | 16 ---- ...apper_ee054e76c90f582f9e07cdff4cd63eda.cpp | 40 --------- ...apper_ee3148dbf8425c8f8a5c5a280fb4586c.cpp | 17 ---- ...apper_ef99412d87545a1391d9c6cbb66e08e8.cpp | 17 ---- ...apper_f29b9e4bae2254ec8b6d9cf0133bf530.cpp | 22 ----- ...apper_f2ecaf3b0a6b579abb5e76d3de955c1d.cpp | 14 --- ...apper_f3dab438657054798b20b872db63311a.cpp | 34 -------- ...apper_f490fbe6298d5af89adf9098e57be3d4.cpp | 18 ---- ...apper_f4afe77755d35d35b62ff4de5295156d.cpp | 14 --- ...apper_f4db63bd9e7254c18d0dca2fbb1da1ac.cpp | 18 ---- ...apper_f550a61e11625416b81603dbfad86987.cpp | 42 --------- ...apper_f6675a262e6b55f6819ef4c5599c308b.cpp | 15 ---- ...apper_f76f62b9f79a5f43900330c071ce00fb.cpp | 48 ----------- ...apper_f7ee2d0fd855596a8c0abbb2be320618.cpp | 18 ---- ...apper_f7ee5d4607de508bb39519488f31e96c.cpp | 15 ---- ...apper_f81a8ee127995b0890ddd9786aab755d.cpp | 54 ------------ ...apper_f93af042f688513484b1158c96b9eaef.cpp | 51 ----------- ...apper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp | 42 --------- ...apper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp | 38 -------- ...apper_fcc6162c378c5756b392afed99931125.cpp | 37 -------- ...apper_fd1fa4531ff65b6c889e56be99ebfc4e.cpp | 14 --- ...apper_fd63b9f470165717923109c2f3c8739d.cpp | 54 ------------ ...apper_ff336bb969875c6bb9226d1ab053af10.cpp | 14 --- ...apper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp | 51 ----------- 382 files changed, 333 insertions(+), 10816 deletions(-) delete mode 100644 src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp delete mode 100644 src/py/wrapper/wrapper_040909a1c2b158b198be21fa1ab2b474.cpp delete mode 100644 src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp delete mode 100644 src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp delete mode 100644 src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp delete mode 100644 src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp delete mode 100644 src/py/wrapper/wrapper_08e79862ae80532bb837c70a9c93652b.cpp delete mode 100644 src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp delete mode 100644 src/py/wrapper/wrapper_099f33625b8c56688a7b3e04cbb36b62.cpp delete mode 100644 src/py/wrapper/wrapper_09e5fef4970b56dabc3cf805a4fca937.cpp delete mode 100644 src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp delete mode 100644 src/py/wrapper/wrapper_0a237c7df2ac57109630f38c8cbc0fd4.cpp delete mode 100644 src/py/wrapper/wrapper_0a36039624465699ab0fb3ebba56695a.cpp delete mode 100644 src/py/wrapper/wrapper_0b7e758230bf50db981289f48e9fdca7.cpp delete mode 100644 src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp delete mode 100644 src/py/wrapper/wrapper_0ec596bf98a6521c9bf30c96dc0ff201.cpp delete mode 100644 src/py/wrapper/wrapper_0f6bb80b715057a7964abf2a553f0818.cpp delete mode 100644 src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp delete mode 100644 src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp delete mode 100644 src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp delete mode 100644 src/py/wrapper/wrapper_117864e1dfe65915bf10502e182e5502.cpp delete mode 100644 src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp delete mode 100644 src/py/wrapper/wrapper_134023695d4459f2931df9cb87b57330.cpp delete mode 100644 src/py/wrapper/wrapper_13d523d2695b5825b5cf182c5a8fa6ca.cpp delete mode 100644 src/py/wrapper/wrapper_15d5beb354475a4b8c2ab5885c0662bd.cpp delete mode 100644 src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp delete mode 100644 src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp delete mode 100644 src/py/wrapper/wrapper_16ec8df96bd85f88b8999c4cbe58279e.cpp delete mode 100644 src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp delete mode 100644 src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp delete mode 100644 src/py/wrapper/wrapper_18bed25ce1eb5640880f010edb403ed3.cpp delete mode 100644 src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp delete mode 100644 src/py/wrapper/wrapper_19547a3e283b56f0bcbda5ed6c39eca7.cpp delete mode 100644 src/py/wrapper/wrapper_19ec6a1f261852b5b192c3cbc4571d78.cpp delete mode 100644 src/py/wrapper/wrapper_19ee605677815ce58ebdc169d44e3d8c.cpp delete mode 100644 src/py/wrapper/wrapper_1a895a21d59854609ac58f50d8dcef94.cpp delete mode 100644 src/py/wrapper/wrapper_1ae28b9397ee5736a45e106e0eb3d8f9.cpp delete mode 100644 src/py/wrapper/wrapper_1b24919f2a0e5918adddc5638f6048e9.cpp delete mode 100644 src/py/wrapper/wrapper_1b793d6dd01553ae939c99e3743fa436.cpp delete mode 100644 src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp delete mode 100644 src/py/wrapper/wrapper_1c16077fc2b0519d806e8d900500edde.cpp delete mode 100644 src/py/wrapper/wrapper_1d32c3b4d5615a2883aebf6ef53e85e8.cpp delete mode 100644 src/py/wrapper/wrapper_1d46946cbf4e5e5188cb98cb24f80697.cpp delete mode 100644 src/py/wrapper/wrapper_1f50e5c48a545cf9a618ddbf871d3a9c.cpp delete mode 100644 src/py/wrapper/wrapper_209197cf35105a20a75950ef9403af98.cpp delete mode 100644 src/py/wrapper/wrapper_20f43f33e75f5ed8baf3e95be100740a.cpp delete mode 100644 src/py/wrapper/wrapper_21120050d3d2560d969f522ea4e94cde.cpp delete mode 100644 src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp delete mode 100644 src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp delete mode 100644 src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp delete mode 100644 src/py/wrapper/wrapper_232384c3de2e54ad9b4768c29f93cd4e.cpp delete mode 100644 src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp delete mode 100644 src/py/wrapper/wrapper_2644644fcf2c54858f0565d665dcdbf4.cpp delete mode 100644 src/py/wrapper/wrapper_27cfd1a8870659e08234770c1938e6df.cpp delete mode 100644 src/py/wrapper/wrapper_281622f2e8fd576dae1b13441146f58b.cpp delete mode 100644 src/py/wrapper/wrapper_281a291cf9465a1e9af25cbee1cf5bad.cpp delete mode 100644 src/py/wrapper/wrapper_28b80b998353537091198ca5f60cbdbf.cpp delete mode 100644 src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp delete mode 100644 src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp create mode 100644 src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp delete mode 100644 src/py/wrapper/wrapper_2d551f106ba85f3cb3acfbda4c8e17c7.cpp delete mode 100644 src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp delete mode 100644 src/py/wrapper/wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd.cpp delete mode 100644 src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp delete mode 100644 src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp delete mode 100644 src/py/wrapper/wrapper_30db7beed1bd54e38566ef11693e0e60.cpp delete mode 100644 src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp delete mode 100644 src/py/wrapper/wrapper_3201f3b07b0254eb8ef2d0c42eff2557.cpp delete mode 100644 src/py/wrapper/wrapper_3312cf49434759ee93e09764ddc76065.cpp delete mode 100644 src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp delete mode 100644 src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp delete mode 100644 src/py/wrapper/wrapper_360ceb38fb075feb99dc83054d31e423.cpp delete mode 100644 src/py/wrapper/wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8.cpp delete mode 100644 src/py/wrapper/wrapper_39bbeb58de54579b934e5a56a51b377c.cpp delete mode 100644 src/py/wrapper/wrapper_3b2e19fa74a45eb49f08742886108635.cpp delete mode 100644 src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp delete mode 100644 src/py/wrapper/wrapper_3c1962795bd85111b3372c4c25474792.cpp delete mode 100644 src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp delete mode 100644 src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp delete mode 100644 src/py/wrapper/wrapper_3ee8eb16efa65e34aae8ad9f32dcb983.cpp delete mode 100644 src/py/wrapper/wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c.cpp delete mode 100644 src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp create mode 100644 src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp delete mode 100644 src/py/wrapper/wrapper_40c631b5a67d5748bbfdeaa0beedb4e0.cpp delete mode 100644 src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp delete mode 100644 src/py/wrapper/wrapper_41f94682b11f5bf481e7cf7033a93181.cpp delete mode 100644 src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp delete mode 100644 src/py/wrapper/wrapper_423ed9cbac44541cb53a4cf80e6e15d5.cpp delete mode 100644 src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp delete mode 100644 src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp delete mode 100644 src/py/wrapper/wrapper_446f651133d55eebbb2e7b65c75f4477.cpp delete mode 100644 src/py/wrapper/wrapper_44e7c25b7bde5df2a9f031c534765f11.cpp delete mode 100644 src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp delete mode 100644 src/py/wrapper/wrapper_47713b069ca05573b21bd47acc8c8465.cpp delete mode 100644 src/py/wrapper/wrapper_48bb93ba41cb566d971639633c42258d.cpp delete mode 100644 src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp delete mode 100644 src/py/wrapper/wrapper_49e18be963b9503a942009b04ff7e676.cpp delete mode 100644 src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp delete mode 100644 src/py/wrapper/wrapper_4b1365f753d05b8db1db0b529f5110f9.cpp delete mode 100644 src/py/wrapper/wrapper_4ccf3378b28a52cf822b51336a473a25.cpp delete mode 100644 src/py/wrapper/wrapper_4e58a130fe9e52ffa312f3e583614e93.cpp delete mode 100644 src/py/wrapper/wrapper_503849a008915707a02e604de7f58273.cpp delete mode 100644 src/py/wrapper/wrapper_50b1ee8b31d65a6c8c8652f8d3909202.cpp delete mode 100644 src/py/wrapper/wrapper_51a269f41c995b2e8c33ae7f895f50ae.cpp delete mode 100644 src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp delete mode 100644 src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp delete mode 100644 src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp delete mode 100644 src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp delete mode 100644 src/py/wrapper/wrapper_5750371755a95c10b9259748c7b5e21b.cpp delete mode 100644 src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp delete mode 100644 src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp delete mode 100644 src/py/wrapper/wrapper_5882772a749051e4bbaf2d0ffe53631a.cpp delete mode 100644 src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp delete mode 100644 src/py/wrapper/wrapper_5940fdd28e32560cbb554a38b002be00.cpp delete mode 100644 src/py/wrapper/wrapper_59db006e2d0a532f903fd7d41c9aabfb.cpp delete mode 100644 src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp delete mode 100644 src/py/wrapper/wrapper_5b1444f7a44054459e5adff18c81bbfb.cpp delete mode 100644 src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp delete mode 100644 src/py/wrapper/wrapper_5c6e4c2beaae58e1a041154bd478b75f.cpp delete mode 100644 src/py/wrapper/wrapper_5d11528f24755a879438133d5708e545.cpp delete mode 100644 src/py/wrapper/wrapper_5d63830a58ae5ad1aaf2cb88275ddd22.cpp delete mode 100644 src/py/wrapper/wrapper_5e00a634363a53b79e62b0712b0cbe57.cpp delete mode 100644 src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp delete mode 100644 src/py/wrapper/wrapper_5e703a4587815486b6950405a411169b.cpp delete mode 100644 src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp delete mode 100644 src/py/wrapper/wrapper_5fe9bb1da30956d98b555d9379555582.cpp delete mode 100644 src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp delete mode 100644 src/py/wrapper/wrapper_6040d8f35856585fa65c9beece0f520f.cpp delete mode 100644 src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp delete mode 100644 src/py/wrapper/wrapper_615b4cea5f9251d3b38950014f9d5697.cpp delete mode 100644 src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp delete mode 100644 src/py/wrapper/wrapper_6286fa427e2b5074b726466691e9713a.cpp delete mode 100644 src/py/wrapper/wrapper_62ba3b73a1c356bcacfb0c66e927e78d.cpp delete mode 100644 src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp delete mode 100644 src/py/wrapper/wrapper_6375bd4b368450a684e289f7598736a6.cpp delete mode 100644 src/py/wrapper/wrapper_637dbedd3c8a59949a0df6e3a9989f87.cpp delete mode 100644 src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp delete mode 100644 src/py/wrapper/wrapper_65f1b96fc3cf5b6abf37b20774ffb554.cpp delete mode 100644 src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp delete mode 100644 src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp delete mode 100644 src/py/wrapper/wrapper_6690633b82205104834e2688e6549e65.cpp delete mode 100644 src/py/wrapper/wrapper_66ba790876ea5d25be923643f217b67a.cpp delete mode 100644 src/py/wrapper/wrapper_66ea0b28087057f5abc6f26dadfb4c15.cpp delete mode 100644 src/py/wrapper/wrapper_6714db1d278d5fec95ea3760f54b9fa0.cpp delete mode 100644 src/py/wrapper/wrapper_6731f013fc2f50e6b3684322e5d511aa.cpp delete mode 100644 src/py/wrapper/wrapper_67548b1b39c8521c8f630ca5b4d502c4.cpp delete mode 100644 src/py/wrapper/wrapper_67870dc7ea665794a91fa84ca05aecb0.cpp delete mode 100644 src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp delete mode 100644 src/py/wrapper/wrapper_68170427b0885d37a676e4274699fa05.cpp delete mode 100644 src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp delete mode 100644 src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp delete mode 100644 src/py/wrapper/wrapper_6ab41d8aa0095175b6da7190fc953a97.cpp delete mode 100644 src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp delete mode 100644 src/py/wrapper/wrapper_6d14c3d1f43b5dc99e4f553fff425665.cpp delete mode 100644 src/py/wrapper/wrapper_6d92f9f1e7ca5180bf403b23e9073d86.cpp delete mode 100644 src/py/wrapper/wrapper_6d99edae55df515bbdeb7c5c0e15917e.cpp delete mode 100644 src/py/wrapper/wrapper_6dd78f5508545bf49150581341735774.cpp delete mode 100644 src/py/wrapper/wrapper_6e8787baa0dc5b76b8b3076c994506dc.cpp delete mode 100644 src/py/wrapper/wrapper_6f183e6be0945c80a110bb22edb227d9.cpp delete mode 100644 src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp delete mode 100644 src/py/wrapper/wrapper_7189dbb358a659bb802e95b3ea6ebebd.cpp delete mode 100644 src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp delete mode 100644 src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp delete mode 100644 src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp delete mode 100644 src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp delete mode 100644 src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp delete mode 100644 src/py/wrapper/wrapper_7595c6bb437c59a9bc93a1f66c37eddf.cpp delete mode 100644 src/py/wrapper/wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0.cpp delete mode 100644 src/py/wrapper/wrapper_7815e44baa9c505681db76fc0d0c7fd6.cpp delete mode 100644 src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp delete mode 100644 src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp delete mode 100644 src/py/wrapper/wrapper_7a72df81b8e3525a981c66a31496b8f4.cpp delete mode 100644 src/py/wrapper/wrapper_7a9d965afc04501291149551eda23354.cpp delete mode 100644 src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp delete mode 100644 src/py/wrapper/wrapper_7b62905e006b57cc879769143ac42b3a.cpp delete mode 100644 src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp delete mode 100644 src/py/wrapper/wrapper_7d35ddb2f28b57a1849a13f7711f313e.cpp delete mode 100644 src/py/wrapper/wrapper_7d52b247865d503986da71f28e0da3e9.cpp delete mode 100644 src/py/wrapper/wrapper_7e1cec4e31015327b818f37cfea0452d.cpp delete mode 100644 src/py/wrapper/wrapper_7eb3e765d79d55fd922f5b11acbb031e.cpp delete mode 100644 src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp create mode 100644 src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp delete mode 100644 src/py/wrapper/wrapper_8481c329ca5e52b0af85447122c41ca5.cpp delete mode 100644 src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp delete mode 100644 src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp delete mode 100644 src/py/wrapper/wrapper_84eec6a551bf57658127a555bf79a38f.cpp delete mode 100644 src/py/wrapper/wrapper_85895a324a625f0888907166731d1bca.cpp delete mode 100644 src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp delete mode 100644 src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp delete mode 100644 src/py/wrapper/wrapper_86ceaf8153c052c9b470c7e534cdb934.cpp delete mode 100644 src/py/wrapper/wrapper_87317e63de535031ba8bf5e2f19134ef.cpp delete mode 100644 src/py/wrapper/wrapper_87bede3683865d5daba537c08a5c665f.cpp delete mode 100644 src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp delete mode 100644 src/py/wrapper/wrapper_886998686eca518d858abef756189174.cpp delete mode 100644 src/py/wrapper/wrapper_8946cbc54c235b72b2e100c2785ce4c3.cpp delete mode 100644 src/py/wrapper/wrapper_899c8afc48a850aaac3ae5c4614380e9.cpp delete mode 100644 src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp delete mode 100644 src/py/wrapper/wrapper_8a816909345b5bf2911f863db5b8cb0b.cpp delete mode 100644 src/py/wrapper/wrapper_8c51a578c55d5bdd9eb4e60d4581366b.cpp delete mode 100644 src/py/wrapper/wrapper_8c6ff66ad2db50f3b16cf4191e75d77b.cpp delete mode 100644 src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp delete mode 100644 src/py/wrapper/wrapper_8e92507e5f595339b8e2826b584e0a7b.cpp delete mode 100644 src/py/wrapper/wrapper_8f3919223a1f55afb240c3500b95c95b.cpp delete mode 100644 src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp delete mode 100644 src/py/wrapper/wrapper_90894824332153a7a0c5c3bd4ff0eab8.cpp delete mode 100644 src/py/wrapper/wrapper_90a595db73ec5964850871a0849d9df6.cpp delete mode 100644 src/py/wrapper/wrapper_90ffe8fffb9b5923867b6c24ac9eedb7.cpp delete mode 100644 src/py/wrapper/wrapper_939d85e97df35cb48d17558623c03cc2.cpp delete mode 100644 src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp delete mode 100644 src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp delete mode 100644 src/py/wrapper/wrapper_9603102166305920b6c85e3416150e99.cpp delete mode 100644 src/py/wrapper/wrapper_96486d682f0851438822ccbdd2c8c3eb.cpp delete mode 100644 src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp delete mode 100644 src/py/wrapper/wrapper_97ddfd5be73a5e91b93724af3ea449cd.cpp delete mode 100644 src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp delete mode 100644 src/py/wrapper/wrapper_985cf21680915944bc189269c6e7eaf8.cpp delete mode 100644 src/py/wrapper/wrapper_98899d54414f570aa57f6357fdc66074.cpp delete mode 100644 src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp delete mode 100644 src/py/wrapper/wrapper_99243b0a36d95168b8a85b4b4999e459.cpp delete mode 100644 src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp delete mode 100644 src/py/wrapper/wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733.cpp delete mode 100644 src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp delete mode 100644 src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp delete mode 100644 src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp delete mode 100644 src/py/wrapper/wrapper_9c9b0b8265215a57b48807e0fc9938ba.cpp delete mode 100644 src/py/wrapper/wrapper_9cf0f707397c5385baa38f245ba80437.cpp delete mode 100644 src/py/wrapper/wrapper_9d7f0f97517952029268e1fd35ac8843.cpp delete mode 100644 src/py/wrapper/wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c.cpp delete mode 100644 src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp delete mode 100644 src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp delete mode 100644 src/py/wrapper/wrapper_a138b226412951b38a64aaad8bc549ac.cpp delete mode 100644 src/py/wrapper/wrapper_a1dbe32ad4be556a97d08416f9bb668d.cpp create mode 100644 src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp delete mode 100644 src/py/wrapper/wrapper_a268e28862575ead97b631ce4a762208.cpp delete mode 100644 src/py/wrapper/wrapper_a2e03e1beb3652d19910e253216cbbdd.cpp delete mode 100644 src/py/wrapper/wrapper_a361e68cde6a5b379c5300d00bee657c.cpp delete mode 100644 src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp delete mode 100644 src/py/wrapper/wrapper_a4ffccf09be35258a1a7081721670d59.cpp delete mode 100644 src/py/wrapper/wrapper_a57657628a525cab9dae00c5ee02b84f.cpp delete mode 100644 src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp delete mode 100644 src/py/wrapper/wrapper_a887ab230e4b513ab40c258c172f2580.cpp delete mode 100644 src/py/wrapper/wrapper_ab333a3ecc9754b09181298d1da9b61e.cpp delete mode 100644 src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp delete mode 100644 src/py/wrapper/wrapper_abef6177f46d50b5bb54c0dd31824754.cpp delete mode 100644 src/py/wrapper/wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe.cpp delete mode 100644 src/py/wrapper/wrapper_adb101528f1256ccaa63a94998938b36.cpp delete mode 100644 src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp delete mode 100644 src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp delete mode 100644 src/py/wrapper/wrapper_b0590d3783ba5288a5695b0e9cf1b03f.cpp delete mode 100644 src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp delete mode 100644 src/py/wrapper/wrapper_b11157049fc45e7181cc22c9c3670513.cpp delete mode 100644 src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp delete mode 100644 src/py/wrapper/wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4.cpp delete mode 100644 src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp delete mode 100644 src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp delete mode 100644 src/py/wrapper/wrapper_b2b642c7a2d45bf5ad54e86cd730fb10.cpp delete mode 100644 src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp delete mode 100644 src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp delete mode 100644 src/py/wrapper/wrapper_b672d81fdca4541e96bb6aec3a8641d3.cpp delete mode 100644 src/py/wrapper/wrapper_b69665ff8e35506d9f4bdc083f09c052.cpp delete mode 100644 src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp delete mode 100644 src/py/wrapper/wrapper_b797921d7173586f85a1f0978dfdd59d.cpp delete mode 100644 src/py/wrapper/wrapper_b85047a790a65c398d0495802b9a0f04.cpp delete mode 100644 src/py/wrapper/wrapper_ba10383a23ff54399f92db2e929ec564.cpp delete mode 100644 src/py/wrapper/wrapper_bae2e5a4968957478cacad701caac477.cpp delete mode 100644 src/py/wrapper/wrapper_bb17c2bea1da5d2a86714ca422d3c393.cpp delete mode 100644 src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp delete mode 100644 src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp delete mode 100644 src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp delete mode 100644 src/py/wrapper/wrapper_bf47140d396d5c208e074ff3a2a31af4.cpp delete mode 100644 src/py/wrapper/wrapper_c08067855baa5ebea605270776020990.cpp delete mode 100644 src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp delete mode 100644 src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp delete mode 100644 src/py/wrapper/wrapper_c37f435056a151f5a398c0a2e86d752a.cpp delete mode 100644 src/py/wrapper/wrapper_c3981878d7ab5e6f87183b575418286b.cpp delete mode 100644 src/py/wrapper/wrapper_c45aea45ed2e564cb24514edfc5e63b0.cpp delete mode 100644 src/py/wrapper/wrapper_c4fa66fd13165a0abce0c43742e69748.cpp delete mode 100644 src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp delete mode 100644 src/py/wrapper/wrapper_c57cf5e1268c5299a5895ad1b219623f.cpp delete mode 100644 src/py/wrapper/wrapper_c5f88ba309545f39820cbd74b19f1f7c.cpp delete mode 100644 src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp delete mode 100644 src/py/wrapper/wrapper_c8d0cf6feb9650a486b6da44c7b338e0.cpp delete mode 100644 src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp delete mode 100644 src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp delete mode 100644 src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp delete mode 100644 src/py/wrapper/wrapper_caa96dc8906e541dbda0563fb9f042bc.cpp delete mode 100644 src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp delete mode 100644 src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp delete mode 100644 src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp delete mode 100644 src/py/wrapper/wrapper_cd2f32a2cb285d6c9d814fca476c78af.cpp delete mode 100644 src/py/wrapper/wrapper_cd94566e790a5588be95cba4cfaaec57.cpp delete mode 100644 src/py/wrapper/wrapper_ce6d678c114158f596627eb4f0c6e9b1.cpp delete mode 100644 src/py/wrapper/wrapper_ceecfdda95b55b7c9ffa26c45ca90aef.cpp delete mode 100644 src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp delete mode 100644 src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp delete mode 100644 src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp delete mode 100644 src/py/wrapper/wrapper_d1d07891cded56f98ac530b8a0898dd9.cpp delete mode 100644 src/py/wrapper/wrapper_d358a39c74145ef4b6d844aec605e715.cpp delete mode 100644 src/py/wrapper/wrapper_d43cf2b0b53753edb3fccbdddfef43b3.cpp delete mode 100644 src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp delete mode 100644 src/py/wrapper/wrapper_d5050a1ccbb65a28b581f7bdf82e3a84.cpp delete mode 100644 src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp delete mode 100644 src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp delete mode 100644 src/py/wrapper/wrapper_d703fdffb5985355afb348563c2a3b0c.cpp delete mode 100644 src/py/wrapper/wrapper_d72a9c13e27a5de5800ea382cc4d107f.cpp delete mode 100644 src/py/wrapper/wrapper_d7f10816ae3755518cc8f9508c8f2b84.cpp delete mode 100644 src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp delete mode 100644 src/py/wrapper/wrapper_d9f7731b9dbc5740add8fc7749d9283d.cpp delete mode 100644 src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp delete mode 100644 src/py/wrapper/wrapper_db3e81250c765e35b6b7ab7b9d17c8ea.cpp delete mode 100644 src/py/wrapper/wrapper_db69feb5c0dc5537adb3ca6589dd9d60.cpp delete mode 100644 src/py/wrapper/wrapper_db760ff53e0e5dca8e558b09ed12163c.cpp delete mode 100644 src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp delete mode 100644 src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp delete mode 100644 src/py/wrapper/wrapper_ddbb72c73020556288736634edca5653.cpp delete mode 100644 src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp delete mode 100644 src/py/wrapper/wrapper_de92243b99cb5ef4a3c6cd0f80eb6279.cpp delete mode 100644 src/py/wrapper/wrapper_df69c16128ca5c609f45a63866a1af2f.cpp delete mode 100644 src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp delete mode 100644 src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp delete mode 100644 src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp delete mode 100644 src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp delete mode 100644 src/py/wrapper/wrapper_e1e7647ed4235775b6d085dd28a83675.cpp delete mode 100644 src/py/wrapper/wrapper_e28923ae1ac356e5845929232f8e09ac.cpp delete mode 100644 src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp delete mode 100644 src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp delete mode 100644 src/py/wrapper/wrapper_e793dec94d375e40b28adb85f4d45664.cpp delete mode 100644 src/py/wrapper/wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76.cpp delete mode 100644 src/py/wrapper/wrapper_ea23650412285dd89c33e1ed29a91cb7.cpp delete mode 100644 src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp delete mode 100644 src/py/wrapper/wrapper_eb3cd0df0cd558acb42631cfa3f9a172.cpp delete mode 100644 src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp delete mode 100644 src/py/wrapper/wrapper_ebc71d261393504a8a716623a3119a76.cpp delete mode 100644 src/py/wrapper/wrapper_ed81e719ae18598db776779b62b54889.cpp delete mode 100644 src/py/wrapper/wrapper_eddfddadfccc5e56b9e809e952641f6b.cpp delete mode 100644 src/py/wrapper/wrapper_edfb27681f195343b523e5b949187dba.cpp delete mode 100644 src/py/wrapper/wrapper_ee054e76c90f582f9e07cdff4cd63eda.cpp delete mode 100644 src/py/wrapper/wrapper_ee3148dbf8425c8f8a5c5a280fb4586c.cpp delete mode 100644 src/py/wrapper/wrapper_ef99412d87545a1391d9c6cbb66e08e8.cpp delete mode 100644 src/py/wrapper/wrapper_f29b9e4bae2254ec8b6d9cf0133bf530.cpp delete mode 100644 src/py/wrapper/wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d.cpp delete mode 100644 src/py/wrapper/wrapper_f3dab438657054798b20b872db63311a.cpp delete mode 100644 src/py/wrapper/wrapper_f490fbe6298d5af89adf9098e57be3d4.cpp delete mode 100644 src/py/wrapper/wrapper_f4afe77755d35d35b62ff4de5295156d.cpp delete mode 100644 src/py/wrapper/wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac.cpp delete mode 100644 src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp delete mode 100644 src/py/wrapper/wrapper_f6675a262e6b55f6819ef4c5599c308b.cpp delete mode 100644 src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp delete mode 100644 src/py/wrapper/wrapper_f7ee2d0fd855596a8c0abbb2be320618.cpp delete mode 100644 src/py/wrapper/wrapper_f7ee5d4607de508bb39519488f31e96c.cpp delete mode 100644 src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp delete mode 100644 src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp delete mode 100644 src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp delete mode 100644 src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp delete mode 100644 src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp delete mode 100644 src/py/wrapper/wrapper_fd1fa4531ff65b6c889e56be99ebfc4e.cpp delete mode 100644 src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp delete mode 100644 src/py/wrapper/wrapper_ff336bb969875c6bb9226d1ab053af10.cpp delete mode 100644 src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index 0371aa0c..2d73407a 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -43,6 +43,7 @@ namespace statiskit using data_type = typename D::data_type; DistributionEstimation(); + DistributionEstimation(data_type const * data); DistributionEstimation(data_type const * data, distribution_type const * distribution); DistributionEstimation(const DistributionEstimation< D >& estimation); @@ -239,7 +240,7 @@ namespace statiskit { using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::ConditionalDistributionEstimation; - class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator + class STATISKIT_CORE_API Estimator : public ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator { public: using ConditionalDistributionEstimation< UnivariateConditionalDistribution >::Estimator::Estimator; @@ -258,7 +259,7 @@ namespace statiskit { using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; - class STATISKIT_CORE_API Estimator : ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator + class STATISKIT_CORE_API Estimator : public ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator { public: using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::Estimator; diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index 7aed3eb1..7467182c 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -25,7 +25,7 @@ namespace statiskit if (index >= this->size()) { throw size_error("index", this->size(), size_error::inferior); } - return this->at_step[index]; + return this->steps[index]; } template @@ -34,7 +34,14 @@ namespace statiskit this->data = nullptr; this->distribution = nullptr; } - + + template + DistributionEstimation< D >::DistributionEstimation(data_type const * data) + { + this->data = data; + this->distribution = nullptr; + } + template DistributionEstimation< D >::DistributionEstimation(data_type const * data, distribution_type const * distribution) { diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index 9d093367..fbb7fbf6 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -37,8 +37,6 @@ namespace statiskit protected: typename event_type::value_type shift; estimator_type* estimator; - - virtual std::unique_ptr< distribution_type > create(const distribution_type* distribution) const; }; }; @@ -52,13 +50,13 @@ namespace statiskit { using PolymorphicCopy< UnivariateFrequencyDistributionEstimation, B >::PolymorphicCopy; - class Estimator : public PolymorphicCopy< Estimator, typename B::Estimator > + class Estimator : public B::Estimator { public: - using data_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::data_type; - using distribution_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::distribution_type; - using estimation_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::estimation_type; - using event_type = typename PolymorphicCopy< Estimator, typename B::Estimator >::event_type; + using data_type = typename B::Estimator::data_type; + using distribution_type = typename B::Estimator::distribution_type; + using estimation_type = typename B::Estimator::estimation_type; + using event_type = typename B::Estimator::event_type; using value_type = typename event_type::value_type; @@ -66,35 +64,45 @@ namespace statiskit Estimator(const Estimator& estimator); virtual ~Estimator(); + using B::Estimator::operator(); virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const; protected: - inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const = 0; + virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const = 0; }; }; using NominalDistributionEstimation = UnivariateFrequencyDistributionEstimation< CategoricalUnivariateDistributionEstimation >; - class NominalDistributionEstimator : NominalDistributionEstimation::Estimator + class NominalDistributionEstimator : public PolymorphicCopy { + public: + using PolymorphicCopy::PolymorphicCopy; + protected: - inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; + virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; using DiscreteUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< DiscreteUnivariateDistributionEstimation >; - class DiscreteUnivariateFrequencyDistributionEstimator : DiscreteUnivariateFrequencyDistributionEstimation::Estimator + class DiscreteUnivariateFrequencyDistributionEstimator : public PolymorphicCopy { + public: + using PolymorphicCopy::PolymorphicCopy; + protected: - inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; + virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; using ContinuousUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< ContinuousUnivariateDistributionEstimation >; - class ContinuousUnivariateFrequencyDistributionEstimator : ContinuousUnivariateFrequencyDistributionEstimation::Estimator + class ContinuousUnivariateFrequencyDistributionEstimator : public PolymorphicCopy { + public: + using PolymorphicCopy::PolymorphicCopy; + protected: - inline virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& masses) const; + virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& masses) const; }; struct STATISKIT_CORE_API PoissonDistributionMLEstimation : PolymorphicCopy< PoissonDistributionMLEstimation, DiscreteUnivariateDistributionEstimation > @@ -175,7 +183,7 @@ namespace statiskit { using PolymorphicCopy::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : public PolymorphicCopy::Estimator + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index d8195052..f1a6d544 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -97,7 +97,7 @@ namespace statiskit template std::unique_ptr< typename UnivariateFrequencyDistributionEstimation::Estimator::estimation_type > UnivariateFrequencyDistributionEstimation::Estimator::operator() (const data_type& data) const { - using event_type = ElementaryEvent< typename B::mixture_distribution_type::observation_type::event_type >; + using event_type = ElementaryEvent< typename B::Estimator::event_type >; using value_type = typename event_type::value_type; this->check(data); std::unique_ptr< UnivariateDistributionEstimation > estimation; @@ -125,7 +125,8 @@ namespace statiskit } ++(*generator); } - return std::make_unique< UnivariateFrequencyDistributionEstimation >(this->create(values, masses), &data); + return std::make_unique< UnivariateFrequencyDistributionEstimation >(data.copy().release(), + this->create(values, masses)); } /*template diff --git a/src/cpp/selection.h b/src/cpp/selection.h index 4b3a1f9e..1987b50e 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -15,7 +15,7 @@ namespace statiskit Index size() const; - typename B::distribution_type const * get_distribution(const Index& index) const; + B* const get_estimation(const Index& index) const; const double& get_score(const Index& index) const; @@ -67,7 +67,7 @@ namespace statiskit }; protected: - std::vector< typename B::distribution_type* > distributions; + std::vector< B* > estimations; std::vector< double > scores; void finalize(); diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp index d7ad6f2e..7f71ea2f 100644 --- a/src/cpp/selection.hpp +++ b/src/cpp/selection.hpp @@ -6,29 +6,29 @@ namespace statiskit template Selection::Selection() : PolymorphicCopy, B>() { - this->distributions.clear(); + this->estimations.clear(); this->scores.clear(); } template Selection::Selection(const typename B::data_type* data) : PolymorphicCopy, B>(data) { - this->distributions.clear(); + this->estimations.clear(); this->scores.clear(); } template Selection::Selection(const Selection& estimation) : PolymorphicCopy, B>(estimation) { - this->distributions.resize(estimation.size(), nullptr); + this->estimations.resize(estimation.size(), nullptr); for (Index index = 0, max_index = estimation.size(); index < max_index; ++index) { - if (estimation.distributions[index]) { - this->distributions[index] = static_cast< typename B::distribution_type* >(estimation.distributions[index]->copy().release()); + if (estimation.estimations[index]) { + this->estimations[index] = static_cast< B* >(estimation.estimations[index]->copy().release()); } else { - this->distributions[index] = nullptr; + this->estimations[index] = nullptr; } } - this->scores = estimation->scores; + this->scores = estimation.scores; this->finalize(); } @@ -36,12 +36,12 @@ namespace statiskit Selection::~Selection() { for(Index index = 0, max_index = this->size(); index < max_index; ++index) { - if(this->distributions[index]) { - delete this->distributions[index]; - this->distributions[index] = nullptr; + if(this->estimations[index]) { + delete this->estimations[index]; + this->estimations[index] = nullptr; } } - this->distributions.clear(); + this->estimations.clear(); this->scores.clear(); } @@ -52,9 +52,9 @@ namespace statiskit } template - typename B::distribution_type const * Selection::get_distribution(const Index& index) const + B * const Selection::get_estimation(const Index& index) const { - return this->distributions[index]; + return this->estimations[index]; } template @@ -68,7 +68,7 @@ namespace statiskit { std::vector< double >::const_iterator it = std::max_element(this->scores.cbegin(), this->scores.cend()); if (it != this->scores.cend() && boost::math::isfinite(*it)) { - this->distribution = static_cast< typename B::distribution_type * >(this->distributions[distance(this->scores.cbegin(), it)]->get_distribution()->copy().release()); + this->distribution = static_cast< typename B::distribution_type * >(this->estimations[distance(this->scores.cbegin(), it)]->get_distribution()->copy().release()); } else { this->distribution = nullptr; } @@ -87,17 +87,17 @@ namespace statiskit template std::unique_ptr< typename B::Estimator::estimation_type > Selection::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const { - std::unique_ptr> estimation = std::make_unique< Selection >(data.copy().release()); + std::unique_ptr> estimation = std::make_unique>(data.copy().release()); for (Index index = 0, max_index = this->size(); index < max_index; ++index) { try { - this->estimation->distributions.push_back(static_cast< B* >((*(this->estimators[index]))(data, false).release())); - this->estimation->scores.push_back(scoring(estimation->distributions.back()->get_distribution(), data)); + estimation->estimations.push_back(static_cast< B* >((*(this->estimators[index]))(data).release())); + estimation->scores.push_back(scoring(estimation->estimations.back()->get_distribution(), data)); } catch (const std::exception& e) { - this->estimation->distributions.push_back(nullptr); - this->estimation->scores.push_back(std::numeric_limits< double >::quiet_NaN()); + estimation->estimations.push_back(nullptr); + estimation->scores.push_back(std::numeric_limits< double >::quiet_NaN()); } } - this->estimation->finalize(); + estimation->finalize(); if (!estimation->get_distribution()) { throw std::runtime_error("All estimations failed, perform manually the estimations in order to investigate what went wrong"); } diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index 8bba37b3..ba479fff 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -41,12 +41,13 @@ __core.statiskit.DiscreteMultivariateDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_distribution_estimation.Estimator __core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_distribution_estimation.Estimator __core.statiskit.UnivariateMeanEstimation.Estimator = __core.statiskit._univariate_mean_estimation.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e.Estimator __core.statiskit.DirichletMultinomialSingularDistributionEstimation.Estimator = __core.statiskit._dirichlet_multinomial_singular_distribution_estimation.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7.Estimator __core.std.IosBase.Failure = __core.std._ios_base.Failure __core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator -__core.statiskit.GeometricDistributionMLEstimation.Estimator = __core.statiskit._geometric_distribution_ml_estimation.Estimator +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator __core.statiskit.RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._regular_univariate_histogram_distribution_slope_heuristic_selection.Estimator -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e.Estimator __core.statiskit.BinomialDistributionMMEstimation.Estimator = __core.statiskit._binomial_distribution_mm_estimation.Estimator __core.statiskit.SplittingDistributionEstimation.Estimator = __core.statiskit._splitting_distribution_estimation.Estimator __core.statiskit.NegativeBinomialDistributionMMEstimation.Estimator = __core.statiskit._negative_binomial_distribution_mm_estimation.Estimator @@ -54,10 +55,9 @@ __core.statiskit.IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._irregular_univariate_histogram_distribution_slope_heuristic_selection.Estimator __core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator = __core.statiskit.__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator __core.statiskit.NormalDistributionMLEstimation.Estimator = __core.statiskit._normal_distribution_ml_estimation.Estimator -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7.Estimator __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator = __core.statiskit.__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1.Estimator __core.statiskit.UnivariateHistogramDistributionEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_estimation.Estimator -__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator +__core.statiskit.GeometricDistributionMLEstimation.Estimator = __core.statiskit._geometric_distribution_ml_estimation.Estimator __core.statiskit.BinomialDistributionMLEstimation.Estimator = __core.statiskit._binomial_distribution_ml_estimation.Estimator __core.statiskit.NegativeMultinomialDistributionEstimation.WZ99Estimator = __core.statiskit._negative_multinomial_distribution_estimation.WZ99Estimator __core.statiskit.NegativeBinomialDistributionMLEstimation.Estimator = __core.statiskit._negative_binomial_distribution_ml_estimation.Estimator @@ -68,7 +68,7 @@ __core.std._BasicStreambuf = (__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84) __core.statiskit._ConditionalDistributionEstimation = (__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7, __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc) __core.statiskit._DistributionEstimation = (__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34, __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412, __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f) -__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7, __core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d, __core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f, __core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0, __core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f, __core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d, __core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7, __core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a, __core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762, __core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f, __core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09, __core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b, __core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86, __core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7, __core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4, __core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72, __core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf, __core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55, __core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6, __core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92, __core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a, __core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998, __core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8, __core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c, __core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c, __core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387, __core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82, __core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee, __core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87, __core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a, __core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860, __core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66, __core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8, __core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7, __core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac, __core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89, __core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8, __core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b, __core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031, __core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5, __core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931, __core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425, __core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d, __core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c, __core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5, __core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63, __core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc, __core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061, __core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429, __core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd, __core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a, __core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8, __core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6, __core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f, __core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387, __core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd, __core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7, __core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008, __core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c, __core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83, __core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b, __core.statiskit._PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72, __core.statiskit._PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475, __core.statiskit._PolymorphicCopy_119aa039675055618c8a856f637be1e0, __core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2, __core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc, __core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3, __core.statiskit._PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109, __core.statiskit._PolymorphicCopy_420aec1990555632bd8e6235f3099ec2, __core.statiskit._PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e, __core.statiskit._PolymorphicCopy_4e2cec23d01552a2b35a809a21ed47b7, __core.statiskit._PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d, __core.statiskit._PolymorphicCopy_55903cb2e67650868a4cd698632375c1, __core.statiskit._PolymorphicCopy_66d9b98a90ce5f338f4cf2e1c0e583ae, __core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf, __core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375, __core.statiskit._PolymorphicCopy_6ccbb61746f857cfafd8b031a8f6a6d9, __core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec, __core.statiskit._PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310, __core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d, __core.statiskit._PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a, __core.statiskit._PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496, __core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f, __core.statiskit._PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc, __core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf, __core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf, __core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8, __core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e, __core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7, __core.statiskit._PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7, __core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780, __core.statiskit._PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46, __core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe, __core.statiskit._PolymorphicCopy_051fc1b76bd35424959669918dd74f6a, __core.statiskit._PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b, __core.statiskit._PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714, __core.statiskit._PolymorphicCopy_9e028a1ab0715490be328e777d68493e, __core.statiskit._PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188, __core.statiskit._PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e, __core.statiskit._PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6, __core.statiskit._PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275, __core.statiskit._PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622, __core.statiskit._PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10) +__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7, __core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d, __core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f, __core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0, __core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f, __core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d, __core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7, __core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a, __core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762, __core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f, __core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09, __core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b, __core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86, __core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7, __core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4, __core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72, __core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf, __core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55, __core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6, __core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92, __core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a, __core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998, __core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8, __core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c, __core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c, __core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387, __core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82, __core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee, __core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87, __core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a, __core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860, __core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66, __core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8, __core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7, __core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac, __core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89, __core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8, __core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b, __core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031, __core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5, __core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931, __core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425, __core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d, __core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c, __core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5, __core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63, __core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc, __core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061, __core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429, __core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd, __core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a, __core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8, __core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6, __core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f, __core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387, __core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd, __core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7, __core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008, __core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c, __core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83, __core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b, __core.statiskit._PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72, __core.statiskit._PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475, __core.statiskit._PolymorphicCopy_119aa039675055618c8a856f637be1e0, __core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2, __core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc, __core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3, __core.statiskit._PolymorphicCopy_2cb2b79ddcda5d669891ac34e006005a, __core.statiskit._PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109, __core.statiskit._PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e, __core.statiskit._PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d, __core.statiskit._PolymorphicCopy_55903cb2e67650868a4cd698632375c1, __core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf, __core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375, __core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec, __core.statiskit._PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310, __core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d, __core.statiskit._PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a, __core.statiskit._PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496, __core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f, __core.statiskit._PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc, __core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf, __core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf, __core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8, __core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e, __core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7, __core.statiskit._PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7, __core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780, __core.statiskit._PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46, __core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe, __core.statiskit._PolymorphicCopy_051fc1b76bd35424959669918dd74f6a, __core.statiskit._PolymorphicCopy_4045395044115f8ca0008a4001f465bf, __core.statiskit._PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b, __core.statiskit._PolymorphicCopy_823c1d5da2f35f9abbb62a989d434392, __core.statiskit._PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714, __core.statiskit._PolymorphicCopy_9e028a1ab0715490be328e777d68493e, __core.statiskit._PolymorphicCopy_a22eff2d08c251169af231a773c880d3, __core.statiskit._PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188, __core.statiskit._PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e, __core.statiskit._PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6, __core.statiskit._PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275, __core.statiskit._PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622, __core.statiskit._PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10) __core.std._Vector = (__core.std._Vector_160b713997e259caa9b19848803d29f1) __core.statiskit._Optimization = (__core.statiskit._Optimization_3170a5376b065cea9f39ca7a6ad5332f, __core.statiskit._Optimization_246619e611bb5657b2e56a30794d1385, __core.statiskit._Optimization_b730e37e69f05687be99d670316afe25) __core.statiskit._IterativeEstimation = (__core.statiskit._IterativeEstimation_3f4e466ff3215f84837970a75685a8b5, __core.statiskit._IterativeEstimation_3ea06f62f79c50b5856e5712f2ec8e84, __core.statiskit._IterativeEstimation_5ed6f55d014d5a74a1d1acafef440cde, __core.statiskit._IterativeEstimation_f66e5627d97f5fac82e3d89b9b0694dc) @@ -90,53 +90,53 @@ __core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4) # Define aliases -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 __core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 __core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData -__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData -__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.DistributionType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator -__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DataType = __core.statiskit.UnivariateData +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 +__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution __core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DataType = __core.statiskit.MultivariateData -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 __core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 __core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 -__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 +__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution __core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DataType = __core.statiskit.MultivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b __core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 __core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 +__core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData +__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution diff --git a/src/py/wrapper/_core.cpp b/src/py/wrapper/_core.cpp index 9dce3ca2..e062168e 100644 --- a/src/py/wrapper/_core.cpp +++ b/src/py/wrapper/_core.cpp @@ -245,6 +245,7 @@ void wrapper_f4b4623a4bb55ebdb42401f0a981cb83(pybind11::module& module); void wrapper_f722c8cfa79750d98e46db79b3b1130d(pybind11::module& module); void wrapper_fe5c14ebd9715db583a8fcea54e1d965(pybind11::module& module); void wrapper_feb9ad1a68185444ba16325ba90aea6b(pybind11::module& module); +void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module); void wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(pybind11::module& module); void wrapper_033df89396b35855a50192cdc7f16be3(pybind11::module& module); void wrapper_041a0df7795f54fdae26c57528a75193(pybind11::module& module); @@ -261,6 +262,7 @@ void wrapper_2374d2b9da295a348658b43237daeaba(pybind11::module& module); void wrapper_246619e611bb5657b2e56a30794d1385(pybind11::module& module); void wrapper_2644b3904d665c118ab54533b295d7e3(pybind11::module& module); void wrapper_2b3c507b8c725207815095175a281285(pybind11::module& module); +void wrapper_2cb2b79ddcda5d669891ac34e006005a(pybind11::module& module); void wrapper_2cfec7576f805b8d8fb103d1f86f786e(pybind11::module& module); void wrapper_2f72e6e6db9a5498beee75dbafdc6393(pybind11::module& module); void wrapper_33e65ba70bc55b7a87a025eaa60e5665(pybind11::module& module); @@ -272,11 +274,9 @@ void wrapper_3878f151eb4759f89a07796ff631bdf9(pybind11::module& module); void wrapper_39eaaa358ce655d08615c947c949eb83(pybind11::module& module); void wrapper_3aedd3fce1c956baaeb85f4606914109(pybind11::module& module); void wrapper_3ea06f62f79c50b5856e5712f2ec8e84(pybind11::module& module); -void wrapper_420aec1990555632bd8e6235f3099ec2(pybind11::module& module); void wrapper_42c73f7b760d584f96ee42693c708651(pybind11::module& module); void wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(pybind11::module& module); void wrapper_48d411e601675e49961eaa93daeb1835(pybind11::module& module); -void wrapper_4e2cec23d01552a2b35a809a21ed47b7(pybind11::module& module); void wrapper_4f02856d2af15e4ba0bc8f413558566d(pybind11::module& module); void wrapper_4f25ed2b505752de8ee46e2e6aa83af6(pybind11::module& module); void wrapper_505be4c829e95c51829a196fdbf7392f(pybind11::module& module); @@ -288,10 +288,8 @@ void wrapper_5fefecf0971c53a682b5075141e39dc0(pybind11::module& module); void wrapper_6100283fa34c5dc5af23228c1af7758a(pybind11::module& module); void wrapper_62bb4890a4005e5aabb044b5bfeb72ea(pybind11::module& module); void wrapper_660dca73e10451bcbba83efec37196ae(pybind11::module& module); -void wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(pybind11::module& module); void wrapper_66f947be876e54a4901f1a9633fffbaf(pybind11::module& module); void wrapper_69913377d1325b99bc7469de4f5cf375(pybind11::module& module); -void wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(pybind11::module& module); void wrapper_6fac6a71bec1544eaecb1b57399ee5ec(pybind11::module& module); void wrapper_700bbebe1a2a5b0699f46ca77b7ea310(pybind11::module& module); void wrapper_704ee68add3e546ca4a169ccfcb00d07(pybind11::module& module); @@ -303,6 +301,7 @@ void wrapper_85e5d9c1d86a574d8623fe4bb0164527(pybind11::module& module); void wrapper_8637850c39dc51d3a7ea186462c65e2a(pybind11::module& module); void wrapper_8dc14cd974045db7ab63d2d8c0c5c496(pybind11::module& module); void wrapper_943c8cc5188d5f9d9fba36372e10ed33(pybind11::module& module); +void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module); void wrapper_985dfffef8265a319e222a08d8f11f05(pybind11::module& module); void wrapper_98e0aa1c483d522aa3e3427e0c99ee6f(pybind11::module& module); void wrapper_9981958281625422b3b46cea8ec85a6d(pybind11::module& module); @@ -321,7 +320,6 @@ void wrapper_b96c209ac3dd5f7fbfe78eac3417193e(pybind11::module& module); void wrapper_c14e91b91c9852b8bd1c5fce67b0d241(pybind11::module& module); void wrapper_c2568ff48c245dbe8395ac41d83bc8f8(pybind11::module& module); void wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(pybind11::module& module); -void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module); void wrapper_cd5e5c2c8f40591793aafe753277bfe3(pybind11::module& module); void wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(pybind11::module& module); void wrapper_d335c4296ec45f9a80fc78493af8917e(pybind11::module& module); @@ -329,6 +327,7 @@ void wrapper_d3d68100c0aa515393562535c582529e(pybind11::module& module); void wrapper_d740d10f82335516b6c42048834de0c7(pybind11::module& module); void wrapper_d7ec56dc53f25158bd8061ead52e9950(pybind11::module& module); void wrapper_dace22af29e35e1e8847a21e0083dbd0(pybind11::module& module); +void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module); void wrapper_e0e2f05f845558508daf53c1d4b545c7(pybind11::module& module); void wrapper_e1e17df0f495561494b85ab0ad5a5780(pybind11::module& module); void wrapper_e5c76380eae85d579238480527b2512c(pybind11::module& module); @@ -341,7 +340,6 @@ void wrapper_fa5e2baabb585a5e93632d2563d88b33(pybind11::module& module); void wrapper_fb8f1cea3a695accb39f019b3fbd2247(pybind11::module& module); void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module); void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module); -void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module); void wrapper_051fc1b76bd35424959669918dd74f6a(pybind11::module& module); void wrapper_0711065322d6598096f4d4546ef589f7(pybind11::module& module); void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module); @@ -352,31 +350,33 @@ void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module); void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module); void wrapper_2d284769c93a57cba44be5c34bcfafd7(pybind11::module& module); void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module); +void wrapper_4045395044115f8ca0008a4001f465bf(pybind11::module& module); void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module); void wrapper_6d51d5c1ef2d5f1bb98935798af976e0(pybind11::module& module); void wrapper_81e358ca53ad5cb480953fedfe8cee0b(pybind11::module& module); +void wrapper_823c1d5da2f35f9abbb62a989d434392(pybind11::module& module); void wrapper_8273d59d3b9f581fa07283ea1cce6a0f(pybind11::module& module); void wrapper_830457bcfd9a53298ff673c9b6d66714(pybind11::module& module); void wrapper_839b61ecb09d54819eb38cf69dde50bb(pybind11::module& module); void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module); void wrapper_8efea02ccdc156c4aa5aae37b04b810a(pybind11::module& module); void wrapper_90255c732933534b957e042c1796455c(pybind11::module& module); -void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module); void wrapper_966a285304c1551a9a283e9a8bd4917e(pybind11::module& module); void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module); void wrapper_9e028a1ab0715490be328e777d68493e(pybind11::module& module); void wrapper_9f08dae44aa3561686bc0ef53e82d042(pybind11::module& module); void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module); +void wrapper_a22eff2d08c251169af231a773c880d3(pybind11::module& module); void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module); void wrapper_abaaf08e32235f2ca7bacb4418592155(pybind11::module& module); void wrapper_c3319864e98456809db3192e7060581f(pybind11::module& module); void wrapper_c6691c5b303051859dffd8d2f0d6c188(pybind11::module& module); +void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module); void wrapper_cbe0be5b997e578ea56a5ddbc174c53e(pybind11::module& module); void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module); void wrapper_d30ac07998c750479d39b4a9b78e7da6(pybind11::module& module); void wrapper_d443aa68b0b755eabc2a251be2deb4c6(pybind11::module& module); void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module); -void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module); void wrapper_ece163aebf095bf5b3e83565ba76bec1(pybind11::module& module); void wrapper_f2160a41454451d28ba6ed197ddede7e(pybind11::module& module); void wrapper_faf1fdd6d84a5fc3a61a827f354b8275(pybind11::module& module); @@ -432,10 +432,11 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) pybind11::module module_b14b3594a74c5ccc968141047b5145f4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_distribution_estimation", ""); pybind11::module module_f09c97b097575bf2b4af254e6faa082c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_distribution_estimation", ""); pybind11::module module_c5daab4ee3ac55c89ee2ee06a88fb23c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_mean_estimation", ""); + pybind11::module module_f2160a41454451d28ba6ed197ddede7e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e", ""); pybind11::module module_5562b8b01aa050b886b919c9b81686f5 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_dirichlet_multinomial_singular_distribution_estimation", ""); - pybind11::module module_104495a9f44f508fb8c76ab6d2269ec3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_ml_estimation", ""); + pybind11::module module_2d284769c93a57cba44be5c34bcfafd7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7", ""); + pybind11::module module_d443aa68b0b755eabc2a251be2deb4c6 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6", ""); pybind11::module module_05ca2ab336025cf2a8fa3266fedb4a1e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_regular_univariate_histogram_distribution_slope_heuristic_selection", ""); - pybind11::module module_f2160a41454451d28ba6ed197ddede7e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e", ""); pybind11::module module_dbc8a0461eeb579aa69a16cbe03a3913 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_mm_estimation", ""); pybind11::module module_0711065322d6598096f4d4546ef589f7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_splitting_distribution_estimation", ""); pybind11::module module_cc9b200ad98c51108cfb0b6bf6bf2bd0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_mm_estimation", ""); @@ -443,10 +444,9 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) pybind11::module module_31af2f3c7b5c54f5a56e10ac7064289b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_irregular_univariate_histogram_distribution_slope_heuristic_selection", ""); pybind11::module module_8273d59d3b9f581fa07283ea1cce6a0f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f", ""); pybind11::module module_aabf684ce17950b49b6345c1ab565540 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_normal_distribution_ml_estimation", ""); - pybind11::module module_2d284769c93a57cba44be5c34bcfafd7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7", ""); pybind11::module module_ece163aebf095bf5b3e83565ba76bec1 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1", ""); pybind11::module module_0159796d2beb51da9446e83d609342aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_estimation", ""); - pybind11::module module_d443aa68b0b755eabc2a251be2deb4c6 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6", ""); + pybind11::module module_104495a9f44f508fb8c76ab6d2269ec3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_ml_estimation", ""); pybind11::module module_a640206684935d01aa5be922b3bbdf00 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_ml_estimation", ""); pybind11::module module_d413c9194272547596f08284edb5e2e8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_multinomial_distribution_estimation", ""); pybind11::module module_e5e03034302f5c6ca9d068a205353d2a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_ml_estimation", ""); @@ -697,6 +697,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_f722c8cfa79750d98e46db79b3b1130d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_fe5c14ebd9715db583a8fcea54e1d965(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_feb9ad1a68185444ba16325ba90aea6b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0175e6a3766750de8ea59e8c340325ef(module_f2160a41454451d28ba6ed197ddede7e); wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_033df89396b35855a50192cdc7f16be3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_041a0df7795f54fdae26c57528a75193(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -713,6 +714,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_246619e611bb5657b2e56a30794d1385(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2644b3904d665c118ab54533b295d7e3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2b3c507b8c725207815095175a281285(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2cb2b79ddcda5d669891ac34e006005a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2cfec7576f805b8d8fb103d1f86f786e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2f72e6e6db9a5498beee75dbafdc6393(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_33e65ba70bc55b7a87a025eaa60e5665(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -724,11 +726,9 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_39eaaa358ce655d08615c947c949eb83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3aedd3fce1c956baaeb85f4606914109(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3ea06f62f79c50b5856e5712f2ec8e84(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_420aec1990555632bd8e6235f3099ec2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_42c73f7b760d584f96ee42693c708651(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_48d411e601675e49961eaa93daeb1835(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4e2cec23d01552a2b35a809a21ed47b7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4f02856d2af15e4ba0bc8f413558566d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4f25ed2b505752de8ee46e2e6aa83af6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_505be4c829e95c51829a196fdbf7392f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -740,10 +740,8 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_6100283fa34c5dc5af23228c1af7758a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_62bb4890a4005e5aabb044b5bfeb72ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_660dca73e10451bcbba83efec37196ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_66f947be876e54a4901f1a9633fffbaf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_69913377d1325b99bc7469de4f5cf375(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6fac6a71bec1544eaecb1b57399ee5ec(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_700bbebe1a2a5b0699f46ca77b7ea310(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_704ee68add3e546ca4a169ccfcb00d07(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -755,6 +753,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_8637850c39dc51d3a7ea186462c65e2a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_8dc14cd974045db7ab63d2d8c0c5c496(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_943c8cc5188d5f9d9fba36372e10ed33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9662a6a016085675978d04e2bc87a7f3(module_2d284769c93a57cba44be5c34bcfafd7); wrapper_985dfffef8265a319e222a08d8f11f05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_98e0aa1c483d522aa3e3427e0c99ee6f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9981958281625422b3b46cea8ec85a6d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -773,7 +772,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_c14e91b91c9852b8bd1c5fce67b0d241(module_8d9f50f674e25529b3d059a5a5380bcb); wrapper_c2568ff48c245dbe8395ac41d83bc8f8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(module_104495a9f44f508fb8c76ab6d2269ec3); wrapper_cd5e5c2c8f40591793aafe753277bfe3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d335c4296ec45f9a80fc78493af8917e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -781,6 +779,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_d740d10f82335516b6c42048834de0c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d7ec56dc53f25158bd8061ead52e9950(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dace22af29e35e1e8847a21e0083dbd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_de7ff6e8df595fdab99566ab1fb822d1(module_d443aa68b0b755eabc2a251be2deb4c6); wrapper_e0e2f05f845558508daf53c1d4b545c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e1e17df0f495561494b85ab0ad5a5780(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e5c76380eae85d579238480527b2512c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -793,7 +792,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_fb8f1cea3a695accb39f019b3fbd2247(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_010dca8ca2e458db8505774b1f36db9a(module_05ca2ab336025cf2a8fa3266fedb4a1e); wrapper_0159796d2beb51da9446e83d609342aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_0175e6a3766750de8ea59e8c340325ef(module_f2160a41454451d28ba6ed197ddede7e); wrapper_051fc1b76bd35424959669918dd74f6a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0711065322d6598096f4d4546ef589f7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_104495a9f44f508fb8c76ab6d2269ec3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -804,31 +802,33 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_2934c614112358768beae325b0d33ea2(module_36823ab42b0c57b48d903606aa743329); wrapper_2d284769c93a57cba44be5c34bcfafd7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_36823ab42b0c57b48d903606aa743329(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4045395044115f8ca0008a4001f465bf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4f08e906137d58128853d1fc5d729fae(module_31af2f3c7b5c54f5a56e10ac7064289b); wrapper_6d51d5c1ef2d5f1bb98935798af976e0(module_8273d59d3b9f581fa07283ea1cce6a0f); wrapper_81e358ca53ad5cb480953fedfe8cee0b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_823c1d5da2f35f9abbb62a989d434392(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_8273d59d3b9f581fa07283ea1cce6a0f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_830457bcfd9a53298ff673c9b6d66714(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_839b61ecb09d54819eb38cf69dde50bb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(module_aabf684ce17950b49b6345c1ab565540); wrapper_8efea02ccdc156c4aa5aae37b04b810a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_90255c732933534b957e042c1796455c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9662a6a016085675978d04e2bc87a7f3(module_2d284769c93a57cba44be5c34bcfafd7); wrapper_966a285304c1551a9a283e9a8bd4917e(module_ece163aebf095bf5b3e83565ba76bec1); wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9e028a1ab0715490be328e777d68493e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9f08dae44aa3561686bc0ef53e82d042(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a14f45085a74550c89aab30952f6725b(module_0159796d2beb51da9446e83d609342aa); + wrapper_a22eff2d08c251169af231a773c880d3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_aabf684ce17950b49b6345c1ab565540(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_abaaf08e32235f2ca7bacb4418592155(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c3319864e98456809db3192e7060581f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c6691c5b303051859dffd8d2f0d6c188(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(module_104495a9f44f508fb8c76ab6d2269ec3); wrapper_cbe0be5b997e578ea56a5ddbc174c53e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d30ac07998c750479d39b4a9b78e7da6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d443aa68b0b755eabc2a251be2deb4c6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dbc8a0461eeb579aa69a16cbe03a3913(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_de7ff6e8df595fdab99566ab1fb822d1(module_d443aa68b0b755eabc2a251be2deb4c6); wrapper_ece163aebf095bf5b3e83565ba76bec1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f2160a41454451d28ba6ed197ddede7e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_faf1fdd6d84a5fc3a61a827f354b8275(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); diff --git a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp index f4ac6b42..b501c74e 100644 --- a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp +++ b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp @@ -21,6 +21,10 @@ namespace autowig typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; class Publicist : public class_type @@ -37,7 +41,7 @@ namespace autowig { void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module) { - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_0175e6a3766750de8ea59e8c340325ef(module, "Estimator", ""); + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_0175e6a3766750de8ea59e8c340325ef(module, "Estimator", ""); class_0175e6a3766750de8ea59e8c340325ef.def(pybind11::init< >()); class_0175e6a3766750de8ea59e8c340325ef.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp b/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp deleted file mode 100644 index e2842d1a..00000000 --- a/src/py/wrapper/wrapper_0281a28ebbe655cabfc3d1baabb16b6c.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_d1b9702be8e75e50b289d463019d92e6; - virtual return_type_d1b9702be8e75e50b289d463019d92e6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d1b9702be8e75e50b289d463019d92e6, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; - typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; - virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - typedef double return_type_acdea368f48f572bb000ce0a3e887539; - typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; - typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; - virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; - virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; - virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_0281a28ebbe655cabfc3d1baabb16b6c(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution > >::Type, struct ::statiskit::SingularDistribution > class_0281a28ebbe655cabfc3d1baabb16b6c(module, "_PolymorphicCopy_0281a28ebbe655cabfc3d1baabb16b6c", ""); - class_0281a28ebbe655cabfc3d1baabb16b6c.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_040909a1c2b158b198be21fa1ab2b474.cpp b/src/py/wrapper/wrapper_040909a1c2b158b198be21fa1ab2b474.cpp deleted file mode 100644 index 2f046459..00000000 --- a/src/py/wrapper/wrapper_040909a1c2b158b198be21fa1ab2b474.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_44f5162301605416ae592feb4790262a)()const= &::statiskit::LazyEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_040909a1c2b158b198be21fa1ab2b474(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, struct ::statiskit::SingularDistributionEstimation > class_040909a1c2b158b198be21fa1ab2b474(module, "_LazyEstimation_040909a1c2b158b198be21fa1ab2b474", ""); - class_040909a1c2b158b198be21fa1ab2b474.def(pybind11::init< >()); - class_040909a1c2b158b198be21fa1ab2b474.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const * >()); - class_040909a1c2b158b198be21fa1ab2b474.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_040909a1c2b158b198be21fa1ab2b474.def("copy", method_pointer_44f5162301605416ae592feb4790262a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp b/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp deleted file mode 100644 index 1e11cbb1..00000000 --- a/src/py/wrapper/wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::UnivariateMixtureDistribution; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; - virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; - typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; - typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; - virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; - typedef double return_type_b288349953745909be3b581da8f23621; - typedef int const & param_b288349953745909be3b581da8f23621_0_type; - virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; - typedef void return_type_246a8d3423cf5748b68f545f10de89b7; - typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; - typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; - virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_055ebc8a6eb3586cb94dfd0b3df1eb0f(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_055ebc8a6eb3586cb94dfd0b3df1eb0f(module, "_UnivariateMixtureDistribution_055ebc8a6eb3586cb94dfd0b3df1eb0f", ""); - class_055ebc8a6eb3586cb94dfd0b3df1eb0f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp b/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp deleted file mode 100644 index 3cc7a742..00000000 --- a/src/py/wrapper/wrapper_06b2640afe975f8dbf856bb3a88451cf.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_ca4ace19940e584a9d9874ea517d3698; - virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; - typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; - typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; - typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; - virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; - typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; - typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; - virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_dadf8b529f475bada70e94fa2d10fbf0)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_28de231ff729594dac57dfda306b3b32)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_04cdbc7ec82057368ad722125ac29266)(::statiskit::Index const &, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_fe97198c58045d729542b4e01963ec13)(struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_4a30e310a40c52158292918774e58316)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_06b2640afe975f8dbf856bb3a88451cf(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_06b2640afe975f8dbf856bb3a88451cf(module, "Estimator", ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("__len__", method_pointer_dadf8b529f475bada70e94fa2d10fbf0, ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("get_estimator", method_pointer_28de231ff729594dac57dfda306b3b32, pybind11::return_value_policy::reference_internal, ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("set_estimator", method_pointer_04cdbc7ec82057368ad722125ac29266, ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("add_estimator", method_pointer_fe97198c58045d729542b4e01963ec13, ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("remove_estimator", method_pointer_4a30e310a40c52158292918774e58316, ""); - class_06b2640afe975f8dbf856bb3a88451cf.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp b/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp deleted file mode 100644 index adda8ee5..00000000 --- a/src/py/wrapper/wrapper_075f4a1dea37583ebdb7b34686ef683f.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_990d49f9e519539f96548744996a00d6; - virtual return_type_990d49f9e519539f96548744996a00d6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_990d49f9e519539f96548744996a00d6, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_075f4a1dea37583ebdb7b34686ef683f(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_075f4a1dea37583ebdb7b34686ef683f(module, "_PolymorphicCopy_075f4a1dea37583ebdb7b34686ef683f", ""); - class_075f4a1dea37583ebdb7b34686ef683f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp b/src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp deleted file mode 100644 index 12bd1a3a..00000000 --- a/src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_08568636c5a25349ad6ad5335ed1718e(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousMultivariateDistributionEstimation > class_08568636c5a25349ad6ad5335ed1718e(module, "_LazyEstimation_08568636c5a25349ad6ad5335ed1718e", ""); - class_08568636c5a25349ad6ad5335ed1718e.def(pybind11::init< >()); - class_08568636c5a25349ad6ad5335ed1718e.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const * >()); - class_08568636c5a25349ad6ad5335ed1718e.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_08e79862ae80532bb837c70a9c93652b.cpp b/src/py/wrapper/wrapper_08e79862ae80532bb837c70a9c93652b.cpp deleted file mode 100644 index d584a415..00000000 --- a/src/py/wrapper/wrapper_08e79862ae80532bb837c70a9c93652b.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_9c1bf2129d075603a416d88a0e80b85e)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_7f1915338f0451788a27ea7b91bb92a8)(enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_08e79862ae80532bb837c70a9c93652b(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > > class_08e79862ae80532bb837c70a9c93652b(module, "CriterionEstimator", ""); - class_08e79862ae80532bb837c70a9c93652b.def(pybind11::init< >()); - class_08e79862ae80532bb837c70a9c93652b.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator const & >()); - class_08e79862ae80532bb837c70a9c93652b.def("get_criterion", method_pointer_9c1bf2129d075603a416d88a0e80b85e, pybind11::return_value_policy::copy, ""); - class_08e79862ae80532bb837c70a9c93652b.def("set_criterion", method_pointer_7f1915338f0451788a27ea7b91bb92a8, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp b/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp deleted file mode 100644 index b4cc85a4..00000000 --- a/src/py/wrapper/wrapper_0950e6469e715d39b9590b5a0c7f484e.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< double, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< double, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_0950e6469e715d39b9590b5a0c7f484e(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_0950e6469e715d39b9590b5a0c7f484e(module, "Estimator", ""); - class_0950e6469e715d39b9590b5a0c7f484e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_099f33625b8c56688a7b3e04cbb36b62.cpp b/src/py/wrapper/wrapper_099f33625b8c56688a7b3e04cbb36b62.cpp deleted file mode 100644 index 1edf1e42..00000000 --- a/src/py/wrapper/wrapper_099f33625b8c56688a7b3e04cbb36b62.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::ContinuousUnivariateMixtureDistribution *, ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_833e7c2de4275589a63f3df93e4620d3)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_099f33625b8c56688a7b3e04cbb36b62(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_099f33625b8c56688a7b3e04cbb36b62(module, "_OptimizationEstimationImpl_099f33625b8c56688a7b3e04cbb36b62", ""); - class_099f33625b8c56688a7b3e04cbb36b62.def(pybind11::init< >()); - class_099f33625b8c56688a7b3e04cbb36b62.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_099f33625b8c56688a7b3e04cbb36b62.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_099f33625b8c56688a7b3e04cbb36b62.def("__len__", method_pointer_833e7c2de4275589a63f3df93e4620d3, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_09e5fef4970b56dabc3cf805a4fca937.cpp b/src/py/wrapper/wrapper_09e5fef4970b56dabc3cf805a4fca937.cpp deleted file mode 100644 index 82afd4c6..00000000 --- a/src/py/wrapper/wrapper_09e5fef4970b56dabc3cf805a4fca937.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_b6564d8146b55e9ea25653efa134a5c2)()const= &::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_09e5fef4970b56dabc3cf805a4fca937(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_09e5fef4970b56dabc3cf805a4fca937(module, "_ActiveEstimation_09e5fef4970b56dabc3cf805a4fca937", ""); - class_09e5fef4970b56dabc3cf805a4fca937.def(pybind11::init< >()); - class_09e5fef4970b56dabc3cf805a4fca937.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_09e5fef4970b56dabc3cf805a4fca937.def(pybind11::init< struct ::statiskit::CategoricalMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_09e5fef4970b56dabc3cf805a4fca937.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - class_09e5fef4970b56dabc3cf805a4fca937.def("get_data", method_pointer_b6564d8146b55e9ea25653efa134a5c2, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp b/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp deleted file mode 100644 index 20c41927..00000000 --- a/src/py/wrapper/wrapper_09fa62065c8f5098af0f7db57ad3e6a9.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_9bf4a42ed922526b8a2d3061d558d03c; - virtual return_type_9bf4a42ed922526b8a2d3061d558d03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9bf4a42ed922526b8a2d3061d558d03c, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_d4181de1506551d9b4cabd76eecd0c24; - virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; - typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; - typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; - typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; - virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; - typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; - typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; - virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_09fa62065c8f5098af0f7db57ad3e6a9(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_09fa62065c8f5098af0f7db57ad3e6a9(module, "_PolymorphicCopy_09fa62065c8f5098af0f7db57ad3e6a9", ""); - class_09fa62065c8f5098af0f7db57ad3e6a9.def(pybind11::init< >()); - class_09fa62065c8f5098af0f7db57ad3e6a9.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*) (struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0a237c7df2ac57109630f38c8cbc0fd4.cpp b/src/py/wrapper/wrapper_0a237c7df2ac57109630f38c8cbc0fd4.cpp deleted file mode 100644 index d8c147ac..00000000 --- a/src/py/wrapper/wrapper_0a237c7df2ac57109630f38c8cbc0fd4.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -double (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_0d19b3f1a3eb5614a55fcd98c87c6faf)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_shift; -void (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_6e09cc1fd0405e7695b296daad35091d)(double const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_shift; -::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::estimator_type const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_ad1b63904c1a5888a496173925aade21)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_46b7be6effd8588195dd2ed7b673dfe3)(::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::estimator_type const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_estimator; - -namespace autowig { -} - -void wrapper_0a237c7df2ac57109630f38c8cbc0fd4(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_0a237c7df2ac57109630f38c8cbc0fd4(module, "Estimator", ""); - class_0a237c7df2ac57109630f38c8cbc0fd4.def(pybind11::init< >()); - class_0a237c7df2ac57109630f38c8cbc0fd4.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator const & >()); - class_0a237c7df2ac57109630f38c8cbc0fd4.def("get_shift", method_pointer_0d19b3f1a3eb5614a55fcd98c87c6faf, ""); - class_0a237c7df2ac57109630f38c8cbc0fd4.def("set_shift", method_pointer_6e09cc1fd0405e7695b296daad35091d, ""); - class_0a237c7df2ac57109630f38c8cbc0fd4.def("get_estimator", method_pointer_ad1b63904c1a5888a496173925aade21, pybind11::return_value_policy::reference_internal, ""); - class_0a237c7df2ac57109630f38c8cbc0fd4.def("set_estimator", method_pointer_46b7be6effd8588195dd2ed7b673dfe3, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0a36039624465699ab0fb3ebba56695a.cpp b/src/py/wrapper/wrapper_0a36039624465699ab0fb3ebba56695a.cpp deleted file mode 100644 index 5f686f39..00000000 --- a/src/py/wrapper/wrapper_0a36039624465699ab0fb3ebba56695a.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_0a36039624465699ab0fb3ebba56695a(pybind11::module& module) -{ - - pybind11::class_::Type > class_0a36039624465699ab0fb3ebba56695a(module, "Estimator", ""); - class_0a36039624465699ab0fb3ebba56695a.def(pybind11::init< class ::statiskit::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0b7e758230bf50db981289f48e9fdca7.cpp b/src/py/wrapper/wrapper_0b7e758230bf50db981289f48e9fdca7.cpp deleted file mode 100644 index 0be4f7d6..00000000 --- a/src/py/wrapper/wrapper_0b7e758230bf50db981289f48e9fdca7.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::*method_pointer_5fc123f962285d24b134bb10c9bdf736)()const= &::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_0b7e758230bf50db981289f48e9fdca7(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > > class_0b7e758230bf50db981289f48e9fdca7(module, "_ActiveEstimation_0b7e758230bf50db981289f48e9fdca7", ""); - class_0b7e758230bf50db981289f48e9fdca7.def(pybind11::init< >()); - class_0b7e758230bf50db981289f48e9fdca7.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_0b7e758230bf50db981289f48e9fdca7.def(pybind11::init< struct ::statiskit::DiscreteMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_0b7e758230bf50db981289f48e9fdca7.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > const & >()); - class_0b7e758230bf50db981289f48e9fdca7.def("get_data", method_pointer_5fc123f962285d24b134bb10c9bdf736, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp b/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp deleted file mode 100644 index b633ccb7..00000000 --- a/src/py/wrapper/wrapper_0ec3624c447f5547b35390faafaf867f.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f402cac9059e5e20b69fc300fa5650c4; - virtual return_type_f402cac9059e5e20b69fc300fa5650c4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f402cac9059e5e20b69fc300fa5650c4, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_0ec3624c447f5547b35390faafaf867f(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_0ec3624c447f5547b35390faafaf867f(module, "_PolymorphicCopy_0ec3624c447f5547b35390faafaf867f", ""); - class_0ec3624c447f5547b35390faafaf867f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0ec596bf98a6521c9bf30c96dc0ff201.cpp b/src/py/wrapper/wrapper_0ec596bf98a6521c9bf30c96dc0ff201.cpp deleted file mode 100644 index 3fa9acb9..00000000 --- a/src/py/wrapper/wrapper_0ec596bf98a6521c9bf30c96dc0ff201.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_0ec596bf98a6521c9bf30c96dc0ff201(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_0ec596bf98a6521c9bf30c96dc0ff201(module, "_UnivariateFrequencyDistributionEstimation_0ec596bf98a6521c9bf30c96dc0ff201", ""); - class_0ec596bf98a6521c9bf30c96dc0ff201.def(pybind11::init< >()); - class_0ec596bf98a6521c9bf30c96dc0ff201.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const *, struct ::statiskit::UnivariateData const * >()); - class_0ec596bf98a6521c9bf30c96dc0ff201.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0f6bb80b715057a7964abf2a553f0818.cpp b/src/py/wrapper/wrapper_0f6bb80b715057a7964abf2a553f0818.cpp deleted file mode 100644 index 25dd628e..00000000 --- a/src/py/wrapper/wrapper_0f6bb80b715057a7964abf2a553f0818.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_947c0fd69797587d837bbff6708446d6)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_07716d2b02925b9ea110b412b9df7028)(enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_0f6bb80b715057a7964abf2a553f0818(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator > > class_0f6bb80b715057a7964abf2a553f0818(module, "CriterionEstimator", ""); - class_0f6bb80b715057a7964abf2a553f0818.def(pybind11::init< >()); - class_0f6bb80b715057a7964abf2a553f0818.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_0f6bb80b715057a7964abf2a553f0818.def("get_criterion", method_pointer_947c0fd69797587d837bbff6708446d6, pybind11::return_value_policy::copy, ""); - class_0f6bb80b715057a7964abf2a553f0818.def("set_criterion", method_pointer_07716d2b02925b9ea110b412b9df7028, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp b/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp deleted file mode 100644 index b769529c..00000000 --- a/src/py/wrapper/wrapper_10d55631c3925ada88a549c3ce423021.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1b474f5a5e7a5dc3894e485ae0076666; - virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; - typedef double return_type_75c720739866535bb74aece0734d68b3; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; - virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; - typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; - typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; - virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_211825a5ce8b5203805ae26a1de855fe)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_77a7da95d40f554e94e8f3c97ea9d999)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_a4c078acb1225745a2fd7d5cf3b60310)(::statiskit::Index const &, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_e8847d0419dd5a9292bd0be2086203f7)(struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_bbec5b8237e256e9be611226efaa856d)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_10d55631c3925ada88a549c3ce423021(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator > class_10d55631c3925ada88a549c3ce423021(module, "Estimator", ""); - class_10d55631c3925ada88a549c3ce423021.def("__len__", method_pointer_211825a5ce8b5203805ae26a1de855fe, ""); - class_10d55631c3925ada88a549c3ce423021.def("get_estimator", method_pointer_77a7da95d40f554e94e8f3c97ea9d999, pybind11::return_value_policy::reference_internal, ""); - class_10d55631c3925ada88a549c3ce423021.def("set_estimator", method_pointer_a4c078acb1225745a2fd7d5cf3b60310, ""); - class_10d55631c3925ada88a549c3ce423021.def("add_estimator", method_pointer_e8847d0419dd5a9292bd0be2086203f7, ""); - class_10d55631c3925ada88a549c3ce423021.def("remove_estimator", method_pointer_bbec5b8237e256e9be611226efaa856d, ""); - class_10d55631c3925ada88a549c3ce423021.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp deleted file mode 100644 index ad9e5d64..00000000 --- a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousUnivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::ContinuousUnivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; - virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; - virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_10d5b7d349c75b6b89998f9a341fb629(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_10d5b7d349c75b6b89998f9a341fb629(module, "ContinuousUnivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp b/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp deleted file mode 100644 index d76a593c..00000000 --- a/src/py/wrapper/wrapper_1151599a3fae506b8f5a5bddf7efd129.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_8f9a0a3b8c0951f2806ca5d130c33585; - virtual return_type_8f9a0a3b8c0951f2806ca5d130c33585 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f9a0a3b8c0951f2806ca5d130c33585, class_type, copy, ); }; - typedef void return_type_d15c4654ed8057b88112aca660e855c0; - typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; - typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; - virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; - virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_1151599a3fae506b8f5a5bddf7efd129(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > > class_1151599a3fae506b8f5a5bddf7efd129(module, "_PolymorphicCopy_1151599a3fae506b8f5a5bddf7efd129", ""); - class_1151599a3fae506b8f5a5bddf7efd129.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_117864e1dfe65915bf10502e182e5502.cpp b/src/py/wrapper/wrapper_117864e1dfe65915bf10502e182e5502.cpp deleted file mode 100644 index e7e0f0f1..00000000 --- a/src/py/wrapper/wrapper_117864e1dfe65915bf10502e182e5502.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateDistributionEstimation::Estimator & (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation::Estimator > >::*method_pointer_d940dfc3527a5e7ea30b7c7f815c15ad)()const= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::operator*; -::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation::Estimator > >::*method_pointer_708e930123eb514d9bf638a4021c655d)()const= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::get; -::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation::Estimator > >::*method_pointer_5d0aa6819945597e83f5eeb7dcc57f66)()= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation::Estimator > >::*method_pointer_60e7bfda9a8c57c8a19de8eeb8f95c07)(::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::pointer )= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation::Estimator > >::*method_pointer_599ec8a0ced65d54a1503c17bdfe5781)(class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > &)= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > >::swap; - -namespace autowig { - void method_decorator_d940dfc3527a5e7ea30b7c7f815c15ad(class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > const & instance, const struct ::statiskit::UnivariateDistributionEstimation::Estimator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_117864e1dfe65915bf10502e182e5502(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp b/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp deleted file mode 100644 index df24d5f8..00000000 --- a/src/py/wrapper/wrapper_13232a7341945cd08787bdf29befb389.cpp +++ /dev/null @@ -1,62 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::SingularDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::MixtureDistribution; - - typedef void return_type_68960ed00cc65811a690382a0d67ba31; - typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; - typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; - virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; - virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; - virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; - typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; - virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - typedef double return_type_acdea368f48f572bb000ce0a3e887539; - typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; - typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; - virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; - virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_f29a9062a3a352369fcb0522a15b8cf3)()const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::get_nb_states; -struct ::statiskit::SingularDistribution const * (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_6fec79f58d915ece83cbb6574ebbe8d1)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_68960ed00cc65811a690382a0d67ba31)(::statiskit::Index const &, struct ::statiskit::SingularDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_7963c44546715eb0ab2c51bc5d9508e2)()const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_5b390b67e10f5171aad53ac4b34b9aad)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_422b9d66f2f95daa938ac7924ebeac4d)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_8b660503f42355aface44a6b269d2198)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_2402a3a010375f17bc28753344cae909)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_7371ce416e5556a6b595feb14bf9b48b)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::SingularDistribution >::*method_pointer_49ba69a598e250d89edd74201e72a6f0)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_13232a7341945cd08787bdf29befb389(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > >::Type, struct ::statiskit::SingularDistribution > class_13232a7341945cd08787bdf29befb389(module, "_MixtureDistribution_13232a7341945cd08787bdf29befb389", ""); - class_13232a7341945cd08787bdf29befb389.def(pybind11::init< >()); - class_13232a7341945cd08787bdf29befb389.def("get_nb_states", method_pointer_f29a9062a3a352369fcb0522a15b8cf3, ""); - class_13232a7341945cd08787bdf29befb389.def("get_observation", method_pointer_6fec79f58d915ece83cbb6574ebbe8d1, pybind11::return_value_policy::reference_internal, ""); - class_13232a7341945cd08787bdf29befb389.def("set_observation", method_pointer_68960ed00cc65811a690382a0d67ba31, ""); - class_13232a7341945cd08787bdf29befb389.def("get_pi", method_pointer_7963c44546715eb0ab2c51bc5d9508e2, pybind11::return_value_policy::copy, ""); - class_13232a7341945cd08787bdf29befb389.def("set_pi", method_pointer_5b390b67e10f5171aad53ac4b34b9aad, ""); - class_13232a7341945cd08787bdf29befb389.def("posterior", method_pointer_422b9d66f2f95daa938ac7924ebeac4d, ""); - class_13232a7341945cd08787bdf29befb389.def("assignment", method_pointer_8b660503f42355aface44a6b269d2198, ""); - class_13232a7341945cd08787bdf29befb389.def("assignment", method_pointer_2402a3a010375f17bc28753344cae909, ""); - class_13232a7341945cd08787bdf29befb389.def("uncertainty", method_pointer_7371ce416e5556a6b595feb14bf9b48b, ""); - class_13232a7341945cd08787bdf29befb389.def("uncertainty", method_pointer_49ba69a598e250d89edd74201e72a6f0, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_134023695d4459f2931df9cb87b57330.cpp b/src/py/wrapper/wrapper_134023695d4459f2931df9cb87b57330.cpp deleted file mode 100644 index 3ed4a52e..00000000 --- a/src/py/wrapper/wrapper_134023695d4459f2931df9cb87b57330.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_30cb362e5d2c5275878ee2af9d27b927)()const= &::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_134023695d4459f2931df9cb87b57330(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_134023695d4459f2931df9cb87b57330(module, "_ActiveEstimation_134023695d4459f2931df9cb87b57330", ""); - class_134023695d4459f2931df9cb87b57330.def(pybind11::init< >()); - class_134023695d4459f2931df9cb87b57330.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_134023695d4459f2931df9cb87b57330.def(pybind11::init< struct ::statiskit::ContinuousMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_134023695d4459f2931df9cb87b57330.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - class_134023695d4459f2931df9cb87b57330.def("get_data", method_pointer_30cb362e5d2c5275878ee2af9d27b927, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_13d523d2695b5825b5cf182c5a8fa6ca.cpp b/src/py/wrapper/wrapper_13d523d2695b5825b5cf182c5a8fa6ca.cpp deleted file mode 100644 index 9e718023..00000000 --- a/src/py/wrapper/wrapper_13d523d2695b5825b5cf182c5a8fa6ca.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_b1bd298235f15f1aaebcd64671bb0d09)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_879d8f409049513ba3bc8d77280386ee)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::SingularDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_bb00a637d01a52458f09df27df6ea65f)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_7c75b8500f365659ace0796b1e4f68f2)(struct ::statiskit::SingularDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::SingularDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_928f5c482c2d5d089a00f0558f1f1201)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_1f8064733cea5b7ca1ad121a0ce24f22)(::statiskit::Index const &, struct ::statiskit::SingularDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::MixtureSingularDistribution const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_d0d5a689c6d55af6942cadb104f81600)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_110722245cc45e79832534f3af259270)(struct ::statiskit::MixtureSingularDistribution const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_bb8afebd7f445831aeddda1913a0c43f)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_1fb2d6eeef8450deb579158d3cd7d314)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_13d523d2695b5825b5cf182c5a8fa6ca(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_13d523d2695b5825b5cf182c5a8fa6ca(module, "Estimator", ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def(pybind11::init< >()); - class_13d523d2695b5825b5cf182c5a8fa6ca.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator const & >()); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("get_pi", method_pointer_b1bd298235f15f1aaebcd64671bb0d09, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("set_pi", method_pointer_879d8f409049513ba3bc8d77280386ee, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("get_default_estimator", method_pointer_bb00a637d01a52458f09df27df6ea65f, pybind11::return_value_policy::reference_internal, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("set_default_estimator", method_pointer_7c75b8500f365659ace0796b1e4f68f2, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("get_estimator", method_pointer_928f5c482c2d5d089a00f0558f1f1201, pybind11::return_value_policy::reference_internal, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("set_estimator", method_pointer_1f8064733cea5b7ca1ad121a0ce24f22, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("get_initializator", method_pointer_d0d5a689c6d55af6942cadb104f81600, pybind11::return_value_policy::reference_internal, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("set_initializator", method_pointer_110722245cc45e79832534f3af259270, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("get_limit", method_pointer_bb8afebd7f445831aeddda1913a0c43f, ""); - class_13d523d2695b5825b5cf182c5a8fa6ca.def("set_limit", method_pointer_1fb2d6eeef8450deb579158d3cd7d314, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_15d5beb354475a4b8c2ab5885c0662bd.cpp b/src/py/wrapper/wrapper_15d5beb354475a4b8c2ab5885c0662bd.cpp deleted file mode 100644 index a0d03952..00000000 --- a/src/py/wrapper/wrapper_15d5beb354475a4b8c2ab5885c0662bd.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -double const (::statiskit::OptimizationEstimation< double, ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_ec055f06b236594088ffd24cd6d11550)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_15d5beb354475a4b8c2ab5885c0662bd(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_15d5beb354475a4b8c2ab5885c0662bd(module, "_OptimizationEstimation_15d5beb354475a4b8c2ab5885c0662bd", ""); - class_15d5beb354475a4b8c2ab5885c0662bd.def(pybind11::init< >()); - class_15d5beb354475a4b8c2ab5885c0662bd.def(pybind11::init< class ::statiskit::SplittingDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_15d5beb354475a4b8c2ab5885c0662bd.def(pybind11::init< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_15d5beb354475a4b8c2ab5885c0662bd.def("get_iteration", method_pointer_ec055f06b236594088ffd24cd6d11550, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp b/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp deleted file mode 100644 index 5dd540bb..00000000 --- a/src/py/wrapper/wrapper_167b2440c33657b2abc8311b6621a7bb.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_9557888cca23511a9622d71b4381fa7f; - virtual return_type_9557888cca23511a9622d71b4381fa7f copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9557888cca23511a9622d71b4381fa7f, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_167b2440c33657b2abc8311b6621a7bb(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_167b2440c33657b2abc8311b6621a7bb(module, "_PolymorphicCopy_167b2440c33657b2abc8311b6621a7bb", ""); - class_167b2440c33657b2abc8311b6621a7bb.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp b/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp deleted file mode 100644 index 5955b092..00000000 --- a/src/py/wrapper/wrapper_16a072b3aa3255f989f89ed810798d2e.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_6d7c86f859f35a218843b3acfcd8082b; - virtual return_type_6d7c86f859f35a218843b3acfcd8082b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6d7c86f859f35a218843b3acfcd8082b, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_16a072b3aa3255f989f89ed810798d2e(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_16a072b3aa3255f989f89ed810798d2e(module, "_PolymorphicCopy_16a072b3aa3255f989f89ed810798d2e", ""); - class_16a072b3aa3255f989f89ed810798d2e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_16ec8df96bd85f88b8999c4cbe58279e.cpp b/src/py/wrapper/wrapper_16ec8df96bd85f88b8999c4cbe58279e.cpp deleted file mode 100644 index ce57ba2e..00000000 --- a/src/py/wrapper/wrapper_16ec8df96bd85f88b8999c4cbe58279e.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_59c4db2afe595068b519ae8d33f49ab5)()const= &::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_16ec8df96bd85f88b8999c4cbe58279e(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_16ec8df96bd85f88b8999c4cbe58279e(module, "_OptimizationEstimationImpl_16ec8df96bd85f88b8999c4cbe58279e", ""); - class_16ec8df96bd85f88b8999c4cbe58279e.def(pybind11::init< >()); - class_16ec8df96bd85f88b8999c4cbe58279e.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_16ec8df96bd85f88b8999c4cbe58279e.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_16ec8df96bd85f88b8999c4cbe58279e.def("__len__", method_pointer_59c4db2afe595068b519ae8d33f49ab5, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp b/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp deleted file mode 100644 index 474392ad..00000000 --- a/src/py/wrapper/wrapper_1790dd7d2111554099562871bb0f85af.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_8c86d1b0ff0a5245afa03a841d54847a; - virtual return_type_8c86d1b0ff0a5245afa03a841d54847a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8c86d1b0ff0a5245afa03a841d54847a, class_type, copy, ); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; - virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; - virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; - typedef ::statiskit::Index return_type_ccb6e82201a6558e9733151230bbc9af; - virtual return_type_ccb6e82201a6558e9733151230bbc9af size() const override { PYBIND11_OVERLOAD(return_type_ccb6e82201a6558e9733151230bbc9af, class_type, size, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_1790dd7d2111554099562871bb0f85af(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, class ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData > >::Type, struct ::statiskit::UnivariateData > class_1790dd7d2111554099562871bb0f85af(module, "_PolymorphicCopy_1790dd7d2111554099562871bb0f85af", ""); - class_1790dd7d2111554099562871bb0f85af.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp b/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp deleted file mode 100644 index e6c90c09..00000000 --- a/src/py/wrapper/wrapper_17c6ed20c6a8518c806e33b3fcfab409.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_17c6ed20c6a8518c806e33b3fcfab409(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_17c6ed20c6a8518c806e33b3fcfab409(module, "Estimator", ""); - class_17c6ed20c6a8518c806e33b3fcfab409.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_18bed25ce1eb5640880f010edb403ed3.cpp b/src/py/wrapper/wrapper_18bed25ce1eb5640880f010edb403ed3.cpp deleted file mode 100644 index 1b545f71..00000000 --- a/src/py/wrapper/wrapper_18bed25ce1eb5640880f010edb403ed3.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::*method_pointer_8191b5a54df25db7ba362c0921214ae0)()const= &::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_18bed25ce1eb5640880f010edb403ed3(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > > class_18bed25ce1eb5640880f010edb403ed3(module, "_ActiveEstimation_18bed25ce1eb5640880f010edb403ed3", ""); - class_18bed25ce1eb5640880f010edb403ed3.def(pybind11::init< >()); - class_18bed25ce1eb5640880f010edb403ed3.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_18bed25ce1eb5640880f010edb403ed3.def(pybind11::init< struct ::statiskit::ContinuousMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_18bed25ce1eb5640880f010edb403ed3.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > const & >()); - class_18bed25ce1eb5640880f010edb403ed3.def("get_data", method_pointer_8191b5a54df25db7ba362c0921214ae0, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp b/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp deleted file mode 100644 index c3f88014..00000000 --- a/src/py/wrapper/wrapper_1935a142d4425b8e9212ebbb3d98b996.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< double, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< double, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_1935a142d4425b8e9212ebbb3d98b996(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_1935a142d4425b8e9212ebbb3d98b996(module, "Estimator", ""); - class_1935a142d4425b8e9212ebbb3d98b996.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_19547a3e283b56f0bcbda5ed6c39eca7.cpp b/src/py/wrapper/wrapper_19547a3e283b56f0bcbda5ed6c39eca7.cpp deleted file mode 100644 index 19fad820..00000000 --- a/src/py/wrapper/wrapper_19547a3e283b56f0bcbda5ed6c39eca7.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::DiscreteUnivariateMixtureDistribution *, ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_2f248004e27f55c38979297b356031e0)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_19547a3e283b56f0bcbda5ed6c39eca7(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_19547a3e283b56f0bcbda5ed6c39eca7(module, "_OptimizationEstimationImpl_19547a3e283b56f0bcbda5ed6c39eca7", ""); - class_19547a3e283b56f0bcbda5ed6c39eca7.def(pybind11::init< >()); - class_19547a3e283b56f0bcbda5ed6c39eca7.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_19547a3e283b56f0bcbda5ed6c39eca7.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_19547a3e283b56f0bcbda5ed6c39eca7.def("__len__", method_pointer_2f248004e27f55c38979297b356031e0, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_19ec6a1f261852b5b192c3cbc4571d78.cpp b/src/py/wrapper/wrapper_19ec6a1f261852b5b192c3cbc4571d78.cpp deleted file mode 100644 index 7bcd8a04..00000000 --- a/src/py/wrapper/wrapper_19ec6a1f261852b5b192c3cbc4571d78.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_572afe9f5b815944a96c44b07e362aea)(::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_38d07b50758a58bb87f682a2d859edc5)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_398aaead4ee750409cbe5f1331745a5a)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_5e5118a5461154daa965f11e167d2070)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_a377b0390b65509b9c71510f782ca199)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_3b4f419050be58b5ad99d8e62aca5c63)(::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_3c62ad09c99f5aa6b2c7df833b0a54bd)(::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::at; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_e1ab4a82ce105a3e9b27f9e69de5bd70)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::front; -::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_e615afbdaa5e57b38d259aaa00d9969b)()const= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::back; -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_8c6b4b6af5bd5ec994a16fa166b8b5ba)(::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_ff5807704a2e5ff7bef76770f40b3371)()= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_2074276592eb542181fc14ae221179a7)(class ::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > > &)= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::ContinuousMultivariateDistribution *, ::std::allocator< ::statiskit::ContinuousMultivariateDistribution * > >::*method_pointer_22c911e25b275ad5a0337d581e30b4d8)()= &::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_19ec6a1f261852b5b192c3cbc4571d78(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > > >::Type > class_19ec6a1f261852b5b192c3cbc4571d78(module, "_Vector_19ec6a1f261852b5b192c3cbc4571d78", ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def(pybind11::init< >()); - class_19ec6a1f261852b5b192c3cbc4571d78.def(pybind11::init< class ::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > > const & >()); - class_19ec6a1f261852b5b192c3cbc4571d78.def("assign", method_pointer_572afe9f5b815944a96c44b07e362aea, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("__len__", method_pointer_38d07b50758a58bb87f682a2d859edc5, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("max_size", method_pointer_398aaead4ee750409cbe5f1331745a5a, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("capacity", method_pointer_5e5118a5461154daa965f11e167d2070, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("empty", method_pointer_a377b0390b65509b9c71510f782ca199, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("reserve", method_pointer_3b4f419050be58b5ad99d8e62aca5c63, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("at", method_pointer_3c62ad09c99f5aa6b2c7df833b0a54bd, pybind11::return_value_policy::reference_internal, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("front", method_pointer_e1ab4a82ce105a3e9b27f9e69de5bd70, pybind11::return_value_policy::reference_internal, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("back", method_pointer_e615afbdaa5e57b38d259aaa00d9969b, pybind11::return_value_policy::reference_internal, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("push_back", method_pointer_8c6b4b6af5bd5ec994a16fa166b8b5ba, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("pop_back", method_pointer_ff5807704a2e5ff7bef76770f40b3371, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("swap", method_pointer_2074276592eb542181fc14ae221179a7, ""); - class_19ec6a1f261852b5b192c3cbc4571d78.def("clear", method_pointer_22c911e25b275ad5a0337d581e30b4d8, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_19ee605677815ce58ebdc169d44e3d8c.cpp b/src/py/wrapper/wrapper_19ee605677815ce58ebdc169d44e3d8c.cpp deleted file mode 100644 index 064a15ea..00000000 --- a/src/py/wrapper/wrapper_19ee605677815ce58ebdc169d44e3d8c.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::NormalDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_e955cd2b8e7c5286a371643be63bcf14)()const= &::statiskit::ActiveEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_19ee605677815ce58ebdc169d44e3d8c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_19ee605677815ce58ebdc169d44e3d8c(module, "_ActiveEstimation_19ee605677815ce58ebdc169d44e3d8c", ""); - class_19ee605677815ce58ebdc169d44e3d8c.def(pybind11::init< >()); - class_19ee605677815ce58ebdc169d44e3d8c.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_19ee605677815ce58ebdc169d44e3d8c.def(pybind11::init< class ::statiskit::NormalDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_19ee605677815ce58ebdc169d44e3d8c.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_19ee605677815ce58ebdc169d44e3d8c.def("get_data", method_pointer_e955cd2b8e7c5286a371643be63bcf14, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1a895a21d59854609ac58f50d8dcef94.cpp b/src/py/wrapper/wrapper_1a895a21d59854609ac58f50d8dcef94.cpp deleted file mode 100644 index f8c6e657..00000000 --- a/src/py/wrapper/wrapper_1a895a21d59854609ac58f50d8dcef94.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_e21e2aedb18a510ca4a064ee0055a942)(::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_770ee8fc374e5aaab58027686dc105f5)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_5c5cec8324b05753a065890aef186cb0)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_2a840adb30ed5f7fae30368e5c96f56d)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_a2fc83cac7d754389f3c0a87a2d60193)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_e07f77e0bd5c5a398e52aafa41a3f7fb)(::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_682e83cc511b5da381938608a090593f)(::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::at; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_e548838d5f355b8289c092838b45120f)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::front; -::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_c62c287bba9e5ddc8bef85039c2bff03)()const= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::back; -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_4a08bde18c485336bc6a2019ee52a96c)(::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_86d21c7acbc65c9da784d4cce9f26821)()= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_d66431ba341e5e46812143b8c601cde8)(class ::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > > &)= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::MultivariateDistribution *, ::std::allocator< ::statiskit::MultivariateDistribution * > >::*method_pointer_e1ada3e77b6353e7991e71815b026a58)()= &::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_1a895a21d59854609ac58f50d8dcef94(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > > >::Type > class_1a895a21d59854609ac58f50d8dcef94(module, "_Vector_1a895a21d59854609ac58f50d8dcef94", ""); - class_1a895a21d59854609ac58f50d8dcef94.def(pybind11::init< >()); - class_1a895a21d59854609ac58f50d8dcef94.def(pybind11::init< class ::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > > const & >()); - class_1a895a21d59854609ac58f50d8dcef94.def("assign", method_pointer_e21e2aedb18a510ca4a064ee0055a942, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("__len__", method_pointer_770ee8fc374e5aaab58027686dc105f5, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("max_size", method_pointer_5c5cec8324b05753a065890aef186cb0, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("capacity", method_pointer_2a840adb30ed5f7fae30368e5c96f56d, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("empty", method_pointer_a2fc83cac7d754389f3c0a87a2d60193, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("reserve", method_pointer_e07f77e0bd5c5a398e52aafa41a3f7fb, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("at", method_pointer_682e83cc511b5da381938608a090593f, pybind11::return_value_policy::reference_internal, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("front", method_pointer_e548838d5f355b8289c092838b45120f, pybind11::return_value_policy::reference_internal, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("back", method_pointer_c62c287bba9e5ddc8bef85039c2bff03, pybind11::return_value_policy::reference_internal, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("push_back", method_pointer_4a08bde18c485336bc6a2019ee52a96c, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("pop_back", method_pointer_86d21c7acbc65c9da784d4cce9f26821, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("swap", method_pointer_d66431ba341e5e46812143b8c601cde8, ""); - class_1a895a21d59854609ac58f50d8dcef94.def("clear", method_pointer_e1ada3e77b6353e7991e71815b026a58, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1ae28b9397ee5736a45e106e0eb3d8f9.cpp b/src/py/wrapper/wrapper_1ae28b9397ee5736a45e106e0eb3d8f9.cpp deleted file mode 100644 index 51a0ad8e..00000000 --- a/src/py/wrapper/wrapper_1ae28b9397ee5736a45e106e0eb3d8f9.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::SingularDistributionEstimation::Estimator & (::std::unique_ptr< ::statiskit::SingularDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::SingularDistributionEstimation::Estimator > >::*method_pointer_e691984a4d3f5bc7b85ea1fd5e9c3233)()const= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::operator*; -::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::SingularDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::SingularDistributionEstimation::Estimator > >::*method_pointer_b093bd43f5fa5185b6e89753893bbb26)()const= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::get; -::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::SingularDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::SingularDistributionEstimation::Estimator > >::*method_pointer_bf7d1619c1e35ce390a7864c06837e7d)()= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::release; -void (::std::unique_ptr< ::statiskit::SingularDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::SingularDistributionEstimation::Estimator > >::*method_pointer_8b29eadeac8b572ab8bd079e8a9aae32)(::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::pointer )= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::reset; -void (::std::unique_ptr< ::statiskit::SingularDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::SingularDistributionEstimation::Estimator > >::*method_pointer_35a94cf21d9350baaa2e531ff79c191d)(class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > &)= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > >::swap; - -namespace autowig { - void method_decorator_e691984a4d3f5bc7b85ea1fd5e9c3233(class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > const & instance, const struct ::statiskit::SingularDistributionEstimation::Estimator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_1ae28b9397ee5736a45e106e0eb3d8f9(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1b24919f2a0e5918adddc5638f6048e9.cpp b/src/py/wrapper/wrapper_1b24919f2a0e5918adddc5638f6048e9.cpp deleted file mode 100644 index cb496330..00000000 --- a/src/py/wrapper/wrapper_1b24919f2a0e5918adddc5638f6048e9.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_d14723479dec548ea4b9e09932a494ed)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_1b24919f2a0e5918adddc5638f6048e9(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_1b24919f2a0e5918adddc5638f6048e9(module, "_OptimizationEstimationImpl_1b24919f2a0e5918adddc5638f6048e9", ""); - class_1b24919f2a0e5918adddc5638f6048e9.def(pybind11::init< >()); - class_1b24919f2a0e5918adddc5638f6048e9.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_1b24919f2a0e5918adddc5638f6048e9.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - class_1b24919f2a0e5918adddc5638f6048e9.def("__len__", method_pointer_d14723479dec548ea4b9e09932a494ed, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1b793d6dd01553ae939c99e3743fa436.cpp b/src/py/wrapper/wrapper_1b793d6dd01553ae939c99e3743fa436.cpp deleted file mode 100644 index cbb2c0e7..00000000 --- a/src/py/wrapper/wrapper_1b793d6dd01553ae939c99e3743fa436.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_1b793d6dd01553ae939c99e3743fa436(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_1b793d6dd01553ae939c99e3743fa436(module, "_MixtureDistributionEMEstimation_1b793d6dd01553ae939c99e3743fa436", ""); - class_1b793d6dd01553ae939c99e3743fa436.def(pybind11::init< >()); - class_1b793d6dd01553ae939c99e3743fa436.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_1b793d6dd01553ae939c99e3743fa436.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp b/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp deleted file mode 100644 index ec716e69..00000000 --- a/src/py/wrapper/wrapper_1bbe231bce835ebeb36da82ccdeb5997.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; - virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; - typedef double return_type_a8793d7694b85cea8bead585bebfa116; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; - virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; - typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; - typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; - virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_b802ccc39dcd5c0e835211836ab7d59d)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_e274930ea2dc5ab1bc443203a08ceddc)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_50b5354942d657baa64f803083675e1d)(::statiskit::Index const &, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_d3aa394a479f5aec8684a5608ca72448)(struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_6dd5e7e30c8252828df26a594edfa560)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_1bbe231bce835ebeb36da82ccdeb5997(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator > class_1bbe231bce835ebeb36da82ccdeb5997(module, "Estimator", ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("__len__", method_pointer_b802ccc39dcd5c0e835211836ab7d59d, ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("get_estimator", method_pointer_e274930ea2dc5ab1bc443203a08ceddc, pybind11::return_value_policy::reference_internal, ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("set_estimator", method_pointer_50b5354942d657baa64f803083675e1d, ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("add_estimator", method_pointer_d3aa394a479f5aec8684a5608ca72448, ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("remove_estimator", method_pointer_6dd5e7e30c8252828df26a594edfa560, ""); - class_1bbe231bce835ebeb36da82ccdeb5997.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1c16077fc2b0519d806e8d900500edde.cpp b/src/py/wrapper/wrapper_1c16077fc2b0519d806e8d900500edde.cpp deleted file mode 100644 index bb957a2c..00000000 --- a/src/py/wrapper/wrapper_1c16077fc2b0519d806e8d900500edde.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_662f72b348805d2c918ae364d40dee45)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::size; -struct ::statiskit::CategoricalUnivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_cb515482fb0d5ddb8e177b432fc259da)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_2705142a6017542faf737e3a9be93439)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_1c16077fc2b0519d806e8d900500edde(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_1c16077fc2b0519d806e8d900500edde(module, "_Selection_1c16077fc2b0519d806e8d900500edde", ""); - class_1c16077fc2b0519d806e8d900500edde.def(pybind11::init< >()); - class_1c16077fc2b0519d806e8d900500edde.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_1c16077fc2b0519d806e8d900500edde.def(pybind11::init< struct ::statiskit::CategoricalUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_1c16077fc2b0519d806e8d900500edde.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_1c16077fc2b0519d806e8d900500edde.def("__len__", method_pointer_662f72b348805d2c918ae364d40dee45, ""); - class_1c16077fc2b0519d806e8d900500edde.def("get_estimation", method_pointer_cb515482fb0d5ddb8e177b432fc259da, pybind11::return_value_policy::reference_internal, ""); - class_1c16077fc2b0519d806e8d900500edde.def("get_score", method_pointer_2705142a6017542faf737e3a9be93439, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1d32c3b4d5615a2883aebf6ef53e85e8.cpp b/src/py/wrapper/wrapper_1d32c3b4d5615a2883aebf6ef53e85e8.cpp deleted file mode 100644 index f6a117f8..00000000 --- a/src/py/wrapper/wrapper_1d32c3b4d5615a2883aebf6ef53e85e8.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const * (::statiskit::OptimizationEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_dbfa599ece535c44809a089106985d63)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_1d32c3b4d5615a2883aebf6ef53e85e8(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > > class_1d32c3b4d5615a2883aebf6ef53e85e8(module, "_OptimizationEstimation_1d32c3b4d5615a2883aebf6ef53e85e8", ""); - class_1d32c3b4d5615a2883aebf6ef53e85e8.def(pybind11::init< >()); - class_1d32c3b4d5615a2883aebf6ef53e85e8.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_1d32c3b4d5615a2883aebf6ef53e85e8.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - class_1d32c3b4d5615a2883aebf6ef53e85e8.def("get_iteration", method_pointer_dbfa599ece535c44809a089106985d63, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1d46946cbf4e5e5188cb98cb24f80697.cpp b/src/py/wrapper/wrapper_1d46946cbf4e5e5188cb98cb24f80697.cpp deleted file mode 100644 index a328be4c..00000000 --- a/src/py/wrapper/wrapper_1d46946cbf4e5e5188cb98cb24f80697.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_1d46946cbf4e5e5188cb98cb24f80697(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_1d46946cbf4e5e5188cb98cb24f80697(module, "criterion_type"); - enum_1d46946cbf4e5e5188cb98cb24f80697.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_1d46946cbf4e5e5188cb98cb24f80697.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_1d46946cbf4e5e5188cb98cb24f80697.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_1d46946cbf4e5e5188cb98cb24f80697.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_1d46946cbf4e5e5188cb98cb24f80697.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1f50e5c48a545cf9a618ddbf871d3a9c.cpp b/src/py/wrapper/wrapper_1f50e5c48a545cf9a618ddbf871d3a9c.cpp deleted file mode 100644 index a19b4e04..00000000 --- a/src/py/wrapper/wrapper_1f50e5c48a545cf9a618ddbf871d3a9c.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_1f50e5c48a545cf9a618ddbf871d3a9c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalMultivariateDistributionEstimation > class_1f50e5c48a545cf9a618ddbf871d3a9c(module, "_LazyEstimation_1f50e5c48a545cf9a618ddbf871d3a9c", ""); - class_1f50e5c48a545cf9a618ddbf871d3a9c.def(pybind11::init< >()); - class_1f50e5c48a545cf9a618ddbf871d3a9c.def(pybind11::init< struct ::statiskit::CategoricalMultivariateDistribution const * >()); - class_1f50e5c48a545cf9a618ddbf871d3a9c.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_209197cf35105a20a75950ef9403af98.cpp b/src/py/wrapper/wrapper_209197cf35105a20a75950ef9403af98.cpp deleted file mode 100644 index c833717e..00000000 --- a/src/py/wrapper/wrapper_209197cf35105a20a75950ef9403af98.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::SingularDistributionEstimation & (::std::unique_ptr< ::statiskit::SingularDistributionEstimation, ::std::default_delete< ::statiskit::SingularDistributionEstimation > >::*method_pointer_29da0436bbbb536f9bdd0e9542f78919)()const= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::operator*; -::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::SingularDistributionEstimation, ::std::default_delete< ::statiskit::SingularDistributionEstimation > >::*method_pointer_08e3638a108a531e83c2d6a88cf4388a)()const= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::get; -::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::SingularDistributionEstimation, ::std::default_delete< ::statiskit::SingularDistributionEstimation > >::*method_pointer_d97f9da2bc1c53f69ceffd9ac2f50795)()= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::release; -void (::std::unique_ptr< ::statiskit::SingularDistributionEstimation, ::std::default_delete< ::statiskit::SingularDistributionEstimation > >::*method_pointer_d51f8d34051553d9bed0de27e800285d)(::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::pointer )= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::reset; -void (::std::unique_ptr< ::statiskit::SingularDistributionEstimation, ::std::default_delete< ::statiskit::SingularDistributionEstimation > >::*method_pointer_4fc81b30540552ab965e3887841464cb)(class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > &)= &::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > >::swap; - -namespace autowig { - void method_decorator_29da0436bbbb536f9bdd0e9542f78919(class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > const & instance, const struct ::statiskit::SingularDistributionEstimation & param_out) { instance.operator*() = param_out; } -} - -void wrapper_209197cf35105a20a75950ef9403af98(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_20f43f33e75f5ed8baf3e95be100740a.cpp b/src/py/wrapper/wrapper_20f43f33e75f5ed8baf3e95be100740a.cpp deleted file mode 100644 index d09ddfe0..00000000 --- a/src/py/wrapper/wrapper_20f43f33e75f5ed8baf3e95be100740a.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_bf88b46abf975c5ab71ed23250a7b63b)()const= &::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_20f43f33e75f5ed8baf3e95be100740a(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_20f43f33e75f5ed8baf3e95be100740a(module, "_ActiveEstimation_20f43f33e75f5ed8baf3e95be100740a", ""); - class_20f43f33e75f5ed8baf3e95be100740a.def(pybind11::init< >()); - class_20f43f33e75f5ed8baf3e95be100740a.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_20f43f33e75f5ed8baf3e95be100740a.def(pybind11::init< struct ::statiskit::CategoricalUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_20f43f33e75f5ed8baf3e95be100740a.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_20f43f33e75f5ed8baf3e95be100740a.def("get_data", method_pointer_bf88b46abf975c5ab71ed23250a7b63b, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_21120050d3d2560d969f522ea4e94cde.cpp b/src/py/wrapper/wrapper_21120050d3d2560d969f522ea4e94cde.cpp deleted file mode 100644 index 9daa73af..00000000 --- a/src/py/wrapper/wrapper_21120050d3d2560d969f522ea4e94cde.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_c0cf114ca25f5efc848124d6d1793775)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_8daec1c691705c4a9c252193db4e9e9f)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_968ef2ed72cf5cbb80c62cca19f5e2c7)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_6f1a288d4595558ab63c08f3df92ebd9)(struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_b51675b98db55af89a062c5c23e4a5bb)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_e90f32a611d25065a3f884b6d91c9f56)(::statiskit::Index const &, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::ContinuousUnivariateMixtureDistribution const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_8f38a9ab00945abaa734eafd43f00d8d)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_6d52b0cd19955b3cbd929d1a2c386dcc)(struct ::statiskit::ContinuousUnivariateMixtureDistribution const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_c82a0f33db335877a97e64b666422c47)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_c3a3081e56b2571f910b8d4a2f1884a7)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_21120050d3d2560d969f522ea4e94cde(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_21120050d3d2560d969f522ea4e94cde(module, "Estimator", ""); - class_21120050d3d2560d969f522ea4e94cde.def(pybind11::init< >()); - class_21120050d3d2560d969f522ea4e94cde.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator const & >()); - class_21120050d3d2560d969f522ea4e94cde.def("get_pi", method_pointer_c0cf114ca25f5efc848124d6d1793775, ""); - class_21120050d3d2560d969f522ea4e94cde.def("set_pi", method_pointer_8daec1c691705c4a9c252193db4e9e9f, ""); - class_21120050d3d2560d969f522ea4e94cde.def("get_default_estimator", method_pointer_968ef2ed72cf5cbb80c62cca19f5e2c7, pybind11::return_value_policy::reference_internal, ""); - class_21120050d3d2560d969f522ea4e94cde.def("set_default_estimator", method_pointer_6f1a288d4595558ab63c08f3df92ebd9, ""); - class_21120050d3d2560d969f522ea4e94cde.def("get_estimator", method_pointer_b51675b98db55af89a062c5c23e4a5bb, pybind11::return_value_policy::reference_internal, ""); - class_21120050d3d2560d969f522ea4e94cde.def("set_estimator", method_pointer_e90f32a611d25065a3f884b6d91c9f56, ""); - class_21120050d3d2560d969f522ea4e94cde.def("get_initializator", method_pointer_8f38a9ab00945abaa734eafd43f00d8d, pybind11::return_value_policy::reference_internal, ""); - class_21120050d3d2560d969f522ea4e94cde.def("set_initializator", method_pointer_6d52b0cd19955b3cbd929d1a2c386dcc, ""); - class_21120050d3d2560d969f522ea4e94cde.def("get_limit", method_pointer_c82a0f33db335877a97e64b666422c47, ""); - class_21120050d3d2560d969f522ea4e94cde.def("set_limit", method_pointer_c3a3081e56b2571f910b8d4a2f1884a7, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp b/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp deleted file mode 100644 index 9533b351..00000000 --- a/src/py/wrapper/wrapper_214e9eab615f5960b6c5415c0c55fa0c.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_2369dcf3b82d5305ab0576938e592359; - virtual return_type_2369dcf3b82d5305ab0576938e592359 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2369dcf3b82d5305ab0576938e592359, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_214e9eab615f5960b6c5415c0c55fa0c(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_214e9eab615f5960b6c5415c0c55fa0c(module, "_PolymorphicCopy_214e9eab615f5960b6c5415c0c55fa0c", ""); - class_214e9eab615f5960b6c5415c0c55fa0c.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp b/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp deleted file mode 100644 index 6526ebaf..00000000 --- a/src/py/wrapper/wrapper_223fb8b8797b558497d5dea978484cfc.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_223fb8b8797b558497d5dea978484cfc(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_223fb8b8797b558497d5dea978484cfc(module, "Estimator", ""); - class_223fb8b8797b558497d5dea978484cfc.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp b/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp deleted file mode 100644 index 891acb94..00000000 --- a/src/py/wrapper/wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_46f16d5140fa5510a7b1b2288f37a965; - virtual return_type_46f16d5140fa5510a7b1b2288f37a965 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_46f16d5140fa5510a7b1b2288f37a965, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_381c73e64ead5c259f146f94a515f23e; - virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; - typedef double return_type_3f32a8595a7457cdb1730a938df93a52; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; - virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; - typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; - typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; - virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_22a1fcd680dc54a1b88ffdab2f60f4a5(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator > class_22a1fcd680dc54a1b88ffdab2f60f4a5(module, "_PolymorphicCopy_22a1fcd680dc54a1b88ffdab2f60f4a5", ""); - class_22a1fcd680dc54a1b88ffdab2f60f4a5.def(pybind11::init< >()); - class_22a1fcd680dc54a1b88ffdab2f60f4a5.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp index abe83243..4e6588ba 100644 --- a/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp +++ b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp @@ -1,7 +1,7 @@ #include "_core.h" ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_acd2010201c45858a38838c8a926f909)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_response_data; -::statiskit::ConditionalDistributionEstimation::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_46017080d9d753e2b9370e2cabcf7b67)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_explanatory_data; +::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_46017080d9d753e2b9370e2cabcf7b67)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_explanatory_data; ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_08e5dd31ebcf58bd810a563a8a261ed1)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_distribution; class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_3452e2874d385bb4be30440e8e655f7c)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::copy; @@ -13,7 +13,7 @@ void wrapper_22af95e725215bc9b21db076f5deefd7(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > >::Type > class_22af95e725215bc9b21db076f5deefd7(module, "_ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7", ""); class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< >()); - class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * >()); + class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * >()); class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > const & >()); class_22af95e725215bc9b21db076f5deefd7.def("get_response_data", method_pointer_acd2010201c45858a38838c8a926f909, pybind11::return_value_policy::reference_internal, ""); class_22af95e725215bc9b21db076f5deefd7.def("get_explanatory_data", method_pointer_46017080d9d753e2b9370e2cabcf7b67, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_232384c3de2e54ad9b4768c29f93cd4e.cpp b/src/py/wrapper/wrapper_232384c3de2e54ad9b4768c29f93cd4e.cpp deleted file mode 100644 index 27844bee..00000000 --- a/src/py/wrapper/wrapper_232384c3de2e54ad9b4768c29f93cd4e.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -double const (::statiskit::OptimizationEstimation< double, ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_e73df763905c5f829ed533665c93c78b)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_232384c3de2e54ad9b4768c29f93cd4e(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_232384c3de2e54ad9b4768c29f93cd4e(module, "_OptimizationEstimation_232384c3de2e54ad9b4768c29f93cd4e", ""); - class_232384c3de2e54ad9b4768c29f93cd4e.def(pybind11::init< >()); - class_232384c3de2e54ad9b4768c29f93cd4e.def(pybind11::init< class ::statiskit::LogarithmicDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_232384c3de2e54ad9b4768c29f93cd4e.def(pybind11::init< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_232384c3de2e54ad9b4768c29f93cd4e.def("get_iteration", method_pointer_e73df763905c5f829ed533665c93c78b, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp b/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp deleted file mode 100644 index ef8b1add..00000000 --- a/src/py/wrapper/wrapper_2613fe07dc7251cea4181b6d9d00aad1.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_3cb42436d25c59818a9ec433b9e6d07c; - virtual return_type_3cb42436d25c59818a9ec433b9e6d07c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3cb42436d25c59818a9ec433b9e6d07c, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_2613fe07dc7251cea4181b6d9d00aad1(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > >::Type, struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_2613fe07dc7251cea4181b6d9d00aad1(module, "_PolymorphicCopy_2613fe07dc7251cea4181b6d9d00aad1", ""); - class_2613fe07dc7251cea4181b6d9d00aad1.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2644644fcf2c54858f0565d665dcdbf4.cpp b/src/py/wrapper/wrapper_2644644fcf2c54858f0565d665dcdbf4.cpp deleted file mode 100644 index 3a1bc2df..00000000 --- a/src/py/wrapper/wrapper_2644644fcf2c54858f0565d665dcdbf4.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_2644644fcf2c54858f0565d665dcdbf4(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_2644644fcf2c54858f0565d665dcdbf4(module, "criterion_type"); - enum_2644644fcf2c54858f0565d665dcdbf4.value("AIC", ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_2644644fcf2c54858f0565d665dcdbf4.value("AI_CC", ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_2644644fcf2c54858f0565d665dcdbf4.value("BIC", ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_2644644fcf2c54858f0565d665dcdbf4.value("HQIC", ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_2644644fcf2c54858f0565d665dcdbf4.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_27cfd1a8870659e08234770c1938e6df.cpp b/src/py/wrapper/wrapper_27cfd1a8870659e08234770c1938e6df.cpp deleted file mode 100644 index 2092707d..00000000 --- a/src/py/wrapper/wrapper_27cfd1a8870659e08234770c1938e6df.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_1d51ad7867ad5c1f85f08478ad66424c)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_27cfd1a8870659e08234770c1938e6df(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_27cfd1a8870659e08234770c1938e6df(module, "_ActiveEstimation_27cfd1a8870659e08234770c1938e6df", ""); - class_27cfd1a8870659e08234770c1938e6df.def(pybind11::init< >()); - class_27cfd1a8870659e08234770c1938e6df.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_27cfd1a8870659e08234770c1938e6df.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_27cfd1a8870659e08234770c1938e6df.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - class_27cfd1a8870659e08234770c1938e6df.def("get_data", method_pointer_1d51ad7867ad5c1f85f08478ad66424c, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_281622f2e8fd576dae1b13441146f58b.cpp b/src/py/wrapper/wrapper_281622f2e8fd576dae1b13441146f58b.cpp deleted file mode 100644 index 55553b5f..00000000 --- a/src/py/wrapper/wrapper_281622f2e8fd576dae1b13441146f58b.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_bec9566eb66f52b88c9504961ea4177c)()const= &::statiskit::ActiveEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_281622f2e8fd576dae1b13441146f58b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_281622f2e8fd576dae1b13441146f58b(module, "_ActiveEstimation_281622f2e8fd576dae1b13441146f58b", ""); - class_281622f2e8fd576dae1b13441146f58b.def(pybind11::init< >()); - class_281622f2e8fd576dae1b13441146f58b.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_281622f2e8fd576dae1b13441146f58b.def(pybind11::init< class ::statiskit::BinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_281622f2e8fd576dae1b13441146f58b.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_281622f2e8fd576dae1b13441146f58b.def("get_data", method_pointer_bec9566eb66f52b88c9504961ea4177c, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_281a291cf9465a1e9af25cbee1cf5bad.cpp b/src/py/wrapper/wrapper_281a291cf9465a1e9af25cbee1cf5bad.cpp deleted file mode 100644 index f845f913..00000000 --- a/src/py/wrapper/wrapper_281a291cf9465a1e9af25cbee1cf5bad.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::UnivariateHistogramDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_7f553b151400504591c3f5ee1cf1e65e)()const= &::statiskit::LazyEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_281a291cf9465a1e9af25cbee1cf5bad(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_281a291cf9465a1e9af25cbee1cf5bad(module, "_LazyEstimation_281a291cf9465a1e9af25cbee1cf5bad", ""); - class_281a291cf9465a1e9af25cbee1cf5bad.def(pybind11::init< >()); - class_281a291cf9465a1e9af25cbee1cf5bad.def(pybind11::init< class ::statiskit::UnivariateHistogramDistribution const * >()); - class_281a291cf9465a1e9af25cbee1cf5bad.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_281a291cf9465a1e9af25cbee1cf5bad.def("copy", method_pointer_7f553b151400504591c3f5ee1cf1e65e, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_28b80b998353537091198ca5f60cbdbf.cpp b/src/py/wrapper/wrapper_28b80b998353537091198ca5f60cbdbf.cpp deleted file mode 100644 index 692ec31a..00000000 --- a/src/py/wrapper/wrapper_28b80b998353537091198ca5f60cbdbf.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< double, ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_7c4a9e3f373159e8813d4d4fd7fd895f)()const= &::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_28b80b998353537091198ca5f60cbdbf(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_28b80b998353537091198ca5f60cbdbf(module, "_OptimizationEstimationImpl_28b80b998353537091198ca5f60cbdbf", ""); - class_28b80b998353537091198ca5f60cbdbf.def(pybind11::init< >()); - class_28b80b998353537091198ca5f60cbdbf.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_28b80b998353537091198ca5f60cbdbf.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_28b80b998353537091198ca5f60cbdbf.def("__len__", method_pointer_7c4a9e3f373159e8813d4d4fd7fd895f, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp b/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp deleted file mode 100644 index 13556fde..00000000 --- a/src/py/wrapper/wrapper_28ff0e97fdaa50f39207b3f08ac85ccd.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_28ff0e97fdaa50f39207b3f08ac85ccd(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_28ff0e97fdaa50f39207b3f08ac85ccd(module, "Estimator", ""); - class_28ff0e97fdaa50f39207b3f08ac85ccd.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp b/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp deleted file mode 100644 index 2ba8c496..00000000 --- a/src/py/wrapper/wrapper_2bc4b4cf9a315380aa25500e269996ba.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_2bc4b4cf9a315380aa25500e269996ba(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > > class_2bc4b4cf9a315380aa25500e269996ba(module, "Estimator", ""); - class_2bc4b4cf9a315380aa25500e269996ba.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp b/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp new file mode 100644 index 00000000..d0e47a7a --- /dev/null +++ b/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_2cb2b79ddcda5d669891ac34e006005a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_2cb2b79ddcda5d669891ac34e006005a(module, "_PolymorphicCopy_2cb2b79ddcda5d669891ac34e006005a", ""); + class_2cb2b79ddcda5d669891ac34e006005a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2d551f106ba85f3cb3acfbda4c8e17c7.cpp b/src/py/wrapper/wrapper_2d551f106ba85f3cb3acfbda4c8e17c7.cpp deleted file mode 100644 index 76b488b1..00000000 --- a/src/py/wrapper/wrapper_2d551f106ba85f3cb3acfbda4c8e17c7.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_be81edf2ea0653ba81c66712dbae1e0d)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::size; -struct ::statiskit::MultivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_b262ffec9c70564ca63c82a3e958c283)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_ea83afb236a2520c96267044bb709ec3)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_2d551f106ba85f3cb3acfbda4c8e17c7(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > > class_2d551f106ba85f3cb3acfbda4c8e17c7(module, "_Selection_2d551f106ba85f3cb3acfbda4c8e17c7", ""); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def(pybind11::init< >()); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def(pybind11::init< struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def("__len__", method_pointer_be81edf2ea0653ba81c66712dbae1e0d, ""); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def("get_estimation", method_pointer_b262ffec9c70564ca63c82a3e958c283, pybind11::return_value_policy::reference_internal, ""); - class_2d551f106ba85f3cb3acfbda4c8e17c7.def("get_score", method_pointer_ea83afb236a2520c96267044bb709ec3, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp b/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp deleted file mode 100644 index f084ce61..00000000 --- a/src/py/wrapper/wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_2ed469e0c4f55355aeeb648a0ae7c8f7(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_2ed469e0c4f55355aeeb648a0ae7c8f7(module, "Estimator", ""); - class_2ed469e0c4f55355aeeb648a0ae7c8f7.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd.cpp b/src/py/wrapper/wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd.cpp deleted file mode 100644 index 81fd9d13..00000000 --- a/src/py/wrapper/wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_a9bf223f29c1590b90e0963f774b6cd8)()const= &::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_2ee8bfaab59653a08d72e8d97ec7b5dd(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_2ee8bfaab59653a08d72e8d97ec7b5dd(module, "_LazyEstimation_2ee8bfaab59653a08d72e8d97ec7b5dd", ""); - class_2ee8bfaab59653a08d72e8d97ec7b5dd.def(pybind11::init< >()); - class_2ee8bfaab59653a08d72e8d97ec7b5dd.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistribution const * >()); - class_2ee8bfaab59653a08d72e8d97ec7b5dd.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_2ee8bfaab59653a08d72e8d97ec7b5dd.def("copy", method_pointer_a9bf223f29c1590b90e0963f774b6cd8, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp b/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp deleted file mode 100644 index ef9fc2bc..00000000 --- a/src/py/wrapper/wrapper_2ff2806eb8795c00b3220e66ed037bae.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_3b15dd13d58f5621aef0faf3baab830e; - virtual return_type_3b15dd13d58f5621aef0faf3baab830e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3b15dd13d58f5621aef0faf3baab830e, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_2ff2806eb8795c00b3220e66ed037bae(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_2ff2806eb8795c00b3220e66ed037bae(module, "_PolymorphicCopy_2ff2806eb8795c00b3220e66ed037bae", ""); - class_2ff2806eb8795c00b3220e66ed037bae.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp b/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp deleted file mode 100644 index 1b59823b..00000000 --- a/src/py/wrapper/wrapper_30b90e733d3b5718b760496782efec78.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f8b834cb036053208f0363c03de22f19; - virtual return_type_f8b834cb036053208f0363c03de22f19 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f8b834cb036053208f0363c03de22f19, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_ca4ace19940e584a9d9874ea517d3698; - virtual return_type_ca4ace19940e584a9d9874ea517d3698 children() const override { PYBIND11_OVERLOAD(return_type_ca4ace19940e584a9d9874ea517d3698, class_type, children, ); }; - typedef double return_type_26031caefebc58d18c7e0990c9c8afcd; - typedef struct ::statiskit::UnivariateDistribution const * param_26031caefebc58d18c7e0990c9c8afcd_0_type; - typedef struct ::statiskit::UnivariateData const & param_26031caefebc58d18c7e0990c9c8afcd_1_type; - virtual return_type_26031caefebc58d18c7e0990c9c8afcd scoring(param_26031caefebc58d18c7e0990c9c8afcd_0_type param_0, param_26031caefebc58d18c7e0990c9c8afcd_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_26031caefebc58d18c7e0990c9c8afcd, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_b373cbbc64b45c8399cc598cb190014c; - typedef struct ::statiskit::UnivariateData const & param_b373cbbc64b45c8399cc598cb190014c_0_type; - typedef bool const & param_b373cbbc64b45c8399cc598cb190014c_1_type; - virtual return_type_b373cbbc64b45c8399cc598cb190014c operator()(param_b373cbbc64b45c8399cc598cb190014c_0_type param_0, param_b373cbbc64b45c8399cc598cb190014c_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b373cbbc64b45c8399cc598cb190014c, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_30b90e733d3b5718b760496782efec78(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_30b90e733d3b5718b760496782efec78(module, "_PolymorphicCopy_30b90e733d3b5718b760496782efec78", ""); - class_30b90e733d3b5718b760496782efec78.def(pybind11::init< >()); - class_30b90e733d3b5718b760496782efec78.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_30db7beed1bd54e38566ef11693e0e60.cpp b/src/py/wrapper/wrapper_30db7beed1bd54e38566ef11693e0e60.cpp deleted file mode 100644 index f7a667e5..00000000 --- a/src/py/wrapper/wrapper_30db7beed1bd54e38566ef11693e0e60.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_e776412d512c5ddb85f7bf44bae4f2c9)()const= &::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_30db7beed1bd54e38566ef11693e0e60(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_30db7beed1bd54e38566ef11693e0e60(module, "_ActiveEstimation_30db7beed1bd54e38566ef11693e0e60", ""); - class_30db7beed1bd54e38566ef11693e0e60.def(pybind11::init< >()); - class_30db7beed1bd54e38566ef11693e0e60.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_30db7beed1bd54e38566ef11693e0e60.def(pybind11::init< struct ::statiskit::ContinuousUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_30db7beed1bd54e38566ef11693e0e60.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_30db7beed1bd54e38566ef11693e0e60.def("get_data", method_pointer_e776412d512c5ddb85f7bf44bae4f2c9, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp b/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp deleted file mode 100644 index 653fb6ed..00000000 --- a/src/py/wrapper/wrapper_3185f3f8abfe5447acd1b43172130b8e.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_0def23e37b8e561c9b9ff59c00924f09; - virtual return_type_0def23e37b8e561c9b9ff59c00924f09 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0def23e37b8e561c9b9ff59c00924f09, class_type, copy, ); }; - typedef double return_type_7da327a8236953bdbdbe7d839fab134b; - typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; - virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_db766366b24e53159689129a8160deae; - virtual return_type_db766366b24e53159689129a8160deae generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_db766366b24e53159689129a8160deae, class_type, generator, ); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; - virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; - typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; - virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; - typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; - virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; - virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_3185f3f8abfe5447acd1b43172130b8e(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, class ::statiskit::WeightedMultivariateData, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > > >::Type, class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > > class_3185f3f8abfe5447acd1b43172130b8e(module, "_PolymorphicCopy_3185f3f8abfe5447acd1b43172130b8e", ""); - class_3185f3f8abfe5447acd1b43172130b8e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3201f3b07b0254eb8ef2d0c42eff2557.cpp b/src/py/wrapper/wrapper_3201f3b07b0254eb8ef2d0c42eff2557.cpp deleted file mode 100644 index e8893967..00000000 --- a/src/py/wrapper/wrapper_3201f3b07b0254eb8ef2d0c42eff2557.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::UnivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::*method_pointer_0aaf13ac5d0754b2bbb6101c6a0847ba)()const= &::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_3201f3b07b0254eb8ef2d0c42eff2557(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > > class_3201f3b07b0254eb8ef2d0c42eff2557(module, "_ActiveEstimation_3201f3b07b0254eb8ef2d0c42eff2557", ""); - class_3201f3b07b0254eb8ef2d0c42eff2557.def(pybind11::init< >()); - class_3201f3b07b0254eb8ef2d0c42eff2557.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_3201f3b07b0254eb8ef2d0c42eff2557.def(pybind11::init< struct ::statiskit::ContinuousUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_3201f3b07b0254eb8ef2d0c42eff2557.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > const & >()); - class_3201f3b07b0254eb8ef2d0c42eff2557.def("get_data", method_pointer_0aaf13ac5d0754b2bbb6101c6a0847ba, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3312cf49434759ee93e09764ddc76065.cpp b/src/py/wrapper/wrapper_3312cf49434759ee93e09764ddc76065.cpp deleted file mode 100644 index 450010b2..00000000 --- a/src/py/wrapper/wrapper_3312cf49434759ee93e09764ddc76065.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_58cf0b13ace755bf959ade66df5d35d0)()const= &::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_3312cf49434759ee93e09764ddc76065(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation > class_3312cf49434759ee93e09764ddc76065(module, "_LazyEstimation_3312cf49434759ee93e09764ddc76065", ""); - class_3312cf49434759ee93e09764ddc76065.def(pybind11::init< >()); - class_3312cf49434759ee93e09764ddc76065.def(pybind11::init< struct ::statiskit::CategoricalUnivariateDistribution const * >()); - class_3312cf49434759ee93e09764ddc76065.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_3312cf49434759ee93e09764ddc76065.def("copy", method_pointer_58cf0b13ace755bf959ade66df5d35d0, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp b/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp deleted file mode 100644 index 3386e87a..00000000 --- a/src/py/wrapper/wrapper_3389d2f38d825c49975e5cfc9a0517d5.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0388db40fe585921af9148fd9208197d; - virtual return_type_0388db40fe585921af9148fd9208197d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0388db40fe585921af9148fd9208197d, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_3389d2f38d825c49975e5cfc9a0517d5(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_3389d2f38d825c49975e5cfc9a0517d5(module, "_PolymorphicCopy_3389d2f38d825c49975e5cfc9a0517d5", ""); - class_3389d2f38d825c49975e5cfc9a0517d5.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp b/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp deleted file mode 100644 index 79073990..00000000 --- a/src/py/wrapper/wrapper_346ee3489d025beead99ffc0c8770939.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_55e0ad648dde5414b320fb3f17e3b500; - virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; - typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; - virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; - typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; - typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; - virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_d2667e9b67005a438b7ac1df1fc16889)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_d4439334c78255789ad4fae657e51987)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_dbe69e5ee0bf5a41aacdda29626d1a4e)(::statiskit::Index const &, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_de2857cfb7f95083849d5ba76a6d37a2)(struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_2e71c69036445fb9b45284b1b7289763)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_346ee3489d025beead99ffc0c8770939(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator > class_346ee3489d025beead99ffc0c8770939(module, "Estimator", ""); - class_346ee3489d025beead99ffc0c8770939.def("__len__", method_pointer_d2667e9b67005a438b7ac1df1fc16889, ""); - class_346ee3489d025beead99ffc0c8770939.def("get_estimator", method_pointer_d4439334c78255789ad4fae657e51987, pybind11::return_value_policy::reference_internal, ""); - class_346ee3489d025beead99ffc0c8770939.def("set_estimator", method_pointer_dbe69e5ee0bf5a41aacdda29626d1a4e, ""); - class_346ee3489d025beead99ffc0c8770939.def("add_estimator", method_pointer_de2857cfb7f95083849d5ba76a6d37a2, ""); - class_346ee3489d025beead99ffc0c8770939.def("remove_estimator", method_pointer_2e71c69036445fb9b45284b1b7289763, ""); - class_346ee3489d025beead99ffc0c8770939.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_360ceb38fb075feb99dc83054d31e423.cpp b/src/py/wrapper/wrapper_360ceb38fb075feb99dc83054d31e423.cpp deleted file mode 100644 index da4e7138..00000000 --- a/src/py/wrapper/wrapper_360ceb38fb075feb99dc83054d31e423.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_b7d0903b6b7a512089a91025ed70395d)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_d5ebb7c8e0875452be7cb0439b63a712)(enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_360ceb38fb075feb99dc83054d31e423(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator > > class_360ceb38fb075feb99dc83054d31e423(module, "CriterionEstimator", ""); - class_360ceb38fb075feb99dc83054d31e423.def(pybind11::init< >()); - class_360ceb38fb075feb99dc83054d31e423.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_360ceb38fb075feb99dc83054d31e423.def("get_criterion", method_pointer_b7d0903b6b7a512089a91025ed70395d, pybind11::return_value_policy::copy, ""); - class_360ceb38fb075feb99dc83054d31e423.def("set_criterion", method_pointer_d5ebb7c8e0875452be7cb0439b63a712, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8.cpp b/src/py/wrapper/wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8.cpp deleted file mode 100644 index ba0cc577..00000000 --- a/src/py/wrapper/wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::UnivariateHistogramDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_ee7ffbd54c2a5cae8e84388fb1d836e9)()const= &::statiskit::ActiveEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_36c99cd43c5c5fb8abeb0fd1ca103ac8(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_36c99cd43c5c5fb8abeb0fd1ca103ac8(module, "_ActiveEstimation_36c99cd43c5c5fb8abeb0fd1ca103ac8", ""); - class_36c99cd43c5c5fb8abeb0fd1ca103ac8.def(pybind11::init< >()); - class_36c99cd43c5c5fb8abeb0fd1ca103ac8.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_36c99cd43c5c5fb8abeb0fd1ca103ac8.def(pybind11::init< class ::statiskit::UnivariateHistogramDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_36c99cd43c5c5fb8abeb0fd1ca103ac8.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_36c99cd43c5c5fb8abeb0fd1ca103ac8.def("get_data", method_pointer_ee7ffbd54c2a5cae8e84388fb1d836e9, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_39bbeb58de54579b934e5a56a51b377c.cpp b/src/py/wrapper/wrapper_39bbeb58de54579b934e5a56a51b377c.cpp deleted file mode 100644 index e3dab9e0..00000000 --- a/src/py/wrapper/wrapper_39bbeb58de54579b934e5a56a51b377c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_b64d763a388257dc9ef0a9df46b66761)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_39bbeb58de54579b934e5a56a51b377c(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_39bbeb58de54579b934e5a56a51b377c(module, "_OptimizationEstimationImpl_39bbeb58de54579b934e5a56a51b377c", ""); - class_39bbeb58de54579b934e5a56a51b377c.def(pybind11::init< >()); - class_39bbeb58de54579b934e5a56a51b377c.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_39bbeb58de54579b934e5a56a51b377c.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_39bbeb58de54579b934e5a56a51b377c.def("__len__", method_pointer_b64d763a388257dc9ef0a9df46b66761, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3b2e19fa74a45eb49f08742886108635.cpp b/src/py/wrapper/wrapper_3b2e19fa74a45eb49f08742886108635.cpp deleted file mode 100644 index f70b1059..00000000 --- a/src/py/wrapper/wrapper_3b2e19fa74a45eb49f08742886108635.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::GeometricDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_987331533ec95ef299bec4217d054eae)()const= &::statiskit::LazyEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_3b2e19fa74a45eb49f08742886108635(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_3b2e19fa74a45eb49f08742886108635(module, "_LazyEstimation_3b2e19fa74a45eb49f08742886108635", ""); - class_3b2e19fa74a45eb49f08742886108635.def(pybind11::init< >()); - class_3b2e19fa74a45eb49f08742886108635.def(pybind11::init< class ::statiskit::GeometricDistribution const * >()); - class_3b2e19fa74a45eb49f08742886108635.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_3b2e19fa74a45eb49f08742886108635.def("copy", method_pointer_987331533ec95ef299bec4217d054eae, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp b/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp deleted file mode 100644 index f5cbb00d..00000000 --- a/src/py/wrapper/wrapper_3b85938d896e56519b8342119ca08869.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_211930b4467c5394b7933fdf64c94e73; - virtual return_type_211930b4467c5394b7933fdf64c94e73 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_211930b4467c5394b7933fdf64c94e73, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1b474f5a5e7a5dc3894e485ae0076666; - virtual return_type_1b474f5a5e7a5dc3894e485ae0076666 children() const override { PYBIND11_OVERLOAD(return_type_1b474f5a5e7a5dc3894e485ae0076666, class_type, children, ); }; - typedef double return_type_75c720739866535bb74aece0734d68b3; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_75c720739866535bb74aece0734d68b3_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_75c720739866535bb74aece0734d68b3_1_type; - virtual return_type_75c720739866535bb74aece0734d68b3 scoring(param_75c720739866535bb74aece0734d68b3_0_type param_0, param_75c720739866535bb74aece0734d68b3_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_75c720739866535bb74aece0734d68b3, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_76b103f5f72b5db48313a44c94356068; - typedef class ::statiskit::MultivariateConditionalData const & param_76b103f5f72b5db48313a44c94356068_0_type; - typedef bool const & param_76b103f5f72b5db48313a44c94356068_1_type; - virtual return_type_76b103f5f72b5db48313a44c94356068 operator()(param_76b103f5f72b5db48313a44c94356068_0_type param_0, param_76b103f5f72b5db48313a44c94356068_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_76b103f5f72b5db48313a44c94356068, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_3b85938d896e56519b8342119ca08869(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator > class_3b85938d896e56519b8342119ca08869(module, "_PolymorphicCopy_3b85938d896e56519b8342119ca08869", ""); - class_3b85938d896e56519b8342119ca08869.def(pybind11::init< >()); - class_3b85938d896e56519b8342119ca08869.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3c1962795bd85111b3372c4c25474792.cpp b/src/py/wrapper/wrapper_3c1962795bd85111b3372c4c25474792.cpp deleted file mode 100644 index a61d82d4..00000000 --- a/src/py/wrapper/wrapper_3c1962795bd85111b3372c4c25474792.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_c60ad46aefe7550699276b8ac222a783)(::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_9e6ac2252c075d89913043886538a5fe)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_5922af63cd96559a83f91aa2ec43a6c1)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_085754db0e6050848cbdbea7fccbfe76)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_b163f9216c3c5b4cb6373e528dc3c391)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_3f6db6f702645b48a03cf0a47ddb7eb6)(::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_34ec9c116bc25c4f8c93a0e703674b1c)(::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::at; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_0b5a0b015692530aaf462c7b4d9143da)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::front; -::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_5ba1df653cc45a799e14357a2bdd09e4)()const= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::back; -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_c60ae9be687b5b2ba486110bf227b155)(::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_040731f2f3b85370a606a38523c4a735)()= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_e983d7fa067d5783bc114f8d6faa3834)(class ::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > > &)= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::DiscreteMultivariateDistribution *, ::std::allocator< ::statiskit::DiscreteMultivariateDistribution * > >::*method_pointer_e850f79fd4b9582dbcc0ae6a83a2b922)()= &::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_3c1962795bd85111b3372c4c25474792(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > > >::Type > class_3c1962795bd85111b3372c4c25474792(module, "_Vector_3c1962795bd85111b3372c4c25474792", ""); - class_3c1962795bd85111b3372c4c25474792.def(pybind11::init< >()); - class_3c1962795bd85111b3372c4c25474792.def(pybind11::init< class ::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > > const & >()); - class_3c1962795bd85111b3372c4c25474792.def("assign", method_pointer_c60ad46aefe7550699276b8ac222a783, ""); - class_3c1962795bd85111b3372c4c25474792.def("__len__", method_pointer_9e6ac2252c075d89913043886538a5fe, ""); - class_3c1962795bd85111b3372c4c25474792.def("max_size", method_pointer_5922af63cd96559a83f91aa2ec43a6c1, ""); - class_3c1962795bd85111b3372c4c25474792.def("capacity", method_pointer_085754db0e6050848cbdbea7fccbfe76, ""); - class_3c1962795bd85111b3372c4c25474792.def("empty", method_pointer_b163f9216c3c5b4cb6373e528dc3c391, ""); - class_3c1962795bd85111b3372c4c25474792.def("reserve", method_pointer_3f6db6f702645b48a03cf0a47ddb7eb6, ""); - class_3c1962795bd85111b3372c4c25474792.def("at", method_pointer_34ec9c116bc25c4f8c93a0e703674b1c, pybind11::return_value_policy::reference_internal, ""); - class_3c1962795bd85111b3372c4c25474792.def("front", method_pointer_0b5a0b015692530aaf462c7b4d9143da, pybind11::return_value_policy::reference_internal, ""); - class_3c1962795bd85111b3372c4c25474792.def("back", method_pointer_5ba1df653cc45a799e14357a2bdd09e4, pybind11::return_value_policy::reference_internal, ""); - class_3c1962795bd85111b3372c4c25474792.def("push_back", method_pointer_c60ae9be687b5b2ba486110bf227b155, ""); - class_3c1962795bd85111b3372c4c25474792.def("pop_back", method_pointer_040731f2f3b85370a606a38523c4a735, ""); - class_3c1962795bd85111b3372c4c25474792.def("swap", method_pointer_e983d7fa067d5783bc114f8d6faa3834, ""); - class_3c1962795bd85111b3372c4c25474792.def("clear", method_pointer_e850f79fd4b9582dbcc0ae6a83a2b922, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp b/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp deleted file mode 100644 index 9605392a..00000000 --- a/src/py/wrapper/wrapper_3c4215c1e4465be3a5f234b657381458.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::SingularDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - - typedef ::statiskit::SingularDistributionEstimation::estimated_type const * return_type_5a217a5a2172529fb9cae0338394139f; - virtual return_type_5a217a5a2172529fb9cae0338394139f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_5a217a5a2172529fb9cae0338394139f, class_type, get_estimated, ); }; - }; -} - -::statiskit::SingularDistributionEstimation::estimated_type const * (::statiskit::SingularDistributionEstimation::*method_pointer_5a217a5a2172529fb9cae0338394139f)()const= &::statiskit::SingularDistributionEstimation::get_estimated; - -namespace autowig { -} - -void wrapper_3c4215c1e4465be3a5f234b657381458(pybind11::module& module) -{ - - pybind11::class_::Type > class_3c4215c1e4465be3a5f234b657381458(module, "SingularDistributionEstimation", ""); - class_3c4215c1e4465be3a5f234b657381458.def("get_estimated", method_pointer_5a217a5a2172529fb9cae0338394139f, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp b/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp deleted file mode 100644 index cda775cd..00000000 --- a/src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_35a1d72c2afe50abae544c7b85e81bf1)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_99ae7dd9f31d5974bde957949a5035c4)(double const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_83064646869d5d85a9ac96b3e9c8a59a)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_da042cc8718c58c5b1f93c727825184b)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_b163c4dfab725029a48aa0aacfca11b8)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_499fd696e18e520599ff940988b0bcb7)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_3d6a15edb2225daba874c2b80defe6b4(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_3d6a15edb2225daba874c2b80defe6b4(module, "_Optimization_3d6a15edb2225daba874c2b80defe6b4", ""); - class_3d6a15edb2225daba874c2b80defe6b4.def(pybind11::init< >()); - class_3d6a15edb2225daba874c2b80defe6b4.def("get_mindiff", method_pointer_35a1d72c2afe50abae544c7b85e81bf1, pybind11::return_value_policy::copy, ""); - class_3d6a15edb2225daba874c2b80defe6b4.def("set_mindiff", method_pointer_99ae7dd9f31d5974bde957949a5035c4, ""); - class_3d6a15edb2225daba874c2b80defe6b4.def("get_minits", method_pointer_83064646869d5d85a9ac96b3e9c8a59a, ""); - class_3d6a15edb2225daba874c2b80defe6b4.def("set_minits", method_pointer_da042cc8718c58c5b1f93c727825184b, ""); - class_3d6a15edb2225daba874c2b80defe6b4.def("get_maxits", method_pointer_b163c4dfab725029a48aa0aacfca11b8, ""); - class_3d6a15edb2225daba874c2b80defe6b4.def("set_maxits", method_pointer_499fd696e18e520599ff940988b0bcb7, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3ee8eb16efa65e34aae8ad9f32dcb983.cpp b/src/py/wrapper/wrapper_3ee8eb16efa65e34aae8ad9f32dcb983.cpp deleted file mode 100644 index 204e45d6..00000000 --- a/src/py/wrapper/wrapper_3ee8eb16efa65e34aae8ad9f32dcb983.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::UnivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::*method_pointer_67bd25f66bd65a22852d6cd86376d6bb)()const= &::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_3ee8eb16efa65e34aae8ad9f32dcb983(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > > class_3ee8eb16efa65e34aae8ad9f32dcb983(module, "_ActiveEstimation_3ee8eb16efa65e34aae8ad9f32dcb983", ""); - class_3ee8eb16efa65e34aae8ad9f32dcb983.def(pybind11::init< >()); - class_3ee8eb16efa65e34aae8ad9f32dcb983.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_3ee8eb16efa65e34aae8ad9f32dcb983.def(pybind11::init< struct ::statiskit::CategoricalUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_3ee8eb16efa65e34aae8ad9f32dcb983.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > const & >()); - class_3ee8eb16efa65e34aae8ad9f32dcb983.def("get_data", method_pointer_67bd25f66bd65a22852d6cd86376d6bb, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c.cpp b/src/py/wrapper/wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c.cpp deleted file mode 100644 index e580c91a..00000000 --- a/src/py/wrapper/wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::QuantitativeUnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_4772ee92dc7958f9a8618ca288e32d18)()const= &::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_3fd024ee203f5dbeb9a9f3392ca1db8c(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_3fd024ee203f5dbeb9a9f3392ca1db8c(module, "_LazyEstimation_3fd024ee203f5dbeb9a9f3392ca1db8c", ""); - class_3fd024ee203f5dbeb9a9f3392ca1db8c.def(pybind11::init< >()); - class_3fd024ee203f5dbeb9a9f3392ca1db8c.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const * >()); - class_3fd024ee203f5dbeb9a9f3392ca1db8c.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_3fd024ee203f5dbeb9a9f3392ca1db8c.def("copy", method_pointer_4772ee92dc7958f9a8618ca288e32d18, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp b/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp deleted file mode 100644 index 862c9bf7..00000000 --- a/src/py/wrapper/wrapper_3fdfbd3fa64657cebd5a4166db8b26a9.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_28dc383dfbf7582aa9f956fa8a4a6234; - virtual return_type_28dc383dfbf7582aa9f956fa8a4a6234 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_28dc383dfbf7582aa9f956fa8a4a6234, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_3fdfbd3fa64657cebd5a4166db8b26a9(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_3fdfbd3fa64657cebd5a4166db8b26a9(module, "_PolymorphicCopy_3fdfbd3fa64657cebd5a4166db8b26a9", ""); - class_3fdfbd3fa64657cebd5a4166db8b26a9.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp new file mode 100644 index 00000000..64e2e1c6 --- /dev/null +++ b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; + virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_4045395044115f8ca0008a4001f465bf(pybind11::module& module) +{ + + pybind11::class_::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_4045395044115f8ca0008a4001f465bf(module, "_PolymorphicCopy_4045395044115f8ca0008a4001f465bf", ""); + class_4045395044115f8ca0008a4001f465bf.def(pybind11::init< >()); + class_4045395044115f8ca0008a4001f465bf.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_40c631b5a67d5748bbfdeaa0beedb4e0.cpp b/src/py/wrapper/wrapper_40c631b5a67d5748bbfdeaa0beedb4e0.cpp deleted file mode 100644 index 67ed5fbd..00000000 --- a/src/py/wrapper/wrapper_40c631b5a67d5748bbfdeaa0beedb4e0.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_d6209a392daf52c787c283337e60992a)()const= &::statiskit::LazyEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_40c631b5a67d5748bbfdeaa0beedb4e0(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_40c631b5a67d5748bbfdeaa0beedb4e0(module, "_LazyEstimation_40c631b5a67d5748bbfdeaa0beedb4e0", ""); - class_40c631b5a67d5748bbfdeaa0beedb4e0.def(pybind11::init< >()); - class_40c631b5a67d5748bbfdeaa0beedb4e0.def(pybind11::init< class ::statiskit::BinomialDistribution const * >()); - class_40c631b5a67d5748bbfdeaa0beedb4e0.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_40c631b5a67d5748bbfdeaa0beedb4e0.def("copy", method_pointer_d6209a392daf52c787c283337e60992a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp b/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp deleted file mode 100644 index 5236ce97..00000000 --- a/src/py/wrapper/wrapper_413148ff15d05180b4dbaaac395b3625.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_413148ff15d05180b4dbaaac395b3625(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_413148ff15d05180b4dbaaac395b3625(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_41f94682b11f5bf481e7cf7033a93181.cpp b/src/py/wrapper/wrapper_41f94682b11f5bf481e7cf7033a93181.cpp deleted file mode 100644 index ac2aeffd..00000000 --- a/src/py/wrapper/wrapper_41f94682b11f5bf481e7cf7033a93181.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_96dbc1c9731858b498a8f564c45fa63c)(::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_8803e992af895d5f815bfe05a63fb0ea)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_7450d999aa405009b048b8fe5db4e33b)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_bc31fcaaa6d3563abb96a6bdb8d54226)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_d227bac97a715e5ab44a47525c0d4b8a)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_0cba4ee5fa3d5a35a6fd52b32e789303)(::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_dfe832c45e5b518f84c3e7f51a00b471)(::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::at; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_72cf9d939ad8545d943bb4c25ff8ca10)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::front; -::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_4ba3015129d252be935ca2b241fdaf87)()const= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::back; -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_eaef2ac6a5c554349616ed2dfe6a5ba4)(::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_9095d0a0360654ee8aebf3b38477abc7)()= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_b2251bea6aa75ecf8b7776779ede513e)(class ::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > > &)= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::CategoricalUnivariateDistribution *, ::std::allocator< ::statiskit::CategoricalUnivariateDistribution * > >::*method_pointer_5d221604a8bd593d8422e59ee640139c)()= &::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_41f94682b11f5bf481e7cf7033a93181(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > > >::Type > class_41f94682b11f5bf481e7cf7033a93181(module, "_Vector_41f94682b11f5bf481e7cf7033a93181", ""); - class_41f94682b11f5bf481e7cf7033a93181.def(pybind11::init< >()); - class_41f94682b11f5bf481e7cf7033a93181.def(pybind11::init< class ::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > > const & >()); - class_41f94682b11f5bf481e7cf7033a93181.def("assign", method_pointer_96dbc1c9731858b498a8f564c45fa63c, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("__len__", method_pointer_8803e992af895d5f815bfe05a63fb0ea, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("max_size", method_pointer_7450d999aa405009b048b8fe5db4e33b, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("capacity", method_pointer_bc31fcaaa6d3563abb96a6bdb8d54226, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("empty", method_pointer_d227bac97a715e5ab44a47525c0d4b8a, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("reserve", method_pointer_0cba4ee5fa3d5a35a6fd52b32e789303, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("at", method_pointer_dfe832c45e5b518f84c3e7f51a00b471, pybind11::return_value_policy::reference_internal, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("front", method_pointer_72cf9d939ad8545d943bb4c25ff8ca10, pybind11::return_value_policy::reference_internal, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("back", method_pointer_4ba3015129d252be935ca2b241fdaf87, pybind11::return_value_policy::reference_internal, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("push_back", method_pointer_eaef2ac6a5c554349616ed2dfe6a5ba4, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("pop_back", method_pointer_9095d0a0360654ee8aebf3b38477abc7, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("swap", method_pointer_b2251bea6aa75ecf8b7776779ede513e, ""); - class_41f94682b11f5bf481e7cf7033a93181.def("clear", method_pointer_5d221604a8bd593d8422e59ee640139c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp b/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp deleted file mode 100644 index 31b4770c..00000000 --- a/src/py/wrapper/wrapper_420aec1990555632bd8e6235f3099ec2.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_420aec1990555632bd8e6235f3099ec2(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_420aec1990555632bd8e6235f3099ec2(module, "_PolymorphicCopy_420aec1990555632bd8e6235f3099ec2", ""); - class_420aec1990555632bd8e6235f3099ec2.def(pybind11::init< >()); - class_420aec1990555632bd8e6235f3099ec2.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_423ed9cbac44541cb53a4cf80e6e15d5.cpp b/src/py/wrapper/wrapper_423ed9cbac44541cb53a4cf80e6e15d5.cpp deleted file mode 100644 index b2b11654..00000000 --- a/src/py/wrapper/wrapper_423ed9cbac44541cb53a4cf80e6e15d5.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::MultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_d853579033215139818e8452c7f0b180)()const= &::statiskit::LazyEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_423ed9cbac44541cb53a4cf80e6e15d5(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, struct ::statiskit::SingularDistributionEstimation > class_423ed9cbac44541cb53a4cf80e6e15d5(module, "_LazyEstimation_423ed9cbac44541cb53a4cf80e6e15d5", ""); - class_423ed9cbac44541cb53a4cf80e6e15d5.def(pybind11::init< >()); - class_423ed9cbac44541cb53a4cf80e6e15d5.def(pybind11::init< class ::statiskit::MultinomialSingularDistribution const * >()); - class_423ed9cbac44541cb53a4cf80e6e15d5.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_423ed9cbac44541cb53a4cf80e6e15d5.def("copy", method_pointer_d853579033215139818e8452c7f0b180, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp b/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp deleted file mode 100644 index 24b46e34..00000000 --- a/src/py/wrapper/wrapper_432843a5646c5268bb35f7309d2d4b33.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c82d383b9d4b56a280155ae882087ecb; - virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; - typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; - typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; - typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; - virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; - typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; - typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; - virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_807c80fd452557d9b51fc9ba6fe0fb51)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_3331f973eb6f54cfbc3a92ac3b1ce848)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_844a99ccd8035b3e821357f54f18b079)(::statiskit::Index const &, struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_2ed566579fdf57c184b491616d1dff20)(struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_c5fa489625b75bf18853395363cbdd64)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_432843a5646c5268bb35f7309d2d4b33(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > class_432843a5646c5268bb35f7309d2d4b33(module, "Estimator", ""); - class_432843a5646c5268bb35f7309d2d4b33.def("__len__", method_pointer_807c80fd452557d9b51fc9ba6fe0fb51, ""); - class_432843a5646c5268bb35f7309d2d4b33.def("get_estimator", method_pointer_3331f973eb6f54cfbc3a92ac3b1ce848, pybind11::return_value_policy::reference_internal, ""); - class_432843a5646c5268bb35f7309d2d4b33.def("set_estimator", method_pointer_844a99ccd8035b3e821357f54f18b079, ""); - class_432843a5646c5268bb35f7309d2d4b33.def("add_estimator", method_pointer_2ed566579fdf57c184b491616d1dff20, ""); - class_432843a5646c5268bb35f7309d2d4b33.def("remove_estimator", method_pointer_c5fa489625b75bf18853395363cbdd64, ""); - class_432843a5646c5268bb35f7309d2d4b33.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp b/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp deleted file mode 100644 index 27f63064..00000000 --- a/src/py/wrapper/wrapper_43d603893a165ed2bf34ad286a50f22e.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_f7ce59e3c2a75d608a6dbf9d4d96253d; - virtual return_type_f7ce59e3c2a75d608a6dbf9d4d96253d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f7ce59e3c2a75d608a6dbf9d4d96253d, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_43d603893a165ed2bf34ad286a50f22e(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, struct ::statiskit::SingularDistributionEstimation::Estimator > >::Type, struct ::statiskit::SingularDistributionEstimation::Estimator > class_43d603893a165ed2bf34ad286a50f22e(module, "_PolymorphicCopy_43d603893a165ed2bf34ad286a50f22e", ""); - class_43d603893a165ed2bf34ad286a50f22e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_446f651133d55eebbb2e7b65c75f4477.cpp b/src/py/wrapper/wrapper_446f651133d55eebbb2e7b65c75f4477.cpp deleted file mode 100644 index 33ff11bc..00000000 --- a/src/py/wrapper/wrapper_446f651133d55eebbb2e7b65c75f4477.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_48331612c6b050d297a965bc08d631e3)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_e5bb55005097548cb43c61526b3fe4f3)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_bbe4939ea1255cb4a7d50a7a7f59d9dc)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_c81eb4cebb5e59838ebccc17b5caff5d)(struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_aa6ef24a31ff5f168defe1f7d18eba74)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_5b98ab0e08715fbbb37a547541a919e2)(::statiskit::Index const &, struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::CategoricalUnivariateMixtureDistribution const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_fa34b875735c576889b76188583fbdeb)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_f6577bcc0efd58f68abf9c4d0e57e6fa)(struct ::statiskit::CategoricalUnivariateMixtureDistribution const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_5eb2a331eb3b53f38545cac4bf37c385)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_1670b3a1a1b15e52808578df65548524)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_446f651133d55eebbb2e7b65c75f4477(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_446f651133d55eebbb2e7b65c75f4477(module, "Estimator", ""); - class_446f651133d55eebbb2e7b65c75f4477.def(pybind11::init< >()); - class_446f651133d55eebbb2e7b65c75f4477.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator const & >()); - class_446f651133d55eebbb2e7b65c75f4477.def("get_pi", method_pointer_48331612c6b050d297a965bc08d631e3, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("set_pi", method_pointer_e5bb55005097548cb43c61526b3fe4f3, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("get_default_estimator", method_pointer_bbe4939ea1255cb4a7d50a7a7f59d9dc, pybind11::return_value_policy::reference_internal, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("set_default_estimator", method_pointer_c81eb4cebb5e59838ebccc17b5caff5d, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("get_estimator", method_pointer_aa6ef24a31ff5f168defe1f7d18eba74, pybind11::return_value_policy::reference_internal, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("set_estimator", method_pointer_5b98ab0e08715fbbb37a547541a919e2, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("get_initializator", method_pointer_fa34b875735c576889b76188583fbdeb, pybind11::return_value_policy::reference_internal, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("set_initializator", method_pointer_f6577bcc0efd58f68abf9c4d0e57e6fa, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("get_limit", method_pointer_5eb2a331eb3b53f38545cac4bf37c385, ""); - class_446f651133d55eebbb2e7b65c75f4477.def("set_limit", method_pointer_1670b3a1a1b15e52808578df65548524, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_44e7c25b7bde5df2a9f031c534765f11.cpp b/src/py/wrapper/wrapper_44e7c25b7bde5df2a9f031c534765f11.cpp deleted file mode 100644 index 157d21f3..00000000 --- a/src/py/wrapper/wrapper_44e7c25b7bde5df2a9f031c534765f11.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::*method_pointer_775dd261bf615d2cad5ecd7fbe14fa6a)()const= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::size; -struct ::statiskit::MultivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::*method_pointer_dd8df2374690581e8cae9c4f08ba33fa)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::*method_pointer_b15de295874259b3bc4cf1c602f3ad1f)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_44e7c25b7bde5df2a9f031c534765f11(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > > class_44e7c25b7bde5df2a9f031c534765f11(module, "_Selection_44e7c25b7bde5df2a9f031c534765f11", ""); - class_44e7c25b7bde5df2a9f031c534765f11.def(pybind11::init< >()); - class_44e7c25b7bde5df2a9f031c534765f11.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_44e7c25b7bde5df2a9f031c534765f11.def(pybind11::init< struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_44e7c25b7bde5df2a9f031c534765f11.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > const & >()); - class_44e7c25b7bde5df2a9f031c534765f11.def("__len__", method_pointer_775dd261bf615d2cad5ecd7fbe14fa6a, ""); - class_44e7c25b7bde5df2a9f031c534765f11.def("get_estimation", method_pointer_dd8df2374690581e8cae9c4f08ba33fa, pybind11::return_value_policy::reference_internal, ""); - class_44e7c25b7bde5df2a9f031c534765f11.def("get_score", method_pointer_b15de295874259b3bc4cf1c602f3ad1f, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp index 0fba6d33..6ec220a3 100644 --- a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp +++ b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp @@ -17,13 +17,13 @@ namespace autowig typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; - private: + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; - typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; - private: + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; }; @@ -32,7 +32,6 @@ namespace autowig { public: using class_type::operator(); - using class_type::copy; }; } @@ -44,10 +43,9 @@ namespace autowig { void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module) { - pybind11::class_::Type > class_4637f9b5c7175ff0880fd325a6eca119(module, "Estimator", ""); + pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > class_4637f9b5c7175ff0880fd325a6eca119(module, "Estimator", ""); class_4637f9b5c7175ff0880fd325a6eca119.def(pybind11::init< >()); class_4637f9b5c7175ff0880fd325a6eca119.def("__call__", method_pointer_45ab5c9717535df895abfb6127f37c74, ""); - class_4637f9b5c7175ff0880fd325a6eca119.def("____call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); - class_4637f9b5c7175ff0880fd325a6eca119.def("__copy", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) () const >(&autowig::Publicist::copy), ""); + class_4637f9b5c7175ff0880fd325a6eca119.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp b/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp deleted file mode 100644 index fe767894..00000000 --- a/src/py/wrapper/wrapper_473e4f9a05ed5118bd06e179489a35f4.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_156b4d4dac65559aa215ae8033a77464; - virtual return_type_156b4d4dac65559aa215ae8033a77464 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_156b4d4dac65559aa215ae8033a77464, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_473e4f9a05ed5118bd06e179489a35f4(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > >::Type, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_473e4f9a05ed5118bd06e179489a35f4(module, "_PolymorphicCopy_473e4f9a05ed5118bd06e179489a35f4", ""); - class_473e4f9a05ed5118bd06e179489a35f4.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_47713b069ca05573b21bd47acc8c8465.cpp b/src/py/wrapper/wrapper_47713b069ca05573b21bd47acc8c8465.cpp deleted file mode 100644 index 16c4f6c3..00000000 --- a/src/py/wrapper/wrapper_47713b069ca05573b21bd47acc8c8465.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_47713b069ca05573b21bd47acc8c8465(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_47713b069ca05573b21bd47acc8c8465(module, "criterion_type"); - enum_47713b069ca05573b21bd47acc8c8465.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_47713b069ca05573b21bd47acc8c8465.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_47713b069ca05573b21bd47acc8c8465.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_47713b069ca05573b21bd47acc8c8465.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_47713b069ca05573b21bd47acc8c8465.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_48bb93ba41cb566d971639633c42258d.cpp b/src/py/wrapper/wrapper_48bb93ba41cb566d971639633c42258d.cpp deleted file mode 100644 index 32449b91..00000000 --- a/src/py/wrapper/wrapper_48bb93ba41cb566d971639633c42258d.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< unsigned int, ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_60d56b9770965ab7a0f550f69a5d516e)()const= &::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_48bb93ba41cb566d971639633c42258d(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_48bb93ba41cb566d971639633c42258d(module, "_OptimizationEstimationImpl_48bb93ba41cb566d971639633c42258d", ""); - class_48bb93ba41cb566d971639633c42258d.def(pybind11::init< >()); - class_48bb93ba41cb566d971639633c42258d.def(pybind11::init< class ::statiskit::BinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_48bb93ba41cb566d971639633c42258d.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_48bb93ba41cb566d971639633c42258d.def("__len__", method_pointer_60d56b9770965ab7a0f550f69a5d516e, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp b/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp deleted file mode 100644 index 3b89c518..00000000 --- a/src/py/wrapper/wrapper_48bccb3a91fe5cebbca2f6105b37b2c5.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_c2857e0629345afa858086d561ab4c94; - virtual return_type_c2857e0629345afa858086d561ab4c94 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c2857e0629345afa858086d561ab4c94, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1863dd311c78529ba677c48bf437e4ae; - virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; - typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; - typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; - typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; - virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; - typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; - typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; - virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_48bccb3a91fe5cebbca2f6105b37b2c5(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_48bccb3a91fe5cebbca2f6105b37b2c5(module, "_PolymorphicCopy_48bccb3a91fe5cebbca2f6105b37b2c5", ""); - class_48bccb3a91fe5cebbca2f6105b37b2c5.def(pybind11::init< >()); - class_48bccb3a91fe5cebbca2f6105b37b2c5.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_49e18be963b9503a942009b04ff7e676.cpp b/src/py/wrapper/wrapper_49e18be963b9503a942009b04ff7e676.cpp deleted file mode 100644 index ec59ee6b..00000000 --- a/src/py/wrapper/wrapper_49e18be963b9503a942009b04ff7e676.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::PoissonDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_46bfaaee922a5586aadf5200139bca9c)()const= &::statiskit::LazyEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_49e18be963b9503a942009b04ff7e676(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_49e18be963b9503a942009b04ff7e676(module, "_LazyEstimation_49e18be963b9503a942009b04ff7e676", ""); - class_49e18be963b9503a942009b04ff7e676.def(pybind11::init< >()); - class_49e18be963b9503a942009b04ff7e676.def(pybind11::init< class ::statiskit::PoissonDistribution const * >()); - class_49e18be963b9503a942009b04ff7e676.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_49e18be963b9503a942009b04ff7e676.def("copy", method_pointer_46bfaaee922a5586aadf5200139bca9c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp b/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp deleted file mode 100644 index e59424f1..00000000 --- a/src/py/wrapper/wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_4aa85b4cf9ce5f04bf5cbe373b9fd705(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_4aa85b4cf9ce5f04bf5cbe373b9fd705(module, "Estimator", ""); - class_4aa85b4cf9ce5f04bf5cbe373b9fd705.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4b1365f753d05b8db1db0b529f5110f9.cpp b/src/py/wrapper/wrapper_4b1365f753d05b8db1db0b529f5110f9.cpp deleted file mode 100644 index bc8e1dcf..00000000 --- a/src/py/wrapper/wrapper_4b1365f753d05b8db1db0b529f5110f9.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_4b1365f753d05b8db1db0b529f5110f9(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > class_4b1365f753d05b8db1db0b529f5110f9(module, "_LazyEstimation_4b1365f753d05b8db1db0b529f5110f9", ""); - class_4b1365f753d05b8db1db0b529f5110f9.def(pybind11::init< >()); - class_4b1365f753d05b8db1db0b529f5110f9.def(pybind11::init< struct ::statiskit::DiscreteUnivariateConditionalDistribution const * >()); - class_4b1365f753d05b8db1db0b529f5110f9.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4ccf3378b28a52cf822b51336a473a25.cpp b/src/py/wrapper/wrapper_4ccf3378b28a52cf822b51336a473a25.cpp deleted file mode 100644 index 92a2da11..00000000 --- a/src/py/wrapper/wrapper_4ccf3378b28a52cf822b51336a473a25.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_4ccf3378b28a52cf822b51336a473a25(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_4ccf3378b28a52cf822b51336a473a25(module, "criterion_type"); - enum_4ccf3378b28a52cf822b51336a473a25.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_4ccf3378b28a52cf822b51336a473a25.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_4ccf3378b28a52cf822b51336a473a25.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_4ccf3378b28a52cf822b51336a473a25.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_4ccf3378b28a52cf822b51336a473a25.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4e58a130fe9e52ffa312f3e583614e93.cpp b/src/py/wrapper/wrapper_4e58a130fe9e52ffa312f3e583614e93.cpp deleted file mode 100644 index e2a410b4..00000000 --- a/src/py/wrapper/wrapper_4e58a130fe9e52ffa312f3e583614e93.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::UnivariateConditionalData::*method_pointer_891c77abd74058eb896acde63c8c306e)()const= &::statiskit::UnivariateConditionalData::size; -class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > > (::statiskit::UnivariateConditionalData::*method_pointer_22bc4df12bff5c14934cfd818d1859b5)()const= &::statiskit::UnivariateConditionalData::generator; -struct ::statiskit::UnivariateData const * (::statiskit::UnivariateConditionalData::*method_pointer_54f3f26ebc9f58639eaf0be516e8cc8e)()const= &::statiskit::UnivariateConditionalData::get_response; -struct ::statiskit::MultivariateData const * (::statiskit::UnivariateConditionalData::*method_pointer_6af1b5032326545795b1ddc9c78239ee)()const= &::statiskit::UnivariateConditionalData::get_explanatories; -class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > > (::statiskit::UnivariateConditionalData::*method_pointer_3e4d6e483f3257c9a3eeac0f5f8b8664)()const= &::statiskit::UnivariateConditionalData::copy; -double (::statiskit::UnivariateConditionalData::*method_pointer_53ae0ea110b759638cd974670309ca13)()const= &::statiskit::UnivariateConditionalData::compute_total; - -namespace autowig { -} - -void wrapper_4e58a130fe9e52ffa312f3e583614e93(pybind11::module& module) -{ - - pybind11::class_::Type > class_4e58a130fe9e52ffa312f3e583614e93(module, "UnivariateConditionalData", ""); - class_4e58a130fe9e52ffa312f3e583614e93.def(pybind11::init< struct ::statiskit::MultivariateData const &, ::statiskit::Index const &, ::statiskit::Indices const & >()); - class_4e58a130fe9e52ffa312f3e583614e93.def(pybind11::init< struct ::statiskit::UnivariateData const &, struct ::statiskit::MultivariateData const & >()); - class_4e58a130fe9e52ffa312f3e583614e93.def(pybind11::init< class ::statiskit::UnivariateConditionalData const & >()); - class_4e58a130fe9e52ffa312f3e583614e93.def("__len__", method_pointer_891c77abd74058eb896acde63c8c306e, ""); - class_4e58a130fe9e52ffa312f3e583614e93.def("__iter__", method_pointer_22bc4df12bff5c14934cfd818d1859b5, ""); - class_4e58a130fe9e52ffa312f3e583614e93.def("get_response", method_pointer_54f3f26ebc9f58639eaf0be516e8cc8e, pybind11::return_value_policy::reference_internal, ""); - class_4e58a130fe9e52ffa312f3e583614e93.def("get_explanatories", method_pointer_6af1b5032326545795b1ddc9c78239ee, pybind11::return_value_policy::reference_internal, ""); - class_4e58a130fe9e52ffa312f3e583614e93.def("copy", method_pointer_3e4d6e483f3257c9a3eeac0f5f8b8664, ""); - class_4e58a130fe9e52ffa312f3e583614e93.def("compute_total", method_pointer_53ae0ea110b759638cd974670309ca13, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_503849a008915707a02e604de7f58273.cpp b/src/py/wrapper/wrapper_503849a008915707a02e604de7f58273.cpp deleted file mode 100644 index 3c5fe608..00000000 --- a/src/py/wrapper/wrapper_503849a008915707a02e604de7f58273.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_0de45a973ac950faaca5e355509387a5)()const= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::size; -struct ::statiskit::SingularDistributionEstimation const * (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_12557a639d545aa0ab998aafb61048dd)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_d1c0f88f0cc75e1eacc8a731732f12ed)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_503849a008915707a02e604de7f58273(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_503849a008915707a02e604de7f58273(module, "_Selection_503849a008915707a02e604de7f58273", ""); - class_503849a008915707a02e604de7f58273.def(pybind11::init< >()); - class_503849a008915707a02e604de7f58273.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_503849a008915707a02e604de7f58273.def(pybind11::init< struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_503849a008915707a02e604de7f58273.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_503849a008915707a02e604de7f58273.def("__len__", method_pointer_0de45a973ac950faaca5e355509387a5, ""); - class_503849a008915707a02e604de7f58273.def("get_estimation", method_pointer_12557a639d545aa0ab998aafb61048dd, pybind11::return_value_policy::reference_internal, ""); - class_503849a008915707a02e604de7f58273.def("get_score", method_pointer_d1c0f88f0cc75e1eacc8a731732f12ed, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_50b1ee8b31d65a6c8c8652f8d3909202.cpp b/src/py/wrapper/wrapper_50b1ee8b31d65a6c8c8652f8d3909202.cpp deleted file mode 100644 index 386e01d3..00000000 --- a/src/py/wrapper/wrapper_50b1ee8b31d65a6c8c8652f8d3909202.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_50b1ee8b31d65a6c8c8652f8d3909202(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_50b1ee8b31d65a6c8c8652f8d3909202(module, "criterion_type"); - enum_50b1ee8b31d65a6c8c8652f8d3909202.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_50b1ee8b31d65a6c8c8652f8d3909202.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_50b1ee8b31d65a6c8c8652f8d3909202.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_50b1ee8b31d65a6c8c8652f8d3909202.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_50b1ee8b31d65a6c8c8652f8d3909202.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_51a269f41c995b2e8c33ae7f895f50ae.cpp b/src/py/wrapper/wrapper_51a269f41c995b2e8c33ae7f895f50ae.cpp deleted file mode 100644 index 54a7eafd..00000000 --- a/src/py/wrapper/wrapper_51a269f41c995b2e8c33ae7f895f50ae.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_51a269f41c995b2e8c33ae7f895f50ae(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, struct ::statiskit::MultivariateDistributionEstimation > class_51a269f41c995b2e8c33ae7f895f50ae(module, "_LazyEstimation_51a269f41c995b2e8c33ae7f895f50ae", ""); - class_51a269f41c995b2e8c33ae7f895f50ae.def(pybind11::init< >()); - class_51a269f41c995b2e8c33ae7f895f50ae.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const * >()); - class_51a269f41c995b2e8c33ae7f895f50ae.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp b/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp deleted file mode 100644 index 9df41779..00000000 --- a/src/py/wrapper/wrapper_528d7cd3a92d569d897fdc1e61483003.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_ac1d2084aec051319f07ccbf56f83bc3; - virtual return_type_ac1d2084aec051319f07ccbf56f83bc3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ac1d2084aec051319f07ccbf56f83bc3, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_b29f44482fce5d5ea16b45d1fa08f72f; - virtual return_type_b29f44482fce5d5ea16b45d1fa08f72f children() const override { PYBIND11_OVERLOAD(return_type_b29f44482fce5d5ea16b45d1fa08f72f, class_type, children, ); }; - typedef double return_type_a8793d7694b85cea8bead585bebfa116; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_a8793d7694b85cea8bead585bebfa116_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_a8793d7694b85cea8bead585bebfa116_1_type; - virtual return_type_a8793d7694b85cea8bead585bebfa116 scoring(param_a8793d7694b85cea8bead585bebfa116_0_type param_0, param_a8793d7694b85cea8bead585bebfa116_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_a8793d7694b85cea8bead585bebfa116, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_baf7c2d76c92553aa86016acc595e461; - typedef class ::statiskit::UnivariateConditionalData const & param_baf7c2d76c92553aa86016acc595e461_0_type; - typedef bool const & param_baf7c2d76c92553aa86016acc595e461_1_type; - virtual return_type_baf7c2d76c92553aa86016acc595e461 operator()(param_baf7c2d76c92553aa86016acc595e461_0_type param_0, param_baf7c2d76c92553aa86016acc595e461_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_baf7c2d76c92553aa86016acc595e461, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_528d7cd3a92d569d897fdc1e61483003(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator > class_528d7cd3a92d569d897fdc1e61483003(module, "_PolymorphicCopy_528d7cd3a92d569d897fdc1e61483003", ""); - class_528d7cd3a92d569d897fdc1e61483003.def(pybind11::init< >()); - class_528d7cd3a92d569d897fdc1e61483003.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp b/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp deleted file mode 100644 index 3c98ae6b..00000000 --- a/src/py/wrapper/wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_54f4a4dc5dde5b898b2f56dfecbb1d34(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_54f4a4dc5dde5b898b2f56dfecbb1d34(module, "Estimator", ""); - class_54f4a4dc5dde5b898b2f56dfecbb1d34.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp b/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp deleted file mode 100644 index 50223172..00000000 --- a/src/py/wrapper/wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::UnivariateMixtureDistribution; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; - virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; - typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; - virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; - typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; - virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; - typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; - typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; - typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; - virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; - virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_55c0eb1fcb6e5b0da7045e99481d4b0c(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_55c0eb1fcb6e5b0da7045e99481d4b0c(module, "_UnivariateMixtureDistribution_55c0eb1fcb6e5b0da7045e99481d4b0c", ""); - class_55c0eb1fcb6e5b0da7045e99481d4b0c.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp b/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp deleted file mode 100644 index 9af7ef11..00000000 --- a/src/py/wrapper/wrapper_57247d6d8d8354eda6e19f19da8dc732.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< double, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< double, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_57247d6d8d8354eda6e19f19da8dc732(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_57247d6d8d8354eda6e19f19da8dc732(module, "Estimator", ""); - class_57247d6d8d8354eda6e19f19da8dc732.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5750371755a95c10b9259748c7b5e21b.cpp b/src/py/wrapper/wrapper_5750371755a95c10b9259748c7b5e21b.cpp deleted file mode 100644 index 161192a3..00000000 --- a/src/py/wrapper/wrapper_5750371755a95c10b9259748c7b5e21b.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5750371755a95c10b9259748c7b5e21b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > > > class_5750371755a95c10b9259748c7b5e21b(module, "_MultivariateMixtureDistribution_5750371755a95c10b9259748c7b5e21b", ""); - class_5750371755a95c10b9259748c7b5e21b.def(pybind11::init< class ::std::vector< struct ::statiskit::DiscreteMultivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteMultivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_5750371755a95c10b9259748c7b5e21b.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp b/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp deleted file mode 100644 index 9c09ed5b..00000000 --- a/src/py/wrapper/wrapper_5856b02a98b7543baa5144338b21e69d.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; - typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; - virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_5856b02a98b7543baa5144338b21e69d(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_5856b02a98b7543baa5144338b21e69d(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp b/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp deleted file mode 100644 index 0a22b63d..00000000 --- a/src/py/wrapper/wrapper_5877793da2745ffb9f47b225e5ec26b6.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_053e767a390652988ee6da6fefa3ee5e; - virtual return_type_053e767a390652988ee6da6fefa3ee5e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_053e767a390652988ee6da6fefa3ee5e, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_def090d4b953521f8c2bc7b02153b148; - virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; - typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; - typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; - typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; - virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; - typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; - typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; - virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_5877793da2745ffb9f47b225e5ec26b6(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_5877793da2745ffb9f47b225e5ec26b6(module, "_PolymorphicCopy_5877793da2745ffb9f47b225e5ec26b6", ""); - class_5877793da2745ffb9f47b225e5ec26b6.def(pybind11::init< >()); - class_5877793da2745ffb9f47b225e5ec26b6.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5882772a749051e4bbaf2d0ffe53631a.cpp b/src/py/wrapper/wrapper_5882772a749051e4bbaf2d0ffe53631a.cpp deleted file mode 100644 index 73cc50ce..00000000 --- a/src/py/wrapper/wrapper_5882772a749051e4bbaf2d0ffe53631a.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_5882772a749051e4bbaf2d0ffe53631a(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_5882772a749051e4bbaf2d0ffe53631a(module, "criterion_type"); - enum_5882772a749051e4bbaf2d0ffe53631a.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_5882772a749051e4bbaf2d0ffe53631a.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_5882772a749051e4bbaf2d0ffe53631a.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_5882772a749051e4bbaf2d0ffe53631a.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_5882772a749051e4bbaf2d0ffe53631a.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp b/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp deleted file mode 100644 index 520b472f..00000000 --- a/src/py/wrapper/wrapper_58960b7597495bb78bb15e0b1e8c9de8.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_78031971f0705ffc86e8634f03598d07; - virtual return_type_78031971f0705ffc86e8634f03598d07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_78031971f0705ffc86e8634f03598d07, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_cc937d079d9f5df3a0af0c0ca425c038; - virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; - typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; - virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; - typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; - typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; - virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_58960b7597495bb78bb15e0b1e8c9de8(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator > class_58960b7597495bb78bb15e0b1e8c9de8(module, "_PolymorphicCopy_58960b7597495bb78bb15e0b1e8c9de8", ""); - class_58960b7597495bb78bb15e0b1e8c9de8.def(pybind11::init< >()); - class_58960b7597495bb78bb15e0b1e8c9de8.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5940fdd28e32560cbb554a38b002be00.cpp b/src/py/wrapper/wrapper_5940fdd28e32560cbb554a38b002be00.cpp deleted file mode 100644 index cd9f3e05..00000000 --- a/src/py/wrapper/wrapper_5940fdd28e32560cbb554a38b002be00.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5940fdd28e32560cbb554a38b002be00(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_5940fdd28e32560cbb554a38b002be00(module, "_MixtureDistributionEMEstimation_5940fdd28e32560cbb554a38b002be00", ""); - class_5940fdd28e32560cbb554a38b002be00.def(pybind11::init< >()); - class_5940fdd28e32560cbb554a38b002be00.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_5940fdd28e32560cbb554a38b002be00.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_59db006e2d0a532f903fd7d41c9aabfb.cpp b/src/py/wrapper/wrapper_59db006e2d0a532f903fd7d41c9aabfb.cpp deleted file mode 100644 index fd87e2cc..00000000 --- a/src/py/wrapper/wrapper_59db006e2d0a532f903fd7d41c9aabfb.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_072da179189554b298514722c6863f96)()const= &::statiskit::LazyEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_59db006e2d0a532f903fd7d41c9aabfb(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, struct ::statiskit::SingularDistributionEstimation > class_59db006e2d0a532f903fd7d41c9aabfb(module, "_LazyEstimation_59db006e2d0a532f903fd7d41c9aabfb", ""); - class_59db006e2d0a532f903fd7d41c9aabfb.def(pybind11::init< >()); - class_59db006e2d0a532f903fd7d41c9aabfb.def(pybind11::init< struct ::statiskit::SingularDistribution const * >()); - class_59db006e2d0a532f903fd7d41c9aabfb.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_59db006e2d0a532f903fd7d41c9aabfb.def("copy", method_pointer_072da179189554b298514722c6863f96, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp b/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp deleted file mode 100644 index 852b06bd..00000000 --- a/src/py/wrapper/wrapper_5a3d233a5dc55aaba123c4eb5cd6e502.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_def090d4b953521f8c2bc7b02153b148; - virtual return_type_def090d4b953521f8c2bc7b02153b148 children() const override { PYBIND11_OVERLOAD(return_type_def090d4b953521f8c2bc7b02153b148, class_type, children, ); }; - typedef double return_type_d3cc1b08869452229c8e3e4fc5e6e472; - typedef struct ::statiskit::MultivariateDistribution const * param_d3cc1b08869452229c8e3e4fc5e6e472_0_type; - typedef struct ::statiskit::MultivariateData const & param_d3cc1b08869452229c8e3e4fc5e6e472_1_type; - virtual return_type_d3cc1b08869452229c8e3e4fc5e6e472 scoring(param_d3cc1b08869452229c8e3e4fc5e6e472_0_type param_0, param_d3cc1b08869452229c8e3e4fc5e6e472_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_d3cc1b08869452229c8e3e4fc5e6e472, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_84770be1e4c25f1c97c16a5e777cffdf; - typedef struct ::statiskit::MultivariateData const & param_84770be1e4c25f1c97c16a5e777cffdf_0_type; - typedef bool const & param_84770be1e4c25f1c97c16a5e777cffdf_1_type; - virtual return_type_84770be1e4c25f1c97c16a5e777cffdf operator()(param_84770be1e4c25f1c97c16a5e777cffdf_0_type param_0, param_84770be1e4c25f1c97c16a5e777cffdf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84770be1e4c25f1c97c16a5e777cffdf, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_8a70218c19c85c61a675c59c5e170794)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_057b6efe62bf5455adb4babbd3c6d7b1)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_c18ded6290b358be8850f8d8daae8a6e)(::statiskit::Index const &, struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_2ec80de535e75c4e8725ce514b4cdf92)(struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_4e44b3e085ff51c1b0633f02b4bd9988)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_5a3d233a5dc55aaba123c4eb5cd6e502(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > class_5a3d233a5dc55aaba123c4eb5cd6e502(module, "Estimator", ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("__len__", method_pointer_8a70218c19c85c61a675c59c5e170794, ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("get_estimator", method_pointer_057b6efe62bf5455adb4babbd3c6d7b1, pybind11::return_value_policy::reference_internal, ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("set_estimator", method_pointer_c18ded6290b358be8850f8d8daae8a6e, ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("add_estimator", method_pointer_2ec80de535e75c4e8725ce514b4cdf92, ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("remove_estimator", method_pointer_4e44b3e085ff51c1b0633f02b4bd9988, ""); - class_5a3d233a5dc55aaba123c4eb5cd6e502.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5b1444f7a44054459e5adff18c81bbfb.cpp b/src/py/wrapper/wrapper_5b1444f7a44054459e5adff18c81bbfb.cpp deleted file mode 100644 index 656eb736..00000000 --- a/src/py/wrapper/wrapper_5b1444f7a44054459e5adff18c81bbfb.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_dc50791e84d858309ea9d18d7a6a8593)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::size; -struct ::statiskit::CategoricalMultivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_c466036c7d4c5997977c58ba3df72e52)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_c70a2a8ff99657d09028c289a32546a8)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_5b1444f7a44054459e5adff18c81bbfb(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_5b1444f7a44054459e5adff18c81bbfb(module, "_Selection_5b1444f7a44054459e5adff18c81bbfb", ""); - class_5b1444f7a44054459e5adff18c81bbfb.def(pybind11::init< >()); - class_5b1444f7a44054459e5adff18c81bbfb.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_5b1444f7a44054459e5adff18c81bbfb.def(pybind11::init< struct ::statiskit::CategoricalMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_5b1444f7a44054459e5adff18c81bbfb.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - class_5b1444f7a44054459e5adff18c81bbfb.def("__len__", method_pointer_dc50791e84d858309ea9d18d7a6a8593, ""); - class_5b1444f7a44054459e5adff18c81bbfb.def("get_estimation", method_pointer_c466036c7d4c5997977c58ba3df72e52, pybind11::return_value_policy::reference_internal, ""); - class_5b1444f7a44054459e5adff18c81bbfb.def("get_score", method_pointer_c70a2a8ff99657d09028c289a32546a8, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp b/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp deleted file mode 100644 index 7c542ed5..00000000 --- a/src/py/wrapper/wrapper_5bbb1918edfa5fb49894cb0a6bf46044.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_e351a334895e5592bb25ac4bc81a5a9d)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_84d39c57b2755d6fac2d7258a600272a)(double const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_198b49d1d6b55d5497c4ccd1341688ce)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_08ce45b6646f51c2ab8fcdec1a7b3920)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_393d0ec811075e2b93831fd6d8cc63db)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::*method_pointer_d60697ce86555d59bf5d869f782c010f)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_5bbb1918edfa5fb49894cb0a6bf46044(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > class_5bbb1918edfa5fb49894cb0a6bf46044(module, "_Optimization_5bbb1918edfa5fb49894cb0a6bf46044", ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def(pybind11::init< >()); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("get_mindiff", method_pointer_e351a334895e5592bb25ac4bc81a5a9d, pybind11::return_value_policy::copy, ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("set_mindiff", method_pointer_84d39c57b2755d6fac2d7258a600272a, ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("get_minits", method_pointer_198b49d1d6b55d5497c4ccd1341688ce, ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("set_minits", method_pointer_08ce45b6646f51c2ab8fcdec1a7b3920, ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("get_maxits", method_pointer_393d0ec811075e2b93831fd6d8cc63db, ""); - class_5bbb1918edfa5fb49894cb0a6bf46044.def("set_maxits", method_pointer_d60697ce86555d59bf5d869f782c010f, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5c6e4c2beaae58e1a041154bd478b75f.cpp b/src/py/wrapper/wrapper_5c6e4c2beaae58e1a041154bd478b75f.cpp deleted file mode 100644 index f31a4d18..00000000 --- a/src/py/wrapper/wrapper_5c6e4c2beaae58e1a041154bd478b75f.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5c6e4c2beaae58e1a041154bd478b75f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > > > class_5c6e4c2beaae58e1a041154bd478b75f(module, "_MultivariateMixtureDistribution_5c6e4c2beaae58e1a041154bd478b75f", ""); - class_5c6e4c2beaae58e1a041154bd478b75f.def(pybind11::init< class ::std::vector< struct ::statiskit::MultivariateDistribution *, class ::std::allocator< struct ::statiskit::MultivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_5c6e4c2beaae58e1a041154bd478b75f.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5d11528f24755a879438133d5708e545.cpp b/src/py/wrapper/wrapper_5d11528f24755a879438133d5708e545.cpp deleted file mode 100644 index 7ab449e4..00000000 --- a/src/py/wrapper/wrapper_5d11528f24755a879438133d5708e545.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_7c695267884e5ac5b3fd0b5f3a3003d9)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_7d64041b9f77529080eb343676d726ae)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::MultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_1dd26c7ab62e5134949241d9d57a5399)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_d64bb47602a350f4abb5d24b7fc66771)(struct ::statiskit::MultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::MultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_fd041d6ff7b050cbae13f50a5def440e)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_fcd8b6ff608656f58112043d99228386)(::statiskit::Index const &, struct ::statiskit::MultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_af89fce79dcd59c3a537cf3d1be956a1)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_c5c8e0ca20e4521a972b3da4e150813e)(struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_84d6003896d157788b4e7c311dabc47e)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_43b4be65cfdc5c82a1a507a7d20827bc)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_5d11528f24755a879438133d5708e545(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::MultivariateDistributionEstimation >::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_5d11528f24755a879438133d5708e545(module, "Estimator", ""); - class_5d11528f24755a879438133d5708e545.def(pybind11::init< >()); - class_5d11528f24755a879438133d5708e545.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator const & >()); - class_5d11528f24755a879438133d5708e545.def("get_pi", method_pointer_7c695267884e5ac5b3fd0b5f3a3003d9, ""); - class_5d11528f24755a879438133d5708e545.def("set_pi", method_pointer_7d64041b9f77529080eb343676d726ae, ""); - class_5d11528f24755a879438133d5708e545.def("get_default_estimator", method_pointer_1dd26c7ab62e5134949241d9d57a5399, pybind11::return_value_policy::reference_internal, ""); - class_5d11528f24755a879438133d5708e545.def("set_default_estimator", method_pointer_d64bb47602a350f4abb5d24b7fc66771, ""); - class_5d11528f24755a879438133d5708e545.def("get_estimator", method_pointer_fd041d6ff7b050cbae13f50a5def440e, pybind11::return_value_policy::reference_internal, ""); - class_5d11528f24755a879438133d5708e545.def("set_estimator", method_pointer_fcd8b6ff608656f58112043d99228386, ""); - class_5d11528f24755a879438133d5708e545.def("get_initializator", method_pointer_af89fce79dcd59c3a537cf3d1be956a1, pybind11::return_value_policy::reference_internal, ""); - class_5d11528f24755a879438133d5708e545.def("set_initializator", method_pointer_c5c8e0ca20e4521a972b3da4e150813e, ""); - class_5d11528f24755a879438133d5708e545.def("get_limit", method_pointer_84d6003896d157788b4e7c311dabc47e, ""); - class_5d11528f24755a879438133d5708e545.def("set_limit", method_pointer_43b4be65cfdc5c82a1a507a7d20827bc, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5d63830a58ae5ad1aaf2cb88275ddd22.cpp b/src/py/wrapper/wrapper_5d63830a58ae5ad1aaf2cb88275ddd22.cpp deleted file mode 100644 index 2f7fa85f..00000000 --- a/src/py/wrapper/wrapper_5d63830a58ae5ad1aaf2cb88275ddd22.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5d63830a58ae5ad1aaf2cb88275ddd22(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_5d63830a58ae5ad1aaf2cb88275ddd22(module, "_LazyEstimation_5d63830a58ae5ad1aaf2cb88275ddd22", ""); - class_5d63830a58ae5ad1aaf2cb88275ddd22.def(pybind11::init< >()); - class_5d63830a58ae5ad1aaf2cb88275ddd22.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const * >()); - class_5d63830a58ae5ad1aaf2cb88275ddd22.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5e00a634363a53b79e62b0712b0cbe57.cpp b/src/py/wrapper/wrapper_5e00a634363a53b79e62b0712b0cbe57.cpp deleted file mode 100644 index 6d84853a..00000000 --- a/src/py/wrapper/wrapper_5e00a634363a53b79e62b0712b0cbe57.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5e00a634363a53b79e62b0712b0cbe57(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_5e00a634363a53b79e62b0712b0cbe57(module, "_MixtureDistributionEMEstimation_5e00a634363a53b79e62b0712b0cbe57", ""); - class_5e00a634363a53b79e62b0712b0cbe57.def(pybind11::init< >()); - class_5e00a634363a53b79e62b0712b0cbe57.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_5e00a634363a53b79e62b0712b0cbe57.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp b/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp deleted file mode 100644 index e90bc16d..00000000 --- a/src/py/wrapper/wrapper_5e3b9b778c57534eb8d780dfb69a1f3f.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; - typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; - virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_5e3b9b778c57534eb8d780dfb69a1f3f(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_5e3b9b778c57534eb8d780dfb69a1f3f(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5e703a4587815486b6950405a411169b.cpp b/src/py/wrapper/wrapper_5e703a4587815486b6950405a411169b.cpp deleted file mode 100644 index 9ced0ea9..00000000 --- a/src/py/wrapper/wrapper_5e703a4587815486b6950405a411169b.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_26f222aa3cad5a8aaf61d3e79d0c17de)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_6f81f5a958e45a48a0a37f109160c757)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_252014055f075e3a9d269e4943082f6a)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_2fa7cacd4fc05114901a23c5f97dbb79)(struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_94882fda899c581681dbf4ab2b105331)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_840a3e0ea0cb515ca2012a3ab01b7bc5)(::statiskit::Index const &, struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_faba4f7f8c85542b81cf425676c5593d)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_b5cf8e266b93574696657345ec695b46)(struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_9eb188d84a885936a8f44f00e82c06de)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_de4b878fef8d55ecb58bca6be0410015)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_5e703a4587815486b6950405a411169b(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_5e703a4587815486b6950405a411169b(module, "Estimator", ""); - class_5e703a4587815486b6950405a411169b.def(pybind11::init< >()); - class_5e703a4587815486b6950405a411169b.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator const & >()); - class_5e703a4587815486b6950405a411169b.def("get_pi", method_pointer_26f222aa3cad5a8aaf61d3e79d0c17de, ""); - class_5e703a4587815486b6950405a411169b.def("set_pi", method_pointer_6f81f5a958e45a48a0a37f109160c757, ""); - class_5e703a4587815486b6950405a411169b.def("get_default_estimator", method_pointer_252014055f075e3a9d269e4943082f6a, pybind11::return_value_policy::reference_internal, ""); - class_5e703a4587815486b6950405a411169b.def("set_default_estimator", method_pointer_2fa7cacd4fc05114901a23c5f97dbb79, ""); - class_5e703a4587815486b6950405a411169b.def("get_estimator", method_pointer_94882fda899c581681dbf4ab2b105331, pybind11::return_value_policy::reference_internal, ""); - class_5e703a4587815486b6950405a411169b.def("set_estimator", method_pointer_840a3e0ea0cb515ca2012a3ab01b7bc5, ""); - class_5e703a4587815486b6950405a411169b.def("get_initializator", method_pointer_faba4f7f8c85542b81cf425676c5593d, pybind11::return_value_policy::reference_internal, ""); - class_5e703a4587815486b6950405a411169b.def("set_initializator", method_pointer_b5cf8e266b93574696657345ec695b46, ""); - class_5e703a4587815486b6950405a411169b.def("get_limit", method_pointer_9eb188d84a885936a8f44f00e82c06de, ""); - class_5e703a4587815486b6950405a411169b.def("set_limit", method_pointer_de4b878fef8d55ecb58bca6be0410015, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp b/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp deleted file mode 100644 index 5bf8ba4e..00000000 --- a/src/py/wrapper/wrapper_5e9c2eecb34851cd99100ce520f53c6e.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_54ccfbb2a06051f0a2246692c1943769; - virtual return_type_54ccfbb2a06051f0a2246692c1943769 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_54ccfbb2a06051f0a2246692c1943769, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; - virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_5e9c2eecb34851cd99100ce520f53c6e(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution > >::Type, struct ::statiskit::DiscreteMultivariateDistribution > class_5e9c2eecb34851cd99100ce520f53c6e(module, "_PolymorphicCopy_5e9c2eecb34851cd99100ce520f53c6e", ""); - class_5e9c2eecb34851cd99100ce520f53c6e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5fe9bb1da30956d98b555d9379555582.cpp b/src/py/wrapper/wrapper_5fe9bb1da30956d98b555d9379555582.cpp deleted file mode 100644 index def775c9..00000000 --- a/src/py/wrapper/wrapper_5fe9bb1da30956d98b555d9379555582.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_c40628942fb65816a488c355773b6b47)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_87556a2e1d985060b356eefe9782a87c)(enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_5fe9bb1da30956d98b555d9379555582(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > > class_5fe9bb1da30956d98b555d9379555582(module, "CriterionEstimator", ""); - class_5fe9bb1da30956d98b555d9379555582.def(pybind11::init< >()); - class_5fe9bb1da30956d98b555d9379555582.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator const & >()); - class_5fe9bb1da30956d98b555d9379555582.def("get_criterion", method_pointer_c40628942fb65816a488c355773b6b47, pybind11::return_value_policy::copy, ""); - class_5fe9bb1da30956d98b555d9379555582.def("set_criterion", method_pointer_87556a2e1d985060b356eefe9782a87c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp b/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp deleted file mode 100644 index c21b8238..00000000 --- a/src/py/wrapper/wrapper_603c48a232f0549ab95e7c0325f6f159.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_431ab0a81913563e8a2199e34aeb94d0; - virtual return_type_431ab0a81913563e8a2199e34aeb94d0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_431ab0a81913563e8a2199e34aeb94d0, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_64dbb43dd673576da853b5fa47a4cd5e; - virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; - typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; - typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; - typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; - virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; - typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; - typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; - virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_603c48a232f0549ab95e7c0325f6f159(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_603c48a232f0549ab95e7c0325f6f159(module, "_PolymorphicCopy_603c48a232f0549ab95e7c0325f6f159", ""); - class_603c48a232f0549ab95e7c0325f6f159.def(pybind11::init< >()); - class_603c48a232f0549ab95e7c0325f6f159.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6040d8f35856585fa65c9beece0f520f.cpp b/src/py/wrapper/wrapper_6040d8f35856585fa65c9beece0f520f.cpp deleted file mode 100644 index bdd27649..00000000 --- a/src/py/wrapper/wrapper_6040d8f35856585fa65c9beece0f520f.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::*method_pointer_c4452a685c93519d84faf1d018af10c2)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::size; -struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::*method_pointer_a4b41585ac0f505c9d35be0c14dba4b0)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::*method_pointer_6943841278ac5396a2e1eb7782e38078)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_6040d8f35856585fa65c9beece0f520f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > > class_6040d8f35856585fa65c9beece0f520f(module, "_Selection_6040d8f35856585fa65c9beece0f520f", ""); - class_6040d8f35856585fa65c9beece0f520f.def(pybind11::init< >()); - class_6040d8f35856585fa65c9beece0f520f.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_6040d8f35856585fa65c9beece0f520f.def(pybind11::init< struct ::statiskit::CategoricalMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_6040d8f35856585fa65c9beece0f520f.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > const & >()); - class_6040d8f35856585fa65c9beece0f520f.def("__len__", method_pointer_c4452a685c93519d84faf1d018af10c2, ""); - class_6040d8f35856585fa65c9beece0f520f.def("get_estimation", method_pointer_a4b41585ac0f505c9d35be0c14dba4b0, pybind11::return_value_policy::reference_internal, ""); - class_6040d8f35856585fa65c9beece0f520f.def("get_score", method_pointer_6943841278ac5396a2e1eb7782e38078, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp b/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp deleted file mode 100644 index f03beeb3..00000000 --- a/src/py/wrapper/wrapper_61234f1033f25f108ec6c1bb0d3ddf38.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::UnivariateMixtureDistribution; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; - typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; - typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; - typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; - virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_61234f1033f25f108ec6c1bb0d3ddf38(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_61234f1033f25f108ec6c1bb0d3ddf38(module, "_UnivariateMixtureDistribution_61234f1033f25f108ec6c1bb0d3ddf38", ""); - class_61234f1033f25f108ec6c1bb0d3ddf38.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_615b4cea5f9251d3b38950014f9d5697.cpp b/src/py/wrapper/wrapper_615b4cea5f9251d3b38950014f9d5697.cpp deleted file mode 100644 index 54fe64c2..00000000 --- a/src/py/wrapper/wrapper_615b4cea5f9251d3b38950014f9d5697.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const * (::statiskit::OptimizationEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_66fa8c7dd41155f79b42ea4f956a0a0d)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_615b4cea5f9251d3b38950014f9d5697(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_615b4cea5f9251d3b38950014f9d5697(module, "_OptimizationEstimation_615b4cea5f9251d3b38950014f9d5697", ""); - class_615b4cea5f9251d3b38950014f9d5697.def(pybind11::init< >()); - class_615b4cea5f9251d3b38950014f9d5697.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_615b4cea5f9251d3b38950014f9d5697.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - class_615b4cea5f9251d3b38950014f9d5697.def("get_iteration", method_pointer_66fa8c7dd41155f79b42ea4f956a0a0d, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp b/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp deleted file mode 100644 index 52535be2..00000000 --- a/src/py/wrapper/wrapper_61733bdc2db95f128686b3292ae9259a.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - - typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; - virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; - typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; - virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; - typedef double return_type_13b291014f9656599dba7f710c381612; - typedef double const & param_13b291014f9656599dba7f710c381612_0_type; - virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; - typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; - typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; - typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; - virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_61733bdc2db95f128686b3292ae9259a(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_61733bdc2db95f128686b3292ae9259a(module, "_QuantitativeUnivariateMixtureDistribution_61733bdc2db95f128686b3292ae9259a", ""); - class_61733bdc2db95f128686b3292ae9259a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6286fa427e2b5074b726466691e9713a.cpp b/src/py/wrapper/wrapper_6286fa427e2b5074b726466691e9713a.cpp deleted file mode 100644 index b08abd88..00000000 --- a/src/py/wrapper/wrapper_6286fa427e2b5074b726466691e9713a.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateDistributionEstimation::Estimator & (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation::Estimator > >::*method_pointer_e9a2ee0b9f6a5f6195dc7a1c934b35b2)()const= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::operator*; -::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation::Estimator > >::*method_pointer_7741bbc646ca5780bc53e17466faeb1c)()const= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::get; -::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation::Estimator > >::*method_pointer_1de494578d955f15b0784ab837bd8f8c)()= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation::Estimator > >::*method_pointer_eafdd2ff91935df290ca3903fa7e7cfa)(::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::pointer )= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation::Estimator > >::*method_pointer_97efcd4663dc5c20ba14db3a52c9cf76)(class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > &)= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::swap; - -namespace autowig { - void method_decorator_e9a2ee0b9f6a5f6195dc7a1c934b35b2(class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > const & instance, const struct ::statiskit::MultivariateDistributionEstimation::Estimator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_6286fa427e2b5074b726466691e9713a(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_62ba3b73a1c356bcacfb0c66e927e78d.cpp b/src/py/wrapper/wrapper_62ba3b73a1c356bcacfb0c66e927e78d.cpp deleted file mode 100644 index 4f88256d..00000000 --- a/src/py/wrapper/wrapper_62ba3b73a1c356bcacfb0c66e927e78d.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateConditionalDistributionEstimation & (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation > >::*method_pointer_fb5d95975a3e57a7a8c385713e978fc1)()const= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::operator*; -::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation > >::*method_pointer_c8e54408cbc157b8ab8bf7580911596a)()const= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::get; -::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation > >::*method_pointer_702afb447638560fb2b2ae59a2d79630)()= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation > >::*method_pointer_26088893f5dc5d17a580519a8a89bba6)(::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::pointer )= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation > >::*method_pointer_7a0ac1bca7425f9db90bb6e0b452df11)(class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > &)= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > >::swap; - -namespace autowig { - void method_decorator_fb5d95975a3e57a7a8c385713e978fc1(class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > const & instance, const struct ::statiskit::MultivariateConditionalDistributionEstimation & param_out) { instance.operator*() = param_out; } -} - -void wrapper_62ba3b73a1c356bcacfb0c66e927e78d(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp b/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp deleted file mode 100644 index 6a412637..00000000 --- a/src/py/wrapper/wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< unsigned int, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< unsigned int, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_6345fc1b6c0c5953a1ea3e895aa4e75f(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_6345fc1b6c0c5953a1ea3e895aa4e75f(module, "Estimator", ""); - class_6345fc1b6c0c5953a1ea3e895aa4e75f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6375bd4b368450a684e289f7598736a6.cpp b/src/py/wrapper/wrapper_6375bd4b368450a684e289f7598736a6.cpp deleted file mode 100644 index 7fa4a078..00000000 --- a/src/py/wrapper/wrapper_6375bd4b368450a684e289f7598736a6.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_7f5e0d6c276b59ea87e915ac4e3eafdf)()const= &::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_6375bd4b368450a684e289f7598736a6(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_6375bd4b368450a684e289f7598736a6(module, "_ActiveEstimation_6375bd4b368450a684e289f7598736a6", ""); - class_6375bd4b368450a684e289f7598736a6.def(pybind11::init< >()); - class_6375bd4b368450a684e289f7598736a6.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_6375bd4b368450a684e289f7598736a6.def(pybind11::init< struct ::statiskit::DiscreteMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_6375bd4b368450a684e289f7598736a6.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_6375bd4b368450a684e289f7598736a6.def("get_data", method_pointer_7f5e0d6c276b59ea87e915ac4e3eafdf, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_637dbedd3c8a59949a0df6e3a9989f87.cpp b/src/py/wrapper/wrapper_637dbedd3c8a59949a0df6e3a9989f87.cpp deleted file mode 100644 index 815e5919..00000000 --- a/src/py/wrapper/wrapper_637dbedd3c8a59949a0df6e3a9989f87.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_637dbedd3c8a59949a0df6e3a9989f87(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_637dbedd3c8a59949a0df6e3a9989f87(module, "_MixtureDistributionEMEstimation_637dbedd3c8a59949a0df6e3a9989f87", ""); - class_637dbedd3c8a59949a0df6e3a9989f87.def(pybind11::init< >()); - class_637dbedd3c8a59949a0df6e3a9989f87.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_637dbedd3c8a59949a0df6e3a9989f87.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp b/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp deleted file mode 100644 index 9bc03309..00000000 --- a/src/py/wrapper/wrapper_65233ae509075a4885c6c150d99046ae.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_d4181de1506551d9b4cabd76eecd0c24; - virtual return_type_d4181de1506551d9b4cabd76eecd0c24 children() const override { PYBIND11_OVERLOAD(return_type_d4181de1506551d9b4cabd76eecd0c24, class_type, children, ); }; - typedef double return_type_744f08fdf88a5deb9ed150b0a6582da2; - typedef struct ::statiskit::SingularDistribution const * param_744f08fdf88a5deb9ed150b0a6582da2_0_type; - typedef struct ::statiskit::MultivariateData const & param_744f08fdf88a5deb9ed150b0a6582da2_1_type; - virtual return_type_744f08fdf88a5deb9ed150b0a6582da2 scoring(param_744f08fdf88a5deb9ed150b0a6582da2_0_type param_0, param_744f08fdf88a5deb9ed150b0a6582da2_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_744f08fdf88a5deb9ed150b0a6582da2, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_38bec538cb785ba8a98ef67b225e42e1; - typedef struct ::statiskit::MultivariateData const & param_38bec538cb785ba8a98ef67b225e42e1_0_type; - typedef bool const & param_38bec538cb785ba8a98ef67b225e42e1_1_type; - virtual return_type_38bec538cb785ba8a98ef67b225e42e1 operator()(param_38bec538cb785ba8a98ef67b225e42e1_0_type param_0, param_38bec538cb785ba8a98ef67b225e42e1_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_38bec538cb785ba8a98ef67b225e42e1, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_a0c9a82c65995967a70e9b22f105ae17)()const= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::size; -struct ::statiskit::SingularDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_0d2bc6a52ba1565ea265832d78542f65)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_a12f9b73b5085a6181e99fee1afce5a1)(::statiskit::Index const &, struct ::statiskit::SingularDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_215deeba5eef51bdbc3e7da8f73608ea)(struct ::statiskit::SingularDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*method_pointer_c732d7a5b1c052edaf245bf716818973)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_65233ae509075a4885c6c150d99046ae(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, struct ::statiskit::SingularDistributionEstimation::Estimator > class_65233ae509075a4885c6c150d99046ae(module, "Estimator", ""); - class_65233ae509075a4885c6c150d99046ae.def("__len__", method_pointer_a0c9a82c65995967a70e9b22f105ae17, ""); - class_65233ae509075a4885c6c150d99046ae.def("get_estimator", method_pointer_0d2bc6a52ba1565ea265832d78542f65, pybind11::return_value_policy::reference_internal, ""); - class_65233ae509075a4885c6c150d99046ae.def("set_estimator", method_pointer_a12f9b73b5085a6181e99fee1afce5a1, ""); - class_65233ae509075a4885c6c150d99046ae.def("add_estimator", method_pointer_215deeba5eef51bdbc3e7da8f73608ea, ""); - class_65233ae509075a4885c6c150d99046ae.def("remove_estimator", method_pointer_c732d7a5b1c052edaf245bf716818973, ""); - class_65233ae509075a4885c6c150d99046ae.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::*) (struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_65f1b96fc3cf5b6abf37b20774ffb554.cpp b/src/py/wrapper/wrapper_65f1b96fc3cf5b6abf37b20774ffb554.cpp deleted file mode 100644 index 1a0629cf..00000000 --- a/src/py/wrapper/wrapper_65f1b96fc3cf5b6abf37b20774ffb554.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_65f1b96fc3cf5b6abf37b20774ffb554(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_65f1b96fc3cf5b6abf37b20774ffb554(module, "criterion_type"); - enum_65f1b96fc3cf5b6abf37b20774ffb554.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_65f1b96fc3cf5b6abf37b20774ffb554.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_65f1b96fc3cf5b6abf37b20774ffb554.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_65f1b96fc3cf5b6abf37b20774ffb554.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_65f1b96fc3cf5b6abf37b20774ffb554.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp b/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp deleted file mode 100644 index 9a4d8c77..00000000 --- a/src/py/wrapper/wrapper_66595150e9b05d2aaf4d9f52269aca0d.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_66595150e9b05d2aaf4d9f52269aca0d(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > class_66595150e9b05d2aaf4d9f52269aca0d(module, "Estimator", ""); - class_66595150e9b05d2aaf4d9f52269aca0d.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp b/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp deleted file mode 100644 index c3c79a50..00000000 --- a/src/py/wrapper/wrapper_665b8d3ceeaa526cb99ce05a6dc94f38.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7dbece17872e5cce898e9d7b8293d883; - virtual return_type_7dbece17872e5cce898e9d7b8293d883 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7dbece17872e5cce898e9d7b8293d883, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; - virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; - virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - typedef double return_type_bf87506bdef85834a040bd514141c40f; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; - virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_665b8d3ceeaa526cb99ce05a6dc94f38(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution > >::Type, struct ::statiskit::CategoricalUnivariateDistribution > class_665b8d3ceeaa526cb99ce05a6dc94f38(module, "_PolymorphicCopy_665b8d3ceeaa526cb99ce05a6dc94f38", ""); - class_665b8d3ceeaa526cb99ce05a6dc94f38.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6690633b82205104834e2688e6549e65.cpp b/src/py/wrapper/wrapper_6690633b82205104834e2688e6549e65.cpp deleted file mode 100644 index 5c78dcf0..00000000 --- a/src/py/wrapper/wrapper_6690633b82205104834e2688e6549e65.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - -void (::statiskit::WeightedData< ::statiskit::UnivariateData >::Generator::*method_pointer_846983cd69f05156a63294108734944e)(double const &)= &::statiskit::WeightedData< struct ::statiskit::UnivariateData >::Generator::weight; - -namespace autowig { -} - -void wrapper_6690633b82205104834e2688e6549e65(pybind11::module& module) -{ - - pybind11::class_::Generator, autowig::HolderType< class ::statiskit::WeightedData< struct ::statiskit::UnivariateData >::Generator >::Type, struct ::statiskit::UnivariateData::Generator > class_6690633b82205104834e2688e6549e65(module, "Generator", ""); - class_6690633b82205104834e2688e6549e65.def(pybind11::init< class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > * >()); - class_6690633b82205104834e2688e6549e65.def("weight", method_pointer_846983cd69f05156a63294108734944e, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66ba790876ea5d25be923643f217b67a.cpp b/src/py/wrapper/wrapper_66ba790876ea5d25be923643f217b67a.cpp deleted file mode 100644 index f319a62f..00000000 --- a/src/py/wrapper/wrapper_66ba790876ea5d25be923643f217b67a.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -double const (::statiskit::OptimizationEstimation< double, ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_81a91b836c8556b08e07aba60cd6194c)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_66ba790876ea5d25be923643f217b67a(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_66ba790876ea5d25be923643f217b67a(module, "_OptimizationEstimation_66ba790876ea5d25be923643f217b67a", ""); - class_66ba790876ea5d25be923643f217b67a.def(pybind11::init< >()); - class_66ba790876ea5d25be923643f217b67a.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_66ba790876ea5d25be923643f217b67a.def(pybind11::init< struct ::statiskit::OptimizationEstimation< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_66ba790876ea5d25be923643f217b67a.def("get_iteration", method_pointer_81a91b836c8556b08e07aba60cd6194c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66ea0b28087057f5abc6f26dadfb4c15.cpp b/src/py/wrapper/wrapper_66ea0b28087057f5abc6f26dadfb4c15.cpp deleted file mode 100644 index d9bffb0d..00000000 --- a/src/py/wrapper/wrapper_66ea0b28087057f5abc6f26dadfb4c15.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_71f5e339e3a65e4f8fd12e1b4f2e128d)()const= &::statiskit::ActiveEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_66ea0b28087057f5abc6f26dadfb4c15(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_66ea0b28087057f5abc6f26dadfb4c15(module, "_ActiveEstimation_66ea0b28087057f5abc6f26dadfb4c15", ""); - class_66ea0b28087057f5abc6f26dadfb4c15.def(pybind11::init< >()); - class_66ea0b28087057f5abc6f26dadfb4c15.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_66ea0b28087057f5abc6f26dadfb4c15.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_66ea0b28087057f5abc6f26dadfb4c15.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_66ea0b28087057f5abc6f26dadfb4c15.def("get_data", method_pointer_71f5e339e3a65e4f8fd12e1b4f2e128d, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6714db1d278d5fec95ea3760f54b9fa0.cpp b/src/py/wrapper/wrapper_6714db1d278d5fec95ea3760f54b9fa0.cpp deleted file mode 100644 index f723843e..00000000 --- a/src/py/wrapper/wrapper_6714db1d278d5fec95ea3760f54b9fa0.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::UnivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::*method_pointer_7ea7e4e79f67522ba4962d142e52341a)()const= &::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_6714db1d278d5fec95ea3760f54b9fa0(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > > class_6714db1d278d5fec95ea3760f54b9fa0(module, "_ActiveEstimation_6714db1d278d5fec95ea3760f54b9fa0", ""); - class_6714db1d278d5fec95ea3760f54b9fa0.def(pybind11::init< >()); - class_6714db1d278d5fec95ea3760f54b9fa0.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_6714db1d278d5fec95ea3760f54b9fa0.def(pybind11::init< struct ::statiskit::DiscreteUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_6714db1d278d5fec95ea3760f54b9fa0.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > const & >()); - class_6714db1d278d5fec95ea3760f54b9fa0.def("get_data", method_pointer_7ea7e4e79f67522ba4962d142e52341a, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6731f013fc2f50e6b3684322e5d511aa.cpp b/src/py/wrapper/wrapper_6731f013fc2f50e6b3684322e5d511aa.cpp deleted file mode 100644 index 52bd63e0..00000000 --- a/src/py/wrapper/wrapper_6731f013fc2f50e6b3684322e5d511aa.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_6731f013fc2f50e6b3684322e5d511aa(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > > > class_6731f013fc2f50e6b3684322e5d511aa(module, "_MultivariateMixtureDistribution_6731f013fc2f50e6b3684322e5d511aa", ""); - class_6731f013fc2f50e6b3684322e5d511aa.def(pybind11::init< class ::std::vector< struct ::statiskit::ContinuousMultivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousMultivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_6731f013fc2f50e6b3684322e5d511aa.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_67548b1b39c8521c8f630ca5b4d502c4.cpp b/src/py/wrapper/wrapper_67548b1b39c8521c8f630ca5b4d502c4.cpp deleted file mode 100644 index f3dce7a6..00000000 --- a/src/py/wrapper/wrapper_67548b1b39c8521c8f630ca5b4d502c4.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_67548b1b39c8521c8f630ca5b4d502c4(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_67548b1b39c8521c8f630ca5b4d502c4(module, "_UnivariateFrequencyDistributionEstimation_67548b1b39c8521c8f630ca5b4d502c4", ""); - class_67548b1b39c8521c8f630ca5b4d502c4.def(pybind11::init< >()); - class_67548b1b39c8521c8f630ca5b4d502c4.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const *, struct ::statiskit::UnivariateData const * >()); - class_67548b1b39c8521c8f630ca5b4d502c4.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_67870dc7ea665794a91fa84ca05aecb0.cpp b/src/py/wrapper/wrapper_67870dc7ea665794a91fa84ca05aecb0.cpp deleted file mode 100644 index 4350d349..00000000 --- a/src/py/wrapper/wrapper_67870dc7ea665794a91fa84ca05aecb0.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_4404f31006fe555bad4e42b9c70df207)(::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_7649ac26f87b5e3aa6951d208a52d19e)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_1569dcf243b151e5a8927e40b27abb03)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_640d5059827d58e9a833c390a13cdc25)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_ce4bfbe243db58d1974e59f2b60efd4a)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_1e4e9fa2fc565e33ab0f3e2811e1a3c5)(::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_f457ae0f0e735133b35567a0f150c812)(::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::at; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_0302eaea8603571ab5677a4c78b1df15)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::front; -::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_b7d4466c42245df2b5d9b4e0c0114fc0)()const= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::back; -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_6a4a4bde0222578e8831672c70e8c3e3)(::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_cd3b61e847205a5fbc0f5c1ac4a877c9)()= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_6475b00342f95688b247f001b1e5216e)(class ::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > > &)= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::ContinuousUnivariateDistribution *, ::std::allocator< ::statiskit::ContinuousUnivariateDistribution * > >::*method_pointer_c8c2a6f96a7b5497ae370358ff647233)()= &::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_67870dc7ea665794a91fa84ca05aecb0(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > > >::Type > class_67870dc7ea665794a91fa84ca05aecb0(module, "_Vector_67870dc7ea665794a91fa84ca05aecb0", ""); - class_67870dc7ea665794a91fa84ca05aecb0.def(pybind11::init< >()); - class_67870dc7ea665794a91fa84ca05aecb0.def(pybind11::init< class ::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > > const & >()); - class_67870dc7ea665794a91fa84ca05aecb0.def("assign", method_pointer_4404f31006fe555bad4e42b9c70df207, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("__len__", method_pointer_7649ac26f87b5e3aa6951d208a52d19e, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("max_size", method_pointer_1569dcf243b151e5a8927e40b27abb03, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("capacity", method_pointer_640d5059827d58e9a833c390a13cdc25, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("empty", method_pointer_ce4bfbe243db58d1974e59f2b60efd4a, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("reserve", method_pointer_1e4e9fa2fc565e33ab0f3e2811e1a3c5, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("at", method_pointer_f457ae0f0e735133b35567a0f150c812, pybind11::return_value_policy::reference_internal, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("front", method_pointer_0302eaea8603571ab5677a4c78b1df15, pybind11::return_value_policy::reference_internal, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("back", method_pointer_b7d4466c42245df2b5d9b4e0c0114fc0, pybind11::return_value_policy::reference_internal, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("push_back", method_pointer_6a4a4bde0222578e8831672c70e8c3e3, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("pop_back", method_pointer_cd3b61e847205a5fbc0f5c1ac4a877c9, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("swap", method_pointer_6475b00342f95688b247f001b1e5216e, ""); - class_67870dc7ea665794a91fa84ca05aecb0.def("clear", method_pointer_c8c2a6f96a7b5497ae370358ff647233, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp b/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp deleted file mode 100644 index 3df9a802..00000000 --- a/src/py/wrapper/wrapper_67cb5425a85056b38615b0d4e5c587b3.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::SingularDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > (::statiskit::SingularDistributionEstimation::Estimator::*method_pointer_ef6596d10b575b13b141d8bcf05ac09a)(::statiskit::SingularDistributionEstimation::data_type const &, bool const &)const= &::statiskit::SingularDistributionEstimation::Estimator::operator(); -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > (::statiskit::SingularDistributionEstimation::Estimator::*method_pointer_8b02691f7b535adda732068708b90596)()const= &::statiskit::SingularDistributionEstimation::Estimator::copy; - -namespace autowig { -} - -void wrapper_67cb5425a85056b38615b0d4e5c587b3(pybind11::module& module) -{ - - pybind11::class_::Type, class ::statiskit::Estimator > class_67cb5425a85056b38615b0d4e5c587b3(module, "Estimator", ""); - class_67cb5425a85056b38615b0d4e5c587b3.def("__call__", method_pointer_ef6596d10b575b13b141d8bcf05ac09a, ""); - class_67cb5425a85056b38615b0d4e5c587b3.def("copy", method_pointer_8b02691f7b535adda732068708b90596, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_68170427b0885d37a676e4274699fa05.cpp b/src/py/wrapper/wrapper_68170427b0885d37a676e4274699fa05.cpp deleted file mode 100644 index 5631c6b6..00000000 --- a/src/py/wrapper/wrapper_68170427b0885d37a676e4274699fa05.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const (::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_5430c8554ba2590d92c1b39616f3aceb)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_68170427b0885d37a676e4274699fa05(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >, autowig::HolderType< struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_68170427b0885d37a676e4274699fa05(module, "_OptimizationEstimation_68170427b0885d37a676e4274699fa05", ""); - class_68170427b0885d37a676e4274699fa05.def(pybind11::init< >()); - class_68170427b0885d37a676e4274699fa05.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_68170427b0885d37a676e4274699fa05.def(pybind11::init< struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_68170427b0885d37a676e4274699fa05.def("get_iteration", method_pointer_5430c8554ba2590d92c1b39616f3aceb, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp b/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp deleted file mode 100644 index 5eec21c7..00000000 --- a/src/py/wrapper/wrapper_681ebebfc39f52e7b797a69c6f165cc7.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_c68c83f5773a5706b0b93719a1508225; - virtual return_type_c68c83f5773a5706b0b93719a1508225 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c68c83f5773a5706b0b93719a1508225, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_4c55f907bce55349844e6cc78c19f098; - virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; - typedef double return_type_327da71272ea5094808d7deb45c022e6; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; - virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; - typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; - typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; - virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_681ebebfc39f52e7b797a69c6f165cc7(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator > class_681ebebfc39f52e7b797a69c6f165cc7(module, "_PolymorphicCopy_681ebebfc39f52e7b797a69c6f165cc7", ""); - class_681ebebfc39f52e7b797a69c6f165cc7.def(pybind11::init< >()); - class_681ebebfc39f52e7b797a69c6f165cc7.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp b/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp deleted file mode 100644 index c7ab0c3b..00000000 --- a/src/py/wrapper/wrapper_6923aecde43059bd8a00d1bd199ffa8d.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::MixtureDistribution; - - typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; - typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; - typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; - virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_2a504856d2c858cca8491fe9463d0520)()const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::get_nb_states; -struct ::statiskit::ContinuousUnivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_44658d1974bf53e8a85fea9cdfa12d12)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_fe72b6c262c3548dacae3bf46cc847fe)(::statiskit::Index const &, struct ::statiskit::ContinuousUnivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_c8a88e488e405d65a5050e025ffcdfed)()const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_1157cb20a6ba50f4ac122a4073e4d233)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_33dc9480a07659b98c327385a72a25fd)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_b74fe6a6e4715bb59583c5934d1296a1)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_217ee43044b0593682e33e25cbb132fe)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_e300d1f555145a39b36187e8d3d9f24b)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::ContinuousUnivariateDistribution >::*method_pointer_7219e901927a56de8ce0b8348229839c)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_6923aecde43059bd8a00d1bd199ffa8d(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_6923aecde43059bd8a00d1bd199ffa8d(module, "_MixtureDistribution_6923aecde43059bd8a00d1bd199ffa8d", ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def(pybind11::init< >()); - class_6923aecde43059bd8a00d1bd199ffa8d.def("get_nb_states", method_pointer_2a504856d2c858cca8491fe9463d0520, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("get_observation", method_pointer_44658d1974bf53e8a85fea9cdfa12d12, pybind11::return_value_policy::reference_internal, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("set_observation", method_pointer_fe72b6c262c3548dacae3bf46cc847fe, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("get_pi", method_pointer_c8a88e488e405d65a5050e025ffcdfed, pybind11::return_value_policy::copy, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("set_pi", method_pointer_1157cb20a6ba50f4ac122a4073e4d233, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("posterior", method_pointer_33dc9480a07659b98c327385a72a25fd, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("assignment", method_pointer_b74fe6a6e4715bb59583c5934d1296a1, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("assignment", method_pointer_217ee43044b0593682e33e25cbb132fe, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("uncertainty", method_pointer_e300d1f555145a39b36187e8d3d9f24b, ""); - class_6923aecde43059bd8a00d1bd199ffa8d.def("uncertainty", method_pointer_7219e901927a56de8ce0b8348229839c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6ab41d8aa0095175b6da7190fc953a97.cpp b/src/py/wrapper/wrapper_6ab41d8aa0095175b6da7190fc953a97.cpp deleted file mode 100644 index aac3690b..00000000 --- a/src/py/wrapper/wrapper_6ab41d8aa0095175b6da7190fc953a97.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -unsigned int const (::statiskit::OptimizationEstimation< unsigned int, ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_c6831150ae4f5c9d9cd5995090b09d79)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_6ab41d8aa0095175b6da7190fc953a97(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_6ab41d8aa0095175b6da7190fc953a97(module, "_OptimizationEstimation_6ab41d8aa0095175b6da7190fc953a97", ""); - class_6ab41d8aa0095175b6da7190fc953a97.def(pybind11::init< >()); - class_6ab41d8aa0095175b6da7190fc953a97.def(pybind11::init< class ::statiskit::BinomialDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_6ab41d8aa0095175b6da7190fc953a97.def(pybind11::init< struct ::statiskit::OptimizationEstimation< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_6ab41d8aa0095175b6da7190fc953a97.def("get_iteration", method_pointer_c6831150ae4f5c9d9cd5995090b09d79, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp b/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp deleted file mode 100644 index 90d4664a..00000000 --- a/src/py/wrapper/wrapper_6c36c615980657b7b51c6c44de94c819.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_61603fcc9028554ca7ca4d0e23c17a66; - virtual return_type_61603fcc9028554ca7ca4d0e23c17a66 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_61603fcc9028554ca7ca4d0e23c17a66, class_type, copy, ); }; - typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; - typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; - typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; - virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; - virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_6c36c615980657b7b51c6c44de94c819(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > > class_6c36c615980657b7b51c6c44de94c819(module, "_PolymorphicCopy_6c36c615980657b7b51c6c44de94c819", ""); - class_6c36c615980657b7b51c6c44de94c819.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d14c3d1f43b5dc99e4f553fff425665.cpp b/src/py/wrapper/wrapper_6d14c3d1f43b5dc99e4f553fff425665.cpp deleted file mode 100644 index 6d8fae89..00000000 --- a/src/py/wrapper/wrapper_6d14c3d1f43b5dc99e4f553fff425665.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_9777360a2c0455c4b85ae4d0d6a919e4)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_7d45ca930cbc55f69c2f4f1f5826136b)(enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_6d14c3d1f43b5dc99e4f553fff425665(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > > class_6d14c3d1f43b5dc99e4f553fff425665(module, "CriterionEstimator", ""); - class_6d14c3d1f43b5dc99e4f553fff425665.def(pybind11::init< >()); - class_6d14c3d1f43b5dc99e4f553fff425665.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator const & >()); - class_6d14c3d1f43b5dc99e4f553fff425665.def("get_criterion", method_pointer_9777360a2c0455c4b85ae4d0d6a919e4, pybind11::return_value_policy::copy, ""); - class_6d14c3d1f43b5dc99e4f553fff425665.def("set_criterion", method_pointer_7d45ca930cbc55f69c2f4f1f5826136b, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d92f9f1e7ca5180bf403b23e9073d86.cpp b/src/py/wrapper/wrapper_6d92f9f1e7ca5180bf403b23e9073d86.cpp deleted file mode 100644 index e14a9ae5..00000000 --- a/src/py/wrapper/wrapper_6d92f9f1e7ca5180bf403b23e9073d86.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_ca50d32849c05b08b108168dc484e54b)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::size; -struct ::statiskit::ContinuousUnivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_4217ce489695580083c6b58b2a679a5d)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_763f5cac1f805c31b0899051a8d2c42e)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_6d92f9f1e7ca5180bf403b23e9073d86(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_6d92f9f1e7ca5180bf403b23e9073d86(module, "_Selection_6d92f9f1e7ca5180bf403b23e9073d86", ""); - class_6d92f9f1e7ca5180bf403b23e9073d86.def(pybind11::init< >()); - class_6d92f9f1e7ca5180bf403b23e9073d86.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_6d92f9f1e7ca5180bf403b23e9073d86.def(pybind11::init< struct ::statiskit::ContinuousUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_6d92f9f1e7ca5180bf403b23e9073d86.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_6d92f9f1e7ca5180bf403b23e9073d86.def("__len__", method_pointer_ca50d32849c05b08b108168dc484e54b, ""); - class_6d92f9f1e7ca5180bf403b23e9073d86.def("get_estimation", method_pointer_4217ce489695580083c6b58b2a679a5d, pybind11::return_value_policy::reference_internal, ""); - class_6d92f9f1e7ca5180bf403b23e9073d86.def("get_score", method_pointer_763f5cac1f805c31b0899051a8d2c42e, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d99edae55df515bbdeb7c5c0e15917e.cpp b/src/py/wrapper/wrapper_6d99edae55df515bbdeb7c5c0e15917e.cpp deleted file mode 100644 index 2901e3aa..00000000 --- a/src/py/wrapper/wrapper_6d99edae55df515bbdeb7c5c0e15917e.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_6d99edae55df515bbdeb7c5c0e15917e(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > class_6d99edae55df515bbdeb7c5c0e15917e(module, "_LazyEstimation_6d99edae55df515bbdeb7c5c0e15917e", ""); - class_6d99edae55df515bbdeb7c5c0e15917e.def(pybind11::init< >()); - class_6d99edae55df515bbdeb7c5c0e15917e.def(pybind11::init< struct ::statiskit::DiscreteMultivariateConditionalDistribution const * >()); - class_6d99edae55df515bbdeb7c5c0e15917e.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6dd78f5508545bf49150581341735774.cpp b/src/py/wrapper/wrapper_6dd78f5508545bf49150581341735774.cpp deleted file mode 100644 index ed903da6..00000000 --- a/src/py/wrapper/wrapper_6dd78f5508545bf49150581341735774.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_6dd78f5508545bf49150581341735774(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_6dd78f5508545bf49150581341735774(module, "_MixtureDistributionEMEstimation_6dd78f5508545bf49150581341735774", ""); - class_6dd78f5508545bf49150581341735774.def(pybind11::init< >()); - class_6dd78f5508545bf49150581341735774.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_6dd78f5508545bf49150581341735774.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6e8787baa0dc5b76b8b3076c994506dc.cpp b/src/py/wrapper/wrapper_6e8787baa0dc5b76b8b3076c994506dc.cpp deleted file mode 100644 index de8ab518..00000000 --- a/src/py/wrapper/wrapper_6e8787baa0dc5b76b8b3076c994506dc.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_c8e162a845ba53d89f443b3db0e9eb98)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_673a927b437255f3bd07a73341be8290)(enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_6e8787baa0dc5b76b8b3076c994506dc(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::Estimator > > class_6e8787baa0dc5b76b8b3076c994506dc(module, "CriterionEstimator", ""); - class_6e8787baa0dc5b76b8b3076c994506dc.def(pybind11::init< >()); - class_6e8787baa0dc5b76b8b3076c994506dc.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_6e8787baa0dc5b76b8b3076c994506dc.def("get_criterion", method_pointer_c8e162a845ba53d89f443b3db0e9eb98, pybind11::return_value_policy::copy, ""); - class_6e8787baa0dc5b76b8b3076c994506dc.def("set_criterion", method_pointer_673a927b437255f3bd07a73341be8290, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6f183e6be0945c80a110bb22edb227d9.cpp b/src/py/wrapper/wrapper_6f183e6be0945c80a110bb22edb227d9.cpp deleted file mode 100644 index 45085393..00000000 --- a/src/py/wrapper/wrapper_6f183e6be0945c80a110bb22edb227d9.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_80385c9003115fb0a2329d33f12d73ee)()const= &::statiskit::LazyEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_6f183e6be0945c80a110bb22edb227d9(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_6f183e6be0945c80a110bb22edb227d9(module, "_LazyEstimation_6f183e6be0945c80a110bb22edb227d9", ""); - class_6f183e6be0945c80a110bb22edb227d9.def(pybind11::init< >()); - class_6f183e6be0945c80a110bb22edb227d9.def(pybind11::init< class ::statiskit::LogarithmicDistribution const * >()); - class_6f183e6be0945c80a110bb22edb227d9.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_6f183e6be0945c80a110bb22edb227d9.def("copy", method_pointer_80385c9003115fb0a2329d33f12d73ee, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp b/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp index 0df43bb1..fdb001ce 100644 --- a/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp +++ b/src/py/wrapper/wrapper_6f54a1805d7d5e6b9796d225ad86ca34.cpp @@ -12,6 +12,7 @@ void wrapper_6f54a1805d7d5e6b9796d225ad86ca34(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > >::Type > class_6f54a1805d7d5e6b9796d225ad86ca34(module, "_DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34", ""); class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< >()); + class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::data_type const * >()); class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::distribution_type const * >()); class_6f54a1805d7d5e6b9796d225ad86ca34.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > const & >()); class_6f54a1805d7d5e6b9796d225ad86ca34.def("get_data", method_pointer_8300865ac1645fa39dcee8a5ab8d600f, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp b/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp deleted file mode 100644 index 727c072e..00000000 --- a/src/py/wrapper/wrapper_7164ab149b5259c39291b9f2886585fb.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; - virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; - typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; - typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; - typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; - virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; - typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; - typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; - virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_b20ef68b9ad15ac589bf25df13306741)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_22a814da05e956fb8383e8bd93034732)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_c9375e0ad0a15c85aa3c64667af8a3c6)(::statiskit::Index const &, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_6fb62e6ac5c353b0a8b041b7f18f5179)(struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_834ba6db864f50bb9e6ecf139c578c70)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_7164ab149b5259c39291b9f2886585fb(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_7164ab149b5259c39291b9f2886585fb(module, "Estimator", ""); - class_7164ab149b5259c39291b9f2886585fb.def("__len__", method_pointer_b20ef68b9ad15ac589bf25df13306741, ""); - class_7164ab149b5259c39291b9f2886585fb.def("get_estimator", method_pointer_22a814da05e956fb8383e8bd93034732, pybind11::return_value_policy::reference_internal, ""); - class_7164ab149b5259c39291b9f2886585fb.def("set_estimator", method_pointer_c9375e0ad0a15c85aa3c64667af8a3c6, ""); - class_7164ab149b5259c39291b9f2886585fb.def("add_estimator", method_pointer_6fb62e6ac5c353b0a8b041b7f18f5179, ""); - class_7164ab149b5259c39291b9f2886585fb.def("remove_estimator", method_pointer_834ba6db864f50bb9e6ecf139c578c70, ""); - class_7164ab149b5259c39291b9f2886585fb.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7189dbb358a659bb802e95b3ea6ebebd.cpp b/src/py/wrapper/wrapper_7189dbb358a659bb802e95b3ea6ebebd.cpp deleted file mode 100644 index 45c40428..00000000 --- a/src/py/wrapper/wrapper_7189dbb358a659bb802e95b3ea6ebebd.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_7189dbb358a659bb802e95b3ea6ebebd(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_7189dbb358a659bb802e95b3ea6ebebd(module, "_LazyEstimation_7189dbb358a659bb802e95b3ea6ebebd", ""); - class_7189dbb358a659bb802e95b3ea6ebebd.def(pybind11::init< >()); - class_7189dbb358a659bb802e95b3ea6ebebd.def(pybind11::init< struct ::statiskit::DiscreteMultivariateDistribution const * >()); - class_7189dbb358a659bb802e95b3ea6ebebd.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp b/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp deleted file mode 100644 index 0ef4ac06..00000000 --- a/src/py/wrapper/wrapper_73f4a03ba6125d598bb6a6a8f7de7664.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_381c73e64ead5c259f146f94a515f23e; - virtual return_type_381c73e64ead5c259f146f94a515f23e children() const override { PYBIND11_OVERLOAD(return_type_381c73e64ead5c259f146f94a515f23e, class_type, children, ); }; - typedef double return_type_3f32a8595a7457cdb1730a938df93a52; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_3f32a8595a7457cdb1730a938df93a52_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_3f32a8595a7457cdb1730a938df93a52_1_type; - virtual return_type_3f32a8595a7457cdb1730a938df93a52 scoring(param_3f32a8595a7457cdb1730a938df93a52_0_type param_0, param_3f32a8595a7457cdb1730a938df93a52_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_3f32a8595a7457cdb1730a938df93a52, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_80471378b41d5fb2852383905e389ae8; - typedef class ::statiskit::MultivariateConditionalData const & param_80471378b41d5fb2852383905e389ae8_0_type; - typedef bool const & param_80471378b41d5fb2852383905e389ae8_1_type; - virtual return_type_80471378b41d5fb2852383905e389ae8 operator()(param_80471378b41d5fb2852383905e389ae8_0_type param_0, param_80471378b41d5fb2852383905e389ae8_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_80471378b41d5fb2852383905e389ae8, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_c402748d2cab5e21a1f757e2c6d42c30)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_04cbf63a882c577cbaedece0977b3f06)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_1e1f9feb5de151d487d37d04f23903af)(::statiskit::Index const &, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_097be74e909e59baa2be813e4fcc1e91)(struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_93d565997abe5f4f88a7ea3a6c859f11)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_73f4a03ba6125d598bb6a6a8f7de7664(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator > class_73f4a03ba6125d598bb6a6a8f7de7664(module, "Estimator", ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("__len__", method_pointer_c402748d2cab5e21a1f757e2c6d42c30, ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("get_estimator", method_pointer_04cbf63a882c577cbaedece0977b3f06, pybind11::return_value_policy::reference_internal, ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("set_estimator", method_pointer_1e1f9feb5de151d487d37d04f23903af, ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("add_estimator", method_pointer_097be74e909e59baa2be813e4fcc1e91, ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("remove_estimator", method_pointer_93d565997abe5f4f88a7ea3a6c859f11, ""); - class_73f4a03ba6125d598bb6a6a8f7de7664.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp b/src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp deleted file mode 100644 index c928d5b6..00000000 --- a/src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::CategoricalUnivariateMixtureDistribution *, ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_bda0d58ff17959ed95ba92c4ef5ae7cb)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_748e3ec2e85552f2ab39e490d409b414(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_748e3ec2e85552f2ab39e490d409b414(module, "_OptimizationEstimationImpl_748e3ec2e85552f2ab39e490d409b414", ""); - class_748e3ec2e85552f2ab39e490d409b414.def(pybind11::init< >()); - class_748e3ec2e85552f2ab39e490d409b414.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_748e3ec2e85552f2ab39e490d409b414.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_748e3ec2e85552f2ab39e490d409b414.def("__len__", method_pointer_bda0d58ff17959ed95ba92c4ef5ae7cb, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp b/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp deleted file mode 100644 index d4da9781..00000000 --- a/src/py/wrapper/wrapper_74f6b70412845069a8b8594df02c99e5.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0927c177d8f25e769df847098dc0fbdf; - virtual return_type_0927c177d8f25e769df847098dc0fbdf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0927c177d8f25e769df847098dc0fbdf, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_4ff4f7a253da5880a0661fcb65811052; - virtual return_type_4ff4f7a253da5880a0661fcb65811052 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4ff4f7a253da5880a0661fcb65811052, class_type, simulate, ); }; - typedef double return_type_a5efbb8323ce59588d1b910d7b67790e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_a5efbb8323ce59588d1b910d7b67790e_0_type; - virtual return_type_a5efbb8323ce59588d1b910d7b67790e pdf(param_a5efbb8323ce59588d1b910d7b67790e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_a5efbb8323ce59588d1b910d7b67790e, class_type, pdf, param_0); }; - typedef double return_type_c1857f9e4114567a9dd86ccbeacf6819; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_c1857f9e4114567a9dd86ccbeacf6819_0_type; - virtual return_type_c1857f9e4114567a9dd86ccbeacf6819 ldf(param_c1857f9e4114567a9dd86ccbeacf6819_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c1857f9e4114567a9dd86ccbeacf6819, class_type, ldf, param_0); }; - typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; - typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; - typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; - virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; - virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_74f6b70412845069a8b8594df02c99e5(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > >::Type, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_74f6b70412845069a8b8594df02c99e5(module, "_PolymorphicCopy_74f6b70412845069a8b8594df02c99e5", ""); - class_74f6b70412845069a8b8594df02c99e5.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp b/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp deleted file mode 100644 index b630347d..00000000 --- a/src/py/wrapper/wrapper_7504e6a86bdf57c0a7e644a6615fcd51.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e731d0981dfa5ad7932de7d2d4730d2d; - virtual return_type_e731d0981dfa5ad7932de7d2d4730d2d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e731d0981dfa5ad7932de7d2d4730d2d, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_7504e6a86bdf57c0a7e644a6615fcd51(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_7504e6a86bdf57c0a7e644a6615fcd51(module, "_PolymorphicCopy_7504e6a86bdf57c0a7e644a6615fcd51", ""); - class_7504e6a86bdf57c0a7e644a6615fcd51.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp b/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp deleted file mode 100644 index 24556231..00000000 --- a/src/py/wrapper/wrapper_7510c84a2e4c5022ac15bd97a576d4b0.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_9cfff9401f1a5379b50bfde6487367bd; - virtual return_type_9cfff9401f1a5379b50bfde6487367bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9cfff9401f1a5379b50bfde6487367bd, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; - virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_7510c84a2e4c5022ac15bd97a576d4b0(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::ContinuousMultivariateDistribution > class_7510c84a2e4c5022ac15bd97a576d4b0(module, "_PolymorphicCopy_7510c84a2e4c5022ac15bd97a576d4b0", ""); - class_7510c84a2e4c5022ac15bd97a576d4b0.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7595c6bb437c59a9bc93a1f66c37eddf.cpp b/src/py/wrapper/wrapper_7595c6bb437c59a9bc93a1f66c37eddf.cpp deleted file mode 100644 index def5a1d0..00000000 --- a/src/py/wrapper/wrapper_7595c6bb437c59a9bc93a1f66c37eddf.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< double, ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_0036ec1baef95392ab6f6d467b642ea6)()const= &::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_7595c6bb437c59a9bc93a1f66c37eddf(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_7595c6bb437c59a9bc93a1f66c37eddf(module, "_OptimizationEstimationImpl_7595c6bb437c59a9bc93a1f66c37eddf", ""); - class_7595c6bb437c59a9bc93a1f66c37eddf.def(pybind11::init< >()); - class_7595c6bb437c59a9bc93a1f66c37eddf.def(pybind11::init< class ::statiskit::SplittingDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_7595c6bb437c59a9bc93a1f66c37eddf.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_7595c6bb437c59a9bc93a1f66c37eddf.def("__len__", method_pointer_0036ec1baef95392ab6f6d467b642ea6, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0.cpp b/src/py/wrapper/wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0.cpp deleted file mode 100644 index afec3926..00000000 --- a/src/py/wrapper/wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_32fd5c986dd05136b1dbf042854691b4)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_9583a7943180584188d9656e9cb2212a)(enum ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_7622b202aa8c5c10af59ca8b1ec3c7e0(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > > class_7622b202aa8c5c10af59ca8b1ec3c7e0(module, "CriterionEstimator", ""); - class_7622b202aa8c5c10af59ca8b1ec3c7e0.def(pybind11::init< >()); - class_7622b202aa8c5c10af59ca8b1ec3c7e0.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator const & >()); - class_7622b202aa8c5c10af59ca8b1ec3c7e0.def("get_criterion", method_pointer_32fd5c986dd05136b1dbf042854691b4, pybind11::return_value_policy::copy, ""); - class_7622b202aa8c5c10af59ca8b1ec3c7e0.def("set_criterion", method_pointer_9583a7943180584188d9656e9cb2212a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp index 8a7cf74d..db9d815c 100644 --- a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp +++ b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp @@ -7,6 +7,8 @@ namespace autowig { void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module) { - pybind11::class_::Type > class_779c0e94601b5238932a999e37acfdea(module, "DiscreteUnivariateFrequencyDistributionEstimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > > class_779c0e94601b5238932a999e37acfdea(module, "DiscreteUnivariateFrequencyDistributionEstimator", ""); + class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< >()); + class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7815e44baa9c505681db76fc0d0c7fd6.cpp b/src/py/wrapper/wrapper_7815e44baa9c505681db76fc0d0c7fd6.cpp deleted file mode 100644 index beede81b..00000000 --- a/src/py/wrapper/wrapper_7815e44baa9c505681db76fc0d0c7fd6.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_6c695d2ebbf45d4ba94609396fcb05f3)()const= &::statiskit::ActiveEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_7815e44baa9c505681db76fc0d0c7fd6(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_7815e44baa9c505681db76fc0d0c7fd6(module, "_ActiveEstimation_7815e44baa9c505681db76fc0d0c7fd6", ""); - class_7815e44baa9c505681db76fc0d0c7fd6.def(pybind11::init< >()); - class_7815e44baa9c505681db76fc0d0c7fd6.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_7815e44baa9c505681db76fc0d0c7fd6.def(pybind11::init< struct ::statiskit::SingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_7815e44baa9c505681db76fc0d0c7fd6.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_7815e44baa9c505681db76fc0d0c7fd6.def("get_data", method_pointer_6c695d2ebbf45d4ba94609396fcb05f3, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp b/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp deleted file mode 100644 index f056071d..00000000 --- a/src/py/wrapper/wrapper_7963cd416f6c50c09445d3b27e4f9428.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8900ad62e63950c5a85971d4d5a063e4; - virtual return_type_8900ad62e63950c5a85971d4d5a063e4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8900ad62e63950c5a85971d4d5a063e4, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_7963cd416f6c50c09445d3b27e4f9428(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_7963cd416f6c50c09445d3b27e4f9428(module, "_PolymorphicCopy_7963cd416f6c50c09445d3b27e4f9428", ""); - class_7963cd416f6c50c09445d3b27e4f9428.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp b/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp deleted file mode 100644 index 4bd6dc59..00000000 --- a/src/py/wrapper/wrapper_79be5108bb8c56d9825ee10945271a59.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7c517b8061e85c15a1150cdc0c876aad; - virtual return_type_7c517b8061e85c15a1150cdc0c876aad copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7c517b8061e85c15a1150cdc0c876aad, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_79be5108bb8c56d9825ee10945271a59(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_79be5108bb8c56d9825ee10945271a59(module, "_PolymorphicCopy_79be5108bb8c56d9825ee10945271a59", ""); - class_79be5108bb8c56d9825ee10945271a59.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7a72df81b8e3525a981c66a31496b8f4.cpp b/src/py/wrapper/wrapper_7a72df81b8e3525a981c66a31496b8f4.cpp deleted file mode 100644 index 490f63fc..00000000 --- a/src/py/wrapper/wrapper_7a72df81b8e3525a981c66a31496b8f4.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_611291dafb3051bbaa7cd984f387adf3)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_e1de62eaf40658b590608adf03557e01)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_b269070c1d205c64b5e0853cf19ec3cf)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_e7e1827c761b5570975b1b52f3bd536b)(struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_ea4d01fdeeda534db75dddaf81b17170)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_c5223b56abc6508e9fa54a64c734f1ab)(::statiskit::Index const &, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_2c371f625fa7556c8c9f3db12ffac853)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_681e97f54b7c548b932e8bdf0d3c8cf9)(struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_a60f61482e1a5f728a02d241230443be)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_604964a9c834575dabaaf7e259691fa6)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_7a72df81b8e3525a981c66a31496b8f4(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_7a72df81b8e3525a981c66a31496b8f4(module, "Estimator", ""); - class_7a72df81b8e3525a981c66a31496b8f4.def(pybind11::init< >()); - class_7a72df81b8e3525a981c66a31496b8f4.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator const & >()); - class_7a72df81b8e3525a981c66a31496b8f4.def("get_pi", method_pointer_611291dafb3051bbaa7cd984f387adf3, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("set_pi", method_pointer_e1de62eaf40658b590608adf03557e01, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("get_default_estimator", method_pointer_b269070c1d205c64b5e0853cf19ec3cf, pybind11::return_value_policy::reference_internal, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("set_default_estimator", method_pointer_e7e1827c761b5570975b1b52f3bd536b, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("get_estimator", method_pointer_ea4d01fdeeda534db75dddaf81b17170, pybind11::return_value_policy::reference_internal, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("set_estimator", method_pointer_c5223b56abc6508e9fa54a64c734f1ab, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("get_initializator", method_pointer_2c371f625fa7556c8c9f3db12ffac853, pybind11::return_value_policy::reference_internal, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("set_initializator", method_pointer_681e97f54b7c548b932e8bdf0d3c8cf9, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("get_limit", method_pointer_a60f61482e1a5f728a02d241230443be, ""); - class_7a72df81b8e3525a981c66a31496b8f4.def("set_limit", method_pointer_604964a9c834575dabaaf7e259691fa6, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7a9d965afc04501291149551eda23354.cpp b/src/py/wrapper/wrapper_7a9d965afc04501291149551eda23354.cpp deleted file mode 100644 index 9ee3d542..00000000 --- a/src/py/wrapper/wrapper_7a9d965afc04501291149551eda23354.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -class ::statiskit::UnivariateConditionalData & (::std::unique_ptr< ::statiskit::UnivariateConditionalData, ::std::default_delete< ::statiskit::UnivariateConditionalData > >::*method_pointer_48e01202d87f567d8e4e0990bfcb13a4)()const= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::operator*; -::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalData, ::std::default_delete< ::statiskit::UnivariateConditionalData > >::*method_pointer_a38c193d9489578396edb31f353d7155)()const= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::get; -::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalData, ::std::default_delete< ::statiskit::UnivariateConditionalData > >::*method_pointer_fe9ca34dbec75a31aa57c524d848ed8b)()= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalData, ::std::default_delete< ::statiskit::UnivariateConditionalData > >::*method_pointer_1aaa86dea32c5103b324d2dfb21ef26c)(::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::pointer )= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalData, ::std::default_delete< ::statiskit::UnivariateConditionalData > >::*method_pointer_d91f10ba20595174bc6eb26e3f006a74)(class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > > &)= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > >::swap; - -namespace autowig { - void method_decorator_48e01202d87f567d8e4e0990bfcb13a4(class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData > > const & instance, const class ::statiskit::UnivariateConditionalData & param_out) { instance.operator*() = param_out; } -} - -void wrapper_7a9d965afc04501291149551eda23354(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp b/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp deleted file mode 100644 index 9480a085..00000000 --- a/src/py/wrapper/wrapper_7b337e963b005631b0b064a739f3b591.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MultivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; - typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; - virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > (::statiskit::MultivariateConditionalDistributionEstimation::Estimator::*method_pointer_2459c2d8b66758a8a5e14c538955ee4e)(::statiskit::MultivariateConditionalDistributionEstimation::data_type const &, bool const &)const= &::statiskit::MultivariateConditionalDistributionEstimation::Estimator::operator(); -class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > (::statiskit::MultivariateConditionalDistributionEstimation::Estimator::*method_pointer_59986b4f11705d0e8aa830dfb22c3798)()const= &::statiskit::MultivariateConditionalDistributionEstimation::Estimator::copy; - -namespace autowig { -} - -void wrapper_7b337e963b005631b0b064a739f3b591(pybind11::module& module) -{ - - pybind11::class_::Type, class ::statiskit::Estimator > class_7b337e963b005631b0b064a739f3b591(module, "Estimator", ""); - class_7b337e963b005631b0b064a739f3b591.def("__call__", method_pointer_2459c2d8b66758a8a5e14c538955ee4e, ""); - class_7b337e963b005631b0b064a739f3b591.def("copy", method_pointer_59986b4f11705d0e8aa830dfb22c3798, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7b62905e006b57cc879769143ac42b3a.cpp b/src/py/wrapper/wrapper_7b62905e006b57cc879769143ac42b3a.cpp deleted file mode 100644 index 678033fb..00000000 --- a/src/py/wrapper/wrapper_7b62905e006b57cc879769143ac42b3a.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::ShiftedDistribution< ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_6d4d6e71a2a550dca4aeab6f5cdc1faf)()const= &::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_7b62905e006b57cc879769143ac42b3a(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_7b62905e006b57cc879769143ac42b3a(module, "_LazyEstimation_7b62905e006b57cc879769143ac42b3a", ""); - class_7b62905e006b57cc879769143ac42b3a.def(pybind11::init< >()); - class_7b62905e006b57cc879769143ac42b3a.def(pybind11::init< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const * >()); - class_7b62905e006b57cc879769143ac42b3a.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_7b62905e006b57cc879769143ac42b3a.def("copy", method_pointer_6d4d6e71a2a550dca4aeab6f5cdc1faf, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp b/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp deleted file mode 100644 index 7ca43577..00000000 --- a/src/py/wrapper/wrapper_7d0c9ca0e35156dda4481073c8664c19.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::MixtureDistribution; - - typedef void return_type_246a8d3423cf5748b68f545f10de89b7; - typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; - typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; - virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_53a1ee3f2d3855c880f2c08bcae5c0ae)()const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::get_nb_states; -struct ::statiskit::DiscreteUnivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_4a38963b449e5930b798825c4b60941a)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_246a8d3423cf5748b68f545f10de89b7)(::statiskit::Index const &, struct ::statiskit::DiscreteUnivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_4a30aea4a63c5f25b68ece79845270e4)()const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_7d8c2a10d3c05b92ac6405acab6c0f44)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_2fb11bb0a2485540a23ef1fb88f9ee3a)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_23361478d0755a63b1f88ffcadd164e4)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_53b7d3603a8754c6ad42211b2b9d9e7d)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_a3ff30a188f45403b73a68db67aa2b5e)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::DiscreteUnivariateDistribution >::*method_pointer_da2a6ab77d635d259b7452eed4ed7fd1)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_7d0c9ca0e35156dda4481073c8664c19(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_7d0c9ca0e35156dda4481073c8664c19(module, "_MixtureDistribution_7d0c9ca0e35156dda4481073c8664c19", ""); - class_7d0c9ca0e35156dda4481073c8664c19.def(pybind11::init< >()); - class_7d0c9ca0e35156dda4481073c8664c19.def("get_nb_states", method_pointer_53a1ee3f2d3855c880f2c08bcae5c0ae, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("get_observation", method_pointer_4a38963b449e5930b798825c4b60941a, pybind11::return_value_policy::reference_internal, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("set_observation", method_pointer_246a8d3423cf5748b68f545f10de89b7, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("get_pi", method_pointer_4a30aea4a63c5f25b68ece79845270e4, pybind11::return_value_policy::copy, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("set_pi", method_pointer_7d8c2a10d3c05b92ac6405acab6c0f44, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("posterior", method_pointer_2fb11bb0a2485540a23ef1fb88f9ee3a, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("assignment", method_pointer_23361478d0755a63b1f88ffcadd164e4, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("assignment", method_pointer_53b7d3603a8754c6ad42211b2b9d9e7d, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("uncertainty", method_pointer_a3ff30a188f45403b73a68db67aa2b5e, ""); - class_7d0c9ca0e35156dda4481073c8664c19.def("uncertainty", method_pointer_da2a6ab77d635d259b7452eed4ed7fd1, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7d35ddb2f28b57a1849a13f7711f313e.cpp b/src/py/wrapper/wrapper_7d35ddb2f28b57a1849a13f7711f313e.cpp deleted file mode 100644 index 8c8f8083..00000000 --- a/src/py/wrapper/wrapper_7d35ddb2f28b57a1849a13f7711f313e.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::GeometricDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_51068c3b6ac05d2c9a851b2de5706c44)()const= &::statiskit::ActiveEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_7d35ddb2f28b57a1849a13f7711f313e(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_7d35ddb2f28b57a1849a13f7711f313e(module, "_ActiveEstimation_7d35ddb2f28b57a1849a13f7711f313e", ""); - class_7d35ddb2f28b57a1849a13f7711f313e.def(pybind11::init< >()); - class_7d35ddb2f28b57a1849a13f7711f313e.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_7d35ddb2f28b57a1849a13f7711f313e.def(pybind11::init< class ::statiskit::GeometricDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_7d35ddb2f28b57a1849a13f7711f313e.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_7d35ddb2f28b57a1849a13f7711f313e.def("get_data", method_pointer_51068c3b6ac05d2c9a851b2de5706c44, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7d52b247865d503986da71f28e0da3e9.cpp b/src/py/wrapper/wrapper_7d52b247865d503986da71f28e0da3e9.cpp deleted file mode 100644 index d947432c..00000000 --- a/src/py/wrapper/wrapper_7d52b247865d503986da71f28e0da3e9.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_7d52b247865d503986da71f28e0da3e9(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_7d52b247865d503986da71f28e0da3e9(module, "_LazyEstimation_7d52b247865d503986da71f28e0da3e9", ""); - class_7d52b247865d503986da71f28e0da3e9.def(pybind11::init< >()); - class_7d52b247865d503986da71f28e0da3e9.def(pybind11::init< class ::statiskit::SplittingDistribution const * >()); - class_7d52b247865d503986da71f28e0da3e9.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7e1cec4e31015327b818f37cfea0452d.cpp b/src/py/wrapper/wrapper_7e1cec4e31015327b818f37cfea0452d.cpp deleted file mode 100644 index 40387de7..00000000 --- a/src/py/wrapper/wrapper_7e1cec4e31015327b818f37cfea0452d.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_7e1cec4e31015327b818f37cfea0452d(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_7e1cec4e31015327b818f37cfea0452d(module, "criterion_type"); - enum_7e1cec4e31015327b818f37cfea0452d.value("AIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_7e1cec4e31015327b818f37cfea0452d.value("AI_CC", ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_7e1cec4e31015327b818f37cfea0452d.value("BIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_7e1cec4e31015327b818f37cfea0452d.value("HQIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_7e1cec4e31015327b818f37cfea0452d.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7eb3e765d79d55fd922f5b11acbb031e.cpp b/src/py/wrapper/wrapper_7eb3e765d79d55fd922f5b11acbb031e.cpp deleted file mode 100644 index b6f171db..00000000 --- a/src/py/wrapper/wrapper_7eb3e765d79d55fd922f5b11acbb031e.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_ec474ff232015448b1d45d309ac4b6a3)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_16121ffbf11f594f8cad5e0dc775bbc6)(enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_7eb3e765d79d55fd922f5b11acbb031e(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > > class_7eb3e765d79d55fd922f5b11acbb031e(module, "CriterionEstimator", ""); - class_7eb3e765d79d55fd922f5b11acbb031e.def(pybind11::init< >()); - class_7eb3e765d79d55fd922f5b11acbb031e.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator const & >()); - class_7eb3e765d79d55fd922f5b11acbb031e.def("get_criterion", method_pointer_ec474ff232015448b1d45d309ac4b6a3, pybind11::return_value_policy::copy, ""); - class_7eb3e765d79d55fd922f5b11acbb031e.def("set_criterion", method_pointer_16121ffbf11f594f8cad5e0dc775bbc6, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp b/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp deleted file mode 100644 index f04d8d28..00000000 --- a/src/py/wrapper/wrapper_7ee099e22285561eb2a1e4dac64d4ff9.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_4c55f907bce55349844e6cc78c19f098; - virtual return_type_4c55f907bce55349844e6cc78c19f098 children() const override { PYBIND11_OVERLOAD(return_type_4c55f907bce55349844e6cc78c19f098, class_type, children, ); }; - typedef double return_type_327da71272ea5094808d7deb45c022e6; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_327da71272ea5094808d7deb45c022e6_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_327da71272ea5094808d7deb45c022e6_1_type; - virtual return_type_327da71272ea5094808d7deb45c022e6 scoring(param_327da71272ea5094808d7deb45c022e6_0_type param_0, param_327da71272ea5094808d7deb45c022e6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_327da71272ea5094808d7deb45c022e6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_c3d913e3dfc7509f8002a9b8302c9508; - typedef class ::statiskit::UnivariateConditionalData const & param_c3d913e3dfc7509f8002a9b8302c9508_0_type; - typedef bool const & param_c3d913e3dfc7509f8002a9b8302c9508_1_type; - virtual return_type_c3d913e3dfc7509f8002a9b8302c9508 operator()(param_c3d913e3dfc7509f8002a9b8302c9508_0_type param_0, param_c3d913e3dfc7509f8002a9b8302c9508_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c3d913e3dfc7509f8002a9b8302c9508, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_1120b1a3d74551f599e45fac9225479d)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_597dbbe845ae5fc9ad116e944049585e)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_797fcbeb32a75967b3acd8939287f27a)(::statiskit::Index const &, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_140b0ba608935d5b9904110ae815942c)(struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*method_pointer_9556611bcc2f52ad9b6ae596b8b387d7)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_7ee099e22285561eb2a1e4dac64d4ff9(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator > class_7ee099e22285561eb2a1e4dac64d4ff9(module, "Estimator", ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("__len__", method_pointer_1120b1a3d74551f599e45fac9225479d, ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("get_estimator", method_pointer_597dbbe845ae5fc9ad116e944049585e, pybind11::return_value_policy::reference_internal, ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("set_estimator", method_pointer_797fcbeb32a75967b3acd8939287f27a, ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("add_estimator", method_pointer_140b0ba608935d5b9904110ae815942c, ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("remove_estimator", method_pointer_9556611bcc2f52ad9b6ae596b8b387d7, ""); - class_7ee099e22285561eb2a1e4dac64d4ff9.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp new file mode 100644 index 00000000..65fdff7b --- /dev/null +++ b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; + typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; + virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_823c1d5da2f35f9abbb62a989d434392(pybind11::module& module) +{ + + pybind11::class_::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_823c1d5da2f35f9abbb62a989d434392(module, "_PolymorphicCopy_823c1d5da2f35f9abbb62a989d434392", ""); + class_823c1d5da2f35f9abbb62a989d434392.def(pybind11::init< >()); + class_823c1d5da2f35f9abbb62a989d434392.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8481c329ca5e52b0af85447122c41ca5.cpp b/src/py/wrapper/wrapper_8481c329ca5e52b0af85447122c41ca5.cpp deleted file mode 100644 index bc134a28..00000000 --- a/src/py/wrapper/wrapper_8481c329ca5e52b0af85447122c41ca5.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_211f4c49c9ef5890a0f088022651527f)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_8481c329ca5e52b0af85447122c41ca5(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_8481c329ca5e52b0af85447122c41ca5(module, "_ActiveEstimation_8481c329ca5e52b0af85447122c41ca5", ""); - class_8481c329ca5e52b0af85447122c41ca5.def(pybind11::init< >()); - class_8481c329ca5e52b0af85447122c41ca5.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_8481c329ca5e52b0af85447122c41ca5.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_8481c329ca5e52b0af85447122c41ca5.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_8481c329ca5e52b0af85447122c41ca5.def("get_data", method_pointer_211f4c49c9ef5890a0f088022651527f, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp b/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp deleted file mode 100644 index 115e7e89..00000000 --- a/src/py/wrapper/wrapper_8486f4aa8ce25724972cec18f80c00cc.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_c1b9b85064ea5c2083c7e6ac77d19f03; - virtual return_type_c1b9b85064ea5c2083c7e6ac77d19f03 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1b9b85064ea5c2083c7e6ac77d19f03, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_8486f4aa8ce25724972cec18f80c00cc(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_8486f4aa8ce25724972cec18f80c00cc(module, "_PolymorphicCopy_8486f4aa8ce25724972cec18f80c00cc", ""); - class_8486f4aa8ce25724972cec18f80c00cc.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp b/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp deleted file mode 100644 index 4cf7c5a6..00000000 --- a/src/py/wrapper/wrapper_84c9be0b16d95273a960328d06f07469.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_84c9be0b16d95273a960328d06f07469(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< unsigned int, class ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_84c9be0b16d95273a960328d06f07469(module, "Estimator", ""); - class_84c9be0b16d95273a960328d06f07469.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_84eec6a551bf57658127a555bf79a38f.cpp b/src/py/wrapper/wrapper_84eec6a551bf57658127a555bf79a38f.cpp deleted file mode 100644 index c81992e0..00000000 --- a/src/py/wrapper/wrapper_84eec6a551bf57658127a555bf79a38f.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_398f1ff9c1de5e8d8c059d441d374a24)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_84eec6a551bf57658127a555bf79a38f(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_84eec6a551bf57658127a555bf79a38f(module, "_OptimizationEstimationImpl_84eec6a551bf57658127a555bf79a38f", ""); - class_84eec6a551bf57658127a555bf79a38f.def(pybind11::init< >()); - class_84eec6a551bf57658127a555bf79a38f.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_84eec6a551bf57658127a555bf79a38f.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - class_84eec6a551bf57658127a555bf79a38f.def("__len__", method_pointer_398f1ff9c1de5e8d8c059d441d374a24, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_85895a324a625f0888907166731d1bca.cpp b/src/py/wrapper/wrapper_85895a324a625f0888907166731d1bca.cpp deleted file mode 100644 index bced0bc6..00000000 --- a/src/py/wrapper/wrapper_85895a324a625f0888907166731d1bca.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_d074f81d124c593a9483366686044479)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_85895a324a625f0888907166731d1bca(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > > class_85895a324a625f0888907166731d1bca(module, "_ActiveEstimation_85895a324a625f0888907166731d1bca", ""); - class_85895a324a625f0888907166731d1bca.def(pybind11::init< >()); - class_85895a324a625f0888907166731d1bca.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_85895a324a625f0888907166731d1bca.def(pybind11::init< struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_85895a324a625f0888907166731d1bca.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - class_85895a324a625f0888907166731d1bca.def("get_data", method_pointer_d074f81d124c593a9483366686044479, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp b/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp deleted file mode 100644 index 1db5b289..00000000 --- a/src/py/wrapper/wrapper_861c54941e635197a1fd90e0eb95cd28.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a58dd202321053739da0da35b6fe998a; - virtual return_type_a58dd202321053739da0da35b6fe998a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a58dd202321053739da0da35b6fe998a, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_861c54941e635197a1fd90e0eb95cd28(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_861c54941e635197a1fd90e0eb95cd28(module, "_PolymorphicCopy_861c54941e635197a1fd90e0eb95cd28", ""); - class_861c54941e635197a1fd90e0eb95cd28.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp b/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp deleted file mode 100644 index c8b58c64..00000000 --- a/src/py/wrapper/wrapper_86541250592e58489f051f41f0896e22.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_5ff7db9761e15a5f9e6244d676d443a8; - virtual return_type_5ff7db9761e15a5f9e6244d676d443a8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ff7db9761e15a5f9e6244d676d443a8, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_55e0ad648dde5414b320fb3f17e3b500; - virtual return_type_55e0ad648dde5414b320fb3f17e3b500 children() const override { PYBIND11_OVERLOAD(return_type_55e0ad648dde5414b320fb3f17e3b500, class_type, children, ); }; - typedef double return_type_f6b66ca1311054b080ca6398a959c4fa; - typedef struct ::statiskit::UnivariateConditionalDistribution const * param_f6b66ca1311054b080ca6398a959c4fa_0_type; - typedef class ::statiskit::UnivariateConditionalData const & param_f6b66ca1311054b080ca6398a959c4fa_1_type; - virtual return_type_f6b66ca1311054b080ca6398a959c4fa scoring(param_f6b66ca1311054b080ca6398a959c4fa_0_type param_0, param_f6b66ca1311054b080ca6398a959c4fa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_f6b66ca1311054b080ca6398a959c4fa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f; - typedef class ::statiskit::UnivariateConditionalData const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type; - typedef bool const & param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type; - virtual return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f operator()(param_2469a2ca1bd45c5a8b42e6c0c7ce051f_0_type param_0, param_2469a2ca1bd45c5a8b42e6c0c7ce051f_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2469a2ca1bd45c5a8b42e6c0c7ce051f, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_86541250592e58489f051f41f0896e22(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator > class_86541250592e58489f051f41f0896e22(module, "_PolymorphicCopy_86541250592e58489f051f41f0896e22", ""); - class_86541250592e58489f051f41f0896e22.def(pybind11::init< >()); - class_86541250592e58489f051f41f0896e22.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_86ceaf8153c052c9b470c7e534cdb934.cpp b/src/py/wrapper/wrapper_86ceaf8153c052c9b470c7e534cdb934.cpp deleted file mode 100644 index e9161fd2..00000000 --- a/src/py/wrapper/wrapper_86ceaf8153c052c9b470c7e534cdb934.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_86ceaf8153c052c9b470c7e534cdb934(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, class ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > >::Type, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > class_86ceaf8153c052c9b470c7e534cdb934(module, "_PolymorphicCopy_86ceaf8153c052c9b470c7e534cdb934", ""); - class_86ceaf8153c052c9b470c7e534cdb934.def(pybind11::init< >()); - class_86ceaf8153c052c9b470c7e534cdb934.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateData, class ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_87317e63de535031ba8bf5e2f19134ef.cpp b/src/py/wrapper/wrapper_87317e63de535031ba8bf5e2f19134ef.cpp deleted file mode 100644 index ec82af5d..00000000 --- a/src/py/wrapper/wrapper_87317e63de535031ba8bf5e2f19134ef.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::ShiftedDistribution< ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_b2534751f5815d4bbd3de17f8e6d7c2a)()const= &::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_87317e63de535031ba8bf5e2f19134ef(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_87317e63de535031ba8bf5e2f19134ef(module, "_LazyEstimation_87317e63de535031ba8bf5e2f19134ef", ""); - class_87317e63de535031ba8bf5e2f19134ef.def(pybind11::init< >()); - class_87317e63de535031ba8bf5e2f19134ef.def(pybind11::init< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const * >()); - class_87317e63de535031ba8bf5e2f19134ef.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_87317e63de535031ba8bf5e2f19134ef.def("copy", method_pointer_b2534751f5815d4bbd3de17f8e6d7c2a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_87bede3683865d5daba537c08a5c665f.cpp b/src/py/wrapper/wrapper_87bede3683865d5daba537c08a5c665f.cpp deleted file mode 100644 index 912a84ac..00000000 --- a/src/py/wrapper/wrapper_87bede3683865d5daba537c08a5c665f.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_56c987f32ac25aee8c4b408112cb0847)()const= &::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_87bede3683865d5daba537c08a5c665f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_87bede3683865d5daba537c08a5c665f(module, "_LazyEstimation_87bede3683865d5daba537c08a5c665f", ""); - class_87bede3683865d5daba537c08a5c665f.def(pybind11::init< >()); - class_87bede3683865d5daba537c08a5c665f.def(pybind11::init< struct ::statiskit::ContinuousUnivariateDistribution const * >()); - class_87bede3683865d5daba537c08a5c665f.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_87bede3683865d5daba537c08a5c665f.def("copy", method_pointer_56c987f32ac25aee8c4b408112cb0847, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp b/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp deleted file mode 100644 index 6b17f03c..00000000 --- a/src/py/wrapper/wrapper_881a8218d7d65c82b32d722273692e73.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; - typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; - virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_881a8218d7d65c82b32d722273692e73(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_881a8218d7d65c82b32d722273692e73(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_886998686eca518d858abef756189174.cpp b/src/py/wrapper/wrapper_886998686eca518d858abef756189174.cpp deleted file mode 100644 index 9b85c3b9..00000000 --- a/src/py/wrapper/wrapper_886998686eca518d858abef756189174.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_886998686eca518d858abef756189174(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > > class_886998686eca518d858abef756189174(module, "DiscreteUnivariateMixtureDistribution", ""); - class_886998686eca518d858abef756189174.def(pybind11::init< class ::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_886998686eca518d858abef756189174.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8946cbc54c235b72b2e100c2785ce4c3.cpp b/src/py/wrapper/wrapper_8946cbc54c235b72b2e100c2785ce4c3.cpp deleted file mode 100644 index 05e8c692..00000000 --- a/src/py/wrapper/wrapper_8946cbc54c235b72b2e100c2785ce4c3.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::QuantitativeUnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_7b6c875b27755990a8b651c150543f8d)()const= &::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_8946cbc54c235b72b2e100c2785ce4c3(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_8946cbc54c235b72b2e100c2785ce4c3(module, "_LazyEstimation_8946cbc54c235b72b2e100c2785ce4c3", ""); - class_8946cbc54c235b72b2e100c2785ce4c3.def(pybind11::init< >()); - class_8946cbc54c235b72b2e100c2785ce4c3.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const * >()); - class_8946cbc54c235b72b2e100c2785ce4c3.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_8946cbc54c235b72b2e100c2785ce4c3.def("copy", method_pointer_7b6c875b27755990a8b651c150543f8d, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_899c8afc48a850aaac3ae5c4614380e9.cpp b/src/py/wrapper/wrapper_899c8afc48a850aaac3ae5c4614380e9.cpp deleted file mode 100644 index 48a8675b..00000000 --- a/src/py/wrapper/wrapper_899c8afc48a850aaac3ae5c4614380e9.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_899c8afc48a850aaac3ae5c4614380e9(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalMultivariateDistributionEstimation > class_899c8afc48a850aaac3ae5c4614380e9(module, "_LazyEstimation_899c8afc48a850aaac3ae5c4614380e9", ""); - class_899c8afc48a850aaac3ae5c4614380e9.def(pybind11::init< >()); - class_899c8afc48a850aaac3ae5c4614380e9.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const * >()); - class_899c8afc48a850aaac3ae5c4614380e9.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp b/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp deleted file mode 100644 index 146f0689..00000000 --- a/src/py/wrapper/wrapper_8a467c708d9c5620937b1f63cde332b1.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_3e4097cae0375266a0709347ead82e61; - virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; - typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; - typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; - typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; - virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; - typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; - typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; - virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_73fd5e6da2d4530f8f111e67a7c33ce3)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_208343c9d16956f590cc79b5cd6d8ea4)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_a15a9e8967f253a4953743d81164250d)(::statiskit::Index const &, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_fcafee85447e50158a0e087e45635955)(struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_e1756c5ca72c5f958a12e2a83458b927)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_8a467c708d9c5620937b1f63cde332b1(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_8a467c708d9c5620937b1f63cde332b1(module, "Estimator", ""); - class_8a467c708d9c5620937b1f63cde332b1.def("__len__", method_pointer_73fd5e6da2d4530f8f111e67a7c33ce3, ""); - class_8a467c708d9c5620937b1f63cde332b1.def("get_estimator", method_pointer_208343c9d16956f590cc79b5cd6d8ea4, pybind11::return_value_policy::reference_internal, ""); - class_8a467c708d9c5620937b1f63cde332b1.def("set_estimator", method_pointer_a15a9e8967f253a4953743d81164250d, ""); - class_8a467c708d9c5620937b1f63cde332b1.def("add_estimator", method_pointer_fcafee85447e50158a0e087e45635955, ""); - class_8a467c708d9c5620937b1f63cde332b1.def("remove_estimator", method_pointer_e1756c5ca72c5f958a12e2a83458b927, ""); - class_8a467c708d9c5620937b1f63cde332b1.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8a816909345b5bf2911f863db5b8cb0b.cpp b/src/py/wrapper/wrapper_8a816909345b5bf2911f863db5b8cb0b.cpp deleted file mode 100644 index 8cfa42d9..00000000 --- a/src/py/wrapper/wrapper_8a816909345b5bf2911f863db5b8cb0b.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - -void (::statiskit::WeightedData< ::statiskit::MultivariateData >::Generator::*method_pointer_29ca89a65c145b51b49d5ff023beda12)(double const &)= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::Generator::weight; - -namespace autowig { -} - -void wrapper_8a816909345b5bf2911f863db5b8cb0b(pybind11::module& module) -{ - - pybind11::class_::Generator, autowig::HolderType< class ::statiskit::WeightedData< struct ::statiskit::MultivariateData >::Generator >::Type, struct ::statiskit::MultivariateData::Generator > class_8a816909345b5bf2911f863db5b8cb0b(module, "Generator", ""); - class_8a816909345b5bf2911f863db5b8cb0b.def(pybind11::init< class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > * >()); - class_8a816909345b5bf2911f863db5b8cb0b.def("weight", method_pointer_29ca89a65c145b51b49d5ff023beda12, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8c51a578c55d5bdd9eb4e60d4581366b.cpp b/src/py/wrapper/wrapper_8c51a578c55d5bdd9eb4e60d4581366b.cpp deleted file mode 100644 index 86b83a93..00000000 --- a/src/py/wrapper/wrapper_8c51a578c55d5bdd9eb4e60d4581366b.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator & (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_b693b91fd62c5c3c95dbeda328fc8440)()const= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::operator*; -::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_cf70e442e608532c817b7838ef7e8ac0)()const= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::get; -::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_17d60d6d59a45563b7fb589ec48acf6b)()= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_badf9df6281a5194b9de6d5288998703)(::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::pointer )= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_df52b78a962555cca2e598d0984ffe4e)(class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > &)= &::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > >::swap; - -namespace autowig { - void method_decorator_b693b91fd62c5c3c95dbeda328fc8440(class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > const & instance, const struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_8c51a578c55d5bdd9eb4e60d4581366b(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8c6ff66ad2db50f3b16cf4191e75d77b.cpp b/src/py/wrapper/wrapper_8c6ff66ad2db50f3b16cf4191e75d77b.cpp deleted file mode 100644 index 6bc8a896..00000000 --- a/src/py/wrapper/wrapper_8c6ff66ad2db50f3b16cf4191e75d77b.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::ContinuousUnivariateMixtureDistribution const * (::statiskit::OptimizationEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution *, ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_d4f2a767b0cd5fc18f4f1f6ec9b3f6ce)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_8c6ff66ad2db50f3b16cf4191e75d77b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_8c6ff66ad2db50f3b16cf4191e75d77b(module, "_OptimizationEstimation_8c6ff66ad2db50f3b16cf4191e75d77b", ""); - class_8c6ff66ad2db50f3b16cf4191e75d77b.def(pybind11::init< >()); - class_8c6ff66ad2db50f3b16cf4191e75d77b.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_8c6ff66ad2db50f3b16cf4191e75d77b.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_8c6ff66ad2db50f3b16cf4191e75d77b.def("get_iteration", method_pointer_d4f2a767b0cd5fc18f4f1f6ec9b3f6ce, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp b/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp deleted file mode 100644 index 9bd16344..00000000 --- a/src/py/wrapper/wrapper_8d6042c687a1543d97b4931d7ca1fca8.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::MixtureDistribution; - - typedef void return_type_d15c4654ed8057b88112aca660e855c0; - typedef ::statiskit::Index const & param_d15c4654ed8057b88112aca660e855c0_0_type; - typedef struct ::statiskit::DiscreteMultivariateDistribution const & param_d15c4654ed8057b88112aca660e855c0_1_type; - virtual return_type_d15c4654ed8057b88112aca660e855c0 set_observation(param_d15c4654ed8057b88112aca660e855c0_0_type param_0, param_d15c4654ed8057b88112aca660e855c0_1_type param_1) override { PYBIND11_OVERLOAD(return_type_d15c4654ed8057b88112aca660e855c0, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_a5eee15fa89057319b8035eaa5bfa737; - virtual return_type_a5eee15fa89057319b8035eaa5bfa737 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_a5eee15fa89057319b8035eaa5bfa737, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; - virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_a84f48080c9e51648e06a3d2a7efeaed)()const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::get_nb_states; -struct ::statiskit::DiscreteMultivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_466bff1d08ef51beacbfda3368e92ee8)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_d15c4654ed8057b88112aca660e855c0)(::statiskit::Index const &, struct ::statiskit::DiscreteMultivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_2b49ca2193805fee9ca87248802050e0)()const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_07e0018ec5b751b7bba04dbd50815753)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_2cd6c078416e568799bab23dfb509e2f)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_b228d8d88e9b5bb4b32da69c87abc7dc)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_f9d07f1dafa95a2582d11d0afb166d3a)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_5ec1f291269a5a61a3a8ad54a8af8fad)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >::*method_pointer_ad794feca936536a9d56d44c7b798eb2)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_8d6042c687a1543d97b4931d7ca1fca8(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > >::Type, struct ::statiskit::DiscreteMultivariateDistribution > class_8d6042c687a1543d97b4931d7ca1fca8(module, "_MixtureDistribution_8d6042c687a1543d97b4931d7ca1fca8", ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def(pybind11::init< >()); - class_8d6042c687a1543d97b4931d7ca1fca8.def("get_nb_states", method_pointer_a84f48080c9e51648e06a3d2a7efeaed, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("get_observation", method_pointer_466bff1d08ef51beacbfda3368e92ee8, pybind11::return_value_policy::reference_internal, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("set_observation", method_pointer_d15c4654ed8057b88112aca660e855c0, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("get_pi", method_pointer_2b49ca2193805fee9ca87248802050e0, pybind11::return_value_policy::copy, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("set_pi", method_pointer_07e0018ec5b751b7bba04dbd50815753, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("posterior", method_pointer_2cd6c078416e568799bab23dfb509e2f, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("assignment", method_pointer_b228d8d88e9b5bb4b32da69c87abc7dc, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("assignment", method_pointer_f9d07f1dafa95a2582d11d0afb166d3a, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("uncertainty", method_pointer_5ec1f291269a5a61a3a8ad54a8af8fad, ""); - class_8d6042c687a1543d97b4931d7ca1fca8.def("uncertainty", method_pointer_ad794feca936536a9d56d44c7b798eb2, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp b/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp index 5dd835a4..c1dd9be2 100644 --- a/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp +++ b/src/py/wrapper/wrapper_8d9f50f674e25529b3d059a5a5380bcb.cpp @@ -1,7 +1,7 @@ #include "_core.h" ::statiskit::Index (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_b8d633dd3fba502087b924858a0fd3c3)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::size; -struct ::statiskit::SingularDistribution const * (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_24b830382ee05c73b073881f4f58f9f7)(::statiskit::Index const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::get_distribution; +class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > * const (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_aaed889a3e855db88e484a979e8523b9)(::statiskit::Index const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::get_estimation; double const & (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::*method_pointer_bb87061374485ac6adaf5ed60315f642)(::statiskit::Index const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::get_score; namespace autowig { @@ -15,7 +15,7 @@ void wrapper_8d9f50f674e25529b3d059a5a5380bcb(pybind11::module& module) class_8d9f50f674e25529b3d059a5a5380bcb.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); class_8d9f50f674e25529b3d059a5a5380bcb.def(pybind11::init< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > const & >()); class_8d9f50f674e25529b3d059a5a5380bcb.def("__len__", method_pointer_b8d633dd3fba502087b924858a0fd3c3, ""); - class_8d9f50f674e25529b3d059a5a5380bcb.def("get_distribution", method_pointer_24b830382ee05c73b073881f4f58f9f7, pybind11::return_value_policy::reference_internal, ""); + class_8d9f50f674e25529b3d059a5a5380bcb.def("get_estimation", method_pointer_aaed889a3e855db88e484a979e8523b9, pybind11::return_value_policy::reference_internal, ""); class_8d9f50f674e25529b3d059a5a5380bcb.def("get_score", method_pointer_bb87061374485ac6adaf5ed60315f642, pybind11::return_value_policy::copy, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp index 3ae23bf6..1259cdd2 100644 --- a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp +++ b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp @@ -17,13 +17,13 @@ namespace autowig typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; - private: + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; - private: + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; }; @@ -32,7 +32,6 @@ namespace autowig { public: using class_type::operator(); - using class_type::copy; }; } @@ -44,10 +43,9 @@ namespace autowig { void wrapper_8dcb38f525415f5eb16b5b180a314eab(pybind11::module& module) { - pybind11::class_::Type > class_8dcb38f525415f5eb16b5b180a314eab(module, "Estimator", ""); + pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > class_8dcb38f525415f5eb16b5b180a314eab(module, "Estimator", ""); class_8dcb38f525415f5eb16b5b180a314eab.def(pybind11::init< >()); class_8dcb38f525415f5eb16b5b180a314eab.def("__call__", method_pointer_2e84d0444d9f5eb29e764d81a82e587c, ""); - class_8dcb38f525415f5eb16b5b180a314eab.def("____call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); - class_8dcb38f525415f5eb16b5b180a314eab.def("__copy", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) () const >(&autowig::Publicist::copy), ""); + class_8dcb38f525415f5eb16b5b180a314eab.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8e92507e5f595339b8e2826b584e0a7b.cpp b/src/py/wrapper/wrapper_8e92507e5f595339b8e2826b584e0a7b.cpp deleted file mode 100644 index a3536ae2..00000000 --- a/src/py/wrapper/wrapper_8e92507e5f595339b8e2826b584e0a7b.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_8e92507e5f595339b8e2826b584e0a7b(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_8e92507e5f595339b8e2826b584e0a7b(module, "criterion_type"); - enum_8e92507e5f595339b8e2826b584e0a7b.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_8e92507e5f595339b8e2826b584e0a7b.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_8e92507e5f595339b8e2826b584e0a7b.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_8e92507e5f595339b8e2826b584e0a7b.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_8e92507e5f595339b8e2826b584e0a7b.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8f3919223a1f55afb240c3500b95c95b.cpp b/src/py/wrapper/wrapper_8f3919223a1f55afb240c3500b95c95b.cpp deleted file mode 100644 index 107c4c12..00000000 --- a/src/py/wrapper/wrapper_8f3919223a1f55afb240c3500b95c95b.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_f2a312cb4a5d590dbb1e9ae1362ac61d)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; -struct ::statiskit::DiscreteUnivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_9bd22ea1899950c2aa9321d50d5ba15d)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_98b607b3c29258bba448e60c8bb7dc5f)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_8f3919223a1f55afb240c3500b95c95b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_8f3919223a1f55afb240c3500b95c95b(module, "_Selection_8f3919223a1f55afb240c3500b95c95b", ""); - class_8f3919223a1f55afb240c3500b95c95b.def(pybind11::init< >()); - class_8f3919223a1f55afb240c3500b95c95b.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_8f3919223a1f55afb240c3500b95c95b.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_8f3919223a1f55afb240c3500b95c95b.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_8f3919223a1f55afb240c3500b95c95b.def("__len__", method_pointer_f2a312cb4a5d590dbb1e9ae1362ac61d, ""); - class_8f3919223a1f55afb240c3500b95c95b.def("get_estimation", method_pointer_9bd22ea1899950c2aa9321d50d5ba15d, pybind11::return_value_policy::reference_internal, ""); - class_8f3919223a1f55afb240c3500b95c95b.def("get_score", method_pointer_98b607b3c29258bba448e60c8bb7dc5f, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp b/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp deleted file mode 100644 index ba052017..00000000 --- a/src/py/wrapper/wrapper_90681e203d925f7c8b9ca14a02786804.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_f19d92ac6e4f5f648d37804c69a385bd; - virtual return_type_f19d92ac6e4f5f648d37804c69a385bd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f19d92ac6e4f5f648d37804c69a385bd, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_90681e203d925f7c8b9ca14a02786804(pybind11::module& module) -{ - - pybind11::class_::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_90681e203d925f7c8b9ca14a02786804(module, "_PolymorphicCopy_90681e203d925f7c8b9ca14a02786804", ""); - class_90681e203d925f7c8b9ca14a02786804.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_90894824332153a7a0c5c3bd4ff0eab8.cpp b/src/py/wrapper/wrapper_90894824332153a7a0c5c3bd4ff0eab8.cpp deleted file mode 100644 index 311e21a8..00000000 --- a/src/py/wrapper/wrapper_90894824332153a7a0c5c3bd4ff0eab8.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_90894824332153a7a0c5c3bd4ff0eab8(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > class_90894824332153a7a0c5c3bd4ff0eab8(module, "_LazyEstimation_90894824332153a7a0c5c3bd4ff0eab8", ""); - class_90894824332153a7a0c5c3bd4ff0eab8.def(pybind11::init< >()); - class_90894824332153a7a0c5c3bd4ff0eab8.def(pybind11::init< struct ::statiskit::ContinuousMultivariateConditionalDistribution const * >()); - class_90894824332153a7a0c5c3bd4ff0eab8.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_90a595db73ec5964850871a0849d9df6.cpp b/src/py/wrapper/wrapper_90a595db73ec5964850871a0849d9df6.cpp deleted file mode 100644 index 72249f50..00000000 --- a/src/py/wrapper/wrapper_90a595db73ec5964850871a0849d9df6.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const * (::statiskit::OptimizationEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_3eb09313b1025e9c8b28d8cde54591bc)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_90a595db73ec5964850871a0849d9df6(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_90a595db73ec5964850871a0849d9df6(module, "_OptimizationEstimation_90a595db73ec5964850871a0849d9df6", ""); - class_90a595db73ec5964850871a0849d9df6.def(pybind11::init< >()); - class_90a595db73ec5964850871a0849d9df6.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_90a595db73ec5964850871a0849d9df6.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); - class_90a595db73ec5964850871a0849d9df6.def("get_iteration", method_pointer_3eb09313b1025e9c8b28d8cde54591bc, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_90ffe8fffb9b5923867b6c24ac9eedb7.cpp b/src/py/wrapper/wrapper_90ffe8fffb9b5923867b6c24ac9eedb7.cpp deleted file mode 100644 index 806fa8bb..00000000 --- a/src/py/wrapper/wrapper_90ffe8fffb9b5923867b6c24ac9eedb7.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_90ffe8fffb9b5923867b6c24ac9eedb7(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > >::Type, struct ::statiskit::MultivariateDistributionEstimation > class_90ffe8fffb9b5923867b6c24ac9eedb7(module, "_LazyEstimation_90ffe8fffb9b5923867b6c24ac9eedb7", ""); - class_90ffe8fffb9b5923867b6c24ac9eedb7.def(pybind11::init< >()); - class_90ffe8fffb9b5923867b6c24ac9eedb7.def(pybind11::init< struct ::statiskit::MultivariateDistribution const * >()); - class_90ffe8fffb9b5923867b6c24ac9eedb7.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp b/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp index 826ddd4d..7b1c2cb3 100644 --- a/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp +++ b/src/py/wrapper/wrapper_91c5962ae4f35199bc2e90b5edad8412.cpp @@ -12,6 +12,7 @@ void wrapper_91c5962ae4f35199bc2e90b5edad8412(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > >::Type > class_91c5962ae4f35199bc2e90b5edad8412(module, "_DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412", ""); class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< >()); + class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::data_type const * >()); class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::distribution_type const * >()); class_91c5962ae4f35199bc2e90b5edad8412.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > const & >()); class_91c5962ae4f35199bc2e90b5edad8412.def("get_data", method_pointer_e4a2a9b682fa5d1ab1a7d05a0b75b056, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_939d85e97df35cb48d17558623c03cc2.cpp b/src/py/wrapper/wrapper_939d85e97df35cb48d17558623c03cc2.cpp deleted file mode 100644 index 05f5f0f7..00000000 --- a/src/py/wrapper/wrapper_939d85e97df35cb48d17558623c03cc2.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -double (::statiskit::ContinuousUnivariateMixtureDistribution::*method_pointer_5a80b4f2d62d5f8eb5a5eab5c8e22df8)()const= &::statiskit::ContinuousUnivariateMixtureDistribution::get_epsilon; -void (::statiskit::ContinuousUnivariateMixtureDistribution::*method_pointer_7671a0e8c58458eeaf32f52d562575f5)(double const &)= &::statiskit::ContinuousUnivariateMixtureDistribution::set_epsilon; - -namespace autowig { -} - -void wrapper_939d85e97df35cb48d17558623c03cc2(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > > class_939d85e97df35cb48d17558623c03cc2(module, "ContinuousUnivariateMixtureDistribution", ""); - class_939d85e97df35cb48d17558623c03cc2.def(pybind11::init< class ::std::vector< struct ::statiskit::ContinuousUnivariateDistribution *, class ::std::allocator< struct ::statiskit::ContinuousUnivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_939d85e97df35cb48d17558623c03cc2.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const & >()); - class_939d85e97df35cb48d17558623c03cc2.def("get_epsilon", method_pointer_5a80b4f2d62d5f8eb5a5eab5c8e22df8, ""); - class_939d85e97df35cb48d17558623c03cc2.def("set_epsilon", method_pointer_7671a0e8c58458eeaf32f52d562575f5, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp b/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp deleted file mode 100644 index 0a345ff9..00000000 --- a/src/py/wrapper/wrapper_9519b407cd30535e9a46079d8d8e90b2.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_9519b407cd30535e9a46079d8d8e90b2(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_9519b407cd30535e9a46079d8d8e90b2(module, "Estimator", ""); - class_9519b407cd30535e9a46079d8d8e90b2.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp b/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp deleted file mode 100644 index 92621ee7..00000000 --- a/src/py/wrapper/wrapper_9547a153430f5693a08b4dbbf3204f78.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; - typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; - virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_9547a153430f5693a08b4dbbf3204f78(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_9547a153430f5693a08b4dbbf3204f78(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9603102166305920b6c85e3416150e99.cpp b/src/py/wrapper/wrapper_9603102166305920b6c85e3416150e99.cpp deleted file mode 100644 index 89aaad3e..00000000 --- a/src/py/wrapper/wrapper_9603102166305920b6c85e3416150e99.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::QuantitativeUnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_7769483fa115513b967c23c4a5b5d3bd)()const= &::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_9603102166305920b6c85e3416150e99(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_9603102166305920b6c85e3416150e99(module, "_ActiveEstimation_9603102166305920b6c85e3416150e99", ""); - class_9603102166305920b6c85e3416150e99.def(pybind11::init< >()); - class_9603102166305920b6c85e3416150e99.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_9603102166305920b6c85e3416150e99.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > const *, struct ::statiskit::UnivariateData const * >()); - class_9603102166305920b6c85e3416150e99.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_9603102166305920b6c85e3416150e99.def("get_data", method_pointer_7769483fa115513b967c23c4a5b5d3bd, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_96486d682f0851438822ccbdd2c8c3eb.cpp b/src/py/wrapper/wrapper_96486d682f0851438822ccbdd2c8c3eb.cpp deleted file mode 100644 index 54f28ad0..00000000 --- a/src/py/wrapper/wrapper_96486d682f0851438822ccbdd2c8c3eb.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_96486d682f0851438822ccbdd2c8c3eb(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_96486d682f0851438822ccbdd2c8c3eb(module, "Estimator", ""); - class_96486d682f0851438822ccbdd2c8c3eb.def(pybind11::init< >()); - class_96486d682f0851438822ccbdd2c8c3eb.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp b/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp deleted file mode 100644 index 735de6fc..00000000 --- a/src/py/wrapper/wrapper_964cf359ff005773acf9fc2bf7c5743b.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_cc937d079d9f5df3a0af0c0ca425c038; - virtual return_type_cc937d079d9f5df3a0af0c0ca425c038 children() const override { PYBIND11_OVERLOAD(return_type_cc937d079d9f5df3a0af0c0ca425c038, class_type, children, ); }; - typedef double return_type_940068d2d5d8523a8df7122dfde4f21b; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_940068d2d5d8523a8df7122dfde4f21b_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_940068d2d5d8523a8df7122dfde4f21b_1_type; - virtual return_type_940068d2d5d8523a8df7122dfde4f21b scoring(param_940068d2d5d8523a8df7122dfde4f21b_0_type param_0, param_940068d2d5d8523a8df7122dfde4f21b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_940068d2d5d8523a8df7122dfde4f21b, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_5f6f3f47feaa581a85333748c4736bcf; - typedef class ::statiskit::MultivariateConditionalData const & param_5f6f3f47feaa581a85333748c4736bcf_0_type; - typedef bool const & param_5f6f3f47feaa581a85333748c4736bcf_1_type; - virtual return_type_5f6f3f47feaa581a85333748c4736bcf operator()(param_5f6f3f47feaa581a85333748c4736bcf_0_type param_0, param_5f6f3f47feaa581a85333748c4736bcf_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5f6f3f47feaa581a85333748c4736bcf, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_ac2822c95c21522d8b8765da0facf1f6)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_f0e84d56824152fcbca92bf618404904)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_5eb59769d7a857799bed2ea2528f1144)(::statiskit::Index const &, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_ac0a56cc16ba513a87f266a002e8ef40)(struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_5d62b69050735063bfab83f64099b288)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_964cf359ff005773acf9fc2bf7c5743b(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator > class_964cf359ff005773acf9fc2bf7c5743b(module, "Estimator", ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("__len__", method_pointer_ac2822c95c21522d8b8765da0facf1f6, ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("get_estimator", method_pointer_f0e84d56824152fcbca92bf618404904, pybind11::return_value_policy::reference_internal, ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("set_estimator", method_pointer_5eb59769d7a857799bed2ea2528f1144, ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("add_estimator", method_pointer_ac0a56cc16ba513a87f266a002e8ef40, ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("remove_estimator", method_pointer_5d62b69050735063bfab83f64099b288, ""); - class_964cf359ff005773acf9fc2bf7c5743b.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp index 108c0dd8..958430c3 100644 --- a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp +++ b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp @@ -21,6 +21,10 @@ namespace autowig typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; class Publicist : public class_type @@ -37,7 +41,7 @@ namespace autowig { void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module) { - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_9662a6a016085675978d04e2bc87a7f3(module, "Estimator", ""); + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_9662a6a016085675978d04e2bc87a7f3(module, "Estimator", ""); class_9662a6a016085675978d04e2bc87a7f3.def(pybind11::init< >()); class_9662a6a016085675978d04e2bc87a7f3.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_97ddfd5be73a5e91b93724af3ea449cd.cpp b/src/py/wrapper/wrapper_97ddfd5be73a5e91b93724af3ea449cd.cpp deleted file mode 100644 index 2f9617df..00000000 --- a/src/py/wrapper/wrapper_97ddfd5be73a5e91b93724af3ea449cd.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateDistributionEstimation & (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation > >::*method_pointer_f93c1e93a0245b05b5e5bf3026df3134)()const= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::operator*; -::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation > >::*method_pointer_439ffa6b446352169fb1467ec652acc3)()const= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::get; -::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation > >::*method_pointer_a068f77d9db65e1182afb6738912439d)()= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation > >::*method_pointer_bfd88355a54556fb8298ff8c3b0511df)(::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::pointer )= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateDistributionEstimation, ::std::default_delete< ::statiskit::MultivariateDistributionEstimation > >::*method_pointer_eb8289867abf565eb022e4d49cb7e2a7)(class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > &)= &::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > >::swap; - -namespace autowig { - void method_decorator_f93c1e93a0245b05b5e5bf3026df3134(class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > const & instance, const struct ::statiskit::MultivariateDistributionEstimation & param_out) { instance.operator*() = param_out; } -} - -void wrapper_97ddfd5be73a5e91b93724af3ea449cd(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp b/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp deleted file mode 100644 index cae789d8..00000000 --- a/src/py/wrapper/wrapper_9805623587005093969beb2ea47b0499.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_9805623587005093969beb2ea47b0499(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > > class_9805623587005093969beb2ea47b0499(module, "Estimator", ""); - class_9805623587005093969beb2ea47b0499.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_985cf21680915944bc189269c6e7eaf8.cpp b/src/py/wrapper/wrapper_985cf21680915944bc189269c6e7eaf8.cpp deleted file mode 100644 index a6ec58db..00000000 --- a/src/py/wrapper/wrapper_985cf21680915944bc189269c6e7eaf8.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "_core.h" - -double const & (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_d3ccedb55b8d5b6ca53ec7de0d9a0edc)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_943d6f125002594588773db745c20a0e)(double const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_93507ddbedc4537da09b64ff5c506d66)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_a5ad8543bef75abe82c8068ed14680b0)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_f6284a65c2bb5871951583a96f2f4150)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::*method_pointer_28f5d6e7fa1552b2a937cffd4bed119d)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_985cf21680915944bc189269c6e7eaf8(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_985cf21680915944bc189269c6e7eaf8(module, "_Optimization_985cf21680915944bc189269c6e7eaf8", ""); - class_985cf21680915944bc189269c6e7eaf8.def(pybind11::init< >()); - class_985cf21680915944bc189269c6e7eaf8.def(pybind11::init< class ::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > const & >()); - class_985cf21680915944bc189269c6e7eaf8.def("get_mindiff", method_pointer_d3ccedb55b8d5b6ca53ec7de0d9a0edc, pybind11::return_value_policy::copy, ""); - class_985cf21680915944bc189269c6e7eaf8.def("set_mindiff", method_pointer_943d6f125002594588773db745c20a0e, ""); - class_985cf21680915944bc189269c6e7eaf8.def("get_minits", method_pointer_93507ddbedc4537da09b64ff5c506d66, ""); - class_985cf21680915944bc189269c6e7eaf8.def("set_minits", method_pointer_a5ad8543bef75abe82c8068ed14680b0, ""); - class_985cf21680915944bc189269c6e7eaf8.def("get_maxits", method_pointer_f6284a65c2bb5871951583a96f2f4150, ""); - class_985cf21680915944bc189269c6e7eaf8.def("set_maxits", method_pointer_28f5d6e7fa1552b2a937cffd4bed119d, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_98899d54414f570aa57f6357fdc66074.cpp b/src/py/wrapper/wrapper_98899d54414f570aa57f6357fdc66074.cpp deleted file mode 100644 index 77cfb5cc..00000000 --- a/src/py/wrapper/wrapper_98899d54414f570aa57f6357fdc66074.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::*method_pointer_180321696f555b70b46c79f809e1d58b)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::size; -struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::*method_pointer_6df08aa67d2a56b7bdf32ed30b0bf1d0)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateConditionalDistribution, ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::*method_pointer_6a54b42ab3d65292a338e9e8102df431)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_98899d54414f570aa57f6357fdc66074(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > > class_98899d54414f570aa57f6357fdc66074(module, "_Selection_98899d54414f570aa57f6357fdc66074", ""); - class_98899d54414f570aa57f6357fdc66074.def(pybind11::init< >()); - class_98899d54414f570aa57f6357fdc66074.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_98899d54414f570aa57f6357fdc66074.def(pybind11::init< struct ::statiskit::CategoricalUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_98899d54414f570aa57f6357fdc66074.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > const & >()); - class_98899d54414f570aa57f6357fdc66074.def("__len__", method_pointer_180321696f555b70b46c79f809e1d58b, ""); - class_98899d54414f570aa57f6357fdc66074.def("get_estimation", method_pointer_6df08aa67d2a56b7bdf32ed30b0bf1d0, pybind11::return_value_policy::reference_internal, ""); - class_98899d54414f570aa57f6357fdc66074.def("get_score", method_pointer_6a54b42ab3d65292a338e9e8102df431, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp b/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp deleted file mode 100644 index 285f83d8..00000000 --- a/src/py/wrapper/wrapper_988ed407a0da542eb838d5681ba5ffd1.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4845db8dd90f581fa8c1e9b58aa36976; - virtual return_type_4845db8dd90f581fa8c1e9b58aa36976 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4845db8dd90f581fa8c1e9b58aa36976, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_988ed407a0da542eb838d5681ba5ffd1(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_988ed407a0da542eb838d5681ba5ffd1(module, "_PolymorphicCopy_988ed407a0da542eb838d5681ba5ffd1", ""); - class_988ed407a0da542eb838d5681ba5ffd1.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_99243b0a36d95168b8a85b4b4999e459.cpp b/src/py/wrapper/wrapper_99243b0a36d95168b8a85b4b4999e459.cpp deleted file mode 100644 index 24981f04..00000000 --- a/src/py/wrapper/wrapper_99243b0a36d95168b8a85b4b4999e459.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -class ::statiskit::UnivariateConditionalData::Generator & (::std::unique_ptr< ::statiskit::UnivariateConditionalData::Generator, ::std::default_delete< ::statiskit::UnivariateConditionalData::Generator > >::*method_pointer_2aa7a34c635a59ef9528f5b57459e7f6)()const= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::operator*; -::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalData::Generator, ::std::default_delete< ::statiskit::UnivariateConditionalData::Generator > >::*method_pointer_bda781d3af075f859bc342d293946587)()const= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::get; -::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalData::Generator, ::std::default_delete< ::statiskit::UnivariateConditionalData::Generator > >::*method_pointer_51c192a0ea5b5d0f9cf162d430f968ed)()= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalData::Generator, ::std::default_delete< ::statiskit::UnivariateConditionalData::Generator > >::*method_pointer_e6ed2998c4a55b24b8915f7e1d3c155d)(::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::pointer )= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalData::Generator, ::std::default_delete< ::statiskit::UnivariateConditionalData::Generator > >::*method_pointer_dc92bf9c9025520189648570e27ccb60)(class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > > &)= &::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > >::swap; - -namespace autowig { - void method_decorator_2aa7a34c635a59ef9528f5b57459e7f6(class ::std::unique_ptr< class ::statiskit::UnivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::UnivariateConditionalData::Generator > > const & instance, const class ::statiskit::UnivariateConditionalData::Generator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_99243b0a36d95168b8a85b4b4999e459(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp b/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp deleted file mode 100644 index 76df888c..00000000 --- a/src/py/wrapper/wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution >::QuantitativeUnivariateMixtureDistribution; - - typedef double return_type_c4dc031fcd6b5b508c63fc475642c309; - virtual return_type_c4dc031fcd6b5b508c63fc475642c309 get_variance() const override { PYBIND11_OVERLOAD(return_type_c4dc031fcd6b5b508c63fc475642c309, class_type, get_variance, ); }; - typedef double return_type_b7de9903a18f5021ac4a5f63c60a0db4; - virtual return_type_b7de9903a18f5021ac4a5f63c60a0db4 get_mean() const override { PYBIND11_OVERLOAD(return_type_b7de9903a18f5021ac4a5f63c60a0db4, class_type, get_mean, ); }; - typedef double return_type_e3a3227c8b17560ea250e74ba2447dfc; - typedef int const & param_e3a3227c8b17560ea250e74ba2447dfc_0_type; - virtual return_type_e3a3227c8b17560ea250e74ba2447dfc cdf(param_e3a3227c8b17560ea250e74ba2447dfc_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e3a3227c8b17560ea250e74ba2447dfc, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_d152937768ff50b8823d85a82c980d17; - virtual return_type_d152937768ff50b8823d85a82c980d17 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d152937768ff50b8823d85a82c980d17, class_type, simulate, ); }; - typedef double return_type_1f7e0f6d5a4658e791627aac9a3e075c; - typedef int const & param_1f7e0f6d5a4658e791627aac9a3e075c_0_type; - virtual return_type_1f7e0f6d5a4658e791627aac9a3e075c pdf(param_1f7e0f6d5a4658e791627aac9a3e075c_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_1f7e0f6d5a4658e791627aac9a3e075c, class_type, pdf, param_0); }; - typedef double return_type_b288349953745909be3b581da8f23621; - typedef int const & param_b288349953745909be3b581da8f23621_0_type; - virtual return_type_b288349953745909be3b581da8f23621 ldf(param_b288349953745909be3b581da8f23621_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b288349953745909be3b581da8f23621, class_type, ldf, param_0); }; - typedef void return_type_246a8d3423cf5748b68f545f10de89b7; - typedef ::statiskit::Index const & param_246a8d3423cf5748b68f545f10de89b7_0_type; - typedef struct ::statiskit::DiscreteUnivariateDistribution const & param_246a8d3423cf5748b68f545f10de89b7_1_type; - virtual return_type_246a8d3423cf5748b68f545f10de89b7 set_observation(param_246a8d3423cf5748b68f545f10de89b7_0_type param_0, param_246a8d3423cf5748b68f545f10de89b7_1_type param_1) override { PYBIND11_OVERLOAD(return_type_246a8d3423cf5748b68f545f10de89b7, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_f927fce3d16b5492bcef59bbf039772b; - virtual return_type_f927fce3d16b5492bcef59bbf039772b get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_f927fce3d16b5492bcef59bbf039772b, class_type, get_nb_parameters, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_9961bd1cc47c50ed9fd0cd4ed55feeb4(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_9961bd1cc47c50ed9fd0cd4ed55feeb4(module, "_QuantitativeUnivariateMixtureDistribution_9961bd1cc47c50ed9fd0cd4ed55feeb4", ""); - class_9961bd1cc47c50ed9fd0cd4ed55feeb4.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733.cpp b/src/py/wrapper/wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733.cpp deleted file mode 100644 index b349d754..00000000 --- a/src/py/wrapper/wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_0f08b9020c265621a4884312d90913a1)()const= &::statiskit::ActiveEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_9a82eb8fa3e45c72b3ff12f7d2c15733(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_9a82eb8fa3e45c72b3ff12f7d2c15733(module, "_ActiveEstimation_9a82eb8fa3e45c72b3ff12f7d2c15733", ""); - class_9a82eb8fa3e45c72b3ff12f7d2c15733.def(pybind11::init< >()); - class_9a82eb8fa3e45c72b3ff12f7d2c15733.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_9a82eb8fa3e45c72b3ff12f7d2c15733.def(pybind11::init< class ::statiskit::LogarithmicDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_9a82eb8fa3e45c72b3ff12f7d2c15733.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_9a82eb8fa3e45c72b3ff12f7d2c15733.def("get_data", method_pointer_0f08b9020c265621a4884312d90913a1, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp deleted file mode 100644 index 3e06ca8f..00000000 --- a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteMultivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::DiscreteMultivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; - virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; - virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_9af672b8799e52dda111d00a974022cd(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_9af672b8799e52dda111d00a974022cd(module, "DiscreteMultivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp b/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp deleted file mode 100644 index 04f067ac..00000000 --- a/src/py/wrapper/wrapper_9b457c1fefee52aeba68eb2ee374d6c8.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_9b457c1fefee52aeba68eb2ee374d6c8(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_9b457c1fefee52aeba68eb2ee374d6c8(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp deleted file mode 100644 index f12bccdb..00000000 --- a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::CategoricalUnivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::CategoricalUnivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; - virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; - virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_9b52bf3c9c595cdb890173a39b0d02c4(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_9b52bf3c9c595cdb890173a39b0d02c4(module, "CategoricalUnivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9c9b0b8265215a57b48807e0fc9938ba.cpp b/src/py/wrapper/wrapper_9c9b0b8265215a57b48807e0fc9938ba.cpp deleted file mode 100644 index adda4599..00000000 --- a/src/py/wrapper/wrapper_9c9b0b8265215a57b48807e0fc9938ba.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData::Generator & (::std::unique_ptr< ::statiskit::MultivariateConditionalData::Generator, ::std::default_delete< ::statiskit::MultivariateConditionalData::Generator > >::*method_pointer_ddab4138863850aeac674399882ccad5)()const= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::operator*; -::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalData::Generator, ::std::default_delete< ::statiskit::MultivariateConditionalData::Generator > >::*method_pointer_15d92ff6598654b9b1396a7e20cc02b1)()const= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::get; -::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalData::Generator, ::std::default_delete< ::statiskit::MultivariateConditionalData::Generator > >::*method_pointer_202a534e4ebc54959a10b84cfb2f35ba)()= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalData::Generator, ::std::default_delete< ::statiskit::MultivariateConditionalData::Generator > >::*method_pointer_dbe0faf17f915649bf7c02706a277f95)(::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::pointer )= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalData::Generator, ::std::default_delete< ::statiskit::MultivariateConditionalData::Generator > >::*method_pointer_88e24ea6394f586aabb57770a3d4ad28)(class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > > &)= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > >::swap; - -namespace autowig { - void method_decorator_ddab4138863850aeac674399882ccad5(class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > > const & instance, const class ::statiskit::MultivariateConditionalData::Generator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_9c9b0b8265215a57b48807e0fc9938ba(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9cf0f707397c5385baa38f245ba80437.cpp b/src/py/wrapper/wrapper_9cf0f707397c5385baa38f245ba80437.cpp deleted file mode 100644 index 93f13d03..00000000 --- a/src/py/wrapper/wrapper_9cf0f707397c5385baa38f245ba80437.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_0047c5e9a77a5d6f8bec09c40a32def5)()const= &::statiskit::ActiveEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_9cf0f707397c5385baa38f245ba80437(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_9cf0f707397c5385baa38f245ba80437(module, "_ActiveEstimation_9cf0f707397c5385baa38f245ba80437", ""); - class_9cf0f707397c5385baa38f245ba80437.def(pybind11::init< >()); - class_9cf0f707397c5385baa38f245ba80437.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_9cf0f707397c5385baa38f245ba80437.def(pybind11::init< class ::statiskit::MultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_9cf0f707397c5385baa38f245ba80437.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_9cf0f707397c5385baa38f245ba80437.def("get_data", method_pointer_0047c5e9a77a5d6f8bec09c40a32def5, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9d7f0f97517952029268e1fd35ac8843.cpp b/src/py/wrapper/wrapper_9d7f0f97517952029268e1fd35ac8843.cpp deleted file mode 100644 index 94bb25c7..00000000 --- a/src/py/wrapper/wrapper_9d7f0f97517952029268e1fd35ac8843.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_9d7f0f97517952029268e1fd35ac8843(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > class_9d7f0f97517952029268e1fd35ac8843(module, "_LazyEstimation_9d7f0f97517952029268e1fd35ac8843", ""); - class_9d7f0f97517952029268e1fd35ac8843.def(pybind11::init< >()); - class_9d7f0f97517952029268e1fd35ac8843.def(pybind11::init< struct ::statiskit::CategoricalUnivariateConditionalDistribution const * >()); - class_9d7f0f97517952029268e1fd35ac8843.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateConditionalDistribution, struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c.cpp b/src/py/wrapper/wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c.cpp deleted file mode 100644 index 508a2b64..00000000 --- a/src/py/wrapper/wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_67af720ef927599ab587b51719b91f20)()const= &::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_9dcc67ced1f05c0a9b634f6e7bdffe6c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_9dcc67ced1f05c0a9b634f6e7bdffe6c(module, "_LazyEstimation_9dcc67ced1f05c0a9b634f6e7bdffe6c", ""); - class_9dcc67ced1f05c0a9b634f6e7bdffe6c.def(pybind11::init< >()); - class_9dcc67ced1f05c0a9b634f6e7bdffe6c.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const * >()); - class_9dcc67ced1f05c0a9b634f6e7bdffe6c.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_9dcc67ced1f05c0a9b634f6e7bdffe6c.def("copy", method_pointer_67af720ef927599ab587b51719b91f20, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp deleted file mode 100644 index 0ce5f8b7..00000000 --- a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousMultivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::ContinuousMultivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; - virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; - virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_9f71ff88156f5fd0a459f920329e5dc8(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_9f71ff88156f5fd0a459f920329e5dc8(module, "ContinuousMultivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp deleted file mode 100644 index 4ec71b5c..00000000 --- a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::CategoricalMultivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::CategoricalMultivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_d983a7f463755e8dbd136e8296970fe7; - virtual return_type_d983a7f463755e8dbd136e8296970fe7 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d983a7f463755e8dbd136e8296970fe7, class_type, copy, ); }; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::estimated_type const * return_type_84032d21ab6f50bd8e28510f7cd5494f; - virtual return_type_84032d21ab6f50bd8e28510f7cd5494f get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_84032d21ab6f50bd8e28510f7cd5494f, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_a004a7cf0d095bdeadf276d9713e024f(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_a004a7cf0d095bdeadf276d9713e024f(module, "CategoricalMultivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a138b226412951b38a64aaad8bc549ac.cpp b/src/py/wrapper/wrapper_a138b226412951b38a64aaad8bc549ac.cpp deleted file mode 100644 index 9d473741..00000000 --- a/src/py/wrapper/wrapper_a138b226412951b38a64aaad8bc549ac.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_40e12584a7ad579a962221dcb6bceed4)(::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type , ::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::assign; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_6e8ebb15ca6f5e7d852644873b525f06)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_68923ecd3744520db8340f5af42c541b)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::max_size; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_cbb14788304d58068f29270cbd708aae)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::capacity; -bool (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_e5967d11d2df50fda18ba395b8838487)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::empty; -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_a6c0ef5f9061516ab2a4572d6fce148c)(::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type )= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::reserve; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::const_reference (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_767506a126d850b991da5fdd9f16561b)(::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::at; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::const_reference (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_be6875c31eef59af85ae833244837729)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::front; -::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::const_reference (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_33a3199281d752178e9ad32c8df185e6)()const= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::back; -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_97273c6c8c1d5cd0af8574595b777d5d)(::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::push_back; -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_3e5ba935f30d5ef1860290633b9a8822)()= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::pop_back; -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_9588521e587751d6bba0dfef62de599d)(class ::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > > &)= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::swap; -void (::std::vector< ::statiskit::SingularDistribution *, ::std::allocator< ::statiskit::SingularDistribution * > >::*method_pointer_edf28629da1b5fd9bca8ccc7f889fe1c)()= &::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_a138b226412951b38a64aaad8bc549ac(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > > >::Type > class_a138b226412951b38a64aaad8bc549ac(module, "_Vector_a138b226412951b38a64aaad8bc549ac", ""); - class_a138b226412951b38a64aaad8bc549ac.def(pybind11::init< >()); - class_a138b226412951b38a64aaad8bc549ac.def(pybind11::init< class ::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > > const & >()); - class_a138b226412951b38a64aaad8bc549ac.def("assign", method_pointer_40e12584a7ad579a962221dcb6bceed4, ""); - class_a138b226412951b38a64aaad8bc549ac.def("__len__", method_pointer_6e8ebb15ca6f5e7d852644873b525f06, ""); - class_a138b226412951b38a64aaad8bc549ac.def("max_size", method_pointer_68923ecd3744520db8340f5af42c541b, ""); - class_a138b226412951b38a64aaad8bc549ac.def("capacity", method_pointer_cbb14788304d58068f29270cbd708aae, ""); - class_a138b226412951b38a64aaad8bc549ac.def("empty", method_pointer_e5967d11d2df50fda18ba395b8838487, ""); - class_a138b226412951b38a64aaad8bc549ac.def("reserve", method_pointer_a6c0ef5f9061516ab2a4572d6fce148c, ""); - class_a138b226412951b38a64aaad8bc549ac.def("at", method_pointer_767506a126d850b991da5fdd9f16561b, pybind11::return_value_policy::reference_internal, ""); - class_a138b226412951b38a64aaad8bc549ac.def("front", method_pointer_be6875c31eef59af85ae833244837729, pybind11::return_value_policy::reference_internal, ""); - class_a138b226412951b38a64aaad8bc549ac.def("back", method_pointer_33a3199281d752178e9ad32c8df185e6, pybind11::return_value_policy::reference_internal, ""); - class_a138b226412951b38a64aaad8bc549ac.def("push_back", method_pointer_97273c6c8c1d5cd0af8574595b777d5d, ""); - class_a138b226412951b38a64aaad8bc549ac.def("pop_back", method_pointer_3e5ba935f30d5ef1860290633b9a8822, ""); - class_a138b226412951b38a64aaad8bc549ac.def("swap", method_pointer_9588521e587751d6bba0dfef62de599d, ""); - class_a138b226412951b38a64aaad8bc549ac.def("clear", method_pointer_edf28629da1b5fd9bca8ccc7f889fe1c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a1dbe32ad4be556a97d08416f9bb668d.cpp b/src/py/wrapper/wrapper_a1dbe32ad4be556a97d08416f9bb668d.cpp deleted file mode 100644 index 51bc5b2a..00000000 --- a/src/py/wrapper/wrapper_a1dbe32ad4be556a97d08416f9bb668d.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_60f487755fba538d966690492e3043d2)()const= &::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_a1dbe32ad4be556a97d08416f9bb668d(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_a1dbe32ad4be556a97d08416f9bb668d(module, "_ActiveEstimation_a1dbe32ad4be556a97d08416f9bb668d", ""); - class_a1dbe32ad4be556a97d08416f9bb668d.def(pybind11::init< >()); - class_a1dbe32ad4be556a97d08416f9bb668d.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_a1dbe32ad4be556a97d08416f9bb668d.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_a1dbe32ad4be556a97d08416f9bb668d.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_a1dbe32ad4be556a97d08416f9bb668d.def("get_data", method_pointer_60f487755fba538d966690492e3043d2, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp new file mode 100644 index 00000000..9fb9b746 --- /dev/null +++ b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; + typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; + virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; + typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; + typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; + virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::create; + }; +} + + +namespace autowig { +} + +void wrapper_a22eff2d08c251169af231a773c880d3(pybind11::module& module) +{ + + pybind11::class_::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_a22eff2d08c251169af231a773c880d3(module, "_PolymorphicCopy_a22eff2d08c251169af231a773c880d3", ""); + class_a22eff2d08c251169af231a773c880d3.def(pybind11::init< >()); + class_a22eff2d08c251169af231a773c880d3.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a268e28862575ead97b631ce4a762208.cpp b/src/py/wrapper/wrapper_a268e28862575ead97b631ce4a762208.cpp deleted file mode 100644 index 999ca03a..00000000 --- a/src/py/wrapper/wrapper_a268e28862575ead97b631ce4a762208.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_5fe10725a5f05435ac605dbdccf876fe)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistribution, ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_b0fc2e39afb85dbeb2c552f377831292)(enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_a268e28862575ead97b631ce4a762208(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > > class_a268e28862575ead97b631ce4a762208(module, "CriterionEstimator", ""); - class_a268e28862575ead97b631ce4a762208.def(pybind11::init< >()); - class_a268e28862575ead97b631ce4a762208.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator const & >()); - class_a268e28862575ead97b631ce4a762208.def("get_criterion", method_pointer_5fe10725a5f05435ac605dbdccf876fe, pybind11::return_value_policy::copy, ""); - class_a268e28862575ead97b631ce4a762208.def("set_criterion", method_pointer_b0fc2e39afb85dbeb2c552f377831292, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a2e03e1beb3652d19910e253216cbbdd.cpp b/src/py/wrapper/wrapper_a2e03e1beb3652d19910e253216cbbdd.cpp deleted file mode 100644 index e513e831..00000000 --- a/src/py/wrapper/wrapper_a2e03e1beb3652d19910e253216cbbdd.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MixtureSingularDistribution const * (::statiskit::OptimizationEstimation< ::statiskit::MixtureSingularDistribution *, ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_014ed38b48b5567f97c1cff72c5dfd81)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_a2e03e1beb3652d19910e253216cbbdd(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_a2e03e1beb3652d19910e253216cbbdd(module, "_OptimizationEstimation_a2e03e1beb3652d19910e253216cbbdd", ""); - class_a2e03e1beb3652d19910e253216cbbdd.def(pybind11::init< >()); - class_a2e03e1beb3652d19910e253216cbbdd.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_a2e03e1beb3652d19910e253216cbbdd.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_a2e03e1beb3652d19910e253216cbbdd.def("get_iteration", method_pointer_014ed38b48b5567f97c1cff72c5dfd81, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a361e68cde6a5b379c5300d00bee657c.cpp b/src/py/wrapper/wrapper_a361e68cde6a5b379c5300d00bee657c.cpp deleted file mode 100644 index 9f758d31..00000000 --- a/src/py/wrapper/wrapper_a361e68cde6a5b379c5300d00bee657c.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_a361e68cde6a5b379c5300d00bee657c(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_a361e68cde6a5b379c5300d00bee657c(module, "_MixtureDistributionEMEstimation_a361e68cde6a5b379c5300d00bee657c", ""); - class_a361e68cde6a5b379c5300d00bee657c.def(pybind11::init< >()); - class_a361e68cde6a5b379c5300d00bee657c.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_a361e68cde6a5b379c5300d00bee657c.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp b/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp deleted file mode 100644 index 37016bbb..00000000 --- a/src/py/wrapper/wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_6dffe773391b54129ba5e7a4d7a1ce93; - virtual return_type_6dffe773391b54129ba5e7a4d7a1ce93 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6dffe773391b54129ba5e7a4d7a1ce93, class_type, copy, ); }; - typedef void return_type_b53a6340c14552d5865d67a55ffa953b; - typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; - typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; - virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; - virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_a3883be24c8c5dd1bcba4dff4ebd0c4f(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > > class_a3883be24c8c5dd1bcba4dff4ebd0c4f(module, "_PolymorphicCopy_a3883be24c8c5dd1bcba4dff4ebd0c4f", ""); - class_a3883be24c8c5dd1bcba4dff4ebd0c4f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a4ffccf09be35258a1a7081721670d59.cpp b/src/py/wrapper/wrapper_a4ffccf09be35258a1a7081721670d59.cpp deleted file mode 100644 index 82218478..00000000 --- a/src/py/wrapper/wrapper_a4ffccf09be35258a1a7081721670d59.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< double, ::statiskit::LogarithmicDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_2a71e46d3e03587fb12087b6e541cb05)()const= &::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_a4ffccf09be35258a1a7081721670d59(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_a4ffccf09be35258a1a7081721670d59(module, "_OptimizationEstimationImpl_a4ffccf09be35258a1a7081721670d59", ""); - class_a4ffccf09be35258a1a7081721670d59.def(pybind11::init< >()); - class_a4ffccf09be35258a1a7081721670d59.def(pybind11::init< class ::statiskit::LogarithmicDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_a4ffccf09be35258a1a7081721670d59.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_a4ffccf09be35258a1a7081721670d59.def("__len__", method_pointer_2a71e46d3e03587fb12087b6e541cb05, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a57657628a525cab9dae00c5ee02b84f.cpp b/src/py/wrapper/wrapper_a57657628a525cab9dae00c5ee02b84f.cpp deleted file mode 100644 index a53771be..00000000 --- a/src/py/wrapper/wrapper_a57657628a525cab9dae00c5ee02b84f.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MultivariateConditionalData::Generator::*method_pointer_feb4c26516435a63991d075a27fb96cf)()const= &::statiskit::MultivariateConditionalData::Generator::is_valid; -class ::statiskit::MultivariateConditionalData::Generator & (::statiskit::MultivariateConditionalData::Generator::*method_pointer_92875bd7c0ec5ed89cd4c6ca1666a534)()= &::statiskit::MultivariateConditionalData::Generator::operator++; -struct ::statiskit::MultivariateEvent const * (::statiskit::MultivariateConditionalData::Generator::*method_pointer_c7db9fd42b285f79a4622b30a0e83582)()const= &::statiskit::MultivariateConditionalData::Generator::responses; -struct ::statiskit::MultivariateEvent const * (::statiskit::MultivariateConditionalData::Generator::*method_pointer_4d6d3c9222cd5f86a75dbe46871fd2b9)()const= &::statiskit::MultivariateConditionalData::Generator::explanatories; -double (::statiskit::MultivariateConditionalData::Generator::*method_pointer_117534bbe883512e8d4496727e8fb49d)()const= &::statiskit::MultivariateConditionalData::Generator::weight; - -namespace autowig { - void method_decorator_92875bd7c0ec5ed89cd4c6ca1666a534(class ::statiskit::MultivariateConditionalData::Generator & instance, const class ::statiskit::MultivariateConditionalData::Generator & param_out) { instance.operator++() = param_out; } -} - -void wrapper_a57657628a525cab9dae00c5ee02b84f(pybind11::module& module) -{ - - pybind11::class_::Type > class_a57657628a525cab9dae00c5ee02b84f(module, "Generator", ""); - class_a57657628a525cab9dae00c5ee02b84f.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_a57657628a525cab9dae00c5ee02b84f.def("is_valid", method_pointer_feb4c26516435a63991d075a27fb96cf, ""); - class_a57657628a525cab9dae00c5ee02b84f.def("__next__", method_pointer_92875bd7c0ec5ed89cd4c6ca1666a534, pybind11::return_value_policy::reference_internal, ""); - class_a57657628a525cab9dae00c5ee02b84f.def("__next__", autowig::method_decorator_92875bd7c0ec5ed89cd4c6ca1666a534); - class_a57657628a525cab9dae00c5ee02b84f.def("responses", method_pointer_c7db9fd42b285f79a4622b30a0e83582, pybind11::return_value_policy::reference_internal, ""); - class_a57657628a525cab9dae00c5ee02b84f.def("explanatories", method_pointer_4d6d3c9222cd5f86a75dbe46871fd2b9, pybind11::return_value_policy::reference_internal, ""); - class_a57657628a525cab9dae00c5ee02b84f.def("weight", method_pointer_117534bbe883512e8d4496727e8fb49d, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp b/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp deleted file mode 100644 index 38a1d259..00000000 --- a/src/py/wrapper/wrapper_a744c0e699b3529e8ea41b36264771ec.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_a744c0e699b3529e8ea41b36264771ec(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_a744c0e699b3529e8ea41b36264771ec(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp index ebe8ee7b..b996857e 100644 --- a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp +++ b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp @@ -7,7 +7,6 @@ namespace autowig class Trampoline : public class_type { public: - using ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator::Estimator; public: @@ -35,6 +34,5 @@ void wrapper_a87f64a7a0c553e2b79ea554696bd78b(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_a87f64a7a0c553e2b79ea554696bd78b(module, "Estimator", ""); - class_a87f64a7a0c553e2b79ea554696bd78b.def(pybind11::init< >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a887ab230e4b513ab40c258c172f2580.cpp b/src/py/wrapper/wrapper_a887ab230e4b513ab40c258c172f2580.cpp deleted file mode 100644 index 13d228a8..00000000 --- a/src/py/wrapper/wrapper_a887ab230e4b513ab40c258c172f2580.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_a887ab230e4b513ab40c258c172f2580(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > > > class_a887ab230e4b513ab40c258c172f2580(module, "_MultivariateMixtureDistribution_a887ab230e4b513ab40c258c172f2580", ""); - class_a887ab230e4b513ab40c258c172f2580.def(pybind11::init< class ::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_a887ab230e4b513ab40c258c172f2580.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ab333a3ecc9754b09181298d1da9b61e.cpp b/src/py/wrapper/wrapper_ab333a3ecc9754b09181298d1da9b61e.cpp deleted file mode 100644 index 906e3cb9..00000000 --- a/src/py/wrapper/wrapper_ab333a3ecc9754b09181298d1da9b61e.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_ab333a3ecc9754b09181298d1da9b61e(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_ab333a3ecc9754b09181298d1da9b61e(module, "Estimator", ""); - class_ab333a3ecc9754b09181298d1da9b61e.def(pybind11::init< >()); - class_ab333a3ecc9754b09181298d1da9b61e.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp b/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp deleted file mode 100644 index 198aba6a..00000000 --- a/src/py/wrapper/wrapper_abb8de3fed35566b9c88aebdaec5f1a0.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_5ffb2d1e87a256369b8d70fb5cea4fb5; - virtual return_type_5ffb2d1e87a256369b8d70fb5cea4fb5 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5ffb2d1e87a256369b8d70fb5cea4fb5, class_type, copy, ); }; - typedef void return_type_68960ed00cc65811a690382a0d67ba31; - typedef ::statiskit::Index const & param_68960ed00cc65811a690382a0d67ba31_0_type; - typedef struct ::statiskit::SingularDistribution const & param_68960ed00cc65811a690382a0d67ba31_1_type; - virtual return_type_68960ed00cc65811a690382a0d67ba31 set_observation(param_68960ed00cc65811a690382a0d67ba31_0_type param_0, param_68960ed00cc65811a690382a0d67ba31_1_type param_1) override { PYBIND11_OVERLOAD(return_type_68960ed00cc65811a690382a0d67ba31, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_9126658cc9765bad8e36a6634f617e9c; - virtual return_type_9126658cc9765bad8e36a6634f617e9c get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_9126658cc9765bad8e36a6634f617e9c, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; - typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; - virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - typedef double return_type_acdea368f48f572bb000ce0a3e887539; - typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; - typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; - virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; - virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_abb8de3fed35566b9c88aebdaec5f1a0(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, class ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > > class_abb8de3fed35566b9c88aebdaec5f1a0(module, "_PolymorphicCopy_abb8de3fed35566b9c88aebdaec5f1a0", ""); - class_abb8de3fed35566b9c88aebdaec5f1a0.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_abef6177f46d50b5bb54c0dd31824754.cpp b/src/py/wrapper/wrapper_abef6177f46d50b5bb54c0dd31824754.cpp deleted file mode 100644 index 7da0ba41..00000000 --- a/src/py/wrapper/wrapper_abef6177f46d50b5bb54c0dd31824754.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_abef6177f46d50b5bb54c0dd31824754(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::criterion_type > enum_abef6177f46d50b5bb54c0dd31824754(module, "criterion_type"); - enum_abef6177f46d50b5bb54c0dd31824754.value("AIC", ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::AIC); - enum_abef6177f46d50b5bb54c0dd31824754.value("AI_CC", ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::AICc); - enum_abef6177f46d50b5bb54c0dd31824754.value("BIC", ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::BIC); - enum_abef6177f46d50b5bb54c0dd31824754.value("HQIC", ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::HQIC); - enum_abef6177f46d50b5bb54c0dd31824754.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe.cpp b/src/py/wrapper/wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe.cpp deleted file mode 100644 index 9b217968..00000000 --- a/src/py/wrapper/wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_acd4ffddf51e5c5fa9caca7f5b4aa6fe(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe(module, "criterion_type"); - enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_acd4ffddf51e5c5fa9caca7f5b4aa6fe.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_adb101528f1256ccaa63a94998938b36.cpp b/src/py/wrapper/wrapper_adb101528f1256ccaa63a94998938b36.cpp deleted file mode 100644 index cb9cfc9e..00000000 --- a/src/py/wrapper/wrapper_adb101528f1256ccaa63a94998938b36.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_2cb72dcc14ea5e9b99047f3a84c84889)()const= &::statiskit::ActiveEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_adb101528f1256ccaa63a94998938b36(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_adb101528f1256ccaa63a94998938b36(module, "_ActiveEstimation_adb101528f1256ccaa63a94998938b36", ""); - class_adb101528f1256ccaa63a94998938b36.def(pybind11::init< >()); - class_adb101528f1256ccaa63a94998938b36.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_adb101528f1256ccaa63a94998938b36.def(pybind11::init< class ::statiskit::SplittingDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_adb101528f1256ccaa63a94998938b36.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_adb101528f1256ccaa63a94998938b36.def("get_data", method_pointer_2cb72dcc14ea5e9b99047f3a84c84889, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp b/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp deleted file mode 100644 index 08713644..00000000 --- a/src/py/wrapper/wrapper_b014379d48a45dac9f7ee65cf09afac7.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0e4345f3571359f58c41cadd98747428; - virtual return_type_0e4345f3571359f58c41cadd98747428 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0e4345f3571359f58c41cadd98747428, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_b014379d48a45dac9f7ee65cf09afac7(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::NominalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_b014379d48a45dac9f7ee65cf09afac7(module, "_PolymorphicCopy_b014379d48a45dac9f7ee65cf09afac7", ""); - class_b014379d48a45dac9f7ee65cf09afac7.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp b/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp deleted file mode 100644 index 2f54f5a3..00000000 --- a/src/py/wrapper/wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_b01f9728b14b55c9ba04fb0a2ddd2cda(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_b01f9728b14b55c9ba04fb0a2ddd2cda(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b0590d3783ba5288a5695b0e9cf1b03f.cpp b/src/py/wrapper/wrapper_b0590d3783ba5288a5695b0e9cf1b03f.cpp deleted file mode 100644 index 50ad5b40..00000000 --- a/src/py/wrapper/wrapper_b0590d3783ba5288a5695b0e9cf1b03f.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_c5ac1ee7064d5664ab40314c3a0d023b)()const= &::statiskit::ActiveEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_b0590d3783ba5288a5695b0e9cf1b03f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_b0590d3783ba5288a5695b0e9cf1b03f(module, "_ActiveEstimation_b0590d3783ba5288a5695b0e9cf1b03f", ""); - class_b0590d3783ba5288a5695b0e9cf1b03f.def(pybind11::init< >()); - class_b0590d3783ba5288a5695b0e9cf1b03f.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_b0590d3783ba5288a5695b0e9cf1b03f.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_b0590d3783ba5288a5695b0e9cf1b03f.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_b0590d3783ba5288a5695b0e9cf1b03f.def("get_data", method_pointer_c5ac1ee7064d5664ab40314c3a0d023b, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp b/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp deleted file mode 100644 index bbe41648..00000000 --- a/src/py/wrapper/wrapper_b101d02bb3d95e95ac86387f50f9bccd.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_05579a3737225709b6044b99e252ec00; - virtual return_type_05579a3737225709b6044b99e252ec00 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_05579a3737225709b6044b99e252ec00, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_b101d02bb3d95e95ac86387f50f9bccd(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_b101d02bb3d95e95ac86387f50f9bccd(module, "_PolymorphicCopy_b101d02bb3d95e95ac86387f50f9bccd", ""); - class_b101d02bb3d95e95ac86387f50f9bccd.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b11157049fc45e7181cc22c9c3670513.cpp b/src/py/wrapper/wrapper_b11157049fc45e7181cc22c9c3670513.cpp deleted file mode 100644 index 768f06c3..00000000 --- a/src/py/wrapper/wrapper_b11157049fc45e7181cc22c9c3670513.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_1a5795bf54c059c7ab9e5eebeeda6833)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_b11157049fc45e7181cc22c9c3670513(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > > class_b11157049fc45e7181cc22c9c3670513(module, "_OptimizationEstimationImpl_b11157049fc45e7181cc22c9c3670513", ""); - class_b11157049fc45e7181cc22c9c3670513.def(pybind11::init< >()); - class_b11157049fc45e7181cc22c9c3670513.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_b11157049fc45e7181cc22c9c3670513.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - class_b11157049fc45e7181cc22c9c3670513.def("__len__", method_pointer_1a5795bf54c059c7ab9e5eebeeda6833, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp b/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp deleted file mode 100644 index e59bdd4d..00000000 --- a/src/py/wrapper/wrapper_b129309aaed65ac0b06bd5889ca44405.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_666f7dc552cd5d648c81f79b98fbf641)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_9ae59d8d8dbc5bf19bc5b2c0fb0b1c94)(double const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_1b74e45326c556f9ba3ca66870707899)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_bef75f81b31b5e25ba1f1e1729568f90)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_4257d4cad6f15438911f7366b56ca1f4)()const= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::*method_pointer_f82c3bc1dc025e33833e462f3c4acf0a)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_b129309aaed65ac0b06bd5889ca44405(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_b129309aaed65ac0b06bd5889ca44405(module, "_Optimization_b129309aaed65ac0b06bd5889ca44405", ""); - class_b129309aaed65ac0b06bd5889ca44405.def(pybind11::init< >()); - class_b129309aaed65ac0b06bd5889ca44405.def("get_mindiff", method_pointer_666f7dc552cd5d648c81f79b98fbf641, pybind11::return_value_policy::copy, ""); - class_b129309aaed65ac0b06bd5889ca44405.def("set_mindiff", method_pointer_9ae59d8d8dbc5bf19bc5b2c0fb0b1c94, ""); - class_b129309aaed65ac0b06bd5889ca44405.def("get_minits", method_pointer_1b74e45326c556f9ba3ca66870707899, ""); - class_b129309aaed65ac0b06bd5889ca44405.def("set_minits", method_pointer_bef75f81b31b5e25ba1f1e1729568f90, ""); - class_b129309aaed65ac0b06bd5889ca44405.def("get_maxits", method_pointer_4257d4cad6f15438911f7366b56ca1f4, ""); - class_b129309aaed65ac0b06bd5889ca44405.def("set_maxits", method_pointer_f82c3bc1dc025e33833e462f3c4acf0a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4.cpp b/src/py/wrapper/wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4.cpp deleted file mode 100644 index 5c6bb02b..00000000 --- a/src/py/wrapper/wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - - -void wrapper_b15475d07cc156dcbf49a9f1fe4e2ad4(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::event_type > enum_b15475d07cc156dcbf49a9f1fe4e2ad4(module, "event_type"); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("ELEMENTARY", ::statiskit::ELEMENTARY); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("CENSORED", ::statiskit::CENSORED); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("LEFT", ::statiskit::LEFT); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("RIGHT", ::statiskit::RIGHT); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("INTERVAL", ::statiskit::INTERVAL); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.value("COMPOUND", ::statiskit::COMPOUND); - enum_b15475d07cc156dcbf49a9f1fe4e2ad4.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp b/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp deleted file mode 100644 index 4f40e0ae..00000000 --- a/src/py/wrapper/wrapper_b191a9bdcde4562cb6bfc0666feb816d.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; - virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; - typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; - virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; - typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; - typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; - virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_04ab084b79a455b693e64f489c453b2d)()const= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::size; -struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_ddcbf68804c25e6eb53c74ef3ffb5c6f)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_06ea3744ff195b1e825286bf5ed0a859)(::statiskit::Index const &, struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_afbb8fda8a9058e7ae26aec284e566c9)(struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*method_pointer_2666deeec9645437b6197d6e4c198f2f)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_b191a9bdcde4562cb6bfc0666feb816d(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator >::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_b191a9bdcde4562cb6bfc0666feb816d(module, "Estimator", ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("__len__", method_pointer_04ab084b79a455b693e64f489c453b2d, ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("get_estimator", method_pointer_ddcbf68804c25e6eb53c74ef3ffb5c6f, pybind11::return_value_policy::reference_internal, ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("set_estimator", method_pointer_06ea3744ff195b1e825286bf5ed0a859, ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("add_estimator", method_pointer_afbb8fda8a9058e7ae26aec284e566c9, ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("remove_estimator", method_pointer_2666deeec9645437b6197d6e4c198f2f, ""); - class_b191a9bdcde4562cb6bfc0666feb816d.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp b/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp deleted file mode 100644 index f96326a4..00000000 --- a/src/py/wrapper/wrapper_b24ad967ae66587ba612c3f37635bddb.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::MixtureDistribution; - - typedef void return_type_aa55c43f01ef52f5ba9860c09e507b24; - typedef ::statiskit::Index const & param_aa55c43f01ef52f5ba9860c09e507b24_0_type; - typedef struct ::statiskit::MultivariateDistribution const & param_aa55c43f01ef52f5ba9860c09e507b24_1_type; - virtual return_type_aa55c43f01ef52f5ba9860c09e507b24 set_observation(param_aa55c43f01ef52f5ba9860c09e507b24_0_type param_0, param_aa55c43f01ef52f5ba9860c09e507b24_1_type param_1) override { PYBIND11_OVERLOAD(return_type_aa55c43f01ef52f5ba9860c09e507b24, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6e99058bcb4a57cc9521a3183f72ee79; - virtual return_type_6e99058bcb4a57cc9521a3183f72ee79 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6e99058bcb4a57cc9521a3183f72ee79, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; - virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_c6edfe67859d5de998406b4a1499e3b1)()const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::get_nb_states; -struct ::statiskit::MultivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_6350a9a93ff952c1b820b26ed63c04fc)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_aa55c43f01ef52f5ba9860c09e507b24)(::statiskit::Index const &, struct ::statiskit::MultivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_5fee0b04790a50059bf2188ba003d545)()const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_6d05ca4966d45471bdddd95a3e918b58)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_2616482a64eb565298d5fdb46bb49adc)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_724063f531c95b1ba918babb9d1aa3bb)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_4024d714f8fb52dd94078c2bfa86c79f)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_785f1ace27045787a383d04d4f9f1768)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::MultivariateDistribution >::*method_pointer_ca4d594d4b315670963fd0d25021da4e)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_b24ad967ae66587ba612c3f37635bddb(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::MultivariateDistribution > >::Type, struct ::statiskit::MultivariateDistribution > class_b24ad967ae66587ba612c3f37635bddb(module, "_MixtureDistribution_b24ad967ae66587ba612c3f37635bddb", ""); - class_b24ad967ae66587ba612c3f37635bddb.def(pybind11::init< >()); - class_b24ad967ae66587ba612c3f37635bddb.def("get_nb_states", method_pointer_c6edfe67859d5de998406b4a1499e3b1, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("get_observation", method_pointer_6350a9a93ff952c1b820b26ed63c04fc, pybind11::return_value_policy::reference_internal, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("set_observation", method_pointer_aa55c43f01ef52f5ba9860c09e507b24, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("get_pi", method_pointer_5fee0b04790a50059bf2188ba003d545, pybind11::return_value_policy::copy, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("set_pi", method_pointer_6d05ca4966d45471bdddd95a3e918b58, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("posterior", method_pointer_2616482a64eb565298d5fdb46bb49adc, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("assignment", method_pointer_724063f531c95b1ba918babb9d1aa3bb, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("assignment", method_pointer_4024d714f8fb52dd94078c2bfa86c79f, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("uncertainty", method_pointer_785f1ace27045787a383d04d4f9f1768, ""); - class_b24ad967ae66587ba612c3f37635bddb.def("uncertainty", method_pointer_ca4d594d4b315670963fd0d25021da4e, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b2b642c7a2d45bf5ad54e86cd730fb10.cpp b/src/py/wrapper/wrapper_b2b642c7a2d45bf5ad54e86cd730fb10.cpp deleted file mode 100644 index a8e05936..00000000 --- a/src/py/wrapper/wrapper_b2b642c7a2d45bf5ad54e86cd730fb10.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::MultivariateConditionalData::*method_pointer_2c8e4a89597d525bbd83a330e44de51a)()const= &::statiskit::MultivariateConditionalData::size; -class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData::Generator, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData::Generator > > (::statiskit::MultivariateConditionalData::*method_pointer_1e7a6084df055ebcbee363707f5670df)()const= &::statiskit::MultivariateConditionalData::generator; -struct ::statiskit::MultivariateData const * (::statiskit::MultivariateConditionalData::*method_pointer_78b4eb48122156bebe181329287e3f53)()const= &::statiskit::MultivariateConditionalData::get_responses; -struct ::statiskit::MultivariateData const * (::statiskit::MultivariateConditionalData::*method_pointer_dafb990859a45716838f73a2eeb79f2b)()const= &::statiskit::MultivariateConditionalData::get_explanatories; -class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > > (::statiskit::MultivariateConditionalData::*method_pointer_6cb2dc0cb4795fed80b019c521e89283)()const= &::statiskit::MultivariateConditionalData::copy; -double (::statiskit::MultivariateConditionalData::*method_pointer_86ea95d0898057ef90d64445c85d2c1f)()const= &::statiskit::MultivariateConditionalData::compute_total; - -namespace autowig { -} - -void wrapper_b2b642c7a2d45bf5ad54e86cd730fb10(pybind11::module& module) -{ - - pybind11::class_::Type > class_b2b642c7a2d45bf5ad54e86cd730fb10(module, "MultivariateConditionalData", ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def(pybind11::init< struct ::statiskit::MultivariateData const &, ::statiskit::Indices const &, ::statiskit::Indices const & >()); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def(pybind11::init< class ::statiskit::MultivariateConditionalData const & >()); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("__len__", method_pointer_2c8e4a89597d525bbd83a330e44de51a, ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("__iter__", method_pointer_1e7a6084df055ebcbee363707f5670df, ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("get_responses", method_pointer_78b4eb48122156bebe181329287e3f53, pybind11::return_value_policy::reference_internal, ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("get_explanatories", method_pointer_dafb990859a45716838f73a2eeb79f2b, pybind11::return_value_policy::reference_internal, ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("copy", method_pointer_6cb2dc0cb4795fed80b019c521e89283, ""); - class_b2b642c7a2d45bf5ad54e86cd730fb10.def("compute_total", method_pointer_86ea95d0898057ef90d64445c85d2c1f, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp b/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp deleted file mode 100644 index f696637a..00000000 --- a/src/py/wrapper/wrapper_b588087797ae51f7bce93503c0c1a013.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_b588087797ae51f7bce93503c0c1a013(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_b588087797ae51f7bce93503c0c1a013(module, "Estimator", ""); - class_b588087797ae51f7bce93503c0c1a013.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp b/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp deleted file mode 100644 index eea501ef..00000000 --- a/src/py/wrapper/wrapper_b65e2bfb02355375b92295f460fb1b15.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_c36d3177a65a55a2891c280bde267727)()const= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_e16b7e51e2515da1900fc2a11cb70114)(double const &)= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_2526bfe105a853a8abc9cf0014cb291e)()const= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_caeeefd3cde85048a1b7379ab78dfaca)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_97799b3aec3e54c9a8650d8cf945ef67)()const= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::MultivariateDistributionEstimation::Estimator >::*method_pointer_2c031f7512535592a19998e88f178059)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_b65e2bfb02355375b92295f460fb1b15(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::MultivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_b65e2bfb02355375b92295f460fb1b15(module, "_Optimization_b65e2bfb02355375b92295f460fb1b15", ""); - class_b65e2bfb02355375b92295f460fb1b15.def(pybind11::init< >()); - class_b65e2bfb02355375b92295f460fb1b15.def("get_mindiff", method_pointer_c36d3177a65a55a2891c280bde267727, pybind11::return_value_policy::copy, ""); - class_b65e2bfb02355375b92295f460fb1b15.def("set_mindiff", method_pointer_e16b7e51e2515da1900fc2a11cb70114, ""); - class_b65e2bfb02355375b92295f460fb1b15.def("get_minits", method_pointer_2526bfe105a853a8abc9cf0014cb291e, ""); - class_b65e2bfb02355375b92295f460fb1b15.def("set_minits", method_pointer_caeeefd3cde85048a1b7379ab78dfaca, ""); - class_b65e2bfb02355375b92295f460fb1b15.def("get_maxits", method_pointer_97799b3aec3e54c9a8650d8cf945ef67, ""); - class_b65e2bfb02355375b92295f460fb1b15.def("set_maxits", method_pointer_2c031f7512535592a19998e88f178059, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp index 9303d883..b0908ba0 100644 --- a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp +++ b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp @@ -7,6 +7,8 @@ namespace autowig { void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module) { - pybind11::class_::Type > class_b6605ca6549d54eba3c614d5b6a29235(module, "NominalDistributionEstimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > > class_b6605ca6549d54eba3c614d5b6a29235(module, "NominalDistributionEstimator", ""); + class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< >()); + class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< class ::statiskit::NominalDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b672d81fdca4541e96bb6aec3a8641d3.cpp b/src/py/wrapper/wrapper_b672d81fdca4541e96bb6aec3a8641d3.cpp deleted file mode 100644 index 0efe2d33..00000000 --- a/src/py/wrapper/wrapper_b672d81fdca4541e96bb6aec3a8641d3.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_d79e7171293b5ca5b580fc477eb01a63)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_765d1a8c9c995fa5bdc79216611870bd)(enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_b672d81fdca4541e96bb6aec3a8641d3(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::Estimator > > class_b672d81fdca4541e96bb6aec3a8641d3(module, "CriterionEstimator", ""); - class_b672d81fdca4541e96bb6aec3a8641d3.def(pybind11::init< >()); - class_b672d81fdca4541e96bb6aec3a8641d3.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_b672d81fdca4541e96bb6aec3a8641d3.def("get_criterion", method_pointer_d79e7171293b5ca5b580fc477eb01a63, pybind11::return_value_policy::copy, ""); - class_b672d81fdca4541e96bb6aec3a8641d3.def("set_criterion", method_pointer_765d1a8c9c995fa5bdc79216611870bd, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b69665ff8e35506d9f4bdc083f09c052.cpp b/src/py/wrapper/wrapper_b69665ff8e35506d9f4bdc083f09c052.cpp deleted file mode 100644 index 9f2a54c0..00000000 --- a/src/py/wrapper/wrapper_b69665ff8e35506d9f4bdc083f09c052.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_b69665ff8e35506d9f4bdc083f09c052(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_b69665ff8e35506d9f4bdc083f09c052(module, "criterion_type"); - enum_b69665ff8e35506d9f4bdc083f09c052.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_b69665ff8e35506d9f4bdc083f09c052.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_b69665ff8e35506d9f4bdc083f09c052.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_b69665ff8e35506d9f4bdc083f09c052.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_b69665ff8e35506d9f4bdc083f09c052.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp b/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp deleted file mode 100644 index b83d5f38..00000000 --- a/src/py/wrapper/wrapper_b745bd62c1315087a0aa661317232745.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_14ec867b8d5d5bccb7161a3ea83a61a4; - virtual return_type_14ec867b8d5d5bccb7161a3ea83a61a4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_14ec867b8d5d5bccb7161a3ea83a61a4, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_b745bd62c1315087a0aa661317232745(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > class_b745bd62c1315087a0aa661317232745(module, "_PolymorphicCopy_b745bd62c1315087a0aa661317232745", ""); - class_b745bd62c1315087a0aa661317232745.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b797921d7173586f85a1f0978dfdd59d.cpp b/src/py/wrapper/wrapper_b797921d7173586f85a1f0978dfdd59d.cpp deleted file mode 100644 index 17b822c6..00000000 --- a/src/py/wrapper/wrapper_b797921d7173586f85a1f0978dfdd59d.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::*method_pointer_7178024026e15f21ad82ab4e25b888e0)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::size; -struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::*method_pointer_62b7f13af323559e9d98e54be5bce62a)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateConditionalDistribution, ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::*method_pointer_56456e13f5865c1eb6e3989fc64a0b1c)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_b797921d7173586f85a1f0978dfdd59d(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > > class_b797921d7173586f85a1f0978dfdd59d(module, "_Selection_b797921d7173586f85a1f0978dfdd59d", ""); - class_b797921d7173586f85a1f0978dfdd59d.def(pybind11::init< >()); - class_b797921d7173586f85a1f0978dfdd59d.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_b797921d7173586f85a1f0978dfdd59d.def(pybind11::init< struct ::statiskit::ContinuousMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_b797921d7173586f85a1f0978dfdd59d.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateConditionalDistribution, struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation > const & >()); - class_b797921d7173586f85a1f0978dfdd59d.def("__len__", method_pointer_7178024026e15f21ad82ab4e25b888e0, ""); - class_b797921d7173586f85a1f0978dfdd59d.def("get_estimation", method_pointer_62b7f13af323559e9d98e54be5bce62a, pybind11::return_value_policy::reference_internal, ""); - class_b797921d7173586f85a1f0978dfdd59d.def("get_score", method_pointer_56456e13f5865c1eb6e3989fc64a0b1c, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b85047a790a65c398d0495802b9a0f04.cpp b/src/py/wrapper/wrapper_b85047a790a65c398d0495802b9a0f04.cpp deleted file mode 100644 index 233012e9..00000000 --- a/src/py/wrapper/wrapper_b85047a790a65c398d0495802b9a0f04.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -int (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_dcc0ba9246d151cc9165d2874159b32a)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_shift; -void (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_b142f8882bf254159ce8c7249359a677)(int const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_shift; -::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::estimator_type const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_fe88d16bc27256d59ecbd4d1b3779e7f)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_57565bd7950f54f08d1cd4e75369565e)(::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::estimator_type const &)= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_estimator; - -namespace autowig { -} - -void wrapper_b85047a790a65c398d0495802b9a0f04(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_b85047a790a65c398d0495802b9a0f04(module, "Estimator", ""); - class_b85047a790a65c398d0495802b9a0f04.def(pybind11::init< >()); - class_b85047a790a65c398d0495802b9a0f04.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator const & >()); - class_b85047a790a65c398d0495802b9a0f04.def("get_shift", method_pointer_dcc0ba9246d151cc9165d2874159b32a, ""); - class_b85047a790a65c398d0495802b9a0f04.def("set_shift", method_pointer_b142f8882bf254159ce8c7249359a677, ""); - class_b85047a790a65c398d0495802b9a0f04.def("get_estimator", method_pointer_fe88d16bc27256d59ecbd4d1b3779e7f, pybind11::return_value_policy::reference_internal, ""); - class_b85047a790a65c398d0495802b9a0f04.def("set_estimator", method_pointer_57565bd7950f54f08d1cd4e75369565e, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ba10383a23ff54399f92db2e929ec564.cpp b/src/py/wrapper/wrapper_ba10383a23ff54399f92db2e929ec564.cpp deleted file mode 100644 index 323e35f5..00000000 --- a/src/py/wrapper/wrapper_ba10383a23ff54399f92db2e929ec564.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_4a0ac3d0e8ba5acab01bb16df19c819d)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_9dc7d3334bd75dbdaeca6ea3bd0d7f94)(enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_ba10383a23ff54399f92db2e929ec564(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > > class_ba10383a23ff54399f92db2e929ec564(module, "CriterionEstimator", ""); - class_ba10383a23ff54399f92db2e929ec564.def(pybind11::init< >()); - class_ba10383a23ff54399f92db2e929ec564.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator const & >()); - class_ba10383a23ff54399f92db2e929ec564.def("get_criterion", method_pointer_4a0ac3d0e8ba5acab01bb16df19c819d, pybind11::return_value_policy::copy, ""); - class_ba10383a23ff54399f92db2e929ec564.def("set_criterion", method_pointer_9dc7d3334bd75dbdaeca6ea3bd0d7f94, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bae2e5a4968957478cacad701caac477.cpp b/src/py/wrapper/wrapper_bae2e5a4968957478cacad701caac477.cpp deleted file mode 100644 index afa2c0be..00000000 --- a/src/py/wrapper/wrapper_bae2e5a4968957478cacad701caac477.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::CategoricalUnivariateMixtureDistribution const * (::statiskit::OptimizationEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution *, ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_f83077f8c224588f93d7bcc6f29f1557)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_bae2e5a4968957478cacad701caac477(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_bae2e5a4968957478cacad701caac477(module, "_OptimizationEstimation_bae2e5a4968957478cacad701caac477", ""); - class_bae2e5a4968957478cacad701caac477.def(pybind11::init< >()); - class_bae2e5a4968957478cacad701caac477.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_bae2e5a4968957478cacad701caac477.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_bae2e5a4968957478cacad701caac477.def("get_iteration", method_pointer_f83077f8c224588f93d7bcc6f29f1557, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bb17c2bea1da5d2a86714ca422d3c393.cpp b/src/py/wrapper/wrapper_bb17c2bea1da5d2a86714ca422d3c393.cpp deleted file mode 100644 index 2d8d0186..00000000 --- a/src/py/wrapper/wrapper_bb17c2bea1da5d2a86714ca422d3c393.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_bb17c2bea1da5d2a86714ca422d3c393(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > class_bb17c2bea1da5d2a86714ca422d3c393(module, "_LazyEstimation_bb17c2bea1da5d2a86714ca422d3c393", ""); - class_bb17c2bea1da5d2a86714ca422d3c393.def(pybind11::init< >()); - class_bb17c2bea1da5d2a86714ca422d3c393.def(pybind11::init< struct ::statiskit::CategoricalMultivariateConditionalDistribution const * >()); - class_bb17c2bea1da5d2a86714ca422d3c393.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp b/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp deleted file mode 100644 index f6e97214..00000000 --- a/src/py/wrapper/wrapper_bb48025bb0a15b5c907ff0400bf2207a.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3; - virtual return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9c4a81ac0dd5ed19a40ff7f3f24ddd3, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_bb48025bb0a15b5c907ff0400bf2207a(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_bb48025bb0a15b5c907ff0400bf2207a(module, "_PolymorphicCopy_bb48025bb0a15b5c907ff0400bf2207a", ""); - class_bb48025bb0a15b5c907ff0400bf2207a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp index aa1f7c14..6f0e5f0a 100644 --- a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp +++ b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp @@ -7,6 +7,8 @@ namespace autowig { void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module) { - pybind11::class_::Type > class_bc200d01ce665d1f9024e1ee1e59a5c5(module, "ContinuousUnivariateFrequencyDistributionEstimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > > class_bc200d01ce665d1f9024e1ee1e59a5c5(module, "ContinuousUnivariateFrequencyDistributionEstimator", ""); + class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< >()); + class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp b/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp deleted file mode 100644 index d38ee9f3..00000000 --- a/src/py/wrapper/wrapper_bc77a106572e58ba96fe5742a38e574c.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_95733c9061a45d4b93bf81942cfb0f70; - virtual return_type_95733c9061a45d4b93bf81942cfb0f70 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_95733c9061a45d4b93bf81942cfb0f70, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_bc77a106572e58ba96fe5742a38e574c(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistribution >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_bc77a106572e58ba96fe5742a38e574c(module, "_PolymorphicCopy_bc77a106572e58ba96fe5742a38e574c", ""); - class_bc77a106572e58ba96fe5742a38e574c.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp b/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp deleted file mode 100644 index f2a9ddaf..00000000 --- a/src/py/wrapper/wrapper_be720dbf462e5dce8b7d4a0b04921c48.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_59986b4f11705d0e8aa830dfb22c3798; - virtual return_type_59986b4f11705d0e8aa830dfb22c3798 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_59986b4f11705d0e8aa830dfb22c3798, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_2459c2d8b66758a8a5e14c538955ee4e; - typedef ::statiskit::MultivariateConditionalDistributionEstimation::data_type const & param_2459c2d8b66758a8a5e14c538955ee4e_0_type; - typedef bool const & param_2459c2d8b66758a8a5e14c538955ee4e_1_type; - virtual return_type_2459c2d8b66758a8a5e14c538955ee4e operator()(param_2459c2d8b66758a8a5e14c538955ee4e_0_type param_0, param_2459c2d8b66758a8a5e14c538955ee4e_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2459c2d8b66758a8a5e14c538955ee4e, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_be720dbf462e5dce8b7d4a0b04921c48(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_be720dbf462e5dce8b7d4a0b04921c48(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bf47140d396d5c208e074ff3a2a31af4.cpp b/src/py/wrapper/wrapper_bf47140d396d5c208e074ff3a2a31af4.cpp deleted file mode 100644 index f369907b..00000000 --- a/src/py/wrapper/wrapper_bf47140d396d5c208e074ff3a2a31af4.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_06e3b49b9057576985e9e96448e883d6)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_bf47140d396d5c208e074ff3a2a31af4(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_bf47140d396d5c208e074ff3a2a31af4(module, "_ActiveEstimation_bf47140d396d5c208e074ff3a2a31af4", ""); - class_bf47140d396d5c208e074ff3a2a31af4.def(pybind11::init< >()); - class_bf47140d396d5c208e074ff3a2a31af4.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_bf47140d396d5c208e074ff3a2a31af4.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_bf47140d396d5c208e074ff3a2a31af4.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_bf47140d396d5c208e074ff3a2a31af4.def("get_data", method_pointer_06e3b49b9057576985e9e96448e883d6, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c08067855baa5ebea605270776020990.cpp b/src/py/wrapper/wrapper_c08067855baa5ebea605270776020990.cpp deleted file mode 100644 index 172eeb0a..00000000 --- a/src/py/wrapper/wrapper_c08067855baa5ebea605270776020990.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_c08067855baa5ebea605270776020990(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_c08067855baa5ebea605270776020990(module, "Estimator", ""); - class_c08067855baa5ebea605270776020990.def(pybind11::init< >()); - class_c08067855baa5ebea605270776020990.def(pybind11::init< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp b/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp deleted file mode 100644 index fe7a8fce..00000000 --- a/src/py/wrapper/wrapper_c0bee75b3bf95732b384679bc9ef8f9f.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_c0bee75b3bf95732b384679bc9ef8f9f(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_c0bee75b3bf95732b384679bc9ef8f9f(module, "Estimator", ""); - class_c0bee75b3bf95732b384679bc9ef8f9f.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp b/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp deleted file mode 100644 index 4b071346..00000000 --- a/src/py/wrapper/wrapper_c285de96478650da951aca759bc2616e.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a4b7a69c09035fa9b547fc42980b79e0; - virtual return_type_a4b7a69c09035fa9b547fc42980b79e0 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a4b7a69c09035fa9b547fc42980b79e0, class_type, copy, ); }; - typedef double return_type_f235f53d7b8f5b4fbad21d4284b2f2d8; - virtual return_type_f235f53d7b8f5b4fbad21d4284b2f2d8 get_variance() const override { PYBIND11_OVERLOAD(return_type_f235f53d7b8f5b4fbad21d4284b2f2d8, class_type, get_variance, ); }; - typedef double return_type_fe2975161b6758f3bc67e5c9cf1c912d; - virtual return_type_fe2975161b6758f3bc67e5c9cf1c912d get_mean() const override { PYBIND11_OVERLOAD(return_type_fe2975161b6758f3bc67e5c9cf1c912d, class_type, get_mean, ); }; - typedef double return_type_13b291014f9656599dba7f710c381612; - typedef double const & param_13b291014f9656599dba7f710c381612_0_type; - virtual return_type_13b291014f9656599dba7f710c381612 cdf(param_13b291014f9656599dba7f710c381612_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_13b291014f9656599dba7f710c381612, class_type, cdf, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_0c52a93175f252e4abcc2a235d235887; - virtual return_type_0c52a93175f252e4abcc2a235d235887 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0c52a93175f252e4abcc2a235d235887, class_type, simulate, ); }; - typedef double return_type_62bf6274ec765d95bb7ed99f9665158b; - typedef double const & param_62bf6274ec765d95bb7ed99f9665158b_0_type; - virtual return_type_62bf6274ec765d95bb7ed99f9665158b pdf(param_62bf6274ec765d95bb7ed99f9665158b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_62bf6274ec765d95bb7ed99f9665158b, class_type, pdf, param_0); }; - typedef double return_type_c2f2633e3385585c93829c94dc639f88; - typedef double const & param_c2f2633e3385585c93829c94dc639f88_0_type; - virtual return_type_c2f2633e3385585c93829c94dc639f88 ldf(param_c2f2633e3385585c93829c94dc639f88_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_c2f2633e3385585c93829c94dc639f88, class_type, ldf, param_0); }; - typedef void return_type_fe72b6c262c3548dacae3bf46cc847fe; - typedef ::statiskit::Index const & param_fe72b6c262c3548dacae3bf46cc847fe_0_type; - typedef struct ::statiskit::ContinuousUnivariateDistribution const & param_fe72b6c262c3548dacae3bf46cc847fe_1_type; - virtual return_type_fe72b6c262c3548dacae3bf46cc847fe set_observation(param_fe72b6c262c3548dacae3bf46cc847fe_0_type param_0, param_fe72b6c262c3548dacae3bf46cc847fe_1_type param_1) override { PYBIND11_OVERLOAD(return_type_fe72b6c262c3548dacae3bf46cc847fe, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_043c7276ccec54e889284f954f337b87; - virtual return_type_043c7276ccec54e889284f954f337b87 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_043c7276ccec54e889284f954f337b87, class_type, get_nb_parameters, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_c285de96478650da951aca759bc2616e(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > >::Type, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_c285de96478650da951aca759bc2616e(module, "_PolymorphicCopy_c285de96478650da951aca759bc2616e", ""); - class_c285de96478650da951aca759bc2616e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c37f435056a151f5a398c0a2e86d752a.cpp b/src/py/wrapper/wrapper_c37f435056a151f5a398c0a2e86d752a.cpp deleted file mode 100644 index fb3d3a5b..00000000 --- a/src/py/wrapper/wrapper_c37f435056a151f5a398c0a2e86d752a.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "_core.h" - -bool (::statiskit::UnivariateConditionalData::Generator::*method_pointer_dbd5d1e6edee5e428a604bd20bd9b331)()const= &::statiskit::UnivariateConditionalData::Generator::is_valid; -class ::statiskit::UnivariateConditionalData::Generator & (::statiskit::UnivariateConditionalData::Generator::*method_pointer_48e3ad08fc4b5eb885552c771f60437c)()= &::statiskit::UnivariateConditionalData::Generator::operator++; -struct ::statiskit::UnivariateEvent const * (::statiskit::UnivariateConditionalData::Generator::*method_pointer_3493ddb18deb5b769d44454484d55164)()const= &::statiskit::UnivariateConditionalData::Generator::response; -struct ::statiskit::MultivariateEvent const * (::statiskit::UnivariateConditionalData::Generator::*method_pointer_0629b3c1d1b15640b93d4865d7fb2e1a)()const= &::statiskit::UnivariateConditionalData::Generator::explanatories; -double (::statiskit::UnivariateConditionalData::Generator::*method_pointer_cde76156e34b5300ab1ff4b31c270ba4)()const= &::statiskit::UnivariateConditionalData::Generator::weight; - -namespace autowig { - void method_decorator_48e3ad08fc4b5eb885552c771f60437c(class ::statiskit::UnivariateConditionalData::Generator & instance, const class ::statiskit::UnivariateConditionalData::Generator & param_out) { instance.operator++() = param_out; } -} - -void wrapper_c37f435056a151f5a398c0a2e86d752a(pybind11::module& module) -{ - - pybind11::class_::Type > class_c37f435056a151f5a398c0a2e86d752a(module, "Generator", ""); - class_c37f435056a151f5a398c0a2e86d752a.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_c37f435056a151f5a398c0a2e86d752a.def("is_valid", method_pointer_dbd5d1e6edee5e428a604bd20bd9b331, ""); - class_c37f435056a151f5a398c0a2e86d752a.def("__next__", method_pointer_48e3ad08fc4b5eb885552c771f60437c, pybind11::return_value_policy::reference_internal, ""); - class_c37f435056a151f5a398c0a2e86d752a.def("__next__", autowig::method_decorator_48e3ad08fc4b5eb885552c771f60437c); - class_c37f435056a151f5a398c0a2e86d752a.def("response", method_pointer_3493ddb18deb5b769d44454484d55164, pybind11::return_value_policy::reference_internal, ""); - class_c37f435056a151f5a398c0a2e86d752a.def("explanatories", method_pointer_0629b3c1d1b15640b93d4865d7fb2e1a, pybind11::return_value_policy::reference_internal, ""); - class_c37f435056a151f5a398c0a2e86d752a.def("weight", method_pointer_cde76156e34b5300ab1ff4b31c270ba4, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c3981878d7ab5e6f87183b575418286b.cpp b/src/py/wrapper/wrapper_c3981878d7ab5e6f87183b575418286b.cpp deleted file mode 100644 index 64b16610..00000000 --- a/src/py/wrapper/wrapper_c3981878d7ab5e6f87183b575418286b.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_c3981878d7ab5e6f87183b575418286b(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > > class_c3981878d7ab5e6f87183b575418286b(module, "_MixtureDistributionEMEstimation_c3981878d7ab5e6f87183b575418286b", ""); - class_c3981878d7ab5e6f87183b575418286b.def(pybind11::init< >()); - class_c3981878d7ab5e6f87183b575418286b.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_c3981878d7ab5e6f87183b575418286b.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c45aea45ed2e564cb24514edfc5e63b0.cpp b/src/py/wrapper/wrapper_c45aea45ed2e564cb24514edfc5e63b0.cpp deleted file mode 100644 index a0f67a11..00000000 --- a/src/py/wrapper/wrapper_c45aea45ed2e564cb24514edfc5e63b0.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_c45aea45ed2e564cb24514edfc5e63b0(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > >::Type, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > class_c45aea45ed2e564cb24514edfc5e63b0(module, "_PolymorphicCopy_c45aea45ed2e564cb24514edfc5e63b0", ""); - class_c45aea45ed2e564cb24514edfc5e63b0.def(pybind11::init< >()); - class_c45aea45ed2e564cb24514edfc5e63b0.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::QuantitativeUnivariateMixtureDistribution< struct ::statiskit::DiscreteUnivariateDistribution > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c4fa66fd13165a0abce0c43742e69748.cpp b/src/py/wrapper/wrapper_c4fa66fd13165a0abce0c43742e69748.cpp deleted file mode 100644 index a5b8e89d..00000000 --- a/src/py/wrapper/wrapper_c4fa66fd13165a0abce0c43742e69748.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_bebe30cc49d553888a62e65572123cd4)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_estimation; - -namespace autowig { -} - -void wrapper_c4fa66fd13165a0abce0c43742e69748(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_c4fa66fd13165a0abce0c43742e69748(module, "_ShiftedDistributionEstimation_c4fa66fd13165a0abce0c43742e69748", ""); - class_c4fa66fd13165a0abce0c43742e69748.def(pybind11::init< >()); - class_c4fa66fd13165a0abce0c43742e69748.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > *, class ::statiskit::UnivariateDataFrame const *, double const & >()); - class_c4fa66fd13165a0abce0c43742e69748.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_c4fa66fd13165a0abce0c43742e69748.def("get_estimation", method_pointer_bebe30cc49d553888a62e65572123cd4, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp b/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp deleted file mode 100644 index 80dce490..00000000 --- a/src/py/wrapper/wrapper_c50f0d84f3a05771b904e670721690e3.cpp +++ /dev/null @@ -1,70 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::MixtureDistribution; - - typedef void return_type_8ea34091aa9b5e9dba34828d5630578c; - typedef ::statiskit::Index const & param_8ea34091aa9b5e9dba34828d5630578c_0_type; - typedef struct ::statiskit::CategoricalUnivariateDistribution const & param_8ea34091aa9b5e9dba34828d5630578c_1_type; - virtual return_type_8ea34091aa9b5e9dba34828d5630578c set_observation(param_8ea34091aa9b5e9dba34828d5630578c_0_type param_0, param_8ea34091aa9b5e9dba34828d5630578c_1_type param_1) override { PYBIND11_OVERLOAD(return_type_8ea34091aa9b5e9dba34828d5630578c, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_fb2a3da83db75000af900ad657448394; - virtual return_type_fb2a3da83db75000af900ad657448394 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_fb2a3da83db75000af900ad657448394, class_type, get_nb_parameters, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; - virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; - virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - typedef double return_type_bf87506bdef85834a040bd514141c40f; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; - virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; - virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_c5f40a8dc3a45f7a9f2e4992d09482d2)()const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::get_nb_states; -struct ::statiskit::CategoricalUnivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_e6e443b766365e1aa30ac4a64437c103)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_8ea34091aa9b5e9dba34828d5630578c)(::statiskit::Index const &, struct ::statiskit::CategoricalUnivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_4f40a04cbc17565da2cfd218b85422ff)()const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_860c46e189d75b39809c65736e9ee51b)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_0f257c4ead19553d80953d264b42d0a2)(struct ::statiskit::UnivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_a1548fa77f255e12a4edf7ac3a5b09e7)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_b320496fd12c5add92498a633f348d75)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_b28920b77e07576fb2bc69eeea997f89)(struct ::statiskit::UnivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::CategoricalUnivariateDistribution >::*method_pointer_836435df113e5999ba450ce8a6457d98)(struct ::statiskit::UnivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_c50f0d84f3a05771b904e670721690e3(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::Type, struct ::statiskit::CategoricalUnivariateDistribution > class_c50f0d84f3a05771b904e670721690e3(module, "_MixtureDistribution_c50f0d84f3a05771b904e670721690e3", ""); - class_c50f0d84f3a05771b904e670721690e3.def(pybind11::init< >()); - class_c50f0d84f3a05771b904e670721690e3.def("get_nb_states", method_pointer_c5f40a8dc3a45f7a9f2e4992d09482d2, ""); - class_c50f0d84f3a05771b904e670721690e3.def("get_observation", method_pointer_e6e443b766365e1aa30ac4a64437c103, pybind11::return_value_policy::reference_internal, ""); - class_c50f0d84f3a05771b904e670721690e3.def("set_observation", method_pointer_8ea34091aa9b5e9dba34828d5630578c, ""); - class_c50f0d84f3a05771b904e670721690e3.def("get_pi", method_pointer_4f40a04cbc17565da2cfd218b85422ff, pybind11::return_value_policy::copy, ""); - class_c50f0d84f3a05771b904e670721690e3.def("set_pi", method_pointer_860c46e189d75b39809c65736e9ee51b, ""); - class_c50f0d84f3a05771b904e670721690e3.def("posterior", method_pointer_0f257c4ead19553d80953d264b42d0a2, ""); - class_c50f0d84f3a05771b904e670721690e3.def("assignment", method_pointer_a1548fa77f255e12a4edf7ac3a5b09e7, ""); - class_c50f0d84f3a05771b904e670721690e3.def("assignment", method_pointer_b320496fd12c5add92498a633f348d75, ""); - class_c50f0d84f3a05771b904e670721690e3.def("uncertainty", method_pointer_b28920b77e07576fb2bc69eeea997f89, ""); - class_c50f0d84f3a05771b904e670721690e3.def("uncertainty", method_pointer_836435df113e5999ba450ce8a6457d98, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c57cf5e1268c5299a5895ad1b219623f.cpp b/src/py/wrapper/wrapper_c57cf5e1268c5299a5895ad1b219623f.cpp deleted file mode 100644 index 3432c543..00000000 --- a/src/py/wrapper/wrapper_c57cf5e1268c5299a5895ad1b219623f.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_aaa0dfbae2e75008bd244623dab630b4)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_5b1c78213d9d55bd9dddfb9743888267)(enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_c57cf5e1268c5299a5895ad1b219623f(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::Estimator > > class_c57cf5e1268c5299a5895ad1b219623f(module, "CriterionEstimator", ""); - class_c57cf5e1268c5299a5895ad1b219623f.def(pybind11::init< >()); - class_c57cf5e1268c5299a5895ad1b219623f.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_c57cf5e1268c5299a5895ad1b219623f.def("get_criterion", method_pointer_aaa0dfbae2e75008bd244623dab630b4, pybind11::return_value_policy::copy, ""); - class_c57cf5e1268c5299a5895ad1b219623f.def("set_criterion", method_pointer_5b1c78213d9d55bd9dddfb9743888267, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c5f88ba309545f39820cbd74b19f1f7c.cpp b/src/py/wrapper/wrapper_c5f88ba309545f39820cbd74b19f1f7c.cpp deleted file mode 100644 index c1b2fb6d..00000000 --- a/src/py/wrapper/wrapper_c5f88ba309545f39820cbd74b19f1f7c.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::*method_pointer_b194181ea9d1543db755d00eead714fb)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_c5f88ba309545f39820cbd74b19f1f7c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > > class_c5f88ba309545f39820cbd74b19f1f7c(module, "_ActiveEstimation_c5f88ba309545f39820cbd74b19f1f7c", ""); - class_c5f88ba309545f39820cbd74b19f1f7c.def(pybind11::init< >()); - class_c5f88ba309545f39820cbd74b19f1f7c.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_c5f88ba309545f39820cbd74b19f1f7c.def(pybind11::init< struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_c5f88ba309545f39820cbd74b19f1f7c.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > const & >()); - class_c5f88ba309545f39820cbd74b19f1f7c.def("get_data", method_pointer_b194181ea9d1543db755d00eead714fb, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp b/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp deleted file mode 100644 index 557c4973..00000000 --- a/src/py/wrapper/wrapper_c64f8514180b56eabe5b4d197177f547.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_32372a30c33c5afe84773c34bf9d184a; - virtual return_type_32372a30c33c5afe84773c34bf9d184a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_32372a30c33c5afe84773c34bf9d184a, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_3e4097cae0375266a0709347ead82e61; - virtual return_type_3e4097cae0375266a0709347ead82e61 children() const override { PYBIND11_OVERLOAD(return_type_3e4097cae0375266a0709347ead82e61, class_type, children, ); }; - typedef double return_type_12fcf7e5c7655bf5b274be86d31f722f; - typedef struct ::statiskit::UnivariateDistribution const * param_12fcf7e5c7655bf5b274be86d31f722f_0_type; - typedef struct ::statiskit::UnivariateData const & param_12fcf7e5c7655bf5b274be86d31f722f_1_type; - virtual return_type_12fcf7e5c7655bf5b274be86d31f722f scoring(param_12fcf7e5c7655bf5b274be86d31f722f_0_type param_0, param_12fcf7e5c7655bf5b274be86d31f722f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_12fcf7e5c7655bf5b274be86d31f722f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_c8606a3cba185cad9d37a5abb14ab63d; - typedef struct ::statiskit::UnivariateData const & param_c8606a3cba185cad9d37a5abb14ab63d_0_type; - typedef bool const & param_c8606a3cba185cad9d37a5abb14ab63d_1_type; - virtual return_type_c8606a3cba185cad9d37a5abb14ab63d operator()(param_c8606a3cba185cad9d37a5abb14ab63d_0_type param_0, param_c8606a3cba185cad9d37a5abb14ab63d_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c8606a3cba185cad9d37a5abb14ab63d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_c64f8514180b56eabe5b4d197177f547(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_c64f8514180b56eabe5b4d197177f547(module, "_PolymorphicCopy_c64f8514180b56eabe5b4d197177f547", ""); - class_c64f8514180b56eabe5b4d197177f547.def(pybind11::init< >()); - class_c64f8514180b56eabe5b4d197177f547.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c8d0cf6feb9650a486b6da44c7b338e0.cpp b/src/py/wrapper/wrapper_c8d0cf6feb9650a486b6da44c7b338e0.cpp deleted file mode 100644 index 287d9416..00000000 --- a/src/py/wrapper/wrapper_c8d0cf6feb9650a486b6da44c7b338e0.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_1c6d0ddac11c5886b934df7deb1830f9)()const= &::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_c8d0cf6feb9650a486b6da44c7b338e0(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_c8d0cf6feb9650a486b6da44c7b338e0(module, "_ActiveEstimation_c8d0cf6feb9650a486b6da44c7b338e0", ""); - class_c8d0cf6feb9650a486b6da44c7b338e0.def(pybind11::init< >()); - class_c8d0cf6feb9650a486b6da44c7b338e0.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_c8d0cf6feb9650a486b6da44c7b338e0.def(pybind11::init< struct ::statiskit::DiscreteUnivariateDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_c8d0cf6feb9650a486b6da44c7b338e0.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_c8d0cf6feb9650a486b6da44c7b338e0.def("get_data", method_pointer_1c6d0ddac11c5886b934df7deb1830f9, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp b/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp index 951b40e4..85920882 100644 --- a/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp +++ b/src/py/wrapper/wrapper_c8f9ef7718815a7dbb7946e20b85e07f.cpp @@ -12,6 +12,7 @@ void wrapper_c8f9ef7718815a7dbb7946e20b85e07f(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Type > class_c8f9ef7718815a7dbb7946e20b85e07f(module, "_DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f", ""); class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< >()); + class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::data_type const * >()); class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::data_type const *, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::distribution_type const * >()); class_c8f9ef7718815a7dbb7946e20b85e07f.def(pybind11::init< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > const & >()); class_c8f9ef7718815a7dbb7946e20b85e07f.def("get_data", method_pointer_aa2cbc3e3f6c51ec8b7709c23d558a89, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp b/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp deleted file mode 100644 index fb07f316..00000000 --- a/src/py/wrapper/wrapper_c92b9bfaab03555f87343457a8d1a2b0.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_c92b9bfaab03555f87343457a8d1a2b0(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator > > class_c92b9bfaab03555f87343457a8d1a2b0(module, "Estimator", ""); - class_c92b9bfaab03555f87343457a8d1a2b0.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp b/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp deleted file mode 100644 index 15c357a9..00000000 --- a/src/py/wrapper/wrapper_ca5d28928ff15dbc886e10017edb407d.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_83006002ee8051fbae55f45fd302b03c; - virtual return_type_83006002ee8051fbae55f45fd302b03c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83006002ee8051fbae55f45fd302b03c, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c82d383b9d4b56a280155ae882087ecb; - virtual return_type_c82d383b9d4b56a280155ae882087ecb children() const override { PYBIND11_OVERLOAD(return_type_c82d383b9d4b56a280155ae882087ecb, class_type, children, ); }; - typedef double return_type_eb86c0375a50572bbae183092f4fdcaa; - typedef struct ::statiskit::MultivariateDistribution const * param_eb86c0375a50572bbae183092f4fdcaa_0_type; - typedef struct ::statiskit::MultivariateData const & param_eb86c0375a50572bbae183092f4fdcaa_1_type; - virtual return_type_eb86c0375a50572bbae183092f4fdcaa scoring(param_eb86c0375a50572bbae183092f4fdcaa_0_type param_0, param_eb86c0375a50572bbae183092f4fdcaa_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_eb86c0375a50572bbae183092f4fdcaa, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_f61beef9632f5847b38c805656a4a479; - typedef struct ::statiskit::MultivariateData const & param_f61beef9632f5847b38c805656a4a479_0_type; - typedef bool const & param_f61beef9632f5847b38c805656a4a479_1_type; - virtual return_type_f61beef9632f5847b38c805656a4a479 operator()(param_f61beef9632f5847b38c805656a4a479_0_type param_0, param_f61beef9632f5847b38c805656a4a479_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f61beef9632f5847b38c805656a4a479, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_ca5d28928ff15dbc886e10017edb407d(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_ca5d28928ff15dbc886e10017edb407d(module, "_PolymorphicCopy_ca5d28928ff15dbc886e10017edb407d", ""); - class_ca5d28928ff15dbc886e10017edb407d.def(pybind11::init< >()); - class_ca5d28928ff15dbc886e10017edb407d.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp b/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp deleted file mode 100644 index b04482c6..00000000 --- a/src/py/wrapper/wrapper_caa62ffec61a5e0a99ca640a1ed36905.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_64dbb43dd673576da853b5fa47a4cd5e; - virtual return_type_64dbb43dd673576da853b5fa47a4cd5e children() const override { PYBIND11_OVERLOAD(return_type_64dbb43dd673576da853b5fa47a4cd5e, class_type, children, ); }; - typedef double return_type_39e39a5ba6795282a3c28212fea5c5d7; - typedef struct ::statiskit::UnivariateDistribution const * param_39e39a5ba6795282a3c28212fea5c5d7_0_type; - typedef struct ::statiskit::UnivariateData const & param_39e39a5ba6795282a3c28212fea5c5d7_1_type; - virtual return_type_39e39a5ba6795282a3c28212fea5c5d7 scoring(param_39e39a5ba6795282a3c28212fea5c5d7_0_type param_0, param_39e39a5ba6795282a3c28212fea5c5d7_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_39e39a5ba6795282a3c28212fea5c5d7, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_4220f23a7cfe5f818092feddf6ad9aa9; - typedef struct ::statiskit::UnivariateData const & param_4220f23a7cfe5f818092feddf6ad9aa9_0_type; - typedef bool const & param_4220f23a7cfe5f818092feddf6ad9aa9_1_type; - virtual return_type_4220f23a7cfe5f818092feddf6ad9aa9 operator()(param_4220f23a7cfe5f818092feddf6ad9aa9_0_type param_0, param_4220f23a7cfe5f818092feddf6ad9aa9_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4220f23a7cfe5f818092feddf6ad9aa9, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_217dfb0ca4fa5215b0825f96ef9498a2; - virtual return_type_217dfb0ca4fa5215b0825f96ef9498a2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_217dfb0ca4fa5215b0825f96ef9498a2, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_d14f1b0afd7d5334aa815cfa7e9063df)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_6da8c84855f35c9d8505a81e9cf4c823)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_d382d54fd49b5beaab547053ddbbcdf0)(::statiskit::Index const &, struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_d0cae626d46652ddb13449eca18a09c0)(struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_ef5bd1ef7f46550c9cfd23821bda32c4)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_caa62ffec61a5e0a99ca640a1ed36905(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_caa62ffec61a5e0a99ca640a1ed36905(module, "Estimator", ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("__len__", method_pointer_d14f1b0afd7d5334aa815cfa7e9063df, ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("get_estimator", method_pointer_6da8c84855f35c9d8505a81e9cf4c823, pybind11::return_value_policy::reference_internal, ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("set_estimator", method_pointer_d382d54fd49b5beaab547053ddbbcdf0, ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("add_estimator", method_pointer_d0cae626d46652ddb13449eca18a09c0, ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("remove_estimator", method_pointer_ef5bd1ef7f46550c9cfd23821bda32c4, ""); - class_caa62ffec61a5e0a99ca640a1ed36905.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::UnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_caa96dc8906e541dbda0563fb9f042bc.cpp b/src/py/wrapper/wrapper_caa96dc8906e541dbda0563fb9f042bc.cpp deleted file mode 100644 index 64904aad..00000000 --- a/src/py/wrapper/wrapper_caa96dc8906e541dbda0563fb9f042bc.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::DirichletMultinomialSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_df6e05148b285e6ab2b10205047450bc)()const= &::statiskit::LazyEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_caa96dc8906e541dbda0563fb9f042bc(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, struct ::statiskit::SingularDistributionEstimation > class_caa96dc8906e541dbda0563fb9f042bc(module, "_LazyEstimation_caa96dc8906e541dbda0563fb9f042bc", ""); - class_caa96dc8906e541dbda0563fb9f042bc.def(pybind11::init< >()); - class_caa96dc8906e541dbda0563fb9f042bc.def(pybind11::init< class ::statiskit::DirichletMultinomialSingularDistribution const * >()); - class_caa96dc8906e541dbda0563fb9f042bc.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_caa96dc8906e541dbda0563fb9f042bc.def("copy", method_pointer_df6e05148b285e6ab2b10205047450bc, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp b/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp deleted file mode 100644 index 2ecfbd20..00000000 --- a/src/py/wrapper/wrapper_cac66b5845885b48b2bb02c9d01b81db.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_cac66b5845885b48b2bb02c9d01b81db(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::ContinuousUnivariateMixtureDistribution *, struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_cac66b5845885b48b2bb02c9d01b81db(module, "Estimator", ""); - class_cac66b5845885b48b2bb02c9d01b81db.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp index aca493e1..35e72715 100644 --- a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp +++ b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp @@ -1,27 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::GeometricDistributionMLEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::GeometricDistributionMLEstimation::Estimator::Estimator; - - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; - virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - }; -} - namespace autowig { } @@ -29,7 +7,8 @@ namespace autowig { void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module) { - pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< >()); + class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< struct ::statiskit::GeometricDistributionMLEstimation::Estimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp b/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp deleted file mode 100644 index bfa8ac21..00000000 --- a/src/py/wrapper/wrapper_cc3bc950f48855398043fabd1fa92b62.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_8212df695c38549281a6bcb634bd2f31; - virtual return_type_8212df695c38549281a6bcb634bd2f31 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8212df695c38549281a6bcb634bd2f31, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_cc3bc950f48855398043fabd1fa92b62(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_cc3bc950f48855398043fabd1fa92b62(module, "_PolymorphicCopy_cc3bc950f48855398043fabd1fa92b62", ""); - class_cc3bc950f48855398043fabd1fa92b62.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp b/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp deleted file mode 100644 index 47ce337d..00000000 --- a/src/py/wrapper/wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; - typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; - virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_ccbe80a40ba653d3bf2bdc8fd0b0ad46(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_ccbe80a40ba653d3bf2bdc8fd0b0ad46(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cd2f32a2cb285d6c9d814fca476c78af.cpp b/src/py/wrapper/wrapper_cd2f32a2cb285d6c9d814fca476c78af.cpp deleted file mode 100644 index 1310549b..00000000 --- a/src/py/wrapper/wrapper_cd2f32a2cb285d6c9d814fca476c78af.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_cd2f32a2cb285d6c9d814fca476c78af(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::UnivariateMixtureDistribution< struct ::statiskit::CategoricalUnivariateDistribution > > > class_cd2f32a2cb285d6c9d814fca476c78af(module, "CategoricalUnivariateMixtureDistribution", ""); - class_cd2f32a2cb285d6c9d814fca476c78af.def(pybind11::init< class ::std::vector< struct ::statiskit::CategoricalUnivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalUnivariateDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_cd2f32a2cb285d6c9d814fca476c78af.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cd94566e790a5588be95cba4cfaaec57.cpp b/src/py/wrapper/wrapper_cd94566e790a5588be95cba4cfaaec57.cpp deleted file mode 100644 index 6688715a..00000000 --- a/src/py/wrapper/wrapper_cd94566e790a5588be95cba4cfaaec57.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::*method_pointer_66fd11e805a352baa812e0b7cef8f008)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::size; -struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::*method_pointer_e561b539b17f5d158286878b6886d342)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateConditionalDistribution, ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::*method_pointer_4a3ad2c36b0a53ecbf842b6a176cd953)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_cd94566e790a5588be95cba4cfaaec57(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > > class_cd94566e790a5588be95cba4cfaaec57(module, "_Selection_cd94566e790a5588be95cba4cfaaec57", ""); - class_cd94566e790a5588be95cba4cfaaec57.def(pybind11::init< >()); - class_cd94566e790a5588be95cba4cfaaec57.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_cd94566e790a5588be95cba4cfaaec57.def(pybind11::init< struct ::statiskit::ContinuousUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_cd94566e790a5588be95cba4cfaaec57.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > const & >()); - class_cd94566e790a5588be95cba4cfaaec57.def("__len__", method_pointer_66fd11e805a352baa812e0b7cef8f008, ""); - class_cd94566e790a5588be95cba4cfaaec57.def("get_estimation", method_pointer_e561b539b17f5d158286878b6886d342, pybind11::return_value_policy::reference_internal, ""); - class_cd94566e790a5588be95cba4cfaaec57.def("get_score", method_pointer_4a3ad2c36b0a53ecbf842b6a176cd953, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ce6d678c114158f596627eb4f0c6e9b1.cpp b/src/py/wrapper/wrapper_ce6d678c114158f596627eb4f0c6e9b1.cpp deleted file mode 100644 index c7a130f0..00000000 --- a/src/py/wrapper/wrapper_ce6d678c114158f596627eb4f0c6e9b1.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_3fe56cb26f9851258e713dddb58f2b90)(::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_a076f832a21951cea2617bd8b5557ea9)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_56bbd133aa9457a7bca456405380823c)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_58351392b9175bc7a50005aa773233ae)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_a935e88c79d95222a0e2ce5acf723fa2)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_b55513eaa95e5b9c9282c046ed5455b0)(::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_2591955b78145f308fe70ac4aaa41bdf)(::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::at; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_864ec8fdaf045a2eac1103596955be0c)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::front; -::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::const_reference (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_1afbfdf812185be1a4b9775bbb8224da)()const= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::back; -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_dbbcef89e9625e0cad9add967613d027)(::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_f5984385bad25dabb1e3c61988c852ee)()= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_925fc8290795540694fe6e7c5434d44a)(class ::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > > &)= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::DiscreteUnivariateDistribution *, ::std::allocator< ::statiskit::DiscreteUnivariateDistribution * > >::*method_pointer_22e6483dae2055eb8a935ca924840afd)()= &::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_ce6d678c114158f596627eb4f0c6e9b1(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > > >::Type > class_ce6d678c114158f596627eb4f0c6e9b1(module, "_Vector_ce6d678c114158f596627eb4f0c6e9b1", ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def(pybind11::init< >()); - class_ce6d678c114158f596627eb4f0c6e9b1.def(pybind11::init< class ::std::vector< struct ::statiskit::DiscreteUnivariateDistribution *, class ::std::allocator< struct ::statiskit::DiscreteUnivariateDistribution * > > const & >()); - class_ce6d678c114158f596627eb4f0c6e9b1.def("assign", method_pointer_3fe56cb26f9851258e713dddb58f2b90, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("__len__", method_pointer_a076f832a21951cea2617bd8b5557ea9, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("max_size", method_pointer_56bbd133aa9457a7bca456405380823c, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("capacity", method_pointer_58351392b9175bc7a50005aa773233ae, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("empty", method_pointer_a935e88c79d95222a0e2ce5acf723fa2, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("reserve", method_pointer_b55513eaa95e5b9c9282c046ed5455b0, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("at", method_pointer_2591955b78145f308fe70ac4aaa41bdf, pybind11::return_value_policy::reference_internal, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("front", method_pointer_864ec8fdaf045a2eac1103596955be0c, pybind11::return_value_policy::reference_internal, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("back", method_pointer_1afbfdf812185be1a4b9775bbb8224da, pybind11::return_value_policy::reference_internal, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("push_back", method_pointer_dbbcef89e9625e0cad9add967613d027, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("pop_back", method_pointer_f5984385bad25dabb1e3c61988c852ee, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("swap", method_pointer_925fc8290795540694fe6e7c5434d44a, ""); - class_ce6d678c114158f596627eb4f0c6e9b1.def("clear", method_pointer_22e6483dae2055eb8a935ca924840afd, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ceecfdda95b55b7c9ffa26c45ca90aef.cpp b/src/py/wrapper/wrapper_ceecfdda95b55b7c9ffa26c45ca90aef.cpp deleted file mode 100644 index 50218a39..00000000 --- a/src/py/wrapper/wrapper_ceecfdda95b55b7c9ffa26c45ca90aef.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateConditionalDistributionEstimation & (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation > >::*method_pointer_0f7c30ba060752d18b4c9cf79178bc8f)()const= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::operator*; -::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation > >::*method_pointer_ee01c860098d56c085a348a15bedd8a7)()const= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::get; -::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation > >::*method_pointer_ed3ce06c133c575994c22b1ab4ccc139)()= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation > >::*method_pointer_5eb8ad8c2ebe5ced939b411d3fb3b1b9)(::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::pointer )= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation > >::*method_pointer_2e2ff2d0745f5ff3b6470856a098bf3a)(class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > &)= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > >::swap; - -namespace autowig { - void method_decorator_0f7c30ba060752d18b4c9cf79178bc8f(class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > const & instance, const struct ::statiskit::UnivariateConditionalDistributionEstimation & param_out) { instance.operator*() = param_out; } -} - -void wrapper_ceecfdda95b55b7c9ffa26c45ca90aef(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp b/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp deleted file mode 100644 index df909123..00000000 --- a/src/py/wrapper/wrapper_cfd02dd933ca5798b9cc4c5244cd20ca.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_cfd02dd933ca5798b9cc4c5244cd20ca(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 >, class ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > class_cfd02dd933ca5798b9cc4c5244cd20ca(module, "Estimator", ""); - class_cfd02dd933ca5798b9cc4c5244cd20ca.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp b/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp deleted file mode 100644 index 9fab872d..00000000 --- a/src/py/wrapper/wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_051df2c50206554b9bded4a431031ce8; - virtual return_type_051df2c50206554b9bded4a431031ce8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_051df2c50206554b9bded4a431031ce8, class_type, copy, ); }; - typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; - typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; - typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; - virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_95135a341c905d84966c263f09456897; - virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_d09bc728f19c5db5a6f8091c4c6d9f2b(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > > >::Type, class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > > class_d09bc728f19c5db5a6f8091c4c6d9f2b(module, "_PolymorphicCopy_d09bc728f19c5db5a6f8091c4c6d9f2b", ""); - class_d09bc728f19c5db5a6f8091c4c6d9f2b.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp b/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp deleted file mode 100644 index 77058ebb..00000000 --- a/src/py/wrapper/wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_fc52469705645be59b8a970932051267; - virtual return_type_fc52469705645be59b8a970932051267 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_fc52469705645be59b8a970932051267, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_d0ed0f7adad950a1a66bbbf2fcc3f5d1(pybind11::module& module) -{ - - pybind11::class_, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > >::Type, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > > class_d0ed0f7adad950a1a66bbbf2fcc3f5d1(module, "_PolymorphicCopy_d0ed0f7adad950a1a66bbbf2fcc3f5d1", ""); - class_d0ed0f7adad950a1a66bbbf2fcc3f5d1.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d1d07891cded56f98ac530b8a0898dd9.cpp b/src/py/wrapper/wrapper_d1d07891cded56f98ac530b8a0898dd9.cpp deleted file mode 100644 index 9ecafc4c..00000000 --- a/src/py/wrapper/wrapper_d1d07891cded56f98ac530b8a0898dd9.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData & (::std::unique_ptr< ::statiskit::MultivariateConditionalData, ::std::default_delete< ::statiskit::MultivariateConditionalData > >::*method_pointer_23eaadeac0c150a3b42dd11b28483bb0)()const= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::operator*; -::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalData, ::std::default_delete< ::statiskit::MultivariateConditionalData > >::*method_pointer_a768befc20df57d2bf820cff346b73e5)()const= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::get; -::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::pointer (::std::unique_ptr< ::statiskit::MultivariateConditionalData, ::std::default_delete< ::statiskit::MultivariateConditionalData > >::*method_pointer_c5dfbd42fd655270b756e13d99f32621)()= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::release; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalData, ::std::default_delete< ::statiskit::MultivariateConditionalData > >::*method_pointer_f871552030455748a711ceec587985be)(::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::pointer )= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::reset; -void (::std::unique_ptr< ::statiskit::MultivariateConditionalData, ::std::default_delete< ::statiskit::MultivariateConditionalData > >::*method_pointer_d6f47bbae5475d3dba65da73403535ca)(class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > > &)= &::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > >::swap; - -namespace autowig { - void method_decorator_23eaadeac0c150a3b42dd11b28483bb0(class ::std::unique_ptr< class ::statiskit::MultivariateConditionalData, struct ::std::default_delete< class ::statiskit::MultivariateConditionalData > > const & instance, const class ::statiskit::MultivariateConditionalData & param_out) { instance.operator*() = param_out; } -} - -void wrapper_d1d07891cded56f98ac530b8a0898dd9(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d358a39c74145ef4b6d844aec605e715.cpp b/src/py/wrapper/wrapper_d358a39c74145ef4b6d844aec605e715.cpp deleted file mode 100644 index 5a717b74..00000000 --- a/src/py/wrapper/wrapper_d358a39c74145ef4b6d844aec605e715.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator & (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_abad22c20ada5a209e05d29b54a0823d)()const= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::operator*; -::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_9095696393c3573d94a77df38ddee6ba)()const= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::get; -::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::pointer (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_43f2ff7b083755839d29fd4c190f2074)()= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_570b7dcad2b95b4097b750ce41f53ed7)(::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::pointer )= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, ::std::default_delete< ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::*method_pointer_5155d9a739915411ab33dce92f8ad4df)(class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > &)= &::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > >::swap; - -namespace autowig { - void method_decorator_abad22c20ada5a209e05d29b54a0823d(class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > const & instance, const struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator & param_out) { instance.operator*() = param_out; } -} - -void wrapper_d358a39c74145ef4b6d844aec605e715(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d43cf2b0b53753edb3fccbdddfef43b3.cpp b/src/py/wrapper/wrapper_d43cf2b0b53753edb3fccbdddfef43b3.cpp deleted file mode 100644 index 7df7fcd7..00000000 --- a/src/py/wrapper/wrapper_d43cf2b0b53753edb3fccbdddfef43b3.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -class ::statiskit::MultivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::CategoricalMultivariateConditionalDistribution, ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::*method_pointer_cb2276db8fb554c4ac6d540ebeb4cafd)()const= &::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_d43cf2b0b53753edb3fccbdddfef43b3(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > > class_d43cf2b0b53753edb3fccbdddfef43b3(module, "_ActiveEstimation_d43cf2b0b53753edb3fccbdddfef43b3", ""); - class_d43cf2b0b53753edb3fccbdddfef43b3.def(pybind11::init< >()); - class_d43cf2b0b53753edb3fccbdddfef43b3.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_d43cf2b0b53753edb3fccbdddfef43b3.def(pybind11::init< struct ::statiskit::CategoricalMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_d43cf2b0b53753edb3fccbdddfef43b3.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::CategoricalMultivariateConditionalDistribution, struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation > const & >()); - class_d43cf2b0b53753edb3fccbdddfef43b3.def("get_data", method_pointer_cb2276db8fb554c4ac6d540ebeb4cafd, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp b/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp deleted file mode 100644 index aa5a0472..00000000 --- a/src/py/wrapper/wrapper_d4b7bfff2e0551769c3e6767fe7dca05.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::MixtureDistribution; - - typedef void return_type_be0a79cf74985b8a9b7c9f627f3c9346; - typedef ::statiskit::Index const & param_be0a79cf74985b8a9b7c9f627f3c9346_0_type; - typedef struct ::statiskit::ContinuousMultivariateDistribution const & param_be0a79cf74985b8a9b7c9f627f3c9346_1_type; - virtual return_type_be0a79cf74985b8a9b7c9f627f3c9346 set_observation(param_be0a79cf74985b8a9b7c9f627f3c9346_0_type param_0, param_be0a79cf74985b8a9b7c9f627f3c9346_1_type param_1) override { PYBIND11_OVERLOAD(return_type_be0a79cf74985b8a9b7c9f627f3c9346, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_95135a341c905d84966c263f09456897; - virtual return_type_95135a341c905d84966c263f09456897 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_95135a341c905d84966c263f09456897, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; - virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_84e54ba703be5d09a3850865ebae7947)()const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::get_nb_states; -struct ::statiskit::ContinuousMultivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_c7ad8579c93f5af99593991c02ff8595)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_be0a79cf74985b8a9b7c9f627f3c9346)(::statiskit::Index const &, struct ::statiskit::ContinuousMultivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_bec42718135951b4b5e808b13d653ac6)()const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_0da7897e2cdb59df8f758fc06f88b579)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_6ec110ed65c95bbdafcd7a8eac50f286)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_2ef3daee602455f4bb59edc9cb1e8116)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_2ec2555e6a3552b0a12beaf4bfb45e07)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_d1a69ac6a265507ea72b7a64367795f1)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >::*method_pointer_af1dba75f7ed587d9c452594631b7033)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_d4b7bfff2e0551769c3e6767fe7dca05(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::ContinuousMultivariateDistribution > class_d4b7bfff2e0551769c3e6767fe7dca05(module, "_MixtureDistribution_d4b7bfff2e0551769c3e6767fe7dca05", ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def(pybind11::init< >()); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("get_nb_states", method_pointer_84e54ba703be5d09a3850865ebae7947, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("get_observation", method_pointer_c7ad8579c93f5af99593991c02ff8595, pybind11::return_value_policy::reference_internal, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("set_observation", method_pointer_be0a79cf74985b8a9b7c9f627f3c9346, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("get_pi", method_pointer_bec42718135951b4b5e808b13d653ac6, pybind11::return_value_policy::copy, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("set_pi", method_pointer_0da7897e2cdb59df8f758fc06f88b579, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("posterior", method_pointer_6ec110ed65c95bbdafcd7a8eac50f286, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("assignment", method_pointer_2ef3daee602455f4bb59edc9cb1e8116, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("assignment", method_pointer_2ec2555e6a3552b0a12beaf4bfb45e07, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("uncertainty", method_pointer_d1a69ac6a265507ea72b7a64367795f1, ""); - class_d4b7bfff2e0551769c3e6767fe7dca05.def("uncertainty", method_pointer_af1dba75f7ed587d9c452594631b7033, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d5050a1ccbb65a28b581f7bdf82e3a84.cpp b/src/py/wrapper/wrapper_d5050a1ccbb65a28b581f7bdf82e3a84.cpp deleted file mode 100644 index 44243aba..00000000 --- a/src/py/wrapper/wrapper_d5050a1ccbb65a28b581f7bdf82e3a84.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_53438cdbafc85f2b829000b93718c0da)()const= &::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_d5050a1ccbb65a28b581f7bdf82e3a84(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_d5050a1ccbb65a28b581f7bdf82e3a84(module, "_ActiveEstimation_d5050a1ccbb65a28b581f7bdf82e3a84", ""); - class_d5050a1ccbb65a28b581f7bdf82e3a84.def(pybind11::init< >()); - class_d5050a1ccbb65a28b581f7bdf82e3a84.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_d5050a1ccbb65a28b581f7bdf82e3a84.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_d5050a1ccbb65a28b581f7bdf82e3a84.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_d5050a1ccbb65a28b581f7bdf82e3a84.def("get_data", method_pointer_53438cdbafc85f2b829000b93718c0da, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp b/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp deleted file mode 100644 index df765808..00000000 --- a/src/py/wrapper/wrapper_d63319879d9750a497ce0eb3e49e5d7a.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_d63319879d9750a497ce0eb3e49e5d7a(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_d63319879d9750a497ce0eb3e49e5d7a(module, "Estimator", ""); - class_d63319879d9750a497ce0eb3e49e5d7a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp b/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp deleted file mode 100644 index 8a97e5a2..00000000 --- a/src/py/wrapper/wrapper_d6970cd0a37451cfbcd48d316b17aaa0.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_a0b487653a3856b1bb4b5c6fad17a750; - virtual return_type_a0b487653a3856b1bb4b5c6fad17a750 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a0b487653a3856b1bb4b5c6fad17a750, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_d6970cd0a37451cfbcd48d316b17aaa0(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::SplittingDistributionEstimation::Estimator, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_d6970cd0a37451cfbcd48d316b17aaa0(module, "_PolymorphicCopy_d6970cd0a37451cfbcd48d316b17aaa0", ""); - class_d6970cd0a37451cfbcd48d316b17aaa0.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d703fdffb5985355afb348563c2a3b0c.cpp b/src/py/wrapper/wrapper_d703fdffb5985355afb348563c2a3b0c.cpp deleted file mode 100644 index 05897c5a..00000000 --- a/src/py/wrapper/wrapper_d703fdffb5985355afb348563c2a3b0c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const * (::statiskit::OptimizationEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution > *, ::statiskit::MultivariateMixtureDistribution< ::statiskit::DiscreteMultivariateDistribution >, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_d10155e4d412517796a8867c0835d222)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_d703fdffb5985355afb348563c2a3b0c(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_d703fdffb5985355afb348563c2a3b0c(module, "_OptimizationEstimation_d703fdffb5985355afb348563c2a3b0c", ""); - class_d703fdffb5985355afb348563c2a3b0c.def(pybind11::init< >()); - class_d703fdffb5985355afb348563c2a3b0c.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_d703fdffb5985355afb348563c2a3b0c.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_d703fdffb5985355afb348563c2a3b0c.def("get_iteration", method_pointer_d10155e4d412517796a8867c0835d222, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d72a9c13e27a5de5800ea382cc4d107f.cpp b/src/py/wrapper/wrapper_d72a9c13e27a5de5800ea382cc4d107f.cpp deleted file mode 100644 index 272dbc12..00000000 --- a/src/py/wrapper/wrapper_d72a9c13e27a5de5800ea382cc4d107f.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::ContinuousUnivariateMixtureDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_6bb38d66f7f85c799af8028625dc8b7a)()const= &::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_d72a9c13e27a5de5800ea382cc4d107f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_d72a9c13e27a5de5800ea382cc4d107f(module, "_LazyEstimation_d72a9c13e27a5de5800ea382cc4d107f", ""); - class_d72a9c13e27a5de5800ea382cc4d107f.def(pybind11::init< >()); - class_d72a9c13e27a5de5800ea382cc4d107f.def(pybind11::init< struct ::statiskit::ContinuousUnivariateMixtureDistribution const * >()); - class_d72a9c13e27a5de5800ea382cc4d107f.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateMixtureDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_d72a9c13e27a5de5800ea382cc4d107f.def("copy", method_pointer_6bb38d66f7f85c799af8028625dc8b7a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d7f10816ae3755518cc8f9508c8f2b84.cpp b/src/py/wrapper/wrapper_d7f10816ae3755518cc8f9508c8f2b84.cpp deleted file mode 100644 index 4229766a..00000000 --- a/src/py/wrapper/wrapper_d7f10816ae3755518cc8f9508c8f2b84.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_d7f10816ae3755518cc8f9508c8f2b84(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_d7f10816ae3755518cc8f9508c8f2b84(module, "criterion_type"); - enum_d7f10816ae3755518cc8f9508c8f2b84.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_d7f10816ae3755518cc8f9508c8f2b84.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_d7f10816ae3755518cc8f9508c8f2b84.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_d7f10816ae3755518cc8f9508c8f2b84.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_d7f10816ae3755518cc8f9508c8f2b84.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp b/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp deleted file mode 100644 index 996af5fe..00000000 --- a/src/py/wrapper/wrapper_d84d3426cce55670b51d351b388a8ae8.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6297c3d2b63f55c6978039eca42dfda2; - virtual return_type_6297c3d2b63f55c6978039eca42dfda2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6297c3d2b63f55c6978039eca42dfda2, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_6458b57af188571eb3d4621eb252540b; - typedef ::statiskit::Indices const & param_6458b57af188571eb3d4621eb252540b_0_type; - virtual return_type_6458b57af188571eb3d4621eb252540b extract(param_6458b57af188571eb3d4621eb252540b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_6458b57af188571eb3d4621eb252540b, class_type, extract, param_0); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_03ae26ff6e5c56ac9c1e8dc84d177549; - typedef ::statiskit::Index const & param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type; - virtual return_type_03ae26ff6e5c56ac9c1e8dc84d177549 extract(param_03ae26ff6e5c56ac9c1e8dc84d177549_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_03ae26ff6e5c56ac9c1e8dc84d177549, class_type, extract, param_0); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_2da46638257d59e48fa1636c64d254bf; - virtual return_type_2da46638257d59e48fa1636c64d254bf get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_2da46638257d59e48fa1636c64d254bf, class_type, get_sample_space, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; - virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; - typedef ::statiskit::Index return_type_e5fc456b4a2d5131b0cd3ab814baba49; - virtual return_type_e5fc456b4a2d5131b0cd3ab814baba49 size() const override { PYBIND11_OVERLOAD(return_type_e5fc456b4a2d5131b0cd3ab814baba49, class_type, size, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_d84d3426cce55670b51d351b388a8ae8(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateData, class ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData > >::Type, struct ::statiskit::MultivariateData > class_d84d3426cce55670b51d351b388a8ae8(module, "_PolymorphicCopy_d84d3426cce55670b51d351b388a8ae8", ""); - class_d84d3426cce55670b51d351b388a8ae8.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d9f7731b9dbc5740add8fc7749d9283d.cpp b/src/py/wrapper/wrapper_d9f7731b9dbc5740add8fc7749d9283d.cpp deleted file mode 100644 index bb881f1e..00000000 --- a/src/py/wrapper/wrapper_d9f7731b9dbc5740add8fc7749d9283d.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_6a6b64f1ab6e58e68c2b39e2a8eddd9e)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; -struct ::statiskit::DiscreteMultivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_015152c98db65c5aab620258a708a5ea)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_55ec20d0857a5920bf96f101e2a5ab99)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_d9f7731b9dbc5740add8fc7749d9283d(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_d9f7731b9dbc5740add8fc7749d9283d(module, "_Selection_d9f7731b9dbc5740add8fc7749d9283d", ""); - class_d9f7731b9dbc5740add8fc7749d9283d.def(pybind11::init< >()); - class_d9f7731b9dbc5740add8fc7749d9283d.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_d9f7731b9dbc5740add8fc7749d9283d.def(pybind11::init< struct ::statiskit::DiscreteMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_d9f7731b9dbc5740add8fc7749d9283d.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_d9f7731b9dbc5740add8fc7749d9283d.def("__len__", method_pointer_6a6b64f1ab6e58e68c2b39e2a8eddd9e, ""); - class_d9f7731b9dbc5740add8fc7749d9283d.def("get_estimation", method_pointer_015152c98db65c5aab620258a708a5ea, pybind11::return_value_policy::reference_internal, ""); - class_d9f7731b9dbc5740add8fc7749d9283d.def("get_score", method_pointer_55ec20d0857a5920bf96f101e2a5ab99, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp deleted file mode 100644 index 5a40dea2..00000000 --- a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteUnivariateConditionalDistributionEstimation class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::DiscreteUnivariateConditionalDistributionEstimation; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_7d21d7a9db0b54beb12be25dbd45dc87; - virtual return_type_7d21d7a9db0b54beb12be25dbd45dc87 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7d21d7a9db0b54beb12be25dbd45dc87, class_type, copy, ); }; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::estimated_type const * return_type_c18e0a4c85e9560fa63a48b370681cca; - virtual return_type_c18e0a4c85e9560fa63a48b370681cca get_estimated() const override { PYBIND11_OVERLOAD_PURE(return_type_c18e0a4c85e9560fa63a48b370681cca, class_type, get_estimated, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_da164767fc675bd29ae86f87eff482aa(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_da164767fc675bd29ae86f87eff482aa(module, "DiscreteUnivariateConditionalDistributionEstimation", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_db3e81250c765e35b6b7ab7b9d17c8ea.cpp b/src/py/wrapper/wrapper_db3e81250c765e35b6b7ab7b9d17c8ea.cpp deleted file mode 100644 index 96884b2b..00000000 --- a/src/py/wrapper/wrapper_db3e81250c765e35b6b7ab7b9d17c8ea.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_db3e81250c765e35b6b7ab7b9d17c8ea(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_db3e81250c765e35b6b7ab7b9d17c8ea(module, "_LazyEstimation_db3e81250c765e35b6b7ab7b9d17c8ea", ""); - class_db3e81250c765e35b6b7ab7b9d17c8ea.def(pybind11::init< >()); - class_db3e81250c765e35b6b7ab7b9d17c8ea.def(pybind11::init< struct ::statiskit::MultivariateConditionalDistribution const * >()); - class_db3e81250c765e35b6b7ab7b9d17c8ea.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_db69feb5c0dc5537adb3ca6589dd9d60.cpp b/src/py/wrapper/wrapper_db69feb5c0dc5537adb3ca6589dd9d60.cpp deleted file mode 100644 index cda02cdd..00000000 --- a/src/py/wrapper/wrapper_db69feb5c0dc5537adb3ca6589dd9d60.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_be66a9c328805ea6b5368064c9eb78fa)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_dad9d5d1af4f59579ee1387af6b249eb)(enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_db69feb5c0dc5537adb3ca6589dd9d60(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::Estimator > > class_db69feb5c0dc5537adb3ca6589dd9d60(module, "CriterionEstimator", ""); - class_db69feb5c0dc5537adb3ca6589dd9d60.def(pybind11::init< >()); - class_db69feb5c0dc5537adb3ca6589dd9d60.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_db69feb5c0dc5537adb3ca6589dd9d60.def("get_criterion", method_pointer_be66a9c328805ea6b5368064c9eb78fa, pybind11::return_value_policy::copy, ""); - class_db69feb5c0dc5537adb3ca6589dd9d60.def("set_criterion", method_pointer_dad9d5d1af4f59579ee1387af6b249eb, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_db760ff53e0e5dca8e558b09ed12163c.cpp b/src/py/wrapper/wrapper_db760ff53e0e5dca8e558b09ed12163c.cpp deleted file mode 100644 index 4e848221..00000000 --- a/src/py/wrapper/wrapper_db760ff53e0e5dca8e558b09ed12163c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::NegativeBinomialDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_2ee4774fe9fd58ada670111ef6de3951)()const= &::statiskit::LazyEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_db760ff53e0e5dca8e558b09ed12163c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_db760ff53e0e5dca8e558b09ed12163c(module, "_LazyEstimation_db760ff53e0e5dca8e558b09ed12163c", ""); - class_db760ff53e0e5dca8e558b09ed12163c.def(pybind11::init< >()); - class_db760ff53e0e5dca8e558b09ed12163c.def(pybind11::init< class ::statiskit::NegativeBinomialDistribution const * >()); - class_db760ff53e0e5dca8e558b09ed12163c.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_db760ff53e0e5dca8e558b09ed12163c.def("copy", method_pointer_2ee4774fe9fd58ada670111ef6de3951, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp b/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp deleted file mode 100644 index 639d37d2..00000000 --- a/src/py/wrapper/wrapper_dcb42c58c45353839bf4d081d804b14c.cpp +++ /dev/null @@ -1,61 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::MixtureDistribution; - - typedef void return_type_b53a6340c14552d5865d67a55ffa953b; - typedef ::statiskit::Index const & param_b53a6340c14552d5865d67a55ffa953b_0_type; - typedef struct ::statiskit::CategoricalMultivariateDistribution const & param_b53a6340c14552d5865d67a55ffa953b_1_type; - virtual return_type_b53a6340c14552d5865d67a55ffa953b set_observation(param_b53a6340c14552d5865d67a55ffa953b_0_type param_0, param_b53a6340c14552d5865d67a55ffa953b_1_type param_1) override { PYBIND11_OVERLOAD(return_type_b53a6340c14552d5865d67a55ffa953b, class_type, set_observation, param_0, param_1); }; - typedef unsigned int return_type_6760887033885b7ca338b4806421ec48; - virtual return_type_6760887033885b7ca338b4806421ec48 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_6760887033885b7ca338b4806421ec48, class_type, get_nb_parameters, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; - virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_23bbb2ea83bb5e62a3af21e8a9994303)()const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::get_nb_states; -struct ::statiskit::CategoricalMultivariateDistribution const * (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_e9c2029eacbe535891524cc513f9a7d1)(::statiskit::Index const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::get_observation; -void (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_b53a6340c14552d5865d67a55ffa953b)(::statiskit::Index const &, struct ::statiskit::CategoricalMultivariateDistribution const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::set_observation; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_93cae38f6e695dedba0f0a5d1d3ffee2)()const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::get_pi; -void (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_6800c3ec1e5c5f249d955d569fcf0e5f)(class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &)= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::set_pi; -class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_751325880b50538aad1c4cd8df410258)(struct ::statiskit::MultivariateEvent const *, bool const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::posterior; -::statiskit::Index (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_62c3d770ba2e54f28be03db03701fd0e)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::assignment; -class ::std::vector< unsigned long int, class ::std::allocator< unsigned long int > > (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_330bf5a374735b7ea0f7d833524f0a5b)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::assignment; -double (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_04a46ebfe9ff5acea85c197697fb2e98)(struct ::statiskit::MultivariateEvent const *)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::uncertainty; -double (::statiskit::MixtureDistribution< ::statiskit::CategoricalMultivariateDistribution >::*method_pointer_6d50dd7acd8d5577a073436325d17eab)(struct ::statiskit::MultivariateData const &)const= &::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution >::uncertainty; - -namespace autowig { -} - -void wrapper_dcb42c58c45353839bf4d081d804b14c(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::MixtureDistribution< struct ::statiskit::CategoricalMultivariateDistribution > >::Type, struct ::statiskit::CategoricalMultivariateDistribution > class_dcb42c58c45353839bf4d081d804b14c(module, "_MixtureDistribution_dcb42c58c45353839bf4d081d804b14c", ""); - class_dcb42c58c45353839bf4d081d804b14c.def(pybind11::init< >()); - class_dcb42c58c45353839bf4d081d804b14c.def("get_nb_states", method_pointer_23bbb2ea83bb5e62a3af21e8a9994303, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("get_observation", method_pointer_e9c2029eacbe535891524cc513f9a7d1, pybind11::return_value_policy::reference_internal, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("set_observation", method_pointer_b53a6340c14552d5865d67a55ffa953b, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("get_pi", method_pointer_93cae38f6e695dedba0f0a5d1d3ffee2, pybind11::return_value_policy::copy, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("set_pi", method_pointer_6800c3ec1e5c5f249d955d569fcf0e5f, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("posterior", method_pointer_751325880b50538aad1c4cd8df410258, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("assignment", method_pointer_62c3d770ba2e54f28be03db03701fd0e, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("assignment", method_pointer_330bf5a374735b7ea0f7d833524f0a5b, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("uncertainty", method_pointer_04a46ebfe9ff5acea85c197697fb2e98, ""); - class_dcb42c58c45353839bf4d081d804b14c.def("uncertainty", method_pointer_6d50dd7acd8d5577a073436325d17eab, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp b/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp deleted file mode 100644 index a2a8d02b..00000000 --- a/src/py/wrapper/wrapper_dd64d489201652bd9b30c6b9ce866197.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_99af24b40b3d53da8f2cb45b8bcb63cf; - virtual return_type_99af24b40b3d53da8f2cb45b8bcb63cf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_99af24b40b3d53da8f2cb45b8bcb63cf, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; - virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; - typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; - virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; - virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - typedef double return_type_bf87506bdef85834a040bd514141c40f; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; - virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_dd64d489201652bd9b30c6b9ce866197(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution > >::Type, struct ::statiskit::CategoricalUnivariateDistribution > class_dd64d489201652bd9b30c6b9ce866197(module, "_PolymorphicCopy_dd64d489201652bd9b30c6b9ce866197", ""); - class_dd64d489201652bd9b30c6b9ce866197.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ddbb72c73020556288736634edca5653.cpp b/src/py/wrapper/wrapper_ddbb72c73020556288736634edca5653.cpp deleted file mode 100644 index 61642606..00000000 --- a/src/py/wrapper/wrapper_ddbb72c73020556288736634edca5653.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::MixtureSingularDistribution *, ::statiskit::MixtureSingularDistribution, ::statiskit::SingularDistributionEstimation >::*method_pointer_78ba47b3dfbd553daf0036eb012448ed)()const= &::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::size; - -namespace autowig { -} - -void wrapper_ddbb72c73020556288736634edca5653(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > > class_ddbb72c73020556288736634edca5653(module, "_OptimizationEstimationImpl_ddbb72c73020556288736634edca5653", ""); - class_ddbb72c73020556288736634edca5653.def(pybind11::init< >()); - class_ddbb72c73020556288736634edca5653.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_ddbb72c73020556288736634edca5653.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation > const & >()); - class_ddbb72c73020556288736634edca5653.def("__len__", method_pointer_78ba47b3dfbd553daf0036eb012448ed, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp b/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp deleted file mode 100644 index 56d977cb..00000000 --- a/src/py/wrapper/wrapper_ddc1dd1f57af5b6d966459fdd3ae2480.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_8f1ca79a82965d5faaad8f93d5e9b64d; - virtual return_type_8f1ca79a82965d5faaad8f93d5e9b64d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8f1ca79a82965d5faaad8f93d5e9b64d, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_9999fc2bd8f15416a9ec2e208b75bf21; - virtual return_type_9999fc2bd8f15416a9ec2e208b75bf21 children() const override { PYBIND11_OVERLOAD(return_type_9999fc2bd8f15416a9ec2e208b75bf21, class_type, children, ); }; - typedef double return_type_c519765f3eb4568bb10f0646a34c14b6; - typedef struct ::statiskit::MultivariateDistribution const * param_c519765f3eb4568bb10f0646a34c14b6_0_type; - typedef struct ::statiskit::MultivariateData const & param_c519765f3eb4568bb10f0646a34c14b6_1_type; - virtual return_type_c519765f3eb4568bb10f0646a34c14b6 scoring(param_c519765f3eb4568bb10f0646a34c14b6_0_type param_0, param_c519765f3eb4568bb10f0646a34c14b6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_c519765f3eb4568bb10f0646a34c14b6, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_02527c5c82cc503cbe70c6e8ed180111; - typedef struct ::statiskit::MultivariateData const & param_02527c5c82cc503cbe70c6e8ed180111_0_type; - typedef bool const & param_02527c5c82cc503cbe70c6e8ed180111_1_type; - virtual return_type_02527c5c82cc503cbe70c6e8ed180111 operator()(param_02527c5c82cc503cbe70c6e8ed180111_0_type param_0, param_02527c5c82cc503cbe70c6e8ed180111_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02527c5c82cc503cbe70c6e8ed180111, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_ddc1dd1f57af5b6d966459fdd3ae2480(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_ddc1dd1f57af5b6d966459fdd3ae2480(module, "_PolymorphicCopy_ddc1dd1f57af5b6d966459fdd3ae2480", ""); - class_ddc1dd1f57af5b6d966459fdd3ae2480.def(pybind11::init< >()); - class_ddc1dd1f57af5b6d966459fdd3ae2480.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp index cae4a852..60fe5de3 100644 --- a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp +++ b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp @@ -21,6 +21,10 @@ namespace autowig typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; class Publicist : public class_type @@ -37,7 +41,7 @@ namespace autowig { void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module) { - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > > class_de7ff6e8df595fdab99566ab1fb822d1(module, "Estimator", ""); + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_de7ff6e8df595fdab99566ab1fb822d1(module, "Estimator", ""); class_de7ff6e8df595fdab99566ab1fb822d1.def(pybind11::init< >()); class_de7ff6e8df595fdab99566ab1fb822d1.def("_create", static_cast< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * (::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const &, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const &) const >(&autowig::Publicist::create), pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_de92243b99cb5ef4a3c6cd0f80eb6279.cpp b/src/py/wrapper/wrapper_de92243b99cb5ef4a3c6cd0f80eb6279.cpp deleted file mode 100644 index 8864dd7f..00000000 --- a/src/py/wrapper/wrapper_de92243b99cb5ef4a3c6cd0f80eb6279.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_33f748901ada5ccebcb6d459699271f9)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_de92243b99cb5ef4a3c6cd0f80eb6279(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_de92243b99cb5ef4a3c6cd0f80eb6279(module, "_ActiveEstimation_de92243b99cb5ef4a3c6cd0f80eb6279", ""); - class_de92243b99cb5ef4a3c6cd0f80eb6279.def(pybind11::init< >()); - class_de92243b99cb5ef4a3c6cd0f80eb6279.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_de92243b99cb5ef4a3c6cd0f80eb6279.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_de92243b99cb5ef4a3c6cd0f80eb6279.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - class_de92243b99cb5ef4a3c6cd0f80eb6279.def("get_data", method_pointer_33f748901ada5ccebcb6d459699271f9, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_df69c16128ca5c609f45a63866a1af2f.cpp b/src/py/wrapper/wrapper_df69c16128ca5c609f45a63866a1af2f.cpp deleted file mode 100644 index 5b979239..00000000 --- a/src/py/wrapper/wrapper_df69c16128ca5c609f45a63866a1af2f.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const * (::statiskit::ShiftedDistributionEstimation< ::statiskit::DiscreteUnivariateDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_fd3e3bd73a4859948fe4c8cd15ebee06)()const= &::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_estimation; - -namespace autowig { -} - -void wrapper_df69c16128ca5c609f45a63866a1af2f(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_df69c16128ca5c609f45a63866a1af2f(module, "_ShiftedDistributionEstimation_df69c16128ca5c609f45a63866a1af2f", ""); - class_df69c16128ca5c609f45a63866a1af2f.def(pybind11::init< >()); - class_df69c16128ca5c609f45a63866a1af2f.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > *, class ::statiskit::UnivariateDataFrame const *, int const & >()); - class_df69c16128ca5c609f45a63866a1af2f.def(pybind11::init< class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_df69c16128ca5c609f45a63866a1af2f.def("get_estimation", method_pointer_fd3e3bd73a4859948fe4c8cd15ebee06, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp b/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp deleted file mode 100644 index b33dd7ef..00000000 --- a/src/py/wrapper/wrapper_e04333cf88f85b74a12abe551bc271c3.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Selection< ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_1863dd311c78529ba677c48bf437e4ae; - virtual return_type_1863dd311c78529ba677c48bf437e4ae children() const override { PYBIND11_OVERLOAD(return_type_1863dd311c78529ba677c48bf437e4ae, class_type, children, ); }; - typedef double return_type_aadfe73fd9155a8e9db0f0d0e48799bc; - typedef struct ::statiskit::MultivariateDistribution const * param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type; - typedef struct ::statiskit::MultivariateData const & param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type; - virtual return_type_aadfe73fd9155a8e9db0f0d0e48799bc scoring(param_aadfe73fd9155a8e9db0f0d0e48799bc_0_type param_0, param_aadfe73fd9155a8e9db0f0d0e48799bc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_aadfe73fd9155a8e9db0f0d0e48799bc, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_de7728a150a556b98a0ec15352d19c55; - typedef struct ::statiskit::MultivariateData const & param_de7728a150a556b98a0ec15352d19c55_0_type; - typedef bool const & param_de7728a150a556b98a0ec15352d19c55_1_type; - virtual return_type_de7728a150a556b98a0ec15352d19c55 operator()(param_de7728a150a556b98a0ec15352d19c55_0_type param_0, param_de7728a150a556b98a0ec15352d19c55_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de7728a150a556b98a0ec15352d19c55, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - -::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_3d106d53e52b5f76b1661aaf45332fdc)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::size; -struct ::statiskit::MultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_c5573a36cd255e53ab0672174b4c832d)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_8efc2bfaeba458bb82dbf642db09164c)(::statiskit::Index const &, struct ::statiskit::MultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_c634120ddeca53f8ba4c707c3b2db56e)(struct ::statiskit::MultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::add_estimator; -void (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_7b06d63408b65cdbbddf887e73437104)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator::remove_estimator; - -namespace autowig { -} - -void wrapper_e04333cf88f85b74a12abe551bc271c3(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistribution, struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_e04333cf88f85b74a12abe551bc271c3(module, "Estimator", ""); - class_e04333cf88f85b74a12abe551bc271c3.def("__len__", method_pointer_3d106d53e52b5f76b1661aaf45332fdc, ""); - class_e04333cf88f85b74a12abe551bc271c3.def("get_estimator", method_pointer_c5573a36cd255e53ab0672174b4c832d, pybind11::return_value_policy::reference_internal, ""); - class_e04333cf88f85b74a12abe551bc271c3.def("set_estimator", method_pointer_8efc2bfaeba458bb82dbf642db09164c, ""); - class_e04333cf88f85b74a12abe551bc271c3.def("add_estimator", method_pointer_c634120ddeca53f8ba4c707c3b2db56e, ""); - class_e04333cf88f85b74a12abe551bc271c3.def("remove_estimator", method_pointer_7b06d63408b65cdbbddf887e73437104, ""); - class_e04333cf88f85b74a12abe551bc271c3.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateDistribution, ::statiskit::MultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp b/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp deleted file mode 100644 index bac6c54b..00000000 --- a/src/py/wrapper/wrapper_e04b2c4523535837960c26d5b28953fc.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_5b9bcc4fe66253cca80b0d443d707303)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_cac31c79d98b50c99b89ebd949f2b5b2)(double const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_365e06823d7b5fe881b3aa677480ee84)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_4d6899b64ba65c2797f81ebdd7533797)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_637003e6b1d05c07a8854d0dedcd3999)()const= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::*method_pointer_449444cfaac857d681270a697240179f)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_e04b2c4523535837960c26d5b28953fc(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > class_e04b2c4523535837960c26d5b28953fc(module, "_Optimization_e04b2c4523535837960c26d5b28953fc", ""); - class_e04b2c4523535837960c26d5b28953fc.def(pybind11::init< >()); - class_e04b2c4523535837960c26d5b28953fc.def("get_mindiff", method_pointer_5b9bcc4fe66253cca80b0d443d707303, pybind11::return_value_policy::copy, ""); - class_e04b2c4523535837960c26d5b28953fc.def("set_mindiff", method_pointer_cac31c79d98b50c99b89ebd949f2b5b2, ""); - class_e04b2c4523535837960c26d5b28953fc.def("get_minits", method_pointer_365e06823d7b5fe881b3aa677480ee84, ""); - class_e04b2c4523535837960c26d5b28953fc.def("set_minits", method_pointer_4d6899b64ba65c2797f81ebdd7533797, ""); - class_e04b2c4523535837960c26d5b28953fc.def("get_maxits", method_pointer_637003e6b1d05c07a8854d0dedcd3999, ""); - class_e04b2c4523535837960c26d5b28953fc.def("set_maxits", method_pointer_449444cfaac857d681270a697240179f, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp b/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp deleted file mode 100644 index cfe5db80..00000000 --- a/src/py/wrapper/wrapper_e19df620173959fc805b30a13ab6379a.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::UnivariateConditionalDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > return_type_e0fab2db391a546591b690a17ebe80ff; - virtual return_type_e0fab2db391a546591b690a17ebe80ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0fab2db391a546591b690a17ebe80ff, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > return_type_bdacedd56eba5861a3003ac87a422cf6; - typedef ::statiskit::UnivariateConditionalDistributionEstimation::data_type const & param_bdacedd56eba5861a3003ac87a422cf6_0_type; - typedef bool const & param_bdacedd56eba5861a3003ac87a422cf6_1_type; - virtual return_type_bdacedd56eba5861a3003ac87a422cf6 operator()(param_bdacedd56eba5861a3003ac87a422cf6_0_type param_0, param_bdacedd56eba5861a3003ac87a422cf6_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bdacedd56eba5861a3003ac87a422cf6, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation > > (::statiskit::UnivariateConditionalDistributionEstimation::Estimator::*method_pointer_bdacedd56eba5861a3003ac87a422cf6)(::statiskit::UnivariateConditionalDistributionEstimation::data_type const &, bool const &)const= &::statiskit::UnivariateConditionalDistributionEstimation::Estimator::operator(); -class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > > (::statiskit::UnivariateConditionalDistributionEstimation::Estimator::*method_pointer_e0fab2db391a546591b690a17ebe80ff)()const= &::statiskit::UnivariateConditionalDistributionEstimation::Estimator::copy; - -namespace autowig { -} - -void wrapper_e19df620173959fc805b30a13ab6379a(pybind11::module& module) -{ - - pybind11::class_::Type, class ::statiskit::Estimator > class_e19df620173959fc805b30a13ab6379a(module, "Estimator", ""); - class_e19df620173959fc805b30a13ab6379a.def("__call__", method_pointer_bdacedd56eba5861a3003ac87a422cf6, ""); - class_e19df620173959fc805b30a13ab6379a.def("copy", method_pointer_e0fab2db391a546591b690a17ebe80ff, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp b/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp deleted file mode 100644 index 50759f92..00000000 --- a/src/py/wrapper/wrapper_e1c5f547b5d15a24a9c9a3bab487c15d.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_e1c5f547b5d15a24a9c9a3bab487c15d(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::UnivariateDistributionEstimation::Estimator > class_e1c5f547b5d15a24a9c9a3bab487c15d(module, "Estimator", ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e1e7647ed4235775b6d085dd28a83675.cpp b/src/py/wrapper/wrapper_e1e7647ed4235775b6d085dd28a83675.cpp deleted file mode 100644 index ec826665..00000000 --- a/src/py/wrapper/wrapper_e1e7647ed4235775b6d085dd28a83675.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::*method_pointer_d4bb3d2afbd95e87b6ad8cf1bb1e4b95)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::size; -struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::*method_pointer_f5bd52ac209654ed9dec95069699c579)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateConditionalDistribution, ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::*method_pointer_39f341fd31d750f397b0a8b22356e6de)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_e1e7647ed4235775b6d085dd28a83675(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > > class_e1e7647ed4235775b6d085dd28a83675(module, "_Selection_e1e7647ed4235775b6d085dd28a83675", ""); - class_e1e7647ed4235775b6d085dd28a83675.def(pybind11::init< >()); - class_e1e7647ed4235775b6d085dd28a83675.def(pybind11::init< class ::statiskit::MultivariateConditionalData const * >()); - class_e1e7647ed4235775b6d085dd28a83675.def(pybind11::init< struct ::statiskit::DiscreteMultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const * >()); - class_e1e7647ed4235775b6d085dd28a83675.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateConditionalDistribution, struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation > const & >()); - class_e1e7647ed4235775b6d085dd28a83675.def("__len__", method_pointer_d4bb3d2afbd95e87b6ad8cf1bb1e4b95, ""); - class_e1e7647ed4235775b6d085dd28a83675.def("get_estimation", method_pointer_f5bd52ac209654ed9dec95069699c579, pybind11::return_value_policy::reference_internal, ""); - class_e1e7647ed4235775b6d085dd28a83675.def("get_score", method_pointer_39f341fd31d750f397b0a8b22356e6de, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e28923ae1ac356e5845929232f8e09ac.cpp b/src/py/wrapper/wrapper_e28923ae1ac356e5845929232f8e09ac.cpp deleted file mode 100644 index caefc14c..00000000 --- a/src/py/wrapper/wrapper_e28923ae1ac356e5845929232f8e09ac.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_9ff75fcdfc4657a28e332df582b221a5)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::size; -struct ::statiskit::ContinuousMultivariateDistributionEstimation const * (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_96d3508693ab575ea7f7b9075c2f4386)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistribution, ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_df2000c2a926517eab937cc3caf989f8)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_e28923ae1ac356e5845929232f8e09ac(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_e28923ae1ac356e5845929232f8e09ac(module, "_Selection_e28923ae1ac356e5845929232f8e09ac", ""); - class_e28923ae1ac356e5845929232f8e09ac.def(pybind11::init< >()); - class_e28923ae1ac356e5845929232f8e09ac.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_e28923ae1ac356e5845929232f8e09ac.def(pybind11::init< struct ::statiskit::ContinuousMultivariateDistribution const *, struct ::statiskit::MultivariateData const * >()); - class_e28923ae1ac356e5845929232f8e09ac.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - class_e28923ae1ac356e5845929232f8e09ac.def("__len__", method_pointer_9ff75fcdfc4657a28e332df582b221a5, ""); - class_e28923ae1ac356e5845929232f8e09ac.def("get_estimation", method_pointer_96d3508693ab575ea7f7b9075c2f4386, pybind11::return_value_policy::reference_internal, ""); - class_e28923ae1ac356e5845929232f8e09ac.def("get_score", method_pointer_df2000c2a926517eab937cc3caf989f8, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp b/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp deleted file mode 100644 index e2bc02f2..00000000 --- a/src/py/wrapper/wrapper_e2aa406ade4850eda910a734d419832b.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_e2aa406ade4850eda910a734d419832b(pybind11::module& module) -{ - - pybind11::class_ *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::DiscreteMultivariateDistribution >, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_e2aa406ade4850eda910a734d419832b(module, "Estimator", ""); - class_e2aa406ade4850eda910a734d419832b.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp b/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp deleted file mode 100644 index 94f5feee..00000000 --- a/src/py/wrapper/wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_34554cc3c7cd588495a9eee3f1557c07; - virtual return_type_34554cc3c7cd588495a9eee3f1557c07 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_34554cc3c7cd588495a9eee3f1557c07, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_e49aea4bd5fa5370abfd0a3ba47ff03e(pybind11::module& module) -{ - - pybind11::class_::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistributionEstimation::Estimator, class ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_e49aea4bd5fa5370abfd0a3ba47ff03e(module, "_PolymorphicCopy_e49aea4bd5fa5370abfd0a3ba47ff03e", ""); - class_e49aea4bd5fa5370abfd0a3ba47ff03e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e793dec94d375e40b28adb85f4d45664.cpp b/src/py/wrapper/wrapper_e793dec94d375e40b28adb85f4d45664.cpp deleted file mode 100644 index c2399095..00000000 --- a/src/py/wrapper/wrapper_e793dec94d375e40b28adb85f4d45664.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateData const * (::statiskit::ActiveEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::MultivariateDistribution >, ::statiskit::MultivariateDistributionEstimation >::*method_pointer_f9ad21aada5d5f7292d2d492d44ad398)()const= &::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_e793dec94d375e40b28adb85f4d45664(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > > class_e793dec94d375e40b28adb85f4d45664(module, "_ActiveEstimation_e793dec94d375e40b28adb85f4d45664", ""); - class_e793dec94d375e40b28adb85f4d45664.def(pybind11::init< >()); - class_e793dec94d375e40b28adb85f4d45664.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); - class_e793dec94d375e40b28adb85f4d45664.def(pybind11::init< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution > const *, struct ::statiskit::MultivariateData const * >()); - class_e793dec94d375e40b28adb85f4d45664.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::MultivariateDistribution >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); - class_e793dec94d375e40b28adb85f4d45664.def("get_data", method_pointer_f9ad21aada5d5f7292d2d492d44ad398, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76.cpp b/src/py/wrapper/wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76.cpp deleted file mode 100644 index a6f8b4d4..00000000 --- a/src/py/wrapper/wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_0704b07ace4850ad8b0a02121dea38c5)()const= &::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_e8c4cdf7ac4e5ead83bcc0877ffddd76(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation > class_e8c4cdf7ac4e5ead83bcc0877ffddd76(module, "_LazyEstimation_e8c4cdf7ac4e5ead83bcc0877ffddd76", ""); - class_e8c4cdf7ac4e5ead83bcc0877ffddd76.def(pybind11::init< >()); - class_e8c4cdf7ac4e5ead83bcc0877ffddd76.def(pybind11::init< struct ::statiskit::CategoricalUnivariateMixtureDistribution const * >()); - class_e8c4cdf7ac4e5ead83bcc0877ffddd76.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); - class_e8c4cdf7ac4e5ead83bcc0877ffddd76.def("copy", method_pointer_0704b07ace4850ad8b0a02121dea38c5, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ea23650412285dd89c33e1ed29a91cb7.cpp b/src/py/wrapper/wrapper_ea23650412285dd89c33e1ed29a91cb7.cpp deleted file mode 100644 index bbb4676f..00000000 --- a/src/py/wrapper/wrapper_ea23650412285dd89c33e1ed29a91cb7.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_ea23650412285dd89c33e1ed29a91cb7(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > class_ea23650412285dd89c33e1ed29a91cb7(module, "_LazyEstimation_ea23650412285dd89c33e1ed29a91cb7", ""); - class_ea23650412285dd89c33e1ed29a91cb7.def(pybind11::init< >()); - class_ea23650412285dd89c33e1ed29a91cb7.def(pybind11::init< struct ::statiskit::ContinuousUnivariateConditionalDistribution const * >()); - class_ea23650412285dd89c33e1ed29a91cb7.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp b/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp deleted file mode 100644 index c8dc6032..00000000 --- a/src/py/wrapper/wrapper_eae24fefebd9570687e8a345f6e50c1b.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7e17c519dc5859c698700d1e3a4bc0f1; - virtual return_type_7e17c519dc5859c698700d1e3a4bc0f1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7e17c519dc5859c698700d1e3a4bc0f1, class_type, copy, ); }; - typedef double return_type_17d4a13bc764561299d331907516003f; - virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; - virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - typedef double return_type_32217c345e3d5454a2e46058d702ce84; - typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; - virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - typedef double return_type_3e9327a27cc259a1a813cf253bd84642; - typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; - virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; - typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; - virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; - typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; - virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; - virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_eae24fefebd9570687e8a345f6e50c1b(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution > >::Type, struct ::statiskit::ContinuousUnivariateDistribution > class_eae24fefebd9570687e8a345f6e50c1b(module, "_PolymorphicCopy_eae24fefebd9570687e8a345f6e50c1b", ""); - class_eae24fefebd9570687e8a345f6e50c1b.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_eb3cd0df0cd558acb42631cfa3f9a172.cpp b/src/py/wrapper/wrapper_eb3cd0df0cd558acb42631cfa3f9a172.cpp deleted file mode 100644 index 55d93497..00000000 --- a/src/py/wrapper/wrapper_eb3cd0df0cd558acb42631cfa3f9a172.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_8e90587550ba59fd9b55fac637085ce9)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_9b672d4df6905210a93e76476da93061)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_588eec9bbde25b03a86b36bce9f06aec)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_8b481e7fd71351a7a17a03d2bfbf53dc)(struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_ce92b40f53c151df85206128e4ccf99b)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_08205fa989e857638a6088d3c7c36f3f)(::statiskit::Index const &, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::DiscreteUnivariateMixtureDistribution const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_1ada7f6a10495cd48cdf989b099c7ba1)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_9da82349b5da573fb99ab92feaa1c4eb)(struct ::statiskit::DiscreteUnivariateMixtureDistribution const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_d762829d60c15b8a8ad32fe454342c4e)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_5f023c643a4557f9949f3684dcb40d72)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_eb3cd0df0cd558acb42631cfa3f9a172(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_eb3cd0df0cd558acb42631cfa3f9a172(module, "Estimator", ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def(pybind11::init< >()); - class_eb3cd0df0cd558acb42631cfa3f9a172.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator const & >()); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("get_pi", method_pointer_8e90587550ba59fd9b55fac637085ce9, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("set_pi", method_pointer_9b672d4df6905210a93e76476da93061, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("get_default_estimator", method_pointer_588eec9bbde25b03a86b36bce9f06aec, pybind11::return_value_policy::reference_internal, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("set_default_estimator", method_pointer_8b481e7fd71351a7a17a03d2bfbf53dc, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("get_estimator", method_pointer_ce92b40f53c151df85206128e4ccf99b, pybind11::return_value_policy::reference_internal, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("set_estimator", method_pointer_08205fa989e857638a6088d3c7c36f3f, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("get_initializator", method_pointer_1ada7f6a10495cd48cdf989b099c7ba1, pybind11::return_value_policy::reference_internal, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("set_initializator", method_pointer_9da82349b5da573fb99ab92feaa1c4eb, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("get_limit", method_pointer_d762829d60c15b8a8ad32fe454342c4e, ""); - class_eb3cd0df0cd558acb42631cfa3f9a172.def("set_limit", method_pointer_5f023c643a4557f9949f3684dcb40d72, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp b/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp deleted file mode 100644 index 5fbd6cd6..00000000 --- a/src/py/wrapper/wrapper_eb4ed1ac11775528a15a11246865cec3.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_9b565121c8e55dc993b285b56b1874cc; - virtual return_type_9b565121c8e55dc993b285b56b1874cc copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b565121c8e55dc993b285b56b1874cc, class_type, copy, ); }; - typedef double return_type_004876688c73571590d218338cd011b5; - typedef double const & param_004876688c73571590d218338cd011b5_0_type; - virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_eb4ed1ac11775528a15a11246865cec3(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::Schedule, class ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule > >::Type, struct ::statiskit::Schedule > class_eb4ed1ac11775528a15a11246865cec3(module, "_PolymorphicCopy_eb4ed1ac11775528a15a11246865cec3", ""); - class_eb4ed1ac11775528a15a11246865cec3.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ebc71d261393504a8a716623a3119a76.cpp b/src/py/wrapper/wrapper_ebc71d261393504a8a716623a3119a76.cpp deleted file mode 100644 index d90944d5..00000000 --- a/src/py/wrapper/wrapper_ebc71d261393504a8a716623a3119a76.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_ebc71d261393504a8a716623a3119a76(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, struct ::statiskit::MixtureSingularDistribution, class ::statiskit::MixtureDistribution< struct ::statiskit::SingularDistribution > > > class_ebc71d261393504a8a716623a3119a76(module, "MixtureSingularDistribution", ""); - class_ebc71d261393504a8a716623a3119a76.def(pybind11::init< class ::std::vector< struct ::statiskit::SingularDistribution *, class ::std::allocator< struct ::statiskit::SingularDistribution * > > const, class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & >()); - class_ebc71d261393504a8a716623a3119a76.def(pybind11::init< struct ::statiskit::MixtureSingularDistribution const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ed81e719ae18598db776779b62b54889.cpp b/src/py/wrapper/wrapper_ed81e719ae18598db776779b62b54889.cpp deleted file mode 100644 index fc68fe65..00000000 --- a/src/py/wrapper/wrapper_ed81e719ae18598db776779b62b54889.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::CriterionEstimator::*method_pointer_64a07b1218e65bf889a88e3dea8391d9)()const= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::SingularDistribution, ::statiskit::SingularDistributionEstimation >::CriterionEstimator::*method_pointer_e55378b404f25c74b20799ab98e0b99d)(enum ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_ed81e719ae18598db776779b62b54889(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator > > class_ed81e719ae18598db776779b62b54889(module, "CriterionEstimator", ""); - class_ed81e719ae18598db776779b62b54889.def(pybind11::init< >()); - class_ed81e719ae18598db776779b62b54889.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::SingularDistribution, struct ::statiskit::SingularDistributionEstimation >::CriterionEstimator const & >()); - class_ed81e719ae18598db776779b62b54889.def("get_criterion", method_pointer_64a07b1218e65bf889a88e3dea8391d9, pybind11::return_value_policy::copy, ""); - class_ed81e719ae18598db776779b62b54889.def("set_criterion", method_pointer_e55378b404f25c74b20799ab98e0b99d, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_eddfddadfccc5e56b9e809e952641f6b.cpp b/src/py/wrapper/wrapper_eddfddadfccc5e56b9e809e952641f6b.cpp deleted file mode 100644 index 0dad6456..00000000 --- a/src/py/wrapper/wrapper_eddfddadfccc5e56b9e809e952641f6b.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_44fc68f5bbf8569f90746af49cb3675e)()const= &::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_eddfddadfccc5e56b9e809e952641f6b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_eddfddadfccc5e56b9e809e952641f6b(module, "_ActiveEstimation_eddfddadfccc5e56b9e809e952641f6b", ""); - class_eddfddadfccc5e56b9e809e952641f6b.def(pybind11::init< >()); - class_eddfddadfccc5e56b9e809e952641f6b.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_eddfddadfccc5e56b9e809e952641f6b.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_eddfddadfccc5e56b9e809e952641f6b.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_eddfddadfccc5e56b9e809e952641f6b.def("get_data", method_pointer_44fc68f5bbf8569f90746af49cb3675e, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_edfb27681f195343b523e5b949187dba.cpp b/src/py/wrapper/wrapper_edfb27681f195343b523e5b949187dba.cpp deleted file mode 100644 index 75d4e495..00000000 --- a/src/py/wrapper/wrapper_edfb27681f195343b523e5b949187dba.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateDistributionEstimation & (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation > >::*method_pointer_a8ed34dc8ace5242973b3ad0aa61c017)()const= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::operator*; -::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation > >::*method_pointer_f03d8028d76c50b49ef54d8da1e444e6)()const= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::get; -::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::pointer (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation > >::*method_pointer_209060b43485518a8a4fdfa7e5f95c56)()= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::release; -void (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation > >::*method_pointer_99718d4c412f5e6298c5e2ffe7a74c40)(::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::pointer )= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::reset; -void (::std::unique_ptr< ::statiskit::UnivariateDistributionEstimation, ::std::default_delete< ::statiskit::UnivariateDistributionEstimation > >::*method_pointer_5ec25eaeb0f659eda21574d1af963340)(class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > &)= &::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > >::swap; - -namespace autowig { - void method_decorator_a8ed34dc8ace5242973b3ad0aa61c017(class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > const & instance, const struct ::statiskit::UnivariateDistributionEstimation & param_out) { instance.operator*() = param_out; } -} - -void wrapper_edfb27681f195343b523e5b949187dba(pybind11::module& module) -{ - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ee054e76c90f582f9e07cdff4cd63eda.cpp b/src/py/wrapper/wrapper_ee054e76c90f582f9e07cdff4cd63eda.cpp deleted file mode 100644 index a4b6e4c0..00000000 --- a/src/py/wrapper/wrapper_ee054e76c90f582f9e07cdff4cd63eda.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_16a927cb4a6657e2bf1eb0fb06313040)(::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type , ::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::assign; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_65948b788f485d72bf9c4e1af5672101)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_dbe07b728eb55b71a0e8e32ce2eca50c)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::max_size; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_48c8906e5f0b50b4a374a152c2a3115a)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::capacity; -bool (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_615427bdd2035d878b060d294508ab6b)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::empty; -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_c7d80e04df925f3ea83883c382d0a837)(::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type )= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::reserve; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_0105132f7817576385d4f88cabb5407e)(::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::size_type )const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::at; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_0ad8e422019f5f6dabf19063ae8df9dd)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::front; -::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::const_reference (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_2c3a9f542f585e8abd5cdcb25ed93cb9)()const= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::back; -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_8489ea8ee68c5991915557916d7002d3)(::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::value_type const &)= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::push_back; -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_52dcc9305e3258a48c34bc8bbf3808f8)()= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::pop_back; -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_357f2fe1af7751a2b4c9d4d2c6cd40c1)(class ::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > > &)= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::swap; -void (::std::vector< ::statiskit::CategoricalMultivariateDistribution *, ::std::allocator< ::statiskit::CategoricalMultivariateDistribution * > >::*method_pointer_55b0ab8bd57850e3b5b525906a7c12c4)()= &::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > >::clear; - -namespace autowig { -} - -void wrapper_ee054e76c90f582f9e07cdff4cd63eda(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< class ::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > > >::Type > class_ee054e76c90f582f9e07cdff4cd63eda(module, "_Vector_ee054e76c90f582f9e07cdff4cd63eda", ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def(pybind11::init< >()); - class_ee054e76c90f582f9e07cdff4cd63eda.def(pybind11::init< class ::std::vector< struct ::statiskit::CategoricalMultivariateDistribution *, class ::std::allocator< struct ::statiskit::CategoricalMultivariateDistribution * > > const & >()); - class_ee054e76c90f582f9e07cdff4cd63eda.def("assign", method_pointer_16a927cb4a6657e2bf1eb0fb06313040, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("__len__", method_pointer_65948b788f485d72bf9c4e1af5672101, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("max_size", method_pointer_dbe07b728eb55b71a0e8e32ce2eca50c, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("capacity", method_pointer_48c8906e5f0b50b4a374a152c2a3115a, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("empty", method_pointer_615427bdd2035d878b060d294508ab6b, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("reserve", method_pointer_c7d80e04df925f3ea83883c382d0a837, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("at", method_pointer_0105132f7817576385d4f88cabb5407e, pybind11::return_value_policy::reference_internal, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("front", method_pointer_0ad8e422019f5f6dabf19063ae8df9dd, pybind11::return_value_policy::reference_internal, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("back", method_pointer_2c3a9f542f585e8abd5cdcb25ed93cb9, pybind11::return_value_policy::reference_internal, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("push_back", method_pointer_8489ea8ee68c5991915557916d7002d3, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("pop_back", method_pointer_52dcc9305e3258a48c34bc8bbf3808f8, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("swap", method_pointer_357f2fe1af7751a2b4c9d4d2c6cd40c1, ""); - class_ee054e76c90f582f9e07cdff4cd63eda.def("clear", method_pointer_55b0ab8bd57850e3b5b525906a7c12c4, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ee3148dbf8425c8f8a5c5a280fb4586c.cpp b/src/py/wrapper/wrapper_ee3148dbf8425c8f8a5c5a280fb4586c.cpp deleted file mode 100644 index 73f8e4fa..00000000 --- a/src/py/wrapper/wrapper_ee3148dbf8425c8f8a5c5a280fb4586c.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -struct ::statiskit::DiscreteUnivariateMixtureDistribution const * (::statiskit::OptimizationEstimation< ::statiskit::DiscreteUnivariateMixtureDistribution *, ::statiskit::DiscreteUnivariateMixtureDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_f0f5078b51cb54cca1fd0eeb7d7c893d)(::statiskit::Index const &)const= &::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_iteration; - -namespace autowig { -} - -void wrapper_ee3148dbf8425c8f8a5c5a280fb4586c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_ee3148dbf8425c8f8a5c5a280fb4586c(module, "_OptimizationEstimation_ee3148dbf8425c8f8a5c5a280fb4586c", ""); - class_ee3148dbf8425c8f8a5c5a280fb4586c.def(pybind11::init< >()); - class_ee3148dbf8425c8f8a5c5a280fb4586c.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_ee3148dbf8425c8f8a5c5a280fb4586c.def(pybind11::init< struct ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_ee3148dbf8425c8f8a5c5a280fb4586c.def("get_iteration", method_pointer_f0f5078b51cb54cca1fd0eeb7d7c893d, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ef99412d87545a1391d9c6cbb66e08e8.cpp b/src/py/wrapper/wrapper_ef99412d87545a1391d9c6cbb66e08e8.cpp deleted file mode 100644 index d8ed61b8..00000000 --- a/src/py/wrapper/wrapper_ef99412d87545a1391d9c6cbb66e08e8.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > (::statiskit::LazyEstimation< ::statiskit::NormalDistribution, ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_8b5a724b1663514d8aa35a27852f0b63)()const= &::statiskit::LazyEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::copy; - -namespace autowig { -} - -void wrapper_ef99412d87545a1391d9c6cbb66e08e8(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_ef99412d87545a1391d9c6cbb66e08e8(module, "_LazyEstimation_ef99412d87545a1391d9c6cbb66e08e8", ""); - class_ef99412d87545a1391d9c6cbb66e08e8.def(pybind11::init< >()); - class_ef99412d87545a1391d9c6cbb66e08e8.def(pybind11::init< class ::statiskit::NormalDistribution const * >()); - class_ef99412d87545a1391d9c6cbb66e08e8.def(pybind11::init< class ::statiskit::LazyEstimation< class ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_ef99412d87545a1391d9c6cbb66e08e8.def("copy", method_pointer_8b5a724b1663514d8aa35a27852f0b63, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f29b9e4bae2254ec8b6d9cf0133bf530.cpp b/src/py/wrapper/wrapper_f29b9e4bae2254ec8b6d9cf0133bf530.cpp deleted file mode 100644 index 920d5188..00000000 --- a/src/py/wrapper/wrapper_f29b9e4bae2254ec8b6d9cf0133bf530.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::*method_pointer_64d5959ec9305a2baaca8982871e9ef1)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::size; -struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation const * (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::*method_pointer_e320030bb8c35ae2a22268ed378e2cab)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::get_estimation; -double const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::*method_pointer_7486e3344330587fbba215be328317cd)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::get_score; - -namespace autowig { -} - -void wrapper_f29b9e4bae2254ec8b6d9cf0133bf530(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > >::Type, class ::statiskit::ActiveEstimation< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > > class_f29b9e4bae2254ec8b6d9cf0133bf530(module, "_Selection_f29b9e4bae2254ec8b6d9cf0133bf530", ""); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def(pybind11::init< >()); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def(pybind11::init< class ::statiskit::UnivariateConditionalData const * >()); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def(pybind11::init< struct ::statiskit::DiscreteUnivariateConditionalDistribution const *, class ::statiskit::UnivariateConditionalData const * >()); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateConditionalDistribution, struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation > const & >()); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def("__len__", method_pointer_64d5959ec9305a2baaca8982871e9ef1, ""); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def("get_estimation", method_pointer_e320030bb8c35ae2a22268ed378e2cab, pybind11::return_value_policy::reference_internal, ""); - class_f29b9e4bae2254ec8b6d9cf0133bf530.def("get_score", method_pointer_7486e3344330587fbba215be328317cd, pybind11::return_value_policy::copy, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d.cpp b/src/py/wrapper/wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d.cpp deleted file mode 100644 index 7d5d53ec..00000000 --- a/src/py/wrapper/wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_f2ecaf3b0a6b579abb5e76d3de955c1d(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > > class_f2ecaf3b0a6b579abb5e76d3de955c1d(module, "Estimator", ""); - class_f2ecaf3b0a6b579abb5e76d3de955c1d.def(pybind11::init< >()); - class_f2ecaf3b0a6b579abb5e76d3de955c1d.def(pybind11::init< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::CategoricalUnivariateMixtureDistribution *, struct ::statiskit::CategoricalUnivariateMixtureDistribution, struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f3dab438657054798b20b872db63311a.cpp b/src/py/wrapper/wrapper_f3dab438657054798b20b872db63311a.cpp deleted file mode 100644 index 632453a8..00000000 --- a/src/py/wrapper/wrapper_f3dab438657054798b20b872db63311a.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_fcc221ad0b225b9ba6b5140d83d85b40)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_pi; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_261e1ab6113a55c3bdf324189362713d)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_pi; -struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_467ad7b3ba435c158c6472cc09bcc13d)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_default_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_bd4665a580ed55b5b481c5daf10a5f55)(struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_default_estimator; -struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_8b6f9074d908561fa6954acd7216528d)(::statiskit::Index const &)const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_estimator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_91fe1f5e1a415df9b04dd56d938429ea)(::statiskit::Index const &, struct ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const *)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_estimator; -struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const * (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_52f44246c523501590bb1099d660e731)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_initializator; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_7daf3e46b86a5b14a6bbc6e4b42bb979)(struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_initializator; -bool (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_cb661dcffa6e5daf85e53f11ab9175a1)()const= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_limit; -void (::statiskit::MixtureDistributionEMEstimation< ::statiskit::MultivariateMixtureDistribution< ::statiskit::ContinuousMultivariateDistribution >, ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_3f39d5da208659e49e6675a474a6437c)(bool const &)= &::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_limit; - -namespace autowig { -} - -void wrapper_f3dab438657054798b20b872db63311a(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator, autowig::HolderType< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution > *, struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_f3dab438657054798b20b872db63311a(module, "Estimator", ""); - class_f3dab438657054798b20b872db63311a.def(pybind11::init< >()); - class_f3dab438657054798b20b872db63311a.def(pybind11::init< class ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator const & >()); - class_f3dab438657054798b20b872db63311a.def("get_pi", method_pointer_fcc221ad0b225b9ba6b5140d83d85b40, ""); - class_f3dab438657054798b20b872db63311a.def("set_pi", method_pointer_261e1ab6113a55c3bdf324189362713d, ""); - class_f3dab438657054798b20b872db63311a.def("get_default_estimator", method_pointer_467ad7b3ba435c158c6472cc09bcc13d, pybind11::return_value_policy::reference_internal, ""); - class_f3dab438657054798b20b872db63311a.def("set_default_estimator", method_pointer_bd4665a580ed55b5b481c5daf10a5f55, ""); - class_f3dab438657054798b20b872db63311a.def("get_estimator", method_pointer_8b6f9074d908561fa6954acd7216528d, pybind11::return_value_policy::reference_internal, ""); - class_f3dab438657054798b20b872db63311a.def("set_estimator", method_pointer_91fe1f5e1a415df9b04dd56d938429ea, ""); - class_f3dab438657054798b20b872db63311a.def("get_initializator", method_pointer_52f44246c523501590bb1099d660e731, pybind11::return_value_policy::reference_internal, ""); - class_f3dab438657054798b20b872db63311a.def("set_initializator", method_pointer_7daf3e46b86a5b14a6bbc6e4b42bb979, ""); - class_f3dab438657054798b20b872db63311a.def("get_limit", method_pointer_cb661dcffa6e5daf85e53f11ab9175a1, ""); - class_f3dab438657054798b20b872db63311a.def("set_limit", method_pointer_3f39d5da208659e49e6675a474a6437c, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f490fbe6298d5af89adf9098e57be3d4.cpp b/src/py/wrapper/wrapper_f490fbe6298d5af89adf9098e57be3d4.cpp deleted file mode 100644 index 4183fb70..00000000 --- a/src/py/wrapper/wrapper_f490fbe6298d5af89adf9098e57be3d4.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::PoissonDistribution, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_bc4837462b8350e8a5aeb210cd6e7fc4)()const= &::statiskit::ActiveEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_f490fbe6298d5af89adf9098e57be3d4(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::ActiveEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_f490fbe6298d5af89adf9098e57be3d4(module, "_ActiveEstimation_f490fbe6298d5af89adf9098e57be3d4", ""); - class_f490fbe6298d5af89adf9098e57be3d4.def(pybind11::init< >()); - class_f490fbe6298d5af89adf9098e57be3d4.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_f490fbe6298d5af89adf9098e57be3d4.def(pybind11::init< class ::statiskit::PoissonDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_f490fbe6298d5af89adf9098e57be3d4.def(pybind11::init< class ::statiskit::ActiveEstimation< class ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_f490fbe6298d5af89adf9098e57be3d4.def("get_data", method_pointer_bc4837462b8350e8a5aeb210cd6e7fc4, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f4afe77755d35d35b62ff4de5295156d.cpp b/src/py/wrapper/wrapper_f4afe77755d35d35b62ff4de5295156d.cpp deleted file mode 100644 index 5dec0fe1..00000000 --- a/src/py/wrapper/wrapper_f4afe77755d35d35b62ff4de5295156d.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_f4afe77755d35d35b62ff4de5295156d(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type > enum_f4afe77755d35d35b62ff4de5295156d(module, "criterion_type"); - enum_f4afe77755d35d35b62ff4de5295156d.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::AIC); - enum_f4afe77755d35d35b62ff4de5295156d.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::AICc); - enum_f4afe77755d35d35b62ff4de5295156d.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::BIC); - enum_f4afe77755d35d35b62ff4de5295156d.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateConditionalDistribution, struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation >::CriterionEstimator::HQIC); - enum_f4afe77755d35d35b62ff4de5295156d.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac.cpp b/src/py/wrapper/wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac.cpp deleted file mode 100644 index 7ac16837..00000000 --- a/src/py/wrapper/wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -enum ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_4a41721640ab5460a2028aa3f7cf728a)()const= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::get_criterion; -void (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::*method_pointer_cfc705019a735eb3bc4c78d246acc7d2)(enum ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator::set_criterion; - -namespace autowig { -} - -void wrapper_f4db63bd9e7254c18d0dca2fbb1da1ac(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator > > class_f4db63bd9e7254c18d0dca2fbb1da1ac(module, "CriterionEstimator", ""); - class_f4db63bd9e7254c18d0dca2fbb1da1ac.def(pybind11::init< >()); - class_f4db63bd9e7254c18d0dca2fbb1da1ac.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator const & >()); - class_f4db63bd9e7254c18d0dca2fbb1da1ac.def("get_criterion", method_pointer_4a41721640ab5460a2028aa3f7cf728a, pybind11::return_value_policy::copy, ""); - class_f4db63bd9e7254c18d0dca2fbb1da1ac.def("set_criterion", method_pointer_cfc705019a735eb3bc4c78d246acc7d2, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp b/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp deleted file mode 100644 index 6ad0b243..00000000 --- a/src/py/wrapper/wrapper_f550a61e11625416b81603dbfad86987.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation::Estimator > > return_type_20397b66478a59f481c4e33cec98b652; - virtual return_type_20397b66478a59f481c4e33cec98b652 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_20397b66478a59f481c4e33cec98b652, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateDistributionEstimation > > return_type_0cfbeb46728f5e3393b2f59c4a91a99d; - typedef ::statiskit::MultivariateDistributionEstimation::data_type const & param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type; - typedef bool const & param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type; - virtual return_type_0cfbeb46728f5e3393b2f59c4a91a99d operator()(param_0cfbeb46728f5e3393b2f59c4a91a99d_0_type param_0, param_0cfbeb46728f5e3393b2f59c4a91a99d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0cfbeb46728f5e3393b2f59c4a91a99d, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_f550a61e11625416b81603dbfad86987(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< double, class ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_f550a61e11625416b81603dbfad86987(module, "Estimator", ""); - class_f550a61e11625416b81603dbfad86987.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f6675a262e6b55f6819ef4c5599c308b.cpp b/src/py/wrapper/wrapper_f6675a262e6b55f6819ef4c5599c308b.cpp deleted file mode 100644 index fda0b782..00000000 --- a/src/py/wrapper/wrapper_f6675a262e6b55f6819ef4c5599c308b.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_f6675a262e6b55f6819ef4c5599c308b(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::OptimizationEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution *, struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_f6675a262e6b55f6819ef4c5599c308b(module, "_MixtureDistributionEMEstimation_f6675a262e6b55f6819ef4c5599c308b", ""); - class_f6675a262e6b55f6819ef4c5599c308b.def(pybind11::init< >()); - class_f6675a262e6b55f6819ef4c5599c308b.def(pybind11::init< struct ::statiskit::DiscreteUnivariateMixtureDistribution const *, struct ::statiskit::UnivariateData const * >()); - class_f6675a262e6b55f6819ef4c5599c308b.def(pybind11::init< struct ::statiskit::MixtureDistributionEMEstimation< struct ::statiskit::DiscreteUnivariateMixtureDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp b/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp deleted file mode 100644 index d50e9431..00000000 --- a/src/py/wrapper/wrapper_f76f62b9f79a5f43900330c071ce00fb.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > > return_type_6b9c5246bc7c5b2390495090a05fd9b1; - virtual return_type_6b9c5246bc7c5b2390495090a05fd9b1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6b9c5246bc7c5b2390495090a05fd9b1, class_type, copy, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_c93b6deaf5ac5c9c8019576650d00ef6; - virtual return_type_c93b6deaf5ac5c9c8019576650d00ef6 children() const override { PYBIND11_OVERLOAD(return_type_c93b6deaf5ac5c9c8019576650d00ef6, class_type, children, ); }; - typedef double return_type_9a2b587d8c785568a61d786f1bf14a8d; - typedef struct ::statiskit::MultivariateConditionalDistribution const * param_9a2b587d8c785568a61d786f1bf14a8d_0_type; - typedef class ::statiskit::MultivariateConditionalData const & param_9a2b587d8c785568a61d786f1bf14a8d_1_type; - virtual return_type_9a2b587d8c785568a61d786f1bf14a8d scoring(param_9a2b587d8c785568a61d786f1bf14a8d_0_type param_0, param_9a2b587d8c785568a61d786f1bf14a8d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_9a2b587d8c785568a61d786f1bf14a8d, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistributionEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistributionEstimation > > return_type_7f7d8d4a95a053b7a1804b1f6d9aa937; - typedef class ::statiskit::MultivariateConditionalData const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type; - typedef bool const & param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type; - virtual return_type_7f7d8d4a95a053b7a1804b1f6d9aa937 operator()(param_7f7d8d4a95a053b7a1804b1f6d9aa937_0_type param_0, param_7f7d8d4a95a053b7a1804b1f6d9aa937_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7f7d8d4a95a053b7a1804b1f6d9aa937, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::children; - using class_type::scoring; - using class_type::identifier; - }; -} - - -namespace autowig { -} - -void wrapper_f76f62b9f79a5f43900330c071ce00fb(pybind11::module& module) -{ - - pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateConditionalDistributionEstimation::Estimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::MultivariateConditionalDistribution, struct ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator > class_f76f62b9f79a5f43900330c071ce00fb(module, "_PolymorphicCopy_f76f62b9f79a5f43900330c071ce00fb", ""); - class_f76f62b9f79a5f43900330c071ce00fb.def(pybind11::init< >()); - class_f76f62b9f79a5f43900330c071ce00fb.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateConditionalDistribution, ::statiskit::MultivariateConditionalDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateConditionalDistribution const *, class ::statiskit::MultivariateConditionalData const &) const >(&autowig::Publicist::scoring), ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f7ee2d0fd855596a8c0abbb2be320618.cpp b/src/py/wrapper/wrapper_f7ee2d0fd855596a8c0abbb2be320618.cpp deleted file mode 100644 index 964aabed..00000000 --- a/src/py/wrapper/wrapper_f7ee2d0fd855596a8c0abbb2be320618.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -struct ::statiskit::UnivariateData const * (::statiskit::ActiveEstimation< ::statiskit::QuantitativeUnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_46cacaa6692e55539ea011cf24607456)()const= &::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_data; - -namespace autowig { -} - -void wrapper_f7ee2d0fd855596a8c0abbb2be320618(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, class ::statiskit::LazyEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_f7ee2d0fd855596a8c0abbb2be320618(module, "_ActiveEstimation_f7ee2d0fd855596a8c0abbb2be320618", ""); - class_f7ee2d0fd855596a8c0abbb2be320618.def(pybind11::init< >()); - class_f7ee2d0fd855596a8c0abbb2be320618.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_f7ee2d0fd855596a8c0abbb2be320618.def(pybind11::init< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > const *, struct ::statiskit::UnivariateData const * >()); - class_f7ee2d0fd855596a8c0abbb2be320618.def(pybind11::init< class ::statiskit::ActiveEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_f7ee2d0fd855596a8c0abbb2be320618.def("get_data", method_pointer_46cacaa6692e55539ea011cf24607456, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f7ee5d4607de508bb39519488f31e96c.cpp b/src/py/wrapper/wrapper_f7ee5d4607de508bb39519488f31e96c.cpp deleted file mode 100644 index 8d0355d5..00000000 --- a/src/py/wrapper/wrapper_f7ee5d4607de508bb39519488f31e96c.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_f7ee5d4607de508bb39519488f31e96c(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousMultivariateDistributionEstimation > class_f7ee5d4607de508bb39519488f31e96c(module, "_LazyEstimation_f7ee5d4607de508bb39519488f31e96c", ""); - class_f7ee5d4607de508bb39519488f31e96c.def(pybind11::init< >()); - class_f7ee5d4607de508bb39519488f31e96c.def(pybind11::init< struct ::statiskit::ContinuousMultivariateDistribution const * >()); - class_f7ee5d4607de508bb39519488f31e96c.def(pybind11::init< class ::statiskit::LazyEstimation< struct ::statiskit::ContinuousMultivariateDistribution, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp b/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp deleted file mode 100644 index 5c7da7c4..00000000 --- a/src/py/wrapper/wrapper_f81a8ee127995b0890ddd9786aab755d.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation::Estimator > > return_type_97c0dcb4b9a55407beb1affee63e5b47; - virtual return_type_97c0dcb4b9a55407beb1affee63e5b47 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_97c0dcb4b9a55407beb1affee63e5b47, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistributionEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateDistributionEstimation > > return_type_163f6bff094c5658b1290a9b2b3a9d26; - typedef ::statiskit::UnivariateDistributionEstimation::data_type const & param_163f6bff094c5658b1290a9b2b3a9d26_0_type; - typedef bool const & param_163f6bff094c5658b1290a9b2b3a9d26_1_type; - virtual return_type_163f6bff094c5658b1290a9b2b3a9d26 operator()(param_163f6bff094c5658b1290a9b2b3a9d26_0_type param_0, param_163f6bff094c5658b1290a9b2b3a9d26_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_163f6bff094c5658b1290a9b2b3a9d26, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_317b55cf2f095441a90761b585894a2b)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_aded8a75326850b0acbd175d00c01d1d)(double const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_91242b0124445c0b8e7b72267c81d545)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_5e32f2df117a5ee8b63adef68de2c3b4)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_b5dbfd41b6465487af36b9a482ed6aa9)()const= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_7a8db1f4d8665a20a3e3664348f116e6)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_f81a8ee127995b0890ddd9786aab755d(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_f81a8ee127995b0890ddd9786aab755d(module, "_Optimization_f81a8ee127995b0890ddd9786aab755d", ""); - class_f81a8ee127995b0890ddd9786aab755d.def(pybind11::init< >()); - class_f81a8ee127995b0890ddd9786aab755d.def("get_mindiff", method_pointer_317b55cf2f095441a90761b585894a2b, pybind11::return_value_policy::copy, ""); - class_f81a8ee127995b0890ddd9786aab755d.def("set_mindiff", method_pointer_aded8a75326850b0acbd175d00c01d1d, ""); - class_f81a8ee127995b0890ddd9786aab755d.def("get_minits", method_pointer_91242b0124445c0b8e7b72267c81d545, ""); - class_f81a8ee127995b0890ddd9786aab755d.def("set_minits", method_pointer_5e32f2df117a5ee8b63adef68de2c3b4, ""); - class_f81a8ee127995b0890ddd9786aab755d.def("get_maxits", method_pointer_b5dbfd41b6465487af36b9a482ed6aa9, ""); - class_f81a8ee127995b0890ddd9786aab755d.def("set_maxits", method_pointer_7a8db1f4d8665a20a3e3664348f116e6, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp b/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp deleted file mode 100644 index 93cff02d..00000000 --- a/src/py/wrapper/wrapper_f93af042f688513484b1158c96b9eaef.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_08012a56a0945c3c8be996ca7758f77d; - virtual return_type_08012a56a0945c3c8be996ca7758f77d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_08012a56a0945c3c8be996ca7758f77d, class_type, copy, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; - virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_f93af042f688513484b1158c96b9eaef(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::DiscreteUnivariateDistribution >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution > >::Type, struct ::statiskit::DiscreteUnivariateDistribution > class_f93af042f688513484b1158c96b9eaef(module, "_PolymorphicCopy_f93af042f688513484b1158c96b9eaef", ""); - class_f93af042f688513484b1158c96b9eaef.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp b/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp deleted file mode 100644 index 7765fb69..00000000 --- a/src/py/wrapper/wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::OptimizationEstimationImpl< ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::OptimizationEstimationImpl< ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator::Estimator; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - - -namespace autowig { -} - -void wrapper_f9e87fac2e5e57d69c6b3f0cc6fe4bc2(pybind11::module& module) -{ - - pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::OptimizationEstimationImpl< struct ::statiskit::MixtureSingularDistribution *, struct ::statiskit::MixtureSingularDistribution, struct ::statiskit::SingularDistributionEstimation >::Estimator >::Type, class ::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator > > class_f9e87fac2e5e57d69c6b3f0cc6fe4bc2(module, "Estimator", ""); - class_f9e87fac2e5e57d69c6b3f0cc6fe4bc2.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp b/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp deleted file mode 100644 index 02cfd22f..00000000 --- a/src/py/wrapper/wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_c5864745a15a526abae4cd03bf6d4f57; - virtual return_type_c5864745a15a526abae4cd03bf6d4f57 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c5864745a15a526abae4cd03bf6d4f57, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; - typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; - virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - typedef double return_type_acdea368f48f572bb000ce0a3e887539; - typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; - typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; - virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; - virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; - virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_fbe279819c925fe9bb1cdf5d0de8cf1a(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::SingularDistribution, class ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution > >::Type, struct ::statiskit::SingularDistribution > class_fbe279819c925fe9bb1cdf5d0de8cf1a(module, "_PolymorphicCopy_fbe279819c925fe9bb1cdf5d0de8cf1a", ""); - class_fbe279819c925fe9bb1cdf5d0de8cf1a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp b/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp deleted file mode 100644 index 66220ee4..00000000 --- a/src/py/wrapper/wrapper_fcc6162c378c5756b392afed99931125.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_13ce002a16d358ed963cfab919445ca1; - virtual return_type_13ce002a16d358ed963cfab919445ca1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_13ce002a16d358ed963cfab919445ca1, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; - virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; - typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; - typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; - virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; - virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; - virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; - }; -} - - -namespace autowig { -} - -void wrapper_fcc6162c378c5756b392afed99931125(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateDistribution, class ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution > >::Type, struct ::statiskit::ContinuousMultivariateDistribution > class_fcc6162c378c5756b392afed99931125(module, "_PolymorphicCopy_fcc6162c378c5756b392afed99931125", ""); - class_fcc6162c378c5756b392afed99931125.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fd1fa4531ff65b6c889e56be99ebfc4e.cpp b/src/py/wrapper/wrapper_fd1fa4531ff65b6c889e56be99ebfc4e.cpp deleted file mode 100644 index 559a1504..00000000 --- a/src/py/wrapper/wrapper_fd1fa4531ff65b6c889e56be99ebfc4e.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_fd1fa4531ff65b6c889e56be99ebfc4e(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, autowig::HolderType< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_fd1fa4531ff65b6c889e56be99ebfc4e(module, "Estimator", ""); - class_fd1fa4531ff65b6c889e56be99ebfc4e.def(pybind11::init< >()); - class_fd1fa4531ff65b6c889e56be99ebfc4e.def(pybind11::init< struct ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp b/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp deleted file mode 100644 index e544ae9d..00000000 --- a/src/py/wrapper/wrapper_fd63b9f470165717923109c2f3c8739d.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation::Estimator > > return_type_8b02691f7b535adda732068708b90596; - virtual return_type_8b02691f7b535adda732068708b90596 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b02691f7b535adda732068708b90596, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistributionEstimation, struct ::std::default_delete< struct ::statiskit::SingularDistributionEstimation > > return_type_ef6596d10b575b13b141d8bcf05ac09a; - typedef ::statiskit::SingularDistributionEstimation::data_type const & param_ef6596d10b575b13b141d8bcf05ac09a_0_type; - typedef bool const & param_ef6596d10b575b13b141d8bcf05ac09a_1_type; - virtual return_type_ef6596d10b575b13b141d8bcf05ac09a operator()(param_ef6596d10b575b13b141d8bcf05ac09a_0_type param_0, param_ef6596d10b575b13b141d8bcf05ac09a_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ef6596d10b575b13b141d8bcf05ac09a, class_type, operator(), param_0, param_1); }; - typedef ::uintptr_t return_type_ed723b56ee6d50838db979e102419f39; - virtual return_type_ed723b56ee6d50838db979e102419f39 identifier() const override { PYBIND11_OVERLOAD(return_type_ed723b56ee6d50838db979e102419f39, class_type, identifier, ); }; - typedef class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > return_type_7ba100805cd95f1cba468c9ce84eb72c; - virtual return_type_7ba100805cd95f1cba468c9ce84eb72c children() const override { PYBIND11_OVERLOAD(return_type_7ba100805cd95f1cba468c9ce84eb72c, class_type, children, ); }; - }; - - class Publicist : public class_type - { - public: - using class_type::identifier; - using class_type::children; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_f1f6b8777ce457fb87fe24c4f6005328)()const= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_e8ce1527b17a5cd6a0feda960df64087)(double const &)= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_bc756bc223d25490810778785eb77d6c)()const= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_2375ea1de3d75d1c825b80098ef8f1ca)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_e2a41672cda65435a42be527972a466f)()const= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::SingularDistributionEstimation::Estimator >::*method_pointer_ff652d9240a75b4eba7583ba15a93028)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_fd63b9f470165717923109c2f3c8739d(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::SingularDistributionEstimation::Estimator > >::Type, struct ::statiskit::SingularDistributionEstimation::Estimator > class_fd63b9f470165717923109c2f3c8739d(module, "_Optimization_fd63b9f470165717923109c2f3c8739d", ""); - class_fd63b9f470165717923109c2f3c8739d.def(pybind11::init< >()); - class_fd63b9f470165717923109c2f3c8739d.def("get_mindiff", method_pointer_f1f6b8777ce457fb87fe24c4f6005328, pybind11::return_value_policy::copy, ""); - class_fd63b9f470165717923109c2f3c8739d.def("set_mindiff", method_pointer_e8ce1527b17a5cd6a0feda960df64087, ""); - class_fd63b9f470165717923109c2f3c8739d.def("get_minits", method_pointer_bc756bc223d25490810778785eb77d6c, ""); - class_fd63b9f470165717923109c2f3c8739d.def("set_minits", method_pointer_2375ea1de3d75d1c825b80098ef8f1ca, ""); - class_fd63b9f470165717923109c2f3c8739d.def("get_maxits", method_pointer_e2a41672cda65435a42be527972a466f, ""); - class_fd63b9f470165717923109c2f3c8739d.def("set_maxits", method_pointer_ff652d9240a75b4eba7583ba15a93028, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ff336bb969875c6bb9226d1ab053af10.cpp b/src/py/wrapper/wrapper_ff336bb969875c6bb9226d1ab053af10.cpp deleted file mode 100644 index d0a6ee1c..00000000 --- a/src/py/wrapper/wrapper_ff336bb969875c6bb9226d1ab053af10.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -void wrapper_ff336bb969875c6bb9226d1ab053af10(pybind11::module& module) -{ - - pybind11::enum_< enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_ff336bb969875c6bb9226d1ab053af10(module, "criterion_type"); - enum_ff336bb969875c6bb9226d1ab053af10.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::AIC); - enum_ff336bb969875c6bb9226d1ab053af10.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::AICc); - enum_ff336bb969875c6bb9226d1ab053af10.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::BIC); - enum_ff336bb969875c6bb9226d1ab053af10.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistribution, struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::HQIC); - enum_ff336bb969875c6bb9226d1ab053af10.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp b/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp deleted file mode 100644 index 299a98f7..00000000 --- a/src/py/wrapper/wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_93b7a51440745d11aeeaf8c9c3a6b384; - virtual return_type_93b7a51440745d11aeeaf8c9c3a6b384 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_93b7a51440745d11aeeaf8c9c3a6b384, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; - typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; - virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; - virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; - typedef int return_type_0f752a27239a55e4a5244da5bea67286; - typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; - virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; - typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; - virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_e743676180d85397828cc79f44d4d185; - typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; - virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; - typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; - virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; - }; -} - - -namespace autowig { -} - -void wrapper_ffc7b6c27c595cb6ab53ebb2f04ce1de(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateDistribution, class ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > >::Type, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution > class_ffc7b6c27c595cb6ab53ebb2f04ce1de(module, "_PolymorphicCopy_ffc7b6c27c595cb6ab53ebb2f04ce1de", ""); - class_ffc7b6c27c595cb6ab53ebb2f04ce1de.def(pybind11::init< >()); - -} \ No newline at end of file From e4f4402518c072a367062354b80dfec1bba5e4fd Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Mon, 22 Jul 2019 10:03:31 +0200 Subject: [PATCH 15/16] Update typedefs --- src/cpp/estimation.h | 15 +++- src/cpp/estimation.hpp | 2 +- src/cpp/estimator.h | 6 ++ src/cpp/estimator.hpp | 8 +- src/cpp/selection.h | 2 - src/cpp/selection.hpp | 6 -- src/py/statiskit/core/_core.py | 81 ++++++++++--------- ...apper_0175e6a3766750de8ea59e8c340325ef.cpp | 9 +-- ...apper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp | 22 ++--- ...apper_051fc1b76bd35424959669918dd74f6a.cpp | 6 +- ...apper_057cf4037321591b98a5dc5f85faf504.cpp | 4 - ...apper_0786eb9689055ad4be86080202077ec7.cpp | 4 +- ...apper_08d6e46838b65ffebc188c31dc3d252f.cpp | 8 -- ...apper_097d071b39dc5df98bf53b8b2cb22c3d.cpp | 8 +- ...apper_098b1688f9d6517bac4fe76bfdbe24bd.cpp | 10 --- ...apper_0c5fdb90743c59dda2a63d2ea31919c2.cpp | 6 -- ...apper_0cf8ab1b80485228a6333e32fd937f72.cpp | 6 +- ...apper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp | 24 +++--- ...apper_0e85222f05205b5983c73610343623c8.cpp | 22 ++--- ...apper_0f491a898d6251e1851339f286f0358c.cpp | 10 +-- ...apper_0f631b8bbb065d39a1378915b306a904.cpp | 8 -- ...apper_119aa039675055618c8a856f637be1e0.cpp | 6 +- ...apper_11b76bdf145b514f8ed8993245b9864c.cpp | 22 ++--- ...apper_13ec603d05f1534bbe1491c0634dca90.cpp | 4 - ...apper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp | 15 ++-- ...apper_16e0ec24327b5201927673f1e4c6eeca.cpp | 4 - ...apper_172696efc2ee5189bf7047d20bc97387.cpp | 10 +-- ...apper_176ad7b821255b478820451a70624393.cpp | 4 - ...apper_1ca74b2dc66a5ee79310589958dcce9f.cpp | 10 +-- ...apper_1f896af016d3557fa2b823b2110a3f82.cpp | 22 ++--- ...apper_206185953d7651e78a6714d1fe602758.cpp | 8 -- ...apper_20a3935ea3995924abfb200f08b075ee.cpp | 10 +-- ...apper_22316f691c3051a4b467ae58506ba1df.cpp | 6 -- ...apper_22af95e725215bc9b21db076f5deefd7.cpp | 4 +- ...apper_23541363c56f58418e709d76f3ae28bc.cpp | 22 +++-- ...apper_246619e611bb5657b2e56a30794d1385.cpp | 6 -- ...apper_2513f8d88792503e97d2b3f6b8c31e6f.cpp | 8 -- ...apper_25265f42150552ea9c7e3f59af135f87.cpp | 8 +- ...apper_254705bef21f59ca807412aa011917c0.cpp | 4 +- ...apper_259bbb897cee510787d813a9c7525d6f.cpp | 4 +- ...apper_2644b3904d665c118ab54533b295d7e3.cpp | 24 ++++-- ...apper_295ece6953a856c8b865758b0a34795c.cpp | 8 -- ...apper_2a0dd80c75b958a198cbb602212dea2d.cpp | 4 +- ...apper_2cb2b79ddcda5d669891ac34e006005a.cpp | 6 +- ...apper_2da8a9223cae5918afa89d5266f7f7e7.cpp | 14 +--- ...apper_3170a5376b065cea9f39ca7a6ad5332f.cpp | 4 - ...apper_31aa0a631312549a9cf4cb8740b55a7f.cpp | 10 --- ...apper_32c776be879e5a4f8e5388d5cb33ecc4.cpp | 10 --- ...apper_337b3fb852125acd94dcdd79f0bbc00a.cpp | 8 +- ...apper_354f862e227e590491c20a9acad58d0b.cpp | 8 -- ...apper_37b7e83ad4685de7971d757784ece860.cpp | 22 ++--- ...apper_37cab44615185125b12b8246ddcfeae0.cpp | 2 +- ...apper_39737fb8eb785c29bb3a9eca8ab9e325.cpp | 8 -- ...apper_3a6a49079d1b5e9bb815105374e2fc93.cpp | 2 +- ...apper_3ae69567ec205969a9f2da364450fd2e.cpp | 6 +- ...apper_3ca8ff4e14d1580fa17364607bc956c4.cpp | 4 - ...apper_3e3d38965c5e5a02ae621877dba470cf.cpp | 4 - ...apper_3ff582522b0d5915b638d6939794ff66.cpp | 22 ++--- ...apper_4045395044115f8ca0008a4001f465bf.cpp | 9 ++- ...apper_4091fe7ebaea5a58bb732192d7661dce.cpp | 2 +- ...apper_41e812da3d3654cd9fb33041c3acf25f.cpp | 6 -- ...apper_4420321c5ba25609a5915044efb89bc8.cpp | 22 ++--- ...apper_4540538b16205d90be33cf08feed0673.cpp | 10 --- ...apper_4637f9b5c7175ff0880fd325a6eca119.cpp | 10 +-- ...apper_484cc9c9d3f856c7aa18f642966f14a9.cpp | 4 - ...apper_4b5bca62b7795925980272db0dce9ae7.cpp | 6 +- ...apper_4e2cec23d01552a2b35a809a21ed47b7.cpp | 36 --------- ...apper_50d5d8b88c0d5eeea2e382dc4626754a.cpp | 4 +- ...apper_513f1e95007657ac9d8f70c0a2356aac.cpp | 6 +- ...apper_5186497276525dcc88f6e6e8b313d2af.cpp | 4 - ...apper_5266ea37de9b57c680d01c7fb2421e89.cpp | 22 ++--- ...apper_53a566eea7215e8b945cbdedf3acf7bc.cpp | 4 +- ...apper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp | 22 +---- ...apper_5517439c40d6505682aa2e58ed6cea33.cpp | 4 - ...apper_551c927628b651a19489817a39ededb8.cpp | 22 ++--- ...apper_55903cb2e67650868a4cd698632375c1.cpp | 6 +- ...apper_5b5f1c1f4aa852eab398cea6df20fee2.cpp | 18 ----- ...apper_5cf53138947354ddb9f4e01b4b221762.cpp | 10 +-- ...apper_622b4b6c4fef5b119cba23181cff6cf6.cpp | 10 --- ...apper_63f5048eedae564391cd268a0107428f.cpp | 4 +- ...apper_643847dccc2b560082343f2bbda15cba.cpp | 8 +- ...apper_64ae6eddce405116ba534ed722881799.cpp | 10 +-- ...apper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp | 8 +- ...apper_663730845d925082a43337bf446ebf00.cpp | 8 +- ...apper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp | 36 --------- ...apper_66f947be876e54a4901f1a9633fffbaf.cpp | 6 +- ...apper_68d58bb20b4e507ea69ba2065530644b.cpp | 22 ++--- ...apper_69913377d1325b99bc7469de4f5cf375.cpp | 22 +++-- ...apper_69ca358c24cd5cabb1a6b9e1358519e4.cpp | 6 +- ...apper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp | 36 --------- ...apper_6d1d52249a4c562691e57f68df4bcc06.cpp | 10 --- ...apper_6d256cdc2e1253b8823893d5d72bc031.cpp | 6 +- ...apper_6eb1ba92b1d158b09999c16267a2ec28.cpp | 6 -- ...apper_6fac6a71bec1544eaecb1b57399ee5ec.cpp | 20 ++++- ...apper_6fd71629a95855bbad845fa81b27f4d5.cpp | 22 ++--- ...apper_700bbebe1a2a5b0699f46ca77b7ea310.cpp | 6 +- ...apper_73e107092bdb5be2a9ec6e31772ffd09.cpp | 4 +- ...apper_7466a1a79edf5312955ff663594f561b.cpp | 6 +- ...apper_76d258d0b30f5e3a94d02ba97954104b.cpp | 10 --- ...apper_779c0e94601b5238932a999e37acfdea.cpp | 1 - ...apper_78fa594811935c2ea4b4905d733f141f.cpp | 2 +- ...apper_7d52c5fa83fa5b7abbc12831a19a2931.cpp | 6 +- ...apper_7ed55bcdec33582fb2767f7d96937c85.cpp | 8 -- ...apper_7f05968a172a528da4c7ae7e40d9faa7.cpp | 8 +- ...apper_823c1d5da2f35f9abbb62a989d434392.cpp | 9 ++- ...apper_8408f59ac7205444bbaf4ef2fb92867d.cpp | 18 ++--- ...apper_8637850c39dc51d3a7ea186462c65e2a.cpp | 6 +- ...apper_864140a02b1554ffbf15f5c312a38d8c.cpp | 6 +- ...apper_87b566a692cb54b18914b54eb295ef9a.cpp | 4 - ...apper_88cb53c05b215504b1f0ee0564765af0.cpp | 14 ---- ...apper_8dc14cd974045db7ab63d2d8c0c5c496.cpp | 6 +- ...apper_8dcb38f525415f5eb16b5b180a314eab.cpp | 10 +-- ...apper_9662a6a016085675978d04e2bc87a7f3.cpp | 9 +-- ...apper_9819c01af16354f5af1bd00fe32e33a5.cpp | 22 ++--- ...apper_98e77d2afcc252cba528077bc2cc3103.cpp | 12 --- ...apper_9962e820b2a75e44aeb478a7fa3f1b63.cpp | 4 +- ...apper_99fc77e1853459ba9270c901d62d010f.cpp | 6 -- ...apper_9b1c85d3df8e5cba922fb88752a0d746.cpp | 4 - ...apper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp | 2 +- ...apper_9c2fa9a7a902547eab99ffb00609ac86.cpp | 4 +- ...apper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp | 4 - ...apper_9ce76073f232512da483f80a23807ddc.cpp | 22 ++--- ...apper_a0117c6545ed509a9f9743da0a6360b7.cpp | 4 +- ...apper_a079c62242f25fd5aefc1ac40095a061.cpp | 22 ++--- ...apper_a22eff2d08c251169af231a773c880d3.cpp | 9 ++- ...apper_a32936912db85574b408168f51749429.cpp | 6 +- ...apper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp | 6 -- ...apper_a42d846927fa55029bf78190c71fb4a4.cpp | 4 +- ...apper_a4463e49d7865a6497ec20612e342cbe.cpp | 20 ++++- ...apper_a4d6cfc5f43a5e10a524a2cea681460d.cpp | 10 --- ...apper_a5cf9061d7bb5791ad10bf28e28951fd.cpp | 22 ++--- ...apper_a87f64a7a0c553e2b79ea554696bd78b.cpp | 6 -- ...apper_aa6b2bab0be654649ef497aa71dff2e3.cpp | 8 +- ...apper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp | 6 +- ...apper_b43d5bcd7fb95832845cba669051438f.cpp | 2 +- ...apper_b4644d28cde95fdb8e27360bc00fee72.cpp | 4 +- ...apper_b544b96a33fd5924804b28cfb48e8df8.cpp | 22 ++--- ...apper_b5bed4faf978515387938b2b850d0fdf.cpp | 6 +- ...apper_b6605ca6549d54eba3c614d5b6a29235.cpp | 1 - ...apper_b730e37e69f05687be99d670316afe25.cpp | 6 -- ...apper_b87395375e4e53959abf2c6e5205259d.cpp | 6 -- ...apper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp | 1 - ...apper_bc2764672801516e9cea984f33c9d9bf.cpp | 8 +- ...apper_be6e5acaae3150f69207956b75050e55.cpp | 14 +--- ...apper_bf5b68f25d1f5ab9ad2c936351edf740.cpp | 24 +++--- ...apper_c07d900e8cfe54789b1eb7500f2b17d6.cpp | 6 +- ...apper_c14e91b91c9852b8bd1c5fce67b0d241.cpp | 11 ++- ...apper_c1af1f263c37571f8e1257a72f39fd05.cpp | 10 --- ...apper_c30582fff9a5510186e17a7b44494d9f.cpp | 6 +- ...apper_c6691c5b303051859dffd8d2f0d6c188.cpp | 6 +- ...apper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp | 4 +- ...apper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp | 4 - ...apper_cbe0be5b997e578ea56a5ddbc174c53e.cpp | 6 +- ...apper_ccb69f6f1ea252c78b62bd2708670cdd.cpp | 6 -- ...apper_cf0179fb6c94524589e450e5bcacc532.cpp | 6 +- ...apper_cf0415be3d965595a8486e9a8659c1a9.cpp | 18 +---- ...apper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp | 20 ++++- ...apper_d33d975672ef54f0b9b5e01d57fdf32b.cpp | 4 - ...apper_d3d68100c0aa515393562535c582529e.cpp | 24 ++++-- ...apper_d740d10f82335516b6c42048834de0c7.cpp | 6 +- ...apper_d8072eca33fe5d46a0b27a217a8dbc96.cpp | 2 +- ...apper_d9e3c8f1d16d5ffea475de8236279387.cpp | 22 ++--- ...apper_daf74149f27453a7a5360a8ea7e9d69c.cpp | 8 -- ...apper_db2668977eed5283a0dfb9992502d2dd.cpp | 10 +-- ...apper_de7ff6e8df595fdab99566ab1fb822d1.cpp | 9 +-- ...apper_df673121ff9a5ed3a03ae1633aac43b7.cpp | 8 +- ...apper_e0e2f05f845558508daf53c1d4b545c7.cpp | 6 +- ...apper_e3970afe332b54108a4040278f775008.cpp | 18 ++--- ...apper_e695b5b519815f1f96debe2f459d2f2b.cpp | 6 -- ...apper_ed56b0739802545c9906dd23adb8636c.cpp | 22 ++--- ...apper_ef06cd7866a05e8a9b9f746a2f9da324.cpp | 22 ++--- ...apper_f3a4e0390ba552948c69ae13cadb799a.cpp | 4 +- ...apper_f4b4623a4bb55ebdb42401f0a981cb83.cpp | 22 ++--- ...apper_faed70c01c41556a87ba6c938ce7c777.cpp | 12 --- ...apper_faf1fdd6d84a5fc3a61a827f354b8275.cpp | 6 +- ...apper_fe18de6fe2c850bc986987821db6db68.cpp | 2 +- ...apper_fe5c14ebd9715db583a8fcea54e1d965.cpp | 18 +---- ...apper_feb9ad1a68185444ba16325ba90aea6b.cpp | 22 ++--- 178 files changed, 568 insertions(+), 1295 deletions(-) delete mode 100644 src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp delete mode 100644 src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp delete mode 100644 src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index 2d73407a..2f477ee6 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -97,6 +97,8 @@ namespace statiskit struct STATISKIT_CORE_API CategoricalUnivariateDistributionEstimation : UnivariateDistributionEstimation { + using distribution_type = CategoricalUnivariateDistribution; + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator @@ -111,6 +113,8 @@ namespace statiskit struct STATISKIT_CORE_API DiscreteUnivariateDistributionEstimation : UnivariateDistributionEstimation { + using distribution_type = DiscreteUnivariateDistribution; + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator @@ -125,6 +129,8 @@ namespace statiskit struct STATISKIT_CORE_API ContinuousUnivariateDistributionEstimation : UnivariateDistributionEstimation { + using distribution_type = ContinuousUnivariateDistribution; + using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator @@ -155,6 +161,8 @@ namespace statiskit struct STATISKIT_CORE_API CategoricalMultivariateDistributionEstimation : MultivariateDistributionEstimation { + using distribution_type = CategoricalMultivariateDistribution; + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator @@ -173,6 +181,8 @@ namespace statiskit struct STATISKIT_CORE_API DiscreteMultivariateDistributionEstimation : MultivariateDistributionEstimation { + using distribution_type = DiscreteMultivariateDistribution; + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator @@ -184,6 +194,8 @@ namespace statiskit struct STATISKIT_CORE_API ContinuousMultivariateDistributionEstimation : MultivariateDistributionEstimation { + using distribution_type = ContinuousMultivariateDistribution; + using MultivariateDistributionEstimation::MultivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public MultivariateDistributionEstimation::Estimator @@ -193,13 +205,14 @@ namespace statiskit }; }; + using explanatory_data_type = MultivariateData; + template class ConditionalDistributionEstimation { public: using distribution_type = D; using response_data_type = typename D::response_type::data_type; - using explanatory_data_type = MultivariateData; ConditionalDistributionEstimation(); ConditionalDistributionEstimation(response_data_type const* response_data, diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index 7467182c..fa9d4325 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -168,7 +168,7 @@ namespace statiskit } template - typename ConditionalDistributionEstimation< D >::explanatory_data_type const * ConditionalDistributionEstimation< D >::get_explanatory_data() const + explanatory_data_type const * ConditionalDistributionEstimation< D >::get_explanatory_data() const { return this->explanatory_data; } diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index fbb7fbf6..aaef5b1d 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -79,6 +79,8 @@ namespace statiskit public: using PolymorphicCopy::PolymorphicCopy; + NominalDistributionEstimator(const NominalDistributionEstimator&) = default; + protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; @@ -90,6 +92,8 @@ namespace statiskit public: using PolymorphicCopy::PolymorphicCopy; + DiscreteUnivariateFrequencyDistributionEstimator(const DiscreteUnivariateFrequencyDistributionEstimator&) = default; + protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; @@ -101,6 +105,8 @@ namespace statiskit public: using PolymorphicCopy::PolymorphicCopy; + ContinuousUnivariateFrequencyDistributionEstimator(const ContinuousUnivariateFrequencyDistributionEstimator&) = default; + protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& masses) const; }; diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index f1a6d544..ae8c641c 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -16,7 +16,7 @@ namespace statiskit { this->shift = estimator.shift; if (estimator.estimator) { - this->estimator = static_cast< typename B::Estimator* >(estimator._estimator->copy().release()); + this->estimator = static_cast< typename B::Estimator* >(estimator.estimator->copy().release()); } else { this->estimator = nullptr; } @@ -33,9 +33,9 @@ namespace statiskit template std::unique_ptr< typename ShiftedDistributionEstimation::Estimator::estimation_type > ShiftedDistributionEstimation::Estimator::operator() (const data_type& data) const { - using event_type = ElementaryEvent< typename B::event_type >; + using event_type = ElementaryEvent< typename B::Estimator::event_type >; using value_type = typename event_type::value_type; - using distribution_type = ShiftedDistribution< typename B::observation_type >; + using distribution_type = ShiftedDistribution< typename B::distribution_type >; this->check(data); if (!this->estimator) { throw member_error("estimator", "you must give an estimator in order to compute a shifted estimation"); @@ -61,7 +61,7 @@ namespace statiskit ++index; } return std::make_unique< ShiftedDistributionEstimation >(weighted, - new distribution_type(*(*this->estimator(weighted))->get_distribution(), this->shift)); + new distribution_type(*static_cast< typename B::distribution_type const * >(((*(this->estimator))(weighted))->get_distribution()), this->shift)); } template diff --git a/src/cpp/selection.h b/src/cpp/selection.h index 1987b50e..f1dbbaa8 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -80,8 +80,6 @@ namespace statiskit SlopeHeuristicSelection(const SlopeHeuristicSelection< B >& she); virtual ~SlopeHeuristicSelection(); - virtual typename B::distribution_type const * get_distribution() const; - const typename B::distribution_type* get_proposal(const Index& index) const; protected: diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp index 7f71ea2f..91fabbaa 100644 --- a/src/cpp/selection.hpp +++ b/src/cpp/selection.hpp @@ -244,12 +244,6 @@ namespace statiskit } this->proposals.clear(); } - - template - typename B::distribution_type const * SlopeHeuristicSelection::get_distribution() const - { - return this->distribution; - } template const typename B::distribution_type* SlopeHeuristicSelection::get_proposal(const Index& index) const diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index ba479fff..1ebdf05c 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -1,8 +1,8 @@ __all__ = [] # Import dependency decorator modules -import statiskit.stl._stl import statiskit.linalg._linalg +import statiskit.stl._stl # Import Boost.Python module from . import __core @@ -90,53 +90,54 @@ __core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4) # Define aliases +__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.DistributionType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData -__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DataType = __core.statiskit.UnivariateData -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 -__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e __core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DataType = __core.statiskit.UnivariateData +__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution -__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData -__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 -__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData -__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution __core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DataType = __core.statiskit.MultivariateData -__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d __core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution __core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData __core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData -__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.DistributionType = __core.statiskit.UnivariateConditionalDistribution +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 +__core.statiskit.ExplanatoryDataType = __core.statiskit.MultivariateData +__core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f diff --git a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp index b501c74e..9d59e945 100644 --- a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp +++ b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp @@ -9,20 +9,17 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; - - protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ff4ec0c47c815d608922bfa62bf7748e; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::data_type const & param_ff4ec0c47c815d608922bfa62bf7748e_0_type; + virtual return_type_ff4ec0c47c815d608922bfa62bf7748e operator()(param_ff4ec0c47c815d608922bfa62bf7748e_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ff4ec0c47c815d608922bfa62bf7748e, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp index 92ec4ebf..c4484ccb 100644 --- a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp +++ b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistribution::DiscreteUnivariateDistribution; - - public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp b/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp index 61b56176..7d46db79 100644 --- a/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp +++ b/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_ecf411e8b806576fa89996140a008799; + virtual return_type_ecf411e8b806576fa89996140a008799 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ecf411e8b806576fa89996140a008799, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp index ae01d6a2..cbd4636c 100644 --- a/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp +++ b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp index 3c80a839..58f54938 100644 --- a/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp +++ b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_aabf1fa97eae591fa1084f0a24308823; + virtual return_type_aabf1fa97eae591fa1084f0a24308823 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_aabf1fa97eae591fa1084f0a24308823, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp index 0859a5f8..56eb61b6 100644 --- a/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp +++ b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp @@ -9,24 +9,16 @@ namespace autowig public: using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::Estimator; - - protected: typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp index a756ec3c..6eb6e8f7 100644 --- a/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp +++ b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp @@ -9,16 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_351115d84d3850bb9ebe91876df74122; + virtual return_type_351115d84d3850bb9ebe91876df74122 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_351115d84d3850bb9ebe91876df74122, class_type, copy, ); }; typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - - public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp index f9ea51bb..e55d8698 100644 --- a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp +++ b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistribution::ContinuousMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp index 9dbad1be..eb08ceef 100644 --- a/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp +++ b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp @@ -8,18 +8,12 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp b/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp index 4b92ac7f..98c1d289 100644 --- a/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp +++ b/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_32b310c5f46951dfb7da646db3ae1300; + virtual return_type_32b310c5f46951dfb7da646db3ae1300 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_32b310c5f46951dfb7da646db3ae1300, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp index 4ee9c005..a3f72c25 100644 --- a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp +++ b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp @@ -9,26 +9,30 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; + virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; + typedef double return_type_e1babe464b835687aea3395298d710d6; + typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; + virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; + typedef double return_type_0c7621818b33548e866bb39bbb4e2157; + typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; + virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; + typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; + virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp index 7cca6a02..555727fa 100644 --- a/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp +++ b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f44368d0843d557aad0347d4cf452e03; + virtual return_type_f44368d0843d557aad0347d4cf452e03 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f44368d0843d557aad0347d4cf452e03, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp index 3f299f76..271f4e0b 100644 --- a/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp +++ b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_dddd91df18fd59a6b71e5a73664a4166; + virtual return_type_dddd91df18fd59a6b71e5a73664a4166 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_dddd91df18fd59a6b71e5a73664a4166, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp index 79ced433..1dbbf73a 100644 --- a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp +++ b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp @@ -9,21 +9,13 @@ namespace autowig public: using ::statiskit::UnivariateSampleSpace::UnivariateSampleSpace; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; - - public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; - - public: typedef enum ::statiskit::outcome_type return_type_2875d281654d56729645a2393c5d7ae3; virtual return_type_2875d281654d56729645a2393c5d7ae3 get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_2875d281654d56729645a2393c5d7ae3, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp b/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp index c05404fb..402273f4 100644 --- a/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp +++ b/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_6ee12afee92757ad935da93a098f76ca; + virtual return_type_6ee12afee92757ad935da93a098f76ca copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6ee12afee92757ad935da93a098f76ca, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp index 1ed92bba..340e97f2 100644 --- a/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp +++ b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f89168a6535d5ab9bd7cba606a078b71; + virtual return_type_f89168a6535d5ab9bd7cba606a078b71 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f89168a6535d5ab9bd7cba606a078b71, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp index a04ce57a..e681095d 100644 --- a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp +++ b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::MultivariateDispersionEstimation; - - public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_e7c45515a9ba50b79dd2ae24687f9d7a; virtual return_type_e7c45515a9ba50b79dd2ae24687f9d7a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e7c45515a9ba50b79dd2ae24687f9d7a, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp index bc23677d..dcb5881d 100644 --- a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp +++ b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp @@ -9,27 +9,22 @@ namespace autowig public: using ::statiskit::CategoricalSampleSpace::CategoricalSampleSpace; - - protected: typedef bool return_type_e2b5e198a60f55b48e6693e16f1ecddb; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_e2b5e198a60f55b48e6693e16f1ecddb_0_type; virtual return_type_e2b5e198a60f55b48e6693e16f1ecddb is_compatible_value(param_e2b5e198a60f55b48e6693e16f1ecddb_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e2b5e198a60f55b48e6693e16f1ecddb, class_type, is_compatible_value, param_0); }; - - public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_8066b9427c14500d8e4b87e8f42da7e4; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8066b9427c14500d8e4b87e8f42da7e4_0_type; virtual return_type_8066b9427c14500d8e4b87e8f42da7e4 encode(param_8066b9427c14500d8e4b87e8f42da7e4_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8066b9427c14500d8e4b87e8f42da7e4, class_type, encode, param_0); }; - - public: typedef void return_type_5ccffeb21f59579f833d8cfccb48fce9; typedef enum ::statiskit::encoding_type const & param_5ccffeb21f59579f833d8cfccb48fce9_0_type; virtual return_type_5ccffeb21f59579f833d8cfccb48fce9 set_encoding(param_5ccffeb21f59579f833d8cfccb48fce9_0_type param_0) override { PYBIND11_OVERLOAD_PURE(return_type_5ccffeb21f59579f833d8cfccb48fce9, class_type, set_encoding, param_0); }; - - public: + typedef enum ::statiskit::outcome_type return_type_8d0ebb7ac2a9544280755c9cf75dbb4e; + virtual return_type_8d0ebb7ac2a9544280755c9cf75dbb4e get_outcome() const override { PYBIND11_OVERLOAD(return_type_8d0ebb7ac2a9544280755c9cf75dbb4e, class_type, get_outcome, ); }; + typedef bool return_type_bc7a777830665a5e86e410c50a9fd373; + typedef struct ::statiskit::UnivariateEvent const * param_bc7a777830665a5e86e410c50a9fd373_0_type; + virtual return_type_bc7a777830665a5e86e410c50a9fd373 is_compatible(param_bc7a777830665a5e86e410c50a9fd373_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_bc7a777830665a5e86e410c50a9fd373, class_type, is_compatible, param_0); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; }; diff --git a/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp index 4ccb04a2..f40ddc00 100644 --- a/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp +++ b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp index 0be2fb27..1266b4fc 100644 --- a/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp +++ b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp @@ -9,17 +9,15 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_ede59c488926582aab2480ccbc03aa65; + virtual return_type_ede59c488926582aab2480ccbc03aa65 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ede59c488926582aab2480ccbc03aa65, class_type, copy, ); }; typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - - public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; + virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp index 4351a56e..402906ee 100644 --- a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp +++ b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateLocationEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_8c923ab987815d75950c21bd5ebe0e9a; virtual return_type_8c923ab987815d75950c21bd5ebe0e9a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8c923ab987815d75950c21bd5ebe0e9a, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp index bc2bd0ca..ccaa4876 100644 --- a/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp +++ b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_27a6e0cb0b6953c79121138d291a76d8; + virtual return_type_27a6e0cb0b6953c79121138d291a76d8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_27a6e0cb0b6953c79121138d291a76d8, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp index 901dec4f..1dd747b2 100644 --- a/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp +++ b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_2f5adc8b114950b8893f26bc97b6abc3; + virtual return_type_2f5adc8b114950b8893f26bc97b6abc3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2f5adc8b114950b8893f26bc97b6abc3, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp index 7c13959c..2bd59c79 100644 --- a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp +++ b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp index 59495619..5117f58c 100644 --- a/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp +++ b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_b87271cea7da5b298ba0cbd084f66c26; + virtual return_type_b87271cea7da5b298ba0cbd084f66c26 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b87271cea7da5b298ba0cbd084f66c26, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp index 6461724f..167295c2 100644 --- a/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp +++ b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp index 4e6588ba..98edd738 100644 --- a/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp +++ b/src/py/wrapper/wrapper_22af95e725215bc9b21db076f5deefd7.cpp @@ -1,7 +1,7 @@ #include "_core.h" ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_acd2010201c45858a38838c8a926f909)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_response_data; -::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_46017080d9d753e2b9370e2cabcf7b67)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_explanatory_data; +::statiskit::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_46017080d9d753e2b9370e2cabcf7b67)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_explanatory_data; ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_08e5dd31ebcf58bd810a563a8a261ed1)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::get_distribution; class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::*method_pointer_3452e2874d385bb4be30440e8e655f7c)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::copy; @@ -13,7 +13,7 @@ void wrapper_22af95e725215bc9b21db076f5deefd7(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > >::Type > class_22af95e725215bc9b21db076f5deefd7(module, "_ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7", ""); class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< >()); - class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * >()); + class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const *, ::statiskit::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::distribution_type const * >()); class_22af95e725215bc9b21db076f5deefd7.def(pybind11::init< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > const & >()); class_22af95e725215bc9b21db076f5deefd7.def("get_response_data", method_pointer_acd2010201c45858a38838c8a926f909, pybind11::return_value_policy::reference_internal, ""); class_22af95e725215bc9b21db076f5deefd7.def("get_explanatory_data", method_pointer_46017080d9d753e2b9370e2cabcf7b67, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp index 393646af..c78cb5ba 100644 --- a/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp +++ b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_1cabfd70838454d7aee7dfe3212cd270; + virtual return_type_1cabfd70838454d7aee7dfe3212cd270 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1cabfd70838454d7aee7dfe3212cd270, class_type, copy, ); }; + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp b/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp index e77125b1..bb8c1529 100644 --- a/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp +++ b/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp index a9127acf..0bcc60d4 100644 --- a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp +++ b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateData::UnivariateData; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - - public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp index d4c92874..791e6ee4 100644 --- a/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp +++ b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp @@ -9,14 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_1b7692108f7453079301163a379b4ba6; + virtual return_type_1b7692108f7453079301163a379b4ba6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1b7692108f7453079301163a379b4ba6, class_type, copy, ); }; typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; + virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp index 5a3ccb0e..fe49b8ea 100644 --- a/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp +++ b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_7d584df28f0f5117a57a488efd306b17; + virtual return_type_7d584df28f0f5117a57a488efd306b17 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7d584df28f0f5117a57a488efd306b17, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp index c34788a6..699b4104 100644 --- a/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp +++ b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_9c62bc9b42a05be5983083c5bdc5fc5c; + virtual return_type_9c62bc9b42a05be5983083c5bdc5fc5c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9c62bc9b42a05be5983083c5bdc5fc5c, class_type, copy, ); }; typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp index 1164f216..c145e865 100644 --- a/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp +++ b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp @@ -9,24 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_176a3c3dda2b546b865e07a5120aa54c; + virtual return_type_176a3c3dda2b546b865e07a5120aa54c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_176a3c3dda2b546b865e07a5120aa54c, class_type, copy, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; + virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; + typedef double return_type_852d458d7fba5b81b3cae095814406be; + typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; + virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; + typedef double return_type_2c40379c66475e45840820e5dddd4293; + typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; + virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; + typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; + virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp index b1f3050d..75339314 100644 --- a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp +++ b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistribution::CategoricalUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp index acf00561..3d718c69 100644 --- a/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp +++ b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_c976d20b0fea521da7eae4d4b0983573; + virtual return_type_c976d20b0fea521da7eae4d4b0983573 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c976d20b0fea521da7eae4d4b0983573, class_type, copy, ); }; typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp b/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp index d0e47a7a..6fab97f9 100644 --- a/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp +++ b/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_977e18c8152857d2a7ccb0d2d4dd53dd; + virtual return_type_977e18c8152857d2a7ccb0d2d4dd53dd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_977e18c8152857d2a7ccb0d2d4dd53dd, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp index ef1a920e..1c52457b 100644 --- a/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp +++ b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp @@ -9,31 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f0f3872021175d0facc2681f463081d3; + virtual return_type_f0f3872021175d0facc2681f463081d3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f0f3872021175d0facc2681f463081d3, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; - - public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp index 305d1a5e..afc9cd98 100644 --- a/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp +++ b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::Optimization< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp index 43b7f0a5..85ff4016 100644 --- a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp +++ b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistribution::DiscreteMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp index 9d02ee8f..01029e71 100644 --- a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp +++ b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistribution::DiscreteMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp index ccf385c2..5c1ca8fa 100644 --- a/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp +++ b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp @@ -9,14 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_5bcb31ba40635d31a0cb6117a93ffc54; + virtual return_type_5bcb31ba40635d31a0cb6117a93ffc54 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5bcb31ba40635d31a0cb6117a93ffc54, class_type, copy, ); }; typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; + virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp index 0ad85879..09685440 100644 --- a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp +++ b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistribution::DiscreteUnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp index c50a5d7e..b4a6c528 100644 --- a/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp +++ b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_fdde2e93ceb25cc39ecf73ee76e0cf48; + virtual return_type_fdde2e93ceb25cc39ecf73ee76e0cf48 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_fdde2e93ceb25cc39ecf73ee76e0cf48, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp b/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp index 5a4f8e2c..a0f42702 100644 --- a/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp +++ b/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp @@ -4,7 +4,7 @@ void wrapper_37cab44615185125b12b8246ddcfeae0(pybind11::module& module) { - pybind11::enum_< ::std::ios_base::event > enum_37cab44615185125b12b8246ddcfeae0(module, "event"); + pybind11::enum_< enum ::std::ios_base::event > enum_37cab44615185125b12b8246ddcfeae0(module, "event"); enum_37cab44615185125b12b8246ddcfeae0.value("ERASE_EVENT", ::std::ios_base::erase_event); enum_37cab44615185125b12b8246ddcfeae0.value("IMBUE_EVENT", ::std::ios_base::imbue_event); enum_37cab44615185125b12b8246ddcfeae0.value("COPYFMT_EVENT", ::std::ios_base::copyfmt_event); diff --git a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp index 0bcaee39..92240d36 100644 --- a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp +++ b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateData::Generator::Generator; - - public: typedef struct ::statiskit::UnivariateData::Generator & return_type_de48c02aa8db50929f6a3f8784c2ec4d; virtual return_type_de48c02aa8db50929f6a3f8784c2ec4d operator++() override { PYBIND11_OVERLOAD_PURE(return_type_de48c02aa8db50929f6a3f8784c2ec4d, class_type, operator++, ); }; - - public: typedef bool return_type_ef9b151802e1543cb7c98d1c40761fbe; virtual return_type_ef9b151802e1543cb7c98d1c40761fbe is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_ef9b151802e1543cb7c98d1c40761fbe, class_type, is_valid, ); }; - - public: typedef double return_type_3ff5d6aeae9b500daee4500fa6bcd9d2; virtual return_type_3ff5d6aeae9b500daee4500fa6bcd9d2 get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_3ff5d6aeae9b500daee4500fa6bcd9d2, class_type, get_weight, ); }; - - public: typedef struct ::statiskit::UnivariateEvent const * return_type_54decb3c8cd45099a4ee49e01abbc27d; virtual return_type_54decb3c8cd45099a4ee49e01abbc27d get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_54decb3c8cd45099a4ee49e01abbc27d, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp index 982c71d9..b510e311 100644 --- a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp +++ b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp @@ -4,7 +4,7 @@ void wrapper_3a6a49079d1b5e9bb815105374e2fc93(pybind11::module& module) { - pybind11::enum_< ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); + pybind11::enum_< enum ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); enum_3a6a49079d1b5e9bb815105374e2fc93.value("TREATMENT", ::statiskit::TREATMENT); enum_3a6a49079d1b5e9bb815105374e2fc93.value("DEVIATION", ::statiskit::DEVIATION); enum_3a6a49079d1b5e9bb815105374e2fc93.value("CUMULATIVE", ::statiskit::CUMULATIVE); diff --git a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp index 8ba15c7f..55ccca5a 100644 --- a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp +++ b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::DiscreteEvent::DiscreteEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp index 6418e8cb..eb2c2580 100644 --- a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp +++ b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::Schedule::Schedule; - - public: typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_7b1ce88d04fc5ffb8e9402122cfa4883; virtual return_type_7b1ce88d04fc5ffb8e9402122cfa4883 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7b1ce88d04fc5ffb8e9402122cfa4883, class_type, copy, ); }; - - public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp index d677334f..06c91527 100644 --- a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp +++ b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSelector::SlopeHeuristicSelector; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_b99a360f77cf53eb8f24401404499387; virtual return_type_b99a360f77cf53eb8f24401404499387 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_b99a360f77cf53eb8f24401404499387, class_type, copy, ); }; - - public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp index 83fc764c..c7b40102 100644 --- a/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp +++ b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4579508d23c3536f82668a24b2842db4; + virtual return_type_4579508d23c3536f82668a24b2842db4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4579508d23c3536f82668a24b2842db4, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp index 64e2e1c6..b459bd1b 100644 --- a/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp +++ b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp @@ -9,14 +9,15 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_821c6dc1536755f6ab282e83be065e39; + virtual return_type_821c6dc1536755f6ab282e83be065e39 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_821c6dc1536755f6ab282e83be065e39, class_type, copy, ); }; typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f29c0026008c59ff9139a939b30969fd; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::data_type const & param_f29c0026008c59ff9139a939b30969fd_0_type; + virtual return_type_f29c0026008c59ff9139a939b30969fd operator()(param_f29c0026008c59ff9139a939b30969fd_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f29c0026008c59ff9139a939b30969fd, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; diff --git a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp index 64e75559..08225f4a 100644 --- a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp +++ b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp @@ -4,7 +4,7 @@ void wrapper_4091fe7ebaea5a58bb732192d7661dce(pybind11::module& module) { - pybind11::enum_< ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); + pybind11::enum_< enum ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); enum_4091fe7ebaea5a58bb732192d7661dce.value("CATEGORICAL", ::statiskit::outcome_type::CATEGORICAL); enum_4091fe7ebaea5a58bb732192d7661dce.value("DISCRETE", ::statiskit::outcome_type::DISCRETE); enum_4091fe7ebaea5a58bb732192d7661dce.value("CONTINUOUS", ::statiskit::outcome_type::CONTINUOUS); diff --git a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp index 36ecf9e8..572241f9 100644 --- a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp +++ b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp index 94cb48b3..ab2759fc 100644 --- a/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp +++ b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_5d3f64c7b82a51eaa8309b86131106e6; + virtual return_type_5d3f64c7b82a51eaa8309b86131106e6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5d3f64c7b82a51eaa8309b86131106e6, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp index f64a0db9..aa0abd35 100644 --- a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp +++ b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::MultivariateDistribution::MultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp index 6ec220a3..88855857 100644 --- a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp +++ b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp @@ -9,21 +9,15 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; - - protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; - typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; }; @@ -46,6 +40,6 @@ void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module) pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > class_4637f9b5c7175ff0880fd325a6eca119(module, "Estimator", ""); class_4637f9b5c7175ff0880fd325a6eca119.def(pybind11::init< >()); class_4637f9b5c7175ff0880fd325a6eca119.def("__call__", method_pointer_45ab5c9717535df895abfb6127f37c74, ""); - class_4637f9b5c7175ff0880fd325a6eca119.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_4637f9b5c7175ff0880fd325a6eca119.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp index e0a84fb2..f7f18697 100644 --- a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp +++ b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_8f20422aab135f9fb601488df3d82cfa; virtual return_type_8f20422aab135f9fb601488df3d82cfa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8f20422aab135f9fb601488df3d82cfa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp index 54ab9298..53197069 100644 --- a/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp +++ b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_1306ea6a26b758598edecb2c09123293; + virtual return_type_1306ea6a26b758598edecb2c09123293 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1306ea6a26b758598edecb2c09123293, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp b/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp deleted file mode 100644 index b6810aa8..00000000 --- a/src/py/wrapper/wrapper_4e2cec23d01552a2b35a809a21ed47b7.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_4e2cec23d01552a2b35a809a21ed47b7(pybind11::module& module) -{ - - pybind11::class_::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_4e2cec23d01552a2b35a809a21ed47b7(module, "_PolymorphicCopy_4e2cec23d01552a2b35a809a21ed47b7", ""); - class_4e2cec23d01552a2b35a809a21ed47b7.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp index f760711d..1bbf1be8 100644 --- a/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp +++ b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_8a436d12ab5b5208bc42aeddda52b0a5; + virtual return_type_8a436d12ab5b5208bc42aeddda52b0a5 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8a436d12ab5b5208bc42aeddda52b0a5, class_type, copy, ); }; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp index 3abe6574..cb3f9e08 100644 --- a/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp +++ b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_462d8e5c1a2858b99c356b0a0f27f99b; + virtual return_type_462d8e5c1a2858b99c356b0a0f27f99b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_462d8e5c1a2858b99c356b0a0f27f99b, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp index 3cf3f392..4143eef2 100644 --- a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp +++ b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSolver::SlopeHeuristicSolver; - - public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp index afbfda4f..489f8a5a 100644 --- a/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp +++ b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_ffce55afea5f570493a51fd8162ce484; + virtual return_type_ffce55afea5f570493a51fd8162ce484 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffce55afea5f570493a51fd8162ce484, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp b/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp index 447b3e09..f1e2c2eb 100644 --- a/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp +++ b/src/py/wrapper/wrapper_53a566eea7215e8b945cbdedf3acf7bc.cpp @@ -1,7 +1,7 @@ #include "_core.h" ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_603e265f5b7357c1bf35779d8e0966d0)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_response_data; -::statiskit::ConditionalDistributionEstimation::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_a798b507f2875022ad305c6f9cef8d44)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_explanatory_data; +::statiskit::explanatory_data_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_a798b507f2875022ad305c6f9cef8d44)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_explanatory_data; ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::distribution_type const * (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_3571a20cb0aa59659ed80d219d7f0229)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::get_distribution; class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::*method_pointer_9abc63382e6f5f8db5caa5876d667e65)()const= &::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::copy; @@ -13,7 +13,7 @@ void wrapper_53a566eea7215e8b945cbdedf3acf7bc(pybind11::module& module) pybind11::class_, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > >::Type > class_53a566eea7215e8b945cbdedf3acf7bc(module, "_ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc", ""); class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< >()); - class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const *, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::distribution_type const * >()); + class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const *, ::statiskit::explanatory_data_type const *, ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::distribution_type const * >()); class_53a566eea7215e8b945cbdedf3acf7bc.def(pybind11::init< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > const & >()); class_53a566eea7215e8b945cbdedf3acf7bc.def("get_response_data", method_pointer_603e265f5b7357c1bf35779d8e0966d0, pybind11::return_value_policy::reference_internal, ""); class_53a566eea7215e8b945cbdedf3acf7bc.def("get_explanatory_data", method_pointer_a798b507f2875022ad305c6f9cef8d44, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp index 99dfb5cc..7f0196c3 100644 --- a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp +++ b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp @@ -9,44 +9,30 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistribution::ContinuousUnivariateDistribution; - - public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp index 6f8f7d61..8e7282fe 100644 --- a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp +++ b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateLocationEstimation::MultivariateLocationEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_cb99710039d950ecbfd26547709627ec; virtual return_type_cb99710039d950ecbfd26547709627ec copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_cb99710039d950ecbfd26547709627ec, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp index 3ee82836..42048f66 100644 --- a/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp +++ b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a205addf42fc5a04a93a767ffca67641; + virtual return_type_a205addf42fc5a04a93a767ffca67641 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a205addf42fc5a04a93a767ffca67641, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp b/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp index bf180c2d..7c82f97e 100644 --- a/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp +++ b/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_090805dc0a4a5d56a6db0e2707d06cc6; + virtual return_type_090805dc0a4a5d56a6db0e2707d06cc6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_090805dc0a4a5d56a6db0e2707d06cc6, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp index 169155c2..323667d0 100644 --- a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp +++ b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp @@ -9,44 +9,26 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::MultivariateData >::WeightedData; - - public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; - - public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp index 8c86dd02..c438e833 100644 --- a/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp +++ b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp @@ -9,23 +9,17 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_84c0dfb9da60545c87cc3c8bf25dc369; + virtual return_type_84c0dfb9da60545c87cc3c8bf25dc369 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84c0dfb9da60545c87cc3c8bf25dc369, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp index 41b01089..77e30a1d 100644 --- a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp +++ b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistribution::ContinuousMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp index 240b7a0a..60239b35 100644 --- a/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp +++ b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_4964b63570205b63b4fb2d0b515c4c1c; + virtual return_type_4964b63570205b63b4fb2d0b515c4c1c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4964b63570205b63b4fb2d0b515c4c1c, class_type, copy, ); }; typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp index 8a18de39..3eda216a 100644 --- a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp +++ b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp @@ -9,16 +9,16 @@ namespace autowig public: using ::statiskit::SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver; - - protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - - public: + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; + typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; + typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; + virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp index 86aed49c..634096d3 100644 --- a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp +++ b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp @@ -9,21 +9,15 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::UnivariateData >::WeightedData; - - public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - - public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; + virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; - - public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp index 15d0e32a..c7a76a05 100644 --- a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp +++ b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteSampleSpace::DiscreteSampleSpace; - - public: + typedef enum ::statiskit::ordering_type return_type_1c79f8878a485dcf8ba547f4277ceac9; + virtual return_type_1c79f8878a485dcf8ba547f4277ceac9 get_ordering() const override { PYBIND11_OVERLOAD(return_type_1c79f8878a485dcf8ba547f4277ceac9, class_type, get_ordering, ); }; + typedef enum ::statiskit::outcome_type return_type_ef088c60e12c52ca84b4af897e2a354b; + virtual return_type_ef088c60e12c52ca84b4af897e2a354b get_outcome() const override { PYBIND11_OVERLOAD(return_type_ef088c60e12c52ca84b4af897e2a354b, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp index 5a58cff4..ec3ea8cc 100644 --- a/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp +++ b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp @@ -9,14 +9,10 @@ namespace autowig public: using ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::Estimator; - - protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; - typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; }; @@ -39,6 +35,6 @@ void wrapper_663730845d925082a43337bf446ebf00(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator >::Type > class_663730845d925082a43337bf446ebf00(module, "Estimator", ""); class_663730845d925082a43337bf446ebf00.def(pybind11::init< >()); class_663730845d925082a43337bf446ebf00.def("copy", method_pointer_e0f51277c2d15a7b848e5e67281ff6ad, ""); - class_663730845d925082a43337bf446ebf00.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_663730845d925082a43337bf446ebf00.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp b/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp deleted file mode 100644 index 008fef8e..00000000 --- a/src/py/wrapper/wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_66d9b98a90ce5f338f4cf2e1c0e583ae(pybind11::module& module) -{ - - pybind11::class_::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_66d9b98a90ce5f338f4cf2e1c0e583ae(module, "_PolymorphicCopy_66d9b98a90ce5f338f4cf2e1c0e583ae", ""); - class_66d9b98a90ce5f338f4cf2e1c0e583ae.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp index 4a94cc5e..9415dd5a 100644 --- a/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp +++ b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_85d9c84fe9395627869345d040fd9d63; + virtual return_type_85d9c84fe9395627869345d040fd9d63 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_85d9c84fe9395627869345d040fd9d63, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp index 33bf8930..d71b3477 100644 --- a/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp +++ b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_9e2743a59905503485961e2a474a8e16; + virtual return_type_9e2743a59905503485961e2a474a8e16 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9e2743a59905503485961e2a474a8e16, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp index 6abcf4cd..dc9a5cda 100644 --- a/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp +++ b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp @@ -9,34 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_5c6496bba845503082fffedd7b99c821; + virtual return_type_5c6496bba845503082fffedd7b99c821 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5c6496bba845503082fffedd7b99c821, class_type, copy, ); }; + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp index 4fd41133..a2c0b165 100644 --- a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp +++ b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::ContinuousEvent::ContinuousEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp b/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp deleted file mode 100644 index 19fa276f..00000000 --- a/src/py/wrapper/wrapper_6ccbb61746f857cfafd8b031a8f6a6d9.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_6ccbb61746f857cfafd8b031a8f6a6d9(pybind11::module& module) -{ - - pybind11::class_::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_6ccbb61746f857cfafd8b031a8f6a6d9(module, "_PolymorphicCopy_6ccbb61746f857cfafd8b031a8f6a6d9", ""); - class_6ccbb61746f857cfafd8b031a8f6a6d9.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp index 08ee462b..5a9e8664 100644 --- a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp +++ b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistribution::MultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp index 46e365cf..acc2c8f9 100644 --- a/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp +++ b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_874aa590fc575a5e8a3463af37a77a68; + virtual return_type_874aa590fc575a5e8a3463af37a77a68 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_874aa590fc575a5e8a3463af37a77a68, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp index fdb3ea5a..e1a629b5 100644 --- a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp +++ b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp index 15b5b465..60b89eed 100644 --- a/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp +++ b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp @@ -9,11 +9,27 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_cdf825dba6c553caaf410340cf6775ff; + virtual return_type_cdf825dba6c553caaf410340cf6775ff copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cdf825dba6c553caaf410340cf6775ff, class_type, copy, ); }; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp index 0768fe09..118402b8 100644 --- a/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp +++ b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_02d924ef828a5b9da113dad49b729d1c; + virtual return_type_02d924ef828a5b9da113dad49b729d1c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02d924ef828a5b9da113dad49b729d1c, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp b/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp index a7d6d009..8f2e64eb 100644 --- a/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp +++ b/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_571c021b9ca953d0903ab42c3a82d413; + virtual return_type_571c021b9ca953d0903ab42c3a82d413 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_571c021b9ca953d0903ab42c3a82d413, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp index bad668d2..30b5654f 100644 --- a/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp +++ b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_24f981130a195fbe9daa0a87630d8ddb; + virtual return_type_24f981130a195fbe9daa0a87630d8ddb copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_24f981130a195fbe9daa0a87630d8ddb, class_type, copy, ); }; typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp index 036a516d..559647b9 100644 --- a/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp +++ b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp @@ -9,13 +9,11 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_be2215e91b59551eb83533d58f2bd24c; + virtual return_type_be2215e91b59551eb83533d58f2bd24c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_be2215e91b59551eb83533d58f2bd24c, class_type, copy, ); }; typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; - - public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp index 21b52498..e7cb48eb 100644 --- a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp +++ b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp @@ -9,27 +9,17 @@ namespace autowig public: using ::statiskit::SingularDistribution::SingularDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; - - public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp index db9d815c..1793c4bd 100644 --- a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp +++ b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp @@ -8,7 +8,6 @@ void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > > class_779c0e94601b5238932a999e37acfdea(module, "DiscreteUnivariateFrequencyDistributionEstimator", ""); - class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< >()); class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp index c5987a4b..f9eeabce 100644 --- a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp +++ b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp @@ -4,7 +4,7 @@ void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module) { - pybind11::enum_< ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); + pybind11::enum_< enum ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); enum_78fa594811935c2ea4b4905d733f141f.value("INFERIOR", ::statiskit::size_error::inferior); enum_78fa594811935c2ea4b4905d733f141f.value("EQUAL", ::statiskit::size_error::equal); enum_78fa594811935c2ea4b4905d733f141f.value("SUPERIOR", ::statiskit::size_error::superior); diff --git a/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp index 6a769c6c..5b84f465 100644 --- a/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp +++ b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_2e691ddfea045eee8249b60108c21cd7; + virtual return_type_2e691ddfea045eee8249b60108c21cd7 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e691ddfea045eee8249b60108c21cd7, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; + virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp index 1ffaae2a..41acba0f 100644 --- a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp +++ b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp @@ -9,20 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistribution::UnivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; - - public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp index 6a7c3be5..1f4df5ce 100644 --- a/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp +++ b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp @@ -9,14 +9,10 @@ namespace autowig public: using ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::Estimator; - - protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; - typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; }; @@ -39,6 +35,6 @@ void wrapper_7f05968a172a528da4c7ae7e40d9faa7(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator >::Type > class_7f05968a172a528da4c7ae7e40d9faa7(module, "Estimator", ""); class_7f05968a172a528da4c7ae7e40d9faa7.def(pybind11::init< >()); class_7f05968a172a528da4c7ae7e40d9faa7.def("copy", method_pointer_030642c36da6500fb2e89aacc274d46b, ""); - class_7f05968a172a528da4c7ae7e40d9faa7.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_7f05968a172a528da4c7ae7e40d9faa7.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp index 65fdff7b..a813635f 100644 --- a/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp +++ b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp @@ -9,14 +9,15 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_d6a2183003c150cb8e8dc0afa460d883; + virtual return_type_d6a2183003c150cb8e8dc0afa460d883 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d6a2183003c150cb8e8dc0afa460d883, class_type, copy, ); }; typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ff4ec0c47c815d608922bfa62bf7748e; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::data_type const & param_ff4ec0c47c815d608922bfa62bf7748e_0_type; + virtual return_type_ff4ec0c47c815d608922bfa62bf7748e operator()(param_ff4ec0c47c815d608922bfa62bf7748e_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ff4ec0c47c815d608922bfa62bf7748e, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; diff --git a/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp index 83686a5b..e0145bbe 100644 --- a/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp +++ b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp @@ -9,31 +9,25 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_d5fbb725b4d8500ab5c0b2cf81433adc; + virtual return_type_d5fbb725b4d8500ab5c0b2cf81433adc copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d5fbb725b4d8500ab5c0b2cf81433adc, class_type, copy, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp b/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp index e35fcc8a..8195590c 100644 --- a/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp +++ b/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_cdd36c187228509e9e1dd6d09970aa6e; + virtual return_type_cdd36c187228509e9e1dd6d09970aa6e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cdd36c187228509e9e1dd6d09970aa6e, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp index 0938120a..f8127cb6 100644 --- a/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp +++ b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_de5ae877a6785d2b99766b9f891dfcca; + virtual return_type_de5ae877a6785d2b99766b9f891dfcca copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de5ae877a6785d2b99766b9f891dfcca, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp index 9e53c929..39152512 100644 --- a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp +++ b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::UnivariateDispersionEstimation; - - public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_0b82141bcbce5248908bd378832e2a9c; virtual return_type_0b82141bcbce5248908bd378832e2a9c copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0b82141bcbce5248908bd378832e2a9c, class_type, copy, ); }; - - public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp index e9108e7d..475c50e3 100644 --- a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp +++ b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp @@ -9,35 +9,21 @@ namespace autowig public: using ::statiskit::MultivariateData::MultivariateData; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; - - public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp b/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp index 00bae202..fd876457 100644 --- a/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp +++ b/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_e4dc11c465c05c8abc00f799e884f29a; + virtual return_type_e4dc11c465c05c8abc00f799e884f29a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e4dc11c465c05c8abc00f799e884f29a, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp index 1259cdd2..413db8c1 100644 --- a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp +++ b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp @@ -9,21 +9,15 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; - - protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; - typedef ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; }; @@ -46,6 +40,6 @@ void wrapper_8dcb38f525415f5eb16b5b180a314eab(pybind11::module& module) pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > class_8dcb38f525415f5eb16b5b180a314eab(module, "Estimator", ""); class_8dcb38f525415f5eb16b5b180a314eab.def(pybind11::init< >()); class_8dcb38f525415f5eb16b5b180a314eab.def("__call__", method_pointer_2e84d0444d9f5eb29e764d81a82e587c, ""); - class_8dcb38f525415f5eb16b5b180a314eab.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::ConditionalDistributionEstimation::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + class_8dcb38f525415f5eb16b5b180a314eab.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp index 958430c3..af4a96ee 100644 --- a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp +++ b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp @@ -9,20 +9,17 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; - - protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_284f0f75e18351b794373c95605f5747; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::data_type const & param_284f0f75e18351b794373c95605f5747_0_type; + virtual return_type_284f0f75e18351b794373c95605f5747 operator()(param_284f0f75e18351b794373c95605f5747_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_284f0f75e18351b794373c95605f5747, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp index ff78ada2..a10ca1f6 100644 --- a/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp +++ b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_1ba565e6e75451a89a2af6b58733c2d6; + virtual return_type_1ba565e6e75451a89a2af6b58733c2d6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1ba565e6e75451a89a2af6b58733c2d6, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp index d8543eef..1568d5d3 100644 --- a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp +++ b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp @@ -9,29 +9,17 @@ namespace autowig public: using ::statiskit::MultivariateData::Generator::Generator; - - public: typedef struct ::statiskit::MultivariateData::Generator & return_type_63b969fdfda0571a865b8fd09d42ff6f; virtual return_type_63b969fdfda0571a865b8fd09d42ff6f operator++() override { PYBIND11_OVERLOAD_PURE(return_type_63b969fdfda0571a865b8fd09d42ff6f, class_type, operator++, ); }; - - public: typedef bool return_type_d3e757b7d5b05c689e6686d4856df74c; virtual return_type_d3e757b7d5b05c689e6686d4856df74c is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_d3e757b7d5b05c689e6686d4856df74c, class_type, is_valid, ); }; - - public: typedef double return_type_27f1417576dc5f07946c8258dad0fd1e; virtual return_type_27f1417576dc5f07946c8258dad0fd1e get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_27f1417576dc5f07946c8258dad0fd1e, class_type, get_weight, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; - - public: typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; - - public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp index 70f67f52..a5dda188 100644 --- a/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp +++ b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_19c821bfc1c45716b047014bf2276d5b; + virtual return_type_19c821bfc1c45716b047014bf2276d5b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_19c821bfc1c45716b047014bf2276d5b, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp index 163fcf16..ba9de99c 100644 --- a/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp +++ b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp index 846c0556..4c634d09 100644 --- a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp +++ b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_fd8c28a661ec58aba7edb069108b96b4; virtual return_type_fd8c28a661ec58aba7edb069108b96b4 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_fd8c28a661ec58aba7edb069108b96b4, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp b/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp index b7e14188..0bb07773 100644 --- a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp +++ b/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp @@ -1,6 +1,6 @@ #include "_core.h" -struct ::statiskit::UnivariateDistribution const * (::statiskit::SlopeHeuristicSelection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_8204f20a4c0f58e1adcc7dacf271e202)(::statiskit::Index const &)const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_proposal; +struct ::statiskit::ContinuousUnivariateDistribution const * (::statiskit::SlopeHeuristicSelection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_8204f20a4c0f58e1adcc7dacf271e202)(::statiskit::Index const &)const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_proposal; namespace autowig { } diff --git a/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp index 63b757fe..d3a6755b 100644 --- a/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp +++ b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_ed04a062d02a5efa9fbc74dde6ee9358; + virtual return_type_ed04a062d02a5efa9fbc74dde6ee9358 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ed04a062d02a5efa9fbc74dde6ee9358, class_type, copy, ); }; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp index ac43b50f..4caab1cc 100644 --- a/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp +++ b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp index bac6fde3..f1e2fbe4 100644 --- a/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp +++ b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e6c1575ab70f5abaa2d477d12b3ec7ff; + virtual return_type_e6c1575ab70f5abaa2d477d12b3ec7ff copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e6c1575ab70f5abaa2d477d12b3ec7ff, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp index 5e1269dc..79b749ae 100644 --- a/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp +++ b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_5a6b8c33bc2a51f9946990fb646f8b2d; + virtual return_type_5a6b8c33bc2a51f9946990fb646f8b2d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5a6b8c33bc2a51f9946990fb646f8b2d, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp index fe2687c7..9a12d96a 100644 --- a/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp +++ b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0bf6e0a36a8e58f292cfa17694a97874; + virtual return_type_0bf6e0a36a8e58f292cfa17694a97874 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0bf6e0a36a8e58f292cfa17694a97874, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp index 9fb9b746..f6c12027 100644 --- a/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp +++ b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp @@ -9,14 +9,15 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_729600d2bf7d53e2ab4a8668571bf4c1; + virtual return_type_729600d2bf7d53e2ab4a8668571bf4c1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_729600d2bf7d53e2ab4a8668571bf4c1, class_type, copy, ); }; typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_284f0f75e18351b794373c95605f5747; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::data_type const & param_284f0f75e18351b794373c95605f5747_0_type; + virtual return_type_284f0f75e18351b794373c95605f5747 operator()(param_284f0f75e18351b794373c95605f5747_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_284f0f75e18351b794373c95605f5747, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; diff --git a/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp index 691ae1bd..29eedba8 100644 --- a/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp +++ b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_6f8d19004461501ab782f1d329f7f359; + virtual return_type_6f8d19004461501ab782f1d329f7f359 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6f8d19004461501ab782f1d329f7f359, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; + virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp index 3fea9b25..04e0db04 100644 --- a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp +++ b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp @@ -9,17 +9,11 @@ namespace autowig public: using ::statiskit::MultivariateEvent::MultivariateEvent; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; - - public: typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; - - public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp index bb72cd04..fcb2e65f 100644 --- a/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp +++ b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_a9cf793dd2c45d07b722097c2a05e58d; + virtual return_type_a9cf793dd2c45d07b722097c2a05e58d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9cf793dd2c45d07b722097c2a05e58d, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp index 7195dcde..fe88fae1 100644 --- a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp +++ b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp @@ -9,13 +9,25 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::CategoricalUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp index 25071bdd..9138dfeb 100644 --- a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp +++ b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp @@ -9,25 +9,15 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistribution::CategoricalMultivariateConditionalDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; - - public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; - - public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; - - public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp index 375751a8..996bdb06 100644 --- a/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp +++ b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e569843d13fa59ddb84b8136bd82d196; + virtual return_type_e569843d13fa59ddb84b8136bd82d196 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e569843d13fa59ddb84b8136bd82d196, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp index b996857e..26ca7fe0 100644 --- a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp +++ b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp @@ -8,18 +8,12 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp index 052d01ec..caa9087e 100644 --- a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp +++ b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousSampleSpace::ContinuousSampleSpace; - - public: + typedef enum ::statiskit::ordering_type return_type_dd35b002873d50f698c1c0f5e685daf1; + virtual return_type_dd35b002873d50f698c1c0f5e685daf1 get_ordering() const override { PYBIND11_OVERLOAD(return_type_dd35b002873d50f698c1c0f5e685daf1, class_type, get_ordering, ); }; + typedef enum ::statiskit::outcome_type return_type_ce443c4aefe55cf5b2debe02d45c58ed; + virtual return_type_ce443c4aefe55cf5b2debe02d45c58ed get_outcome() const override { PYBIND11_OVERLOAD(return_type_ce443c4aefe55cf5b2debe02d45c58ed, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; - - public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp index 0d4f78eb..fe6c5505 100644 --- a/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp +++ b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_cbbca6699ce05d0ea9488bf5a1a5e645; + virtual return_type_cbbca6699ce05d0ea9488bf5a1a5e645 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cbbca6699ce05d0ea9488bf5a1a5e645, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp index 2a2fd7b1..87ddc6f3 100644 --- a/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp +++ b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp @@ -4,7 +4,7 @@ void wrapper_b43d5bcd7fb95832845cba669051438f(pybind11::module& module) { - pybind11::enum_< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type > enum_b43d5bcd7fb95832845cba669051438f(module, "criterion_type"); + pybind11::enum_< enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type > enum_b43d5bcd7fb95832845cba669051438f(module, "criterion_type"); enum_b43d5bcd7fb95832845cba669051438f.value("AIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AIC); enum_b43d5bcd7fb95832845cba669051438f.value("AI_CC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AICc); enum_b43d5bcd7fb95832845cba669051438f.value("BIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::BIC); diff --git a/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp index 1898923f..29f4a5f3 100644 --- a/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp +++ b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, ::statiskit::SlopeHeuristicSolver >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_b65074665462553d8a58a6d85d8dfdd1; + virtual return_type_b65074665462553d8a58a6d85d8dfdd1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b65074665462553d8a58a6d85d8dfdd1, class_type, copy, ); }; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp index 48070fd2..45164b5d 100644 --- a/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp +++ b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_ea4f45eb12b9564bb4055f802bfda341; + virtual return_type_ea4f45eb12b9564bb4055f802bfda341 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ea4f45eb12b9564bb4055f802bfda341, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp index 86f2c472..68718763 100644 --- a/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp +++ b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_caf4673a3bb75af5b798bdbb9db8a10b; + virtual return_type_caf4673a3bb75af5b798bdbb9db8a10b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_caf4673a3bb75af5b798bdbb9db8a10b, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp index b0908ba0..3107081b 100644 --- a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp +++ b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp @@ -8,7 +8,6 @@ void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > > class_b6605ca6549d54eba3c614d5b6a29235(module, "NominalDistributionEstimator", ""); - class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< >()); class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< class ::statiskit::NominalDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp b/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp index a23cb137..0120fcb8 100644 --- a/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp +++ b/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp index b6bf227b..6a3d3bd5 100644 --- a/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp +++ b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp @@ -9,18 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp index 6f0e5f0a..21543d32 100644 --- a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp +++ b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp @@ -8,7 +8,6 @@ void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > > class_bc200d01ce665d1f9024e1ee1e59a5c5(module, "ContinuousUnivariateFrequencyDistributionEstimator", ""); - class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< >()); class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp index d6d8a4c9..944b03f3 100644 --- a/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp +++ b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp @@ -9,16 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_00dc14d2344551038bf30fab06a278a1; + virtual return_type_00dc14d2344551038bf30fab06a278a1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_00dc14d2344551038bf30fab06a278a1, class_type, copy, ); }; typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; - - public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp index b54837bc..5b8c132d 100644 --- a/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp +++ b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp @@ -9,31 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_54099ba6c0a15309b035d3d9e35a8f78; + virtual return_type_54099ba6c0a15309b035d3d9e35a8f78 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_54099ba6c0a15309b035d3d9e35a8f78, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; - - public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp index fc2b8657..f17e150e 100644 --- a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp +++ b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp @@ -9,26 +9,30 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >::UnivariateFrequencyDistribution; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; + virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; + typedef double return_type_852d458d7fba5b81b3cae095814406be; + typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; + virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; + typedef double return_type_2c40379c66475e45840820e5dddd4293; + typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; + virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; + typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; + virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp index f6e102c4..c85f820b 100644 --- a/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp +++ b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_34ea6bcbc8085acc8ac4d60edc5cd337; + virtual return_type_34ea6bcbc8085acc8ac4d60edc5cd337 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_34ea6bcbc8085acc8ac4d60edc5cd337, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp index aa186eb7..765c78ee 100644 --- a/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp +++ b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp @@ -9,14 +9,16 @@ namespace autowig public: using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::CriterionEstimator; - - public: + typedef double return_type_844181d50d9e567c896a1b3e4ae33115; + typedef struct ::statiskit::SingularDistribution const * param_844181d50d9e567c896a1b3e4ae33115_0_type; + typedef struct ::statiskit::MultivariateData const & param_844181d50d9e567c896a1b3e4ae33115_1_type; + virtual return_type_844181d50d9e567c896a1b3e4ae33115 scoring(param_844181d50d9e567c896a1b3e4ae33115_0_type param_0, param_844181d50d9e567c896a1b3e4ae33115_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_844181d50d9e567c896a1b3e4ae33115, class_type, scoring, param_0, param_1); }; + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_579b178acefc5660adf3ccb09fdbef9d; + virtual return_type_579b178acefc5660adf3ccb09fdbef9d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_579b178acefc5660adf3ccb09fdbef9d, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; @@ -25,6 +27,7 @@ namespace autowig class Publicist : public class_type { public: + using class_type::scoring; }; } diff --git a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp index c4ec39fe..39c3003a 100644 --- a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp +++ b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp @@ -9,26 +9,16 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistribution::CategoricalMultivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp index 77c678ea..6e126428 100644 --- a/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp +++ b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp @@ -9,8 +9,10 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_11748a94b8275545ae9616916b9f06c2; + virtual return_type_11748a94b8275545ae9616916b9f06c2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_11748a94b8275545ae9616916b9f06c2, class_type, copy, ); }; + typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; + virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp b/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp index ccf86998..007f3a21 100644 --- a/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp +++ b/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_ba7a0ab873c65a578155a29bb2499a13; + virtual return_type_ba7a0ab873c65a578155a29bb2499a13 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ba7a0ab873c65a578155a29bb2499a13, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp index 990a37d0..62364f50 100644 --- a/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp +++ b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_3b1255d2b09e573ab8ecbd0ac2ed228e; + virtual return_type_3b1255d2b09e573ab8ecbd0ac2ed228e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3b1255d2b09e573ab8ecbd0ac2ed228e, class_type, copy, ); }; typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp index 739e5d5d..cec81a51 100644 --- a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp +++ b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateLocationEstimation::UnivariateLocationEstimation; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_f62d06e83b8a572c85ec833896347ff2; virtual return_type_f62d06e83b8a572c85ec833896347ff2 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f62d06e83b8a572c85ec833896347ff2, class_type, copy, ); }; - - public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp b/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp index 9f5ed626..b907e095 100644 --- a/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp +++ b/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_2b9392ba394f5f1a8380d5bc47aa793e; + virtual return_type_2b9392ba394f5f1a8380d5bc47aa793e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2b9392ba394f5f1a8380d5bc47aa793e, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp index 42f29aaa..7e95767a 100644 --- a/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp +++ b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp @@ -8,18 +8,12 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp index d40b9ae2..21b1e672 100644 --- a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp +++ b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp @@ -9,12 +9,10 @@ namespace autowig public: using ::statiskit::CategoricalEvent::CategoricalEvent; - - public: + typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; + virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp index 92669cab..7d52f30a 100644 --- a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp +++ b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp @@ -9,35 +9,25 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistribution::CategoricalUnivariateDistribution; - - public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp index 0cd2868f..019ad51e 100644 --- a/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp +++ b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp @@ -9,11 +9,27 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_69451e4936b957e9855792dbfe747579; + virtual return_type_69451e4936b957e9855792dbfe747579 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_69451e4936b957e9855792dbfe747579, class_type, copy, ); }; + typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; + virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; + virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; + typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; + virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; + typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; + typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; + virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; + typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; + virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp index b3ef07d6..9aeb5f2b 100644 --- a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp +++ b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp @@ -9,12 +9,8 @@ namespace autowig public: using ::statiskit::UnivariateLocationEstimation::Estimator::Estimator; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_8b9c71aa21be519083da91720a92b999; virtual return_type_8b9c71aa21be519083da91720a92b999 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b9c71aa21be519083da91720a92b999, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp index 01621cac..e90714f7 100644 --- a/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp +++ b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp @@ -9,24 +9,32 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_d861988bc88e5e779fa44ad2563cbefa; + virtual return_type_d861988bc88e5e779fa44ad2563cbefa copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d861988bc88e5e779fa44ad2563cbefa, class_type, copy, ); }; + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; + virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; + typedef double return_type_e1babe464b835687aea3395298d710d6; + typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; + virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; + typedef double return_type_0c7621818b33548e866bb39bbb4e2157; + typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; + virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; + typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; + virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp index 21a2dd56..428d7857 100644 --- a/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp +++ b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_1a3445089485579aa46218835ae8c075; + virtual return_type_1a3445089485579aa46218835ae8c075 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1a3445089485579aa46218835ae8c075, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp index 76c248f3..c2a6ff25 100644 --- a/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp +++ b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp @@ -4,7 +4,7 @@ void wrapper_d8072eca33fe5d46a0b27a217a8dbc96(pybind11::module& module) { - pybind11::enum_< ::statiskit::censoring_type > enum_d8072eca33fe5d46a0b27a217a8dbc96(module, "censoring_type"); + pybind11::enum_< enum ::statiskit::censoring_type > enum_d8072eca33fe5d46a0b27a217a8dbc96(module, "censoring_type"); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("NONE", ::statiskit::censoring_type::NONE); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("CENSORED", ::statiskit::censoring_type::CENSORED); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("LEFT", ::statiskit::censoring_type::LEFT); diff --git a/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp index 187704db..9f301163 100644 --- a/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp +++ b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_70ce27be2cd75d67a2283b08634196cb; + virtual return_type_70ce27be2cd75d67a2283b08634196cb copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_70ce27be2cd75d67a2283b08634196cb, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp index d9a78658..2ce29f81 100644 --- a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp +++ b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp @@ -9,22 +9,14 @@ namespace autowig public: using ::statiskit::UnivariateDistribution::UnivariateDistribution; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef double return_type_e54dcb61962b537ca725a1f2230202dc; typedef struct ::statiskit::UnivariateEvent const * param_e54dcb61962b537ca725a1f2230202dc_0_type; typedef bool const & param_e54dcb61962b537ca725a1f2230202dc_1_type; virtual return_type_e54dcb61962b537ca725a1f2230202dc probability(param_e54dcb61962b537ca725a1f2230202dc_0_type param_0, param_e54dcb61962b537ca725a1f2230202dc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e54dcb61962b537ca725a1f2230202dc, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp index 0d68a169..80d3624c 100644 --- a/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp +++ b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp @@ -9,22 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_f17ecb90d14151edbab9cb55d1d60bb6; + virtual return_type_f17ecb90d14151edbab9cb55d1d60bb6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f17ecb90d14151edbab9cb55d1d60bb6, class_type, copy, ); }; typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; - - public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; - - public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; - - public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp index 60fe5de3..fae4c463 100644 --- a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp +++ b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp @@ -9,20 +9,17 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::Estimator; - - protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f29c0026008c59ff9139a939b30969fd; + typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::data_type const & param_f29c0026008c59ff9139a939b30969fd_0_type; + virtual return_type_f29c0026008c59ff9139a939b30969fd operator()(param_f29c0026008c59ff9139a939b30969fd_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f29c0026008c59ff9139a939b30969fd, class_type, operator(), param_0); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp index 971d5dd3..ab893a1a 100644 --- a/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp +++ b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp @@ -9,20 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >::PolymorphicCopy; - - protected: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_579b178acefc5660adf3ccb09fdbef9d; + virtual return_type_579b178acefc5660adf3ccb09fdbef9d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_579b178acefc5660adf3ccb09fdbef9d, class_type, copy, ); }; typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp b/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp index 88edded5..8b62d894 100644 --- a/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp +++ b/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_a9b3fe6023445b199d3e0affdbba4ff7; + virtual return_type_a9b3fe6023445b199d3e0affdbba4ff7 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9b3fe6023445b199d3e0affdbba4ff7, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp index 136a5270..eaa91afd 100644 --- a/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp +++ b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp @@ -9,31 +9,25 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_898747f61717504b99a5db375de961f9; + virtual return_type_898747f61717504b99a5db375de961f9 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_898747f61717504b99a5db375de961f9, class_type, copy, ); }; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; - - public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - - public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; - - public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - - public: + typedef double return_type_7126fc85886253648b85734c2202d73e; + typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; + typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; + virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp index 9a35c811..4fdf5799 100644 --- a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp +++ b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp @@ -9,16 +9,10 @@ namespace autowig public: using ::statiskit::UnivariateEvent::UnivariateEvent; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; - - public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; - - public: typedef enum ::statiskit::outcome_type return_type_68e98310906f5b1a8f388fded81a6acd; virtual return_type_68e98310906f5b1a8f388fded81a6acd get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_68e98310906f5b1a8f388fded81a6acd, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp index ddb16b46..1350cd84 100644 --- a/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp +++ b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4e3a159ed74a5d7eab2ad2234675eb82; + virtual return_type_4e3a159ed74a5d7eab2ad2234675eb82 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4e3a159ed74a5d7eab2ad2234675eb82, class_type, copy, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp index 2339cd6b..f8a1fbe0 100644 --- a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp +++ b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp @@ -9,36 +9,30 @@ namespace autowig public: using ::statiskit::BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution; - - public: + typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; + virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; - - public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; + virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; - - public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - - public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; - - public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; + typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; + typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; + virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp index a438a587..31e024a9 100644 --- a/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp +++ b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_350c37163a93559ca07485ee2b6fe75c; + virtual return_type_350c37163a93559ca07485ee2b6fe75c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_350c37163a93559ca07485ee2b6fe75c, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp index 7e91e357..b5d62ff1 100644 --- a/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp +++ b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e3498b10e5415f52b2480b5a9a098ccf; + virtual return_type_e3498b10e5415f52b2480b5a9a098ccf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e3498b10e5415f52b2480b5a9a098ccf, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp index 461a5ad0..60defad9 100644 --- a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp +++ b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp @@ -8,31 +8,19 @@ namespace autowig { public: - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::MultivariateSampleSpace > > return_type_40d149de873956828c7a7bb6efb1b291; virtual return_type_40d149de873956828c7a7bb6efb1b291 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_40d149de873956828c7a7bb6efb1b291, class_type, copy, ); }; - - public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_453c7ae8bd33563d9ea0317dca724475; typedef struct ::statiskit::MultivariateEvent const & param_453c7ae8bd33563d9ea0317dca724475_0_type; virtual return_type_453c7ae8bd33563d9ea0317dca724475 encode(param_453c7ae8bd33563d9ea0317dca724475_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_453c7ae8bd33563d9ea0317dca724475, class_type, encode, param_0); }; - - public: typedef ::statiskit::Index return_type_58045e2837b651c18e64ce6ac4e0be9e; virtual return_type_58045e2837b651c18e64ce6ac4e0be9e encode() const override { PYBIND11_OVERLOAD(return_type_58045e2837b651c18e64ce6ac4e0be9e, class_type, encode, ); }; - - public: typedef bool return_type_817740fe51f5581ca0b50fe3fdee1e78; typedef struct ::statiskit::MultivariateEvent const * param_817740fe51f5581ca0b50fe3fdee1e78_0_type; virtual return_type_817740fe51f5581ca0b50fe3fdee1e78 is_compatible(param_817740fe51f5581ca0b50fe3fdee1e78_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_817740fe51f5581ca0b50fe3fdee1e78, class_type, is_compatible, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_8c0662a511875406abdb211229d806f3; typedef ::statiskit::Index const & param_8c0662a511875406abdb211229d806f3_0_type; virtual return_type_8c0662a511875406abdb211229d806f3 get_sample_space(param_8c0662a511875406abdb211229d806f3_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8c0662a511875406abdb211229d806f3, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_34b56241180a545dbbc2cc99f5f4650e; virtual return_type_34b56241180a545dbbc2cc99f5f4650e size() const override { PYBIND11_OVERLOAD_PURE(return_type_34b56241180a545dbbc2cc99f5f4650e, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp b/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp index a5cfab28..3ab77dac 100644 --- a/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp +++ b/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp @@ -9,14 +9,12 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_f6490a0c561e5b4fb5fbd58a16a162fe; + virtual return_type_f6490a0c561e5b4fb5fbd58a16a162fe copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f6490a0c561e5b4fb5fbd58a16a162fe, class_type, copy, ); }; typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - - public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp index 2613b951..4eb3851c 100644 --- a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp +++ b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp @@ -4,7 +4,7 @@ void wrapper_fe18de6fe2c850bc986987821db6db68(pybind11::module& module) { - pybind11::enum_< ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); + pybind11::enum_< enum ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); enum_fe18de6fe2c850bc986987821db6db68.value("NONE", ::statiskit::NONE); enum_fe18de6fe2c850bc986987821db6db68.value("TOTAL", ::statiskit::TOTAL); enum_fe18de6fe2c850bc986987821db6db68.value("PARTIAL", ::statiskit::PARTIAL); diff --git a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp index e42da445..8fd1c173 100644 --- a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp +++ b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp @@ -9,40 +9,26 @@ namespace autowig public: using ::statiskit::WeightedMultivariateData::WeightedMultivariateData; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_8b99d3aaab095ec3909995020f652364; + virtual return_type_8b99d3aaab095ec3909995020f652364 generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8b99d3aaab095ec3909995020f652364, class_type, generator, ); }; typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - - public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; - - public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - - public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - - public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; - - public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; }; diff --git a/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp index 31c71717..f91cc8f3 100644 --- a/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp +++ b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp @@ -9,40 +9,30 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - - public: + typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0408f793761c57f191af8e7422380511; + virtual return_type_0408f793761c57f191af8e7422380511 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0408f793761c57f191af8e7422380511, class_type, copy, ); }; typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; - - public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; - - public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; - - public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - - public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; - - public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - - public: + typedef double return_type_c3090cef11805fc1858df60ff42a7c43; + typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; + typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; + virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; - - public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; From 37380b751202c28fc15e409e948a63a4a86e387f Mon Sep 17 00:00:00 2001 From: Pierre Fernique Date: Mon, 12 Aug 2019 13:30:27 +0200 Subject: [PATCH 16/16] Update wrappers --- src/cpp/AutoWIG.py | 6 + src/cpp/data.cpp | 85 +- src/cpp/data.h | 30 +- src/cpp/data.hpp | 8 +- src/cpp/distribution.h | 38 +- src/cpp/estimation.cpp | 94 ++- src/cpp/estimation.h | 158 +++- src/cpp/estimation.hpp | 15 + src/cpp/estimator.cpp | 79 +- src/cpp/estimator.h | 178 +++-- src/cpp/estimator.hpp | 8 +- src/cpp/event.h | 16 +- src/cpp/event.hpp | 6 - src/cpp/indicator.h | 16 +- src/cpp/optimization.h | 2 +- src/cpp/selection.h | 45 +- src/cpp/selection.hpp | 4 +- src/cpp/singular.cpp | 1 + src/cpp/singular.h | 13 +- src/cpp/slope_heuristic.h | 6 +- src/py/statiskit/__init__.py | 6 - src/py/statiskit/core/__init__.py | 19 +- src/py/statiskit/core/_core.py | 707 +++++++++++++++-- .../{data/core => core/_data}/FPD18.csv | 0 .../{data/core => core/_data}/__init__.py | 6 +- .../{data/core => core/_data}/capushe.csv | 0 .../{data/core => core/_data}/zebrafish.csv | 0 src/py/statiskit/core/_tools.py | 18 +- src/py/statiskit/core/controls.py | 7 +- src/py/statiskit/core/data.py | 227 +----- src/py/statiskit/core/distribution.py | 269 ++----- src/py/statiskit/core/estimation.py | 742 +----------------- src/py/statiskit/core/estimator.py | 217 +++++ src/py/statiskit/core/event.py | 62 +- src/py/statiskit/core/indicator.py | 8 +- src/py/statiskit/core/io.py | 5 +- src/py/statiskit/core/mixture.py | 213 +++++ src/py/statiskit/core/optimization.py | 43 + src/py/statiskit/core/sample_space.py | 42 +- src/py/statiskit/core/selection.py | 178 +++++ src/py/statiskit/core/singular.py | 54 +- src/py/statiskit/core/slope_heuristic.py | 12 +- src/py/statiskit/core/stl.py | 2 +- src/py/statiskit/data/__init__.py | 0 src/py/wrapper/_core.cpp | 411 +++++++--- ...apper_0017c261800c5a2ebd8adbf6d5b0d408.cpp | 40 + ...apper_0058099900c95ba8ad1d37fa19e8891f.cpp | 14 + ...apper_010dca8ca2e458db8505774b1f36db9a.cpp | 18 - ...apper_0159796d2beb51da9446e83d609342aa.cpp | 2 +- ...apper_0175e6a3766750de8ea59e8c340325ef.cpp | 17 +- ...apper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp | 22 +- ...apper_049d21481e965f67b49aa4d4debb77d4.cpp | 14 + ...apper_051fc1b76bd35424959669918dd74f6a.cpp | 34 - ...apper_057cf4037321591b98a5dc5f85faf504.cpp | 12 + ...apper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp | 13 - ...apper_0786eb9689055ad4be86080202077ec7.cpp | 4 +- ...apper_08d6e46838b65ffebc188c31dc3d252f.cpp | 19 +- ...apper_097d071b39dc5df98bf53b8b2cb22c3d.cpp | 8 +- ...apper_098b1688f9d6517bac4fe76bfdbe24bd.cpp | 10 + ...apper_0bb61fa4d95c5584b036a2ab65b3920e.cpp | 14 + ...apper_0c5fdb90743c59dda2a63d2ea31919c2.cpp | 14 +- ...apper_0cf8ab1b80485228a6333e32fd937f72.cpp | 34 - ...apper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp | 24 +- ...apper_0e85222f05205b5983c73610343623c8.cpp | 22 +- ...apper_0f491a898d6251e1851339f286f0358c.cpp | 10 +- ...apper_0f631b8bbb065d39a1378915b306a904.cpp | 8 + ...apper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp | 14 - ...apper_104495a9f44f508fb8c76ab6d2269ec3.cpp | 2 +- ...apper_10d5b7d349c75b6b89998f9a341fb629.cpp | 14 + ...apper_119aa039675055618c8a856f637be1e0.cpp | 34 - ...apper_11b76bdf145b514f8ed8993245b9864c.cpp | 22 +- ...apper_123015a4593a5cdeae51e1c3cf5f2cbf.cpp | 14 + ...apper_12a6e0c7ad825078967a85064cb90dd3.cpp | 21 + ...apper_13ec603d05f1534bbe1491c0634dca90.cpp | 4 + ...apper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp | 15 +- ...apper_1581bb259a1355888c0e234a7f9960d9.cpp | 2 +- ...apper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp | 10 - ...apper_16e0ec24327b5201927673f1e4c6eeca.cpp | 12 + ...apper_172696efc2ee5189bf7047d20bc97387.cpp | 14 +- ...apper_176ad7b821255b478820451a70624393.cpp | 4 + ...apper_180294e9e19355e187edd0ed7cb54375.cpp | 21 + ...apper_1ca74b2dc66a5ee79310589958dcce9f.cpp | 10 +- ...apper_1cfac4e761e4558085f0b7c2a58070f2.cpp | 40 - ...apper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp | 2 +- ...apper_1f896af016d3557fa2b823b2110a3f82.cpp | 22 +- ...apper_206185953d7651e78a6714d1fe602758.cpp | 8 + ...apper_206f9cb20a3658da9a3343fb361e5e38.cpp | 47 ++ ...apper_20a3935ea3995924abfb200f08b075ee.cpp | 10 +- ...apper_22316f691c3051a4b467ae58506ba1df.cpp | 14 +- ...apper_23541363c56f58418e709d76f3ae28bc.cpp | 22 +- ...apper_244b30ff6739579cba43f78a1e060fca.cpp | 13 + ...apper_245bdea2b3e05b4fb0104c5865b41fd0.cpp | 36 + ...apper_246619e611bb5657b2e56a30794d1385.cpp | 46 -- ...apper_2513f8d88792503e97d2b3f6b8c31e6f.cpp | 8 + ...apper_25265f42150552ea9c7e3f59af135f87.cpp | 8 +- ...apper_254705bef21f59ca807412aa011917c0.cpp | 4 +- ...apper_259bbb897cee510787d813a9c7525d6f.cpp | 4 +- ...apper_25eae0dfd4e1524abc8ca1ad59610105.cpp | 18 + ...apper_2644b3904d665c118ab54533b295d7e3.cpp | 24 +- ...apper_27e4a3de65cd5691b17c9700cc9e7047.cpp | 14 + ...apper_2932b86205565fb3af16d335628bf928.cpp | 18 + ...apper_2934c614112358768beae325b0d33ea2.cpp | 2 +- ...apper_293cf3d7dd1455688b4f9ff136dd48ac.cpp | 21 + ...apper_295ece6953a856c8b865758b0a34795c.cpp | 8 + ...apper_2a0dd80c75b958a198cbb602212dea2d.cpp | 4 +- ...apper_2a54606a2c865e7c8b67ed7ca6bfbfff.cpp | 18 + ...apper_2ba75dcd62935454a66d0b70e682804e.cpp | 21 + ...apper_2cb2b79ddcda5d669891ac34e006005a.cpp | 34 - ...apper_2da8a9223cae5918afa89d5266f7f7e7.cpp | 14 +- ...apper_2e890b1bdd6056ca8fd8a36c7e7f406f.cpp | 36 + ...apper_30157fbe0fd851ba8681039d13b7ee25.cpp | 14 + ...apper_3170a5376b065cea9f39ca7a6ad5332f.cpp | 10 + ...apper_31aa0a631312549a9cf4cb8740b55a7f.cpp | 10 + ...apper_31af2f3c7b5c54f5a56e10ac7064289b.cpp | 13 - ...apper_32c776be879e5a4f8e5388d5cb33ecc4.cpp | 10 + ...apper_337b3fb852125acd94dcdd79f0bbc00a.cpp | 8 +- ...apper_33bff84921ee5bed9a1741a76baa1e8c.cpp | 14 + ...apper_354f862e227e590491c20a9acad58d0b.cpp | 8 + ...apper_35b22653b51a580c9bb49fdf5623f806.cpp | 14 + ...apper_36823ab42b0c57b48d903606aa743329.cpp | 2 +- ...apper_37b7e83ad4685de7971d757784ece860.cpp | 22 +- ...apper_37cab44615185125b12b8246ddcfeae0.cpp | 13 - ...apper_3867e7acf01c53eeac5d396eedbb7d4e.cpp | 36 + ...apper_39737fb8eb785c29bb3a9eca8ab9e325.cpp | 8 + ...apper_3a6a49079d1b5e9bb815105374e2fc93.cpp | 2 +- ...apper_3a72e173884155f78c8bc127cca80d9c.cpp | 13 - ...apper_3ae69567ec205969a9f2da364450fd2e.cpp | 6 +- ...apper_3aedd3fce1c956baaeb85f4606914109.cpp | 14 - ...apper_3c20d73c0a755b41b1b84601a6088406.cpp | 18 + ...apper_3c3eb4c91b905a988bd9546e804a0d95.cpp | 2 +- ...apper_3ca8ff4e14d1580fa17364607bc956c4.cpp | 4 + ...apper_3e3d38965c5e5a02ae621877dba470cf.cpp | 4 + ...apper_3ea06f62f79c50b5856e5712f2ec8e84.cpp | 17 - ...apper_3f0857f015a9541598a2c047871407a0.cpp | 16 + ...apper_3ff582522b0d5915b638d6939794ff66.cpp | 22 +- ...apper_4045395044115f8ca0008a4001f465bf.cpp | 17 +- ...apper_4091fe7ebaea5a58bb732192d7661dce.cpp | 2 +- ...apper_4143f1db036e5bbdbba0a64045946862.cpp | 14 - ...apper_41e812da3d3654cd9fb33041c3acf25f.cpp | 16 +- ...apper_424fd1f865585368a48c0e974d140252.cpp | 40 + ...apper_4357ddfd7a1d5c56ac3bd75f189c18d4.cpp | 14 + ...apper_4420321c5ba25609a5915044efb89bc8.cpp | 22 +- ...apper_44dd5352a62558a2b747205bcccc2c85.cpp | 14 + ...apper_44ecbd8e3dde5fd9927c4ef097bcbba4.cpp | 52 ++ ...apper_4540538b16205d90be33cf08feed0673.cpp | 10 + ...apper_45ef03239c8a51d0b1f396ab9e7a0cc3.cpp | 44 ++ ...apper_4637f9b5c7175ff0880fd325a6eca119.cpp | 13 + ...apper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp | 14 - ...apper_473cd20a43ee5719a63dbc2dd9fa4d67.cpp | 18 + ...apper_4752abe84a84542f838662fe8e94f937.cpp | 18 + ...apper_484cc9c9d3f856c7aa18f642966f14a9.cpp | 4 + ...apper_488de6b23c2d582c8382ac19e518b6a8.cpp | 23 - ...apper_49dfb39737405be290daa8d01a59004a.cpp | 38 + ...apper_49ff240b938d573e852420ed949939a2.cpp | 14 + ...apper_4a0047f6ae1a562c9758824adf6bdc45.cpp | 21 + ...apper_4ad5d715fa7758bb9c2f44cbc2e7b43a.cpp | 36 + ...apper_4b5bca62b7795925980272db0dce9ae7.cpp | 6 +- ...apper_4bb662287d1550c7b426d928afffbc0f.cpp | 47 ++ ...apper_4ec7ef936ad45be98bd61fcd15540f56.cpp | 14 + ...apper_4f02856d2af15e4ba0bc8f413558566d.cpp | 14 - ...apper_4f08e906137d58128853d1fc5d729fae.cpp | 22 - ...apper_4f57d631afda50d08d8ab83ad3f246f4.cpp | 36 + ...apper_50d5d8b88c0d5eeea2e382dc4626754a.cpp | 4 +- ...apper_513f1e95007657ac9d8f70c0a2356aac.cpp | 6 +- ...apper_5186497276525dcc88f6e6e8b313d2af.cpp | 4 + ...apper_51ea28dd67c25a1d9fd728c9c81fc5d1.cpp | 14 + ...apper_5266ea37de9b57c680d01c7fb2421e89.cpp | 22 +- ...apper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp | 22 +- ...apper_5517439c40d6505682aa2e58ed6cea33.cpp | 4 + ...apper_551c927628b651a19489817a39ededb8.cpp | 22 +- ...apper_55903cb2e67650868a4cd698632375c1.cpp | 34 - ...apper_5647113ef4105dfab0588ffcaf6c479b.cpp | 34 - ...apper_5709c2f49861546cb165b457503824cc.cpp | 14 + ...apper_57facc3e421b57a98d33df52929292ad.cpp | 14 + ...apper_5881d40c671d5a6eaeba5e461dc55622.cpp | 13 - ...apper_5b5f1c1f4aa852eab398cea6df20fee2.cpp | 20 +- ...apper_5cf53138947354ddb9f4e01b4b221762.cpp | 10 +- ...apper_5ed6f55d014d5a74a1d1acafef440cde.cpp | 17 - ...apper_622b4b6c4fef5b119cba23181cff6cf6.cpp | 10 + ...apper_63009220d99c5a15af7379e6f8123f66.cpp | 58 ++ ...apper_63d17adfd9865a9ea92417492b7a15d5.cpp | 21 + ...apper_63f5048eedae564391cd268a0107428f.cpp | 4 +- ...apper_643847dccc2b560082343f2bbda15cba.cpp | 8 +- ...apper_64ae6eddce405116ba534ed722881799.cpp | 14 +- ...apper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp | 8 +- ...apper_663730845d925082a43337bf446ebf00.cpp | 11 + ...apper_66f947be876e54a4901f1a9633fffbaf.cpp | 14 +- ...apper_68d58bb20b4e507ea69ba2065530644b.cpp | 22 +- ...apper_69913377d1325b99bc7469de4f5cf375.cpp | 22 +- ...apper_69ca358c24cd5cabb1a6b9e1358519e4.cpp | 6 +- ...apper_6d1d52249a4c562691e57f68df4bcc06.cpp | 10 + ...apper_6d256cdc2e1253b8823893d5d72bc031.cpp | 6 +- ...apper_6eb1ba92b1d158b09999c16267a2ec28.cpp | 16 +- ...apper_6fa049eb0cfd568caabaef18e2000233.cpp | 40 + ...apper_6fac6a71bec1544eaecb1b57399ee5ec.cpp | 20 +- ...apper_6fc842ebefdd58e28f37dcb214da4519.cpp | 14 + ...apper_6fd71629a95855bbad845fa81b27f4d5.cpp | 22 +- ...apper_700bbebe1a2a5b0699f46ca77b7ea310.cpp | 34 - ...apper_708ad8c82c055fe9a87dd09179e8e5f6.cpp | 40 + ...apper_7341ddcf708c51d5b493d81c653b51bb.cpp | 52 ++ ...apper_73e107092bdb5be2a9ec6e31772ffd09.cpp | 4 +- ...apper_7466a1a79edf5312955ff663594f561b.cpp | 6 +- ...apper_75ba8e402aa85a62a96976ab7e3073c3.cpp | 14 + ...apper_76d258d0b30f5e3a94d02ba97954104b.cpp | 10 + ...apper_779c0e94601b5238932a999e37acfdea.cpp | 1 + ...apper_78fa594811935c2ea4b4905d733f141f.cpp | 2 +- ...apper_7a957a5572455292b1ecc19f2daf800e.cpp | 14 + ...apper_7b011b010db958aaae9901938ceb9863.cpp | 18 + ...apper_7bf5d5a1aae855cb858cab0e94be616b.cpp | 14 + ...apper_7c4052298259530bb07fa16e53c1d268.cpp | 36 + ...apper_7d52c5fa83fa5b7abbc12831a19a2931.cpp | 6 +- ...apper_7e7ee2f40ddc54319b0933514ac68c15.cpp | 14 + ...apper_7ed55bcdec33582fb2767f7d96937c85.cpp | 8 + ...apper_7f05968a172a528da4c7ae7e40d9faa7.cpp | 11 + ...apper_80abf3b31d59572db1c8566cad592e92.cpp | 44 ++ ...apper_81e358ca53ad5cb480953fedfe8cee0b.cpp | 14 - ...apper_823c1d5da2f35f9abbb62a989d434392.cpp | 17 +- ...apper_830457bcfd9a53298ff673c9b6d66714.cpp | 14 - ...apper_83b0ebcd469f5c54a5d8ed41bc70362c.cpp | 36 + ...apper_8408f59ac7205444bbaf4ef2fb92867d.cpp | 18 +- ...apper_855951b28f8452afa19a884bf750f14f.cpp | 40 + ...apper_8637850c39dc51d3a7ea186462c65e2a.cpp | 34 - ...apper_864140a02b1554ffbf15f5c312a38d8c.cpp | 6 +- ...apper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp | 2 +- ...apper_87b566a692cb54b18914b54eb295ef9a.cpp | 4 + ...apper_88cb53c05b215504b1f0ee0564765af0.cpp | 14 + ...apper_8be6d1bcbc135f0eba8668d72cf145cb.cpp | 13 + ...apper_8d0da16fd314598aa5af20cb6d470f87.cpp | 36 + ...apper_8dc14cd974045db7ab63d2d8c0c5c496.cpp | 34 - ...apper_8dcb38f525415f5eb16b5b180a314eab.cpp | 13 + ...apper_900a3cd8a641504a86f6361e9ec4876f.cpp | 17 + ...apper_903a54133336556f837a428c6ab5c785.cpp | 22 + ...apper_916bb7e64837584fb2d59463fdb3adaa.cpp | 14 + ...apper_9662a6a016085675978d04e2bc87a7f3.cpp | 17 +- ...apper_96902179d8e1527ab8396789f078e437.cpp | 24 - ...apper_9819c01af16354f5af1bd00fe32e33a5.cpp | 22 +- ...apper_98e77d2afcc252cba528077bc2cc3103.cpp | 12 + ...apper_9962e820b2a75e44aeb478a7fa3f1b63.cpp | 10 +- ...apper_99fc77e1853459ba9270c901d62d010f.cpp | 14 +- ...apper_9a33479821955c81b01e8f3c319e5180.cpp | 38 - ...apper_9af672b8799e52dda111d00a974022cd.cpp | 14 + ...apper_9b1c85d3df8e5cba922fb88752a0d746.cpp | 4 + ...apper_9b52bf3c9c595cdb890173a39b0d02c4.cpp | 14 + ...apper_9b7e68a17ff659d28c8a9d6250229442.cpp | 17 + ...apper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp | 16 - ...apper_9c2fa9a7a902547eab99ffb00609ac86.cpp | 4 +- ...apper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp | 12 + ...apper_9ce76073f232512da483f80a23807ddc.cpp | 22 +- ...apper_9d4ce064ffdf535ab48ee673205bef55.cpp | 14 + ...apper_9e028a1ab0715490be328e777d68493e.cpp | 14 - ...apper_9f685fe1069e58669281e1311818de94.cpp | 36 + ...apper_9f71ff88156f5fd0a459f920329e5dc8.cpp | 14 + ...apper_a004a7cf0d095bdeadf276d9713e024f.cpp | 14 + ...apper_a0117c6545ed509a9f9743da0a6360b7.cpp | 4 +- ...apper_a079c62242f25fd5aefc1ac40095a061.cpp | 22 +- ...apper_a14f45085a74550c89aab30952f6725b.cpp | 18 - ...apper_a22eff2d08c251169af231a773c880d3.cpp | 17 +- ...apper_a2ac4c39613c5228a2a3cf6cbec6f725.cpp | 44 ++ ...apper_a32936912db85574b408168f51749429.cpp | 6 +- ...apper_a35adf522c9151b48ccb09eeb798105e.cpp | 18 + ...apper_a39157f23e3f57f1b095552634010236.cpp | 47 ++ ...apper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp | 6 + ...apper_a40edc8cafb55dbebc9e932e8692e8ff.cpp | 17 + ...apper_a42d846927fa55029bf78190c71fb4a4.cpp | 4 +- ...apper_a4463e49d7865a6497ec20612e342cbe.cpp | 20 +- ...apper_a4d6cfc5f43a5e10a524a2cea681460d.cpp | 10 + ...apper_a5cf9061d7bb5791ad10bf28e28951fd.cpp | 22 +- ...apper_a640206684935d01aa5be922b3bbdf00.cpp | 2 +- ...apper_a87f64a7a0c553e2b79ea554696bd78b.cpp | 14 +- ...apper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp | 14 - ...apper_aa4257ce2e3e5118aa2930b6c068b768.cpp | 17 + ...apper_aa6b2bab0be654649ef497aa71dff2e3.cpp | 8 +- ...apper_aabf684ce17950b49b6345c1ab565540.cpp | 2 +- ...apper_ab9be9c73a44521483b11c3c7c0eeed9.cpp | 47 ++ ...apper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp | 6 +- ...apper_b08a71b7d00b57328be4226ac350fd3e.cpp | 38 + ...apper_b13b21c5dd48547da5988ddab8c37607.cpp | 47 ++ ...apper_b2c44a0108fd54c6a0ec396f27bccd10.cpp | 13 - ...apper_b43d5bcd7fb95832845cba669051438f.cpp | 2 +- ...apper_b4644d28cde95fdb8e27360bc00fee72.cpp | 4 +- ...apper_b533e621f4b85d2f83f733680ab3b563.cpp | 14 + ...apper_b544b96a33fd5924804b28cfb48e8df8.cpp | 22 +- ...apper_b546d5877d98583d87994f126ec5e776.cpp | 13 + ...apper_b581fba1ddc25a0f80be4fc91f938db4.cpp | 36 + ...apper_b5bed4faf978515387938b2b850d0fdf.cpp | 14 +- ...apper_b6605ca6549d54eba3c614d5b6a29235.cpp | 1 + ...apper_b6a067f70ca259909a6411bfb14cfdca.cpp | 10 - ...apper_b6d36b833ba954b1a5101fc3e17aeea9.cpp | 44 ++ ...apper_b730e37e69f05687be99d670316afe25.cpp | 46 -- ...apper_b79f8d6fe5105eaab1a0a91e799b9248.cpp | 14 + ...apper_b7ac2d5bfb385a2ca41d90d218b9913b.cpp | 52 ++ ...apper_b7c30dd4152658648d05d4b2fbc2fc1d.cpp | 36 + ...apper_b87395375e4e53959abf2c6e5205259d.cpp | 14 +- ...apper_b91dc1bd45ca5b28b265d059475cffcd.cpp | 14 + ...apper_b96c209ac3dd5f7fbfe78eac3417193e.cpp | 24 - ...apper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp | 1 + ...apper_bc2764672801516e9cea984f33c9d9bf.cpp | 8 +- ...apper_bcd5acac62455ce2a0bc14930caa1afc.cpp | 44 ++ ...apper_be6e5acaae3150f69207956b75050e55.cpp | 14 +- ...apper_bf5b68f25d1f5ab9ad2c936351edf740.cpp | 24 +- ...apper_bfae3fc9e0ee536d9781d970fbb5120a.cpp | 14 + ...apper_c07d900e8cfe54789b1eb7500f2b17d6.cpp | 6 +- ...apper_c14e91b91c9852b8bd1c5fce67b0d241.cpp | 34 +- ...apper_c161d9d0ea3d59a49038dea7414b0a1c.cpp | 47 ++ ...apper_c1a4a3e945245f7da0d28f68843c5c3f.cpp | 58 ++ ...apper_c1af1f263c37571f8e1257a72f39fd05.cpp | 10 + ...apper_c30582fff9a5510186e17a7b44494d9f.cpp | 6 +- ...apper_c475c63848ca56959122216f3a32cba9.cpp | 36 + ...apper_c5d45f38a5c9522a82b703c8e0a2b6d0.cpp | 58 ++ ...apper_c6691c5b303051859dffd8d2f0d6c188.cpp | 34 - ...apper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp | 4 +- ...apper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp | 4 + ...apper_c949942a0ca75e079d7dc4997d6f6ee2.cpp | 14 + ...apper_ca164df1e056590f82893412e250494d.cpp | 14 + ...apper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp | 2 +- ...apper_cbe0be5b997e578ea56a5ddbc174c53e.cpp | 34 - ...apper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp | 2 +- ...apper_ccb69f6f1ea252c78b62bd2708670cdd.cpp | 14 +- ...apper_cda8126c0f0b58acbd4b5b11d5ee60d1.cpp | 14 + ...apper_ce18cfe01fe257ccb36fe2b990dde7c3.cpp | 14 + ...apper_ce42b7211004522c9d9271fe72fb3e17.cpp | 58 ++ ...apper_cf0179fb6c94524589e450e5bcacc532.cpp | 6 +- ...apper_cf0415be3d965595a8486e9a8659c1a9.cpp | 18 +- ...apper_cf682b68456e5767b056bba416f3b450.cpp | 13 + ...apper_d0f424c13b8b5c34bc79ddf60ae82086.cpp | 21 + ...apper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp | 20 +- ...apper_d2dc6ff6ec9c5520af32b4a59c402fac.cpp | 14 + ...apper_d2eb5be040f057108ebb6d00f411c861.cpp | 44 ++ ...apper_d30ac07998c750479d39b4a9b78e7da6.cpp | 14 - ...apper_d33d975672ef54f0b9b5e01d57fdf32b.cpp | 4 + ...apper_d3d68100c0aa515393562535c582529e.cpp | 24 +- ...apper_d413c9194272547596f08284edb5e2e8.cpp | 2 +- ...apper_d484a26a9bbd573588659c8ace38c7ab.cpp | 58 ++ ...apper_d486929892b45fbbb400acc476573f6a.cpp | 52 ++ ...apper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp | 2 +- ...apper_d740d10f82335516b6c42048834de0c7.cpp | 14 +- ...apper_d76ff7c1aa0e5028b5eaf919eca54466.cpp | 14 + ...apper_d8072eca33fe5d46a0b27a217a8dbc96.cpp | 2 +- ...apper_d8821cfee79455b1a61fc848d484e960.cpp | 58 ++ ...apper_d9e3c8f1d16d5ffea475de8236279387.cpp | 22 +- ...apper_da164767fc675bd29ae86f87eff482aa.cpp | 14 + ...apper_daa0c5e6c7f25af9a259ba4efb1e2341.cpp | 44 ++ ...apper_daf74149f27453a7a5360a8ea7e9d69c.cpp | 8 + ...apper_db2668977eed5283a0dfb9992502d2dd.cpp | 10 +- ...apper_dbc8a0461eeb579aa69a16cbe03a3913.cpp | 2 +- ...apper_dcd684c7dbcd5ae89949cc59ed9c6d1d.cpp | 58 ++ ...apper_dda6bb3fd9345086a3231d9341e47d49.cpp | 2 +- ...apper_de7ff6e8df595fdab99566ab1fb822d1.cpp | 17 +- ...apper_df673121ff9a5ed3a03ae1633aac43b7.cpp | 17 +- ...apper_e049e06f4450537e811c2c21e309aa43.cpp | 14 + ...apper_e0e2f05f845558508daf53c1d4b545c7.cpp | 34 - ...apper_e17c871a4a485a888cde7218c52b67e3.cpp | 2 +- ...apper_e3970afe332b54108a4040278f775008.cpp | 18 +- ...apper_e48db52757bf5acbabe40fda3e8fafb6.cpp | 40 + ...apper_e5af192f1d9456d3ba5c6187223960e6.cpp | 14 + ...apper_e5e03034302f5c6ca9d068a205353d2a.cpp | 2 +- ...apper_e695b5b519815f1f96debe2f459d2f2b.cpp | 6 + ...apper_e7be0d0aaa3c589eaf970a5ba5ef1cd4.cpp | 18 + ...apper_ed56b0739802545c9906dd23adb8636c.cpp | 22 +- ...apper_ef06cd7866a05e8a9b9f746a2f9da324.cpp | 22 +- ...apper_f3a4e0390ba552948c69ae13cadb799a.cpp | 10 +- ...apper_f4b4623a4bb55ebdb42401f0a981cb83.cpp | 22 +- ...apper_f66e5627d97f5fac82e3d89b9b0694dc.cpp | 17 - ...apper_f8b8546034205658b6e3e16175284f26.cpp | 2 +- ...apper_f8d597009c7f50c0a1968a49aa56ff46.cpp | 14 - ...apper_faed70c01c41556a87ba6c938ce7c777.cpp | 12 + ...apper_faf1fdd6d84a5fc3a61a827f354b8275.cpp | 34 - ...apper_fe18de6fe2c850bc986987821db6db68.cpp | 2 +- ...apper_fe5c14ebd9715db583a8fcea54e1d965.cpp | 19 +- ...apper_feb9ad1a68185444ba16325ba90aea6b.cpp | 22 +- test/test_binomial.py | 14 +- test/test_categorical.py | 58 +- test/test_data.py | 170 ++-- test/test_geometric.py | 4 +- test/test_logarithmic.py | 4 +- test/test_mixture.py | 58 +- test/test_negative_binomial.py | 11 +- test/test_normal.py | 4 +- test/test_poisson.py | 4 +- test/test_sample_space.py | 182 ++--- test/test_selection.py | 55 +- test/test_slope_heuristic.py | 42 +- test/test_splitting.py | 70 +- 383 files changed, 6985 insertions(+), 3611 deletions(-) delete mode 100644 src/py/statiskit/__init__.py rename src/py/statiskit/{data/core => core/_data}/FPD18.csv (100%) rename src/py/statiskit/{data/core => core/_data}/__init__.py (91%) rename src/py/statiskit/{data/core => core/_data}/capushe.csv (100%) rename src/py/statiskit/{data/core => core/_data}/zebrafish.csv (100%) create mode 100644 src/py/statiskit/core/estimator.py create mode 100644 src/py/statiskit/core/mixture.py create mode 100644 src/py/statiskit/core/optimization.py create mode 100644 src/py/statiskit/core/selection.py delete mode 100644 src/py/statiskit/data/__init__.py create mode 100644 src/py/wrapper/wrapper_0017c261800c5a2ebd8adbf6d5b0d408.cpp create mode 100644 src/py/wrapper/wrapper_0058099900c95ba8ad1d37fa19e8891f.cpp delete mode 100644 src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp create mode 100644 src/py/wrapper/wrapper_049d21481e965f67b49aa4d4debb77d4.cpp delete mode 100644 src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp delete mode 100644 src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp create mode 100644 src/py/wrapper/wrapper_0bb61fa4d95c5584b036a2ab65b3920e.cpp delete mode 100644 src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp delete mode 100644 src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp create mode 100644 src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp delete mode 100644 src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp create mode 100644 src/py/wrapper/wrapper_123015a4593a5cdeae51e1c3cf5f2cbf.cpp create mode 100644 src/py/wrapper/wrapper_12a6e0c7ad825078967a85064cb90dd3.cpp delete mode 100644 src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp create mode 100644 src/py/wrapper/wrapper_180294e9e19355e187edd0ed7cb54375.cpp delete mode 100644 src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp create mode 100644 src/py/wrapper/wrapper_206f9cb20a3658da9a3343fb361e5e38.cpp create mode 100644 src/py/wrapper/wrapper_244b30ff6739579cba43f78a1e060fca.cpp create mode 100644 src/py/wrapper/wrapper_245bdea2b3e05b4fb0104c5865b41fd0.cpp delete mode 100644 src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp create mode 100644 src/py/wrapper/wrapper_25eae0dfd4e1524abc8ca1ad59610105.cpp create mode 100644 src/py/wrapper/wrapper_27e4a3de65cd5691b17c9700cc9e7047.cpp create mode 100644 src/py/wrapper/wrapper_2932b86205565fb3af16d335628bf928.cpp create mode 100644 src/py/wrapper/wrapper_293cf3d7dd1455688b4f9ff136dd48ac.cpp create mode 100644 src/py/wrapper/wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff.cpp create mode 100644 src/py/wrapper/wrapper_2ba75dcd62935454a66d0b70e682804e.cpp delete mode 100644 src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp create mode 100644 src/py/wrapper/wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f.cpp create mode 100644 src/py/wrapper/wrapper_30157fbe0fd851ba8681039d13b7ee25.cpp delete mode 100644 src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp create mode 100644 src/py/wrapper/wrapper_33bff84921ee5bed9a1741a76baa1e8c.cpp create mode 100644 src/py/wrapper/wrapper_35b22653b51a580c9bb49fdf5623f806.cpp delete mode 100644 src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp create mode 100644 src/py/wrapper/wrapper_3867e7acf01c53eeac5d396eedbb7d4e.cpp delete mode 100644 src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp delete mode 100644 src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp create mode 100644 src/py/wrapper/wrapper_3c20d73c0a755b41b1b84601a6088406.cpp delete mode 100644 src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp create mode 100644 src/py/wrapper/wrapper_3f0857f015a9541598a2c047871407a0.cpp delete mode 100644 src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp create mode 100644 src/py/wrapper/wrapper_424fd1f865585368a48c0e974d140252.cpp create mode 100644 src/py/wrapper/wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4.cpp create mode 100644 src/py/wrapper/wrapper_44dd5352a62558a2b747205bcccc2c85.cpp create mode 100644 src/py/wrapper/wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4.cpp create mode 100644 src/py/wrapper/wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3.cpp delete mode 100644 src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp create mode 100644 src/py/wrapper/wrapper_473cd20a43ee5719a63dbc2dd9fa4d67.cpp create mode 100644 src/py/wrapper/wrapper_4752abe84a84542f838662fe8e94f937.cpp delete mode 100644 src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp create mode 100644 src/py/wrapper/wrapper_49dfb39737405be290daa8d01a59004a.cpp create mode 100644 src/py/wrapper/wrapper_49ff240b938d573e852420ed949939a2.cpp create mode 100644 src/py/wrapper/wrapper_4a0047f6ae1a562c9758824adf6bdc45.cpp create mode 100644 src/py/wrapper/wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a.cpp create mode 100644 src/py/wrapper/wrapper_4bb662287d1550c7b426d928afffbc0f.cpp create mode 100644 src/py/wrapper/wrapper_4ec7ef936ad45be98bd61fcd15540f56.cpp delete mode 100644 src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp delete mode 100644 src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp create mode 100644 src/py/wrapper/wrapper_4f57d631afda50d08d8ab83ad3f246f4.cpp create mode 100644 src/py/wrapper/wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1.cpp delete mode 100644 src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp delete mode 100644 src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp create mode 100644 src/py/wrapper/wrapper_5709c2f49861546cb165b457503824cc.cpp create mode 100644 src/py/wrapper/wrapper_57facc3e421b57a98d33df52929292ad.cpp delete mode 100644 src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp delete mode 100644 src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp create mode 100644 src/py/wrapper/wrapper_63009220d99c5a15af7379e6f8123f66.cpp create mode 100644 src/py/wrapper/wrapper_63d17adfd9865a9ea92417492b7a15d5.cpp create mode 100644 src/py/wrapper/wrapper_6fa049eb0cfd568caabaef18e2000233.cpp create mode 100644 src/py/wrapper/wrapper_6fc842ebefdd58e28f37dcb214da4519.cpp delete mode 100644 src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp create mode 100644 src/py/wrapper/wrapper_708ad8c82c055fe9a87dd09179e8e5f6.cpp create mode 100644 src/py/wrapper/wrapper_7341ddcf708c51d5b493d81c653b51bb.cpp create mode 100644 src/py/wrapper/wrapper_75ba8e402aa85a62a96976ab7e3073c3.cpp create mode 100644 src/py/wrapper/wrapper_7a957a5572455292b1ecc19f2daf800e.cpp create mode 100644 src/py/wrapper/wrapper_7b011b010db958aaae9901938ceb9863.cpp create mode 100644 src/py/wrapper/wrapper_7bf5d5a1aae855cb858cab0e94be616b.cpp create mode 100644 src/py/wrapper/wrapper_7c4052298259530bb07fa16e53c1d268.cpp create mode 100644 src/py/wrapper/wrapper_7e7ee2f40ddc54319b0933514ac68c15.cpp create mode 100644 src/py/wrapper/wrapper_80abf3b31d59572db1c8566cad592e92.cpp delete mode 100644 src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp delete mode 100644 src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp create mode 100644 src/py/wrapper/wrapper_83b0ebcd469f5c54a5d8ed41bc70362c.cpp create mode 100644 src/py/wrapper/wrapper_855951b28f8452afa19a884bf750f14f.cpp delete mode 100644 src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp create mode 100644 src/py/wrapper/wrapper_8be6d1bcbc135f0eba8668d72cf145cb.cpp create mode 100644 src/py/wrapper/wrapper_8d0da16fd314598aa5af20cb6d470f87.cpp delete mode 100644 src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp create mode 100644 src/py/wrapper/wrapper_900a3cd8a641504a86f6361e9ec4876f.cpp create mode 100644 src/py/wrapper/wrapper_903a54133336556f837a428c6ab5c785.cpp create mode 100644 src/py/wrapper/wrapper_916bb7e64837584fb2d59463fdb3adaa.cpp delete mode 100644 src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp delete mode 100644 src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp create mode 100644 src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp create mode 100644 src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp create mode 100644 src/py/wrapper/wrapper_9b7e68a17ff659d28c8a9d6250229442.cpp delete mode 100644 src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp create mode 100644 src/py/wrapper/wrapper_9d4ce064ffdf535ab48ee673205bef55.cpp delete mode 100644 src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp create mode 100644 src/py/wrapper/wrapper_9f685fe1069e58669281e1311818de94.cpp create mode 100644 src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp create mode 100644 src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp delete mode 100644 src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp create mode 100644 src/py/wrapper/wrapper_a2ac4c39613c5228a2a3cf6cbec6f725.cpp create mode 100644 src/py/wrapper/wrapper_a35adf522c9151b48ccb09eeb798105e.cpp create mode 100644 src/py/wrapper/wrapper_a39157f23e3f57f1b095552634010236.cpp create mode 100644 src/py/wrapper/wrapper_a40edc8cafb55dbebc9e932e8692e8ff.cpp delete mode 100644 src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp create mode 100644 src/py/wrapper/wrapper_aa4257ce2e3e5118aa2930b6c068b768.cpp create mode 100644 src/py/wrapper/wrapper_ab9be9c73a44521483b11c3c7c0eeed9.cpp create mode 100644 src/py/wrapper/wrapper_b08a71b7d00b57328be4226ac350fd3e.cpp create mode 100644 src/py/wrapper/wrapper_b13b21c5dd48547da5988ddab8c37607.cpp delete mode 100644 src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp create mode 100644 src/py/wrapper/wrapper_b533e621f4b85d2f83f733680ab3b563.cpp create mode 100644 src/py/wrapper/wrapper_b546d5877d98583d87994f126ec5e776.cpp create mode 100644 src/py/wrapper/wrapper_b581fba1ddc25a0f80be4fc91f938db4.cpp delete mode 100644 src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp create mode 100644 src/py/wrapper/wrapper_b6d36b833ba954b1a5101fc3e17aeea9.cpp delete mode 100644 src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp create mode 100644 src/py/wrapper/wrapper_b79f8d6fe5105eaab1a0a91e799b9248.cpp create mode 100644 src/py/wrapper/wrapper_b7ac2d5bfb385a2ca41d90d218b9913b.cpp create mode 100644 src/py/wrapper/wrapper_b7c30dd4152658648d05d4b2fbc2fc1d.cpp create mode 100644 src/py/wrapper/wrapper_b91dc1bd45ca5b28b265d059475cffcd.cpp delete mode 100644 src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp create mode 100644 src/py/wrapper/wrapper_bcd5acac62455ce2a0bc14930caa1afc.cpp create mode 100644 src/py/wrapper/wrapper_bfae3fc9e0ee536d9781d970fbb5120a.cpp create mode 100644 src/py/wrapper/wrapper_c161d9d0ea3d59a49038dea7414b0a1c.cpp create mode 100644 src/py/wrapper/wrapper_c1a4a3e945245f7da0d28f68843c5c3f.cpp create mode 100644 src/py/wrapper/wrapper_c475c63848ca56959122216f3a32cba9.cpp create mode 100644 src/py/wrapper/wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0.cpp delete mode 100644 src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp create mode 100644 src/py/wrapper/wrapper_c949942a0ca75e079d7dc4997d6f6ee2.cpp create mode 100644 src/py/wrapper/wrapper_ca164df1e056590f82893412e250494d.cpp delete mode 100644 src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp create mode 100644 src/py/wrapper/wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1.cpp create mode 100644 src/py/wrapper/wrapper_ce18cfe01fe257ccb36fe2b990dde7c3.cpp create mode 100644 src/py/wrapper/wrapper_ce42b7211004522c9d9271fe72fb3e17.cpp create mode 100644 src/py/wrapper/wrapper_cf682b68456e5767b056bba416f3b450.cpp create mode 100644 src/py/wrapper/wrapper_d0f424c13b8b5c34bc79ddf60ae82086.cpp create mode 100644 src/py/wrapper/wrapper_d2dc6ff6ec9c5520af32b4a59c402fac.cpp create mode 100644 src/py/wrapper/wrapper_d2eb5be040f057108ebb6d00f411c861.cpp delete mode 100644 src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp create mode 100644 src/py/wrapper/wrapper_d484a26a9bbd573588659c8ace38c7ab.cpp create mode 100644 src/py/wrapper/wrapper_d486929892b45fbbb400acc476573f6a.cpp create mode 100644 src/py/wrapper/wrapper_d76ff7c1aa0e5028b5eaf919eca54466.cpp create mode 100644 src/py/wrapper/wrapper_d8821cfee79455b1a61fc848d484e960.cpp create mode 100644 src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp create mode 100644 src/py/wrapper/wrapper_daa0c5e6c7f25af9a259ba4efb1e2341.cpp create mode 100644 src/py/wrapper/wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d.cpp create mode 100644 src/py/wrapper/wrapper_e049e06f4450537e811c2c21e309aa43.cpp delete mode 100644 src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp create mode 100644 src/py/wrapper/wrapper_e48db52757bf5acbabe40fda3e8fafb6.cpp create mode 100644 src/py/wrapper/wrapper_e5af192f1d9456d3ba5c6187223960e6.cpp create mode 100644 src/py/wrapper/wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4.cpp delete mode 100644 src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp delete mode 100644 src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp delete mode 100644 src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp diff --git a/src/cpp/AutoWIG.py b/src/cpp/AutoWIG.py index c8165d7b..6c47d88a 100644 --- a/src/cpp/AutoWIG.py +++ b/src/cpp/AutoWIG.py @@ -1,3 +1,9 @@ def controller(asg): + for node in ['class ::std::ctype', + 'class ::std::ios_base']: + try: + asg[node].pybind11_export = False + except Exception as e: + print(e) from scons_tools.site_autowig.controller.statiskit_stl import controller as stl_controller return stl_controller(asg, library=False) \ No newline at end of file diff --git a/src/cpp/data.cpp b/src/cpp/data.cpp index 75b26e5a..90056288 100644 --- a/src/cpp/data.cpp +++ b/src/cpp/data.cpp @@ -159,6 +159,11 @@ namespace statiskit return std::make_unique< Generator >(*this); } + const UnivariateSampleSpace* WeightedUnivariateData::get_sample_space() const + { + return this->data->get_sample_space(); + } + const UnivariateEvent* WeightedUnivariateData::Generator::get_event() const { return this->generator->get_event(); @@ -203,14 +208,19 @@ namespace statiskit {} std::unique_ptr< UnivariateData::Generator > UnivariateDataFrame::generator() const - { return std::make_unique< UnivariateDataFrame::Generator >(*this); } - + { + return std::make_unique< UnivariateDataFrame::Generator >(*this); + } Index UnivariateDataFrame::get_nb_events() const - { return this->events->size(); } + { + return this->events->size(); + } const UnivariateSampleSpace* UnivariateDataFrame::get_sample_space() const - { return this->sample_space.get(); } + { + return this->sample_space.get(); + } void UnivariateDataFrame::set_sample_space(const UnivariateSampleSpace& sample_space) { @@ -389,6 +399,31 @@ namespace statiskit return std::make_unique< IndicesSelectedData >(*this, indices); } + std::unique_ptr< MultivariateData::Generator > WeightedMultivariateData::generator() const + { + return std::make_unique< Generator >(*this); + } + + Index WeightedMultivariateData::get_nb_components() const + { + return this->data->get_nb_components(); + } + + const UnivariateEvent* WeightedMultivariateData::Generator::get_event(const Index& index) const + { + return this->generator->get_event(index); + } + + Index WeightedMultivariateData::Generator::size() const + { + return this->generator->size(); + } + + const UnivariateSampleSpace* WeightedMultivariateData::get_sample_space(const Index& index) const + { + return this->data->get_sample_space(index); + } + IndexSelectedData::IndexSelectedData(const MultivariateData& data, const Index& index) { this->data = data.copy().release(); @@ -407,13 +442,19 @@ namespace statiskit } const MultivariateData* IndexSelectedData::origin() const - { return this->data; } + { + return this->data; + } std::unique_ptr< UnivariateData::Generator > IndexSelectedData::generator() const - { return std::make_unique< IndexSelectedData::Generator >(*this); } + { + return std::make_unique< IndexSelectedData::Generator >(*this); + } const UnivariateSampleSpace* IndexSelectedData::get_sample_space() const - { return this->data->get_sample_space(this->index); } + { + return this->data->get_sample_space(this->index); + } Index IndexSelectedData::get_index() const { @@ -464,13 +505,19 @@ namespace statiskit } const MultivariateData* IndicesSelectedData::origin() const - { return this->data; } + { + return this->data; + } std::unique_ptr< MultivariateData::Generator > IndicesSelectedData::generator() const - { return std::make_unique< IndicesSelectedData::Generator >(*this); } + { + return std::make_unique< IndicesSelectedData::Generator >(*this); + } Index IndicesSelectedData::get_nb_components() const - { return this->indices->size(); } + { + return this->indices->size(); + } const UnivariateSampleSpace* IndicesSelectedData::get_sample_space(const Index& index) const { @@ -489,13 +536,21 @@ namespace statiskit this->indices = data.indices; } + IndicesSelectedData::Generator::Generator(const Generator& generator) + { + this->generator = static_cast(generator.generator->copy().release()); + this->indices = generator.indices; + } + IndicesSelectedData::Generator::~Generator() { delete this->generator; } Index IndicesSelectedData::Generator::size() const - { return this->indices->size(); } + { + return this->indices->size(); + } const UnivariateEvent* IndicesSelectedData::Generator::get_event(const Index& index) const { @@ -506,10 +561,14 @@ namespace statiskit } double IndicesSelectedData::Generator::get_weight() const - { return this->generator->get_weight(); } + { + return this->generator->get_weight(); + } bool IndicesSelectedData::Generator::is_valid() const - { return this->generator->is_valid(); } + { + return this->generator->is_valid(); + } MultivariateData::Generator& IndicesSelectedData::Generator::operator++() { diff --git a/src/cpp/data.h b/src/cpp/data.h index fcc23c9d..03b11f82 100644 --- a/src/cpp/data.h +++ b/src/cpp/data.h @@ -17,10 +17,6 @@ namespace statiskit WeightedData(const WeightedData& data); virtual ~WeightedData(); - // std::unique_ptr< typename B::Generator > generator() const; - - virtual const typename B::sample_space_type* get_sample_space() const; - const B* origin() const; Index get_nb_weights() const; @@ -56,10 +52,10 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateData { - using copy_type = UnivariateData; - using sample_space_type = UnivariateSampleSpace; - using event_type = UnivariateEvent; - using weighted_type = class WeightedUnivariateData; + typedef UnivariateData copy_type; + typedef UnivariateSampleSpace sample_space_type; + typedef UnivariateEvent event_type; + typedef class WeightedUnivariateData weighted_type; virtual ~UnivariateData() = 0; @@ -99,6 +95,8 @@ namespace statiskit virtual std::unique_ptr< UnivariateData::Generator > generator() const; + virtual const UnivariateSampleSpace* get_sample_space() const; + protected: struct STATISKIT_CORE_API Generator : WeightedData< UnivariateData >::Generator { @@ -179,10 +177,10 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateData { - using copy_type = MultivariateData; - using sample_space_type = MultivariateSampleSpace; - using event_type = MultivariateEvent; - using weighted_type = class WeightedMultivariateData; + typedef MultivariateData copy_type; + typedef MultivariateSampleSpace sample_space_type; + typedef MultivariateEvent event_type; + typedef class WeightedMultivariateData weighted_type; virtual ~MultivariateData() = 0; @@ -218,12 +216,16 @@ namespace statiskit virtual std::unique_ptr< MultivariateData::Generator > generator() const; + virtual Index get_nb_components() const; + + virtual const UnivariateSampleSpace* get_sample_space(const Index& index) const; + protected: struct STATISKIT_CORE_API Generator : PolymorphicCopy::Generator> { using PolymorphicCopy::Generator>::PolymorphicCopy; - virtual const UnivariateEvent* get_event(const Index& index); + virtual const UnivariateEvent* get_event(const Index& index) const; virtual Index size() const; }; @@ -369,8 +371,6 @@ namespace statiskit Index index; }; }; - - using WeightedMultivariateDataFrame = WeightedData< MultivariateDataFrame >; } #include "data.hpp" \ No newline at end of file diff --git a/src/cpp/data.hpp b/src/cpp/data.hpp index 5d8cba89..c2d1da0b 100644 --- a/src/cpp/data.hpp +++ b/src/cpp/data.hpp @@ -25,11 +25,15 @@ namespace statiskit template const B* WeightedData::origin() const - { return this->data; } + { + return this->data; + } template Index WeightedData::get_nb_weights() const - { return this->weights->size(); } + { + return this->weights->size(); + } template double WeightedData::get_weight(const Index& index) const diff --git a/src/cpp/distribution.h b/src/cpp/distribution.h index 4b6e46a0..d7237d0c 100644 --- a/src/cpp/distribution.h +++ b/src/cpp/distribution.h @@ -10,8 +10,9 @@ namespace statiskit /// \brief This virtual class UnivariateDistribution represents the distribution of a random univariate component \f$ X \f$. The support of this distribution is a set \f$ \mathcal{X} \f$ with one dimension. struct STATISKIT_CORE_API UnivariateDistribution { - using copy_type = UnivariateDistribution; - using data_type = UnivariateData; + typedef UnivariateDistribution copy_type; + typedef UnivariateData data_type; + typedef Index indexing_type; virtual ~UnivariateDistribution() = 0; @@ -71,7 +72,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API CategoricalUnivariateDistribution : UnivariateDistribution { - using event_type = CategoricalEvent; + typedef CategoricalEvent event_type; /** \brief Compute the probability of a set of values. * @@ -245,7 +246,7 @@ namespace statiskit class STATISKIT_CORE_API HierarchicalDistribution : public PolymorphicCopy< HierarchicalDistribution, CategoricalUnivariateDistribution > { public: - using const_iterator = std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator; + typedef std::map< std::string, CategoricalUnivariateDistribution* >::const_iterator const_iterator; HierarchicalDistribution(); HierarchicalDistribution(const HierarchicalSampleSpace& hss); @@ -337,7 +338,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API DiscreteUnivariateDistribution : UnivariateDistribution { - using event_type = DiscreteEvent; + typedef DiscreteEvent event_type; /** \brief Compute the probability of a set of values. * @@ -385,8 +386,8 @@ namespace statiskit virtual double get_variance() const = 0; }; - using DiscreteUnivariateFrequencyDistribution = QuantitativeUnivariateFrequencyDistribution< DiscreteUnivariateDistribution >; - using ShiftedDiscreteUnivariateDistribution = ShiftedDistribution< DiscreteUnivariateDistribution >; + typedef QuantitativeUnivariateFrequencyDistribution< DiscreteUnivariateDistribution > DiscreteUnivariateFrequencyDistribution; + typedef ShiftedDistribution< DiscreteUnivariateDistribution > ShiftedDiscreteUnivariateDistribution; /** \brief This class PoissonDistribution represents a [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution) * @@ -900,7 +901,7 @@ namespace statiskit * */ struct STATISKIT_CORE_API ContinuousUnivariateDistribution : UnivariateDistribution { - using event_type = ContinuousEvent; + typedef ContinuousEvent event_type; /** \brief Compute the probability of a set of values. * @@ -943,8 +944,8 @@ namespace statiskit virtual double get_variance() const = 0; }; - using ShiftedContinuousUnivariateDistribution = ShiftedDistribution< ContinuousUnivariateDistribution >; - using ContinuousUnivariateFrequencyDistribution = QuantitativeUnivariateFrequencyDistribution< ContinuousUnivariateDistribution >; + typedef ShiftedDistribution< ContinuousUnivariateDistribution > ShiftedContinuousUnivariateDistribution; + typedef QuantitativeUnivariateFrequencyDistribution< ContinuousUnivariateDistribution > ContinuousUnivariateFrequencyDistribution; /** \brief This class NormalDistribution represents a [normal distribution](https://en.wikipedia.org/wiki/Normal_distribution). * @@ -2175,7 +2176,7 @@ namespace statiskit */ struct STATISKIT_CORE_API UnivariateConditionalDistribution { - using response_type = UnivariateDistribution; + typedef UnivariateDistribution response_type; virtual ~UnivariateConditionalDistribution() = 0; @@ -2198,24 +2199,25 @@ namespace statiskit struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistribution : UnivariateConditionalDistribution { - using event_type = CategoricalEvent; + typedef CategoricalEvent event_type; }; struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistribution : UnivariateConditionalDistribution { - using event_type = DiscreteEvent; + typedef DiscreteEvent event_type; }; struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistribution : UnivariateConditionalDistribution { - using event_type = ContinuousEvent; + typedef ContinuousEvent event_type; }; struct STATISKIT_CORE_API MultivariateDistribution { - using copy_type = MultivariateDistribution; - using data_type = MultivariateData; - + typedef MultivariateDistribution copy_type; + typedef MultivariateData data_type; + typedef Indices indexing_type; + virtual ~MultivariateDistribution() = 0; /// \brief Get the number of components of the distribution. @@ -2302,7 +2304,7 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateConditionalDistribution { - using response_type = MultivariateDistribution; + typedef MultivariateDistribution response_type; virtual ~MultivariateConditionalDistribution() = 0; diff --git a/src/cpp/estimation.cpp b/src/cpp/estimation.cpp index f6bf05de..46ccc1a7 100644 --- a/src/cpp/estimation.cpp +++ b/src/cpp/estimation.cpp @@ -14,14 +14,9 @@ namespace statiskit underdispersion_error::underdispersion_error() : parameter_error("data", " is underdispersed") {} - std::unique_ptr< UnivariateDistributionEstimation::Estimator::estimation_type > UnivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& variable) const - { - return this->operator()(*data.select(variable)); - } - void CategoricalUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - DistributionEstimation< distribution_type >::Estimator::check(data); + UnivariateDistributionEstimation::Estimator::check(data); if (data.get_sample_space()->get_outcome() != outcome_type::CATEGORICAL) { throw sample_space_error(outcome_type::CATEGORICAL); } @@ -29,7 +24,7 @@ namespace statiskit void DiscreteUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - DistributionEstimation< distribution_type >::Estimator::check(data); + UnivariateDistributionEstimation::Estimator::check(data); if (data.get_sample_space()->get_outcome() != outcome_type::DISCRETE) { throw sample_space_error(outcome_type::DISCRETE); } @@ -37,15 +32,40 @@ namespace statiskit void ContinuousUnivariateDistributionEstimation::Estimator::check(const UnivariateData& data) const { - DistributionEstimation< distribution_type >::Estimator::check(data); + UnivariateDistributionEstimation::Estimator::check(data); if (data.get_sample_space()->get_outcome() != outcome_type::CONTINUOUS) { throw sample_space_error(outcome_type::CONTINUOUS); } } - std::unique_ptr< MultivariateDistributionEstimation::Estimator::estimation_type > MultivariateDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& variables) const + void CategoricalMultivariateDistributionEstimation::Estimator::check(const MultivariateData& data) const { - return this->operator()(*data.select(variables)); + MultivariateDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::CATEGORICAL) { + throw sample_space_error(outcome_type::CATEGORICAL); + } + } + } + + void DiscreteMultivariateDistributionEstimation::Estimator::check(const MultivariateData& data) const + { + MultivariateDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::DISCRETE) { + throw sample_space_error(outcome_type::DISCRETE); + } + } + } + + void ContinuousMultivariateDistributionEstimation::Estimator::check(const MultivariateData& data) const + { + MultivariateDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::CONTINUOUS) { + throw sample_space_error(outcome_type::CONTINUOUS); + } + } } std::unique_ptr< UnivariateConditionalDistributionEstimation::Estimator::estimation_type > UnivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Index& response, const Indices& explanatories) const @@ -53,8 +73,62 @@ namespace statiskit return this->operator()(*data.select(response), *data.select(explanatories)); } + void CategoricalUnivariateConditionalDistributionEstimation::Estimator::check(const UnivariateData& data) const + { + UnivariateConditionalDistributionEstimation::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::CATEGORICAL) { + throw sample_space_error(outcome_type::CATEGORICAL); + } + } + + void DiscreteUnivariateConditionalDistributionEstimation::Estimator::check(const UnivariateData& data) const + { + UnivariateConditionalDistributionEstimation::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::DISCRETE) { + throw sample_space_error(outcome_type::DISCRETE); + } + } + + void ContinuousUnivariateConditionalDistributionEstimation::Estimator::check(const UnivariateData& data) const + { + UnivariateConditionalDistributionEstimation::Estimator::check(data); + if (data.get_sample_space()->get_outcome() != outcome_type::CONTINUOUS) { + throw sample_space_error(outcome_type::CONTINUOUS); + } + } + std::unique_ptr< MultivariateConditionalDistributionEstimation::Estimator::estimation_type > MultivariateConditionalDistributionEstimation::Estimator::operator() (const MultivariateData& data, const Indices& responses, const Indices& explanatories) const { return this->operator()(*data.select(responses), *data.select(explanatories)); } + + void CategoricalMultivariateConditionalDistributionEstimation::Estimator::check(const MultivariateData& data) const + { + MultivariateConditionalDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::CATEGORICAL) { + throw sample_space_error(outcome_type::CATEGORICAL); + } + } + } + + void DiscreteMultivariateConditionalDistributionEstimation::Estimator::check(const MultivariateData& data) const + { + MultivariateConditionalDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::DISCRETE) { + throw sample_space_error(outcome_type::DISCRETE); + } + } + } + + void ContinuousMultivariateConditionalDistributionEstimation::Estimator::check(const MultivariateData& data) const + { + MultivariateConditionalDistributionEstimation::Estimator::check(data); + for (Index index = 0, max_index = data.get_nb_components(); index < max_index; ++index) { + if (data.get_sample_space(index)->get_outcome() != outcome_type::CONTINUOUS) { + throw sample_space_error(outcome_type::CONTINUOUS); + } + } + } } diff --git a/src/cpp/estimation.h b/src/cpp/estimation.h index 2f477ee6..88d13273 100644 --- a/src/cpp/estimation.h +++ b/src/cpp/estimation.h @@ -38,9 +38,9 @@ namespace statiskit class DistributionEstimation { public: - using copy_type = DistributionEstimation< D >; - using distribution_type = D; - using data_type = typename D::data_type; + typedef DistributionEstimation< D > copy_type; + typedef D distribution_type; + typedef typename D::data_type data_type; DistributionEstimation(); DistributionEstimation(data_type const * data); @@ -58,15 +58,16 @@ namespace statiskit class STATISKIT_CORE_API Estimator { public: - using copy_type = Estimator; - using estimation_type = DistributionEstimation; + typedef Estimator copy_type; + typedef DistributionEstimation estimation_type; - using data_type = estimation_type::data_type; - using distribution_type = estimation_type::distribution_type; + typedef estimation_type::data_type data_type; + typedef estimation_type::distribution_type distribution_type; virtual ~Estimator() = 0; virtual std::unique_ptr< estimation_type > operator() (const data_type& data) const = 0; + virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, const typename D::indexing_type& select) const; virtual std::unique_ptr< copy_type > copy() const = 0; @@ -87,24 +88,19 @@ namespace statiskit { using DistributionEstimation< UnivariateDistribution >::Estimator::Estimator; using DistributionEstimation< UnivariateDistribution >::Estimator::estimation_type; - - using DistributionEstimation< UnivariateDistribution >::Estimator::operator(); - - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Index& variable) const; }; }; struct STATISKIT_CORE_API CategoricalUnivariateDistributionEstimation : UnivariateDistributionEstimation { - using distribution_type = CategoricalUnivariateDistribution; + typedef CategoricalUnivariateDistribution distribution_type; using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator { public: - using event_type = CategoricalEvent; + typedef CategoricalEvent event_type; protected: void check(const data_type& data) const; @@ -113,14 +109,14 @@ namespace statiskit struct STATISKIT_CORE_API DiscreteUnivariateDistributionEstimation : UnivariateDistributionEstimation { - using distribution_type = DiscreteUnivariateDistribution; + typedef DiscreteUnivariateDistribution distribution_type; using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator { public: - using event_type = DiscreteEvent; + typedef DiscreteEvent event_type; protected: void check(const data_type& data) const; @@ -129,14 +125,14 @@ namespace statiskit struct STATISKIT_CORE_API ContinuousUnivariateDistributionEstimation : UnivariateDistributionEstimation { - using distribution_type = ContinuousUnivariateDistribution; + typedef ContinuousUnivariateDistribution distribution_type; using UnivariateDistributionEstimation::UnivariateDistributionEstimation; class STATISKIT_CORE_API Estimator : public UnivariateDistributionEstimation::Estimator { public: - using event_type = ContinuousEvent; + typedef ContinuousEvent event_type; protected: void check(const data_type& data) const; @@ -151,17 +147,12 @@ namespace statiskit { using DistributionEstimation< MultivariateDistribution >::Estimator::Estimator; using DistributionEstimation< MultivariateDistribution >::Estimator::estimation_type; - - using DistributionEstimation< MultivariateDistribution >::Estimator::operator(); - - virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data, - const Indices& variables) const; }; }; struct STATISKIT_CORE_API CategoricalMultivariateDistributionEstimation : MultivariateDistributionEstimation { - using distribution_type = CategoricalMultivariateDistribution; + typedef CategoricalMultivariateDistribution distribution_type; using MultivariateDistributionEstimation::MultivariateDistributionEstimation; @@ -172,16 +163,9 @@ namespace statiskit }; }; - // const MultivariateSampleSpace* sample_space = data.get_sample_space(); - // for(Index index = 0, max_index = sample_space->size(); index < max_index; ++index) - // { - // if(sample_space->get(index)->get_outcome() != DISCRETE) - // { throw statiskit::sample_space_error(DISCRETE); } - // } - struct STATISKIT_CORE_API DiscreteMultivariateDistributionEstimation : MultivariateDistributionEstimation { - using distribution_type = DiscreteMultivariateDistribution; + typedef DiscreteMultivariateDistribution distribution_type; using MultivariateDistributionEstimation::MultivariateDistributionEstimation; @@ -194,7 +178,7 @@ namespace statiskit struct STATISKIT_CORE_API ContinuousMultivariateDistributionEstimation : MultivariateDistributionEstimation { - using distribution_type = ContinuousMultivariateDistribution; + typedef ContinuousMultivariateDistribution distribution_type; using MultivariateDistributionEstimation::MultivariateDistributionEstimation; @@ -205,14 +189,15 @@ namespace statiskit }; }; - using explanatory_data_type = MultivariateData; + typedef MultivariateData explanatory_data_type; template class ConditionalDistributionEstimation { public: - using distribution_type = D; - using response_data_type = typename D::response_type::data_type; + typedef ConditionalDistributionEstimation< D > copy_type; + typedef D distribution_type; + typedef typename D::response_type::data_type response_data_type; ConditionalDistributionEstimation(); ConditionalDistributionEstimation(response_data_type const* response_data, @@ -232,7 +217,8 @@ namespace statiskit class STATISKIT_CORE_API Estimator { public: - using estimation_type = ConditionalDistributionEstimation; + typedef Estimator copy_type; + typedef ConditionalDistributionEstimation estimation_type; virtual ~Estimator() = 0; @@ -241,6 +227,8 @@ namespace statiskit protected: virtual std::unique_ptr< estimation_type > operator() (const response_data_type& response_data, const explanatory_data_type& explanatory_data) const = 0; + + virtual void check(const response_data_type& data) const; }; protected: @@ -268,6 +256,54 @@ namespace statiskit }; }; + struct STATISKIT_CORE_API CategoricalUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + { + typedef CategoricalUnivariateConditionalDistribution distribution_type; + + using UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public UnivariateConditionalDistributionEstimation::Estimator + { + public: + typedef CategoricalEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; + + struct STATISKIT_CORE_API DiscreteUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + { + typedef DiscreteUnivariateConditionalDistribution distribution_type; + + using UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public UnivariateConditionalDistributionEstimation::Estimator + { + public: + typedef DiscreteEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; + + struct STATISKIT_CORE_API ContinuousUnivariateConditionalDistributionEstimation : UnivariateConditionalDistributionEstimation + { + typedef ContinuousUnivariateConditionalDistribution distribution_type; + + using UnivariateConditionalDistributionEstimation::UnivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public UnivariateConditionalDistributionEstimation::Estimator + { + public: + typedef ContinuousEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; + struct STATISKIT_CORE_API MultivariateConditionalDistributionEstimation : ConditionalDistributionEstimation< MultivariateConditionalDistribution > { using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::ConditionalDistributionEstimation; @@ -286,6 +322,54 @@ namespace statiskit using ConditionalDistributionEstimation< MultivariateConditionalDistribution >::Estimator::operator(); }; }; + + struct STATISKIT_CORE_API CategoricalMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + { + typedef CategoricalMultivariateConditionalDistribution distribution_type; + + using MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public MultivariateConditionalDistributionEstimation::Estimator + { + public: + typedef CategoricalEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; + + struct STATISKIT_CORE_API DiscreteMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + { + typedef DiscreteMultivariateConditionalDistribution distribution_type; + + using MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public MultivariateConditionalDistributionEstimation::Estimator + { + public: + typedef DiscreteEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; + + struct STATISKIT_CORE_API ContinuousMultivariateConditionalDistributionEstimation : MultivariateConditionalDistributionEstimation + { + typedef ContinuousMultivariateConditionalDistribution distribution_type; + + using MultivariateConditionalDistributionEstimation::MultivariateConditionalDistributionEstimation; + + class STATISKIT_CORE_API Estimator : public MultivariateConditionalDistributionEstimation::Estimator + { + public: + typedef ContinuousEvent event_type; + + protected: + virtual void check(const response_data_type& data) const; + }; + }; } #include "estimation.hpp" \ No newline at end of file diff --git a/src/cpp/estimation.hpp b/src/cpp/estimation.hpp index fa9d4325..38a3e21b 100644 --- a/src/cpp/estimation.hpp +++ b/src/cpp/estimation.hpp @@ -97,6 +97,12 @@ namespace statiskit DistributionEstimation< D >::Estimator::~Estimator() {} + template + std::unique_ptr< typename DistributionEstimation::Estimator::estimation_type > DistributionEstimation< D >::Estimator::operator() (const MultivariateData& data, const typename D::indexing_type& select) const + { + return this->operator()(*data.select(select)); + } + template void DistributionEstimation< D >::Estimator::check(const data_type& data) const { @@ -182,6 +188,15 @@ namespace statiskit template ConditionalDistributionEstimation< D >::Estimator::~Estimator() {} + + + template + void ConditionalDistributionEstimation< D >::Estimator::check(const response_data_type& data) const + { + if (data.get_nb_events() == 0) { + throw sample_size_error(1); + } + } } #endif \ No newline at end of file diff --git a/src/cpp/estimator.cpp b/src/cpp/estimator.cpp index e56b7541..41b2b5e9 100644 --- a/src/cpp/estimator.cpp +++ b/src/cpp/estimator.cpp @@ -1,7 +1,9 @@ #include "estimator.h" #include "singular.h" -#include +#include +#include +#include namespace statiskit { @@ -39,12 +41,12 @@ namespace statiskit new PoissonDistribution(mean)); } - BinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() + BinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< BinomialDistributionEstimation::Estimator > >() { this->force = false; } - BinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) + BinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< BinomialDistributionEstimation::Estimator > >(estimator) { this->force = estimator.force; } @@ -183,10 +185,10 @@ namespace statiskit this->dispersion = dispersion.copy().release(); } - LogarithmicDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() + LogarithmicDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< LogarithmicDistributionEstimation::Estimator > >() {} - LogarithmicDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) + LogarithmicDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< LogarithmicDistributionEstimation::Estimator > >(estimator) {} LogarithmicDistributionMLEstimation::Estimator::~Estimator() @@ -241,12 +243,12 @@ namespace statiskit new GeometricDistribution(1 - 1 / mean)); } - NegativeBinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >() + NegativeBinomialDistributionMLEstimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< NegativeBinomialDistributionEstimation::Estimator > >() { this->force = false; } - NegativeBinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > >(estimator) + NegativeBinomialDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< NegativeBinomialDistributionEstimation::Estimator > >(estimator) { this->force = estimator.force; } @@ -372,6 +374,9 @@ namespace statiskit NormalDistributionMLEstimation::Estimator::Estimator() {} + NormalDistributionMLEstimation::Estimator::Estimator(const Estimator& estimator) + {} + NormalDistributionMLEstimation::Estimator::~Estimator() {} @@ -388,20 +393,20 @@ namespace statiskit new NormalDistribution(mean, std_err)); } - UnivariateHistogramDistributionEstimation::Estimator::Estimator() + UnivariateHistogramDistributionClassicEstimation::Estimator::Estimator() { this->nb_bins = 0; } - UnivariateHistogramDistributionEstimation::Estimator::Estimator(const Estimator& estimator) + UnivariateHistogramDistributionClassicEstimation::Estimator::Estimator(const Estimator& estimator) { this->nb_bins = estimator.nb_bins; } - UnivariateHistogramDistributionEstimation::Estimator::~Estimator() + UnivariateHistogramDistributionClassicEstimation::Estimator::~Estimator() {} - std::unique_ptr< UnivariateHistogramDistributionEstimation::Estimator::estimation_type > UnivariateHistogramDistributionEstimation::Estimator::operator() (const data_type& data) const + std::unique_ptr< UnivariateHistogramDistributionClassicEstimation::Estimator::estimation_type > UnivariateHistogramDistributionClassicEstimation::Estimator::operator() (const data_type& data) const { this->check(data); std::set< double > bins = std::set< double >(); @@ -458,39 +463,39 @@ namespace statiskit } ++(*generator); } - return std::make_unique< UnivariateHistogramDistributionEstimation >(data.copy().release(), + return std::make_unique< UnivariateHistogramDistributionClassicEstimation >(data.copy().release(), new UnivariateHistogramDistribution(bins, densities)); } - const unsigned int& UnivariateHistogramDistributionEstimation::Estimator::get_nb_bins() const + const unsigned int& UnivariateHistogramDistributionClassicEstimation::Estimator::get_nb_bins() const { return this->nb_bins; } - void UnivariateHistogramDistributionEstimation::Estimator::set_nb_bins(const unsigned int& nb_bins) + void UnivariateHistogramDistributionClassicEstimation::Estimator::set_nb_bins(const unsigned int& nb_bins) { this->nb_bins = nb_bins; } - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator() + UnivariateHistogramDistributionRegularEstimation::Estimator::Estimator() { this->maxbins = 100; } - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator(const Estimator& estimator) + UnivariateHistogramDistributionRegularEstimation::Estimator::Estimator(const Estimator& estimator) { this->maxbins = estimator.maxbins; } - RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::~Estimator() + UnivariateHistogramDistributionRegularEstimation::Estimator::~Estimator() {} - std::unique_ptr< RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::estimation_type > RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const UnivariateData& data) const + std::unique_ptr< UnivariateHistogramDistributionRegularEstimation::Estimator::estimation_type > UnivariateHistogramDistributionRegularEstimation::Estimator::operator() (const UnivariateData& data) const { this->check(data); - std::unique_ptr< RegularUnivariateHistogramDistributionSlopeHeuristicSelection > estimation = std::make_unique< RegularUnivariateHistogramDistributionSlopeHeuristicSelection >(data.copy().release()); + std::unique_ptr< UnivariateHistogramDistributionRegularEstimation > estimation = std::make_unique< UnivariateHistogramDistributionRegularEstimation >(data.copy().release()); std::set< double > bins = std::set< double >(); - UnivariateHistogramDistributionEstimation::Estimator estimator = UnivariateHistogramDistributionEstimation::Estimator(); + UnivariateHistogramDistributionClassicEstimation::Estimator estimator = UnivariateHistogramDistributionClassicEstimation::Estimator(); for (Index nb_bins = this->maxbins; nb_bins > 0; --nb_bins) { estimator.set_nb_bins(nb_bins); try { @@ -504,12 +509,12 @@ namespace statiskit return estimation; } - const unsigned int& RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins() const + const unsigned int& UnivariateHistogramDistributionRegularEstimation::Estimator::get_maxbins() const { return this->maxbins; } - void RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins(const unsigned int& maxbins) + void UnivariateHistogramDistributionRegularEstimation::Estimator::set_maxbins(const unsigned int& maxbins) { if (maxbins == 0) { throw statiskit::lower_bound_error("maxbins", 0, 0, true); @@ -517,25 +522,25 @@ namespace statiskit this->maxbins = maxbins; } - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator() + UnivariateHistogramDistributionIrregularEstimation::Estimator::Estimator() { this->maxbins = 100; this->constant = 1.; } - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::Estimator(const Estimator& estimator) + UnivariateHistogramDistributionIrregularEstimation::Estimator::Estimator(const Estimator& estimator) { this->maxbins = estimator.maxbins; this->constant = estimator.constant; } - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::~Estimator() + UnivariateHistogramDistributionIrregularEstimation::Estimator::~Estimator() {} - std::unique_ptr< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::estimation_type > IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::operator() (const data_type& data) const + std::unique_ptr< UnivariateHistogramDistributionIrregularEstimation::Estimator::estimation_type > UnivariateHistogramDistributionIrregularEstimation::Estimator::operator() (const data_type& data) const { this->check(data); - std::unique_ptr< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection > estimation = std::make_unique< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection >(data.copy().release()); + std::unique_ptr< UnivariateHistogramDistributionIrregularEstimation > estimation = std::make_unique< UnivariateHistogramDistributionIrregularEstimation >(data.copy().release()); std::set< double > bins = std::set< double >(); unsigned int elements = 0; double total = 0., min = std::numeric_limits< double >::infinity(), max = -1 * std::numeric_limits< double >::infinity(); @@ -646,12 +651,12 @@ namespace statiskit return estimation; } - const unsigned int& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins() const + const unsigned int& UnivariateHistogramDistributionIrregularEstimation::Estimator::get_maxbins() const { return this->maxbins; } - void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins(const unsigned int& maxbins) + void UnivariateHistogramDistributionIrregularEstimation::Estimator::set_maxbins(const unsigned int& maxbins) { if (maxbins == 0) { throw statiskit::lower_bound_error("maxbins", 0, 0, true); @@ -659,12 +664,12 @@ namespace statiskit this->maxbins = maxbins; } - const double& IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_constant() const + const double& UnivariateHistogramDistributionIrregularEstimation::Estimator::get_constant() const { return this->constant; } - void IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_constant(const double& constant) + void UnivariateHistogramDistributionIrregularEstimation::Estimator::set_constant(const double& constant) { if (constant <= 0.) { throw statiskit::lower_bound_error("constant", constant, 0.0, true); @@ -672,16 +677,16 @@ namespace statiskit this->constant = constant; } - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator() : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > >() + NegativeMultinomialDistributionWZ99Estimation::Estimator::Estimator() : PolymorphicCopy< Estimator, Optimization< NegativeMultinomialDistributionEstimation::Estimator > >() {} - NegativeMultinomialDistributionEstimation::WZ99Estimator::WZ99Estimator(const WZ99Estimator& estimator) : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > >(estimator) + NegativeMultinomialDistributionWZ99Estimation::Estimator::Estimator(const Estimator& estimator) : PolymorphicCopy< Estimator, Optimization< NegativeMultinomialDistributionEstimation::Estimator > >(estimator) {} - NegativeMultinomialDistributionEstimation::WZ99Estimator::~WZ99Estimator() + NegativeMultinomialDistributionWZ99Estimation::Estimator::~Estimator() {} - std::unique_ptr< NegativeMultinomialDistributionEstimation::WZ99Estimator::estimation_type > NegativeMultinomialDistributionEstimation::WZ99Estimator::operator() (const data_type& data) const + std::unique_ptr< NegativeMultinomialDistributionWZ99Estimation::Estimator::estimation_type > NegativeMultinomialDistributionWZ99Estimation::Estimator::operator() (const data_type& data) const { this->check(data); MultivariateMeanEstimation::Estimator mean_estimator = MultivariateMeanEstimation::Estimator(); @@ -708,8 +713,8 @@ namespace statiskit double q = location / (location + kappa); NegativeBinomialDistribution negative_binomial = NegativeBinomialDistribution(kappa, 1. - q); SplittingDistribution* negative_multinomial = new SplittingDistribution(negative_binomial, MultinomialSingularDistribution(mean * q / kappa)); - std::unique_ptr< NegativeMultinomialDistributionEstimation > estimation = std::make_unique< NegativeMultinomialDistributionEstimation >(data.copy().release(), - negative_multinomial); + std::unique_ptr< NegativeMultinomialDistributionWZ99Estimation > estimation = std::make_unique< NegativeMultinomialDistributionWZ99Estimation >(data.copy().release(), + negative_multinomial); estimation->steps.push_back(kappa); double prev; double curr = kappa; diff --git a/src/cpp/estimator.h b/src/cpp/estimator.h index aaef5b1d..ef19cc96 100644 --- a/src/cpp/estimator.h +++ b/src/cpp/estimator.h @@ -17,10 +17,10 @@ namespace statiskit class Estimator : public PolymorphicCopy< Estimator, typename B::Estimator > { public: - using estimator_type = typename B::Estimator; - using estimation_type = typename estimator_type::estimation_type; - using data_type = typename estimator_type::data_type; - using event_type = typename estimator_type::event_type; + typedef typename B::Estimator estimator_type; + typedef typename estimator_type::estimation_type estimation_type; + typedef typename estimator_type::data_type data_type; + typedef typename estimator_type::event_type event_type; Estimator(); Estimator(const Estimator& estimator); @@ -40,11 +40,11 @@ namespace statiskit }; }; - using DiscreteUnivariateShiftedDistributionEstimation = ShiftedDistributionEstimation< DiscreteUnivariateDistributionEstimation > ; - using DiscreteUnivariateShiftedDistributionEstimator = DiscreteUnivariateShiftedDistributionEstimation::Estimator; + typedef ShiftedDistributionEstimation< DiscreteUnivariateDistributionEstimation > DiscreteUnivariateShiftedDistributionEstimation; + typedef DiscreteUnivariateShiftedDistributionEstimation::Estimator DiscreteUnivariateShiftedDistributionEstimator; - using ContinuousUnivariateShiftedDistributionEstimation = ShiftedDistributionEstimation< ContinuousUnivariateDistributionEstimation >; - using ContinuousUnivariateShiftedDistributionEstimator = ContinuousUnivariateShiftedDistributionEstimation::Estimator; + typedef ShiftedDistributionEstimation< ContinuousUnivariateDistributionEstimation > ContinuousUnivariateShiftedDistributionEstimation; + typedef ContinuousUnivariateShiftedDistributionEstimation::Estimator ContinuousUnivariateShiftedDistributionEstimator; template struct UnivariateFrequencyDistributionEstimation : PolymorphicCopy< UnivariateFrequencyDistributionEstimation, B > { @@ -53,12 +53,12 @@ namespace statiskit class Estimator : public B::Estimator { public: - using data_type = typename B::Estimator::data_type; - using distribution_type = typename B::Estimator::distribution_type; - using estimation_type = typename B::Estimator::estimation_type; - using event_type = typename B::Estimator::event_type; + typedef typename B::Estimator::data_type data_type; + typedef typename B::Estimator::distribution_type distribution_type; + typedef typename B::Estimator::estimation_type estimation_type; + typedef typename B::Estimator::event_type event_type; - using value_type = typename event_type::value_type; + typedef typename event_type::value_type value_type; Estimator(); Estimator(const Estimator& estimator); @@ -72,50 +72,51 @@ namespace statiskit }; }; - using NominalDistributionEstimation = UnivariateFrequencyDistributionEstimation< CategoricalUnivariateDistributionEstimation >; + typedef UnivariateFrequencyDistributionEstimation< CategoricalUnivariateDistributionEstimation > NominalDistributionEstimation; - class NominalDistributionEstimator : public PolymorphicCopy + class STATISKIT_CORE_API NominalDistributionEstimator : public PolymorphicCopy { public: using PolymorphicCopy::PolymorphicCopy; - NominalDistributionEstimator(const NominalDistributionEstimator&) = default; - protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; - using DiscreteUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< DiscreteUnivariateDistributionEstimation >; + typedef UnivariateFrequencyDistributionEstimation< DiscreteUnivariateDistributionEstimation > DiscreteUnivariateFrequencyDistributionEstimation; - class DiscreteUnivariateFrequencyDistributionEstimator : public PolymorphicCopy + class STATISKIT_CORE_API DiscreteUnivariateFrequencyDistributionEstimator : public PolymorphicCopy { public: using PolymorphicCopy::PolymorphicCopy; - DiscreteUnivariateFrequencyDistributionEstimator(const DiscreteUnivariateFrequencyDistributionEstimator&) = default; - protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& pi) const; }; - using ContinuousUnivariateFrequencyDistributionEstimation = UnivariateFrequencyDistributionEstimation< ContinuousUnivariateDistributionEstimation >; + typedef UnivariateFrequencyDistributionEstimation< ContinuousUnivariateDistributionEstimation > ContinuousUnivariateFrequencyDistributionEstimation; - class ContinuousUnivariateFrequencyDistributionEstimator : public PolymorphicCopy + class STATISKIT_CORE_API ContinuousUnivariateFrequencyDistributionEstimator : public PolymorphicCopy { public: using PolymorphicCopy::PolymorphicCopy; - ContinuousUnivariateFrequencyDistributionEstimator(const ContinuousUnivariateFrequencyDistributionEstimator&) = default; - protected: virtual distribution_type* create(const std::set< value_type >& values, const Eigen::VectorXd& masses) const; }; - struct STATISKIT_CORE_API PoissonDistributionMLEstimation : PolymorphicCopy< PoissonDistributionMLEstimation, DiscreteUnivariateDistributionEstimation > + struct STATISKIT_CORE_API PoissonDistributionEstimation : DiscreteUnivariateDistributionEstimation + { + using DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API PoissonDistributionMLEstimation : PolymorphicCopy< PoissonDistributionMLEstimation, PoissonDistributionEstimation > { - using PolymorphicCopy< PoissonDistributionMLEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; + using PolymorphicCopy< PoissonDistributionMLEstimation, PoissonDistributionEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : PolymorphicCopy + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); @@ -125,11 +126,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API BinomialDistributionMLEstimation : PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation > + struct STATISKIT_CORE_API BinomialDistributionEstimation : DiscreteUnivariateDistributionEstimation { - using PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; + using DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > + struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API BinomialDistributionMLEstimation : PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation > + { + using PolymorphicCopy< BinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; + + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< BinomialDistributionEstimation::Estimator > > { public: Estimator(); @@ -146,11 +154,11 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API BinomialDistributionMMEstimation : PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation > + struct STATISKIT_CORE_API BinomialDistributionMMEstimation : PolymorphicCopy< BinomialDistributionMMEstimation, BinomialDistributionEstimation > { - using PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; + using PolymorphicCopy< BinomialDistributionMMEstimation, BinomialDistributionEstimation >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, DiscreteUnivariateDistributionEstimation::Estimator > + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, BinomialDistributionEstimation::Estimator > { public: Estimator(); @@ -171,11 +179,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API LogarithmicDistributionMLEstimation : PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation > + struct STATISKIT_CORE_API LogarithmicDistributionEstimation : DiscreteUnivariateDistributionEstimation + { + using DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API LogarithmicDistributionMLEstimation : PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation > { - using PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; + using PolymorphicCopy< LogarithmicDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, Optimization< LogarithmicDistributionEstimation::Estimator > > { Estimator(); Estimator(const Estimator& estimator); @@ -185,11 +200,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API GeometricDistributionMLEstimation : PolymorphicCopy + struct STATISKIT_CORE_API GeometricDistributionEstimation : DiscreteUnivariateDistributionEstimation + { + using DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API GeometricDistributionMLEstimation : PolymorphicCopy { - using PolymorphicCopy::PolymorphicCopy; + using PolymorphicCopy::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : PolymorphicCopy + struct STATISKIT_CORE_API Estimator : PolymorphicCopy { Estimator(); Estimator(const Estimator& estimator); @@ -199,11 +221,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API NegativeBinomialDistributionMLEstimation : PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation > + struct STATISKIT_CORE_API NegativeBinomialDistributionEstimation : DiscreteUnivariateDistributionEstimation { - using PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; + using DiscreteUnivariateDistributionEstimation::DiscreteUnivariateDistributionEstimation; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< DiscreteUnivariateDistributionEstimation::Estimator > > + struct STATISKIT_CORE_API Estimator : DiscreteUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API NegativeBinomialDistributionMLEstimation : PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation > + { + using PolymorphicCopy< NegativeBinomialDistributionMLEstimation, IterativeEstimation >::PolymorphicCopy; + + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, Optimization< NegativeBinomialDistributionEstimation::Estimator > > { public: Estimator(); @@ -220,9 +249,9 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API NegativeBinomialDistributionMMEstimation : PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation > + struct STATISKIT_CORE_API NegativeBinomialDistributionMMEstimation : PolymorphicCopy< NegativeBinomialDistributionMMEstimation, NegativeBinomialDistributionEstimation > { - using PolymorphicCopy< BinomialDistributionMMEstimation, DiscreteUnivariateDistributionEstimation >::PolymorphicCopy; + using PolymorphicCopy< NegativeBinomialDistributionMMEstimation, NegativeBinomialDistributionEstimation >::PolymorphicCopy; /** \brief This class NegativeBinomialDistribution represents a Maximum Likelihood Estimator (MLE) of negative binomial distribution parameters \f$\kappa\f$ and \f$\pi\f$. * @@ -238,7 +267,7 @@ namespace statiskit * * \see \ref ::statiskit::NegativeBinomialDistribution. * */ - class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, DiscreteUnivariateDistributionEstimation::Estimator > + class STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, NegativeBinomialDistributionEstimation::Estimator > { public: Estimator(); @@ -270,11 +299,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API NormalDistributionMLEstimation : PolymorphicCopy< NormalDistributionMLEstimation, ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API NormalDistributionEstimation : ContinuousUnivariateDistributionEstimation + { + using ContinuousUnivariateDistributionEstimation::ContinuousUnivariateDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : ContinuousUnivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API NormalDistributionMLEstimation : PolymorphicCopy< NormalDistributionMLEstimation, NormalDistributionEstimation > { - using PolymorphicCopy< NormalDistributionMLEstimation, ContinuousUnivariateDistributionEstimation >::PolymorphicCopy; + using PolymorphicCopy< NormalDistributionMLEstimation, NormalDistributionEstimation >::PolymorphicCopy; - struct STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, ContinuousUnivariateDistributionEstimation::Estimator > + struct STATISKIT_CORE_API Estimator : public PolymorphicCopy< Estimator, NormalDistributionEstimation::Estimator > { Estimator(); Estimator(const Estimator& estimator); @@ -284,11 +320,18 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API UnivariateHistogramDistributionEstimation : PolymorphicCopy< UnivariateHistogramDistributionEstimation, ContinuousUnivariateDistributionEstimation > + struct STATISKIT_CORE_API UnivariateHistogramDistributionEstimation : ContinuousUnivariateDistributionEstimation { - using PolymorphicCopy< UnivariateHistogramDistributionEstimation, ContinuousUnivariateDistributionEstimation >::PolymorphicCopy; + using ContinuousUnivariateDistributionEstimation::ContinuousUnivariateDistributionEstimation; + + struct STATISKIT_CORE_API Estimator : ContinuousUnivariateDistributionEstimation::Estimator {}; + }; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy + struct STATISKIT_CORE_API UnivariateHistogramDistributionClassicEstimation : PolymorphicCopy< UnivariateHistogramDistributionClassicEstimation, UnivariateHistogramDistributionEstimation > + { + using PolymorphicCopy< UnivariateHistogramDistributionClassicEstimation, UnivariateHistogramDistributionEstimation >::PolymorphicCopy; + + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); @@ -305,11 +348,11 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API RegularUnivariateHistogramDistributionSlopeHeuristicSelection : PolymorphicCopy< RegularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > > + struct STATISKIT_CORE_API UnivariateHistogramDistributionRegularEstimation : PolymorphicCopy< UnivariateHistogramDistributionRegularEstimation, SlopeHeuristicSelection< UnivariateHistogramDistributionEstimation > > { - using PolymorphicCopy< RegularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > >::PolymorphicCopy; + using PolymorphicCopy< UnivariateHistogramDistributionRegularEstimation, SlopeHeuristicSelection< UnivariateHistogramDistributionEstimation > >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); @@ -326,11 +369,11 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API IrregularUnivariateHistogramDistributionSlopeHeuristicSelection : PolymorphicCopy< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > > + struct STATISKIT_CORE_API UnivariateHistogramDistributionIrregularEstimation : PolymorphicCopy< UnivariateHistogramDistributionIrregularEstimation, SlopeHeuristicSelection< UnivariateHistogramDistributionEstimation > > { - using PolymorphicCopy< IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, SlopeHeuristicSelection< ContinuousUnivariateDistributionEstimation > >::PolymorphicCopy; + using PolymorphicCopy< UnivariateHistogramDistributionIrregularEstimation, SlopeHeuristicSelection< UnivariateHistogramDistributionEstimation > >::PolymorphicCopy; - class STATISKIT_CORE_API Estimator : public PolymorphicCopy + class STATISKIT_CORE_API Estimator : public PolymorphicCopy { public: Estimator(); @@ -351,16 +394,23 @@ namespace statiskit }; }; - struct STATISKIT_CORE_API NegativeMultinomialDistributionEstimation : public PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation > + struct STATISKIT_CORE_API NegativeMultinomialDistributionEstimation : DiscreteMultivariateDistributionEstimation { - using PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation >::PolymorphicCopy; + using DiscreteMultivariateDistributionEstimation::DiscreteMultivariateDistributionEstimation; - struct STATISKIT_CORE_API WZ99Estimator : PolymorphicCopy< WZ99Estimator, Optimization< DiscreteMultivariateDistributionEstimation::Estimator > > + struct STATISKIT_CORE_API Estimator : DiscreteMultivariateDistributionEstimation::Estimator {}; + }; + + struct STATISKIT_CORE_API NegativeMultinomialDistributionWZ99Estimation : public PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation > + { + using PolymorphicCopy< NegativeMultinomialDistributionEstimation, IterativeEstimation >::PolymorphicCopy; + + struct STATISKIT_CORE_API Estimator : PolymorphicCopy< Estimator, Optimization< NegativeMultinomialDistributionEstimation::Estimator > > { public: - WZ99Estimator(); - WZ99Estimator(const WZ99Estimator& estimator); - virtual ~WZ99Estimator(); + Estimator(); + Estimator(const Estimator& estimator); + virtual ~Estimator(); virtual std::unique_ptr< estimation_type > operator() (const MultivariateData& data) const; }; diff --git a/src/cpp/estimator.hpp b/src/cpp/estimator.hpp index ae8c641c..40be4174 100644 --- a/src/cpp/estimator.hpp +++ b/src/cpp/estimator.hpp @@ -61,7 +61,7 @@ namespace statiskit ++index; } return std::make_unique< ShiftedDistributionEstimation >(weighted, - new distribution_type(*static_cast< typename B::distribution_type const * >(((*(this->estimator))(weighted))->get_distribution()), this->shift)); + new distribution_type(*static_cast< typename B::distribution_type const * >(((*(this->estimator))(*weighted))->get_distribution()), this->shift)); } template @@ -82,6 +82,12 @@ namespace statiskit return this->estimator; } + template + void ShiftedDistributionEstimation::Estimator::set_estimator(const estimator_type& estimator) + { + this->estimator = static_cast< estimator_type* >(estimator.copy().release()); + } + template UnivariateFrequencyDistributionEstimation::Estimator::Estimator() {} diff --git a/src/cpp/event.h b/src/cpp/event.h index dfa1cbda..63019546 100644 --- a/src/cpp/event.h +++ b/src/cpp/event.h @@ -15,7 +15,7 @@ namespace statiskit MIXED, }; - std::ostream& operator<<(std::ostream& os, const outcome_type& outcome); + STATISKIT_CORE_API std::ostream& operator<<(std::ostream& os, const outcome_type& outcome); enum class censoring_type { @@ -28,7 +28,7 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateEvent { - using copy_type = UnivariateEvent; + typedef UnivariateEvent copy_type; virtual ~UnivariateEvent(); @@ -49,8 +49,6 @@ namespace statiskit virtual censoring_type get_censoring() const; const typename E::value_type& get_value() const; - - virtual std::unique_ptr< UnivariateEvent > copy() const; protected: typename E::value_type value; @@ -66,8 +64,6 @@ namespace statiskit const std::vector< typename E::value_type >& get_values() const; - virtual std::unique_ptr< UnivariateEvent > copy() const; - protected: std::vector< typename E::value_type > values; }; @@ -82,8 +78,6 @@ namespace statiskit const typename E::value_type& get_upper_bound() const; - virtual std::unique_ptr< UnivariateEvent > copy() const; - protected: typename E::value_type upper_bound; }; @@ -97,8 +91,6 @@ namespace statiskit virtual censoring_type get_censoring() const; const typename E::value_type& get_lower_bound() const; - - virtual std::unique_ptr< UnivariateEvent > copy() const; protected: typename E::value_type lower_bound; @@ -117,8 +109,6 @@ namespace statiskit typename E::value_type get_range() const; typename E::value_type get_center() const; - - virtual std::unique_ptr< UnivariateEvent > copy() const; protected: std::pair bounds; @@ -171,7 +161,7 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateEvent { - using copy_type = MultivariateEvent; + typedef MultivariateEvent copy_type; virtual ~MultivariateEvent() = 0; diff --git a/src/cpp/event.hpp b/src/cpp/event.hpp index 69208752..2a44a2b2 100644 --- a/src/cpp/event.hpp +++ b/src/cpp/event.hpp @@ -31,12 +31,6 @@ namespace statiskit return this->value; } - template - std::unique_ptr< UnivariateEvent > ElementaryEvent< E >::copy() const - { - return std::make_unique< ElementaryEvent< E > >(*this); - } - template CensoredEvent< E >::CensoredEvent(const std::vector< typename E::value_type >& values) { diff --git a/src/cpp/indicator.h b/src/cpp/indicator.h index 70a000ec..1b69e163 100644 --- a/src/cpp/indicator.h +++ b/src/cpp/indicator.h @@ -10,7 +10,7 @@ namespace statiskit struct STATISKIT_CORE_API UnivariateLocationEstimation { - using copy_type = UnivariateLocationEstimation; + typedef UnivariateLocationEstimation copy_type; virtual ~UnivariateLocationEstimation() = 0; @@ -20,7 +20,7 @@ namespace statiskit struct STATISKIT_CORE_API Estimator { - using copy_type = Estimator; + typedef Estimator copy_type; virtual ~Estimator() = 0; @@ -32,7 +32,7 @@ namespace statiskit struct STATISKIT_CORE_API MultivariateLocationEstimation { - using copy_type = MultivariateLocationEstimation; + typedef MultivariateLocationEstimation copy_type; virtual ~MultivariateLocationEstimation() = 0; @@ -42,7 +42,7 @@ namespace statiskit struct STATISKIT_CORE_API Estimator { - using copy_type = Estimator; + typedef Estimator copy_type; virtual ~Estimator() = 0; @@ -99,7 +99,7 @@ namespace statiskit class STATISKIT_CORE_API UnivariateDispersionEstimation { public: - using copy_type = UnivariateDispersionEstimation; + typedef UnivariateDispersionEstimation copy_type; UnivariateDispersionEstimation(const double& location); UnivariateDispersionEstimation(const UnivariateDispersionEstimation& estimation); @@ -113,7 +113,7 @@ namespace statiskit struct STATISKIT_CORE_API Estimator { - using copy_type = Estimator; + typedef Estimator copy_type; virtual ~Estimator() = 0; @@ -129,7 +129,7 @@ namespace statiskit class STATISKIT_CORE_API MultivariateDispersionEstimation { public: - using copy_type = MultivariateDispersionEstimation; + typedef MultivariateDispersionEstimation copy_type; MultivariateDispersionEstimation(const Eigen::VectorXd& location); MultivariateDispersionEstimation(const MultivariateDispersionEstimation& estimation); @@ -143,7 +143,7 @@ namespace statiskit struct STATISKIT_CORE_API Estimator { - using copy_type = Estimator; + typedef Estimator copy_type; virtual ~Estimator() = 0; diff --git a/src/cpp/optimization.h b/src/cpp/optimization.h index 4b21c536..46038aef 100644 --- a/src/cpp/optimization.h +++ b/src/cpp/optimization.h @@ -6,7 +6,7 @@ namespace statiskit { struct STATISKIT_CORE_API Schedule { - using copy_type = Schedule; + typedef Schedule copy_type; virtual ~Schedule() = 0; diff --git a/src/cpp/selection.h b/src/cpp/selection.h index f1dbbaa8..07184cf4 100644 --- a/src/cpp/selection.h +++ b/src/cpp/selection.h @@ -24,7 +24,8 @@ namespace statiskit public: virtual ~Estimator(); - virtual std::unique_ptr< typename B::Estimator::estimation_type > operator() (typename B::data_type const & data, const bool& lazy=true) const; + using B::Estimator::operator(); + virtual std::unique_ptr< typename B::Estimator::estimation_type > operator() (typename B::data_type const & data) const; Index size() const; @@ -73,6 +74,48 @@ namespace statiskit void finalize(); }; + typedef Selection< CategoricalUnivariateDistributionEstimation > CategoricalUnivariateDistributionSelection; + typedef CategoricalUnivariateDistributionSelection::CriterionEstimator CategoricalUnivariateDistributionCriterionEstimator; + + typedef Selection< DiscreteUnivariateDistributionEstimation > DiscreteUnivariateDistributionSelection; + typedef DiscreteUnivariateDistributionSelection::CriterionEstimator DiscreteUnivariateDistributionCriterionEstimator; + + typedef Selection< ContinuousUnivariateDistributionEstimation > ContinuousUnivariateDistributionSelection; + typedef ContinuousUnivariateDistributionSelection::CriterionEstimator ContinuousUnivariateDistributionCriterionEstimator; + + typedef Selection< MultivariateDistributionEstimation > MultivariateDistributionSelection; + typedef MultivariateDistributionSelection::CriterionEstimator MultivariateDistributionCriterionEstimator; + + typedef Selection< CategoricalMultivariateDistributionEstimation > CategoricalMultivariateDistributionSelection; + typedef CategoricalMultivariateDistributionSelection::CriterionEstimator CategoricalMultivariateDistributionCriterionEstimator; + + typedef Selection< DiscreteMultivariateDistributionEstimation > DiscreteMultivariateDistributionSelection; + typedef DiscreteMultivariateDistributionSelection::CriterionEstimator DiscreteMultivariateDistributionCriterionEstimator; + + typedef Selection< ContinuousMultivariateDistributionEstimation > ContinuousMultivariateDistributionSelection; + typedef ContinuousMultivariateDistributionSelection::CriterionEstimator ContinuousMultivariateDistributionCriterionEstimator; + + // typedef Selection< CategoricalUnivariateConditionalDistributionEstimation > CategoricalUnivariateConditionalDistributionSelection; + // typedef CategoricalUnivariateConditionalDistributionSelection::CriterionEstimator CategoricalUnivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< DiscreteUnivariateConditionalDistributionEstimation > DiscreteUnivariateConditionalDistributionSelection; + // typedef DiscreteUnivariateConditionalDistributionSelection::CriterionEstimator DiscreteUnivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< ContinuousUnivariateConditionalDistributionEstimation > ContinuousUnivariateConditionalDistributionSelection; + // typedef ContinuousUnivariateConditionalDistributionSelection::CriterionEstimator ContinuousUnivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< MultivariateConditionalDistributionEstimation > MultivariateConditionalDistributionSelection; + // typedef MultivariateConditionalDistributionSelection::CriterionEstimator MultivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< CategoricalMultivariateConditionalDistributionEstimation > CategoricalMultivariateConditionalDistributionSelection; + // typedef CategoricalMultivariateConditionalDistributionSelection::CriterionEstimator CategoricalMultivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< DiscreteMultivariateConditionalDistributionEstimation > DiscreteMultivariateConditionalDistributionSelection; + // typedef DiscreteMultivariateConditionalDistributionSelection::CriterionEstimator DiscreteMultivariateConditionalDistributionCriterionEstimator; + + // typedef Selection< ContinuousMultivariateConditionalDistributionEstimation > ContinuousMultivariateConditionalDistributionSelection; + // typedef ContinuousMultivariateConditionalDistributionSelection::CriterionEstimator ContinuousMultivariateConditionalDistributionCriterionEstimator; + template class SlopeHeuristicSelection : public SlopeHeuristic, public PolymorphicCopy, B> { public: diff --git a/src/cpp/selection.hpp b/src/cpp/selection.hpp index 91fabbaa..5cf125b9 100644 --- a/src/cpp/selection.hpp +++ b/src/cpp/selection.hpp @@ -85,13 +85,13 @@ namespace statiskit } template - std::unique_ptr< typename B::Estimator::estimation_type > Selection::Estimator::operator() (const typename B::data_type& data, const bool& lazy) const + std::unique_ptr< typename B::Estimator::estimation_type > Selection::Estimator::operator() (const typename B::data_type& data) const { std::unique_ptr> estimation = std::make_unique>(data.copy().release()); for (Index index = 0, max_index = this->size(); index < max_index; ++index) { try { estimation->estimations.push_back(static_cast< B* >((*(this->estimators[index]))(data).release())); - estimation->scores.push_back(scoring(estimation->estimations.back()->get_distribution(), data)); + estimation->scores.push_back(this->scoring(static_cast< const typename B::distribution_type * >(estimation->estimations.back()->get_distribution()), data)); } catch (const std::exception& e) { estimation->estimations.push_back(nullptr); estimation->scores.push_back(std::numeric_limits< double >::quiet_NaN()); diff --git a/src/cpp/singular.cpp b/src/cpp/singular.cpp index 12d6909f..0bcc119f 100644 --- a/src/cpp/singular.cpp +++ b/src/cpp/singular.cpp @@ -10,6 +10,7 @@ #include #include #include +#include namespace statiskit { diff --git a/src/cpp/singular.h b/src/cpp/singular.h index daf2dcfd..d6a73ad7 100644 --- a/src/cpp/singular.h +++ b/src/cpp/singular.h @@ -13,8 +13,9 @@ namespace statiskit { struct STATISKIT_CORE_API SingularDistribution { - using copy_type = SingularDistribution; - using data_type = MultivariateData; + typedef SingularDistribution copy_type; + typedef MultivariateData data_type; + typedef Indices indexing_type; virtual ~SingularDistribution() = 0; @@ -75,9 +76,9 @@ namespace statiskit Eigen::VectorXd alpha; }; - using SingularDistributionEstimation = DistributionEstimation< SingularDistribution >; - using SingularDistributionSelection = Selection< SingularDistributionEstimation >; - using SingularDistributionCriterionEstimator = SingularDistributionSelection::CriterionEstimator; + typedef DistributionEstimation< SingularDistribution > SingularDistributionEstimation; + typedef Selection< SingularDistributionEstimation > SingularDistributionSelection; + typedef SingularDistributionSelection::CriterionEstimator SingularDistributionCriterionEstimator; struct STATISKIT_CORE_API MultinomialSingularDistributionEstimation : PolymorphicCopy { @@ -165,8 +166,6 @@ namespace statiskit protected: DiscreteUnivariateDistributionEstimation::Estimator* sum; SingularDistributionEstimation::Estimator* singular; - - virtual std::unordered_set< uintptr_t > children() const; }; protected: diff --git a/src/cpp/slope_heuristic.h b/src/cpp/slope_heuristic.h index 2adfced6..fbb3f498 100644 --- a/src/cpp/slope_heuristic.h +++ b/src/cpp/slope_heuristic.h @@ -13,7 +13,7 @@ namespace statiskit class STATISKIT_CORE_API SlopeHeuristicSolver { public: - using copy_type = SlopeHeuristicSolver; + typedef SlopeHeuristicSolver copy_type; SlopeHeuristicSolver(); SlopeHeuristicSolver(const SlopeHeuristicSolver& solver); @@ -36,8 +36,6 @@ namespace statiskit SlopeHeuristicOLSSolver(const SlopeHeuristicOLSSolver& solver); virtual Eigen::VectorXd operator() (const Eigen::MatrixXd& X, const Eigen::VectorXd& y) const; - - virtual std::unique_ptr< SlopeHeuristicSolver > copy() const; }; class STATISKIT_CORE_API SlopeHeuristicIWLSSolver : public SlopeHeuristicSolver @@ -95,7 +93,7 @@ namespace statiskit struct STATISKIT_CORE_API SlopeHeuristicSelector { - using copy_type = SlopeHeuristicSelector; + typedef SlopeHeuristicSelector copy_type; SlopeHeuristicSelector() = default; SlopeHeuristicSelector(const SlopeHeuristicSelector& selector) = default; diff --git a/src/py/statiskit/__init__.py b/src/py/statiskit/__init__.py deleted file mode 100644 index 267f7100..00000000 --- a/src/py/statiskit/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -try: - import pkg_resources - pkg_resources.declare_namespace(__name__) -except ImportError: - import pkgutil - __path__ = pkgutil.extend_path(__path__, __name__) diff --git a/src/py/statiskit/core/__init__.py b/src/py/statiskit/core/__init__.py index 4ddbafab..34f00c02 100644 --- a/src/py/statiskit/core/__init__.py +++ b/src/py/statiskit/core/__init__.py @@ -1,18 +1,21 @@ from statiskit import linalg -del linalg from statiskit import stl -del stl from .base import * from .controls import * -from .event import * -from .sample_space import * from .data import * -from .io import * +from ._data import load_data from .distribution import * -from .singular import * -from .slope_heuristic import * from .estimation import * +from .estimator import * +from .event import * from .indicator import * +from .io import * +from .sample_space import * +from .selection import * +# from .singular import * +from .slope_heuristic import * +from .stl import * -from .stl import * \ No newline at end of file +del linalg +del stl \ No newline at end of file diff --git a/src/py/statiskit/core/_core.py b/src/py/statiskit/core/_core.py index 1ebdf05c..622da700 100644 --- a/src/py/statiskit/core/_core.py +++ b/src/py/statiskit/core/_core.py @@ -11,9 +11,7 @@ __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator = __core.statiskit.__distribution_estimation_91c5962ae4f35199bc2e90b5edad8412.Estimator __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator = __core.statiskit.__distribution_estimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator __core.statiskit.MultivariateLocationEstimation.Estimator = __core.statiskit._multivariate_location_estimation.Estimator -__core.std.IosBase.event = __core.std._ios_base.event __core.statiskit.UnivariateData.Generator = __core.statiskit._univariate_data.Generator -__core.std.IosBase.Init = __core.std._ios_base.Init __core.std.Locale.Facet = __core.std._locale.Facet __core.statiskit.UnivariateDispersionEstimation.Estimator = __core.statiskit._univariate_dispersion_estimation.Estimator __core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator = __core.statiskit.__conditional_distribution_estimation_22af95e725215bc9b21db076f5deefd7.Estimator @@ -31,52 +29,490 @@ __core.statiskit.UnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._univariate_conditional_distribution_estimation.Estimator __core.statiskit.MultivariateData.Generator = __core.statiskit._multivariate_data.Generator __core.statiskit.ContinuousMultivariateDistributionEstimation.Estimator = __core.statiskit._continuous_multivariate_distribution_estimation.Estimator +__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._continuous_univariate_conditional_distribution_estimation.Estimator __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator = __core.statiskit._continuous_univariate_distribution_estimation.Estimator __core.statiskit.MultivariateVarianceEstimation.Estimator = __core.statiskit._multivariate_variance_estimation.Estimator __core.statiskit.MultinomialSingularDistributionEstimation.Estimator = __core.statiskit._multinomial_singular_distribution_estimation.Estimator __core.statiskit.MultivariateMeanEstimation.Estimator = __core.statiskit._multivariate_mean_estimation.Estimator +__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._continuous_multivariate_conditional_distribution_estimation.Estimator __core.statiskit.UnivariateVarianceEstimation.Estimator = __core.statiskit._univariate_variance_estimation.Estimator __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator = __core.statiskit._discrete_univariate_distribution_estimation.Estimator +__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_conditional_distribution_estimation.Estimator __core.statiskit.CategoricalUnivariateDistributionEstimation.Estimator = __core.statiskit._categorical_univariate_distribution_estimation.Estimator +__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._discrete_univariate_conditional_distribution_estimation.Estimator +__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_conditional_distribution_estimation.Estimator __core.statiskit.DiscreteMultivariateDistributionEstimation.Estimator = __core.statiskit._discrete_multivariate_distribution_estimation.Estimator +__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.Estimator = __core.statiskit._categorical_univariate_conditional_distribution_estimation.Estimator __core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator = __core.statiskit._categorical_multivariate_distribution_estimation.Estimator +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.Estimator = __core.statiskit.__selection_293cf3d7dd1455688b4f9ff136dd48ac.Estimator __core.statiskit.UnivariateMeanEstimation.Estimator = __core.statiskit._univariate_mean_estimation.Estimator +__core.statiskit.NormalDistributionEstimation.Estimator = __core.statiskit._normal_distribution_estimation.Estimator __core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e.Estimator __core.statiskit.DirichletMultinomialSingularDistributionEstimation.Estimator = __core.statiskit._dirichlet_multinomial_singular_distribution_estimation.Estimator +__core.statiskit.BinomialDistributionEstimation.Estimator = __core.statiskit._binomial_distribution_estimation.Estimator +__core.statiskit.NegativeMultinomialDistributionEstimation.Estimator = __core.statiskit._negative_multinomial_distribution_estimation.Estimator +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.Estimator = __core.statiskit.__selection_2ba75dcd62935454a66d0b70e682804e.Estimator +__core.statiskit.UnivariateHistogramDistributionEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_estimation.Estimator +__core.statiskit.NegativeBinomialDistributionEstimation.Estimator = __core.statiskit._negative_binomial_distribution_estimation.Estimator +__core.statiskit.GeometricDistributionEstimation.Estimator = __core.statiskit._geometric_distribution_estimation.Estimator __core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7.Estimator -__core.std.IosBase.Failure = __core.std._ios_base.Failure +__core.statiskit.LogarithmicDistributionEstimation.Estimator = __core.statiskit._logarithmic_distribution_estimation.Estimator __core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.Estimator = __core.statiskit.__selection_180294e9e19355e187edd0ed7cb54375.Estimator +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.Estimator = __core.statiskit.__selection_d0f424c13b8b5c34bc79ddf60ae82086.Estimator +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.Estimator = __core.statiskit.__selection_4a0047f6ae1a562c9758824adf6bdc45.Estimator +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.Estimator = __core.statiskit.__selection_63d17adfd9865a9ea92417492b7a15d5.Estimator +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.Estimator = __core.statiskit.__selection_12a6e0c7ad825078967a85064cb90dd3.Estimator __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator = __core.statiskit.__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator -__core.statiskit.RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._regular_univariate_histogram_distribution_slope_heuristic_selection.Estimator -__core.statiskit.BinomialDistributionMMEstimation.Estimator = __core.statiskit._binomial_distribution_mm_estimation.Estimator +__core.statiskit.PoissonDistributionEstimation.Estimator = __core.statiskit._poisson_distribution_estimation.Estimator __core.statiskit.SplittingDistributionEstimation.Estimator = __core.statiskit._splitting_distribution_estimation.Estimator +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator = __core.statiskit.__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator = __core.statiskit.__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1.Estimator +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator = __core.statiskit.__selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator +__core.statiskit.BinomialDistributionMMEstimation.Estimator = __core.statiskit._binomial_distribution_mm_estimation.Estimator __core.statiskit.NegativeBinomialDistributionMMEstimation.Estimator = __core.statiskit._negative_binomial_distribution_mm_estimation.Estimator +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator = __core.statiskit.__selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator = __core.statiskit.__selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator __core.statiskit.PoissonDistributionMLEstimation.Estimator = __core.statiskit._poisson_distribution_ml_estimation.Estimator -__core.statiskit.IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator = __core.statiskit._irregular_univariate_histogram_distribution_slope_heuristic_selection.Estimator -__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator = __core.statiskit.__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator = __core.statiskit.__selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator = __core.statiskit.__selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator = __core.statiskit.__selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator = __core.statiskit.__selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator +__core.statiskit.UnivariateHistogramDistributionRegularEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_regular_estimation.Estimator __core.statiskit.NormalDistributionMLEstimation.Estimator = __core.statiskit._normal_distribution_ml_estimation.Estimator -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator = __core.statiskit.__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1.Estimator -__core.statiskit.UnivariateHistogramDistributionEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_estimation.Estimator +__core.statiskit.UnivariateHistogramDistributionIrregularEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_irregular_estimation.Estimator __core.statiskit.GeometricDistributionMLEstimation.Estimator = __core.statiskit._geometric_distribution_ml_estimation.Estimator +__core.statiskit.UnivariateHistogramDistributionClassicEstimation.Estimator = __core.statiskit._univariate_histogram_distribution_classic_estimation.Estimator +__core.statiskit.NegativeMultinomialDistributionWZ99Estimation.Estimator = __core.statiskit._negative_multinomial_distribution_wz99_estimation.Estimator __core.statiskit.BinomialDistributionMLEstimation.Estimator = __core.statiskit._binomial_distribution_ml_estimation.Estimator -__core.statiskit.NegativeMultinomialDistributionEstimation.WZ99Estimator = __core.statiskit._negative_multinomial_distribution_estimation.WZ99Estimator __core.statiskit.NegativeBinomialDistributionMLEstimation.Estimator = __core.statiskit._negative_binomial_distribution_ml_estimation.Estimator __core.statiskit.LogarithmicDistributionMLEstimation.Estimator = __core.statiskit._logarithmic_distribution_ml_estimation.Estimator +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator.criterion_type = __core.statiskit.__selection_293cf3d7dd1455688b4f9ff136dd48ac._criterion_estimator.criterion_type +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator.criterion_type = __core.statiskit.__selection_180294e9e19355e187edd0ed7cb54375._criterion_estimator.criterion_type +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator.criterion_type = __core.statiskit.__selection_63d17adfd9865a9ea92417492b7a15d5._criterion_estimator.criterion_type +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator.criterion_type = __core.statiskit.__selection_2ba75dcd62935454a66d0b70e682804e._criterion_estimator.criterion_type +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator.criterion_type = __core.statiskit.__selection_d0f424c13b8b5c34bc79ddf60ae82086._criterion_estimator.criterion_type __core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator.criterion_type = __core.statiskit.__selection_8d9f50f674e25529b3d059a5a5380bcb._criterion_estimator.criterion_type +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator.criterion_type = __core.statiskit.__selection_4a0047f6ae1a562c9758824adf6bdc45._criterion_estimator.criterion_type +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator.criterion_type = __core.statiskit.__selection_12a6e0c7ad825078967a85064cb90dd3._criterion_estimator.criterion_type + +# Resolve scopes +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.__abstract__ = True +__core.statiskit.UnivariateSampleSpace.__abstract__ = True +__core.statiskit.MultivariateDispersionEstimation.__abstract__ = True +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.__abstract__ = True +__core.statiskit.MultivariateLocationEstimation.Estimator.__abstract__ = True +__core.statiskit.UnivariateData.__abstract__ = True +__core.statiskit.UnivariateData.Generator.__abstract__ = True +__core.statiskit.Schedule.__abstract__ = True +__core.statiskit.SlopeHeuristicSelector.__abstract__ = True +__core.statiskit.MultivariateDistribution.__abstract__ = True +__core.statiskit.UnivariateDispersionEstimation.Estimator.__abstract__ = True +__core.statiskit.SlopeHeuristicSolver.__abstract__ = True +__core.statiskit.MultivariateLocationEstimation.__abstract__ = True +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator.__abstract__ = True +__core.statiskit.MultivariateConditionalDistribution.__abstract__ = True +__core.statiskit.SingularDistribution.__abstract__ = True +__core.statiskit.UnivariateConditionalDistribution.__abstract__ = True +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator.__abstract__ = True +__core.statiskit.UnivariateDispersionEstimation.__abstract__ = True +__core.statiskit.MultivariateData.__abstract__ = True +__core.statiskit.MultivariateDispersionEstimation.Estimator.__abstract__ = True +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.__abstract__ = True +__core.statiskit.MultivariateEvent.__abstract__ = True +__core.statiskit.UnivariateLocationEstimation.__abstract__ = True +__core.statiskit.UnivariateLocationEstimation.Estimator.__abstract__ = True +__core.statiskit.UnivariateDistribution.__abstract__ = True +__core.statiskit.UnivariateEvent.__abstract__ = True +__core.statiskit.MultivariateSampleSpace.__abstract__ = True +__core.statiskit.DiscreteUnivariateDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7.__abstract__ = True +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d.__abstract__ = True +__core.statiskit.ContinuousMultivariateConditionalDistribution.__abstract__ = True +__core.statiskit.CategoricalSampleSpace.__abstract__ = True +__core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f.__abstract__ = True +__core.statiskit.ContinuousUnivariateConditionalDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0.__abstract__ = True +__core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f.__abstract__ = True +__core.statiskit.CategoricalUnivariateConditionalDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d.__abstract__ = True +__core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7.__abstract__ = True +__core.statiskit._Optimization_3170a5376b065cea9f39ca7a6ad5332f.__abstract__ = True +__core.statiskit.DiscreteMultivariateDistribution.__abstract__ = True +__core.statiskit.DiscreteMultivariateConditionalDistribution.__abstract__ = True +__core.statiskit.DiscreteUnivariateConditionalDistribution.__abstract__ = True +__core.statiskit.DiscreteEvent.__abstract__ = True +__core.statiskit.UnivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit.MultivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a.__abstract__ = True +__core.statiskit.ContinuousUnivariateDistribution.__abstract__ = True +__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2.__abstract__ = True +__core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762.__abstract__ = True +__core.statiskit.ContinuousMultivariateDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f.__abstract__ = True +__core.statiskit.SlopeHeuristicIWLSSolver.__abstract__ = True +__core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799.__abstract__ = True +__core.statiskit.DiscreteSampleSpace.__abstract__ = True +__core.statiskit.ContinuousEvent.__abstract__ = True +__core.statiskit.MultivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09.__abstract__ = True +__core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b.__abstract__ = True +__core.statiskit.UnivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit.MultivariateData.Generator.__abstract__ = True +__core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86.__abstract__ = True +__core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7.__abstract__ = True +__core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4.__abstract__ = True +__core.statiskit.CategoricalMultivariateConditionalDistribution.__abstract__ = True +__core.statiskit.ContinuousSampleSpace.__abstract__ = True +__core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72.__abstract__ = True +__core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf.__abstract__ = True +__core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55.__abstract__ = True +__core.statiskit.CategoricalMultivariateDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92.__abstract__ = True +__core.statiskit.CategoricalEvent.__abstract__ = True +__core.statiskit.CategoricalUnivariateDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a.__abstract__ = True +__core.statiskit.ContinuousMultivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistribution_0db25688c9bf5a57b1d944dcc1a3b7f2.__abstract__ = True +__core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8.__abstract__ = True +__core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c.__abstract__ = True +__core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c.__abstract__ = True +__core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387.__abstract__ = True +__core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82.__abstract__ = True +__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee.__abstract__ = True +__core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87.__abstract__ = True +__core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a.__abstract__ = True +__core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860.__abstract__ = True +__core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66.__abstract__ = True +__core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8.__abstract__ = True +__core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7.__abstract__ = True +__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac.__abstract__ = True +__core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89.__abstract__ = True +__core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8.__abstract__ = True +__core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b.__abstract__ = True +__core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031.__abstract__ = True +__core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5.__abstract__ = True +__core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931.__abstract__ = True +__core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d.__abstract__ = True +__core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c.__abstract__ = True +__core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5.__abstract__ = True +__core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63.__abstract__ = True +__core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc.__abstract__ = True +__core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061.__abstract__ = True +__core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429.__abstract__ = True +__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistribution_a4463e49d7865a6497ec20612e342cbe.__abstract__ = True +__core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd.__abstract__ = True +__core.statiskit.CategoricalUnivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a.__abstract__ = True +__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8.__abstract__ = True +__core.statiskit.DiscreteMultivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistribution_bf5b68f25d1f5ab9ad2c936351edf740.__abstract__ = True +__core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6.__abstract__ = True +__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f.__abstract__ = True +__core.statiskit.CategoricalMultivariateDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387.__abstract__ = True +__core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd.__abstract__ = True +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7.__abstract__ = True +__core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008.__abstract__ = True +__core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c.__abstract__ = True +__core.statiskit.BetaCompoundDiscreteUnivariateDistribution.__abstract__ = True +__core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83.__abstract__ = True +__core.statiskit.WeightedMultivariateData.__abstract__ = True +__core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b.__abstract__ = True +__core.statiskit.NormalDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc.__abstract__ = True +__core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3.__abstract__ = True +__core.statiskit.BinomialDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit.NegativeMultinomialDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf.__abstract__ = True +__core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375.__abstract__ = True +__core.statiskit.UnivariateHistogramDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec.__abstract__ = True +__core.statiskit.NegativeBinomialDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit.GeometricDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.__abstract__ = True +__core.statiskit.LogarithmicDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf.__abstract__ = True +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.Estimator.__abstract__ = True +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.Estimator.__abstract__ = True +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8.__abstract__ = True +__core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e.__abstract__ = True +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7.__abstract__ = True +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_daa0c5e6c7f25af9a259ba4efb1e2341.__abstract__ = True +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.__abstract__ = True +__core.statiskit.PoissonDistributionEstimation.Estimator.__abstract__ = True +__core.statiskit._PolymorphicCopy_245bdea2b3e05b4fb0104c5865b41fd0.__abstract__ = True +__core.statiskit._PolymorphicCopy_4045395044115f8ca0008a4001f465bf.__abstract__ = True +__core.statiskit._Optimization_44ecbd8e3dde5fd9927c4ef097bcbba4.__abstract__ = True +__core.statiskit._PolymorphicCopy_45ef03239c8a51d0b1f396ab9e7a0cc3.__abstract__ = True +__core.statiskit._PolymorphicCopy_4ad5d715fa7758bb9c2f44cbc2e7b43a.__abstract__ = True +__core.statiskit._Optimization_7341ddcf708c51d5b493d81c653b51bb.__abstract__ = True +__core.statiskit._PolymorphicCopy_7c4052298259530bb07fa16e53c1d268.__abstract__ = True +__core.statiskit._PolymorphicCopy_80abf3b31d59572db1c8566cad592e92.__abstract__ = True +__core.statiskit._PolymorphicCopy_823c1d5da2f35f9abbb62a989d434392.__abstract__ = True +__core.statiskit._PolymorphicCopy_83b0ebcd469f5c54a5d8ed41bc70362c.__abstract__ = True +__core.statiskit._PolymorphicCopy_9f685fe1069e58669281e1311818de94.__abstract__ = True +__core.statiskit._PolymorphicCopy_a22eff2d08c251169af231a773c880d3.__abstract__ = True +__core.statiskit._PolymorphicCopy_a2ac4c39613c5228a2a3cf6cbec6f725.__abstract__ = True +__core.statiskit._PolymorphicCopy_b581fba1ddc25a0f80be4fc91f938db4.__abstract__ = True +__core.statiskit._PolymorphicCopy_b6d36b833ba954b1a5101fc3e17aeea9.__abstract__ = True +__core.statiskit._Optimization_b7ac2d5bfb385a2ca41d90d218b9913b.__abstract__ = True +__core.statiskit._PolymorphicCopy_b7c30dd4152658648d05d4b2fbc2fc1d.__abstract__ = True +__core.statiskit._PolymorphicCopy_bcd5acac62455ce2a0bc14930caa1afc.__abstract__ = True +__core.statiskit._PolymorphicCopy_c475c63848ca56959122216f3a32cba9.__abstract__ = True +__core.statiskit._PolymorphicCopy_d2eb5be040f057108ebb6d00f411c861.__abstract__ = True +__core.statiskit._Optimization_d486929892b45fbbb400acc476573f6a.__abstract__ = True +__core.statiskit._PolymorphicCopy_2e890b1bdd6056ca8fd8a36c7e7f406f.__abstract__ = True +__core.statiskit._PolymorphicCopy_3867e7acf01c53eeac5d396eedbb7d4e.__abstract__ = True +__core.statiskit._PolymorphicCopy_4f57d631afda50d08d8ab83ad3f246f4.__abstract__ = True +__core.statiskit._PolymorphicCopy_8d0da16fd314598aa5af20cb6d470f87.__abstract__ = True +# Resolve scopes +__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.__abstract__ = False +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.__abstract__ = False +__core.std.Locale.__abstract__ = False +__core.std.Locale.Facet.__abstract__ = False +__core.statiskit.NamedData.__abstract__ = False +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.__abstract__ = False +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.__abstract__ = False +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.Sentry.__abstract__ = False +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.__abstract__ = False +__core.std.Locale.Id.__abstract__ = False +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.__abstract__ = False +__core.statiskit.SlopeHeuristic.__abstract__ = False +__core.std.Exception.__abstract__ = False +__core.std._Vector_160b713997e259caa9b19848803d29f1.__abstract__ = False +__core.statiskit.UnivariateDistributionEstimation.__abstract__ = False +__core.statiskit._IterativeEstimation_3f4e466ff3215f84837970a75685a8b5.__abstract__ = False +__core.statiskit.MultivariateDistributionEstimation.__abstract__ = False +__core.statiskit.VectorSampleSpace.__abstract__ = False +__core.std.RuntimeError.__abstract__ = False +__core.statiskit.MultivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.UnivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6.__abstract__ = False +__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.__abstract__ = False +__core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998.__abstract__ = False +__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.MultivariateVarianceEstimation.Estimator.__abstract__ = False +__core.statiskit.SlopeHeuristicOLSSolver.__abstract__ = False +__core.statiskit.MultinomialSingularDistributionEstimation.Estimator.__abstract__ = False +__core.statiskit.SlopeHeuristicSuperiorSelector.__abstract__ = False +__core.statiskit.VectorEvent.__abstract__ = False +__core.statiskit.HierarchicalSampleSpace.__abstract__ = False +__core.statiskit.ExponentialSchedule.__abstract__ = False +__core.statiskit.MemberError.__abstract__ = False +__core.statiskit.MultivariateMeanEstimation.Estimator.__abstract__ = False +__core.statiskit.RealSampleSpace.__abstract__ = False +__core.statiskit.UnivariateDataFrame.__abstract__ = False +__core.statiskit.IntegerSampleSpace.__abstract__ = False +__core.statiskit.UnivariateVarianceEstimation.Estimator.__abstract__ = False +__core.statiskit.ParameterError.__abstract__ = False +__core.statiskit.NominalSampleSpace.__abstract__ = False +__core.statiskit._PolymorphicCopy_6fc842ebefdd58e28f37dcb214da4519.__abstract__ = False +__core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425.__abstract__ = False +__core.statiskit.OrdinalSampleSpace.__abstract__ = False +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.__abstract__ = False +__core.statiskit.MultivariateVarianceEstimation.__abstract__ = False +__core.statiskit.IndexSelectedData.__abstract__ = False +__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.__abstract__ = False +__core.statiskit.UnivariateVarianceEstimation.__abstract__ = False +__core.statiskit.DiscreteUnivariateDistributionEstimation.__abstract__ = False +__core.statiskit.DiscreteMultivariateDistributionEstimation.__abstract__ = False +__core.statiskit.MultinomialSingularDistributionEstimation.__abstract__ = False +__core.statiskit.MultinomialSingularDistribution.__abstract__ = False +__core.statiskit.MultivariateMeanEstimation.__abstract__ = False +__core.statiskit.IndicesSelectedData.__abstract__ = False +__core.statiskit.MultivariateDataFrame.__abstract__ = False +__core.statiskit.CategoricalUnivariateDistributionEstimation.__abstract__ = False +__core.statiskit.UnivariateMeanEstimation.__abstract__ = False +__core.statiskit.DirichletMultinomialSingularDistribution.__abstract__ = False +__core.statiskit.SlopeHeuristicMaximalSelector.__abstract__ = False +__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.__abstract__ = False +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.__abstract__ = False +__core.statiskit.UnivariateMeanEstimation.Estimator.__abstract__ = False +__core.statiskit.CategoricalMultivariateDistributionEstimation.__abstract__ = False +__core.statiskit.ContinuousUnivariateDistributionEstimation.__abstract__ = False +__core.statiskit.ContinuousMultivariateDistributionEstimation.__abstract__ = False +__core.statiskit.NotImplementedError.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionEstimation.__abstract__ = False +__core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e.__abstract__ = False +__core.statiskit.PoissonDistribution.__abstract__ = False +__core.statiskit.GompertzDistribution.__abstract__ = False +__core.statiskit.NormalDistributionEstimation.__abstract__ = False +__core.statiskit.LogisticDistribution.__abstract__ = False +__core.statiskit.BinomialDistributionEstimation.__abstract__ = False +__core.statiskit.NegativeBinomialDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2.__abstract__ = False +__core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f.__abstract__ = False +__core.statiskit.DirichletMultinomialSingularDistributionEstimation.Estimator.__abstract__ = False +__core.statiskit.UnderdispersionError.__abstract__ = False +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.__abstract__ = False +__core.statiskit.InSetError.__abstract__ = False +__core.statiskit.NormalDistribution.__abstract__ = False +__core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393.__abstract__ = False +__core.statiskit.NullptrError.__abstract__ = False +__core.statiskit.WeightedUnivariateData.__abstract__ = False +__core.statiskit.LaplaceDistribution.__abstract__ = False +__core.statiskit.PoissonDistributionEstimation.__abstract__ = False +__core.statiskit._ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559.__abstract__ = False +__core.statiskit.CauchyDistribution.__abstract__ = False +__core.statiskit.HierarchicalDistribution.__abstract__ = False +__core.statiskit.GeometricDistribution.__abstract__ = False +__core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651.__abstract__ = False +__core.statiskit.NegativeBinomialDistributionEstimation.__abstract__ = False +__core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835.__abstract__ = False +__core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6.__abstract__ = False +__core.statiskit.GammaDistribution.__abstract__ = False +__core.statiskit.DirichletMultinomialSingularDistributionEstimation.__abstract__ = False +__core.statiskit.MultinormalDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_5709c2f49861546cb165b457503824cc.__abstract__ = False +__core.statiskit.SlopeHeuristicBiSquareSolver.__abstract__ = False +__core.statiskit.ExponentialDistribution.__abstract__ = False +__core.statiskit.BinaryDistribution.__abstract__ = False +__core.statiskit.UpperBoundError.__abstract__ = False +__core.statiskit.QualitativeSampleSpaceError.__abstract__ = False +__core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d.__abstract__ = False +__core.statiskit.DuplicatedValueError.__abstract__ = False +__core.statiskit._PolymorphicCopy_7e7ee2f40ddc54319b0933514ac68c15.__abstract__ = False +__core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486.__abstract__ = False +__core.statiskit.GumbelDistribution.__abstract__ = False +__core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527.__abstract__ = False +__core.statiskit._PolymorphicCopy_916bb7e64837584fb2d59463fdb3adaa.__abstract__ = False +__core.statiskit.OverdispersionError.__abstract__ = False +__core.statiskit.BetaDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f.__abstract__ = False +__core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d.__abstract__ = False +__core.statiskit.UnivariateHistogramDistribution.__abstract__ = False +__core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5.__abstract__ = False +__core.statiskit.IntervalError.__abstract__ = False +__core.statiskit.BinomialDistribution.__abstract__ = False +__core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053.__abstract__ = False +__core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf.__abstract__ = False +__core.statiskit.UniformDistribution.__abstract__ = False +__core.statiskit.LogarithmicDistributionEstimation.__abstract__ = False +__core.statiskit.GeometricDistributionEstimation.__abstract__ = False +__core.statiskit._PolymorphicCopy_b91dc1bd45ca5b28b265d059475cffcd.__abstract__ = False +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator.__abstract__ = False +__core.statiskit.LogarithmicDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_ca164df1e056590f82893412e250494d.__abstract__ = False +__core.statiskit.SizeError.__abstract__ = False +__core.statiskit.DirichletDistribution.__abstract__ = False +__core.statiskit.SampleSizeError.__abstract__ = False +__core.statiskit.NegativeMultinomialDistributionEstimation.__abstract__ = False +__core.statiskit.SampleSpaceError.__abstract__ = False +__core.statiskit.SlopeHeuristicHuberSolver.__abstract__ = False +__core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780.__abstract__ = False +__core.statiskit._PolymorphicCopy_e5af192f1d9456d3ba5c6187223960e6.__abstract__ = False +__core.statiskit.LowerBoundError.__abstract__ = False +__core.statiskit.StudentDistribution.__abstract__ = False +__core.statiskit.SplittingDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe.__abstract__ = False +__core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33.__abstract__ = False +__core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247.__abstract__ = False +__core.statiskit.SplittingDistributionEstimation.__abstract__ = False +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.__abstract__ = False +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.__abstract__ = False +__core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01.__abstract__ = False +__core.statiskit.SplittingDistributionEstimation.Estimator.__abstract__ = False +__core.statiskit._PolymorphicCopy_27e4a3de65cd5691b17c9700cc9e7047.__abstract__ = False +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.__abstract__ = False +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.__abstract__ = False +__core.statiskit._PolymorphicCopy_33bff84921ee5bed9a1741a76baa1e8c.__abstract__ = False +__core.statiskit._PolymorphicCopy_49ff240b938d573e852420ed949939a2.__abstract__ = False +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.__abstract__ = False +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.__abstract__ = False +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.__abstract__ = False +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.__abstract__ = False +__core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb.__abstract__ = False +__core.statiskit.OrdinalDistribution.__abstract__ = False +__core.statiskit._IterativeEstimation_900a3cd8a641504a86f6361e9ec4876f.__abstract__ = False +__core.statiskit.NonStandardStudentDistribution.__abstract__ = False +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.__abstract__ = False +__core.statiskit._IterativeEstimation_9b7e68a17ff659d28c8a9d6250229442.__abstract__ = False +__core.statiskit._PolymorphicCopy_9d4ce064ffdf535ab48ee673205bef55.__abstract__ = False +__core.statiskit.NominalDistribution.__abstract__ = False +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator.__abstract__ = False +__core.statiskit._IterativeEstimation_a40edc8cafb55dbebc9e932e8692e8ff.__abstract__ = False +__core.statiskit._IterativeEstimation_aa4257ce2e3e5118aa2930b6c068b768.__abstract__ = False +__core.statiskit.BetaBinomialDistribution.__abstract__ = False +__core.statiskit.BetaNegativeBinomialDistribution.__abstract__ = False +__core.statiskit._PolymorphicCopy_c949942a0ca75e079d7dc4997d6f6ee2.__abstract__ = False +__core.statiskit._PolymorphicCopy_cda8126c0f0b58acbd4b5b11d5ee60d1.__abstract__ = False +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.__abstract__ = False +__core.statiskit._PolymorphicCopy_d2dc6ff6ec9c5520af32b4a59c402fac.__abstract__ = False +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.__abstract__ = False +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.__abstract__ = False +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.__abstract__ = False +__core.statiskit.GeometricDistributionMLEstimation.__abstract__ = False +__core.statiskit.BinomialDistributionMMEstimation.Estimator.__abstract__ = False +__core.statiskit.NegativeBinomialDistributionMMEstimation.Estimator.__abstract__ = False +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator.__abstract__ = False +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator.__abstract__ = False +__core.statiskit.PoissonDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionClassicEstimation.__abstract__ = False +__core.statiskit.PoissonDistributionMLEstimation.__abstract__ = False +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator.__abstract__ = False +__core.statiskit._SlopeHeuristicSelection_3f0857f015a9541598a2c047871407a0.__abstract__ = False +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator.__abstract__ = False +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator.__abstract__ = False +__core.statiskit._PolymorphicCopy_57facc3e421b57a98d33df52929292ad.__abstract__ = False +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimator.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionRegularEstimation.Estimator.__abstract__ = False +__core.statiskit._PolymorphicCopy_7bf5d5a1aae855cb858cab0e94be616b.__abstract__ = False +__core.statiskit.NormalDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionIrregularEstimation.Estimator.__abstract__ = False +__core.statiskit.NormalDistributionMLEstimation.__abstract__ = False +__core.statiskit.NominalDistributionEstimator.__abstract__ = False +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimator.__abstract__ = False +__core.statiskit._PolymorphicCopy_bfae3fc9e0ee536d9781d970fbb5120a.__abstract__ = False +__core.statiskit.GeometricDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit.NegativeBinomialDistributionMMEstimation.__abstract__ = False +__core.statiskit._PolymorphicCopy_ce18cfe01fe257ccb36fe2b990dde7c3.__abstract__ = False +__core.statiskit.BinomialDistributionMMEstimation.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionClassicEstimation.Estimator.__abstract__ = False +__core.statiskit.NegativeMultinomialDistributionWZ99Estimation.__abstract__ = False +__core.statiskit.NegativeMultinomialDistributionWZ99Estimation.Estimator.__abstract__ = False +__core.statiskit._PolymorphicCopy_244b30ff6739579cba43f78a1e060fca.__abstract__ = False +__core.statiskit.BinomialDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit.BinomialDistributionMLEstimation.__abstract__ = False +__core.statiskit._PolymorphicCopy_b546d5877d98583d87994f126ec5e776.__abstract__ = False +__core.statiskit.LogarithmicDistributionMLEstimation.__abstract__ = False +__core.statiskit.NegativeBinomialDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit.LogarithmicDistributionMLEstimation.Estimator.__abstract__ = False +__core.statiskit.NegativeBinomialDistributionMLEstimation.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionIrregularEstimation.__abstract__ = False +__core.statiskit.UnivariateHistogramDistributionRegularEstimation.__abstract__ = False # Group template specializations __core.std._BasicStreambuf = (__core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84) __core.statiskit._ConditionalDistributionEstimation = (__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7, __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc) __core.statiskit._DistributionEstimation = (__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34, __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412, __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f) -__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7, __core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d, __core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f, __core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0, __core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f, __core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d, __core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7, __core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a, __core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762, __core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f, __core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09, __core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b, __core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86, __core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7, __core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4, __core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72, __core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf, __core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55, __core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6, __core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92, __core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a, __core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998, __core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8, __core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c, __core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c, __core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387, __core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82, __core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee, __core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87, __core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a, __core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860, __core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66, __core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8, __core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7, __core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac, __core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89, __core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8, __core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b, __core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031, __core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5, __core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931, __core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425, __core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d, __core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c, __core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5, __core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63, __core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc, __core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061, __core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429, __core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd, __core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a, __core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8, __core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6, __core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f, __core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387, __core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd, __core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7, __core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008, __core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c, __core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83, __core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b, __core.statiskit._PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72, __core.statiskit._PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475, __core.statiskit._PolymorphicCopy_119aa039675055618c8a856f637be1e0, __core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2, __core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc, __core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3, __core.statiskit._PolymorphicCopy_2cb2b79ddcda5d669891ac34e006005a, __core.statiskit._PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109, __core.statiskit._PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e, __core.statiskit._PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d, __core.statiskit._PolymorphicCopy_55903cb2e67650868a4cd698632375c1, __core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf, __core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375, __core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec, __core.statiskit._PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310, __core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d, __core.statiskit._PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a, __core.statiskit._PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496, __core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f, __core.statiskit._PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc, __core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf, __core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf, __core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8, __core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e, __core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7, __core.statiskit._PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7, __core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780, __core.statiskit._PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46, __core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe, __core.statiskit._PolymorphicCopy_051fc1b76bd35424959669918dd74f6a, __core.statiskit._PolymorphicCopy_4045395044115f8ca0008a4001f465bf, __core.statiskit._PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b, __core.statiskit._PolymorphicCopy_823c1d5da2f35f9abbb62a989d434392, __core.statiskit._PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714, __core.statiskit._PolymorphicCopy_9e028a1ab0715490be328e777d68493e, __core.statiskit._PolymorphicCopy_a22eff2d08c251169af231a773c880d3, __core.statiskit._PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188, __core.statiskit._PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e, __core.statiskit._PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6, __core.statiskit._PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275, __core.statiskit._PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622, __core.statiskit._PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10) +__core.statiskit._PolymorphicCopy = (__core.statiskit._PolymorphicCopy_0786eb9689055ad4be86080202077ec7, __core.statiskit._PolymorphicCopy_097d071b39dc5df98bf53b8b2cb22c3d, __core.statiskit._PolymorphicCopy_1ca74b2dc66a5ee79310589958dcce9f, __core.statiskit._PolymorphicCopy_254705bef21f59ca807412aa011917c0, __core.statiskit._PolymorphicCopy_259bbb897cee510787d813a9c7525d6f, __core.statiskit._PolymorphicCopy_2a0dd80c75b958a198cbb602212dea2d, __core.statiskit._PolymorphicCopy_2da8a9223cae5918afa89d5266f7f7e7, __core.statiskit._PolymorphicCopy_50d5d8b88c0d5eeea2e382dc4626754a, __core.statiskit._PolymorphicCopy_5cf53138947354ddb9f4e01b4b221762, __core.statiskit._PolymorphicCopy_63f5048eedae564391cd268a0107428f, __core.statiskit._PolymorphicCopy_73e107092bdb5be2a9ec6e31772ffd09, __core.statiskit._PolymorphicCopy_7466a1a79edf5312955ff663594f561b, __core.statiskit._PolymorphicCopy_9c2fa9a7a902547eab99ffb00609ac86, __core.statiskit._PolymorphicCopy_a0117c6545ed509a9f9743da0a6360b7, __core.statiskit._PolymorphicCopy_a42d846927fa55029bf78190c71fb4a4, __core.statiskit._PolymorphicCopy_b4644d28cde95fdb8e27360bc00fee72, __core.statiskit._PolymorphicCopy_bc2764672801516e9cea984f33c9d9bf, __core.statiskit._PolymorphicCopy_be6e5acaae3150f69207956b75050e55, __core.statiskit._PolymorphicCopy_c5145b1136065279b4181888431537f6, __core.statiskit._PolymorphicCopy_c6b6c0b5c2f852c597d52bf9c25f3f92, __core.statiskit._PolymorphicCopy_f3a4e0390ba552948c69ae13cadb799a, __core.statiskit._PolymorphicCopy_fe481101ccef5e018b6d0e5b0d1be998, __core.statiskit._PolymorphicCopy_0e85222f05205b5983c73610343623c8, __core.statiskit._PolymorphicCopy_0f491a898d6251e1851339f286f0358c, __core.statiskit._PolymorphicCopy_11b76bdf145b514f8ed8993245b9864c, __core.statiskit._PolymorphicCopy_172696efc2ee5189bf7047d20bc97387, __core.statiskit._PolymorphicCopy_1f896af016d3557fa2b823b2110a3f82, __core.statiskit._PolymorphicCopy_20a3935ea3995924abfb200f08b075ee, __core.statiskit._PolymorphicCopy_25265f42150552ea9c7e3f59af135f87, __core.statiskit._PolymorphicCopy_337b3fb852125acd94dcdd79f0bbc00a, __core.statiskit._PolymorphicCopy_37b7e83ad4685de7971d757784ece860, __core.statiskit._PolymorphicCopy_3ff582522b0d5915b638d6939794ff66, __core.statiskit._PolymorphicCopy_4420321c5ba25609a5915044efb89bc8, __core.statiskit._PolymorphicCopy_4b5bca62b7795925980272db0dce9ae7, __core.statiskit._PolymorphicCopy_513f1e95007657ac9d8f70c0a2356aac, __core.statiskit._PolymorphicCopy_5266ea37de9b57c680d01c7fb2421e89, __core.statiskit._PolymorphicCopy_551c927628b651a19489817a39ededb8, __core.statiskit._PolymorphicCopy_68d58bb20b4e507ea69ba2065530644b, __core.statiskit._PolymorphicCopy_6d256cdc2e1253b8823893d5d72bc031, __core.statiskit._PolymorphicCopy_6fc842ebefdd58e28f37dcb214da4519, __core.statiskit._PolymorphicCopy_6fd71629a95855bbad845fa81b27f4d5, __core.statiskit._PolymorphicCopy_7d52c5fa83fa5b7abbc12831a19a2931, __core.statiskit._PolymorphicCopy_7e4c2f85b93b5cc399280098492de425, __core.statiskit._PolymorphicCopy_8408f59ac7205444bbaf4ef2fb92867d, __core.statiskit._PolymorphicCopy_864140a02b1554ffbf15f5c312a38d8c, __core.statiskit._PolymorphicCopy_9819c01af16354f5af1bd00fe32e33a5, __core.statiskit._PolymorphicCopy_9962e820b2a75e44aeb478a7fa3f1b63, __core.statiskit._PolymorphicCopy_9ce76073f232512da483f80a23807ddc, __core.statiskit._PolymorphicCopy_a079c62242f25fd5aefc1ac40095a061, __core.statiskit._PolymorphicCopy_a32936912db85574b408168f51749429, __core.statiskit._PolymorphicCopy_a5cf9061d7bb5791ad10bf28e28951fd, __core.statiskit._PolymorphicCopy_acaf9a5cc6ee5eff8cfa5b68a6258d5a, __core.statiskit._PolymorphicCopy_b544b96a33fd5924804b28cfb48e8df8, __core.statiskit._PolymorphicCopy_c07d900e8cfe54789b1eb7500f2b17d6, __core.statiskit._PolymorphicCopy_c30582fff9a5510186e17a7b44494d9f, __core.statiskit._PolymorphicCopy_d9e3c8f1d16d5ffea475de8236279387, __core.statiskit._PolymorphicCopy_db2668977eed5283a0dfb9992502d2dd, __core.statiskit._PolymorphicCopy_df673121ff9a5ed3a03ae1633aac43b7, __core.statiskit._PolymorphicCopy_e3970afe332b54108a4040278f775008, __core.statiskit._PolymorphicCopy_ed56b0739802545c9906dd23adb8636c, __core.statiskit._PolymorphicCopy_f4b4623a4bb55ebdb42401f0a981cb83, __core.statiskit._PolymorphicCopy_feb9ad1a68185444ba16325ba90aea6b, __core.statiskit._PolymorphicCopy_1dfb91cd35315554957dc314e2ba48a2, __core.statiskit._PolymorphicCopy_23541363c56f58418e709d76f3ae28bc, __core.statiskit._PolymorphicCopy_2644b3904d665c118ab54533b295d7e3, __core.statiskit._PolymorphicCopy_5709c2f49861546cb165b457503824cc, __core.statiskit._PolymorphicCopy_66f947be876e54a4901f1a9633fffbaf, __core.statiskit._PolymorphicCopy_69913377d1325b99bc7469de4f5cf375, __core.statiskit._PolymorphicCopy_6fac6a71bec1544eaecb1b57399ee5ec, __core.statiskit._PolymorphicCopy_79e2f422f64050e2896852975f3b368d, __core.statiskit._PolymorphicCopy_7e7ee2f40ddc54319b0933514ac68c15, __core.statiskit._PolymorphicCopy_916bb7e64837584fb2d59463fdb3adaa, __core.statiskit._PolymorphicCopy_98e0aa1c483d522aa3e3427e0c99ee6f, __core.statiskit._PolymorphicCopy_b0fdc82131d6539ab2e2a6b14e8038cf, __core.statiskit._PolymorphicCopy_b5bed4faf978515387938b2b850d0fdf, __core.statiskit._PolymorphicCopy_b91dc1bd45ca5b28b265d059475cffcd, __core.statiskit._PolymorphicCopy_ca164df1e056590f82893412e250494d, __core.statiskit._PolymorphicCopy_d19aab6dbd7651dda367a81e9c9ee1a8, __core.statiskit._PolymorphicCopy_d3d68100c0aa515393562535c582529e, __core.statiskit._PolymorphicCopy_d740d10f82335516b6c42048834de0c7, __core.statiskit._PolymorphicCopy_daa0c5e6c7f25af9a259ba4efb1e2341, __core.statiskit._PolymorphicCopy_e1e17df0f495561494b85ab0ad5a5780, __core.statiskit._PolymorphicCopy_e5af192f1d9456d3ba5c6187223960e6, __core.statiskit._PolymorphicCopy_f94311a1d1fb597aac56bee900deb9fe, __core.statiskit._PolymorphicCopy_245bdea2b3e05b4fb0104c5865b41fd0, __core.statiskit._PolymorphicCopy_27e4a3de65cd5691b17c9700cc9e7047, __core.statiskit._PolymorphicCopy_33bff84921ee5bed9a1741a76baa1e8c, __core.statiskit._PolymorphicCopy_4045395044115f8ca0008a4001f465bf, __core.statiskit._PolymorphicCopy_45ef03239c8a51d0b1f396ab9e7a0cc3, __core.statiskit._PolymorphicCopy_49ff240b938d573e852420ed949939a2, __core.statiskit._PolymorphicCopy_4ad5d715fa7758bb9c2f44cbc2e7b43a, __core.statiskit._PolymorphicCopy_7c4052298259530bb07fa16e53c1d268, __core.statiskit._PolymorphicCopy_80abf3b31d59572db1c8566cad592e92, __core.statiskit._PolymorphicCopy_823c1d5da2f35f9abbb62a989d434392, __core.statiskit._PolymorphicCopy_83b0ebcd469f5c54a5d8ed41bc70362c, __core.statiskit._PolymorphicCopy_9d4ce064ffdf535ab48ee673205bef55, __core.statiskit._PolymorphicCopy_9f685fe1069e58669281e1311818de94, __core.statiskit._PolymorphicCopy_a22eff2d08c251169af231a773c880d3, __core.statiskit._PolymorphicCopy_a2ac4c39613c5228a2a3cf6cbec6f725, __core.statiskit._PolymorphicCopy_b581fba1ddc25a0f80be4fc91f938db4, __core.statiskit._PolymorphicCopy_b6d36b833ba954b1a5101fc3e17aeea9, __core.statiskit._PolymorphicCopy_b7c30dd4152658648d05d4b2fbc2fc1d, __core.statiskit._PolymorphicCopy_bcd5acac62455ce2a0bc14930caa1afc, __core.statiskit._PolymorphicCopy_c475c63848ca56959122216f3a32cba9, __core.statiskit._PolymorphicCopy_c949942a0ca75e079d7dc4997d6f6ee2, __core.statiskit._PolymorphicCopy_cda8126c0f0b58acbd4b5b11d5ee60d1, __core.statiskit._PolymorphicCopy_d2dc6ff6ec9c5520af32b4a59c402fac, __core.statiskit._PolymorphicCopy_d2eb5be040f057108ebb6d00f411c861, __core.statiskit._PolymorphicCopy_2e890b1bdd6056ca8fd8a36c7e7f406f, __core.statiskit._PolymorphicCopy_3867e7acf01c53eeac5d396eedbb7d4e, __core.statiskit._PolymorphicCopy_4f57d631afda50d08d8ab83ad3f246f4, __core.statiskit._PolymorphicCopy_57facc3e421b57a98d33df52929292ad, __core.statiskit._PolymorphicCopy_7bf5d5a1aae855cb858cab0e94be616b, __core.statiskit._PolymorphicCopy_8d0da16fd314598aa5af20cb6d470f87, __core.statiskit._PolymorphicCopy_bfae3fc9e0ee536d9781d970fbb5120a, __core.statiskit._PolymorphicCopy_ce18cfe01fe257ccb36fe2b990dde7c3, __core.statiskit._PolymorphicCopy_244b30ff6739579cba43f78a1e060fca, __core.statiskit._PolymorphicCopy_b546d5877d98583d87994f126ec5e776) __core.std._Vector = (__core.std._Vector_160b713997e259caa9b19848803d29f1) -__core.statiskit._Optimization = (__core.statiskit._Optimization_3170a5376b065cea9f39ca7a6ad5332f, __core.statiskit._Optimization_246619e611bb5657b2e56a30794d1385, __core.statiskit._Optimization_b730e37e69f05687be99d670316afe25) -__core.statiskit._IterativeEstimation = (__core.statiskit._IterativeEstimation_3f4e466ff3215f84837970a75685a8b5, __core.statiskit._IterativeEstimation_3ea06f62f79c50b5856e5712f2ec8e84, __core.statiskit._IterativeEstimation_5ed6f55d014d5a74a1d1acafef440cde, __core.statiskit._IterativeEstimation_f66e5627d97f5fac82e3d89b9b0694dc) -__core.std._Ctype = (__core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8) -__core.statiskit._WeightedData = (__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2, __core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799, __core.statiskit._WeightedData_b96c209ac3dd5f7fbfe78eac3417193e) +__core.statiskit._Optimization = (__core.statiskit._Optimization_3170a5376b065cea9f39ca7a6ad5332f, __core.statiskit._Optimization_44ecbd8e3dde5fd9927c4ef097bcbba4, __core.statiskit._Optimization_7341ddcf708c51d5b493d81c653b51bb, __core.statiskit._Optimization_b7ac2d5bfb385a2ca41d90d218b9913b, __core.statiskit._Optimization_d486929892b45fbbb400acc476573f6a) +__core.statiskit._IterativeEstimation = (__core.statiskit._IterativeEstimation_3f4e466ff3215f84837970a75685a8b5, __core.statiskit._IterativeEstimation_900a3cd8a641504a86f6361e9ec4876f, __core.statiskit._IterativeEstimation_9b7e68a17ff659d28c8a9d6250229442, __core.statiskit._IterativeEstimation_a40edc8cafb55dbebc9e932e8692e8ff, __core.statiskit._IterativeEstimation_aa4257ce2e3e5118aa2930b6c068b768) +__core.statiskit._WeightedData = (__core.statiskit._WeightedData_5b5f1c1f4aa852eab398cea6df20fee2, __core.statiskit._WeightedData_64ae6eddce405116ba534ed722881799) __core.std._BasicIos = (__core.std._BasicIos_f8b8546034205658b6e3e16175284f26) __core.statiskit._UnivariateFrequencyDistribution = (__core.statiskit._UnivariateFrequencyDistribution_0db25688c9bf5a57b1d944dcc1a3b7f2, __core.statiskit._UnivariateFrequencyDistribution_a4463e49d7865a6497ec20612e342cbe, __core.statiskit._UnivariateFrequencyDistribution_bf5b68f25d1f5ab9ad2c936351edf740) -__core.statiskit._Selection = (__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb) +__core.statiskit._Selection = (__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb, __core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac, __core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3, __core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375, __core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e, __core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45, __core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5, __core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086) __core.std._BasicOstream = (__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b) __core.statiskit._LeftCensoredEvent = (__core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e, __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053) __core.statiskit._RightCensoredEvent = (__core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f, __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6) @@ -87,57 +523,214 @@ __core.statiskit._QuantitativeUnivariateFrequencyDistribution = (__core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01, __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb) __core.statiskit._UnivariateFrequencyDistributionEstimation = (__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7, __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6, __core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e) __core.statiskit._ShiftedDistributionEstimation = (__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f, __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1) -__core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4) +__core.statiskit._SlopeHeuristicSelection = (__core.statiskit._SlopeHeuristicSelection_3f0857f015a9541598a2c047871407a0) # Define aliases -__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit.ShiftedDiscreteUnivariateDistribution = __core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486 +__core.statiskit._ShiftedDistribution_85102754beff532db66ca292ea3a6486.__alias__ = "ShiftedDiscreteUnivariateDistribution" +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit.MultivariateData.SampleSpaceType = __core.statiskit.MultivariateSampleSpace +__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 +__core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6.__alias__ = "ContinuousRightCensoredEvent" +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.CopyType = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 -__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b -__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e -__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 -__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData -__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DataType = __core.statiskit.UnivariateData -__core.std._BasicIos_f8b8546034205658b6e3e16175284f26.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 -__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution -__core.statiskit.ContinuousRightCensoredEvent = __core.statiskit._RightCensoredEvent_4f25ed2b505752de8ee46e2e6aa83af6 -__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution -__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.CtypeType = __core.std._Ctype_488de6b23c2d582c8382ac19e518b6a8 +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1 +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.__alias__ = "DiscreteUnivariateShiftedDistributionEstimation" +__core.statiskit.MultivariateLocationEstimation.CopyType = __core.statiskit.MultivariateLocationEstimation +__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f +__core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f.__alias__ = "DiscreteRightCensoredEvent" +__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.ContinuousMultivariateConditionalDistribution __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DataType = __core.statiskit.MultivariateData +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.DistributionType = __core.statiskit.MultivariateDistribution +__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.ContinuousMultivariateDistributionSelection = __core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5 +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.__alias__ = "ContinuousMultivariateDistributionSelection" +__core.statiskit.ContinuousUnivariateDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.ExplanatoryDataType = __core.statiskit.MultivariateData +__core.statiskit.MultivariateData.__alias__ = "ExplanatoryDataType" +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator.CopyType = __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.IosType = __core.std._BasicIos_f8b8546034205658b6e3e16175284f26 -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d -__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 -__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 -__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.CategoricalMultivariateDistributionSelection = __core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3 +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.__alias__ = "CategoricalMultivariateDistributionSelection" +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.DiscreteMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.CriterionEstimator.__alias__ = "DiscreteMultivariateDistributionCriterionEstimator" +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit.SingularDistributionCriterionEstimator = __core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.CriterionEstimator.__alias__ = "SingularDistributionCriterionEstimator" +__core.statiskit.UnivariateData.EventType = __core.statiskit.UnivariateEvent +__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.CategoricalEvent +__core.statiskit.Schedule.CopyType = __core.statiskit.Schedule +__core.statiskit.DiscreteEvent.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.ContinuousUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.CriterionEstimator.__alias__ = "ContinuousUnivariateDistributionCriterionEstimator" +__core.statiskit.MultivariateData.EventType = __core.statiskit.MultivariateEvent +__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit.CategoricalEvent.DistributionType = __core.statiskit.CategoricalUnivariateDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.ContinuousMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator +__core.statiskit._Selection_63d17adfd9865a9ea92417492b7a15d5.CriterionEstimator.__alias__ = "ContinuousMultivariateDistributionCriterionEstimator" +__core.statiskit.SlopeHeuristicSelector.CopyType = __core.statiskit.SlopeHeuristicSelector +__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 +__core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053.__alias__ = "ContinuousLeftCensoredEvent" +__core.statiskit.CategoricalCensoredEvent = __core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651 +__core.statiskit._CensoredEvent_42c73f7b760d584f96ee42693c708651.__alias__ = "CategoricalCensoredEvent" +__core.statiskit.MultivariateLocationEstimation.Estimator.CopyType = __core.statiskit.MultivariateLocationEstimation.Estimator +__core.statiskit.UnivariateEvent.CopyType = __core.statiskit.UnivariateEvent +__core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.MultivariateEvent.CopyType = __core.statiskit.MultivariateEvent +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.EventType = __core.statiskit.CategoricalEvent +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.CopyType = __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc +__core.statiskit.ContinuousUnivariateDistributionEstimation.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 +__core.std._Vector_160b713997e259caa9b19848803d29f1.__alias__ = "SampleSpaceVector" +__core.statiskit.DiscreteUnivariateConditionalDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 +__core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835.__alias__ = "DiscreteCensoredEvent" +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.CopyType = __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator +__core.statiskit.SingularDistributionSelection = __core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb +__core.statiskit._Selection_8d9f50f674e25529b3d059a5a5380bcb.__alias__ = "SingularDistributionSelection" +__core.statiskit.ContinuousMultivariateDistributionEstimation.DistributionType = __core.statiskit.ContinuousMultivariateDistribution +__core.statiskit.ContinuousUnivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.ContinuousUnivariateConditionalDistribution +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimation = __core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.__alias__ = "ContinuousUnivariateShiftedDistributionEstimation" +__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.DiscreteEvent __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DataType = __core.statiskit.MultivariateData -__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.DiscreteUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.CriterionEstimator.__alias__ = "DiscreteUnivariateDistributionCriterionEstimator" +__core.statiskit.MultivariateData.CopyType = __core.statiskit.MultivariateData +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.CopyType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit.CategoricalMultivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.CategoricalMultivariateConditionalDistribution +__core.statiskit.DiscreteElementaryEvent = __core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527 +__core.statiskit._ElementaryEvent_85e5d9c1d86a574d8623fe4bb0164527.__alias__ = "DiscreteElementaryEvent" +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.DistributionType = __core.statiskit.MultivariateConditionalDistribution +__core.statiskit.SingularDistribution.IndexingType = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit.UnivariateData.WeightedType = __core.statiskit.WeightedUnivariateData __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.DistributionType = __core.statiskit.SingularDistribution +__core.statiskit.SlopeHeuristicSolver.CopyType = __core.statiskit.SlopeHeuristicSolver +__core.statiskit.MultivariateDistribution.CopyType = __core.statiskit.MultivariateDistribution +__core.statiskit.DiscreteUnivariateDistributionSelection = __core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e +__core.statiskit._Selection_2ba75dcd62935454a66d0b70e682804e.__alias__ = "DiscreteUnivariateDistributionSelection" +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.ResponseDataType = __core.statiskit.MultivariateData __core.statiskit.DiscreteIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247 -__core.statiskit.DiscreteRightCensoredEvent = __core.statiskit._RightCensoredEvent_1ec5dee4e7cb5437b83047021c0ca63f -__core.statiskit.SampleSpaceVector = __core.std._Vector_160b713997e259caa9b19848803d29f1 -__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator -__core.statiskit.DiscreteCensoredEvent = __core.statiskit._CensoredEvent_48d411e601675e49961eaa93daeb1835 -__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DataType = __core.statiskit.UnivariateData +__core.statiskit._IntervalCensoredEvent_fb8f1cea3a695accb39f019b3fbd2247.__alias__ = "DiscreteIntervalCensoredEvent" +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.OstreamType = __core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b +__core.statiskit.CategoricalElementaryEvent = __core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393 +__core.statiskit._ElementaryEvent_2f72e6e6db9a5498beee75dbafdc6393.__alias__ = "CategoricalElementaryEvent" +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DistributionType = __core.statiskit.MultivariateDistribution +__core.statiskit.DiscreteUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb +__core.statiskit._QuantitativeUnivariateFrequencyDistribution_839b61ecb09d54819eb38cf69dde50bb.__alias__ = "DiscreteUnivariateFrequencyDistribution" +__core.statiskit.UnivariateData.SampleSpaceType = __core.statiskit.UnivariateSampleSpace +__core.statiskit.Indices = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42.__alias__ = "Indices" +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.EstimationType = __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412 +__core.statiskit.CategoricalUnivariateConditionalDistribution.EventType = __core.statiskit.CategoricalEvent +__core.std._BasicOstream_e1391944268253558f04b6f996bb5a8b.StreambufType = __core.std._BasicStreambuf_112dc12b863f53fea4df7b3ba388fd84 __core.statiskit.CategoricalEvent.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 -__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit.MultivariateDistribution.IndexingType = statiskit.stl.__stl.std._Set_476c1c1f206251dba7af53c48f3f6e42 +__core.statiskit.UnivariateDistribution.DataType = __core.statiskit.UnivariateData +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.Estimator.DataType = __core.statiskit.MultivariateData +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit.MultivariateData.WeightedType = __core.statiskit.WeightedMultivariateData +__core.statiskit.DiscreteMultivariateDistributionSelection = __core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45 +__core.statiskit._Selection_4a0047f6ae1a562c9758824adf6bdc45.__alias__ = "DiscreteMultivariateDistributionSelection" +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.Estimator.EstimationType = __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.CopyType = __core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7 +__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 +__core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33.__alias__ = "ContinuousCensoredEvent" +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.Estimator.DistributionType = __core.statiskit.UnivariateDistribution __core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.DataType = __core.statiskit.UnivariateData -__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DataType = __core.statiskit.UnivariateData -__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412.CopyType = __core.statiskit._DistributionEstimation_91c5962ae4f35199bc2e90b5edad8412 +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.MultivariateDispersionEstimation.Estimator.CopyType = __core.statiskit.MultivariateDispersionEstimation.Estimator +__core.statiskit.CategoricalMultivariateDistributionEstimation.DistributionType = __core.statiskit.CategoricalMultivariateDistribution +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.ValueType = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +__core.statiskit.ContinuousIntervalCensoredEvent = __core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5 +__core.statiskit._IntervalCensoredEvent_a766c9930af25f8f90f6e118f2ca75d5.__alias__ = "ContinuousIntervalCensoredEvent" +__core.statiskit.UnivariateConditionalDistribution.ResponseType = __core.statiskit.UnivariateDistribution +__core.statiskit.DiscreteLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e +__core.statiskit._LeftCensoredEvent_01ddd51bfe2a5d97b4620b9e2d14360e.__alias__ = "DiscreteLeftCensoredEvent" +__core.statiskit.ContinuousUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.__alias__ = "ContinuousUnivariateShiftedDistributionEstimator" +__core.statiskit.DiscreteUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7 +__core.statiskit._UnivariateFrequencyDistributionEstimation_2d284769c93a57cba44be5c34bcfafd7.__alias__ = "DiscreteUnivariateFrequencyDistributionEstimation" +__core.statiskit.CategoricalUnivariateDistribution.EventType = __core.statiskit.CategoricalEvent +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EstimatorType = __core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DistributionType = __core.statiskit.SingularDistribution +__core.statiskit.DiscreteUnivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.DiscreteUnivariateConditionalDistribution +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.CategoricalUnivariateDistributionEstimation.Estimator.EventType = __core.statiskit.CategoricalEvent __core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.DistributionType = __core.statiskit.UnivariateConditionalDistribution -__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.DataType = __core.statiskit.MultivariateData -__core.statiskit.ContinuousLeftCensoredEvent = __core.statiskit._LeftCensoredEvent_aa6e0b250759574eb903a6b783b18053 -__core.statiskit.ContinuousCensoredEvent = __core.statiskit._CensoredEvent_fa5e2baabb585a5e93632d2563d88b33 -__core.statiskit.ExplanatoryDataType = __core.statiskit.MultivariateData +__core.statiskit.DiscreteUnivariateDistributionEstimation.Estimator.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.CategoricalUnivariateConditionalDistribution +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator.CopyType = __core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator +__core.statiskit.MultivariateDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit.CategoricalMultivariateDistributionCriterionEstimator = __core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator +__core.statiskit._Selection_12a6e0c7ad825078967a85064cb90dd3.CriterionEstimator.__alias__ = "CategoricalMultivariateDistributionCriterionEstimator" +__core.statiskit.ContinuousUnivariateFrequencyDistribution = __core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01 +__core.statiskit._QuantitativeUnivariateFrequencyDistribution_1cfe57e82ce352e4b80ae7c44a661b01.__alias__ = "ContinuousUnivariateFrequencyDistribution" +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit.UnivariateData.CopyType = __core.statiskit.UnivariateData +__core.statiskit.UnivariateDispersionEstimation.Estimator.CopyType = __core.statiskit.UnivariateDispersionEstimation.Estimator +__core.statiskit.MultivariateDistributionSelection = __core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.__alias__ = "MultivariateDistributionSelection" +__core.statiskit.MultivariateDispersionEstimation.CopyType = __core.statiskit.MultivariateDispersionEstimation +__core.statiskit.ContinuousUnivariateConditionalDistribution.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.UnivariateLocationEstimation.CopyType = __core.statiskit.UnivariateLocationEstimation +__core.statiskit.CategoricalUnivariateDistributionEstimation.DistributionType = __core.statiskit.CategoricalUnivariateDistribution __core.statiskit.SingularDistributionEstimation = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.__alias__ = "SingularDistributionEstimation" +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.EstimationType = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f +__core.statiskit.UnivariateDistribution.CopyType = __core.statiskit.UnivariateDistribution +__core.statiskit.SingularDistribution.CopyType = __core.statiskit.SingularDistribution +__core.statiskit.ContinuousElementaryEvent = __core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d +__core.statiskit._ElementaryEvent_9981958281625422b3b46cea8ec85a6d.__alias__ = "ContinuousElementaryEvent" +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EventType = __core.statiskit.ContinuousEvent +__core.std.String = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58.__alias__ = "String" +__core.statiskit.DiscreteMultivariateConditionalDistributionEstimation.DistributionType = __core.statiskit.DiscreteMultivariateConditionalDistribution +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimatorType = __core.statiskit.ContinuousUnivariateDistributionEstimation.Estimator +__core.statiskit.MultivariateConditionalDistribution.ResponseType = __core.statiskit.MultivariateDistribution +__core.statiskit.ContinuousUnivariateDistributionSelection = __core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086 +__core.statiskit._Selection_d0f424c13b8b5c34bc79ddf60ae82086.__alias__ = "ContinuousUnivariateDistributionSelection" +__core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator.CopyType = __core.statiskit._DistributionEstimation_c8f9ef7718815a7dbb7946e20b85e07f.Estimator +__core.std.SsoString = statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58 +statiskit.stl.__stl.std._BasicString_448c20257e485acda59dc59305fceb58.__alias__ = "SsoString" +__core.statiskit._ShiftedDistributionEstimation_8273d59d3b9f581fa07283ea1cce6a0f.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.UnivariateDispersionEstimation.CopyType = __core.statiskit.UnivariateDispersionEstimation +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.Estimator.EventType = __core.statiskit.ContinuousEvent +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.DistributionType = __core.statiskit.UnivariateDistribution +__core.statiskit.SingularDistribution.DataType = __core.statiskit.MultivariateData +__core.statiskit.CategoricalUnivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.CategoricalEvent +__core.statiskit.ContinuousEvent.DistributionType = __core.statiskit.ContinuousUnivariateDistribution +__core.statiskit.DiscreteUnivariateDistribution.EventType = __core.statiskit.DiscreteEvent +__core.statiskit.DiscreteUnivariateShiftedDistributionEstimator = __core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.__alias__ = "DiscreteUnivariateShiftedDistributionEstimator" +__core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7.Estimator.EstimationType = __core.statiskit._ConditionalDistributionEstimation_22af95e725215bc9b21db076f5deefd7 +__core.statiskit.MultivariateDistributionCriterionEstimator = __core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator +__core.statiskit._Selection_293cf3d7dd1455688b4f9ff136dd48ac.CriterionEstimator.__alias__ = "MultivariateDistributionCriterionEstimator" +__core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator.CopyType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34.Estimator +__core.statiskit.DiscreteUnivariateDistributionEstimation.DistributionType = __core.statiskit.DiscreteUnivariateDistribution +__core.statiskit.ContinuousMultivariateConditionalDistributionEstimation.Estimator.EventType = __core.statiskit.ContinuousEvent +__core.statiskit.CategoricalUnivariateDistributionSelection = __core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375 +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.__alias__ = "CategoricalUnivariateDistributionSelection" +__core.statiskit._ShiftedDistributionEstimation_ece163aebf095bf5b3e83565ba76bec1.Estimator.DataType = __core.statiskit.UnivariateData +__core.statiskit.ShiftedContinuousUnivariateDistribution = __core.statiskit._ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559 +__core.statiskit._ShiftedDistribution_36adf88112dd5312b6c5fe75ebbc5559.__alias__ = "ShiftedContinuousUnivariateDistribution" +__core.statiskit.NominalDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6 +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.__alias__ = "NominalDistributionEstimation" +__core.statiskit.DiscreteMultivariateDistributionEstimation.DistributionType = __core.statiskit.DiscreteMultivariateDistribution +__core.statiskit.CategoricalUnivariateDistributionCriterionEstimator = __core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator +__core.statiskit._Selection_180294e9e19355e187edd0ed7cb54375.CriterionEstimator.__alias__ = "CategoricalUnivariateDistributionCriterionEstimator" +__core.statiskit.UnivariateLocationEstimation.Estimator.CopyType = __core.statiskit.UnivariateLocationEstimation.Estimator +__core.statiskit._ConditionalDistributionEstimation_53a566eea7215e8b945cbdedf3acf7bc.ResponseDataType = __core.statiskit.UnivariateData +__core.statiskit._UnivariateFrequencyDistributionEstimation_d443aa68b0b755eabc2a251be2deb4c6.Estimator.EstimationType = __core.statiskit._DistributionEstimation_6f54a1805d7d5e6b9796d225ad86ca34 +__core.statiskit.ContinuousUnivariateFrequencyDistributionEstimation = __core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e +__core.statiskit._UnivariateFrequencyDistributionEstimation_f2160a41454451d28ba6ed197ddede7e.__alias__ = "ContinuousUnivariateFrequencyDistributionEstimation" diff --git a/src/py/statiskit/data/core/FPD18.csv b/src/py/statiskit/core/_data/FPD18.csv similarity index 100% rename from src/py/statiskit/data/core/FPD18.csv rename to src/py/statiskit/core/_data/FPD18.csv diff --git a/src/py/statiskit/data/core/__init__.py b/src/py/statiskit/core/_data/__init__.py similarity index 91% rename from src/py/statiskit/data/core/__init__.py rename to src/py/statiskit/core/_data/__init__.py index 5f9cec80..ed07195d 100644 --- a/src/py/statiskit/data/core/__init__.py +++ b/src/py/statiskit/core/_data/__init__.py @@ -1,7 +1,9 @@ import os -from statiskit.core import OrdinalSampleSpace, read_csv -def load(*args): +from ..io import read_csv +from ..sample_space import OrdinalSampleSpace + +def load_data(*args): """Load data used in the statiskit.core package""" if len(args) == 0: diff --git a/src/py/statiskit/data/core/capushe.csv b/src/py/statiskit/core/_data/capushe.csv similarity index 100% rename from src/py/statiskit/data/core/capushe.csv rename to src/py/statiskit/core/_data/capushe.csv diff --git a/src/py/statiskit/data/core/zebrafish.csv b/src/py/statiskit/core/_data/zebrafish.csv similarity index 100% rename from src/py/statiskit/data/core/zebrafish.csv rename to src/py/statiskit/core/_data/zebrafish.csv diff --git a/src/py/statiskit/core/_tools.py b/src/py/statiskit/core/_tools.py index 3712dbe9..ca08f821 100644 --- a/src/py/statiskit/core/_tools.py +++ b/src/py/statiskit/core/_tools.py @@ -8,4 +8,20 @@ def float_str(value): return float_str[:float_str.index('.') + controls.precision + 1] def remove_latex(string): - return string.replace('$', '') \ No newline at end of file + return string.replace('$', '') + +import difflib + +a = "PoissonDistributionEstimator" +b = "PoissonDistributionMLEstimator" +c = "PoissonDistributionMMEstimator" + +def compute_diff(a, b): + diff = "" + for char in difflib.ndiff(a,b): + if char.startswith('+ '): + diff += char[2:] + return diff + +compute_diff(a,b) +compute_diff(a,c) \ No newline at end of file diff --git a/src/py/statiskit/core/controls.py b/src/py/statiskit/core/controls.py index 4ea530fa..e7b5c1df 100644 --- a/src/py/statiskit/core/controls.py +++ b/src/py/statiskit/core/controls.py @@ -2,7 +2,12 @@ from functools import wraps from . import _core -from .__core.statiskit import get_nn, get_zz, get_rr, get_nr, get_pr, set_seed +from .__core.statiskit import (get_nn, + get_zz, + get_rr, + get_nr, + get_pr, + set_seed) __all__ = ['controls'] diff --git a/src/py/statiskit/core/data.py b/src/py/statiskit/core/data.py index 8b614219..134f1ef7 100644 --- a/src/py/statiskit/core/data.py +++ b/src/py/statiskit/core/data.py @@ -5,15 +5,13 @@ from . import _core from .__core.statiskit import (UnivariateData, - WeightedUnivariateData, - NamedData, MultivariateData, - MultivariateDataFrame, + NamedData, + UnivariateDataFrame, + MultivariateDataFrame, _WeightedData, - UnivariateDataFrame, - WeightedMultivariateData, - UnivariateConditionalData, - MultivariateConditionalData, + WeightedUnivariateData, + WeightedMultivariateData, Indices) from .controls import controls @@ -27,8 +25,7 @@ 'WeightedMultivariateData'] for cls in _WeightedData: - cls.data = property(cls.get_data) - del cls.get_data + cls.origin = property(cls.origin) UnivariateData.sample_space = property(UnivariateData.get_sample_space) MultivariateData.sample_space = property(MultivariateData.get_sample_space) @@ -102,90 +99,22 @@ def set_name(self, name): NamedData.name = property(NamedData.get_name, wrapper_set_name(NamedData.set_name)) del wrapper_set_name, NamedData.get_name, NamedData.set_name - -class Events(object): - - def __init__(self, dataframe): - self._dataframe = dataframe - - def __iter__(self): - - class Iterator(object): - - def __init__(self, events): - self._events = events - self._index = 0 - - def __next__(self): - if self._index < len(self._events): - event = self._events[self._index] - self._index += 1 - return event - else: - raise StopIteration() - - return Iterator(self) - -def wrapper_events(f0, f1, f2): - - @wraps(f0) - def __len__(self): - return f0(self._dataframe) - - @wraps(f1) - def __getitem__(self, index): - if isinstance(index, slice): - return [self[index] for index in range(*index.indices(len(self)))] - else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._dataframe.__class__.__name__ + " index out of range") - return f1(self._dataframe, index) - - @wraps(f2) - def __setitem__(self, index, value): - if isinstance(index, slice): - try: - indices = index - values = self[index] - for index, value in zip(index.indices(len(self)), value): - self[index] = value - except: - for index, value in zip(indices, values): - self[index] = value - raise - else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._dataframe.__class__.__name__ + " index out of range") - return f2(self._dataframe, index, value) - - return __len__, __getitem__, __setitem__ - -class UnivariateEvents(Events): - pass - -UnivariateEvents.__len__, UnivariateEvents.__getitem__, UnivariateEvents.__setitem__ = wrapper_events(UnivariateDataFrame.get_nb_events, UnivariateDataFrame.get_event, UnivariateDataFrame.set_event) -del UnivariateDataFrame.get_nb_events, UnivariateDataFrame.get_event, UnivariateDataFrame.set_event -UnivariateDataFrame.events = property(UnivariateEvents) - UnivariateDataFrame.sample_space = property(UnivariateData.sample_space.fget, UnivariateDataFrame.set_sample_space) del UnivariateDataFrame.set_sample_space def __str__(self): - events = self.events - if len(events) > controls.head: - rows = [("", str(self.name))] + [(str(index), str(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events) if index < controls.head] + [('...', '...')] + [(repr(index), repr(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events) if index > max(len(events) - controls.tail, controls.head)] - else: - rows = [("", str(self.name))] + [(str(index), str(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events)] - columns = list(zip(*rows)) - maxima = [max(max(*[len(row) for row in column]), 3) + 2 for column in columns] - string = [] - for index, row in enumerate(rows): - string.append(' '.join(('{:<' + repr(maximum) + '}').format(row[index]) for index, maximum in enumerate(maxima))) - return '\n'.join(string) + return "" + # events = self.events + # if len(events) > controls.head: + # rows = [("", str(self.name))] + [(str(index), str(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events) if index < controls.head] + [('...', '...')] + [(repr(index), repr(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events) if index > max(len(events) - controls.tail, controls.head)] + # else: + # rows = [("", str(self.name))] + [(str(index), str(event)) if event is not None else (repr(index), '?') for index, event in enumerate(events)] + # columns = list(zip(*rows)) + # maxima = [max(max(*[len(row) for row in column]), 3) + 2 for column in columns] + # string = [] + # for index, row in enumerate(rows): + # string.append(' '.join(('{:<' + repr(maximum) + '}').format(row[index]) for index, maximum in enumerate(maxima))) + # return '\n'.join(string) UnivariateDataFrame.__str__ = UnivariateDataFrame.__str__ UnivariateDataFrame.__repr__ = __str__ @@ -288,54 +217,20 @@ def box_plot(self, axes=None, **kwargs): MultivariateData.total = property(MultivariateData.compute_total) del MultivariateData.compute_total -def wrapper_extract(f): +def wrapper_select(f): @wraps(f) - def extract(self, *args, **kwargs): - if len(kwargs) == 0: - args = [index if index >= 0 else index + len(self.components) for index in args] - if len(args) == 1: - args = args.pop() - return f(self, args) - else: - return f(self, Indices(*args)) + def select(self, *args): + args = [index if index >= 0 else index + len(self.components) for index in args] + if len(args) == 1: + args = args.pop() + return f(self, args) else: - if "response" in kwargs: - response = kwargs.pop("response") - if response < 0: - response += len(self.components) - if not 0 <= response < len(self.components): - raise IndexError(self.__class__.__name__ + " response component index out of range") - kwargs['response'] = response - elif "responses" in kwargs: - responses = [index if index >= 0 else index + len(self.components) for index in kwargs.pop("responses")] - if not all(0 <= index < len(self.components) for index in responses): - raise IndexError(self.__class__.__name__ + " response component indices out of range") - kwargs['responses'] = responses - if 'explanatories' not in kwargs: - if 'response' in kwargs: - kwargs['explanatories'] = [index for index in range(len(self.components)) if not index == response] - elif 'responses' in kwargs: - kwargs['explanatories'] = [index for index in range(len(self.components)) if index not in responses] - else: - raise ValueError() - explanatories = Indices(*[index if index >= 0 else index + len(self.components) for index in kwargs.pop('explanatories')]) - if not all(0 <= index < len(self.components) for index in explanatories): - raise IndexError(self.__class__.__name__ + " explanatory component indices out of range") - if 'response' in kwargs: - return UnivariateConditionalData(self, response, explanatories) - elif "responses" in kwargs: - return MultivariateConditionalData(self, Indices(*responses), explanatories) - else: - responses = [index for index in range(len(self.components)) if not index in explanatories] - if len(responses) == 1: - return self.extract(explanatories=explanatories, response=responses.pop()) - else: - return self.extract(explanatories=explanatories, responses=Indices(*responses)) - return extract + return f(self, Indices(*args)) + return select -MultivariateData.extract = wrapper_extract(MultivariateData.extract) -del wrapper_extract +MultivariateData.select = wrapper_select(MultivariateData.select) +del wrapper_select def get_location(self): if not hasattr(self, '_location'): @@ -379,7 +274,7 @@ def __init__(self, components): def __next__(self): if self._index < len(self._components): - component = self._components.extract(self._index) + component = self._components.select(self._index) self._index += 1 return component else: @@ -398,7 +293,7 @@ def __getitem__(self, index): return f(self._data, index) return __getitem__ -Components.__getitem__ = wrapper_components(MultivariateData.extract) +Components.__getitem__ = wrapper_components(MultivariateData.select) del wrapper_components, MultivariateData.components = property(Components) @@ -431,64 +326,6 @@ def __getattr__(self, attr): MultivariateDataFrame.__getattr__ = __getattr__ del __getattr__ -class MultivariateEvents(Events): - pass - -MultivariateEvents.__len__, MultivariateEvents.__getitem__, MultivariateEvents.__setitem__ = wrapper_events(MultivariateDataFrame.get_nb_events, MultivariateDataFrame.get_event, MultivariateDataFrame.set_event) -del MultivariateDataFrame.get_nb_events, MultivariateDataFrame.get_event, MultivariateDataFrame.set_event -MultivariateDataFrame.events = property(MultivariateEvents) - -class Components(object): - - def __init__(self, dataframe): - self._dataframe = dataframe - - def __iter__(self): - - class Iterator(object): - - def __init__(self, components): - self._components = components - self._index = 0 - - def __next__(self): - if self._index < len(self._components): - component = self._components[self._index] - self._index += 1 - return component - else: - raise StopIteration() - - return Iterator(self) - -def wrapper_components(f0, f1, f2): - - @wraps(f0) - def __len__(self): - return f0(self._dataframe) - - @wraps(f1) - def __getitem__(self, index): - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._dataframe.__class__.__name__ + " index out of range") - return f1(self._dataframe, index) - - @wraps(f2) - def __setitem__(self, index, value): - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._dataframe.__class__.__name__ + " index out of range") - return f2(self._dataframe, index, value) - - return __len__, __getitem__, __setitem__ - -Components.__len__, Components.__getitem__, Components.__setitem__ = wrapper_components(MultivariateDataFrame.get_nb_components, MultivariateDataFrame.get_component, MultivariateDataFrame.set_component) -del wrapper_components, MultivariateDataFrame.get_nb_components, MultivariateDataFrame.get_component, MultivariateDataFrame.set_component -MultivariateDataFrame.components = property(Components) - def __repr__(self): events = self.events if len(events) > controls.head: @@ -544,6 +381,4 @@ def _repr_html_(self): # return estimation.estimated.lorenz_plot(axes=axes, fmt=fmt, color=color, alpha=alpha, **kwargs) # #UnivariateDataFrame.lorenz_plot = lorenz_plot -#del lorenz_plot - -UnivariateConditionalData.response = property(UnivariateConditionalData.get_response) +#del lorenz_plot \ No newline at end of file diff --git a/src/py/statiskit/core/distribution.py b/src/py/statiskit/core/distribution.py index 18d4d315..ad68edce 100644 --- a/src/py/statiskit/core/distribution.py +++ b/src/py/statiskit/core/distribution.py @@ -7,72 +7,52 @@ from . import _core from .__core.statiskit import (_ShiftedDistribution, UnivariateDistribution, - _UnivariateFrequencyDistribution, - _QuantitativeUnivariateFrequencyDistribution, - CategoricalUnivariateDistribution, - BinaryDistribution, - NominalDistribution, - OrdinalDistribution, - HierarchicalDistribution, - CategoricalUnivariateMixtureDistribution, - CategoricalUnivariateDistributionVector, - DiscreteUnivariateDistribution, - DiscreteUnivariateFrequencyDistribution, - PoissonDistribution, - BinomialDistribution, - LogarithmicDistribution, - GeometricDistribution, - NegativeBinomialDistribution, - BetaCompoundDiscreteUnivariateDistribution, - BetaBinomialDistribution, - BetaNegativeBinomialDistribution, - DiscreteUnivariateMixtureDistribution, - DiscreteUnivariateDistributionVector, - ContinuousUnivariateDistribution, - ContinuousUnivariateFrequencyDistribution, - UnivariateHistogramDistribution, - NormalDistribution, - LogisticDistribution, - LaplaceDistribution, - CauchyDistribution, - StudentDistribution, - NonStandardStudentDistribution, - GumbelDistribution, - GompertzDistribution, - ExponentialDistribution, - GammaDistribution, - BetaDistribution, - ContinuousUnivariateMixtureDistribution, - ContinuousUnivariateDistributionVector, + _UnivariateFrequencyDistribution, + _QuantitativeUnivariateFrequencyDistribution, + CategoricalUnivariateDistribution, + BinaryDistribution, + NominalDistribution, + OrdinalDistribution, + HierarchicalDistribution, + DiscreteUnivariateDistribution, + DiscreteUnivariateFrequencyDistribution, + PoissonDistribution, + BinomialDistribution, + LogarithmicDistribution, + GeometricDistribution, + NegativeBinomialDistribution, + BetaCompoundDiscreteUnivariateDistribution, + BetaBinomialDistribution, + BetaNegativeBinomialDistribution, + ContinuousUnivariateDistribution, + ContinuousUnivariateFrequencyDistribution, + UnivariateHistogramDistribution, + NormalDistribution, + LogisticDistribution, + LaplaceDistribution, + CauchyDistribution, + StudentDistribution, + NonStandardStudentDistribution, + GumbelDistribution, + GompertzDistribution, + ExponentialDistribution, + GammaDistribution, + BetaDistribution, MultivariateDistribution, - # _IndependentMultivariateDistribution, - MixedMultivariateMixtureDistribution, - CategoricalMultivariateDistribution, - # CategoricalIndependentMultivariateDistribution, - CategoricalMultivariateMixtureDistribution, - CategoricalMultivariateDistributionVector, - DiscreteMultivariateDistribution, - SplittingDistribution, - # DiscreteIndependentMultivariateDistribution, - DiscreteMultivariateMixtureDistribution, - DiscreteMultivariateDistributionVector, - - ContinuousMultivariateDistribution, - MultinormalDistribution, - DirichletDistribution, - # ContinuousIndependentMultivariateDistribution, - ContinuousMultivariateMixtureDistribution, - ContinuousMultivariateDistributionVector, - MultivariateDistributionVector, - _MixtureDistribution, _UnivariateMixtureDistribution, _QuantitativeUnivariateMixtureDistribution, _MultivariateMixtureDistribution, + CategoricalMultivariateDistribution, + DiscreteMultivariateDistribution, + SplittingDistribution, + ContinuousMultivariateDistribution, + MultinormalDistribution, + DirichletDistribution, UnivariateConditionalDistribution, - CategoricalUnivariateConditionalDistribution, - DiscreteUnivariateConditionalDistribution, - ContinuousUnivariateConditionalDistribution, + CategoricalUnivariateConditionalDistribution, + DiscreteUnivariateConditionalDistribution, + ContinuousUnivariateConditionalDistribution, MultivariateConditionalDistribution, - CategoricalMultivariateConditionalDistribution, - DiscreteMultivariateConditionalDistribution, - ContinuousMultivariateConditionalDistribution) + CategoricalMultivariateConditionalDistribution, + DiscreteMultivariateConditionalDistribution, + ContinuousMultivariateConditionalDistribution) from .optionals import pyplot, numpy from .io import from_list @@ -123,9 +103,7 @@ 'BetaDistribution', 'SplittingDistribution', 'MultinormalDistribution', - 'DirichletDistribution', - # 'IndependentMultivariateDistribution', - 'MixtureDistribution'] + 'DirichletDistribution'] def shifted_distribution_decorator(cls): @@ -1124,165 +1102,6 @@ def _repr_latex_(self): # else: # raise TypeError('\'args\' parameter') -def statiskit_mixture_distribution_decorator(cls): - - cls.nb_states = property(cls.get_nb_states) - del cls.get_nb_states - - cls.pi = property(cls.get_pi, cls.set_pi) - del cls.get_pi, cls.set_pi - - class Observations(object): - - def __init__(self, distribution): - self._distribution = distribution - - def __len__(self): - return self._distribution.nb_states - - def wrapper_observations(f0, f1): - - @wraps(f0) - def __getitem__(self, index): - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._distribution.__class__.__name__ + " index out of range") - return f0(self._distribution, index) - - @wraps(f1) - def __setitem__(self, index, value): - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._distribution.__class__.__name__ + " index out of range") - return f1(self._distribution, index, value) - - return __getitem__, __setitem__ - - Observations.__getitem__, Observations.__setitem__ = wrapper_observations(cls.get_observation, cls.set_observation) - del cls.get_observation, cls.set_observation - - cls.observations = property(Observations) - - if hasattr(cls, 'pdf_plot'): - - def wrapper_pdf_plot(f): - @wraps(f) - def pdf_plot(self, axes=None, *args, **kwargs): - norm = kwargs.pop('norm', 1.) - states = kwargs.pop('states', True) - if states: - if isinstance(states, (list, tuple)): - skwargs = states - else: - skwargs = [{}] * self.nb_states - for index, (pi, observation) in enumerate(zip(self.pi, self.observations)): - for key, value in kwargs.items(): - if not key in skwargs[index]: - skwargs[index][key] = value - axes = observation.pdf_plot(axes=axes, norm=pi*norm, *args, **skwargs[index]) - return f(self, axes=axes, *args, norm=norm, **kwargs) - return pdf_plot - - cls.pdf_plot = wrapper_pdf_plot(cls.pdf_plot) - -for cls in _MixtureDistribution: - statiskit_mixture_distribution_decorator(cls) - -def statiskit_univariate_mixture_distribution_decorator(cls): - - def wrapper_posterior(f): - @wraps(f) - def posterior(self, event, **kwargs): - return f(self, type_to_event(event), kwargs.pop('log', False)) - return posterior - - cls.posterior = wrapper_posterior(cls.posterior) - - def wrapper_assignment(f): - @wraps(f) - def assignment(self, event): - return f(self, type_to_event(event)) - return assignment - - cls.assignment = wrapper_assignment(cls.assignment) - - def wrapper_uncertainty(f): - @wraps(f) - def uncertainty(self, arg): - if isinstance(arg, UnivariateData): - return f(self, arg) - else: - return f(self, types_to_event(arg)) - return uncertainty - - cls.uncertainty = wrapper_uncertainty(cls.uncertainty) - -for cls in _UnivariateMixtureDistribution: - statiskit_univariate_mixture_distribution_decorator(cls) - -def statiskit_Multivariate_mixture_distribution_decorator(cls): - - def wrapper_posterior(f): - @wraps(f) - def posterior(self, *event, **kwargs): - return f(self, types_to_event(*events), kwargs.pop('log', False)) - return posterior - - cls.posterior = wrapper_posterior(cls.posterior) - - def wrapper_assignment(f): - @wraps(f) - def assignment(self, *event): - if len(event) == 1 and isinstance(event[0], (UnivariateData, MultivariateData)): - event = event[0] - else: - event = types_to_event(*event) - return f(self, event) - return assignment - - cls.assignment = wrapper_assignment(cls.assignment) - - def wrapper_uncertainty(f): - @wraps(f) - def uncertainty(self, *args): - if len(args) == 1 and isinstance(args[0], MultivariateData): - return f(self, args[0]) - else: - return f(self, types_to_event(*args)) - return uncertainty - - cls.uncertainty = wrapper_uncertainty(cls.uncertainty) - -for cls in _MultivariateMixtureDistribution: - statiskit_Multivariate_mixture_distribution_decorator(cls) - -def MixtureDistribution(*args, **kwargs): - if 'pi' in kwargs: - pi = kwargs.pop('pi') - else: - pi = [1. for arg in args] - if not isinstance(pi, linalg.Vector): - pi = linalg.Vector(pi) - if all(isinstance(arg, CategoricalUnivariateDistribution) for arg in args): - return CategoricalUnivariateMixtureDistribution(CategoricalUnivariateDistributionVector(*args), pi) - elif all(isinstance(arg, DiscreteUnivariateDistribution) for arg in args): - return DiscreteUnivariateMixtureDistribution(DiscreteUnivariateDistributionVector(*args), pi) - elif all(isinstance(arg, ContinuousUnivariateDistribution) for arg in args): - return ContinuousUnivariateMixtureDistribution(ContinuousUnivariateDistributionVector(*args), pi) - elif all(isinstance(arg, MultivariateDistribution) for arg in args): - if all(isinstance(arg, CategoricalMultivariateDistribution) for arg in args): - return CategoricalMultivariateMixtureDistribution(CategoricalMultivariateDistributionVector(*args), pi) - elif all(isinstance(arg, DiscreteMultivariateDistribution) for arg in args): - return DiscreteMultivariateMixtureDistribution(DiscreteMultivariateDistributionVector(*args), pi) - elif all(isinstance(arg, ContinuousMultivariateDistribution) for arg in args): - return ContinuousMultivariateMixtureDistribution(ContinuousMultivariateDistributionVector(*args), pi) - else: - return MixedMultivariateMixtureDistribution(MultivariateDistributionVector(*args), pi) - else: - raise TypeError('\'args\' parameter') - UnivariateConditionalDistribution.nb_parameters = property(UnivariateConditionalDistribution.get_nb_parameters) del UnivariateConditionalDistribution.get_nb_parameters diff --git a/src/py/statiskit/core/estimation.py b/src/py/statiskit/core/estimation.py index 2757fd22..821e8611 100644 --- a/src/py/statiskit/core/estimation.py +++ b/src/py/statiskit/core/estimation.py @@ -1,719 +1,47 @@ -from functools import wraps - from . import _core -from .__core.statiskit import (_LazyEstimation, - _ActiveEstimation, - _OptimizationEstimationImpl, - _Selection, - _OptimizationEstimation, - _ShiftedDistributionEstimation, - UnivariateDistributionEstimation, - CategoricalUnivariateDistributionEstimation, - CategoricalUnivariateDistributionSelection, - CategoricalUnivariateMixtureDistributionEMEstimation, - DiscreteUnivariateDistributionEstimation, - DiscreteUnivariateFrequencyDistributionEstimation, - DiscreteUnivariateDistributionSelection, - PoissonDistributionMLEstimation,# PoissonDistributionMMEstimation, - BinomialDistributionMLEstimation, BinomialDistributionMMEstimation, - LogarithmicDistributionMLEstimation, - GeometricDistributionMLEstimation, - NegativeBinomialDistributionMLEstimation, NegativeBinomialDistributionMMEstimation, - DiscreteUnivariateMixtureDistributionEMEstimation, - DiscreteUnivariateShiftedDistributionEstimation, - ContinuousUnivariateDistributionEstimation, - ContinuousUnivariateDistributionSelection, - ContinuousUnivariateFrequencyDistributionEstimation, - NormalDistributionMLEstimation, - UnivariateHistogramDistributionEstimation, - RegularUnivariateHistogramDistributionSlopeHeuristicSelection, - IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, - ContinuousUnivariateMixtureDistributionEMEstimation, - ContinuousUnivariateShiftedDistributionEstimation, - MultivariateDistributionEstimation, - MixedMultivariateDistributionSelection, - # _IndependentMultivariateDistributionEstimation, - # MixedIndependentMultivariateDistributionEstimation, - CategoricalMultivariateDistributionEstimation, - CategoricalMultivariateDistributionSelection, - # CategoricalIndependentMultivariateDistributionEstimation, - CategoricalMultivariateMixtureDistributionEMEstimation, - DiscreteMultivariateDistributionEstimation, - DiscreteMultivariateDistributionSelection, - SplittingDistributionEstimation, - NegativeMultinomialDistributionEstimation, - # DiscreteIndependentMultivariateDistributionEstimation, - DiscreteMultivariateMixtureDistributionEMEstimation, - ContinuousMultivariateDistributionEstimation, - ContinuousMultivariateDistributionSelection, - # ContinuousIndependentMultivariateDistributionEstimation, - ContinuousMultivariateMixtureDistributionEMEstimation, - SingularDistributionEstimation, - MultinomialSingularDistributionEstimation, - DirichletMultinomialSingularDistributionEstimation, - MixtureSingularDistributionEMEstimation, - SingularDistributionSelection, - _MixtureDistributionEMEstimation, - UnivariateConditionalDistributionEstimation, - CategoricalUnivariateConditionalDistributionEstimation, - CategoricalUnivariateConditionalDistributionSelection, - DiscreteUnivariateConditionalDistributionEstimation, - DiscreteUnivariateConditionalDistributionSelection, - ContinuousUnivariateConditionalDistributionEstimation, - ContinuousUnivariateConditionalDistributionSelection, - MultivariateConditionalDistributionEstimation, - MixedMultivariateConditionalDistributionSelection, - CategoricalMultivariateConditionalDistributionEstimation, - CategoricalMultivariateConditionalDistributionSelection, - DiscreteMultivariateConditionalDistributionEstimation, - DiscreteMultivariateConditionalDistributionSelection, - ContinuousMultivariateConditionalDistributionEstimation, - ContinuousMultivariateConditionalDistributionSelection) - -from .event import outcome_type -from .data import (UnivariateData, - MultivariateData, - UnivariateConditionalData, - MultivariateConditionalData) -from .optionals import pyplot -from ._tools import unused_warning -__all__ = ['frequency_estimation', - 'binomial_estimation', - 'poisson_estimation', - 'logarithmic_estimation', - 'geometric_estimation', - 'negative_binomial_estimation', - 'normal_estimation', - 'histogram_estimation', - 'singular_selection', - 'splitting_estimation', - 'negative_multinomial_estimation', - # 'independent_estimation', - 'mixture_estimation', - 'shifted_estimation', - 'selection'] +from .__core.statiskit import (_DistributionEstimation) -UnivariateDistributionEstimation.estimated = property(UnivariateDistributionEstimation.get_estimated) -del UnivariateDistributionEstimation.get_estimated +def distribution_estimation_decorator(cls): -def active_estimation_decorator(cls): + cls.distribution = property(cls.get_distribution) + del cls.get_distribution cls.data = property(cls.get_data) del cls.get_data - def pdf_plot(self, axes=None, norm=False, **kwargs): - axes = self.data.pdf_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) - if isinstance(norm, bool): - if not norm: - norm = self.data.total - else: - norm = 1. - return self.estimated.pdf_plot(axes=axes, norm=norm, **kwargs.pop('estimated', dict(fmt='-'))) - - cls.pdf_plot = pdf_plot - del pdf_plot - - def cdf_plot(self, axes=None, norm=False, **kwargs): - axes = self.data.cdf_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) - if isinstance(norm, bool): - if not norm: - norm = self.data.total - else: - norm = 1. - return self.estimated.cdf_plot(axes=axes, norm=norm, **kwargs.pop('estimated', dict(fmt='-'))) - - cls.cdf_plot = cdf_plot - del cdf_plot - - def box_plot(self, axes=None, norm=False, **kwargs): - axes = self.data.box_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) - if isinstance(norm, bool): - if not norm: - norm = self.data.total - else: - norm = 1. - return self.estimated.box_plot(axes=axes, norm=norm, **kwargs.pop('estimated', dict(fmt='-'))) - - cls.box_plot = box_plot - del box_plot - -for cls in _ActiveEstimation: - active_estimation_decorator(cls) - -def selection_decorator(cls): - - class Estimations(object): - - def __init__(self, estimation): - self._estimation = estimation - - class Scores(object): - - def __init__(self, estimation): - self._estimation = estimation - - def __str__(self): - return str(self[:]) - - def __repr__(self): - return repr(self[:]) - - def plot(self, axes=None): - if axes is None: - axes = pyplot.subplot(1,1,1) - axes.plot(self[:]) - return axes - - def wrapper__len__(f): - @wraps(f) - def __len__(self): - return f(self._estimation) - return __len__ - - Estimations.__len__ = wrapper__len__(cls.__len__) - Scores.__len__ = wrapper__len__(cls.__len__) - del cls.__len__ - - def wrapper__getitem__(f): - @wraps(f) - def __getitem__(self, index): - if isinstance(index, slice): - return [self[index] for index in range(*index.indices(len(self)))] - else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self.__class__.__name__ + " index out of range") - return f(self._estimation, index) - return __getitem__ - - Estimations.__getitem__ = wrapper__getitem__(cls.get_estimation) - del cls.get_estimation - Scores.__getitem__ = wrapper__getitem__(cls.get_score) - del cls.get_score - - cls.estimations = property(Estimations) - cls.scores = property(Scores) - - def estimator_decorator(cls): - - class Estimators(object): - - def __init__(self, estimator): - self._estimator = estimator - - def wrapper__len__(f): - @wraps(f) - def __len__(self): - return f(self._estimator) - return __len__ - - Estimators.__len__ = wrapper__len__(cls.__len__) - del cls.__len__ - - def wrapper_add(f): - @wraps(f) - def add(self, estimator): - f(self._estimator, estimator) - return add - - Estimators.add = wrapper_add(cls.add_estimator) - del cls.add_estimator - - def wrapper_remove(f): - @wraps(f) - def remove(self, index): - if index < 0: - index += len(self) - if not 0 <= index < len(index): - raise IndexError("'index' parameter") - f(self._estimator, index) - return remove - - Estimators.remove = wrapper_add(cls.remove_estimator) - del cls.remove_estimator - - def wrapper__getitem__(f): - @wraps(f) - def __getitem__(self, index): - if isinstance(index, slice): - return [self[index] for index in range(*index.indices(len(self)))] + if hasattr(cls.DistributionType, "pdf_plot"): + def pdf_plot(self, axes=None, norm=False, **kwargs): + axes = self.data.pdf_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) + if isinstance(norm, bool): + if not norm: + norm = self.data.total else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self.__class__.__name__ + " index out of range") - return f(self._estimator, index) - return __getitem__ - - Estimators.__getitem__ = wrapper__getitem__(cls.get_estimator) - del cls.get_estimator - - def wrapper__setitem__(f): - @wraps(f) - def __setitem__(self, index, estimator): - if isinstance(index, slice): - return [self[index] for index in range(*index.indices(len(self)))] + norm = 1. + return self.distribution.pdf_plot(axes=axes, norm=norm, **kwargs.pop('distribution', dict(fmt='-'))) + cls.pdf_plot = pdf_plot + + if hasattr(cls.DistributionType, "cdf_plot"): + def cdf_plot(self, axes=None, norm=False, **kwargs): + axes = self.data.cdf_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) + if isinstance(norm, bool): + if not norm: + norm = self.data.total else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self.__class__.__name__ + " index out of range") - return f(self._estimator, index, estimator) - return __setitem__ - - Estimators.__setitem__ = wrapper__setitem__(cls.set_estimator) - del cls.set_estimator - - - def set_estimators(self, estimators): - # _estimators = self.estimators[:] - try: - while len(self.estimators) > 0: - self.estimators.remove(0) - for estimator in estimators: - self.estimators.add(estimator) - except: - raise - self.estimators = _estimators - - cls.estimators = property(Estimators, set_estimators) - - estimator_decorator(cls.Estimator) - -for cls in _Selection: - selection_decorator(cls) - -def optimization_estimation_decorator(cls): - - class Iterations(object): - - def __init__(self, estimation): - self._estimation = estimation - - def wrapper_iterations(f0, f1): - - @wraps(f0) - def __len__(self): - return f0(self._estimation) - - @wraps(f1) - def __getitem__(self, index): - if isinstance(index, slice): - return [self[index] for index in range(*index.indices(len(self)))] - else: - if index < 0: - index += len(self) - if not 0 <= index < len(self): - raise IndexError(self._estimation.__class__.__name__ + " index out of range") - return f1(self._estimation, index) - - return __len__, __getitem__ - - try: - Iterations.__len__, Iterations.__getitem__ = wrapper_iterations(cls.__len__, cls.get_iteration) - del cls.get_iteration - except: - pass - - cls.iterations = property(Iterations) - -for cls in _OptimizationEstimation: - optimization_estimation_decorator(cls) - -def optimization_estimation_impl_decorator(cls): - - del cls.__len__ - -for cls in _OptimizationEstimationImpl: - optimization_estimation_impl_decorator(cls) - -def _estimation(algo, data, mapping, **kwargs): - try: - algo = mapping[algo]() - except KeyError: - raise ValueError('\'algo\' parameter, possible values are ' + ', '.join('"' + algo + '"' for algo in mapping.keys())) - except: - raise - if data: - lazy = kwargs.pop('lazy', False) - for attr in list(kwargs.keys()): - if hasattr(algo, attr): - setattr(algo, attr, kwargs.pop(attr)) - else: - raise AttributeError("'" + algo.__class__.__name__ + "' object has no attribute '" + attr + "'") - if data: - return algo(data, lazy) - else: - return algo - -def frequency_estimation(data, **kwargs): - if isinstance(data, UnivariateData): - outcome = data.sample_space.outcome - kwargs['mult'] = False - elif isinstance(data, MultivariateData): - if all(component.sample_space.outcome == outcome_type.CATEGORICAL for component in data.components): - outcome = outcome_type.CATEGORICAL - elif all(component.sample_space.outcome == outcome_type.DISCRETE for component in data.components): - outcome = outcome_type.DISCRETE - elif all(component.sample_space.outcome == outcome_type.CONTINUOUS for component in data.components): - outcome = outcome_type.CONTINUOUS - else: - outcome = outcome_type.MIXED - kwargs['mult'] = True - elif isinstance(data, outcome_type): - outcome = data - data = None - else: - raise TypeError('\'data\' parameter') - mult = kwargs.pop('mult', outcome == outcome_type.MIXED) - if mult: - raise NotImplementedError() - else: - if outcome == outcome_type.CATEGORICAL: - mapping = dict(ml = CategoricalUnivariateDistributionEstimation.Estimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(ml = DiscreteUnivariateFrequencyDistributionEstimation.Estimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(ml = ContinuousUnivariateFrequencyDistributionEstimation.Estimator) - else: - raise ValueError('\'outcome\' parameter') - return _estimation('ml', data, mapping, **kwargs) - -BinomialDistributionMLEstimation.Estimator.force = property(BinomialDistributionMLEstimation.Estimator.get_force, BinomialDistributionMLEstimation.Estimator.set_force) -del BinomialDistributionMLEstimation.Estimator.get_force, BinomialDistributionMLEstimation.Estimator.set_force - -def binomial_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = BinomialDistributionMLEstimation.Estimator, - mm = BinomialDistributionMMEstimation.Estimator), - **kwargs) - -def poisson_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = PoissonDistributionMLEstimation.Estimator, - #mme = BinomialDistributionMMEstimation.Estimator), - ), - **kwargs) - -def logarithmic_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = LogarithmicDistributionMLEstimation.Estimator), - **kwargs) - -def geometric_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = GeometricDistributionMLEstimation.Estimator), - **kwargs) - -NegativeBinomialDistributionMLEstimation.Estimator.force = property(NegativeBinomialDistributionMLEstimation.Estimator.get_force, NegativeBinomialDistributionMLEstimation.Estimator.set_force) -del NegativeBinomialDistributionMLEstimation.Estimator.get_force, NegativeBinomialDistributionMLEstimation.Estimator.set_force - -def negative_binomial_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = NegativeBinomialDistributionMLEstimation.Estimator, - mm = NegativeBinomialDistributionMMEstimation.Estimator), - **kwargs) - -def normal_estimation(algo='ml', data=None, **kwargs): - """ - """ - return _estimation(algo, - data, - dict(ml = NormalDistributionMLEstimation.Estimator), - **kwargs) - -UnivariateHistogramDistributionEstimation.Estimator.nb_bins = property(UnivariateHistogramDistributionEstimation.Estimator.get_nb_bins, UnivariateHistogramDistributionEstimation.Estimator.set_nb_bins) -del UnivariateHistogramDistributionEstimation.Estimator.get_nb_bins, UnivariateHistogramDistributionEstimation.Estimator.set_nb_bins - -IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.maxbins = property(IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins) -del IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins - -RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.maxbins = property(RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins) -del RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins - -def histogram_estimation(data, algo='reg', **kwargs): - """ - """ - if isinstance(data, UnivariateData): - mult = False - elif isinstance(data, MultivariateData): - mult = True - elif isinstance(data, bool): - mult = data - else: - raise TypeError('\'data\' parameter') - if mult: - raise NotImplementedError() - else: - mapping = dict(reg = RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator, - irr = IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator, - cla = UnivariateHistogramDistributionEstimation.Estimator) - return _estimation(algo, data, mapping, **kwargs) - -MultivariateDistributionEstimation.estimated = property(MultivariateDistributionEstimation.get_estimated) -del MultivariateDistributionEstimation.get_estimated - -SplittingDistributionEstimation.Estimator.sum = property(SplittingDistributionEstimation.Estimator.get_sum, SplittingDistributionEstimation.Estimator.set_sum) -del SplittingDistributionEstimation.Estimator.get_sum, SplittingDistributionEstimation.Estimator.set_sum - -SplittingDistributionEstimation.Estimator.singular = property(SplittingDistributionEstimation.Estimator.get_singular, SplittingDistributionEstimation.Estimator.set_singular) -del SplittingDistributionEstimation.Estimator.get_singular, SplittingDistributionEstimation.Estimator.set_singular - -SplittingDistributionEstimation.sum = property(SplittingDistributionEstimation.get_sum) -del SplittingDistributionEstimation.get_sum - -SplittingDistributionEstimation.get_singular = property(SplittingDistributionEstimation.get_singular) -del SplittingDistributionEstimation.get_singular - -def singular_selection(*args, **kwargs): - data = kwargs.pop('data', None) - if len(args) == 0: - raise ValueError() - elif len(args) == 1: - arg = args[0] - if arg == 'MN': - algo = kwargs.pop('algo', 'default') - mapping = dict(default = MultinomialSingularDistributionEstimation.Estimator) - return _estimation(algo, data, mapping, **kwargs) - elif arg == 'DM': - algo = kwargs.pop('algo', 'default') - mapping = dict(default = DirichletMultinomialSingularDistributionEstimation.Estimator) - return _estimation(algo, data, mapping, **kwargs) - else: - raise ValueError("'args' parameter") - else: - algo = kwargs.pop('algo', 'criterion') - mapping = dict(criterion = SingularDistributionSelection.CriterionEstimator) - estimators = [] - for arg in args: - estimators.append(singular_selection(arg, **dict((key, value) for (key, value) in kwargs.items() if key == "sum"))) - kwargs.pop('sum', None) - return _estimation(algo, data, mapping, estimators=estimators, **kwargs) - -def splitting_estimation(data=None, **kwargs): - mapping = dict(default = SplittingDistributionEstimation.Estimator) - return _estimation('default', data, mapping, **kwargs) - -SingularDistributionEstimation.estimated = property(SingularDistributionEstimation.get_estimated) -del SingularDistributionEstimation.get_estimated - -def negative_multinomial_estimation(data=None, **kwargs): - mapping = dict(WZ99 = NegativeMultinomialDistributionEstimation.WZ99Estimator) - return _estimation('WZ99', data, mapping, **kwargs) - -def independent_multivariate_distribution_estimation_decorator(cls): - - pass - # cls.marginals = property(cls.get_marginal) - # del cls.get_marginals - -# for cls in _IndependentMultivariateDistributionEstimation: -# independent_multivariate_distribution_estimation_decorator(cls) - -# def independent_estimation(data, **kwargs): -# if isinstance(data, MultivariateData): -# if all(component.sample_space.outcome == outcome_type.CATEGORICAL for component in data.components): -# mapping = dict(dflt = CategoricalIndependentMultivariateDistributionEstimation.Estimator) -# elif all(component.sample_space.outcome == outcome_type.DISCRETE for component in data.components): -# mapping = dict(dflt = DiscreteIndependentMultivariateDistributionEstimation.Estimator) -# elif all(component.sample_space.outcome == outcome_type.CONTINUOUS for component in data.components): -# mapping = dict(dflt = ContinuousIndependentMultivariateDistributionEstimation.Estimator) -# else: -# mapping = dict(dflt = MixedIndependentMultivariateDistributionEstimation.Estimator) -# elif isinstance(data, outcome_type): -# if data is outcome_type.MIXED: -# mapping = dict(dflt = MixedIndependentMultivariateDistributionEstimation.Estimator) -# elif data is outcome_type.CATEGORICAL: -# mapping = dict(dflt = CategoricalIndependentMultivariateDistributionEstimation.Estimator) -# elif data is outcome_type.DISCRETE: -# mapping = dict(dflt = DiscreteIndependentMultivariateDistributionEstimation.Estimator) -# elif data is outcome_type.CONTINUOUS: -# mapping = dict(dflt = ContinuousIndependentMultivariateDistributionEstimation.Estimator) -# else: -# raise ValueError('\'data\' parameter') -# else: -# raise TypeError('\'data\' parameter') -# return _estimation('dflt', data, mapping, **kwargs) - -def mixture_distribution_em_estimator_decorator(cls): - - cls.default_estimator = property(cls.get_default_estimator, cls.set_default_estimator) - del cls.get_default_estimator, cls.set_default_estimator - - cls.initializator = property(cls.get_initializator, cls.set_initializator) - del cls.get_initializator, cls.set_initializator - -for cls in _MixtureDistributionEMEstimation: - mixture_distribution_em_estimator_decorator(cls.Estimator) - -def mixture_estimation(data, algo='em', **kwargs): - if isinstance(data, UnivariateData): - outcome = data.sample_space.outcome - kwargs['mult'] = False - elif isinstance(data, MultivariateData): - if all(component.sample_space.outcome == outcome_type.CATEGORICAL for component in data.components): - outcome = outcome_type.CATEGORICAL - elif all(component.sample_space.outcome == outcome_type.DISCRETE for component in data.components): - outcome = outcome_type.DISCRETE - elif all(component.sample_space.outcome == outcome_type.CONTINUOUS for component in data.components): - outcome = outcome_type.CONTINUOUS - else: - outcome = outcome_type.MIXED - kwargs['mult'] = True - elif isinstance(data, outcome_type): - outcome = data - data = None - else: - raise TypeError('\'data\' parameter') - mult = kwargs.pop('mult', outcome == outcome_type.MIXED) - if mult: - if outcome == outcome_type.MIXED: - mapping = dict(em = MixedMultivariateMixtureDistributionEMEstimation.Estimator) - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(em = CategoricalMultivariateMixtureDistributionEMEstimation.Estimator) - elif outcome == outcome_type.DISCRETE: - if kwargs.pop('singular', False): - mapping = dict(em = MixtureSingularDistributionEMEstimation.Estimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(em = ContinuousMultivariateMixtureDistributionEMEstimation.Estimator) - else: - if outcome == outcome_type.MIXED: - raise ValueError('\'mult\' parameter') - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(em = CategoricalUnivariateMixtureDistributionEMEstimation.Estimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(em = DiscreteUnivariateMixtureDistributionEMEstimation.Estimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(em = MixedMultivariateMixtureDistributionEMEstimation.Estimator) - return _estimation(algo, data, mapping, **kwargs) - -def shifted_estimation(data, **kwargs): - if isinstance(data, UnivariateData): - outcome = data.sample_space.outcome - elif isinstance(data, outcome_type): - outcome = data - data = None - else: - raise TypeError('\'data\' parameter') - if outcome in [outcome_type.MIXED, outcome_type.CATEGORICAL]: - raise ValueError('\'mult\' parameter') - elif outcome == outcome_type.DISCRETE: - mapping = dict(a = DiscreteUnivariateShiftedDistributionEstimation.Estimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(a = ContinuousUnivariateShiftedDistributionEstimation.Estimator) - return _estimation('a', data, mapping, **kwargs) - -def shifted_distribution_estimator_decorator(cls): - - cls.shift = property(cls.get_shift, cls.set_shift) - del cls.get_shift, cls.set_shift - - cls.estimator = property(cls.get_estimator, cls.set_estimator) - del cls.get_estimator, cls.set_estimator - -def shifted_distribution_estimation_decorator(cls): - - cls.estimation = property(cls.get_estimation) - del cls.get_estimation + norm = 1. + return self.distribution.cdf_plot(axes=axes, norm=norm, **kwargs.pop('distribution', dict(fmt='-'))) + cls.cdf_plot = cdf_plot -for cls in _ShiftedDistributionEstimation: - shifted_distribution_estimator_decorator(cls.Estimator) - -def selection(data, algo="criterion", *args, **kwargs): - if isinstance(data, UnivariateData): - outcome = data.sample_space.outcome - kwargs['multivariate'] = False - elif isinstance(data, MultivariateData): - if all(sample_space.outcome == outcome_type.CATEGORICAL for sample_space in data.sample_space): - outcome = outcome_type.CATEGORICAL - elif all(sample_space.outcome == outcome_type.DISCRETE for sample_space in data.sample_space): - outcome = outcome_type.DISCRETE - elif all(sample_space.outcome == outcome_type.CONTINUOUS for sample_space in data.sample_space): - outcome = outcome_type.CONTINUOUS - else: - outcome = outcome_type.MIXED - kwargs['multivariate'] = True - elif isinstance(data, UnivariateConditionalData): - outcome = data.response.sample_space.outcome - kwargs['multivariate'] = False - kwargs['conditional'] = True - elif isinstance(data, MultivariateConditionalData): - if all(sample_space.outcome == outcome_type.CATEGORICAL for sample_space in data.responses.sample_space): - outcome = outcome_type.CATEGORICAL - elif all(sample_space.outcome == outcome_type.DISCRETE for sample_space in data.responses.sample_space): - outcome = outcome_type.DISCRETE - elif all(sample_space.outcome == outcome_type.CONTINUOUS for sample_space in data.responses.sample_space): - outcome = outcome_type.CONTINUOUS - else: - outcome = outcome_type.MIXED - kwargs['multivariate'] = True - kwargs['conditional'] = True - elif isinstance(data, outcome_type): - outcome = data - data = None - else: - raise TypeError('\'data\' parameter') - multivariate = kwargs.pop('multivariate', outcome == outcome_type.MIXED) - conditional = kwargs.pop('conditional', False) - if multivariate: - if conditional: - if outcome == outcome_type.MIXED: - mapping = dict(criterion = MixedMultivariateConditionalDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(criterion = CategoricalMultivariateConditionalDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(criterion = DiscreteMultivariateConditionalDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(criterion = ContinuousMultivariateConditionalDistributionSelection.CriterionEstimator) - else: - if outcome == outcome_type.MIXED: - mapping = dict(criterion = MixedMultivariateDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(criterion = CategoricalMultivariateDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(criterion = DiscreteMultivariateDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(criterion = ContinuousMultivariateDistributionSelection.CriterionEstimator) - else: - if conditional: - if outcome == outcome_type.MIXED: - raise ValueError('\'multivariate\' parameter') - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(criterion = CategoricalUnivariateConditionalDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(criterion = DiscreteUnivariateConditionalDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(criterion = ContinuousUnivariateConditionalDistributionSelection.CriterionEstimator) - else: - if outcome == outcome_type.MIXED: - raise ValueError('\'multivariate\' parameter') - elif outcome == outcome_type.CATEGORICAL: - mapping = dict(criterion = CategoricalUnivariateDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.DISCRETE: - mapping = dict(criterion = DiscreteUnivariateDistributionSelection.CriterionEstimator) - elif outcome == outcome_type.CONTINUOUS: - mapping = dict(criterion = ContinuousUnivariateDistributionSelection.CriterionEstimator) - return _estimation(algo, data, mapping, **kwargs) - -UnivariateConditionalDistributionEstimation.estimated = property(UnivariateConditionalDistributionEstimation.get_estimated) -del UnivariateConditionalDistributionEstimation.get_estimated + if hasattr(cls.DistributionType, "box_plot"): + def box_plot(self, axes=None, norm=False, **kwargs): + axes = self.data.box_plot(axes=axes, norm=norm, **kwargs.pop('data', dict(fmt='|'))) + if isinstance(norm, bool): + if not norm: + norm = self.data.total + else: + norm = 1. + return self.distribution.box_plot(axes=axes, norm=norm, **kwargs.pop('distribution', dict(fmt='-'))) + cls.box_plot = box_plot -MultivariateConditionalDistributionEstimation.estimated = property(MultivariateConditionalDistributionEstimation.get_estimated) -del MultivariateConditionalDistributionEstimation.get_estimated +for cls in _DistributionEstimation: + distribution_estimation_decorator(cls) \ No newline at end of file diff --git a/src/py/statiskit/core/estimator.py b/src/py/statiskit/core/estimator.py new file mode 100644 index 00000000..c5841172 --- /dev/null +++ b/src/py/statiskit/core/estimator.py @@ -0,0 +1,217 @@ +import os +import warnings + +from collections import Iterable + +from . import _core + +from .__core.statiskit import (_ShiftedDistributionEstimation, + _UnivariateFrequencyDistributionEstimation, + BinomialDistributionEstimation, + BinomialDistributionMLEstimation, + BinomialDistributionMMEstimation, + GeometricDistributionEstimation, + GeometricDistributionMLEstimation, + LogarithmicDistributionEstimation, + LogarithmicDistributionMLEstimation, + MultivariateDistributionEstimation, + NegativeBinomialDistributionEstimation, + NegativeBinomialDistributionMLEstimation, + NegativeBinomialDistributionMMEstimation, + NegativeMultinomialDistributionEstimation, + NegativeMultinomialDistributionWZ99Estimation, + NormalDistributionEstimation, + NormalDistributionMLEstimation, + PoissonDistributionEstimation, + PoissonDistributionMLEstimation, + UnivariateDistributionEstimation, + UnivariateHistogramDistributionEstimation, + UnivariateHistogramDistributionClassicEstimation, + UnivariateHistogramDistributionIrregularEstimation, + UnivariateHistogramDistributionRegularEstimation) + +__all__ = [] + +class _Estimation(object): + + def __init__(self, cls, name=None, subclass=None): + self._cls = cls + if name is None: + self._name = self._cls.__name__ + else: + self._name = name + self._subclass = subclass + self._algorithms = dict() + self._seen = set() + self.__update() + + def _subclasses(self, cls=None, estimator=False): + subclasses = [] + if cls is None and isinstance(self._cls, Iterable): + for cls in self._cls: + if estimator: + cls = cls.Estimator + if cls not in self._seen: + self._seen.add(cls) + subclasses.append(cls) + subclasses.extend(self._subclasses(cls=cls, estimator=estimator)) + else: + if cls is None: + if estimator: + cls = self._cls.Estimator + else: + cls = self._cls + for subclass in cls.__subclasses__(): + if subclass not in self._seen: + self._seen.add(subclass) + subclasses.append(subclass) + subclasses.extend(self._subclasses(cls=subclass, estimator=estimator)) + if self._subclass: + if estimator: + return [subclass for subclass in subclasses if issubclass(subclass, self._subclass.Estimator)] + else: + return [subclass for subclass in subclasses if issubclass(subclass, self._subclass)] + else: + return subclasses + + def __replace(self, name): + for replace in ["Distribution", "Univariate", "Multivariate", "Estimator", "Estimation", "Selection"]: + name = name.replace(replace, "") + return name + + def __update(self): + basename = self.__replace(self._name) + for cls in self._subclasses(cls=None): + if hasattr(cls, "Estimator") and not cls.Estimator.__abstract__: + algorithm = getattr(cls, "__alias__", cls.__name__) + algorithm = self.__replace(algorithm) + algorithm = algorithm.replace(os.path.commonprefix([basename, algorithm]), "") + algorithm = algorithm.replace(os.path.commonprefix([basename[-1::-1], algorithm[-1::-1]])[-1::-1], "") + if algorithm: + if sum(c.isupper() for c in algorithm) == 1 and sum(c.isdigit() for c in algorithm) == 0: + algorithm = algorithm.lower() + if algorithm in self._algorithms and not self._algorithms[algorithm] == cls.Estimator: + warnings.warn("Multiple possible algorithms for '" + algorithm + "' algorithm's name") + self._algorithms[algorithm] = cls.Estimator + for cls in self._subclasses(cls=None, estimator=True): + if not cls.__abstract__: + algorithm = getattr(cls, "__alias__", cls.__name__) + algorithm = self.__replace(algorithm) + algorithm = algorithm.replace(os.path.commonprefix([basename, algorithm]), "") + algorithm = algorithm.replace(os.path.commonprefix([basename[-1::-1], algorithm[-1::-1]])[-1::-1], "") + if algorithm: + if sum(c.isupper() for c in algorithm) == 1 and sum(c.isdigit() for c in algorithm) == 0: + algorithm = algorithm.lower() + if algorithm in self._algorithms and not self._algorithms[algorithm] == cls: + warnings.warn("Multiple possible algorithms for '" + algorithm + "' algorithm's name") + self._algorithms[algorithm] = cls + + def __algorithm(self, algorithm): + if algorithm not in self._algorithms: + self.__update() + if algorithm not in self._algorithms: + if algorithm.lower() not in self._algorithms: + raise KeyError("Undefinided '" + algorithm + "' algorithm") + else: + algorithm = algorithm.lower() + return self._algorithms[algorithm]() + + def __call__(self, algorithm, data=None, **kwargs): + try: + if "outcome" in kwargs: + algorithm = kwargs.pop("outcome").capitalize() + algorithm.capitalize() + algorithm = self.__algorithm(algorithm) + except KeyError: + raise ValueError('\'algorithm\' parameter, possible values are ' + ', '.join('"' + algorithm + '"' for algorithm in sorted(self._algorithms.keys()))) + except: + raise + for attr in list(kwargs.keys()): + if hasattr(algorithm, attr): + setattr(algorithm, attr, kwargs.pop(attr)) + else: + raise AttributeError("'" + algorithm.__class__.__name__ + "' object has no attribute '" + attr + "'") + if data: + if 'variable' in kwargs: + return algorithm(data, kwargs.pop('variable')) + elif 'variables' in kwargs: + return algorithm(data, kwargs.pop('variables')) + else: + return algorithm(data) + else: + return algorithm + +shifted_estimation = _Estimation(_ShiftedDistributionEstimation, + name="ShiftedDistributionEstimationEstimation") +__all__ += ["shifted_estimation"] + +def shifted_estimator_decorator(cls): + + cls.shift = property(cls.get_shift, cls.set_shift) + del cls.get_shift, cls.set_shift + + cls.estimator = property(cls.get_estimator, cls.set_estimator) + del cls.get_estimator, cls.set_estimator + +frequency_estimation = _Estimation(_UnivariateFrequencyDistributionEstimation, + name="UnivariateFrequencyDistributionEstimation") +__all__ += ["frequency_estimation"] + +binomial_estimation = _Estimation(BinomialDistributionEstimation) +__all__ += ["binomial_estimation"] + +BinomialDistributionMLEstimation.Estimator.force = property(BinomialDistributionMLEstimation.Estimator.get_force, BinomialDistributionMLEstimation.Estimator.set_force) +del BinomialDistributionMLEstimation.Estimator.get_force, BinomialDistributionMLEstimation.Estimator.set_force + +BinomialDistributionMMEstimation.Estimator.location = property(BinomialDistributionMMEstimation.Estimator.get_location, BinomialDistributionMMEstimation.Estimator.set_location) +del BinomialDistributionMMEstimation.Estimator.get_location, BinomialDistributionMMEstimation.Estimator.set_location + +BinomialDistributionMMEstimation.Estimator.dispersion = property(BinomialDistributionMMEstimation.Estimator.get_dispersion, BinomialDistributionMMEstimation.Estimator.set_dispersion) +del BinomialDistributionMMEstimation.Estimator.get_dispersion, BinomialDistributionMMEstimation.Estimator.set_dispersion + +geometric_estimation = _Estimation(GeometricDistributionEstimation) +__all__ += ["geometric_estimation"] + +logarithmic_estimation = _Estimation(LogarithmicDistributionEstimation) +__all__ += ["logarithmic_estimation"] + +multivariate_estimation = _Estimation(MultivariateDistributionEstimation) +__all__ += ["multivariate_estimation"] + +negative_binomial_estimation = _Estimation(NegativeBinomialDistributionEstimation) +__all__ += ["negative_binomial_estimation"] + +NegativeBinomialDistributionMLEstimation.Estimator.force = property(NegativeBinomialDistributionMLEstimation.Estimator.get_force, NegativeBinomialDistributionMLEstimation.Estimator.set_force) +del NegativeBinomialDistributionMLEstimation.Estimator.get_force, NegativeBinomialDistributionMLEstimation.Estimator.set_force + +NegativeBinomialDistributionMMEstimation.Estimator.location = property(NegativeBinomialDistributionMMEstimation.Estimator.get_location, NegativeBinomialDistributionMMEstimation.Estimator.set_location) +del NegativeBinomialDistributionMMEstimation.Estimator.get_location, NegativeBinomialDistributionMMEstimation.Estimator.set_location + +NegativeBinomialDistributionMMEstimation.Estimator.dispersion = property(NegativeBinomialDistributionMMEstimation.Estimator.get_dispersion, NegativeBinomialDistributionMMEstimation.Estimator.set_dispersion) +del NegativeBinomialDistributionMMEstimation.Estimator.get_dispersion, NegativeBinomialDistributionMMEstimation.Estimator.set_dispersion + +negative_multinomial_estimation = _Estimation(NegativeMultinomialDistributionEstimation) +__all__ += ["negative_multinomial_estimation"] + +normal_estimation = _Estimation(NormalDistributionEstimation) +__all__ += ["normal_estimation"] + +poisson_estimation = _Estimation(PoissonDistributionEstimation) +__all__ += ["poisson_estimation"] + +univariate_estimation = _Estimation(UnivariateDistributionEstimation) +__all__ += ["univariate_estimation"] + +histogram_estimation = _Estimation(UnivariateHistogramDistributionEstimation) +__all__ += ["histogram_estimation"] + +UnivariateHistogramDistributionClassicEstimation.Estimator.nb_bins = property(UnivariateHistogramDistributionClassicEstimation.Estimator.get_nb_bins, UnivariateHistogramDistributionClassicEstimation.Estimator.set_nb_bins) +del UnivariateHistogramDistributionClassicEstimation.Estimator.get_nb_bins, UnivariateHistogramDistributionClassicEstimation.Estimator.set_nb_bins + +UnivariateHistogramDistributionIrregularEstimation.maxbins = property(UnivariateHistogramDistributionIrregularEstimation.Estimator.get_maxbins, UnivariateHistogramDistributionIrregularEstimation.Estimator.set_maxbins) +del UnivariateHistogramDistributionIrregularEstimation.Estimator.get_maxbins, UnivariateHistogramDistributionIrregularEstimation.Estimator.set_maxbins + +UnivariateHistogramDistributionIrregularEstimation.constant = property(UnivariateHistogramDistributionIrregularEstimation.Estimator.get_constant, UnivariateHistogramDistributionIrregularEstimation.Estimator.set_constant) +del UnivariateHistogramDistributionIrregularEstimation.Estimator.get_constant, UnivariateHistogramDistributionIrregularEstimation.Estimator.set_constant + +UnivariateHistogramDistributionRegularEstimation.maxbins = property(UnivariateHistogramDistributionRegularEstimation.Estimator.get_maxbins, UnivariateHistogramDistributionRegularEstimation.Estimator.set_maxbins) +del UnivariateHistogramDistributionRegularEstimation.Estimator.get_maxbins, UnivariateHistogramDistributionRegularEstimation.Estimator.set_maxbins \ No newline at end of file diff --git a/src/py/statiskit/core/event.py b/src/py/statiskit/core/event.py index be960955..b8dbfbfa 100644 --- a/src/py/statiskit/core/event.py +++ b/src/py/statiskit/core/event.py @@ -1,28 +1,56 @@ from functools import wraps from . import _core -from .__core.statiskit import (outcome_type, event_type, - UnivariateEvent, CategoricalEvent, DiscreteEvent, ContinuousEvent, - _ElementaryEvent, _CensoredEvent, _LeftCensoredEvent, _RightCensoredEvent, _IntervalCensoredEvent, - CategoricalElementaryEvent, CategoricalCensoredEvent, - DiscreteElementaryEvent, DiscreteCensoredEvent, DiscreteLeftCensoredEvent, DiscreteRightCensoredEvent, DiscreteIntervalCensoredEvent, - ContinuousElementaryEvent, ContinuousCensoredEvent, ContinuousLeftCensoredEvent, ContinuousRightCensoredEvent,ContinuousIntervalCensoredEvent, - MultivariateEvent, VectorEvent) +from .__core.statiskit import (outcome_type, + censoring_type, + UnivariateEvent, + CategoricalEvent, + DiscreteEvent, + ContinuousEvent, + _ElementaryEvent, + _CensoredEvent, + _LeftCensoredEvent, + _RightCensoredEvent, + _IntervalCensoredEvent, + CategoricalElementaryEvent, + CategoricalCensoredEvent, + DiscreteElementaryEvent, + DiscreteCensoredEvent, + DiscreteLeftCensoredEvent, + DiscreteRightCensoredEvent, + DiscreteIntervalCensoredEvent, + ContinuousElementaryEvent, + ContinuousCensoredEvent, + ContinuousLeftCensoredEvent, + ContinuousRightCensoredEvent, + ContinuousIntervalCensoredEvent, + MultivariateEvent, + VectorEvent) from .controls import controls from ._tools import float_str, remove_latex -__all__ = ['outcome_type', 'event_type', - 'CategoricalElementaryEvent', 'CategoricalCensoredEvent', - 'DiscreteElementaryEvent', 'DiscreteCensoredEvent', 'DiscreteLeftCensoredEvent', 'DiscreteRightCensoredEvent', 'DiscreteIntervalCensoredEvent', - 'ContinuousElementaryEvent', 'ContinuousCensoredEvent', 'ContinuousLeftCensoredEvent', 'ContinuousRightCensoredEvent', 'ContinuousIntervalCensoredEvent', +__all__ = ['outcome_type', + 'censoring_type', + 'CategoricalElementaryEvent', + 'CategoricalCensoredEvent', + 'DiscreteElementaryEvent', + 'DiscreteCensoredEvent', + 'DiscreteLeftCensoredEvent', + 'DiscreteRightCensoredEvent', + 'DiscreteIntervalCensoredEvent', + 'ContinuousElementaryEvent', + 'ContinuousCensoredEvent', + 'ContinuousLeftCensoredEvent', + 'ContinuousRightCensoredEvent', + 'ContinuousIntervalCensoredEvent', 'VectorEvent'] UnivariateEvent.outcome = property(UnivariateEvent.get_outcome) del UnivariateEvent.get_outcome -UnivariateEvent.event = property(UnivariateEvent.get_event) -del UnivariateEvent.get_event +UnivariateEvent.censoring = property(UnivariateEvent.get_censoring) +del UnivariateEvent.get_censoring def type_to_event(event): if isinstance(event, str): @@ -272,8 +300,8 @@ def __getitem__(self, index): return f(self, index) return __getitem__ -MultivariateEvent.__getitem__ = wrapper(MultivariateEvent.get) -del wrapper, MultivariateEvent.get +MultivariateEvent.__getitem__ = wrapper(MultivariateEvent.get_event) +del wrapper, MultivariateEvent.get_event def __str__(self): return '(' + ', '.join(str(event) if not event is None else '?' for event in self) + ')' @@ -300,5 +328,5 @@ def __setitem__(self, index, event): f(self, index, event) return __setitem__ -VectorEvent.__setitem__ = wrapper(VectorEvent.set) -del wrapper, VectorEvent.set \ No newline at end of file +VectorEvent.__setitem__ = wrapper(VectorEvent.set_event) +del wrapper, VectorEvent.set_event \ No newline at end of file diff --git a/src/py/statiskit/core/indicator.py b/src/py/statiskit/core/indicator.py index 7a49815d..7ec0da73 100644 --- a/src/py/statiskit/core/indicator.py +++ b/src/py/statiskit/core/indicator.py @@ -2,13 +2,13 @@ from . import _core from .__core.statiskit import (UnivariateLocationEstimation, - UnivariateMeanEstimation, + UnivariateMeanEstimation, MultivariateLocationEstimation, - MultivariateMeanEstimation, + MultivariateMeanEstimation, UnivariateDispersionEstimation, - UnivariateVarianceEstimation, + UnivariateVarianceEstimation, MultivariateDispersionEstimation, - MultivariateVarianceEstimation) + MultivariateVarianceEstimation) from .data import (UnivariateData, MultivariateData) __all__ = [] diff --git a/src/py/statiskit/core/io.py b/src/py/statiskit/core/io.py index 115d2d1d..952105b3 100644 --- a/src/py/statiskit/core/io.py +++ b/src/py/statiskit/core/io.py @@ -8,7 +8,10 @@ from . import _core from .controls import controls -from .data import UnivariateDataFrame, MultivariateDataFrame, WeightedUnivariateData, WeightedMultivariateData +from .data import (UnivariateDataFrame, + MultivariateDataFrame, + WeightedUnivariateData, + WeightedMultivariateData) from .sample_space import NominalSampleSpace from .event import outcome_type diff --git a/src/py/statiskit/core/mixture.py b/src/py/statiskit/core/mixture.py new file mode 100644 index 00000000..a5f137c0 --- /dev/null +++ b/src/py/statiskit/core/mixture.py @@ -0,0 +1,213 @@ +def statiskit_mixture_distribution_decorator(cls): + + cls.nb_states = property(cls.get_nb_states) + del cls.get_nb_states + + cls.pi = property(cls.get_pi, cls.set_pi) + del cls.get_pi, cls.set_pi + + class Observations(object): + + def __init__(self, distribution): + self._distribution = distribution + + def __len__(self): + return self._distribution.nb_states + + def wrapper_observations(f0, f1): + + @wraps(f0) + def __getitem__(self, index): + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self._distribution.__class__.__name__ + " index out of range") + return f0(self._distribution, index) + + @wraps(f1) + def __setitem__(self, index, value): + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self._distribution.__class__.__name__ + " index out of range") + return f1(self._distribution, index, value) + + return __getitem__, __setitem__ + + Observations.__getitem__, Observations.__setitem__ = wrapper_observations(cls.get_observation, cls.set_observation) + del cls.get_observation, cls.set_observation + + cls.observations = property(Observations) + + if hasattr(cls, 'pdf_plot'): + + def wrapper_pdf_plot(f): + @wraps(f) + def pdf_plot(self, axes=None, *args, **kwargs): + norm = kwargs.pop('norm', 1.) + states = kwargs.pop('states', True) + if states: + if isinstance(states, (list, tuple)): + skwargs = states + else: + skwargs = [{}] * self.nb_states + for index, (pi, observation) in enumerate(zip(self.pi, self.observations)): + for key, value in kwargs.items(): + if not key in skwargs[index]: + skwargs[index][key] = value + axes = observation.pdf_plot(axes=axes, norm=pi*norm, *args, **skwargs[index]) + return f(self, axes=axes, *args, norm=norm, **kwargs) + return pdf_plot + + cls.pdf_plot = wrapper_pdf_plot(cls.pdf_plot) + +for cls in _MixtureDistribution: + statiskit_mixture_distribution_decorator(cls) + +def statiskit_univariate_mixture_distribution_decorator(cls): + + def wrapper_posterior(f): + @wraps(f) + def posterior(self, event, **kwargs): + return f(self, type_to_event(event), kwargs.pop('log', False)) + return posterior + + cls.posterior = wrapper_posterior(cls.posterior) + + def wrapper_assignment(f): + @wraps(f) + def assignment(self, event): + return f(self, type_to_event(event)) + return assignment + + cls.assignment = wrapper_assignment(cls.assignment) + + def wrapper_uncertainty(f): + @wraps(f) + def uncertainty(self, arg): + if isinstance(arg, UnivariateData): + return f(self, arg) + else: + return f(self, types_to_event(arg)) + return uncertainty + + cls.uncertainty = wrapper_uncertainty(cls.uncertainty) + +for cls in _UnivariateMixtureDistribution: + statiskit_univariate_mixture_distribution_decorator(cls) + +def statiskit_Multivariate_mixture_distribution_decorator(cls): + + def wrapper_posterior(f): + @wraps(f) + def posterior(self, *event, **kwargs): + return f(self, types_to_event(*events), kwargs.pop('log', False)) + return posterior + + cls.posterior = wrapper_posterior(cls.posterior) + + def wrapper_assignment(f): + @wraps(f) + def assignment(self, *event): + if len(event) == 1 and isinstance(event[0], (UnivariateData, MultivariateData)): + event = event[0] + else: + event = types_to_event(*event) + return f(self, event) + return assignment + + cls.assignment = wrapper_assignment(cls.assignment) + + def wrapper_uncertainty(f): + @wraps(f) + def uncertainty(self, *args): + if len(args) == 1 and isinstance(args[0], MultivariateData): + return f(self, args[0]) + else: + return f(self, types_to_event(*args)) + return uncertainty + + cls.uncertainty = wrapper_uncertainty(cls.uncertainty) + +for cls in _MultivariateMixtureDistribution: + statiskit_Multivariate_mixture_distribution_decorator(cls) + +def MixtureDistribution(*args, **kwargs): + if 'pi' in kwargs: + pi = kwargs.pop('pi') + else: + pi = [1. for arg in args] + if not isinstance(pi, linalg.Vector): + pi = linalg.Vector(pi) + if all(isinstance(arg, CategoricalUnivariateDistribution) for arg in args): + return CategoricalUnivariateMixtureDistribution(CategoricalUnivariateDistributionVector(*args), pi) + elif all(isinstance(arg, DiscreteUnivariateDistribution) for arg in args): + return DiscreteUnivariateMixtureDistribution(DiscreteUnivariateDistributionVector(*args), pi) + elif all(isinstance(arg, ContinuousUnivariateDistribution) for arg in args): + return ContinuousUnivariateMixtureDistribution(ContinuousUnivariateDistributionVector(*args), pi) + elif all(isinstance(arg, MultivariateDistribution) for arg in args): + if all(isinstance(arg, CategoricalMultivariateDistribution) for arg in args): + return CategoricalMultivariateMixtureDistribution(CategoricalMultivariateDistributionVector(*args), pi) + elif all(isinstance(arg, DiscreteMultivariateDistribution) for arg in args): + return DiscreteMultivariateMixtureDistribution(DiscreteMultivariateDistributionVector(*args), pi) + elif all(isinstance(arg, ContinuousMultivariateDistribution) for arg in args): + return ContinuousMultivariateMixtureDistribution(ContinuousMultivariateDistributionVector(*args), pi) + else: + return MixedMultivariateMixtureDistribution(MultivariateDistributionVector(*args), pi) + else: + raise TypeError('\'args\' parameter') + + + +def mixture_distribution_em_estimator_decorator(cls): + + cls.default_estimator = property(cls.get_default_estimator, cls.set_default_estimator) + del cls.get_default_estimator, cls.set_default_estimator + + cls.initializator = property(cls.get_initializator, cls.set_initializator) + del cls.get_initializator, cls.set_initializator + +for cls in _MixtureDistributionEMEstimation: + mixture_distribution_em_estimator_decorator(cls.Estimator) + + +def mixture_estimation(data, algo='em', **kwargs): + if isinstance(data, UnivariateData): + outcome = data.sample_space.outcome + kwargs['mult'] = False + elif isinstance(data, MultivariateData): + if all(component.sample_space.outcome == outcome_type.CATEGORICAL for component in data.components): + outcome = outcome_type.CATEGORICAL + elif all(component.sample_space.outcome == outcome_type.DISCRETE for component in data.components): + outcome = outcome_type.DISCRETE + elif all(component.sample_space.outcome == outcome_type.CONTINUOUS for component in data.components): + outcome = outcome_type.CONTINUOUS + else: + outcome = outcome_type.MIXED + kwargs['mult'] = True + elif isinstance(data, outcome_type): + outcome = data + data = None + else: + raise TypeError('\'data\' parameter') + mult = kwargs.pop('mult', outcome == outcome_type.MIXED) + if mult: + if outcome == outcome_type.MIXED: + mapping = dict(em = MixedMultivariateMixtureDistributionEMEstimation.Estimator) + elif outcome == outcome_type.CATEGORICAL: + mapping = dict(em = CategoricalMultivariateMixtureDistributionEMEstimation.Estimator) + elif outcome == outcome_type.DISCRETE: + if kwargs.pop('singular', False): + mapping = dict(em = MixtureSingularDistributionEMEstimation.Estimator) + elif outcome == outcome_type.CONTINUOUS: + mapping = dict(em = ContinuousMultivariateMixtureDistributionEMEstimation.Estimator) + else: + if outcome == outcome_type.MIXED: + raise ValueError('\'mult\' parameter') + elif outcome == outcome_type.CATEGORICAL: + mapping = dict(em = CategoricalUnivariateMixtureDistributionEMEstimation.Estimator) + elif outcome == outcome_type.DISCRETE: + mapping = dict(em = DiscreteUnivariateMixtureDistributionEMEstimation.Estimator) + elif outcome == outcome_type.CONTINUOUS: + mapping = dict(em = MixedMultivariateMixtureDistributionEMEstimation.Estimator) + return _estimation(algo, data, mapping, **kwargs) diff --git a/src/py/statiskit/core/optimization.py b/src/py/statiskit/core/optimization.py new file mode 100644 index 00000000..933ee423 --- /dev/null +++ b/src/py/statiskit/core/optimization.py @@ -0,0 +1,43 @@ +def optimization_estimation_decorator(cls): + + class Iterations(object): + + def __init__(self, estimation): + self._estimation = estimation + + def wrapper_iterations(f0, f1): + + @wraps(f0) + def __len__(self): + return f0(self._estimation) + + @wraps(f1) + def __getitem__(self, index): + if isinstance(index, slice): + return [self[index] for index in range(*index.indices(len(self)))] + else: + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self._estimation.__class__.__name__ + " index out of range") + return f1(self._estimation, index) + + return __len__, __getitem__ + + try: + Iterations.__len__, Iterations.__getitem__ = wrapper_iterations(cls.__len__, cls.get_iteration) + del cls.get_iteration + except: + pass + + cls.iterations = property(Iterations) + +for cls in _OptimizationEstimation: + optimization_estimation_decorator(cls) + +def optimization_estimation_impl_decorator(cls): + + del cls.__len__ + +for cls in _OptimizationEstimationImpl: + optimization_estimation_impl_decorator(cls) diff --git a/src/py/statiskit/core/sample_space.py b/src/py/statiskit/core/sample_space.py index 2724eae6..c76d01aa 100644 --- a/src/py/statiskit/core/sample_space.py +++ b/src/py/statiskit/core/sample_space.py @@ -6,27 +6,29 @@ from . import _core from .__core.statiskit import (encoding_type, SampleSpaceVector, - UnivariateSampleSpace, - CategoricalSampleSpace, - NominalSampleSpace, - OrdinalSampleSpace, - HierarchicalSampleSpace, - DiscreteSampleSpace, - IntegerSampleSpace, - ContinuousSampleSpace, - RealSampleSpace, - UnivariateEvent, - CategoricalEvent, - DiscreteEvent, - ContinuousEvent, - MultivariateSampleSpace, - VectorSampleSpace) + UnivariateSampleSpace, + CategoricalSampleSpace, + NominalSampleSpace, + OrdinalSampleSpace, + HierarchicalSampleSpace, + DiscreteSampleSpace, + IntegerSampleSpace, + ContinuousSampleSpace, + RealSampleSpace, + UnivariateEvent, + CategoricalEvent, + DiscreteEvent, + ContinuousEvent, + MultivariateSampleSpace, + VectorSampleSpace) from .controls import * from .event import * from ._tools import remove_latex -__all__ = ['NominalSampleSpace', 'OrdinalSampleSpace', 'HierarchicalSampleSpace', +__all__ = ['NominalSampleSpace', + 'OrdinalSampleSpace', + 'HierarchicalSampleSpace', 'IntegerSampleSpace', 'RealSampleSpace', 'VectorSampleSpace'] @@ -390,8 +392,8 @@ def __getitem__(self, index): return __getitem__ -MultivariateSampleSpace.__getitem__ = wrapper_get(MultivariateSampleSpace.get) -del MultivariateSampleSpace.get +MultivariateSampleSpace.__getitem__ = wrapper_get(MultivariateSampleSpace.get_sample_space) +del MultivariateSampleSpace.get_sample_space def wrapper(f): @wraps(f) @@ -417,5 +419,5 @@ def __setitem__(self, index, value): return __setitem__ -VectorSampleSpace.__setitem__ = wrapper_set(VectorSampleSpace.set) -del VectorSampleSpace.set +VectorSampleSpace.__setitem__ = wrapper_set(VectorSampleSpace.set_sample_space) +del VectorSampleSpace.set_sample_space diff --git a/src/py/statiskit/core/selection.py b/src/py/statiskit/core/selection.py new file mode 100644 index 00000000..3fd613b2 --- /dev/null +++ b/src/py/statiskit/core/selection.py @@ -0,0 +1,178 @@ +from functools import wraps + +from . import _core + +from .__core.statiskit import (_Selection, + MultivariateDistributionEstimation, + UnivariateDistributionEstimation) +from .estimator import _Estimation + +__all__ = ["univariate_selection", + "multivariate_selection"] + +univariate_selection = _Estimation(_Selection, + name="Selection", + subclass=UnivariateDistributionEstimation) +multivariate_selection = _Estimation(_Selection, + name="Selection", + subclass=MultivariateDistributionEstimation) +def selection_decorator(cls): + + class Estimations(object): + + def __init__(self, estimation): + self._estimation = estimation + + class Scores(object): + + def __init__(self, estimation): + self._estimation = estimation + + def __str__(self): + return str(self[:]) + + def __repr__(self): + return repr(self[:]) + + def plot(self, axes=None): + if axes is None: + axes = pyplot.subplot(1,1,1) + axes.plot(self[:]) + return axes + + def wrapper__len__(f): + @wraps(f) + def __len__(self): + return f(self._estimation) + return __len__ + + Estimations.__len__ = wrapper__len__(cls.__len__) + Scores.__len__ = wrapper__len__(cls.__len__) + del cls.__len__ + + def wrapper__getitem__(f): + @wraps(f) + def __getitem__(self, index): + if isinstance(index, slice): + return [self[index] for index in range(*index.indices(len(self)))] + else: + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self.__class__.__name__ + " index out of range") + return f(self._estimation, index) + return __getitem__ + + Estimations.__getitem__ = wrapper__getitem__(cls.get_estimation) + del cls.get_estimation + Scores.__getitem__ = wrapper__getitem__(cls.get_score) + del cls.get_score + + cls.estimations = property(Estimations) + cls.scores = property(Scores) + + def estimator_decorator(cls): + + class Estimators(object): + + def __init__(self, estimator): + self._estimator = estimator + + def wrapper__len__(f): + @wraps(f) + def __len__(self): + return f(self._estimator) + return __len__ + + Estimators.__len__ = wrapper__len__(cls.__len__) + del cls.__len__ + + def wrapper_add(f): + @wraps(f) + def add(self, estimator): + f(self._estimator, estimator) + return add + + Estimators.add = wrapper_add(cls.add_estimator) + del cls.add_estimator + + def wrapper_remove(f): + @wraps(f) + def remove(self, index): + if index < 0: + index += len(self) + if not 0 <= index < len(index): + raise IndexError("'index' parameter") + f(self._estimator, index) + return remove + + Estimators.remove = wrapper_add(cls.remove_estimator) + del cls.remove_estimator + + def wrapper__getitem__(f): + @wraps(f) + def __getitem__(self, index): + if isinstance(index, slice): + return [self[index] for index in range(*index.indices(len(self)))] + else: + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self.__class__.__name__ + " index out of range") + return f(self._estimator, index) + return __getitem__ + + Estimators.__getitem__ = wrapper__getitem__(cls.get_estimator) + del cls.get_estimator + + def wrapper__setitem__(f): + @wraps(f) + def __setitem__(self, index, estimator): + if isinstance(index, slice): + return [self[index] for index in range(*index.indices(len(self)))] + else: + if index < 0: + index += len(self) + if not 0 <= index < len(self): + raise IndexError(self.__class__.__name__ + " index out of range") + return f(self._estimator, index, estimator) + return __setitem__ + + Estimators.__setitem__ = wrapper__setitem__(cls.set_estimator) + del cls.set_estimator + + + def set_estimators(self, estimators): + # _estimators = self.estimators[:] + try: + while len(self.estimators) > 0: + self.estimators.remove(0) + for estimator in estimators: + self.estimators.add(estimator) + except: + raise + self.estimators = _estimators + + cls.estimators = property(Estimators, set_estimators) + + estimator_decorator(cls.Estimator) + + def cirterion_estimator_decorator(cls): + + cls.criterion_type.AICc = cls.criterion_type.AI_CC + del cls.criterion_type.AI_CC + + def wrapper_set_criterion(f): + @wraps(f) + def set_criterion(self, criterion): + if isinstance(criterion, str): + criterion = getattr(cls.criterion_type, criterion) + f(self, criterion) + return set_criterion + + cls.criterion = property(cls.get_criterion, wrapper_set_criterion(cls.set_criterion)) + + cirterion_estimator_decorator(cls.CriterionEstimator) + +for cls in _Selection: + selection_decorator(cls) diff --git a/src/py/statiskit/core/singular.py b/src/py/statiskit/core/singular.py index bffdabd9..28d4daf9 100644 --- a/src/py/statiskit/core/singular.py +++ b/src/py/statiskit/core/singular.py @@ -3,13 +3,11 @@ from . import _core from .__core.statiskit import (SingularDistribution, - MultinomialSingularDistribution, - DirichletMultinomialSingularDistribution, - MixtureSingularDistribution) + MultinomialSingularDistribution, + DirichletMultinomialSingularDistribution) __all__ = ['MultinomialSingularDistribution', - 'DirichletMultinomialSingularDistribution', - 'MixtureSingularDistribution'] + 'DirichletMultinomialSingularDistribution'] def wrapper_probability(f): @wraps(f) @@ -75,4 +73,48 @@ def _repr_latex_(self): return r"$\mathcal{DM}\left(S, " + self.alpha._repr_latex_()[1:-1] + r"\right)$" DirichletMultinomialSingularDistribution._repr_latex_ = _repr_latex_ -del _repr_latex_ \ No newline at end of file +del _repr_latex_ + +SplittingDistributionEstimation.Estimator.sum = property(SplittingDistributionEstimation.Estimator.get_sum, SplittingDistributionEstimation.Estimator.set_sum) +del SplittingDistributionEstimation.Estimator.get_sum, SplittingDistributionEstimation.Estimator.set_sum + +SplittingDistributionEstimation.Estimator.singular = property(SplittingDistributionEstimation.Estimator.get_singular, SplittingDistributionEstimation.Estimator.set_singular) +del SplittingDistributionEstimation.Estimator.get_singular, SplittingDistributionEstimation.Estimator.set_singular + +SplittingDistributionEstimation.sum = property(SplittingDistributionEstimation.get_sum) +del SplittingDistributionEstimation.get_sum + +SplittingDistributionEstimation.get_singular = property(SplittingDistributionEstimation.get_singular) +del SplittingDistributionEstimation.get_singular + +def singular_selection(*args, **kwargs): + data = kwargs.pop('data', None) + if len(args) == 0: + raise ValueError() + elif len(args) == 1: + arg = args[0] + if arg == 'MN': + algo = kwargs.pop('algo', 'default') + mapping = dict(default = MultinomialSingularDistributionEstimation.Estimator) + return _estimation(algo, data, mapping, **kwargs) + elif arg == 'DM': + algo = kwargs.pop('algo', 'default') + mapping = dict(default = DirichletMultinomialSingularDistributionEstimation.Estimator) + return _estimation(algo, data, mapping, **kwargs) + else: + raise ValueError("'args' parameter") + else: + algo = kwargs.pop('algo', 'criterion') + mapping = dict(criterion = SingularDistributionSelection.CriterionEstimator) + estimators = [] + for arg in args: + estimators.append(singular_selection(arg, **dict((key, value) for (key, value) in kwargs.items() if key == "sum"))) + kwargs.pop('sum', None) + return _estimation(algo, data, mapping, estimators=estimators, **kwargs) + +def splitting_estimation(data=None, **kwargs): + mapping = dict(default = SplittingDistributionEstimation.Estimator) + return _estimation('default', data, mapping, **kwargs) + +SingularDistributionEstimation.distribution = property(SingularDistributionEstimation.get_distribution) +del SingularDistributionEstimation.get_distribution \ No newline at end of file diff --git a/src/py/statiskit/core/slope_heuristic.py b/src/py/statiskit/core/slope_heuristic.py index b7e2a843..cb9cb964 100644 --- a/src/py/statiskit/core/slope_heuristic.py +++ b/src/py/statiskit/core/slope_heuristic.py @@ -3,7 +3,8 @@ from statiskit import stl from . import _core -from .__core.statiskit import SlopeHeuristic, _SlopeHeuristicSelection +from .__core.statiskit import (SlopeHeuristic, + _SlopeHeuristicSelection) from .optionals import pyplot @@ -202,4 +203,11 @@ def __getitem__(self, index): cls.proposals = property(Proposals) for cls in (_SlopeHeuristicSelection,): - slope_heuristic_selection_decorator(cls) \ No newline at end of file + slope_heuristic_selection_decorator(cls) + + +# IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.maxbins = property(IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins) +# del IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, IrregularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins + +# RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.maxbins = property(RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins) +# del RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.get_maxbins, RegularUnivariateHistogramDistributionSlopeHeuristicSelection.Estimator.set_maxbins diff --git a/src/py/statiskit/core/stl.py b/src/py/statiskit/core/stl.py index 03909a1f..1aeb787f 100644 --- a/src/py/statiskit/core/stl.py +++ b/src/py/statiskit/core/stl.py @@ -5,5 +5,5 @@ __all__ = [] -for _vector in _Vector: +for _vector in (_Vector,): vector_decorator(_vector) \ No newline at end of file diff --git a/src/py/statiskit/data/__init__.py b/src/py/statiskit/data/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/py/wrapper/_core.cpp b/src/py/wrapper/_core.cpp index e062168e..f30ed425 100644 --- a/src/py/wrapper/_core.cpp +++ b/src/py/wrapper/_core.cpp @@ -10,7 +10,6 @@ void wrapper_154892f4a4d05203bd5b77c0b8662195(pybind11::module& module); void wrapper_16e0ec24327b5201927673f1e4c6eeca(pybind11::module& module); void wrapper_176ad7b821255b478820451a70624393(pybind11::module& module); void wrapper_1a16c32a3d8f5d01b8d739fb757db381(pybind11::module& module); -void wrapper_1cfac4e761e4558085f0b7c2a58070f2(pybind11::module& module); void wrapper_22af95e725215bc9b21db076f5deefd7(pybind11::module& module); void wrapper_2513f8d88792503e97d2b3f6b8c31e6f(pybind11::module& module); void wrapper_294225563b8d53458805fdd4cfd054de(pybind11::module& module); @@ -18,27 +17,27 @@ void wrapper_2a9f5c079e365a359ea86941717450bb(pybind11::module& module); void wrapper_2f3439617e035c41b1282a03e900ef19(pybind11::module& module); void wrapper_30c68813a7c05198a94e1fdadbddc931(pybind11::module& module); void wrapper_34c2a8dbedd15f6e89c09855550f107b(pybind11::module& module); -void wrapper_37cab44615185125b12b8246ddcfeae0(pybind11::module& module); void wrapper_39737fb8eb785c29bb3a9eca8ab9e325(pybind11::module& module); void wrapper_3a465479f748511898cc3d6b13455141(pybind11::module& module); void wrapper_3a6a49079d1b5e9bb815105374e2fc93(pybind11::module& module); -void wrapper_3a72e173884155f78c8bc127cca80d9c(pybind11::module& module); void wrapper_3c400e97b58f58b5ba01fa8b0e0f5cca(pybind11::module& module); void wrapper_3ca8ff4e14d1580fa17364607bc956c4(pybind11::module& module); void wrapper_3e3d38965c5e5a02ae621877dba470cf(pybind11::module& module); void wrapper_4091fe7ebaea5a58bb732192d7661dce(pybind11::module& module); void wrapper_41e33df7e8f15f9498a49fd08b35a4fc(pybind11::module& module); +void wrapper_44dd5352a62558a2b747205bcccc2c85(pybind11::module& module); void wrapper_4540538b16205d90be33cf08feed0673(pybind11::module& module); void wrapper_45da991e033e578d8aa55b46b232ec21(pybind11::module& module); void wrapper_47e877e586e1567691c16ec40ec1eb13(pybind11::module& module); void wrapper_484cc9c9d3f856c7aa18f642966f14a9(pybind11::module& module); void wrapper_4ddb01be8d3a54e7a69007c077bb86fb(pybind11::module& module); +void wrapper_4ec7ef936ad45be98bd61fcd15540f56(pybind11::module& module); void wrapper_5060bd7989345eaab2a7cccb560a27f2(pybind11::module& module); void wrapper_5180cb0278d15668832646c0905783b8(pybind11::module& module); void wrapper_5186497276525dcc88f6e6e8b313d2af(pybind11::module& module); +void wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1(pybind11::module& module); void wrapper_53a566eea7215e8b945cbdedf3acf7bc(pybind11::module& module); void wrapper_5517439c40d6505682aa2e58ed6cea33(pybind11::module& module); -void wrapper_5647113ef4105dfab0588ffcaf6c479b(pybind11::module& module); void wrapper_5a335bfacc455508850f696069e82b3b(pybind11::module& module); void wrapper_621822ae142e56979bee170334c7a63a(pybind11::module& module); void wrapper_63cc054edf33518fa708f9caa286dab6(pybind11::module& module); @@ -46,9 +45,11 @@ void wrapper_663730845d925082a43337bf446ebf00(pybind11::module& module); void wrapper_6d1d52249a4c562691e57f68df4bcc06(pybind11::module& module); void wrapper_6eb3528843c6511f97a06a8eb24dda64(pybind11::module& module); void wrapper_6f54a1805d7d5e6b9796d225ad86ca34(pybind11::module& module); +void wrapper_75ba8e402aa85a62a96976ab7e3073c3(pybind11::module& module); void wrapper_76d258d0b30f5e3a94d02ba97954104b(pybind11::module& module); void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module); void wrapper_79c03425b8505668b16ffdd958127107(pybind11::module& module); +void wrapper_7a957a5572455292b1ecc19f2daf800e(pybind11::module& module); void wrapper_7ed55bcdec33582fb2767f7d96937c85(pybind11::module& module); void wrapper_7f05968a172a528da4c7ae7e40d9faa7(pybind11::module& module); void wrapper_84a556d72f7851e1831ea2c8cb5d6cb3(pybind11::module& module); @@ -58,8 +59,6 @@ void wrapper_88cb53c05b215504b1f0ee0564765af0(pybind11::module& module); void wrapper_89be9fb233875ed0ab82187a315d00e7(pybind11::module& module); void wrapper_91c5962ae4f35199bc2e90b5edad8412(pybind11::module& module); void wrapper_95d0d4d7e8215bf98789264a4aeb8c71(pybind11::module& module); -void wrapper_96902179d8e1527ab8396789f078e437(pybind11::module& module); -void wrapper_9a33479821955c81b01e8f3c319e5180(pybind11::module& module); void wrapper_9b1c85d3df8e5cba922fb88752a0d746(pybind11::module& module); void wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(pybind11::module& module); void wrapper_a07113fabe3b5ca2bb7456220de98547(pybind11::module& module); @@ -83,10 +82,12 @@ void wrapper_cd2f170876c354e483515add3780006d(pybind11::module& module); void wrapper_cf5d31feb9b059de8352d654f997199c(pybind11::module& module); void wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6(pybind11::module& module); void wrapper_d33d975672ef54f0b9b5e01d57fdf32b(pybind11::module& module); +void wrapper_d76ff7c1aa0e5028b5eaf919eca54466(pybind11::module& module); void wrapper_d8072eca33fe5d46a0b27a217a8dbc96(pybind11::module& module); void wrapper_dacafb2abd3e5e87bcba015691229ac8(pybind11::module& module); void wrapper_daf74149f27453a7a5360a8ea7e9d69c(pybind11::module& module); void wrapper_dcc8ef4101bc5e2faab31d52dc0fe7ff(pybind11::module& module); +void wrapper_e049e06f4450537e811c2c21e309aa43(pybind11::module& module); void wrapper_e695b5b519815f1f96debe2f459d2f2b(pybind11::module& module); void wrapper_efb22dd89dfc592fbbbda15aec725121(pybind11::module& module); void wrapper_f0b505f9181a5a428a2ef97f2bcd9cb9(pybind11::module& module); @@ -121,7 +122,6 @@ void wrapper_3f4e466ff3215f84837970a75685a8b5(pybind11::module& module); void wrapper_41e812da3d3654cd9fb33041c3acf25f(pybind11::module& module); void wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(pybind11::module& module); void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module); -void wrapper_488de6b23c2d582c8382ac19e518b6a8(pybind11::module& module); void wrapper_50d5d8b88c0d5eeea2e382dc4626754a(pybind11::module& module); void wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f(pybind11::module& module); void wrapper_5b5f1c1f4aa852eab398cea6df20fee2(pybind11::module& module); @@ -161,10 +161,11 @@ void wrapper_0c5fdb90743c59dda2a63d2ea31919c2(pybind11::module& module); void wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2(pybind11::module& module); void wrapper_0e85222f05205b5983c73610343623c8(pybind11::module& module); void wrapper_0f491a898d6251e1851339f286f0358c(pybind11::module& module); +void wrapper_10d5b7d349c75b6b89998f9a341fb629(pybind11::module& module); void wrapper_11b76bdf145b514f8ed8993245b9864c(pybind11::module& module); -void wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(pybind11::module& module); void wrapper_172696efc2ee5189bf7047d20bc97387(pybind11::module& module); void wrapper_1f896af016d3557fa2b823b2110a3f82(pybind11::module& module); +void wrapper_206f9cb20a3658da9a3343fb361e5e38(pybind11::module& module); void wrapper_20a3935ea3995924abfb200f08b075ee(pybind11::module& module); void wrapper_22316f691c3051a4b467ae58506ba1df(pybind11::module& module); void wrapper_25265f42150552ea9c7e3f59af135f87(pybind11::module& module); @@ -183,6 +184,7 @@ void wrapper_4420321c5ba25609a5915044efb89bc8(pybind11::module& module); void wrapper_49bd08872be751c291082c55ce0677e3(pybind11::module& module); void wrapper_49ca84779c315483b61bc3fa2c2221b3(pybind11::module& module); void wrapper_4b5bca62b7795925980272db0dce9ae7(pybind11::module& module); +void wrapper_4bb662287d1550c7b426d928afffbc0f(pybind11::module& module); void wrapper_513f1e95007657ac9d8f70c0a2356aac(pybind11::module& module); void wrapper_5266ea37de9b57c680d01c7fb2421e89(pybind11::module& module); void wrapper_551c927628b651a19489817a39ededb8(pybind11::module& module); @@ -193,6 +195,7 @@ void wrapper_6703ab3001965416a3da60ad8639a800(pybind11::module& module); void wrapper_67a3e4ff2f845698a912990ce487f08d(pybind11::module& module); void wrapper_68d58bb20b4e507ea69ba2065530644b(pybind11::module& module); void wrapper_6d256cdc2e1253b8823893d5d72bc031(pybind11::module& module); +void wrapper_6fc842ebefdd58e28f37dcb214da4519(pybind11::module& module); void wrapper_6fd71629a95855bbad845fa81b27f4d5(pybind11::module& module); void wrapper_7d52c5fa83fa5b7abbc12831a19a2931(pybind11::module& module); void wrapper_7e4c2f85b93b5cc399280098492de425(pybind11::module& module); @@ -205,15 +208,22 @@ void wrapper_96a5a23f253351d38c0689328d0d8eb2(pybind11::module& module); void wrapper_9819c01af16354f5af1bd00fe32e33a5(pybind11::module& module); void wrapper_9962e820b2a75e44aeb478a7fa3f1b63(pybind11::module& module); void wrapper_99fc77e1853459ba9270c901d62d010f(pybind11::module& module); +void wrapper_9af672b8799e52dda111d00a974022cd(pybind11::module& module); +void wrapper_9b52bf3c9c595cdb890173a39b0d02c4(pybind11::module& module); void wrapper_9ce76073f232512da483f80a23807ddc(pybind11::module& module); +void wrapper_9f71ff88156f5fd0a459f920329e5dc8(pybind11::module& module); +void wrapper_a004a7cf0d095bdeadf276d9713e024f(pybind11::module& module); void wrapper_a079c62242f25fd5aefc1ac40095a061(pybind11::module& module); void wrapper_a32936912db85574b408168f51749429(pybind11::module& module); +void wrapper_a39157f23e3f57f1b095552634010236(pybind11::module& module); void wrapper_a4463e49d7865a6497ec20612e342cbe(pybind11::module& module); void wrapper_a5cf9061d7bb5791ad10bf28e28951fd(pybind11::module& module); void wrapper_a87f64a7a0c553e2b79ea554696bd78b(pybind11::module& module); void wrapper_a8fb4974396a5f4ca5779c02d0f58b37(pybind11::module& module); +void wrapper_ab9be9c73a44521483b11c3c7c0eeed9(pybind11::module& module); void wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a(pybind11::module& module); void wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(pybind11::module& module); +void wrapper_b13b21c5dd48547da5988ddab8c37607(pybind11::module& module); void wrapper_b14b3594a74c5ccc968141047b5145f4(pybind11::module& module); void wrapper_b487f4fc27725338b969ff43c4c8f4e4(pybind11::module& module); void wrapper_b544b96a33fd5924804b28cfb48e8df8(pybind11::module& module); @@ -223,6 +233,7 @@ void wrapper_bac6b66586be52859b259d0c4440e387(pybind11::module& module); void wrapper_bf5b68f25d1f5ab9ad2c936351edf740(pybind11::module& module); void wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312(pybind11::module& module); void wrapper_c07d900e8cfe54789b1eb7500f2b17d6(pybind11::module& module); +void wrapper_c161d9d0ea3d59a49038dea7414b0a1c(pybind11::module& module); void wrapper_c30582fff9a5510186e17a7b44494d9f(pybind11::module& module); void wrapper_c3848ca82c6150b480894755016faabf(pybind11::module& module); void wrapper_c4726473069d576fbb9e53aacbf298ea(pybind11::module& module); @@ -231,7 +242,9 @@ void wrapper_ccb69f6f1ea252c78b62bd2708670cdd(pybind11::module& module); void wrapper_d7aaae9c78655d9f870d5f017126833f(pybind11::module& module); void wrapper_d82ac4c07b685057ae35b9a0216111d2(pybind11::module& module); void wrapper_d9e3c8f1d16d5ffea475de8236279387(pybind11::module& module); +void wrapper_da164767fc675bd29ae86f87eff482aa(pybind11::module& module); void wrapper_db2668977eed5283a0dfb9992502d2dd(pybind11::module& module); +void wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d(pybind11::module& module); void wrapper_df673121ff9a5ed3a03ae1633aac43b7(pybind11::module& module); void wrapper_e1391944268253558f04b6f996bb5a8b(pybind11::module& module); void wrapper_e2d3df06414058178eb5fc957e8fd6d9(pybind11::module& module); @@ -245,61 +258,63 @@ void wrapper_f4b4623a4bb55ebdb42401f0a981cb83(pybind11::module& module); void wrapper_f722c8cfa79750d98e46db79b3b1130d(pybind11::module& module); void wrapper_fe5c14ebd9715db583a8fcea54e1d965(pybind11::module& module); void wrapper_feb9ad1a68185444ba16325ba90aea6b(pybind11::module& module); +void wrapper_0017c261800c5a2ebd8adbf6d5b0d408(pybind11::module& module); +void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module); void wrapper_0175e6a3766750de8ea59e8c340325ef(pybind11::module& module); void wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(pybind11::module& module); void wrapper_033df89396b35855a50192cdc7f16be3(pybind11::module& module); void wrapper_041a0df7795f54fdae26c57528a75193(pybind11::module& module); +void wrapper_049d21481e965f67b49aa4d4debb77d4(pybind11::module& module); void wrapper_0b663e6159f1527ca997ac0244c65093(pybind11::module& module); -void wrapper_0cf8ab1b80485228a6333e32fd937f72(pybind11::module& module); -void wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(pybind11::module& module); -void wrapper_119aa039675055618c8a856f637be1e0(pybind11::module& module); +void wrapper_123015a4593a5cdeae51e1c3cf5f2cbf(pybind11::module& module); void wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca(pybind11::module& module); void wrapper_1dfb91cd35315554957dc314e2ba48a2(pybind11::module& module); void wrapper_1ec5dee4e7cb5437b83047021c0ca63f(pybind11::module& module); void wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(pybind11::module& module); void wrapper_23541363c56f58418e709d76f3ae28bc(pybind11::module& module); void wrapper_2374d2b9da295a348658b43237daeaba(pybind11::module& module); -void wrapper_246619e611bb5657b2e56a30794d1385(pybind11::module& module); void wrapper_2644b3904d665c118ab54533b295d7e3(pybind11::module& module); +void wrapper_293cf3d7dd1455688b4f9ff136dd48ac(pybind11::module& module); void wrapper_2b3c507b8c725207815095175a281285(pybind11::module& module); -void wrapper_2cb2b79ddcda5d669891ac34e006005a(pybind11::module& module); void wrapper_2cfec7576f805b8d8fb103d1f86f786e(pybind11::module& module); void wrapper_2f72e6e6db9a5498beee75dbafdc6393(pybind11::module& module); void wrapper_33e65ba70bc55b7a87a025eaa60e5665(pybind11::module& module); void wrapper_34d64090a84e51db9616a4cc540e43b8(pybind11::module& module); void wrapper_3557273679395cf2a3e4b3d3f227accd(pybind11::module& module); +void wrapper_35b22653b51a580c9bb49fdf5623f806(pybind11::module& module); void wrapper_36adf88112dd5312b6c5fe75ebbc5559(pybind11::module& module); void wrapper_37d2da7ae2985fcc8caca8de36d30ce7(pybind11::module& module); void wrapper_3878f151eb4759f89a07796ff631bdf9(pybind11::module& module); void wrapper_39eaaa358ce655d08615c947c949eb83(pybind11::module& module); -void wrapper_3aedd3fce1c956baaeb85f4606914109(pybind11::module& module); -void wrapper_3ea06f62f79c50b5856e5712f2ec8e84(pybind11::module& module); +void wrapper_424fd1f865585368a48c0e974d140252(pybind11::module& module); void wrapper_42c73f7b760d584f96ee42693c708651(pybind11::module& module); -void wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(pybind11::module& module); +void wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4(pybind11::module& module); void wrapper_48d411e601675e49961eaa93daeb1835(pybind11::module& module); -void wrapper_4f02856d2af15e4ba0bc8f413558566d(pybind11::module& module); +void wrapper_49dfb39737405be290daa8d01a59004a(pybind11::module& module); void wrapper_4f25ed2b505752de8ee46e2e6aa83af6(pybind11::module& module); void wrapper_505be4c829e95c51829a196fdbf7392f(pybind11::module& module); void wrapper_5562b8b01aa050b886b919c9b81686f5(pybind11::module& module); -void wrapper_55903cb2e67650868a4cd698632375c1(pybind11::module& module); void wrapper_55c811c1cb0f58cf8dbf62aa61f8d814(pybind11::module& module); -void wrapper_5ed6f55d014d5a74a1d1acafef440cde(pybind11::module& module); +void wrapper_5709c2f49861546cb165b457503824cc(pybind11::module& module); void wrapper_5fefecf0971c53a682b5075141e39dc0(pybind11::module& module); void wrapper_6100283fa34c5dc5af23228c1af7758a(pybind11::module& module); void wrapper_62bb4890a4005e5aabb044b5bfeb72ea(pybind11::module& module); +void wrapper_63009220d99c5a15af7379e6f8123f66(pybind11::module& module); void wrapper_660dca73e10451bcbba83efec37196ae(pybind11::module& module); void wrapper_66f947be876e54a4901f1a9633fffbaf(pybind11::module& module); void wrapper_69913377d1325b99bc7469de4f5cf375(pybind11::module& module); +void wrapper_6fa049eb0cfd568caabaef18e2000233(pybind11::module& module); void wrapper_6fac6a71bec1544eaecb1b57399ee5ec(pybind11::module& module); -void wrapper_700bbebe1a2a5b0699f46ca77b7ea310(pybind11::module& module); void wrapper_704ee68add3e546ca4a169ccfcb00d07(pybind11::module& module); +void wrapper_708ad8c82c055fe9a87dd09179e8e5f6(pybind11::module& module); void wrapper_79e2f422f64050e2896852975f3b368d(pybind11::module& module); void wrapper_7c0a27a86dcc5f2d8020dad9bb975e76(pybind11::module& module); +void wrapper_7e7ee2f40ddc54319b0933514ac68c15(pybind11::module& module); void wrapper_85102754beff532db66ca292ea3a6486(pybind11::module& module); void wrapper_851931d00bce5cabad06313cbacce91b(pybind11::module& module); +void wrapper_855951b28f8452afa19a884bf750f14f(pybind11::module& module); void wrapper_85e5d9c1d86a574d8623fe4bb0164527(pybind11::module& module); -void wrapper_8637850c39dc51d3a7ea186462c65e2a(pybind11::module& module); -void wrapper_8dc14cd974045db7ab63d2d8c0c5c496(pybind11::module& module); +void wrapper_916bb7e64837584fb2d59463fdb3adaa(pybind11::module& module); void wrapper_943c8cc5188d5f9d9fba36372e10ed33(pybind11::module& module); void wrapper_9662a6a016085675978d04e2bc87a7f3(pybind11::module& module); void wrapper_985dfffef8265a319e222a08d8f11f05(pybind11::module& module); @@ -308,93 +323,142 @@ void wrapper_9981958281625422b3b46cea8ec85a6d(pybind11::module& module); void wrapper_9ca9917e667b52ea9eb2ec4f17e230b5(pybind11::module& module); void wrapper_a766c9930af25f8f90f6e118f2ca75d5(pybind11::module& module); void wrapper_a85fc45746c05d078709ff7a44d648a2(pybind11::module& module); -void wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(pybind11::module& module); void wrapper_aa4348c3ceb5595a843d8fc5a6c54231(pybind11::module& module); void wrapper_aa6e0b250759574eb903a6b783b18053(pybind11::module& module); +void wrapper_b08a71b7d00b57328be4226ac350fd3e(pybind11::module& module); void wrapper_b0fdc82131d6539ab2e2a6b14e8038cf(pybind11::module& module); void wrapper_b3aefb8f8c96565c95d583848719e5b2(pybind11::module& module); +void wrapper_b533e621f4b85d2f83f733680ab3b563(pybind11::module& module); void wrapper_b5bed4faf978515387938b2b850d0fdf(pybind11::module& module); -void wrapper_b6a067f70ca259909a6411bfb14cfdca(pybind11::module& module); -void wrapper_b730e37e69f05687be99d670316afe25(pybind11::module& module); -void wrapper_b96c209ac3dd5f7fbfe78eac3417193e(pybind11::module& module); +void wrapper_b79f8d6fe5105eaab1a0a91e799b9248(pybind11::module& module); +void wrapper_b91dc1bd45ca5b28b265d059475cffcd(pybind11::module& module); void wrapper_c14e91b91c9852b8bd1c5fce67b0d241(pybind11::module& module); +void wrapper_c1a4a3e945245f7da0d28f68843c5c3f(pybind11::module& module); void wrapper_c2568ff48c245dbe8395ac41d83bc8f8(pybind11::module& module); +void wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0(pybind11::module& module); +void wrapper_ca164df1e056590f82893412e250494d(pybind11::module& module); void wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(pybind11::module& module); void wrapper_cd5e5c2c8f40591793aafe753277bfe3(pybind11::module& module); +void wrapper_ce42b7211004522c9d9271fe72fb3e17(pybind11::module& module); void wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(pybind11::module& module); void wrapper_d335c4296ec45f9a80fc78493af8917e(pybind11::module& module); void wrapper_d3d68100c0aa515393562535c582529e(pybind11::module& module); +void wrapper_d413c9194272547596f08284edb5e2e8(pybind11::module& module); +void wrapper_d484a26a9bbd573588659c8ace38c7ab(pybind11::module& module); void wrapper_d740d10f82335516b6c42048834de0c7(pybind11::module& module); void wrapper_d7ec56dc53f25158bd8061ead52e9950(pybind11::module& module); +void wrapper_d8821cfee79455b1a61fc848d484e960(pybind11::module& module); +void wrapper_daa0c5e6c7f25af9a259ba4efb1e2341(pybind11::module& module); void wrapper_dace22af29e35e1e8847a21e0083dbd0(pybind11::module& module); void wrapper_de7ff6e8df595fdab99566ab1fb822d1(pybind11::module& module); -void wrapper_e0e2f05f845558508daf53c1d4b545c7(pybind11::module& module); void wrapper_e1e17df0f495561494b85ab0ad5a5780(pybind11::module& module); +void wrapper_e48db52757bf5acbabe40fda3e8fafb6(pybind11::module& module); +void wrapper_e5af192f1d9456d3ba5c6187223960e6(pybind11::module& module); void wrapper_e5c76380eae85d579238480527b2512c(pybind11::module& module); void wrapper_f079028b7e505d6f8b4931133595179c(pybind11::module& module); void wrapper_f27aa86956235ad3ac8f08855c2b8820(pybind11::module& module); -void wrapper_f66e5627d97f5fac82e3d89b9b0694dc(pybind11::module& module); -void wrapper_f8d597009c7f50c0a1968a49aa56ff46(pybind11::module& module); void wrapper_f94311a1d1fb597aac56bee900deb9fe(pybind11::module& module); void wrapper_fa5e2baabb585a5e93632d2563d88b33(pybind11::module& module); void wrapper_fb8f1cea3a695accb39f019b3fbd2247(pybind11::module& module); -void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module); -void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module); -void wrapper_051fc1b76bd35424959669918dd74f6a(pybind11::module& module); void wrapper_0711065322d6598096f4d4546ef589f7(pybind11::module& module); -void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module); -void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module); +void wrapper_12a6e0c7ad825078967a85064cb90dd3(pybind11::module& module); +void wrapper_180294e9e19355e187edd0ed7cb54375(pybind11::module& module); void wrapper_1cfe57e82ce352e4b80ae7c44a661b01(pybind11::module& module); void wrapper_1dee5220708e5da08c33a1d4fa45151b(pybind11::module& module); -void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module); -void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module); +void wrapper_245bdea2b3e05b4fb0104c5865b41fd0(pybind11::module& module); +void wrapper_27e4a3de65cd5691b17c9700cc9e7047(pybind11::module& module); +void wrapper_2ba75dcd62935454a66d0b70e682804e(pybind11::module& module); void wrapper_2d284769c93a57cba44be5c34bcfafd7(pybind11::module& module); -void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module); +void wrapper_33bff84921ee5bed9a1741a76baa1e8c(pybind11::module& module); void wrapper_4045395044115f8ca0008a4001f465bf(pybind11::module& module); -void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module); +void wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4(pybind11::module& module); +void wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3(pybind11::module& module); +void wrapper_49ff240b938d573e852420ed949939a2(pybind11::module& module); +void wrapper_4a0047f6ae1a562c9758824adf6bdc45(pybind11::module& module); +void wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a(pybind11::module& module); +void wrapper_63d17adfd9865a9ea92417492b7a15d5(pybind11::module& module); void wrapper_6d51d5c1ef2d5f1bb98935798af976e0(pybind11::module& module); -void wrapper_81e358ca53ad5cb480953fedfe8cee0b(pybind11::module& module); +void wrapper_7341ddcf708c51d5b493d81c653b51bb(pybind11::module& module); +void wrapper_7c4052298259530bb07fa16e53c1d268(pybind11::module& module); +void wrapper_80abf3b31d59572db1c8566cad592e92(pybind11::module& module); void wrapper_823c1d5da2f35f9abbb62a989d434392(pybind11::module& module); void wrapper_8273d59d3b9f581fa07283ea1cce6a0f(pybind11::module& module); -void wrapper_830457bcfd9a53298ff673c9b6d66714(pybind11::module& module); void wrapper_839b61ecb09d54819eb38cf69dde50bb(pybind11::module& module); -void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module); +void wrapper_83b0ebcd469f5c54a5d8ed41bc70362c(pybind11::module& module); void wrapper_8efea02ccdc156c4aa5aae37b04b810a(pybind11::module& module); +void wrapper_900a3cd8a641504a86f6361e9ec4876f(pybind11::module& module); void wrapper_90255c732933534b957e042c1796455c(pybind11::module& module); void wrapper_966a285304c1551a9a283e9a8bd4917e(pybind11::module& module); -void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module); -void wrapper_9e028a1ab0715490be328e777d68493e(pybind11::module& module); +void wrapper_9b7e68a17ff659d28c8a9d6250229442(pybind11::module& module); +void wrapper_9d4ce064ffdf535ab48ee673205bef55(pybind11::module& module); void wrapper_9f08dae44aa3561686bc0ef53e82d042(pybind11::module& module); -void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module); +void wrapper_9f685fe1069e58669281e1311818de94(pybind11::module& module); void wrapper_a22eff2d08c251169af231a773c880d3(pybind11::module& module); -void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module); +void wrapper_a2ac4c39613c5228a2a3cf6cbec6f725(pybind11::module& module); +void wrapper_a35adf522c9151b48ccb09eeb798105e(pybind11::module& module); +void wrapper_a40edc8cafb55dbebc9e932e8692e8ff(pybind11::module& module); +void wrapper_aa4257ce2e3e5118aa2930b6c068b768(pybind11::module& module); void wrapper_abaaf08e32235f2ca7bacb4418592155(pybind11::module& module); +void wrapper_b581fba1ddc25a0f80be4fc91f938db4(pybind11::module& module); +void wrapper_b6d36b833ba954b1a5101fc3e17aeea9(pybind11::module& module); +void wrapper_b7ac2d5bfb385a2ca41d90d218b9913b(pybind11::module& module); +void wrapper_b7c30dd4152658648d05d4b2fbc2fc1d(pybind11::module& module); +void wrapper_bcd5acac62455ce2a0bc14930caa1afc(pybind11::module& module); void wrapper_c3319864e98456809db3192e7060581f(pybind11::module& module); -void wrapper_c6691c5b303051859dffd8d2f0d6c188(pybind11::module& module); -void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module); -void wrapper_cbe0be5b997e578ea56a5ddbc174c53e(pybind11::module& module); -void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module); -void wrapper_d30ac07998c750479d39b4a9b78e7da6(pybind11::module& module); +void wrapper_c475c63848ca56959122216f3a32cba9(pybind11::module& module); +void wrapper_c949942a0ca75e079d7dc4997d6f6ee2(pybind11::module& module); +void wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1(pybind11::module& module); +void wrapper_d0f424c13b8b5c34bc79ddf60ae82086(pybind11::module& module); +void wrapper_d2dc6ff6ec9c5520af32b4a59c402fac(pybind11::module& module); +void wrapper_d2eb5be040f057108ebb6d00f411c861(pybind11::module& module); void wrapper_d443aa68b0b755eabc2a251be2deb4c6(pybind11::module& module); -void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module); +void wrapper_d486929892b45fbbb400acc476573f6a(pybind11::module& module); void wrapper_ece163aebf095bf5b3e83565ba76bec1(pybind11::module& module); void wrapper_f2160a41454451d28ba6ed197ddede7e(pybind11::module& module); -void wrapper_faf1fdd6d84a5fc3a61a827f354b8275(pybind11::module& module); -void wrapper_3c3eb4c91b905a988bd9546e804a0d95(pybind11::module& module); -void wrapper_4143f1db036e5bbdbba0a64045946862(pybind11::module& module); -void wrapper_5881d40c671d5a6eaeba5e461dc55622(pybind11::module& module); +void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module); +void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module); +void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module); +void wrapper_25eae0dfd4e1524abc8ca1ad59610105(pybind11::module& module); +void wrapper_2932b86205565fb3af16d335628bf928(pybind11::module& module); +void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module); +void wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff(pybind11::module& module); +void wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f(pybind11::module& module); +void wrapper_30157fbe0fd851ba8681039d13b7ee25(pybind11::module& module); +void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module); +void wrapper_3867e7acf01c53eeac5d396eedbb7d4e(pybind11::module& module); +void wrapper_3c20d73c0a755b41b1b84601a6088406(pybind11::module& module); +void wrapper_3f0857f015a9541598a2c047871407a0(pybind11::module& module); +void wrapper_473cd20a43ee5719a63dbc2dd9fa4d67(pybind11::module& module); +void wrapper_4752abe84a84542f838662fe8e94f937(pybind11::module& module); +void wrapper_4f57d631afda50d08d8ab83ad3f246f4(pybind11::module& module); +void wrapper_57facc3e421b57a98d33df52929292ad(pybind11::module& module); void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module); -void wrapper_a640206684935d01aa5be922b3bbdf00(pybind11::module& module); -void wrapper_b2c44a0108fd54c6a0ec396f27bccd10(pybind11::module& module); +void wrapper_7b011b010db958aaae9901938ceb9863(pybind11::module& module); +void wrapper_7bf5d5a1aae855cb858cab0e94be616b(pybind11::module& module); +void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module); +void wrapper_8d0da16fd314598aa5af20cb6d470f87(pybind11::module& module); +void wrapper_903a54133336556f837a428c6ab5c785(pybind11::module& module); +void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module); void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module); void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module); -void wrapper_d413c9194272547596f08284edb5e2e8(pybind11::module& module); +void wrapper_bfae3fc9e0ee536d9781d970fbb5120a(pybind11::module& module); +void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module); +void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module); +void wrapper_ce18cfe01fe257ccb36fe2b990dde7c3(pybind11::module& module); +void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module); +void wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4(pybind11::module& module); +void wrapper_0058099900c95ba8ad1d37fa19e8891f(pybind11::module& module); +void wrapper_0bb61fa4d95c5584b036a2ab65b3920e(pybind11::module& module); +void wrapper_244b30ff6739579cba43f78a1e060fca(pybind11::module& module); +void wrapper_3c3eb4c91b905a988bd9546e804a0d95(pybind11::module& module); +void wrapper_a640206684935d01aa5be922b3bbdf00(pybind11::module& module); +void wrapper_b546d5877d98583d87994f126ec5e776(pybind11::module& module); void wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(pybind11::module& module); void wrapper_dda6bb3fd9345086a3231d9341e47d49(pybind11::module& module); void wrapper_e17c871a4a485a888cde7218c52b67e3(pybind11::module& module); void wrapper_e5e03034302f5c6ca9d068a205353d2a(pybind11::module& module); -void wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(pybind11::module& module); -void wrapper_31af2f3c7b5c54f5a56e10ac7064289b(pybind11::module& module); +void wrapper_8be6d1bcbc135f0eba8668d72cf145cb(pybind11::module& module); +void wrapper_cf682b68456e5767b056bba416f3b450(pybind11::module& module); PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) { @@ -404,7 +468,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) pybind11::module module_91c5962ae4f35199bc2e90b5edad8412 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__distribution_estimation_91c5962ae4f35199bc2e90b5edad8412", ""); pybind11::module module_6f54a1805d7d5e6b9796d225ad86ca34 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__distribution_estimation_6f54a1805d7d5e6b9796d225ad86ca34", ""); pybind11::module module_5517439c40d6505682aa2e58ed6cea33 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_location_estimation", ""); - pybind11::module module_5647113ef4105dfab0588ffcaf6c479b = module_a5e4e9231d6351ccb0e06756b389f0af.def_submodule("_ios_base", ""); pybind11::module module_2513f8d88792503e97d2b3f6b8c31e6f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_data", ""); pybind11::module module_2f3439617e035c41b1282a03e900ef19 = module_a5e4e9231d6351ccb0e06756b389f0af.def_submodule("_locale", ""); pybind11::module module_87b566a692cb54b18914b54eb295ef9a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_dispersion_estimation", ""); @@ -422,36 +485,64 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) pybind11::module module_bf2c6deebd8e55f3824ecd5cf9312434 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_conditional_distribution_estimation", ""); pybind11::module module_88cb53c05b215504b1f0ee0564765af0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_data", ""); pybind11::module module_f1f8a991c324584993f9a58dcb9c014e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_multivariate_distribution_estimation", ""); + pybind11::module module_10d5b7d349c75b6b89998f9a341fb629 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_univariate_conditional_distribution_estimation", ""); pybind11::module module_f13beb88f0a956f5bc0cd7245bbd4b1c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_univariate_distribution_estimation", ""); pybind11::module module_8f6b8d601b265537abfca5a924ae495d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_variance_estimation", ""); pybind11::module module_b487f4fc27725338b969ff43c4c8f4e4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multinomial_singular_distribution_estimation", ""); pybind11::module module_bac6b66586be52859b259d0c4440e387 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_multivariate_mean_estimation", ""); + pybind11::module module_9f71ff88156f5fd0a459f920329e5dc8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_continuous_multivariate_conditional_distribution_estimation", ""); pybind11::module module_a8fb4974396a5f4ca5779c02d0f58b37 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_variance_estimation", ""); pybind11::module module_ae5ffcb5f4c75f5cbb01e288fa5a986d = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_univariate_distribution_estimation", ""); + pybind11::module module_a004a7cf0d095bdeadf276d9713e024f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_conditional_distribution_estimation", ""); pybind11::module module_c4726473069d576fbb9e53aacbf298ea = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_univariate_distribution_estimation", ""); + pybind11::module module_da164767fc675bd29ae86f87eff482aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_univariate_conditional_distribution_estimation", ""); + pybind11::module module_9af672b8799e52dda111d00a974022cd = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_conditional_distribution_estimation", ""); pybind11::module module_b14b3594a74c5ccc968141047b5145f4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_discrete_multivariate_distribution_estimation", ""); + pybind11::module module_9b52bf3c9c595cdb890173a39b0d02c4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_univariate_conditional_distribution_estimation", ""); pybind11::module module_f09c97b097575bf2b4af254e6faa082c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_categorical_multivariate_distribution_estimation", ""); + pybind11::module module_293cf3d7dd1455688b4f9ff136dd48ac = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_293cf3d7dd1455688b4f9ff136dd48ac", ""); pybind11::module module_c5daab4ee3ac55c89ee2ee06a88fb23c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_mean_estimation", ""); + pybind11::module module_049d21481e965f67b49aa4d4debb77d4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_normal_distribution_estimation", ""); pybind11::module module_f2160a41454451d28ba6ed197ddede7e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_f2160a41454451d28ba6ed197ddede7e", ""); pybind11::module module_5562b8b01aa050b886b919c9b81686f5 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_dirichlet_multinomial_singular_distribution_estimation", ""); + pybind11::module module_123015a4593a5cdeae51e1c3cf5f2cbf = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_estimation", ""); + pybind11::module module_d413c9194272547596f08284edb5e2e8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_multinomial_distribution_estimation", ""); + pybind11::module module_2ba75dcd62935454a66d0b70e682804e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_2ba75dcd62935454a66d0b70e682804e", ""); + pybind11::module module_0159796d2beb51da9446e83d609342aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_estimation", ""); + pybind11::module module_4357ddfd7a1d5c56ac3bd75f189c18d4 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_estimation", ""); + pybind11::module module_b79f8d6fe5105eaab1a0a91e799b9248 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_estimation", ""); pybind11::module module_2d284769c93a57cba44be5c34bcfafd7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_2d284769c93a57cba44be5c34bcfafd7", ""); + pybind11::module module_b533e621f4b85d2f83f733680ab3b563 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_logarithmic_distribution_estimation", ""); + pybind11::module module_180294e9e19355e187edd0ed7cb54375 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_180294e9e19355e187edd0ed7cb54375", ""); + pybind11::module module_d0f424c13b8b5c34bc79ddf60ae82086 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_d0f424c13b8b5c34bc79ddf60ae82086", ""); + pybind11::module module_4a0047f6ae1a562c9758824adf6bdc45 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_4a0047f6ae1a562c9758824adf6bdc45", ""); + pybind11::module module_63d17adfd9865a9ea92417492b7a15d5 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_63d17adfd9865a9ea92417492b7a15d5", ""); + pybind11::module module_12a6e0c7ad825078967a85064cb90dd3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__selection_12a6e0c7ad825078967a85064cb90dd3", ""); pybind11::module module_d443aa68b0b755eabc2a251be2deb4c6 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__univariate_frequency_distribution_estimation_d443aa68b0b755eabc2a251be2deb4c6", ""); - pybind11::module module_05ca2ab336025cf2a8fa3266fedb4a1e = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_regular_univariate_histogram_distribution_slope_heuristic_selection", ""); - pybind11::module module_dbc8a0461eeb579aa69a16cbe03a3913 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_mm_estimation", ""); + pybind11::module module_35b22653b51a580c9bb49fdf5623f806 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_poisson_distribution_estimation", ""); pybind11::module module_0711065322d6598096f4d4546ef589f7 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_splitting_distribution_estimation", ""); + pybind11::module module_8273d59d3b9f581fa07283ea1cce6a0f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f", ""); + pybind11::module module_ece163aebf095bf5b3e83565ba76bec1 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1", ""); + pybind11::module module_dbc8a0461eeb579aa69a16cbe03a3913 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_mm_estimation", ""); pybind11::module module_cc9b200ad98c51108cfb0b6bf6bf2bd0 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_mm_estimation", ""); pybind11::module module_36823ab42b0c57b48d903606aa743329 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_poisson_distribution_ml_estimation", ""); - pybind11::module module_31af2f3c7b5c54f5a56e10ac7064289b = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_irregular_univariate_histogram_distribution_slope_heuristic_selection", ""); - pybind11::module module_8273d59d3b9f581fa07283ea1cce6a0f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_8273d59d3b9f581fa07283ea1cce6a0f", ""); + pybind11::module module_cf682b68456e5767b056bba416f3b450 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_regular_estimation", ""); pybind11::module module_aabf684ce17950b49b6345c1ab565540 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_normal_distribution_ml_estimation", ""); - pybind11::module module_ece163aebf095bf5b3e83565ba76bec1 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("__shifted_distribution_estimation_ece163aebf095bf5b3e83565ba76bec1", ""); - pybind11::module module_0159796d2beb51da9446e83d609342aa = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_estimation", ""); + pybind11::module module_8be6d1bcbc135f0eba8668d72cf145cb = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_irregular_estimation", ""); pybind11::module module_104495a9f44f508fb8c76ab6d2269ec3 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_geometric_distribution_ml_estimation", ""); + pybind11::module module_30157fbe0fd851ba8681039d13b7ee25 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_univariate_histogram_distribution_classic_estimation", ""); + pybind11::module module_0058099900c95ba8ad1d37fa19e8891f = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_multinomial_distribution_wz99_estimation", ""); pybind11::module module_a640206684935d01aa5be922b3bbdf00 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_binomial_distribution_ml_estimation", ""); - pybind11::module module_d413c9194272547596f08284edb5e2e8 = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_multinomial_distribution_estimation", ""); pybind11::module module_e5e03034302f5c6ca9d068a205353d2a = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_negative_binomial_distribution_ml_estimation", ""); pybind11::module module_d57080a5d88f5beaa3f8f3ee09b1da8c = module_fa414b05d29e5f4ea0b6d6cb5cf81b01.def_submodule("_logarithmic_distribution_ml_estimation", ""); + pybind11::module module_a35adf522c9151b48ccb09eeb798105e = module_293cf3d7dd1455688b4f9ff136dd48ac.def_submodule("_criterion_estimator", ""); + pybind11::module module_2932b86205565fb3af16d335628bf928 = module_180294e9e19355e187edd0ed7cb54375.def_submodule("_criterion_estimator", ""); + pybind11::module module_2a54606a2c865e7c8b67ed7ca6bfbfff = module_63d17adfd9865a9ea92417492b7a15d5.def_submodule("_criterion_estimator", ""); + pybind11::module module_25eae0dfd4e1524abc8ca1ad59610105 = module_2ba75dcd62935454a66d0b70e682804e.def_submodule("_criterion_estimator", ""); + pybind11::module module_4752abe84a84542f838662fe8e94f937 = module_d0f424c13b8b5c34bc79ddf60ae82086.def_submodule("_criterion_estimator", ""); pybind11::module module_c14e91b91c9852b8bd1c5fce67b0d241 = module_8d9f50f674e25529b3d059a5a5380bcb.def_submodule("_criterion_estimator", ""); + pybind11::module module_3c20d73c0a755b41b1b84601a6088406 = module_4a0047f6ae1a562c9758824adf6bdc45.def_submodule("_criterion_estimator", ""); + pybind11::module module_473cd20a43ee5719a63dbc2dd9fa4d67 = module_12a6e0c7ad825078967a85064cb90dd3.def_submodule("_criterion_estimator", ""); wrapper_057cf4037321591b98a5dc5f85faf504(module_91c5962ae4f35199bc2e90b5edad8412); wrapper_0e41540d879f5526a70e316582f05d49(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_0f631b8bbb065d39a1378915b306a904(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -462,7 +553,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_16e0ec24327b5201927673f1e4c6eeca(module_6f54a1805d7d5e6b9796d225ad86ca34); wrapper_176ad7b821255b478820451a70624393(module_5517439c40d6505682aa2e58ed6cea33); wrapper_1a16c32a3d8f5d01b8d739fb757db381(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1cfac4e761e4558085f0b7c2a58070f2(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_22af95e725215bc9b21db076f5deefd7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2513f8d88792503e97d2b3f6b8c31e6f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_294225563b8d53458805fdd4cfd054de(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -470,27 +560,27 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_2f3439617e035c41b1282a03e900ef19(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_30c68813a7c05198a94e1fdadbddc931(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_34c2a8dbedd15f6e89c09855550f107b(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_37cab44615185125b12b8246ddcfeae0(module_5647113ef4105dfab0588ffcaf6c479b); wrapper_39737fb8eb785c29bb3a9eca8ab9e325(module_2513f8d88792503e97d2b3f6b8c31e6f); wrapper_3a465479f748511898cc3d6b13455141(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_3a6a49079d1b5e9bb815105374e2fc93(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3a72e173884155f78c8bc127cca80d9c(module_5647113ef4105dfab0588ffcaf6c479b); wrapper_3c400e97b58f58b5ba01fa8b0e0f5cca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3ca8ff4e14d1580fa17364607bc956c4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3e3d38965c5e5a02ae621877dba470cf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4091fe7ebaea5a58bb732192d7661dce(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_41e33df7e8f15f9498a49fd08b35a4fc(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_44dd5352a62558a2b747205bcccc2c85(module_a35adf522c9151b48ccb09eeb798105e); wrapper_4540538b16205d90be33cf08feed0673(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_45da991e033e578d8aa55b46b232ec21(module_2f3439617e035c41b1282a03e900ef19); wrapper_47e877e586e1567691c16ec40ec1eb13(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_484cc9c9d3f856c7aa18f642966f14a9(module_87b566a692cb54b18914b54eb295ef9a); wrapper_4ddb01be8d3a54e7a69007c077bb86fb(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_4ec7ef936ad45be98bd61fcd15540f56(module_2932b86205565fb3af16d335628bf928); wrapper_5060bd7989345eaab2a7cccb560a27f2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5180cb0278d15668832646c0905783b8(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_5186497276525dcc88f6e6e8b313d2af(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1(module_2a54606a2c865e7c8b67ed7ca6bfbfff); wrapper_53a566eea7215e8b945cbdedf3acf7bc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5517439c40d6505682aa2e58ed6cea33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5647113ef4105dfab0588ffcaf6c479b(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_5a335bfacc455508850f696069e82b3b(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_621822ae142e56979bee170334c7a63a(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_63cc054edf33518fa708f9caa286dab6(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -498,9 +588,11 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_6d1d52249a4c562691e57f68df4bcc06(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6eb3528843c6511f97a06a8eb24dda64(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_6f54a1805d7d5e6b9796d225ad86ca34(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_75ba8e402aa85a62a96976ab7e3073c3(module_25eae0dfd4e1524abc8ca1ad59610105); wrapper_76d258d0b30f5e3a94d02ba97954104b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_78fa594811935c2ea4b4905d733f141f(module_ca4f80534b7b5884bffbbf5ba13d2f49); wrapper_79c03425b8505668b16ffdd958127107(module_e1391944268253558f04b6f996bb5a8b); + wrapper_7a957a5572455292b1ecc19f2daf800e(module_4752abe84a84542f838662fe8e94f937); wrapper_7ed55bcdec33582fb2767f7d96937c85(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7f05968a172a528da4c7ae7e40d9faa7(module_53a566eea7215e8b945cbdedf3acf7bc); wrapper_84a556d72f7851e1831ea2c8cb5d6cb3(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -510,8 +602,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_89be9fb233875ed0ab82187a315d00e7(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_91c5962ae4f35199bc2e90b5edad8412(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_95d0d4d7e8215bf98789264a4aeb8c71(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_96902179d8e1527ab8396789f078e437(module_a5e4e9231d6351ccb0e06756b389f0af); - wrapper_9a33479821955c81b01e8f3c319e5180(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_9b1c85d3df8e5cba922fb88752a0d746(module_13ec603d05f1534bbe1491c0634dca90); wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(module_c8f9ef7718815a7dbb7946e20b85e07f); wrapper_a07113fabe3b5ca2bb7456220de98547(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -535,10 +625,12 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_cf5d31feb9b059de8352d654f997199c(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d33d975672ef54f0b9b5e01d57fdf32b(module_c85ee717b61a5378b8f1bc88cdf6c91a); + wrapper_d76ff7c1aa0e5028b5eaf919eca54466(module_3c20d73c0a755b41b1b84601a6088406); wrapper_d8072eca33fe5d46a0b27a217a8dbc96(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dacafb2abd3e5e87bcba015691229ac8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_daf74149f27453a7a5360a8ea7e9d69c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dcc8ef4101bc5e2faab31d52dc0fe7ff(module_a5e4e9231d6351ccb0e06756b389f0af); + wrapper_e049e06f4450537e811c2c21e309aa43(module_473cd20a43ee5719a63dbc2dd9fa4d67); wrapper_e695b5b519815f1f96debe2f459d2f2b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_efb22dd89dfc592fbbbda15aec725121(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_f0b505f9181a5a428a2ef97f2bcd9cb9(module_a5e4e9231d6351ccb0e06756b389f0af); @@ -573,7 +665,6 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_41e812da3d3654cd9fb33041c3acf25f(module_340c5465095052af9d63bdb8d9799d79); wrapper_43ff7c79dcd15ad9995fd0d0ccc6d440(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4637f9b5c7175ff0880fd325a6eca119(module_b9daedbb8a1d5864bc019efa0a0d17df); - wrapper_488de6b23c2d582c8382ac19e518b6a8(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_50d5d8b88c0d5eeea2e382dc4626754a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5b5f1c1f4aa852eab398cea6df20fee2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -613,10 +704,11 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0e85222f05205b5983c73610343623c8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0f491a898d6251e1851339f286f0358c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_10d5b7d349c75b6b89998f9a341fb629(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_11b76bdf145b514f8ed8993245b9864c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_172696efc2ee5189bf7047d20bc97387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1f896af016d3557fa2b823b2110a3f82(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_206f9cb20a3658da9a3343fb361e5e38(module_10d5b7d349c75b6b89998f9a341fb629); wrapper_20a3935ea3995924abfb200f08b075ee(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_22316f691c3051a4b467ae58506ba1df(module_f13beb88f0a956f5bc0cd7245bbd4b1c); wrapper_25265f42150552ea9c7e3f59af135f87(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -635,6 +727,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_49bd08872be751c291082c55ce0677e3(module_bac6b66586be52859b259d0c4440e387); wrapper_49ca84779c315483b61bc3fa2c2221b3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4b5bca62b7795925980272db0dce9ae7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4bb662287d1550c7b426d928afffbc0f(module_9f71ff88156f5fd0a459f920329e5dc8); wrapper_513f1e95007657ac9d8f70c0a2356aac(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5266ea37de9b57c680d01c7fb2421e89(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_551c927628b651a19489817a39ededb8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -645,6 +738,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_67a3e4ff2f845698a912990ce487f08d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_68d58bb20b4e507ea69ba2065530644b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6d256cdc2e1253b8823893d5d72bc031(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6fc842ebefdd58e28f37dcb214da4519(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6fd71629a95855bbad845fa81b27f4d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7d52c5fa83fa5b7abbc12831a19a2931(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7e4c2f85b93b5cc399280098492de425(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -657,15 +751,22 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_9819c01af16354f5af1bd00fe32e33a5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9962e820b2a75e44aeb478a7fa3f1b63(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_99fc77e1853459ba9270c901d62d010f(module_ae5ffcb5f4c75f5cbb01e288fa5a986d); + wrapper_9af672b8799e52dda111d00a974022cd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9b52bf3c9c595cdb890173a39b0d02c4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9ce76073f232512da483f80a23807ddc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9f71ff88156f5fd0a459f920329e5dc8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a004a7cf0d095bdeadf276d9713e024f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a079c62242f25fd5aefc1ac40095a061(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a32936912db85574b408168f51749429(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a39157f23e3f57f1b095552634010236(module_a004a7cf0d095bdeadf276d9713e024f); wrapper_a4463e49d7865a6497ec20612e342cbe(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a5cf9061d7bb5791ad10bf28e28951fd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a87f64a7a0c553e2b79ea554696bd78b(module_c4726473069d576fbb9e53aacbf298ea); wrapper_a8fb4974396a5f4ca5779c02d0f58b37(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ab9be9c73a44521483b11c3c7c0eeed9(module_da164767fc675bd29ae86f87eff482aa); wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_ae5ffcb5f4c75f5cbb01e288fa5a986d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b13b21c5dd48547da5988ddab8c37607(module_9af672b8799e52dda111d00a974022cd); wrapper_b14b3594a74c5ccc968141047b5145f4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b487f4fc27725338b969ff43c4c8f4e4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b544b96a33fd5924804b28cfb48e8df8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -675,6 +776,7 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_bf5b68f25d1f5ab9ad2c936351edf740(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_bf9e7f30f1ac5c22a1598a2a6a45b312(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c07d900e8cfe54789b1eb7500f2b17d6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c161d9d0ea3d59a49038dea7414b0a1c(module_9b52bf3c9c595cdb890173a39b0d02c4); wrapper_c30582fff9a5510186e17a7b44494d9f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c3848ca82c6150b480894755016faabf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c4726473069d576fbb9e53aacbf298ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -683,7 +785,9 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_d7aaae9c78655d9f870d5f017126833f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d82ac4c07b685057ae35b9a0216111d2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d9e3c8f1d16d5ffea475de8236279387(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_da164767fc675bd29ae86f87eff482aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_db2668977eed5283a0dfb9992502d2dd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d(module_293cf3d7dd1455688b4f9ff136dd48ac); wrapper_df673121ff9a5ed3a03ae1633aac43b7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e1391944268253558f04b6f996bb5a8b(module_a5e4e9231d6351ccb0e06756b389f0af); wrapper_e2d3df06414058178eb5fc957e8fd6d9(module_c5daab4ee3ac55c89ee2ee06a88fb23c); @@ -697,61 +801,63 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_f722c8cfa79750d98e46db79b3b1130d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_fe5c14ebd9715db583a8fcea54e1d965(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_feb9ad1a68185444ba16325ba90aea6b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0017c261800c5a2ebd8adbf6d5b0d408(module_049d21481e965f67b49aa4d4debb77d4); + wrapper_0159796d2beb51da9446e83d609342aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0175e6a3766750de8ea59e8c340325ef(module_f2160a41454451d28ba6ed197ddede7e); wrapper_01ddd51bfe2a5d97b4620b9e2d14360e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_033df89396b35855a50192cdc7f16be3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_041a0df7795f54fdae26c57528a75193(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_049d21481e965f67b49aa4d4debb77d4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0b663e6159f1527ca997ac0244c65093(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_0cf8ab1b80485228a6333e32fd937f72(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_119aa039675055618c8a856f637be1e0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_123015a4593a5cdeae51e1c3cf5f2cbf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_14b77d76dd2d51e1acac41ef7ea4a4ca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1dfb91cd35315554957dc314e2ba48a2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1ec5dee4e7cb5437b83047021c0ca63f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1f9e3c91d1bd51a89c7b1370bf7475f1(module_5562b8b01aa050b886b919c9b81686f5); wrapper_23541363c56f58418e709d76f3ae28bc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2374d2b9da295a348658b43237daeaba(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_246619e611bb5657b2e56a30794d1385(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2644b3904d665c118ab54533b295d7e3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_293cf3d7dd1455688b4f9ff136dd48ac(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2b3c507b8c725207815095175a281285(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_2cb2b79ddcda5d669891ac34e006005a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2cfec7576f805b8d8fb103d1f86f786e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2f72e6e6db9a5498beee75dbafdc6393(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_33e65ba70bc55b7a87a025eaa60e5665(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_34d64090a84e51db9616a4cc540e43b8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3557273679395cf2a3e4b3d3f227accd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_35b22653b51a580c9bb49fdf5623f806(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_36adf88112dd5312b6c5fe75ebbc5559(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_37d2da7ae2985fcc8caca8de36d30ce7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_3878f151eb4759f89a07796ff631bdf9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_39eaaa358ce655d08615c947c949eb83(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3aedd3fce1c956baaeb85f4606914109(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3ea06f62f79c50b5856e5712f2ec8e84(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_424fd1f865585368a48c0e974d140252(module_123015a4593a5cdeae51e1c3cf5f2cbf); wrapper_42c73f7b760d584f96ee42693c708651(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_48d411e601675e49961eaa93daeb1835(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4f02856d2af15e4ba0bc8f413558566d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_49dfb39737405be290daa8d01a59004a(module_d413c9194272547596f08284edb5e2e8); wrapper_4f25ed2b505752de8ee46e2e6aa83af6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_505be4c829e95c51829a196fdbf7392f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5562b8b01aa050b886b919c9b81686f5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_55903cb2e67650868a4cd698632375c1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_55c811c1cb0f58cf8dbf62aa61f8d814(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_5ed6f55d014d5a74a1d1acafef440cde(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_5709c2f49861546cb165b457503824cc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_5fefecf0971c53a682b5075141e39dc0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6100283fa34c5dc5af23228c1af7758a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_62bb4890a4005e5aabb044b5bfeb72ea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_63009220d99c5a15af7379e6f8123f66(module_2ba75dcd62935454a66d0b70e682804e); wrapper_660dca73e10451bcbba83efec37196ae(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_66f947be876e54a4901f1a9633fffbaf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_69913377d1325b99bc7469de4f5cf375(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_6fa049eb0cfd568caabaef18e2000233(module_0159796d2beb51da9446e83d609342aa); wrapper_6fac6a71bec1544eaecb1b57399ee5ec(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_700bbebe1a2a5b0699f46ca77b7ea310(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_704ee68add3e546ca4a169ccfcb00d07(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_708ad8c82c055fe9a87dd09179e8e5f6(module_4357ddfd7a1d5c56ac3bd75f189c18d4); wrapper_79e2f422f64050e2896852975f3b368d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_7c0a27a86dcc5f2d8020dad9bb975e76(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7e7ee2f40ddc54319b0933514ac68c15(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_85102754beff532db66ca292ea3a6486(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_851931d00bce5cabad06313cbacce91b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_855951b28f8452afa19a884bf750f14f(module_b79f8d6fe5105eaab1a0a91e799b9248); wrapper_85e5d9c1d86a574d8623fe4bb0164527(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_8637850c39dc51d3a7ea186462c65e2a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_8dc14cd974045db7ab63d2d8c0c5c496(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_916bb7e64837584fb2d59463fdb3adaa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_943c8cc5188d5f9d9fba36372e10ed33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9662a6a016085675978d04e2bc87a7f3(module_2d284769c93a57cba44be5c34bcfafd7); wrapper_985dfffef8265a319e222a08d8f11f05(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); @@ -760,91 +866,140 @@ PYBIND11_MODULE(__core, module_9b5d0e83426e59fe8644dee679bc9dc1) wrapper_9ca9917e667b52ea9eb2ec4f17e230b5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a766c9930af25f8f90f6e118f2ca75d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a85fc45746c05d078709ff7a44d648a2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_aa4348c3ceb5595a843d8fc5a6c54231(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_aa6e0b250759574eb903a6b783b18053(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b08a71b7d00b57328be4226ac350fd3e(module_b533e621f4b85d2f83f733680ab3b563); wrapper_b0fdc82131d6539ab2e2a6b14e8038cf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b3aefb8f8c96565c95d583848719e5b2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b533e621f4b85d2f83f733680ab3b563(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b5bed4faf978515387938b2b850d0fdf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b6a067f70ca259909a6411bfb14cfdca(module_5647113ef4105dfab0588ffcaf6c479b); - wrapper_b730e37e69f05687be99d670316afe25(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b96c209ac3dd5f7fbfe78eac3417193e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b79f8d6fe5105eaab1a0a91e799b9248(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b91dc1bd45ca5b28b265d059475cffcd(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c14e91b91c9852b8bd1c5fce67b0d241(module_8d9f50f674e25529b3d059a5a5380bcb); + wrapper_c1a4a3e945245f7da0d28f68843c5c3f(module_180294e9e19355e187edd0ed7cb54375); wrapper_c2568ff48c245dbe8395ac41d83bc8f8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0(module_d0f424c13b8b5c34bc79ddf60ae82086); + wrapper_ca164df1e056590f82893412e250494d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_ca4f80534b7b5884bffbbf5ba13d2f49(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_cd5e5c2c8f40591793aafe753277bfe3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ce42b7211004522c9d9271fe72fb3e17(module_4a0047f6ae1a562c9758824adf6bdc45); wrapper_d19aab6dbd7651dda367a81e9c9ee1a8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d335c4296ec45f9a80fc78493af8917e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d3d68100c0aa515393562535c582529e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d413c9194272547596f08284edb5e2e8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d484a26a9bbd573588659c8ace38c7ab(module_63d17adfd9865a9ea92417492b7a15d5); wrapper_d740d10f82335516b6c42048834de0c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d7ec56dc53f25158bd8061ead52e9950(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d8821cfee79455b1a61fc848d484e960(module_12a6e0c7ad825078967a85064cb90dd3); + wrapper_daa0c5e6c7f25af9a259ba4efb1e2341(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dace22af29e35e1e8847a21e0083dbd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_de7ff6e8df595fdab99566ab1fb822d1(module_d443aa68b0b755eabc2a251be2deb4c6); - wrapper_e0e2f05f845558508daf53c1d4b545c7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e1e17df0f495561494b85ab0ad5a5780(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_e48db52757bf5acbabe40fda3e8fafb6(module_35b22653b51a580c9bb49fdf5623f806); + wrapper_e5af192f1d9456d3ba5c6187223960e6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_e5c76380eae85d579238480527b2512c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f079028b7e505d6f8b4931133595179c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f27aa86956235ad3ac8f08855c2b8820(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f66e5627d97f5fac82e3d89b9b0694dc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_f8d597009c7f50c0a1968a49aa56ff46(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f94311a1d1fb597aac56bee900deb9fe(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_fa5e2baabb585a5e93632d2563d88b33(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_fb8f1cea3a695accb39f019b3fbd2247(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_010dca8ca2e458db8505774b1f36db9a(module_05ca2ab336025cf2a8fa3266fedb4a1e); - wrapper_0159796d2beb51da9446e83d609342aa(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_051fc1b76bd35424959669918dd74f6a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_0711065322d6598096f4d4546ef589f7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_104495a9f44f508fb8c76ab6d2269ec3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_1581bb259a1355888c0e234a7f9960d9(module_dbc8a0461eeb579aa69a16cbe03a3913); + wrapper_12a6e0c7ad825078967a85064cb90dd3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_180294e9e19355e187edd0ed7cb54375(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1cfe57e82ce352e4b80ae7c44a661b01(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_1dee5220708e5da08c33a1d4fa45151b(module_0711065322d6598096f4d4546ef589f7); - wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(module_cc9b200ad98c51108cfb0b6bf6bf2bd0); - wrapper_2934c614112358768beae325b0d33ea2(module_36823ab42b0c57b48d903606aa743329); + wrapper_245bdea2b3e05b4fb0104c5865b41fd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_27e4a3de65cd5691b17c9700cc9e7047(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_2ba75dcd62935454a66d0b70e682804e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_2d284769c93a57cba44be5c34bcfafd7(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_36823ab42b0c57b48d903606aa743329(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_33bff84921ee5bed9a1741a76baa1e8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_4045395044115f8ca0008a4001f465bf(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_4f08e906137d58128853d1fc5d729fae(module_31af2f3c7b5c54f5a56e10ac7064289b); + wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_49ff240b938d573e852420ed949939a2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4a0047f6ae1a562c9758824adf6bdc45(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_63d17adfd9865a9ea92417492b7a15d5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_6d51d5c1ef2d5f1bb98935798af976e0(module_8273d59d3b9f581fa07283ea1cce6a0f); - wrapper_81e358ca53ad5cb480953fedfe8cee0b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7341ddcf708c51d5b493d81c653b51bb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7c4052298259530bb07fa16e53c1d268(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_80abf3b31d59572db1c8566cad592e92(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_823c1d5da2f35f9abbb62a989d434392(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_8273d59d3b9f581fa07283ea1cce6a0f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_830457bcfd9a53298ff673c9b6d66714(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_839b61ecb09d54819eb38cf69dde50bb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(module_aabf684ce17950b49b6345c1ab565540); + wrapper_83b0ebcd469f5c54a5d8ed41bc70362c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_8efea02ccdc156c4aa5aae37b04b810a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_900a3cd8a641504a86f6361e9ec4876f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_90255c732933534b957e042c1796455c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_966a285304c1551a9a283e9a8bd4917e(module_ece163aebf095bf5b3e83565ba76bec1); - wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_9e028a1ab0715490be328e777d68493e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9b7e68a17ff659d28c8a9d6250229442(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_9d4ce064ffdf535ab48ee673205bef55(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_9f08dae44aa3561686bc0ef53e82d042(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a14f45085a74550c89aab30952f6725b(module_0159796d2beb51da9446e83d609342aa); + wrapper_9f685fe1069e58669281e1311818de94(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_a22eff2d08c251169af231a773c880d3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_aabf684ce17950b49b6345c1ab565540(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a2ac4c39613c5228a2a3cf6cbec6f725(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_a35adf522c9151b48ccb09eeb798105e(module_293cf3d7dd1455688b4f9ff136dd48ac); + wrapper_a40edc8cafb55dbebc9e932e8692e8ff(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_aa4257ce2e3e5118aa2930b6c068b768(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_abaaf08e32235f2ca7bacb4418592155(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b581fba1ddc25a0f80be4fc91f938db4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b6d36b833ba954b1a5101fc3e17aeea9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b7ac2d5bfb385a2ca41d90d218b9913b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b7c30dd4152658648d05d4b2fbc2fc1d(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bcd5acac62455ce2a0bc14930caa1afc(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_c3319864e98456809db3192e7060581f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_c6691c5b303051859dffd8d2f0d6c188(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(module_104495a9f44f508fb8c76ab6d2269ec3); - wrapper_cbe0be5b997e578ea56a5ddbc174c53e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d30ac07998c750479d39b4a9b78e7da6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c475c63848ca56959122216f3a32cba9(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_c949942a0ca75e079d7dc4997d6f6ee2(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d0f424c13b8b5c34bc79ddf60ae82086(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d2dc6ff6ec9c5520af32b4a59c402fac(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d2eb5be040f057108ebb6d00f411c861(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d443aa68b0b755eabc2a251be2deb4c6(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_dbc8a0461eeb579aa69a16cbe03a3913(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_d486929892b45fbbb400acc476573f6a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_ece163aebf095bf5b3e83565ba76bec1(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_f2160a41454451d28ba6ed197ddede7e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_faf1fdd6d84a5fc3a61a827f354b8275(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_3c3eb4c91b905a988bd9546e804a0d95(module_a640206684935d01aa5be922b3bbdf00); - wrapper_4143f1db036e5bbdbba0a64045946862(module_d413c9194272547596f08284edb5e2e8); - wrapper_5881d40c671d5a6eaeba5e461dc55622(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_104495a9f44f508fb8c76ab6d2269ec3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_1581bb259a1355888c0e234a7f9960d9(module_dbc8a0461eeb579aa69a16cbe03a3913); + wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(module_cc9b200ad98c51108cfb0b6bf6bf2bd0); + wrapper_25eae0dfd4e1524abc8ca1ad59610105(module_2ba75dcd62935454a66d0b70e682804e); + wrapper_2932b86205565fb3af16d335628bf928(module_180294e9e19355e187edd0ed7cb54375); + wrapper_2934c614112358768beae325b0d33ea2(module_36823ab42b0c57b48d903606aa743329); + wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff(module_63d17adfd9865a9ea92417492b7a15d5); + wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_30157fbe0fd851ba8681039d13b7ee25(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_36823ab42b0c57b48d903606aa743329(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3867e7acf01c53eeac5d396eedbb7d4e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3c20d73c0a755b41b1b84601a6088406(module_4a0047f6ae1a562c9758824adf6bdc45); + wrapper_3f0857f015a9541598a2c047871407a0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_473cd20a43ee5719a63dbc2dd9fa4d67(module_12a6e0c7ad825078967a85064cb90dd3); + wrapper_4752abe84a84542f838662fe8e94f937(module_d0f424c13b8b5c34bc79ddf60ae82086); + wrapper_4f57d631afda50d08d8ab83ad3f246f4(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_57facc3e421b57a98d33df52929292ad(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_779c0e94601b5238932a999e37acfdea(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_a640206684935d01aa5be922b3bbdf00(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_b2c44a0108fd54c6a0ec396f27bccd10(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_7b011b010db958aaae9901938ceb9863(module_cf682b68456e5767b056bba416f3b450); + wrapper_7bf5d5a1aae855cb858cab0e94be616b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(module_aabf684ce17950b49b6345c1ab565540); + wrapper_8d0da16fd314598aa5af20cb6d470f87(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_903a54133336556f837a428c6ab5c785(module_8be6d1bcbc135f0eba8668d72cf145cb); + wrapper_aabf684ce17950b49b6345c1ab565540(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_b6605ca6549d54eba3c614d5b6a29235(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_d413c9194272547596f08284edb5e2e8(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_bfae3fc9e0ee536d9781d970fbb5120a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(module_104495a9f44f508fb8c76ab6d2269ec3); + wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_ce18cfe01fe257ccb36fe2b990dde7c3(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_dbc8a0461eeb579aa69a16cbe03a3913(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4(module_30157fbe0fd851ba8681039d13b7ee25); + wrapper_0058099900c95ba8ad1d37fa19e8891f(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_0bb61fa4d95c5584b036a2ab65b3920e(module_0058099900c95ba8ad1d37fa19e8891f); + wrapper_244b30ff6739579cba43f78a1e060fca(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_3c3eb4c91b905a988bd9546e804a0d95(module_a640206684935d01aa5be922b3bbdf00); + wrapper_a640206684935d01aa5be922b3bbdf00(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_b546d5877d98583d87994f126ec5e776(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); wrapper_dda6bb3fd9345086a3231d9341e47d49(module_e5e03034302f5c6ca9d068a205353d2a); wrapper_e17c871a4a485a888cde7218c52b67e3(module_d57080a5d88f5beaa3f8f3ee09b1da8c); wrapper_e5e03034302f5c6ca9d068a205353d2a(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); - wrapper_31af2f3c7b5c54f5a56e10ac7064289b(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_8be6d1bcbc135f0eba8668d72cf145cb(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); + wrapper_cf682b68456e5767b056bba416f3b450(module_fa414b05d29e5f4ea0b6d6cb5cf81b01); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0017c261800c5a2ebd8adbf6d5b0d408.cpp b/src/py/wrapper/wrapper_0017c261800c5a2ebd8adbf6d5b0d408.cpp new file mode 100644 index 00000000..e965bcef --- /dev/null +++ b/src/py/wrapper/wrapper_0017c261800c5a2ebd8adbf6d5b0d408.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::NormalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::NormalDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_0017c261800c5a2ebd8adbf6d5b0d408(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_0017c261800c5a2ebd8adbf6d5b0d408(module, "Estimator", ""); + class_0017c261800c5a2ebd8adbf6d5b0d408.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0058099900c95ba8ad1d37fa19e8891f.cpp b/src/py/wrapper/wrapper_0058099900c95ba8ad1d37fa19e8891f.cpp new file mode 100644 index 00000000..60c8c378 --- /dev/null +++ b/src/py/wrapper/wrapper_0058099900c95ba8ad1d37fa19e8891f.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_0058099900c95ba8ad1d37fa19e8891f(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > > > class_0058099900c95ba8ad1d37fa19e8891f(module, "NegativeMultinomialDistributionWZ99Estimation", ""); + class_0058099900c95ba8ad1d37fa19e8891f.def(pybind11::init< >()); + class_0058099900c95ba8ad1d37fa19e8891f.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp b/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp deleted file mode 100644 index 4eeff737..00000000 --- a/src/py/wrapper/wrapper_010dca8ca2e458db8505774b1f36db9a.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -unsigned int const & (::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_8cc4d3f7e7a85290a6eac90ddb1b031c)()const= &::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins; -void (::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_d93c3ccaf8e85e3fb977443d8d8f1b82)(unsigned int const &)= &::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins; - -namespace autowig { -} - -void wrapper_010dca8ca2e458db8505774b1f36db9a(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_010dca8ca2e458db8505774b1f36db9a(module, "Estimator", ""); - class_010dca8ca2e458db8505774b1f36db9a.def(pybind11::init< >()); - class_010dca8ca2e458db8505774b1f36db9a.def(pybind11::init< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator const & >()); - class_010dca8ca2e458db8505774b1f36db9a.def("get_maxbins", method_pointer_8cc4d3f7e7a85290a6eac90ddb1b031c, pybind11::return_value_policy::copy, ""); - class_010dca8ca2e458db8505774b1f36db9a.def("set_maxbins", method_pointer_d93c3ccaf8e85e3fb977443d8d8f1b82, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp b/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp index d7722b36..2ca75386 100644 --- a/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp +++ b/src/py/wrapper/wrapper_0159796d2beb51da9446e83d609342aa.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_0159796d2beb51da9446e83d609342aa(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_0159796d2beb51da9446e83d609342aa(module, "UnivariateHistogramDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_0159796d2beb51da9446e83d609342aa(module, "UnivariateHistogramDistributionEstimation", ""); class_0159796d2beb51da9446e83d609342aa.def(pybind11::init< >()); class_0159796d2beb51da9446e83d609342aa.def(pybind11::init< struct ::statiskit::UnivariateHistogramDistributionEstimation const & >()); diff --git a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp index 9d59e945..b3d24048 100644 --- a/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp +++ b/src/py/wrapper/wrapper_0175e6a3766750de8ea59e8c340325ef.cpp @@ -9,19 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ff4ec0c47c815d608922bfa62bf7748e; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::data_type const & param_ff4ec0c47c815d608922bfa62bf7748e_0_type; - virtual return_type_ff4ec0c47c815d608922bfa62bf7748e operator()(param_ff4ec0c47c815d608922bfa62bf7748e_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ff4ec0c47c815d608922bfa62bf7748e, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp index c4484ccb..92ec4ebf 100644 --- a/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp +++ b/src/py/wrapper/wrapper_02cb27a2f5305d6eaf2fc0d0977b5565.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistribution::DiscreteUnivariateDistribution; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_049d21481e965f67b49aa4d4debb77d4.cpp b/src/py/wrapper/wrapper_049d21481e965f67b49aa4d4debb77d4.cpp new file mode 100644 index 00000000..b692650d --- /dev/null +++ b/src/py/wrapper/wrapper_049d21481e965f67b49aa4d4debb77d4.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_049d21481e965f67b49aa4d4debb77d4(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_049d21481e965f67b49aa4d4debb77d4(module, "NormalDistributionEstimation", ""); + class_049d21481e965f67b49aa4d4debb77d4.def(pybind11::init< >()); + class_049d21481e965f67b49aa4d4debb77d4.def(pybind11::init< struct ::statiskit::NormalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp b/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp deleted file mode 100644 index 7d46db79..00000000 --- a/src/py/wrapper/wrapper_051fc1b76bd35424959669918dd74f6a.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_ecf411e8b806576fa89996140a008799; - virtual return_type_ecf411e8b806576fa89996140a008799 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ecf411e8b806576fa89996140a008799, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_051fc1b76bd35424959669918dd74f6a(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_051fc1b76bd35424959669918dd74f6a(module, "_PolymorphicCopy_051fc1b76bd35424959669918dd74f6a", ""); - class_051fc1b76bd35424959669918dd74f6a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp index cbd4636c..d9e56d28 100644 --- a/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp +++ b/src/py/wrapper/wrapper_057cf4037321591b98a5dc5f85faf504.cpp @@ -9,8 +9,18 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; @@ -18,6 +28,7 @@ namespace autowig } class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::*method_pointer_48dd0f6ecf7e535bb0532e174797e614)(::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::*method_pointer_171594468546584aa9e0715c04238dd6)(struct ::statiskit::MultivariateData const &, class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::operator(); class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::MultivariateDistribution >::Estimator::*method_pointer_8716d7dc42c752c2907da43ebb6cf7e5)()const= &::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::copy; namespace autowig { @@ -29,6 +40,7 @@ void wrapper_057cf4037321591b98a5dc5f85faf504(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator >::Type > class_057cf4037321591b98a5dc5f85faf504(module, "Estimator", ""); class_057cf4037321591b98a5dc5f85faf504.def(pybind11::init< >()); class_057cf4037321591b98a5dc5f85faf504.def("__call__", method_pointer_48dd0f6ecf7e535bb0532e174797e614, ""); + class_057cf4037321591b98a5dc5f85faf504.def("__call__", method_pointer_171594468546584aa9e0715c04238dd6, ""); class_057cf4037321591b98a5dc5f85faf504.def("copy", method_pointer_8716d7dc42c752c2907da43ebb6cf7e5, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp b/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp deleted file mode 100644 index 45ffb529..00000000 --- a/src/py/wrapper/wrapper_05ca2ab336025cf2a8fa3266fedb4a1e.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_05ca2ab336025cf2a8fa3266fedb4a1e(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > > class_05ca2ab336025cf2a8fa3266fedb4a1e(module, "RegularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); - class_05ca2ab336025cf2a8fa3266fedb4a1e.def(pybind11::init< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp index 58f54938..3c80a839 100644 --- a/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp +++ b/src/py/wrapper/wrapper_0786eb9689055ad4be86080202077ec7.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateMeanEstimation::Estimator, struct ::statiskit::UnivariateLocationEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_aabf1fa97eae591fa1084f0a24308823; - virtual return_type_aabf1fa97eae591fa1084f0a24308823 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_aabf1fa97eae591fa1084f0a24308823, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp index 56eb61b6..a8043d7f 100644 --- a/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp +++ b/src/py/wrapper/wrapper_08d6e46838b65ffebc188c31dc3d252f.cpp @@ -9,19 +9,22 @@ namespace autowig public: using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::Estimator; + + protected: typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; - typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; - typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; - virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; - virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type @@ -31,7 +34,6 @@ namespace autowig }; } -class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_e63871509e675384a85dc2f7ea740325)(struct ::statiskit::MultivariateData const &, bool const &)const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::operator(); ::statiskit::Index (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_b2167956364857329a2a0568493511ba)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::size; class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator * (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_7d7c2d7f42295e4a95c71fbef6047f44)(::statiskit::Index const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::get_estimator; void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::Estimator::*method_pointer_08113961b62e51a2867604304fad44c2)(::statiskit::Index const &, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator::set_estimator; @@ -46,7 +48,6 @@ void wrapper_08d6e46838b65ffebc188c31dc3d252f(pybind11::module& module) pybind11::class_ >::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > class_08d6e46838b65ffebc188c31dc3d252f(module, "Estimator", ""); class_08d6e46838b65ffebc188c31dc3d252f.def(pybind11::init< >()); - class_08d6e46838b65ffebc188c31dc3d252f.def("__call__", method_pointer_e63871509e675384a85dc2f7ea740325, ""); class_08d6e46838b65ffebc188c31dc3d252f.def("__len__", method_pointer_b2167956364857329a2a0568493511ba, ""); class_08d6e46838b65ffebc188c31dc3d252f.def("get_estimator", method_pointer_7d7c2d7f42295e4a95c71fbef6047f44, pybind11::return_value_policy::reference_internal, ""); class_08d6e46838b65ffebc188c31dc3d252f.def("set_estimator", method_pointer_08113961b62e51a2867604304fad44c2, ""); diff --git a/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp index 6eb6e8f7..a756ec3c 100644 --- a/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp +++ b/src/py/wrapper/wrapper_097d071b39dc5df98bf53b8b2cb22c3d.cpp @@ -9,12 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateDataFrame, struct ::statiskit::UnivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_351115d84d3850bb9ebe91876df74122; - virtual return_type_351115d84d3850bb9ebe91876df74122 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_351115d84d3850bb9ebe91876df74122, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp index e55d8698..f9ea51bb 100644 --- a/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp +++ b/src/py/wrapper/wrapper_098b1688f9d6517bac4fe76bfdbe24bd.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateConditionalDistribution::ContinuousMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_0bb61fa4d95c5584b036a2ab65b3920e.cpp b/src/py/wrapper/wrapper_0bb61fa4d95c5584b036a2ab65b3920e.cpp new file mode 100644 index 00000000..c3b4a5cb --- /dev/null +++ b/src/py/wrapper/wrapper_0bb61fa4d95c5584b036a2ab65b3920e.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_0bb61fa4d95c5584b036a2ab65b3920e(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > > > class_0bb61fa4d95c5584b036a2ab65b3920e(module, "Estimator", ""); + class_0bb61fa4d95c5584b036a2ab65b3920e.def(pybind11::init< >()); + class_0bb61fa4d95c5584b036a2ab65b3920e.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation::Estimator const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp index eb08ceef..bdcacff5 100644 --- a/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp +++ b/src/py/wrapper/wrapper_0c5fdb90743c59dda2a63d2ea31919c2.cpp @@ -8,12 +8,18 @@ namespace autowig { public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp b/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp deleted file mode 100644 index 98c1d289..00000000 --- a/src/py/wrapper/wrapper_0cf8ab1b80485228a6333e32fd937f72.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_32b310c5f46951dfb7da646db3ae1300; - virtual return_type_32b310c5f46951dfb7da646db3ae1300 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_32b310c5f46951dfb7da646db3ae1300, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_0cf8ab1b80485228a6333e32fd937f72(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_0cf8ab1b80485228a6333e32fd937f72(module, "_PolymorphicCopy_0cf8ab1b80485228a6333e32fd937f72", ""); - class_0cf8ab1b80485228a6333e32fd937f72.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp index a3f72c25..4ee9c005 100644 --- a/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp +++ b/src/py/wrapper/wrapper_0db25688c9bf5a57b1d944dcc1a3b7f2.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::DiscreteUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp index 555727fa..7cca6a02 100644 --- a/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp +++ b/src/py/wrapper/wrapper_0e85222f05205b5983c73610343623c8.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GammaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f44368d0843d557aad0347d4cf452e03; - virtual return_type_f44368d0843d557aad0347d4cf452e03 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f44368d0843d557aad0347d4cf452e03, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp index 271f4e0b..3f299f76 100644 --- a/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp +++ b/src/py/wrapper/wrapper_0f491a898d6251e1851339f286f0358c.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DirichletDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_dddd91df18fd59a6b71e5a73664a4166; - virtual return_type_dddd91df18fd59a6b71e5a73664a4166 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_dddd91df18fd59a6b71e5a73664a4166, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp index 1dbbf73a..79ced433 100644 --- a/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp +++ b/src/py/wrapper/wrapper_0f631b8bbb065d39a1378915b306a904.cpp @@ -9,13 +9,21 @@ namespace autowig public: using ::statiskit::UnivariateSampleSpace::UnivariateSampleSpace; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_2875d281654d56729645a2393c5d7ae3; virtual return_type_2875d281654d56729645a2393c5d7ae3 get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_2875d281654d56729645a2393c5d7ae3, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp b/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp deleted file mode 100644 index c5d6c073..00000000 --- a/src/py/wrapper/wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_1020dbf5f7b25dc5b8c79ae7eb3ca475(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_1020dbf5f7b25dc5b8c79ae7eb3ca475(module, "_PolymorphicCopy_1020dbf5f7b25dc5b8c79ae7eb3ca475", ""); - class_1020dbf5f7b25dc5b8c79ae7eb3ca475.def(pybind11::init< >()); - class_1020dbf5f7b25dc5b8c79ae7eb3ca475.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp b/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp index 8ef7a3eb..c2918913 100644 --- a/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp +++ b/src/py/wrapper/wrapper_104495a9f44f508fb8c76ab6d2269ec3.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_104495a9f44f508fb8c76ab6d2269ec3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_104495a9f44f508fb8c76ab6d2269ec3(module, "GeometricDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::GeometricDistributionEstimation > > class_104495a9f44f508fb8c76ab6d2269ec3(module, "GeometricDistributionMLEstimation", ""); class_104495a9f44f508fb8c76ab6d2269ec3.def(pybind11::init< >()); class_104495a9f44f508fb8c76ab6d2269ec3.def(pybind11::init< struct ::statiskit::GeometricDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp new file mode 100644 index 00000000..b73343c1 --- /dev/null +++ b/src/py/wrapper/wrapper_10d5b7d349c75b6b89998f9a341fb629.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_10d5b7d349c75b6b89998f9a341fb629(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_10d5b7d349c75b6b89998f9a341fb629(module, "ContinuousUnivariateConditionalDistributionEstimation", ""); + class_10d5b7d349c75b6b89998f9a341fb629.def(pybind11::init< >()); + class_10d5b7d349c75b6b89998f9a341fb629.def(pybind11::init< struct ::statiskit::ContinuousUnivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp b/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp deleted file mode 100644 index 402273f4..00000000 --- a/src/py/wrapper/wrapper_119aa039675055618c8a856f637be1e0.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_6ee12afee92757ad935da93a098f76ca; - virtual return_type_6ee12afee92757ad935da93a098f76ca copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6ee12afee92757ad935da93a098f76ca, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_119aa039675055618c8a856f637be1e0(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_119aa039675055618c8a856f637be1e0(module, "_PolymorphicCopy_119aa039675055618c8a856f637be1e0", ""); - class_119aa039675055618c8a856f637be1e0.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp index 340e97f2..1ed92bba 100644 --- a/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp +++ b/src/py/wrapper/wrapper_11b76bdf145b514f8ed8993245b9864c.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NormalDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_f89168a6535d5ab9bd7cba606a078b71; - virtual return_type_f89168a6535d5ab9bd7cba606a078b71 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f89168a6535d5ab9bd7cba606a078b71, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_123015a4593a5cdeae51e1c3cf5f2cbf.cpp b/src/py/wrapper/wrapper_123015a4593a5cdeae51e1c3cf5f2cbf.cpp new file mode 100644 index 00000000..6cb11d77 --- /dev/null +++ b/src/py/wrapper/wrapper_123015a4593a5cdeae51e1c3cf5f2cbf.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_123015a4593a5cdeae51e1c3cf5f2cbf(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_123015a4593a5cdeae51e1c3cf5f2cbf(module, "BinomialDistributionEstimation", ""); + class_123015a4593a5cdeae51e1c3cf5f2cbf.def(pybind11::init< >()); + class_123015a4593a5cdeae51e1c3cf5f2cbf.def(pybind11::init< struct ::statiskit::BinomialDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_12a6e0c7ad825078967a85064cb90dd3.cpp b/src/py/wrapper/wrapper_12a6e0c7ad825078967a85064cb90dd3.cpp new file mode 100644 index 00000000..e33af575 --- /dev/null +++ b/src/py/wrapper/wrapper_12a6e0c7ad825078967a85064cb90dd3.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_351275f97aff51b99aa0640eb0303f4c)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::size; +struct ::statiskit::CategoricalMultivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_643a9df53a6a5c028908f785218c936b)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::*method_pointer_34750ff2f19b59bda91ab3f179ebb555)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_12a6e0c7ad825078967a85064cb90dd3(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > > class_12a6e0c7ad825078967a85064cb90dd3(module, "_Selection_12a6e0c7ad825078967a85064cb90dd3", ""); + class_12a6e0c7ad825078967a85064cb90dd3.def(pybind11::init< >()); + class_12a6e0c7ad825078967a85064cb90dd3.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); + class_12a6e0c7ad825078967a85064cb90dd3.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); + class_12a6e0c7ad825078967a85064cb90dd3.def("__len__", method_pointer_351275f97aff51b99aa0640eb0303f4c, ""); + class_12a6e0c7ad825078967a85064cb90dd3.def("get_estimation", method_pointer_643a9df53a6a5c028908f785218c936b, pybind11::return_value_policy::reference_internal, ""); + class_12a6e0c7ad825078967a85064cb90dd3.def("get_score", method_pointer_34750ff2f19b59bda91ab3f179ebb555, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp index e681095d..a04ce57a 100644 --- a/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp +++ b/src/py/wrapper/wrapper_13ec603d05f1534bbe1491c0634dca90.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::MultivariateDispersionEstimation; + + public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_e7c45515a9ba50b79dd2ae24687f9d7a; virtual return_type_e7c45515a9ba50b79dd2ae24687f9d7a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e7c45515a9ba50b79dd2ae24687f9d7a, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp index dcb5881d..bc23677d 100644 --- a/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp +++ b/src/py/wrapper/wrapper_14a9cd2a8d9a572e8c7d58d490e5269e.cpp @@ -9,22 +9,27 @@ namespace autowig public: using ::statiskit::CategoricalSampleSpace::CategoricalSampleSpace; + + protected: typedef bool return_type_e2b5e198a60f55b48e6693e16f1ecddb; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_e2b5e198a60f55b48e6693e16f1ecddb_0_type; virtual return_type_e2b5e198a60f55b48e6693e16f1ecddb is_compatible_value(param_e2b5e198a60f55b48e6693e16f1ecddb_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e2b5e198a60f55b48e6693e16f1ecddb, class_type, is_compatible_value, param_0); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_8066b9427c14500d8e4b87e8f42da7e4; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8066b9427c14500d8e4b87e8f42da7e4_0_type; virtual return_type_8066b9427c14500d8e4b87e8f42da7e4 encode(param_8066b9427c14500d8e4b87e8f42da7e4_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8066b9427c14500d8e4b87e8f42da7e4, class_type, encode, param_0); }; + + public: typedef void return_type_5ccffeb21f59579f833d8cfccb48fce9; typedef enum ::statiskit::encoding_type const & param_5ccffeb21f59579f833d8cfccb48fce9_0_type; virtual return_type_5ccffeb21f59579f833d8cfccb48fce9 set_encoding(param_5ccffeb21f59579f833d8cfccb48fce9_0_type param_0) override { PYBIND11_OVERLOAD_PURE(return_type_5ccffeb21f59579f833d8cfccb48fce9, class_type, set_encoding, param_0); }; - typedef enum ::statiskit::outcome_type return_type_8d0ebb7ac2a9544280755c9cf75dbb4e; - virtual return_type_8d0ebb7ac2a9544280755c9cf75dbb4e get_outcome() const override { PYBIND11_OVERLOAD(return_type_8d0ebb7ac2a9544280755c9cf75dbb4e, class_type, get_outcome, ); }; - typedef bool return_type_bc7a777830665a5e86e410c50a9fd373; - typedef struct ::statiskit::UnivariateEvent const * param_bc7a777830665a5e86e410c50a9fd373_0_type; - virtual return_type_bc7a777830665a5e86e410c50a9fd373 is_compatible(param_bc7a777830665a5e86e410c50a9fd373_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_bc7a777830665a5e86e410c50a9fd373, class_type, is_compatible, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef enum ::statiskit::ordering_type return_type_a5c2538f602650ca89c7d30ba94848b9; virtual return_type_a5c2538f602650ca89c7d30ba94848b9 get_ordering() const override { PYBIND11_OVERLOAD_PURE(return_type_a5c2538f602650ca89c7d30ba94848b9, class_type, get_ordering, ); }; }; diff --git a/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp b/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp index 4c36a36d..197dca84 100644 --- a/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp +++ b/src/py/wrapper/wrapper_1581bb259a1355888c0e234a7f9960d9.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_1581bb259a1355888c0e234a7f9960d9(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_1581bb259a1355888c0e234a7f9960d9(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, struct ::statiskit::BinomialDistributionEstimation::Estimator > > class_1581bb259a1355888c0e234a7f9960d9(module, "Estimator", ""); class_1581bb259a1355888c0e234a7f9960d9.def(pybind11::init< >()); class_1581bb259a1355888c0e234a7f9960d9.def(pybind11::init< class ::statiskit::BinomialDistributionMMEstimation::Estimator const & >()); class_1581bb259a1355888c0e234a7f9960d9.def("get_location", method_pointer_6d96ac53d1b95ead90800c8c317b84ac, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp b/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp deleted file mode 100644 index 8d8eeae1..00000000 --- a/src/py/wrapper/wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "_core.h" - - -void wrapper_167c53cdfe3c52b182c9f8fb3ce1bf67(pybind11::module& module) -{ - - - pybind11::register_exception< class ::std::system_error >(module, "SystemError"); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp index f40ddc00..0bc533c9 100644 --- a/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp +++ b/src/py/wrapper/wrapper_16e0ec24327b5201927673f1e4c6eeca.cpp @@ -9,8 +9,18 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; @@ -18,6 +28,7 @@ namespace autowig } class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::*method_pointer_f5006c7de7595cf1b83e7502ffda0880)(::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::*method_pointer_ffc375e050255b0e93aeb875148628ea)(struct ::statiskit::MultivariateData const &, unsigned long int const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::operator(); class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::UnivariateDistribution >::Estimator::*method_pointer_26294945d2a55f42a4ff3b316d0eb4ab)()const= &::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::copy; namespace autowig { @@ -29,6 +40,7 @@ void wrapper_16e0ec24327b5201927673f1e4c6eeca(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator >::Type > class_16e0ec24327b5201927673f1e4c6eeca(module, "Estimator", ""); class_16e0ec24327b5201927673f1e4c6eeca.def(pybind11::init< >()); class_16e0ec24327b5201927673f1e4c6eeca.def("__call__", method_pointer_f5006c7de7595cf1b83e7502ffda0880, ""); + class_16e0ec24327b5201927673f1e4c6eeca.def("__call__", method_pointer_ffc375e050255b0e93aeb875148628ea, ""); class_16e0ec24327b5201927673f1e4c6eeca.def("copy", method_pointer_26294945d2a55f42a4ff3b316d0eb4ab, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp index 1266b4fc..99e8dc6a 100644 --- a/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp +++ b/src/py/wrapper/wrapper_172696efc2ee5189bf7047d20bc97387.cpp @@ -9,15 +9,21 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::WeightedUnivariateData, class ::statiskit::WeightedData< struct ::statiskit::UnivariateData > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_ede59c488926582aab2480ccbc03aa65; - virtual return_type_ede59c488926582aab2480ccbc03aa65 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ede59c488926582aab2480ccbc03aa65, class_type, copy, ); }; + + public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; - virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; + virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp index 402906ee..4351a56e 100644 --- a/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp +++ b/src/py/wrapper/wrapper_176ad7b821255b478820451a70624393.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateLocationEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_8c923ab987815d75950c21bd5ebe0e9a; virtual return_type_8c923ab987815d75950c21bd5ebe0e9a copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8c923ab987815d75950c21bd5ebe0e9a, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_180294e9e19355e187edd0ed7cb54375.cpp b/src/py/wrapper/wrapper_180294e9e19355e187edd0ed7cb54375.cpp new file mode 100644 index 00000000..c3f689e4 --- /dev/null +++ b/src/py/wrapper/wrapper_180294e9e19355e187edd0ed7cb54375.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_fa888e093c6457c3ac70412cd351e9bc)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::size; +struct ::statiskit::CategoricalUnivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_1d464337527a5762a32243cb16cdfbe0)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_ea87ff5906385cc3b2c924cc4e95992e)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_180294e9e19355e187edd0ed7cb54375(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > > class_180294e9e19355e187edd0ed7cb54375(module, "_Selection_180294e9e19355e187edd0ed7cb54375", ""); + class_180294e9e19355e187edd0ed7cb54375.def(pybind11::init< >()); + class_180294e9e19355e187edd0ed7cb54375.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + class_180294e9e19355e187edd0ed7cb54375.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); + class_180294e9e19355e187edd0ed7cb54375.def("__len__", method_pointer_fa888e093c6457c3ac70412cd351e9bc, ""); + class_180294e9e19355e187edd0ed7cb54375.def("get_estimation", method_pointer_1d464337527a5762a32243cb16cdfbe0, pybind11::return_value_policy::reference_internal, ""); + class_180294e9e19355e187edd0ed7cb54375.def("get_score", method_pointer_ea87ff5906385cc3b2c924cc4e95992e, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp index ccaa4876..bc2bd0ca 100644 --- a/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp +++ b/src/py/wrapper/wrapper_1ca74b2dc66a5ee79310589958dcce9f.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_27a6e0cb0b6953c79121138d291a76d8; - virtual return_type_27a6e0cb0b6953c79121138d291a76d8 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_27a6e0cb0b6953c79121138d291a76d8, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp b/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp deleted file mode 100644 index a33b7d58..00000000 --- a/src/py/wrapper/wrapper_1cfac4e761e4558085f0b7c2a58070f2.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "_core.h" - -void (::std::error_code::*method_pointer_983f6b690936572f9b22589850b87def)()= &::std::error_code::clear; -int (::std::error_code::*method_pointer_15ef1dc09b265385bc5d0bc13c03cd5f)()const= &::std::error_code::value; -struct ::std::error_condition (::std::error_code::*method_pointer_aa96e684628c562dbdbb67930ecd700f)()const= &::std::error_code::default_error_condition; -::std::string (::std::error_code::*method_pointer_604d388a5fc85f429bfce6b9a0669a37)()const= &::std::error_code::message; - -namespace autowig { -} - -void wrapper_1cfac4e761e4558085f0b7c2a58070f2(pybind11::module& module) -{ - - struct function_group - { - static bool function_62a2517aca055e82999b1fdab8b77aba(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) - { return operator<(parameter_0, parameter_1); } - static bool function_02f97a7b553f5cd7b662a58496440d07(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) - { return operator==(parameter_0, parameter_1); } - static bool function_0579cfdfcb8653b9bea15d147cd3cfe7(struct ::std::error_code const & parameter_0, struct ::std::error_condition const & parameter_1) - { return operator==(parameter_0, parameter_1); } - static bool function_46b1beaae0cf5872b1631c85adea7e86(struct ::std::error_code const & parameter_0, struct ::std::error_code const & parameter_1) - { return operator!=(parameter_0, parameter_1); } - static bool function_50be8ab183cd5585bda2b0af6e5b783a(struct ::std::error_code const & parameter_0, struct ::std::error_condition const & parameter_1) - { return operator!=(parameter_0, parameter_1); } - }; - pybind11::class_::Type > class_1cfac4e761e4558085f0b7c2a58070f2(module, "ErrorCode", ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def(pybind11::init< >()); - class_1cfac4e761e4558085f0b7c2a58070f2.def(pybind11::init< struct ::std::error_code const & >()); - class_1cfac4e761e4558085f0b7c2a58070f2.def("clear", method_pointer_983f6b690936572f9b22589850b87def, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("value", method_pointer_15ef1dc09b265385bc5d0bc13c03cd5f, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("default_error_condition", method_pointer_aa96e684628c562dbdbb67930ecd700f, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("message", method_pointer_604d388a5fc85f429bfce6b9a0669a37, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("__lt__", function_group::function_62a2517aca055e82999b1fdab8b77aba, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("__eq__", function_group::function_02f97a7b553f5cd7b662a58496440d07, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("__eq__", function_group::function_0579cfdfcb8653b9bea15d147cd3cfe7, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("__neq__", function_group::function_46b1beaae0cf5872b1631c85adea7e86, ""); - class_1cfac4e761e4558085f0b7c2a58070f2.def("__neq__", function_group::function_50be8ab183cd5585bda2b0af6e5b783a, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp b/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp index bb5237a5..dc8225ea 100644 --- a/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp +++ b/src/py/wrapper/wrapper_1dfdcd929fc0513399c2437e9a6c8c3a.cpp @@ -11,7 +11,7 @@ namespace autowig { void wrapper_1dfdcd929fc0513399c2437e9a6c8c3a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_1dfdcd929fc0513399c2437e9a6c8c3a(module, "Estimator", "This class NegativeBinomialDistribution represents a Maximum Likelihood\nEstimator (MLE) of negative binomial distribution parameters\n:math:`\\kappa` and :math:`\\pi`.\n\nThis MLE prededure is described in :cite:`DBB13.` Note\nthat in their paper, the negative binomial distribution probability\ndistribution function is given by\n\n.. math::\n\n\n P\\left(X = x\\right) = \\frac{\\Gamma\\left(x+\\kappa\\right)}{x! \\Gamma\\left(\\kappa\\right)} \\left(\\frac{\\mu}{\\mu + \\kappa}\\right)^{x} \\left(\\frac{\\kappa}{\\kappa + \\mu}\\right)^{\\kappa}.\n\n This is a reparametrization of the negative binomial distribution\ndescribed by parameters :math:`\\kappa` and :math:`\\pi` with $$\n\n.. seealso::\n\n :cpp:class:`::statiskit::NegativeBinomialDistribution`.\n\n"); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > > class_1dfdcd929fc0513399c2437e9a6c8c3a(module, "Estimator", "This class NegativeBinomialDistribution represents a Maximum Likelihood\nEstimator (MLE) of negative binomial distribution parameters\n:math:`\\kappa` and :math:`\\pi`.\n\nThis MLE prededure is described in :cite:`DBB13.` Note\nthat in their paper, the negative binomial distribution probability\ndistribution function is given by\n\n.. math::\n\n\n P\\left(X = x\\right) = \\frac{\\Gamma\\left(x+\\kappa\\right)}{x! \\Gamma\\left(\\kappa\\right)} \\left(\\frac{\\mu}{\\mu + \\kappa}\\right)^{x} \\left(\\frac{\\kappa}{\\kappa + \\mu}\\right)^{\\kappa}.\n\n This is a reparametrization of the negative binomial distribution\ndescribed by parameters :math:`\\kappa` and :math:`\\pi` with $$\n\n.. seealso::\n\n :cpp:class:`::statiskit::NegativeBinomialDistribution`.\n\n"); class_1dfdcd929fc0513399c2437e9a6c8c3a.def(pybind11::init< >()); class_1dfdcd929fc0513399c2437e9a6c8c3a.def(pybind11::init< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator const & >()); class_1dfdcd929fc0513399c2437e9a6c8c3a.def("get_location", method_pointer_f1ef2e72f4535e7994e96e98baeb7891, pybind11::return_value_policy::reference_internal, ""); diff --git a/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp index 1dd747b2..901dec4f 100644 --- a/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp +++ b/src/py/wrapper/wrapper_1f896af016d3557fa2b823b2110a3f82.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UniformDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_2f5adc8b114950b8893f26bc97b6abc3; - virtual return_type_2f5adc8b114950b8893f26bc97b6abc3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2f5adc8b114950b8893f26bc97b6abc3, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp index 2bd59c79..7c13959c 100644 --- a/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp +++ b/src/py/wrapper/wrapper_206185953d7651e78a6714d1fe602758.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateConditionalDistribution::ContinuousUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_206f9cb20a3658da9a3343fb361e5e38.cpp b/src/py/wrapper/wrapper_206f9cb20a3658da9a3343fb361e5e38.cpp new file mode 100644 index 00000000..f3ba9765 --- /dev/null +++ b/src/py/wrapper/wrapper_206f9cb20a3658da9a3343fb361e5e38.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ContinuousUnivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; + typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; + typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; + typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; + virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; + typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; + virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_206f9cb20a3658da9a3343fb361e5e38(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_206f9cb20a3658da9a3343fb361e5e38(module, "Estimator", ""); + class_206f9cb20a3658da9a3343fb361e5e38.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp index 5117f58c..59495619 100644 --- a/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp +++ b/src/py/wrapper/wrapper_20a3935ea3995924abfb200f08b075ee.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultinormalDistribution, struct ::statiskit::ContinuousMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_b87271cea7da5b298ba0cbd084f66c26; - virtual return_type_b87271cea7da5b298ba0cbd084f66c26 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b87271cea7da5b298ba0cbd084f66c26, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp index 167295c2..d54797c9 100644 --- a/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp +++ b/src/py/wrapper/wrapper_22316f691c3051a4b467ae58506ba1df.cpp @@ -9,12 +9,18 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp index c78cb5ba..393646af 100644 --- a/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp +++ b/src/py/wrapper/wrapper_23541363c56f58418e709d76f3ae28bc.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_1cabfd70838454d7aee7dfe3212cd270; - virtual return_type_1cabfd70838454d7aee7dfe3212cd270 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1cabfd70838454d7aee7dfe3212cd270, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_244b30ff6739579cba43f78a1e060fca.cpp b/src/py/wrapper/wrapper_244b30ff6739579cba43f78a1e060fca.cpp new file mode 100644 index 00000000..d9a67811 --- /dev/null +++ b/src/py/wrapper/wrapper_244b30ff6739579cba43f78a1e060fca.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_244b30ff6739579cba43f78a1e060fca(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionIrregularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > class_244b30ff6739579cba43f78a1e060fca(module, "_PolymorphicCopy_244b30ff6739579cba43f78a1e060fca", ""); + class_244b30ff6739579cba43f78a1e060fca.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionIrregularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_245bdea2b3e05b4fb0104c5865b41fd0.cpp b/src/py/wrapper/wrapper_245bdea2b3e05b4fb0104c5865b41fd0.cpp new file mode 100644 index 00000000..de580602 --- /dev/null +++ b/src/py/wrapper/wrapper_245bdea2b3e05b4fb0104c5865b41fd0.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, struct ::statiskit::PoissonDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, struct ::statiskit::PoissonDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_245bdea2b3e05b4fb0104c5865b41fd0(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, struct ::statiskit::PoissonDistributionEstimation::Estimator > >::Type, struct ::statiskit::PoissonDistributionEstimation::Estimator > class_245bdea2b3e05b4fb0104c5865b41fd0(module, "_PolymorphicCopy_245bdea2b3e05b4fb0104c5865b41fd0", ""); + class_245bdea2b3e05b4fb0104c5865b41fd0.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp b/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp deleted file mode 100644 index bb8c1529..00000000 --- a/src/py/wrapper/wrapper_246619e611bb5657b2e56a30794d1385.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; - virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_74ff405766cc5b229ff106dfa000469b)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_f2b24cec192b517fa70bcf750bd9d2e0)(double const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_c2fed247fa98516190a1c160f3e695ed)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_e10cbfb82fc857468fd5b631874bd804)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_0c89a8c5a137562c8a95dc5094acb405)()const= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::*method_pointer_df3a8407ccfa5147a64e2d0fdc613ccc)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_246619e611bb5657b2e56a30794d1385(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_246619e611bb5657b2e56a30794d1385(module, "_Optimization_246619e611bb5657b2e56a30794d1385", ""); - class_246619e611bb5657b2e56a30794d1385.def(pybind11::init< >()); - class_246619e611bb5657b2e56a30794d1385.def("get_mindiff", method_pointer_74ff405766cc5b229ff106dfa000469b, pybind11::return_value_policy::copy, ""); - class_246619e611bb5657b2e56a30794d1385.def("set_mindiff", method_pointer_f2b24cec192b517fa70bcf750bd9d2e0, ""); - class_246619e611bb5657b2e56a30794d1385.def("get_minits", method_pointer_c2fed247fa98516190a1c160f3e695ed, ""); - class_246619e611bb5657b2e56a30794d1385.def("set_minits", method_pointer_e10cbfb82fc857468fd5b631874bd804, ""); - class_246619e611bb5657b2e56a30794d1385.def("get_maxits", method_pointer_0c89a8c5a137562c8a95dc5094acb405, ""); - class_246619e611bb5657b2e56a30794d1385.def("set_maxits", method_pointer_df3a8407ccfa5147a64e2d0fdc613ccc, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp index 0bcc60d4..a9127acf 100644 --- a/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp +++ b/src/py/wrapper/wrapper_2513f8d88792503e97d2b3f6b8c31e6f.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::UnivariateData::UnivariateData; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp index 791e6ee4..d4c92874 100644 --- a/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp +++ b/src/py/wrapper/wrapper_25265f42150552ea9c7e3f59af135f87.cpp @@ -9,18 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicHuberSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_1b7692108f7453079301163a379b4ba6; - virtual return_type_1b7692108f7453079301163a379b4ba6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1b7692108f7453079301163a379b4ba6, class_type, copy, ); }; + + protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; - typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; - virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp index fe49b8ea..5a3ccb0e 100644 --- a/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp +++ b/src/py/wrapper/wrapper_254705bef21f59ca807412aa011917c0.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation::Estimator, struct ::statiskit::UnivariateDispersionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_7d584df28f0f5117a57a488efd306b17; - virtual return_type_7d584df28f0f5117a57a488efd306b17 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_7d584df28f0f5117a57a488efd306b17, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp index 699b4104..c34788a6 100644 --- a/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp +++ b/src/py/wrapper/wrapper_259bbb897cee510787d813a9c7525d6f.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicMaximalSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_9c62bc9b42a05be5983083c5bdc5fc5c; - virtual return_type_9c62bc9b42a05be5983083c5bdc5fc5c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9c62bc9b42a05be5983083c5bdc5fc5c, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_25eae0dfd4e1524abc8ca1ad59610105.cpp b/src/py/wrapper/wrapper_25eae0dfd4e1524abc8ca1ad59610105.cpp new file mode 100644 index 00000000..1618f018 --- /dev/null +++ b/src/py/wrapper/wrapper_25eae0dfd4e1524abc8ca1ad59610105.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_71757dc3f0865ab2886df4e8e648078e)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_e871f87647855e4095bb3a8f1d0e84ad)(enum ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_25eae0dfd4e1524abc8ca1ad59610105(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > > class_25eae0dfd4e1524abc8ca1ad59610105(module, "CriterionEstimator", ""); + class_25eae0dfd4e1524abc8ca1ad59610105.def(pybind11::init< >()); + class_25eae0dfd4e1524abc8ca1ad59610105.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator const & >()); + class_25eae0dfd4e1524abc8ca1ad59610105.def("get_criterion", method_pointer_71757dc3f0865ab2886df4e8e648078e, pybind11::return_value_policy::copy, ""); + class_25eae0dfd4e1524abc8ca1ad59610105.def("set_criterion", method_pointer_e871f87647855e4095bb3a8f1d0e84ad, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp index c145e865..1164f216 100644 --- a/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp +++ b/src/py/wrapper/wrapper_2644b3904d665c118ab54533b295d7e3.cpp @@ -9,32 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::ContinuousUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_176a3c3dda2b546b865e07a5120aa54c; - virtual return_type_176a3c3dda2b546b865e07a5120aa54c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_176a3c3dda2b546b865e07a5120aa54c, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_27e4a3de65cd5691b17c9700cc9e7047.cpp b/src/py/wrapper/wrapper_27e4a3de65cd5691b17c9700cc9e7047.cpp new file mode 100644 index 00000000..6a3ba667 --- /dev/null +++ b/src/py/wrapper/wrapper_27e4a3de65cd5691b17c9700cc9e7047.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_27e4a3de65cd5691b17c9700cc9e7047(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::BinomialDistributionEstimation > >::Type, struct ::statiskit::BinomialDistributionEstimation > class_27e4a3de65cd5691b17c9700cc9e7047(module, "_PolymorphicCopy_27e4a3de65cd5691b17c9700cc9e7047", ""); + class_27e4a3de65cd5691b17c9700cc9e7047.def(pybind11::init< >()); + class_27e4a3de65cd5691b17c9700cc9e7047.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::BinomialDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2932b86205565fb3af16d335628bf928.cpp b/src/py/wrapper/wrapper_2932b86205565fb3af16d335628bf928.cpp new file mode 100644 index 00000000..4af8b447 --- /dev/null +++ b/src/py/wrapper/wrapper_2932b86205565fb3af16d335628bf928.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_e7ef626f3bd9559c819dda5c5cecd4d5)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_335e6aec934954d9999acbe40652dd57)(enum ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_2932b86205565fb3af16d335628bf928(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > > class_2932b86205565fb3af16d335628bf928(module, "CriterionEstimator", ""); + class_2932b86205565fb3af16d335628bf928.def(pybind11::init< >()); + class_2932b86205565fb3af16d335628bf928.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator const & >()); + class_2932b86205565fb3af16d335628bf928.def("get_criterion", method_pointer_e7ef626f3bd9559c819dda5c5cecd4d5, pybind11::return_value_policy::copy, ""); + class_2932b86205565fb3af16d335628bf928.def("set_criterion", method_pointer_335e6aec934954d9999acbe40652dd57, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp b/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp index cd381b9d..f9dbd3fa 100644 --- a/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp +++ b/src/py/wrapper/wrapper_2934c614112358768beae325b0d33ea2.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_2934c614112358768beae325b0d33ea2(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_2934c614112358768beae325b0d33ea2(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, struct ::statiskit::PoissonDistributionEstimation::Estimator > > class_2934c614112358768beae325b0d33ea2(module, "Estimator", ""); class_2934c614112358768beae325b0d33ea2.def(pybind11::init< >()); class_2934c614112358768beae325b0d33ea2.def(pybind11::init< struct ::statiskit::PoissonDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_293cf3d7dd1455688b4f9ff136dd48ac.cpp b/src/py/wrapper/wrapper_293cf3d7dd1455688b4f9ff136dd48ac.cpp new file mode 100644 index 00000000..fcf2c374 --- /dev/null +++ b/src/py/wrapper/wrapper_293cf3d7dd1455688b4f9ff136dd48ac.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::*method_pointer_4f123ad92fd9569b9017124223bb5ab8)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::size; +struct ::statiskit::MultivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::*method_pointer_6f7efffb79315a559291b43a7a920315)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::*method_pointer_6dc91310b9a65fac921724db3840fc4b)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_293cf3d7dd1455688b4f9ff136dd48ac(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >, struct ::statiskit::MultivariateDistributionEstimation > > class_293cf3d7dd1455688b4f9ff136dd48ac(module, "_Selection_293cf3d7dd1455688b4f9ff136dd48ac", ""); + class_293cf3d7dd1455688b4f9ff136dd48ac.def(pybind11::init< >()); + class_293cf3d7dd1455688b4f9ff136dd48ac.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); + class_293cf3d7dd1455688b4f9ff136dd48ac.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation > const & >()); + class_293cf3d7dd1455688b4f9ff136dd48ac.def("__len__", method_pointer_4f123ad92fd9569b9017124223bb5ab8, ""); + class_293cf3d7dd1455688b4f9ff136dd48ac.def("get_estimation", method_pointer_6f7efffb79315a559291b43a7a920315, pybind11::return_value_policy::reference_internal, ""); + class_293cf3d7dd1455688b4f9ff136dd48ac.def("get_score", method_pointer_6dc91310b9a65fac921724db3840fc4b, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp index 75339314..b1f3050d 100644 --- a/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp +++ b/src/py/wrapper/wrapper_295ece6953a856c8b865758b0a34795c.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateConditionalDistribution::CategoricalUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp index 3d718c69..acf00561 100644 --- a/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp +++ b/src/py/wrapper/wrapper_2a0dd80c75b958a198cbb602212dea2d.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateVarianceEstimation, class ::statiskit::UnivariateDispersionEstimation >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_c976d20b0fea521da7eae4d4b0983573; - virtual return_type_c976d20b0fea521da7eae4d4b0983573 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c976d20b0fea521da7eae4d4b0983573, class_type, copy, ); }; + + public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff.cpp b/src/py/wrapper/wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff.cpp new file mode 100644 index 00000000..00b731e9 --- /dev/null +++ b/src/py/wrapper/wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_914244ac0c865c3488e836097d346f93)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_023ffbac05b25082b02be236c687ef43)(enum ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_2a54606a2c865e7c8b67ed7ca6bfbfff(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > > class_2a54606a2c865e7c8b67ed7ca6bfbfff(module, "CriterionEstimator", ""); + class_2a54606a2c865e7c8b67ed7ca6bfbfff.def(pybind11::init< >()); + class_2a54606a2c865e7c8b67ed7ca6bfbfff.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator const & >()); + class_2a54606a2c865e7c8b67ed7ca6bfbfff.def("get_criterion", method_pointer_914244ac0c865c3488e836097d346f93, pybind11::return_value_policy::copy, ""); + class_2a54606a2c865e7c8b67ed7ca6bfbfff.def("set_criterion", method_pointer_023ffbac05b25082b02be236c687ef43, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2ba75dcd62935454a66d0b70e682804e.cpp b/src/py/wrapper/wrapper_2ba75dcd62935454a66d0b70e682804e.cpp new file mode 100644 index 00000000..b6d35fbe --- /dev/null +++ b/src/py/wrapper/wrapper_2ba75dcd62935454a66d0b70e682804e.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_1f55579a4701506da51dfb749a9eeb48)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; +struct ::statiskit::DiscreteUnivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_e3bf86d16157520f9f595dc899d14866)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_723476289e5853ea9a38fbc02bc8574e)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_2ba75dcd62935454a66d0b70e682804e(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_2ba75dcd62935454a66d0b70e682804e(module, "_Selection_2ba75dcd62935454a66d0b70e682804e", ""); + class_2ba75dcd62935454a66d0b70e682804e.def(pybind11::init< >()); + class_2ba75dcd62935454a66d0b70e682804e.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + class_2ba75dcd62935454a66d0b70e682804e.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + class_2ba75dcd62935454a66d0b70e682804e.def("__len__", method_pointer_1f55579a4701506da51dfb749a9eeb48, ""); + class_2ba75dcd62935454a66d0b70e682804e.def("get_estimation", method_pointer_e3bf86d16157520f9f595dc899d14866, pybind11::return_value_policy::reference_internal, ""); + class_2ba75dcd62935454a66d0b70e682804e.def("get_score", method_pointer_723476289e5853ea9a38fbc02bc8574e, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp b/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp deleted file mode 100644 index 6fab97f9..00000000 --- a/src/py/wrapper/wrapper_2cb2b79ddcda5d669891ac34e006005a.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_977e18c8152857d2a7ccb0d2d4dd53dd; - virtual return_type_977e18c8152857d2a7ccb0d2d4dd53dd copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_977e18c8152857d2a7ccb0d2d4dd53dd, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_2cb2b79ddcda5d669891ac34e006005a(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_2cb2b79ddcda5d669891ac34e006005a(module, "_PolymorphicCopy_2cb2b79ddcda5d669891ac34e006005a", ""); - class_2cb2b79ddcda5d669891ac34e006005a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp index 1c52457b..ef1a920e 100644 --- a/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp +++ b/src/py/wrapper/wrapper_2da8a9223cae5918afa89d5266f7f7e7.cpp @@ -9,21 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateDataFrame, struct ::statiskit::MultivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f0f3872021175d0facc2681f463081d3; - virtual return_type_f0f3872021175d0facc2681f463081d3 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f0f3872021175d0facc2681f463081d3, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f.cpp b/src/py/wrapper/wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f.cpp new file mode 100644 index 00000000..0fc07889 --- /dev/null +++ b/src/py/wrapper/wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_2e890b1bdd6056ca8fd8a36c7e7f406f(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > > class_2e890b1bdd6056ca8fd8a36c7e7f406f(module, "_PolymorphicCopy_2e890b1bdd6056ca8fd8a36c7e7f406f", ""); + class_2e890b1bdd6056ca8fd8a36c7e7f406f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_30157fbe0fd851ba8681039d13b7ee25.cpp b/src/py/wrapper/wrapper_30157fbe0fd851ba8681039d13b7ee25.cpp new file mode 100644 index 00000000..66c3c9b5 --- /dev/null +++ b/src/py/wrapper/wrapper_30157fbe0fd851ba8681039d13b7ee25.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_30157fbe0fd851ba8681039d13b7ee25(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionClassicEstimation, struct ::statiskit::UnivariateHistogramDistributionEstimation > > class_30157fbe0fd851ba8681039d13b7ee25(module, "UnivariateHistogramDistributionClassicEstimation", ""); + class_30157fbe0fd851ba8681039d13b7ee25.def(pybind11::init< >()); + class_30157fbe0fd851ba8681039d13b7ee25.def(pybind11::init< struct ::statiskit::UnivariateHistogramDistributionClassicEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp index afc9cd98..c6b59aff 100644 --- a/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp +++ b/src/py/wrapper/wrapper_3170a5376b065cea9f39ca7a6ad5332f.cpp @@ -9,8 +9,18 @@ namespace autowig public: using ::statiskit::Optimization< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator >::Optimization; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp index 85ff4016..43b7f0a5 100644 --- a/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp +++ b/src/py/wrapper/wrapper_31aa0a631312549a9cf4cb8740b55a7f.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistribution::DiscreteMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp b/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp deleted file mode 100644 index 947d170d..00000000 --- a/src/py/wrapper/wrapper_31af2f3c7b5c54f5a56e10ac7064289b.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_31af2f3c7b5c54f5a56e10ac7064289b(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > > class_31af2f3c7b5c54f5a56e10ac7064289b(module, "IrregularUnivariateHistogramDistributionSlopeHeuristicSelection", ""); - class_31af2f3c7b5c54f5a56e10ac7064289b.def(pybind11::init< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp index 01029e71..9d02ee8f 100644 --- a/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp +++ b/src/py/wrapper/wrapper_32c776be879e5a4f8e5388d5cb33ecc4.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateConditionalDistribution::DiscreteMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp index 5c1ca8fa..ccf385c2 100644 --- a/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp +++ b/src/py/wrapper/wrapper_337b3fb852125acd94dcdd79f0bbc00a.cpp @@ -9,18 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicBiSquareSolver, class ::statiskit::SlopeHeuristicIWLSSolver >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_5bcb31ba40635d31a0cb6117a93ffc54; - virtual return_type_5bcb31ba40635d31a0cb6117a93ffc54 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5bcb31ba40635d31a0cb6117a93ffc54, class_type, copy, ); }; + + protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; - typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; - virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_33bff84921ee5bed9a1741a76baa1e8c.cpp b/src/py/wrapper/wrapper_33bff84921ee5bed9a1741a76baa1e8c.cpp new file mode 100644 index 00000000..013bf33e --- /dev/null +++ b/src/py/wrapper/wrapper_33bff84921ee5bed9a1741a76baa1e8c.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_33bff84921ee5bed9a1741a76baa1e8c(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::UnivariateHistogramDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation >, struct ::statiskit::UnivariateHistogramDistributionEstimation > >::Type, struct ::statiskit::UnivariateHistogramDistributionEstimation > class_33bff84921ee5bed9a1741a76baa1e8c(module, "_PolymorphicCopy_33bff84921ee5bed9a1741a76baa1e8c", ""); + class_33bff84921ee5bed9a1741a76baa1e8c.def(pybind11::init< >()); + class_33bff84921ee5bed9a1741a76baa1e8c.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation >, struct ::statiskit::UnivariateHistogramDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp index 09685440..0ad85879 100644 --- a/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp +++ b/src/py/wrapper/wrapper_354f862e227e590491c20a9acad58d0b.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateConditionalDistribution::DiscreteUnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_35b22653b51a580c9bb49fdf5623f806.cpp b/src/py/wrapper/wrapper_35b22653b51a580c9bb49fdf5623f806.cpp new file mode 100644 index 00000000..f9bcf9d2 --- /dev/null +++ b/src/py/wrapper/wrapper_35b22653b51a580c9bb49fdf5623f806.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_35b22653b51a580c9bb49fdf5623f806(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_35b22653b51a580c9bb49fdf5623f806(module, "PoissonDistributionEstimation", ""); + class_35b22653b51a580c9bb49fdf5623f806.def(pybind11::init< >()); + class_35b22653b51a580c9bb49fdf5623f806.def(pybind11::init< struct ::statiskit::PoissonDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp b/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp index 42382b9f..9addb2be 100644 --- a/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp +++ b/src/py/wrapper/wrapper_36823ab42b0c57b48d903606aa743329.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_36823ab42b0c57b48d903606aa743329(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_36823ab42b0c57b48d903606aa743329(module, "PoissonDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::PoissonDistributionEstimation > > class_36823ab42b0c57b48d903606aa743329(module, "PoissonDistributionMLEstimation", ""); class_36823ab42b0c57b48d903606aa743329.def(pybind11::init< >()); class_36823ab42b0c57b48d903606aa743329.def(pybind11::init< struct ::statiskit::PoissonDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp index b4a6c528..c50a5d7e 100644 --- a/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp +++ b/src/py/wrapper/wrapper_37b7e83ad4685de7971d757784ece860.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_fdde2e93ceb25cc39ecf73ee76e0cf48; - virtual return_type_fdde2e93ceb25cc39ecf73ee76e0cf48 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_fdde2e93ceb25cc39ecf73ee76e0cf48, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp b/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp deleted file mode 100644 index a0f42702..00000000 --- a/src/py/wrapper/wrapper_37cab44615185125b12b8246ddcfeae0.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -void wrapper_37cab44615185125b12b8246ddcfeae0(pybind11::module& module) -{ - - pybind11::enum_< enum ::std::ios_base::event > enum_37cab44615185125b12b8246ddcfeae0(module, "event"); - enum_37cab44615185125b12b8246ddcfeae0.value("ERASE_EVENT", ::std::ios_base::erase_event); - enum_37cab44615185125b12b8246ddcfeae0.value("IMBUE_EVENT", ::std::ios_base::imbue_event); - enum_37cab44615185125b12b8246ddcfeae0.value("COPYFMT_EVENT", ::std::ios_base::copyfmt_event); - enum_37cab44615185125b12b8246ddcfeae0.export_values(); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3867e7acf01c53eeac5d396eedbb7d4e.cpp b/src/py/wrapper/wrapper_3867e7acf01c53eeac5d396eedbb7d4e.cpp new file mode 100644 index 00000000..ecbf728b --- /dev/null +++ b/src/py/wrapper/wrapper_3867e7acf01c53eeac5d396eedbb7d4e.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_3867e7acf01c53eeac5d396eedbb7d4e(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > > class_3867e7acf01c53eeac5d396eedbb7d4e(module, "_PolymorphicCopy_3867e7acf01c53eeac5d396eedbb7d4e", ""); + class_3867e7acf01c53eeac5d396eedbb7d4e.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp index 92240d36..0bcaee39 100644 --- a/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp +++ b/src/py/wrapper/wrapper_39737fb8eb785c29bb3a9eca8ab9e325.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::UnivariateData::Generator::Generator; + + public: typedef struct ::statiskit::UnivariateData::Generator & return_type_de48c02aa8db50929f6a3f8784c2ec4d; virtual return_type_de48c02aa8db50929f6a3f8784c2ec4d operator++() override { PYBIND11_OVERLOAD_PURE(return_type_de48c02aa8db50929f6a3f8784c2ec4d, class_type, operator++, ); }; + + public: typedef bool return_type_ef9b151802e1543cb7c98d1c40761fbe; virtual return_type_ef9b151802e1543cb7c98d1c40761fbe is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_ef9b151802e1543cb7c98d1c40761fbe, class_type, is_valid, ); }; + + public: typedef double return_type_3ff5d6aeae9b500daee4500fa6bcd9d2; virtual return_type_3ff5d6aeae9b500daee4500fa6bcd9d2 get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_3ff5d6aeae9b500daee4500fa6bcd9d2, class_type, get_weight, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_54decb3c8cd45099a4ee49e01abbc27d; virtual return_type_54decb3c8cd45099a4ee49e01abbc27d get_event() const override { PYBIND11_OVERLOAD_PURE(return_type_54decb3c8cd45099a4ee49e01abbc27d, class_type, get_event, ); }; }; diff --git a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp index b510e311..982c71d9 100644 --- a/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp +++ b/src/py/wrapper/wrapper_3a6a49079d1b5e9bb815105374e2fc93.cpp @@ -4,7 +4,7 @@ void wrapper_3a6a49079d1b5e9bb815105374e2fc93(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); + pybind11::enum_< ::statiskit::encoding_type > enum_3a6a49079d1b5e9bb815105374e2fc93(module, "encoding_type"); enum_3a6a49079d1b5e9bb815105374e2fc93.value("TREATMENT", ::statiskit::TREATMENT); enum_3a6a49079d1b5e9bb815105374e2fc93.value("DEVIATION", ::statiskit::DEVIATION); enum_3a6a49079d1b5e9bb815105374e2fc93.value("CUMULATIVE", ::statiskit::CUMULATIVE); diff --git a/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp b/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp deleted file mode 100644 index 1bd56674..00000000 --- a/src/py/wrapper/wrapper_3a72e173884155f78c8bc127cca80d9c.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_3a72e173884155f78c8bc127cca80d9c(pybind11::module& module) -{ - - pybind11::class_::Type > class_3a72e173884155f78c8bc127cca80d9c(module, "Init", ""); - class_3a72e173884155f78c8bc127cca80d9c.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp index 55ccca5a..8ba15c7f 100644 --- a/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp +++ b/src/py/wrapper/wrapper_3ae69567ec205969a9f2da364450fd2e.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteEvent::DiscreteEvent; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp b/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp deleted file mode 100644 index b4f21470..00000000 --- a/src/py/wrapper/wrapper_3aedd3fce1c956baaeb85f4606914109.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_3aedd3fce1c956baaeb85f4606914109(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_3aedd3fce1c956baaeb85f4606914109(module, "_PolymorphicCopy_3aedd3fce1c956baaeb85f4606914109", ""); - class_3aedd3fce1c956baaeb85f4606914109.def(pybind11::init< >()); - class_3aedd3fce1c956baaeb85f4606914109.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3c20d73c0a755b41b1b84601a6088406.cpp b/src/py/wrapper/wrapper_3c20d73c0a755b41b1b84601a6088406.cpp new file mode 100644 index 00000000..344cf57a --- /dev/null +++ b/src/py/wrapper/wrapper_3c20d73c0a755b41b1b84601a6088406.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_e434bf925a8b5a578c9ddbdeb918dbaf)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_36cd152334675ce8b92ebc79c6e6e0bf)(enum ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_3c20d73c0a755b41b1b84601a6088406(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > > class_3c20d73c0a755b41b1b84601a6088406(module, "CriterionEstimator", ""); + class_3c20d73c0a755b41b1b84601a6088406.def(pybind11::init< >()); + class_3c20d73c0a755b41b1b84601a6088406.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator const & >()); + class_3c20d73c0a755b41b1b84601a6088406.def("get_criterion", method_pointer_e434bf925a8b5a578c9ddbdeb918dbaf, pybind11::return_value_policy::copy, ""); + class_3c20d73c0a755b41b1b84601a6088406.def("set_criterion", method_pointer_36cd152334675ce8b92ebc79c6e6e0bf, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp b/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp index 239ef207..d6f93be0 100644 --- a/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp +++ b/src/py/wrapper/wrapper_3c3eb4c91b905a988bd9546e804a0d95.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_3c3eb4c91b905a988bd9546e804a0d95(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_3c3eb4c91b905a988bd9546e804a0d95(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > > > class_3c3eb4c91b905a988bd9546e804a0d95(module, "Estimator", ""); class_3c3eb4c91b905a988bd9546e804a0d95.def(pybind11::init< >()); class_3c3eb4c91b905a988bd9546e804a0d95.def(pybind11::init< class ::statiskit::BinomialDistributionMLEstimation::Estimator const & >()); class_3c3eb4c91b905a988bd9546e804a0d95.def("get_force", method_pointer_b9c9fe80edb7575c9c4761d2675e9723, ""); diff --git a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp index eb2c2580..6418e8cb 100644 --- a/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp +++ b/src/py/wrapper/wrapper_3ca8ff4e14d1580fa17364607bc956c4.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::Schedule::Schedule; + + public: typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_7b1ce88d04fc5ffb8e9402122cfa4883; virtual return_type_7b1ce88d04fc5ffb8e9402122cfa4883 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7b1ce88d04fc5ffb8e9402122cfa4883, class_type, copy, ); }; + + public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp index 06c91527..d677334f 100644 --- a/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp +++ b/src/py/wrapper/wrapper_3e3d38965c5e5a02ae621877dba470cf.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSelector::SlopeHeuristicSelector; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_b99a360f77cf53eb8f24401404499387; virtual return_type_b99a360f77cf53eb8f24401404499387 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_b99a360f77cf53eb8f24401404499387, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp b/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp deleted file mode 100644 index c27e325f..00000000 --- a/src/py/wrapper/wrapper_3ea06f62f79c50b5856e5712f2ec8e84.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_bff5a16402e25803b812cbe08e5c15be)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; -double const (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_cd024860cb895bc5b0f984a3868f92ff)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::at_step; - -namespace autowig { -} - -void wrapper_3ea06f62f79c50b5856e5712f2ec8e84(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_3ea06f62f79c50b5856e5712f2ec8e84(module, "_IterativeEstimation_3ea06f62f79c50b5856e5712f2ec8e84", ""); - class_3ea06f62f79c50b5856e5712f2ec8e84.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_3ea06f62f79c50b5856e5712f2ec8e84.def("__len__", method_pointer_bff5a16402e25803b812cbe08e5c15be, ""); - class_3ea06f62f79c50b5856e5712f2ec8e84.def("at_step", method_pointer_cd024860cb895bc5b0f984a3868f92ff, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3f0857f015a9541598a2c047871407a0.cpp b/src/py/wrapper/wrapper_3f0857f015a9541598a2c047871407a0.cpp new file mode 100644 index 00000000..754bf8c5 --- /dev/null +++ b/src/py/wrapper/wrapper_3f0857f015a9541598a2c047871407a0.cpp @@ -0,0 +1,16 @@ +#include "_core.h" + +struct ::statiskit::ContinuousUnivariateDistribution const * (::statiskit::SlopeHeuristicSelection< ::statiskit::UnivariateHistogramDistributionEstimation >::*method_pointer_4f425c6e263b508c80c85c41bcc13e82)(::statiskit::Index const &)const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation >::get_proposal; + +namespace autowig { +} + +void wrapper_3f0857f015a9541598a2c047871407a0(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > >::Type, class ::statiskit::SlopeHeuristic, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation >, struct ::statiskit::UnivariateHistogramDistributionEstimation > > class_3f0857f015a9541598a2c047871407a0(module, "_SlopeHeuristicSelection_3f0857f015a9541598a2c047871407a0", ""); + class_3f0857f015a9541598a2c047871407a0.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + class_3f0857f015a9541598a2c047871407a0.def(pybind11::init< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > const & >()); + class_3f0857f015a9541598a2c047871407a0.def("get_proposal", method_pointer_4f425c6e263b508c80c85c41bcc13e82, pybind11::return_value_policy::reference_internal, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp index c7b40102..83fc764c 100644 --- a/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp +++ b/src/py/wrapper/wrapper_3ff582522b0d5915b638d6939794ff66.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GeometricDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4579508d23c3536f82668a24b2842db4; - virtual return_type_4579508d23c3536f82668a24b2842db4 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4579508d23c3536f82668a24b2842db4, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp index b459bd1b..7cbcab21 100644 --- a/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp +++ b/src/py/wrapper/wrapper_4045395044115f8ca0008a4001f465bf.cpp @@ -9,19 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_821c6dc1536755f6ab282e83be065e39; - virtual return_type_821c6dc1536755f6ab282e83be065e39 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_821c6dc1536755f6ab282e83be065e39, class_type, copy, ); }; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f29c0026008c59ff9139a939b30969fd; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::data_type const & param_f29c0026008c59ff9139a939b30969fd_0_type; - virtual return_type_f29c0026008c59ff9139a939b30969fd operator()(param_f29c0026008c59ff9139a939b30969fd_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f29c0026008c59ff9139a939b30969fd, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp index 08225f4a..64e75559 100644 --- a/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp +++ b/src/py/wrapper/wrapper_4091fe7ebaea5a58bb732192d7661dce.cpp @@ -4,7 +4,7 @@ void wrapper_4091fe7ebaea5a58bb732192d7661dce(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); + pybind11::enum_< ::statiskit::outcome_type > enum_4091fe7ebaea5a58bb732192d7661dce(module, "outcome_type"); enum_4091fe7ebaea5a58bb732192d7661dce.value("CATEGORICAL", ::statiskit::outcome_type::CATEGORICAL); enum_4091fe7ebaea5a58bb732192d7661dce.value("DISCRETE", ::statiskit::outcome_type::DISCRETE); enum_4091fe7ebaea5a58bb732192d7661dce.value("CONTINUOUS", ::statiskit::outcome_type::CONTINUOUS); diff --git a/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp b/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp deleted file mode 100644 index 0642a32c..00000000 --- a/src/py/wrapper/wrapper_4143f1db036e5bbdbba0a64045946862.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_4143f1db036e5bbdbba0a64045946862(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > > class_4143f1db036e5bbdbba0a64045946862(module, "WZ99Estimator", ""); - class_4143f1db036e5bbdbba0a64045946862.def(pybind11::init< >()); - class_4143f1db036e5bbdbba0a64045946862.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp index 572241f9..45afccb9 100644 --- a/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp +++ b/src/py/wrapper/wrapper_41e812da3d3654cd9fb33041c3acf25f.cpp @@ -9,19 +9,24 @@ namespace autowig public: using ::statiskit::UnivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; }; } -class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > (::statiskit::UnivariateDistributionEstimation::Estimator::*method_pointer_47877b68ac8c5802b57686bea7f9f547)(struct ::statiskit::MultivariateData const &, ::statiskit::Index const &)const= &::statiskit::UnivariateDistributionEstimation::Estimator::operator(); namespace autowig { } @@ -31,6 +36,5 @@ void wrapper_41e812da3d3654cd9fb33041c3acf25f(pybind11::module& module) pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > class_41e812da3d3654cd9fb33041c3acf25f(module, "Estimator", ""); class_41e812da3d3654cd9fb33041c3acf25f.def(pybind11::init< >()); - class_41e812da3d3654cd9fb33041c3acf25f.def("__call__", method_pointer_47877b68ac8c5802b57686bea7f9f547, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_424fd1f865585368a48c0e974d140252.cpp b/src/py/wrapper/wrapper_424fd1f865585368a48c0e974d140252.cpp new file mode 100644 index 00000000..7abfbf49 --- /dev/null +++ b/src/py/wrapper/wrapper_424fd1f865585368a48c0e974d140252.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::BinomialDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::BinomialDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_424fd1f865585368a48c0e974d140252(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_424fd1f865585368a48c0e974d140252(module, "Estimator", ""); + class_424fd1f865585368a48c0e974d140252.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4.cpp b/src/py/wrapper/wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4.cpp new file mode 100644 index 00000000..d895024f --- /dev/null +++ b/src/py/wrapper/wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_4357ddfd7a1d5c56ac3bd75f189c18d4(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_4357ddfd7a1d5c56ac3bd75f189c18d4(module, "NegativeBinomialDistributionEstimation", ""); + class_4357ddfd7a1d5c56ac3bd75f189c18d4.def(pybind11::init< >()); + class_4357ddfd7a1d5c56ac3bd75f189c18d4.def(pybind11::init< struct ::statiskit::NegativeBinomialDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp index ab2759fc..94cb48b3 100644 --- a/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp +++ b/src/py/wrapper/wrapper_4420321c5ba25609a5915044efb89bc8.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_5d3f64c7b82a51eaa8309b86131106e6; - virtual return_type_5d3f64c7b82a51eaa8309b86131106e6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5d3f64c7b82a51eaa8309b86131106e6, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_44dd5352a62558a2b747205bcccc2c85.cpp b/src/py/wrapper/wrapper_44dd5352a62558a2b747205bcccc2c85.cpp new file mode 100644 index 00000000..c14722b5 --- /dev/null +++ b/src/py/wrapper/wrapper_44dd5352a62558a2b747205bcccc2c85.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_44dd5352a62558a2b747205bcccc2c85(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_44dd5352a62558a2b747205bcccc2c85(module, "criterion_type"); + enum_44dd5352a62558a2b747205bcccc2c85.value("AIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_44dd5352a62558a2b747205bcccc2c85.value("AI_CC", ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_44dd5352a62558a2b747205bcccc2c85.value("BIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_44dd5352a62558a2b747205bcccc2c85.value("HQIC", ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_44dd5352a62558a2b747205bcccc2c85.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4.cpp b/src/py/wrapper/wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4.cpp new file mode 100644 index 00000000..2bad583d --- /dev/null +++ b/src/py/wrapper/wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_2a4896d157da5ec4bbe35de1b80e110d)()const= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_32b0d2c3008c537c9c8d671a1db17f32)(double const &)= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_06ca6354446350fe8fce4032c06ed642)()const= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_73bf532da5295f0598a00dd789b42653)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_6d09aeb68d885198bc9fe38c95284735)()const= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::*method_pointer_094ac400f6bc5588a5a7b72c6635a068)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_44ecbd8e3dde5fd9927c4ef097bcbba4(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > >::Type, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > class_44ecbd8e3dde5fd9927c4ef097bcbba4(module, "_Optimization_44ecbd8e3dde5fd9927c4ef097bcbba4", ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def(pybind11::init< >()); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("get_mindiff", method_pointer_2a4896d157da5ec4bbe35de1b80e110d, pybind11::return_value_policy::copy, ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("set_mindiff", method_pointer_32b0d2c3008c537c9c8d671a1db17f32, ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("get_minits", method_pointer_06ca6354446350fe8fce4032c06ed642, ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("set_minits", method_pointer_73bf532da5295f0598a00dd789b42653, ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("get_maxits", method_pointer_6d09aeb68d885198bc9fe38c95284735, ""); + class_44ecbd8e3dde5fd9927c4ef097bcbba4.def("set_maxits", method_pointer_094ac400f6bc5588a5a7b72c6635a068, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp index aa0abd35..f64a0db9 100644 --- a/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp +++ b/src/py/wrapper/wrapper_4540538b16205d90be33cf08feed0673.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::MultivariateDistribution::MultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3.cpp b/src/py/wrapper/wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3.cpp new file mode 100644 index 00000000..59cbf30d --- /dev/null +++ b/src/py/wrapper/wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_dbb676a3a1445ba9bd529cd6856599a1; + typedef struct ::statiskit::ContinuousUnivariateDistribution const * param_dbb676a3a1445ba9bd529cd6856599a1_0_type; + typedef struct ::statiskit::UnivariateData const & param_dbb676a3a1445ba9bd529cd6856599a1_1_type; + virtual return_type_dbb676a3a1445ba9bd529cd6856599a1 scoring(param_dbb676a3a1445ba9bd529cd6856599a1_0_type param_0, param_dbb676a3a1445ba9bd529cd6856599a1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dbb676a3a1445ba9bd529cd6856599a1, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_45ef03239c8a51d0b1f396ab9e7a0cc3(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > class_45ef03239c8a51d0b1f396ab9e7a0cc3(module, "_PolymorphicCopy_45ef03239c8a51d0b1f396ab9e7a0cc3", ""); + class_45ef03239c8a51d0b1f396ab9e7a0cc3.def(pybind11::init< >()); + class_45ef03239c8a51d0b1f396ab9e7a0cc3.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::ContinuousUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp index 88855857..1e06d7c7 100644 --- a/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp +++ b/src/py/wrapper/wrapper_4637f9b5c7175ff0880fd325a6eca119.cpp @@ -9,15 +9,26 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef void return_type_9922ed8b4e6d52969dede35f73d6a80e; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_9922ed8b4e6d52969dede35f73d6a80e_0_type; + virtual return_type_9922ed8b4e6d52969dede35f73d6a80e check(param_9922ed8b4e6d52969dede35f73d6a80e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_9922ed8b4e6d52969dede35f73d6a80e, class_type, check, param_0); }; + + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; }; @@ -25,6 +36,7 @@ namespace autowig class Publicist : public class_type { public: + using class_type::check; using class_type::operator(); }; } @@ -40,6 +52,7 @@ void wrapper_4637f9b5c7175ff0880fd325a6eca119(pybind11::module& module) pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > class_4637f9b5c7175ff0880fd325a6eca119(module, "Estimator", ""); class_4637f9b5c7175ff0880fd325a6eca119.def(pybind11::init< >()); class_4637f9b5c7175ff0880fd325a6eca119.def("__call__", method_pointer_45ab5c9717535df895abfb6127f37c74, ""); + class_4637f9b5c7175ff0880fd325a6eca119.def("_check", static_cast< void (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &) const >(&autowig::Publicist::check), ""); class_4637f9b5c7175ff0880fd325a6eca119.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp b/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp deleted file mode 100644 index d8db933d..00000000 --- a/src/py/wrapper/wrapper_4698a0332a6a5c80ba9d7ffbcd83563e.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_4698a0332a6a5c80ba9d7ffbcd83563e(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_4698a0332a6a5c80ba9d7ffbcd83563e(module, "_PolymorphicCopy_4698a0332a6a5c80ba9d7ffbcd83563e", ""); - class_4698a0332a6a5c80ba9d7ffbcd83563e.def(pybind11::init< >()); - class_4698a0332a6a5c80ba9d7ffbcd83563e.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_473cd20a43ee5719a63dbc2dd9fa4d67.cpp b/src/py/wrapper/wrapper_473cd20a43ee5719a63dbc2dd9fa4d67.cpp new file mode 100644 index 00000000..58bcdaa1 --- /dev/null +++ b/src/py/wrapper/wrapper_473cd20a43ee5719a63dbc2dd9fa4d67.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_5a1078c41eb35e27829c3455314ed0f1)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_caa454955c0e55dfbcb9fed000d64ee4)(enum ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_473cd20a43ee5719a63dbc2dd9fa4d67(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > > class_473cd20a43ee5719a63dbc2dd9fa4d67(module, "CriterionEstimator", ""); + class_473cd20a43ee5719a63dbc2dd9fa4d67.def(pybind11::init< >()); + class_473cd20a43ee5719a63dbc2dd9fa4d67.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator const & >()); + class_473cd20a43ee5719a63dbc2dd9fa4d67.def("get_criterion", method_pointer_5a1078c41eb35e27829c3455314ed0f1, pybind11::return_value_policy::copy, ""); + class_473cd20a43ee5719a63dbc2dd9fa4d67.def("set_criterion", method_pointer_caa454955c0e55dfbcb9fed000d64ee4, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4752abe84a84542f838662fe8e94f937.cpp b/src/py/wrapper/wrapper_4752abe84a84542f838662fe8e94f937.cpp new file mode 100644 index 00000000..8b798b19 --- /dev/null +++ b/src/py/wrapper/wrapper_4752abe84a84542f838662fe8e94f937.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_70e1e3815b605a349e0788f7adf50a7b)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::*method_pointer_6010faf121b7514fbe9d0374f4060785)(enum ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_4752abe84a84542f838662fe8e94f937(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > > class_4752abe84a84542f838662fe8e94f937(module, "CriterionEstimator", ""); + class_4752abe84a84542f838662fe8e94f937.def(pybind11::init< >()); + class_4752abe84a84542f838662fe8e94f937.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator const & >()); + class_4752abe84a84542f838662fe8e94f937.def("get_criterion", method_pointer_70e1e3815b605a349e0788f7adf50a7b, pybind11::return_value_policy::copy, ""); + class_4752abe84a84542f838662fe8e94f937.def("set_criterion", method_pointer_6010faf121b7514fbe9d0374f4060785, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp index f7f18697..e0a84fb2 100644 --- a/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp +++ b/src/py/wrapper/wrapper_484cc9c9d3f856c7aa18f642966f14a9.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateDispersionEstimation::Estimator > > return_type_8f20422aab135f9fb601488df3d82cfa; virtual return_type_8f20422aab135f9fb601488df3d82cfa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8f20422aab135f9fb601488df3d82cfa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_4e882ea0348e56a2816e3f3d20b8b14f; typedef struct ::statiskit::UnivariateData const & param_4e882ea0348e56a2816e3f3d20b8b14f_0_type; typedef double const & param_4e882ea0348e56a2816e3f3d20b8b14f_1_type; diff --git a/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp b/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp deleted file mode 100644 index a71271b9..00000000 --- a/src/py/wrapper/wrapper_488de6b23c2d582c8382ac19e518b6a8.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "_core.h" - -bool (::std::ctype< char >::*method_pointer_9dd924e9316e5530bf52d195c4a12410)(::std::ctype_base::mask , char )const= &::std::ctype< char >::is; -::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_257942a509e35d0d9ebec35f44bdc3a9)(::std::ctype< char >::char_type )const= &::std::ctype< char >::toupper; -::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_de1db92fef075cff9ae73cb8c7cd384a)(::std::ctype< char >::char_type )const= &::std::ctype< char >::tolower; -::std::ctype< char >::char_type (::std::ctype< char >::*method_pointer_c07755c6029c5d788287a798b839abc5)(char )const= &::std::ctype< char >::widen; -char (::std::ctype< char >::*method_pointer_625e9e2026b75458b11f4355faaa4269)(::std::ctype< char >::char_type , char )const= &::std::ctype< char >::narrow; - -namespace autowig { -} - -void wrapper_488de6b23c2d582c8382ac19e518b6a8(pybind11::module& module) -{ - - pybind11::class_, autowig::NoDeleteHolderType< class ::std::ctype< char > >::Type, class ::std::locale::facet, struct ::std::ctype_base > class_488de6b23c2d582c8382ac19e518b6a8(module, "_Ctype_488de6b23c2d582c8382ac19e518b6a8", ""); - class_488de6b23c2d582c8382ac19e518b6a8.def("is", method_pointer_9dd924e9316e5530bf52d195c4a12410, ""); - class_488de6b23c2d582c8382ac19e518b6a8.def("toupper", method_pointer_257942a509e35d0d9ebec35f44bdc3a9, ""); - class_488de6b23c2d582c8382ac19e518b6a8.def("tolower", method_pointer_de1db92fef075cff9ae73cb8c7cd384a, ""); - class_488de6b23c2d582c8382ac19e518b6a8.def("widen", method_pointer_c07755c6029c5d788287a798b839abc5, ""); - class_488de6b23c2d582c8382ac19e518b6a8.def("narrow", method_pointer_625e9e2026b75458b11f4355faaa4269, ""); - class_488de6b23c2d582c8382ac19e518b6a8.def_readonly_static("table_size", &::std::ctype< char >::table_size, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_49dfb39737405be290daa8d01a59004a.cpp b/src/py/wrapper/wrapper_49dfb39737405be290daa8d01a59004a.cpp new file mode 100644 index 00000000..92f2262b --- /dev/null +++ b/src/py/wrapper/wrapper_49dfb39737405be290daa8d01a59004a.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::NegativeMultinomialDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_49dfb39737405be290daa8d01a59004a(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_49dfb39737405be290daa8d01a59004a(module, "Estimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_49ff240b938d573e852420ed949939a2.cpp b/src/py/wrapper/wrapper_49ff240b938d573e852420ed949939a2.cpp new file mode 100644 index 00000000..e39efff9 --- /dev/null +++ b/src/py/wrapper/wrapper_49ff240b938d573e852420ed949939a2.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_49ff240b938d573e852420ed949939a2(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionClassicEstimation, struct ::statiskit::UnivariateHistogramDistributionEstimation > >::Type, struct ::statiskit::UnivariateHistogramDistributionEstimation > class_49ff240b938d573e852420ed949939a2(module, "_PolymorphicCopy_49ff240b938d573e852420ed949939a2", ""); + class_49ff240b938d573e852420ed949939a2.def(pybind11::init< >()); + class_49ff240b938d573e852420ed949939a2.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionClassicEstimation, struct ::statiskit::UnivariateHistogramDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4a0047f6ae1a562c9758824adf6bdc45.cpp b/src/py/wrapper/wrapper_4a0047f6ae1a562c9758824adf6bdc45.cpp new file mode 100644 index 00000000..8ec412b2 --- /dev/null +++ b/src/py/wrapper/wrapper_4a0047f6ae1a562c9758824adf6bdc45.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_9af191b5983e5312b89d8b7f081446eb)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; +struct ::statiskit::DiscreteMultivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_8479c4be56755909b283bc3502a85a3e)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_96a916120a595b8c8989119023878f20)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_4a0047f6ae1a562c9758824adf6bdc45(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_4a0047f6ae1a562c9758824adf6bdc45(module, "_Selection_4a0047f6ae1a562c9758824adf6bdc45", ""); + class_4a0047f6ae1a562c9758824adf6bdc45.def(pybind11::init< >()); + class_4a0047f6ae1a562c9758824adf6bdc45.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); + class_4a0047f6ae1a562c9758824adf6bdc45.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); + class_4a0047f6ae1a562c9758824adf6bdc45.def("__len__", method_pointer_9af191b5983e5312b89d8b7f081446eb, ""); + class_4a0047f6ae1a562c9758824adf6bdc45.def("get_estimation", method_pointer_8479c4be56755909b283bc3502a85a3e, pybind11::return_value_policy::reference_internal, ""); + class_4a0047f6ae1a562c9758824adf6bdc45.def("get_score", method_pointer_96a916120a595b8c8989119023878f20, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a.cpp b/src/py/wrapper/wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a.cpp new file mode 100644 index 00000000..aef08ccf --- /dev/null +++ b/src/py/wrapper/wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_4ad5d715fa7758bb9c2f44cbc2e7b43a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > >::Type, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_4ad5d715fa7758bb9c2f44cbc2e7b43a(module, "_PolymorphicCopy_4ad5d715fa7758bb9c2f44cbc2e7b43a", ""); + class_4ad5d715fa7758bb9c2f44cbc2e7b43a.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp index 53197069..54ab9298 100644 --- a/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp +++ b/src/py/wrapper/wrapper_4b5bca62b7795925980272db0dce9ae7.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_1306ea6a26b758598edecb2c09123293; - virtual return_type_1306ea6a26b758598edecb2c09123293 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1306ea6a26b758598edecb2c09123293, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_4bb662287d1550c7b426d928afffbc0f.cpp b/src/py/wrapper/wrapper_4bb662287d1550c7b426d928afffbc0f.cpp new file mode 100644 index 00000000..2af2c065 --- /dev/null +++ b/src/py/wrapper/wrapper_4bb662287d1550c7b426d928afffbc0f.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::ContinuousMultivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; + typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; + virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; + typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; + virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_4bb662287d1550c7b426d928afffbc0f(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_4bb662287d1550c7b426d928afffbc0f(module, "Estimator", ""); + class_4bb662287d1550c7b426d928afffbc0f.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4ec7ef936ad45be98bd61fcd15540f56.cpp b/src/py/wrapper/wrapper_4ec7ef936ad45be98bd61fcd15540f56.cpp new file mode 100644 index 00000000..5295a557 --- /dev/null +++ b/src/py/wrapper/wrapper_4ec7ef936ad45be98bd61fcd15540f56.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_4ec7ef936ad45be98bd61fcd15540f56(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_4ec7ef936ad45be98bd61fcd15540f56(module, "criterion_type"); + enum_4ec7ef936ad45be98bd61fcd15540f56.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_4ec7ef936ad45be98bd61fcd15540f56.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_4ec7ef936ad45be98bd61fcd15540f56.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_4ec7ef936ad45be98bd61fcd15540f56.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_4ec7ef936ad45be98bd61fcd15540f56.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp b/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp deleted file mode 100644 index b77cdbf0..00000000 --- a/src/py/wrapper/wrapper_4f02856d2af15e4ba0bc8f413558566d.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_4f02856d2af15e4ba0bc8f413558566d(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_4f02856d2af15e4ba0bc8f413558566d(module, "_PolymorphicCopy_4f02856d2af15e4ba0bc8f413558566d", ""); - class_4f02856d2af15e4ba0bc8f413558566d.def(pybind11::init< >()); - class_4f02856d2af15e4ba0bc8f413558566d.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp b/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp deleted file mode 100644 index 0feff1e8..00000000 --- a/src/py/wrapper/wrapper_4f08e906137d58128853d1fc5d729fae.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "_core.h" - -unsigned int const & (::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_56fd39a8f6ed53729ecdf0bdc9056334)()const= &::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_maxbins; -void (::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_ab8822cd4ed254e096080344d300b6f5)(unsigned int const &)= &::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_maxbins; -double const & (::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_800f246c8e0d5a1590849e387716468a)()const= &::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::get_constant; -void (::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::*method_pointer_921e32d4784b551ba85952b033e54e95)(double const &)= &::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator::set_constant; - -namespace autowig { -} - -void wrapper_4f08e906137d58128853d1fc5d729fae(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_4f08e906137d58128853d1fc5d729fae(module, "Estimator", ""); - class_4f08e906137d58128853d1fc5d729fae.def(pybind11::init< >()); - class_4f08e906137d58128853d1fc5d729fae.def(pybind11::init< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator const & >()); - class_4f08e906137d58128853d1fc5d729fae.def("get_maxbins", method_pointer_56fd39a8f6ed53729ecdf0bdc9056334, pybind11::return_value_policy::copy, ""); - class_4f08e906137d58128853d1fc5d729fae.def("set_maxbins", method_pointer_ab8822cd4ed254e096080344d300b6f5, ""); - class_4f08e906137d58128853d1fc5d729fae.def("get_constant", method_pointer_800f246c8e0d5a1590849e387716468a, pybind11::return_value_policy::copy, ""); - class_4f08e906137d58128853d1fc5d729fae.def("set_constant", method_pointer_921e32d4784b551ba85952b033e54e95, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_4f57d631afda50d08d8ab83ad3f246f4.cpp b/src/py/wrapper/wrapper_4f57d631afda50d08d8ab83ad3f246f4.cpp new file mode 100644 index 00000000..5cfad495 --- /dev/null +++ b/src/py/wrapper/wrapper_4f57d631afda50d08d8ab83ad3f246f4.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation::Estimator, ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation::Estimator, ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_4f57d631afda50d08d8ab83ad3f246f4(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionWZ99Estimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > > class_4f57d631afda50d08d8ab83ad3f246f4(module, "_PolymorphicCopy_4f57d631afda50d08d8ab83ad3f246f4", ""); + class_4f57d631afda50d08d8ab83ad3f246f4.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp index 1bbf1be8..f760711d 100644 --- a/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp +++ b/src/py/wrapper/wrapper_50d5d8b88c0d5eeea2e382dc4626754a.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation, class ::statiskit::MultivariateDispersionEstimation >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_8a436d12ab5b5208bc42aeddda52b0a5; - virtual return_type_8a436d12ab5b5208bc42aeddda52b0a5 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8a436d12ab5b5208bc42aeddda52b0a5, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & return_type_f90e89297ac2541ca0716c5f01e71bb0; virtual return_type_f90e89297ac2541ca0716c5f01e71bb0 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_f90e89297ac2541ca0716c5f01e71bb0, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp index cb3f9e08..3abe6574 100644 --- a/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp +++ b/src/py/wrapper/wrapper_513f1e95007657ac9d8f70c0a2356aac.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_462d8e5c1a2858b99c356b0a0f27f99b; - virtual return_type_462d8e5c1a2858b99c356b0a0f27f99b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_462d8e5c1a2858b99c356b0a0f27f99b, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp index 4143eef2..3cf3f392 100644 --- a/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp +++ b/src/py/wrapper/wrapper_5186497276525dcc88f6e6e8b313d2af.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::SlopeHeuristicSolver::SlopeHeuristicSolver; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1.cpp b/src/py/wrapper/wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1.cpp new file mode 100644 index 00000000..de96e9e1 --- /dev/null +++ b/src/py/wrapper/wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_51ea28dd67c25a1d9fd728c9c81fc5d1(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_51ea28dd67c25a1d9fd728c9c81fc5d1(module, "criterion_type"); + enum_51ea28dd67c25a1d9fd728c9c81fc5d1.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_51ea28dd67c25a1d9fd728c9c81fc5d1.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_51ea28dd67c25a1d9fd728c9c81fc5d1.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_51ea28dd67c25a1d9fd728c9c81fc5d1.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_51ea28dd67c25a1d9fd728c9c81fc5d1.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp index 489f8a5a..afbfda4f 100644 --- a/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp +++ b/src/py/wrapper/wrapper_5266ea37de9b57c680d01c7fb2421e89.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_ffce55afea5f570493a51fd8162ce484; - virtual return_type_ffce55afea5f570493a51fd8162ce484 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffce55afea5f570493a51fd8162ce484, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp index 7f0196c3..99dfb5cc 100644 --- a/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp +++ b/src/py/wrapper/wrapper_54cf6a9a8b6f55e88b9761ceaf79ba3f.cpp @@ -9,30 +9,44 @@ namespace autowig public: using ::statiskit::ContinuousUnivariateDistribution::ContinuousUnivariateDistribution; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp index 8e7282fe..6f8f7d61 100644 --- a/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp +++ b/src/py/wrapper/wrapper_5517439c40d6505682aa2e58ed6cea33.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateLocationEstimation::MultivariateLocationEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_cb99710039d950ecbfd26547709627ec; virtual return_type_cb99710039d950ecbfd26547709627ec copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_cb99710039d950ecbfd26547709627ec, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp index 42048f66..3ee82836 100644 --- a/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp +++ b/src/py/wrapper/wrapper_551c927628b651a19489817a39ededb8.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_a205addf42fc5a04a93a767ffca67641; - virtual return_type_a205addf42fc5a04a93a767ffca67641 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a205addf42fc5a04a93a767ffca67641, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp b/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp deleted file mode 100644 index 7c82f97e..00000000 --- a/src/py/wrapper/wrapper_55903cb2e67650868a4cd698632375c1.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_090805dc0a4a5d56a6db0e2707d06cc6; - virtual return_type_090805dc0a4a5d56a6db0e2707d06cc6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_090805dc0a4a5d56a6db0e2707d06cc6, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_55903cb2e67650868a4cd698632375c1(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_55903cb2e67650868a4cd698632375c1(module, "_PolymorphicCopy_55903cb2e67650868a4cd698632375c1", ""); - class_55903cb2e67650868a4cd698632375c1.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp b/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp deleted file mode 100644 index cb7ca93c..00000000 --- a/src/py/wrapper/wrapper_5647113ef4105dfab0588ffcaf6c479b.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -::std::streamsize (::std::ios_base::*method_pointer_48b849583ebd5cffb48df9fffa5c39e4)()const= &::std::ios_base::precision; -::std::streamsize (::std::ios_base::*method_pointer_7dce16c0188457d496873f7f8411c53d)(::std::streamsize )= &::std::ios_base::precision; -::std::streamsize (::std::ios_base::*method_pointer_f9a9622f5d14595aad7b0ff13aac72ad)()const= &::std::ios_base::width; -::std::streamsize (::std::ios_base::*method_pointer_eafd237d52e0502c9eae565718817c85)(::std::streamsize )= &::std::ios_base::width; -bool (*method_pointer_642ee2614f1a5ca5a34ee6ccea5b0b39)(bool )= ::std::ios_base::sync_with_stdio; -class ::std::locale (::std::ios_base::*method_pointer_5b6536b65c305eb8b11844e126b6799e)(class ::std::locale const &)= &::std::ios_base::imbue; -class ::std::locale (::std::ios_base::*method_pointer_7abb1da4ca8651bfa91319be26c40f5d)()const= &::std::ios_base::getloc; -class ::std::locale const & (::std::ios_base::*method_pointer_44e9c3dcf1c65e0c84afee91c1927f70)()const= &::std::ios_base::_M_getloc; -int (*method_pointer_08afc6a17c1d570481821132c7e45e80)()= ::std::ios_base::xalloc; -long int & (::std::ios_base::*method_pointer_4152bddb47d352a08f31cb74e24a1918)(int )= &::std::ios_base::iword; - -namespace autowig { - void method_decorator_4152bddb47d352a08f31cb74e24a1918(class ::std::ios_base & instance, int param_in_0, long int param_out) { instance.iword(param_in_0) = param_out; } -} - -void wrapper_5647113ef4105dfab0588ffcaf6c479b(pybind11::module& module) -{ - - pybind11::class_::Type > class_5647113ef4105dfab0588ffcaf6c479b(module, "IosBase", ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("precision", method_pointer_48b849583ebd5cffb48df9fffa5c39e4, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("precision", method_pointer_7dce16c0188457d496873f7f8411c53d, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("width", method_pointer_f9a9622f5d14595aad7b0ff13aac72ad, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("width", method_pointer_eafd237d52e0502c9eae565718817c85, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def_static("sync_with_stdio", method_pointer_642ee2614f1a5ca5a34ee6ccea5b0b39, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("imbue", method_pointer_5b6536b65c305eb8b11844e126b6799e, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("getloc", method_pointer_7abb1da4ca8651bfa91319be26c40f5d, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("m__getloc", method_pointer_44e9c3dcf1c65e0c84afee91c1927f70, pybind11::return_value_policy::copy, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def_static("xalloc", method_pointer_08afc6a17c1d570481821132c7e45e80, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("iword", method_pointer_4152bddb47d352a08f31cb74e24a1918, pybind11::return_value_policy::copy, ""); - class_5647113ef4105dfab0588ffcaf6c479b.def("iword", autowig::method_decorator_4152bddb47d352a08f31cb74e24a1918); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5709c2f49861546cb165b457503824cc.cpp b/src/py/wrapper/wrapper_5709c2f49861546cb165b457503824cc.cpp new file mode 100644 index 00000000..11784371 --- /dev/null +++ b/src/py/wrapper/wrapper_5709c2f49861546cb165b457503824cc.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_5709c2f49861546cb165b457503824cc(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousMultivariateDistributionEstimation > class_5709c2f49861546cb165b457503824cc(module, "_PolymorphicCopy_5709c2f49861546cb165b457503824cc", ""); + class_5709c2f49861546cb165b457503824cc.def(pybind11::init< >()); + class_5709c2f49861546cb165b457503824cc.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_57facc3e421b57a98d33df52929292ad.cpp b/src/py/wrapper/wrapper_57facc3e421b57a98d33df52929292ad.cpp new file mode 100644 index 00000000..5a2b2c34 --- /dev/null +++ b/src/py/wrapper/wrapper_57facc3e421b57a98d33df52929292ad.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_57facc3e421b57a98d33df52929292ad(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > > class_57facc3e421b57a98d33df52929292ad(module, "_PolymorphicCopy_57facc3e421b57a98d33df52929292ad", ""); + class_57facc3e421b57a98d33df52929292ad.def(pybind11::init< >()); + class_57facc3e421b57a98d33df52929292ad.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp b/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp deleted file mode 100644 index a5fad52f..00000000 --- a/src/py/wrapper/wrapper_5881d40c671d5a6eaeba5e461dc55622.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_5881d40c671d5a6eaeba5e461dc55622(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_5881d40c671d5a6eaeba5e461dc55622(module, "_PolymorphicCopy_5881d40c671d5a6eaeba5e461dc55622", ""); - class_5881d40c671d5a6eaeba5e461dc55622.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::IrregularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp index 323667d0..d69b8bac 100644 --- a/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp +++ b/src/py/wrapper/wrapper_5b5f1c1f4aa852eab398cea6df20fee2.cpp @@ -9,32 +9,45 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::MultivariateData >::WeightedData; + + public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; - virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; } -struct ::statiskit::MultivariateSampleSpace const * (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_b5f43de177835cf7a8332223a0439efa)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_sample_space; struct ::statiskit::MultivariateData const * (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_0ff6cd4afd5d5c6bafd6a862adb38410)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::origin; ::statiskit::Index (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_2ce657ba87ce5daf9e0bc47c5dc1432e)()const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_nb_weights; double (::statiskit::WeightedData< ::statiskit::MultivariateData >::*method_pointer_7da327a8236953bdbdbe7d839fab134b)(::statiskit::Index const &)const= &::statiskit::WeightedData< struct ::statiskit::MultivariateData >::get_weight; @@ -48,7 +61,6 @@ void wrapper_5b5f1c1f4aa852eab398cea6df20fee2(pybind11::module& module) pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::WeightedData< struct ::statiskit::MultivariateData > >::Type, struct ::statiskit::MultivariateData > class_5b5f1c1f4aa852eab398cea6df20fee2(module, "_WeightedData_5b5f1c1f4aa852eab398cea6df20fee2", ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def(pybind11::init< struct ::statiskit::MultivariateData const & >()); - class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_sample_space", method_pointer_b5f43de177835cf7a8332223a0439efa, pybind11::return_value_policy::reference_internal, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("origin", method_pointer_0ff6cd4afd5d5c6bafd6a862adb38410, pybind11::return_value_policy::reference_internal, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_nb_weights", method_pointer_2ce657ba87ce5daf9e0bc47c5dc1432e, ""); class_5b5f1c1f4aa852eab398cea6df20fee2.def("get_weight", method_pointer_7da327a8236953bdbdbe7d839fab134b, ""); diff --git a/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp index c438e833..8c86dd02 100644 --- a/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp +++ b/src/py/wrapper/wrapper_5cf53138947354ddb9f4e01b4b221762.cpp @@ -9,17 +9,23 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DirichletMultinomialSingularDistribution, struct ::statiskit::SingularDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_84c0dfb9da60545c87cc3c8bf25dc369; - virtual return_type_84c0dfb9da60545c87cc3c8bf25dc369 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_84c0dfb9da60545c87cc3c8bf25dc369, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp b/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp deleted file mode 100644 index cf513cff..00000000 --- a/src/py/wrapper/wrapper_5ed6f55d014d5a74a1d1acafef440cde.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::IterativeEstimation< unsigned int, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_a74cb2405bc152ebabe44883247057ce)()const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::size; -unsigned int const (::statiskit::IterativeEstimation< unsigned int, ::statiskit::DiscreteUnivariateDistributionEstimation >::*method_pointer_3959405db584517a8238c988a5f67a83)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::at_step; - -namespace autowig { -} - -void wrapper_5ed6f55d014d5a74a1d1acafef440cde(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_5ed6f55d014d5a74a1d1acafef440cde(module, "_IterativeEstimation_5ed6f55d014d5a74a1d1acafef440cde", ""); - class_5ed6f55d014d5a74a1d1acafef440cde.def(pybind11::init< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); - class_5ed6f55d014d5a74a1d1acafef440cde.def("__len__", method_pointer_a74cb2405bc152ebabe44883247057ce, ""); - class_5ed6f55d014d5a74a1d1acafef440cde.def("at_step", method_pointer_3959405db584517a8238c988a5f67a83, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp index 77e30a1d..41b01089 100644 --- a/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp +++ b/src/py/wrapper/wrapper_622b4b6c4fef5b119cba23181cff6cf6.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::ContinuousMultivariateDistribution::ContinuousMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_63009220d99c5a15af7379e6f8123f66.cpp b/src/py/wrapper/wrapper_63009220d99c5a15af7379e6f8123f66.cpp new file mode 100644 index 00000000..392eb322 --- /dev/null +++ b/src/py/wrapper/wrapper_63009220d99c5a15af7379e6f8123f66.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_78996ca7fa9d5ebead3e3c6a72db16ee; + typedef struct ::statiskit::DiscreteUnivariateDistribution const * param_78996ca7fa9d5ebead3e3c6a72db16ee_0_type; + typedef struct ::statiskit::UnivariateData const & param_78996ca7fa9d5ebead3e3c6a72db16ee_1_type; + virtual return_type_78996ca7fa9d5ebead3e3c6a72db16ee scoring(param_78996ca7fa9d5ebead3e3c6a72db16ee_0_type param_0, param_78996ca7fa9d5ebead3e3c6a72db16ee_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_78996ca7fa9d5ebead3e3c6a72db16ee, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_d5b7cd65f46a575786fb2ca4cc5f6324)()const= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::size; +class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_e0edc769d0755c2385358a38e4020e18)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_c4f03ec37f845e8394096d0061b43a16)(::statiskit::Index const &, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_f376e01830015b27be1db88df0451951)(class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*method_pointer_a3a541a3d19d5fd3ac9b5fdbd00119d6)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_63009220d99c5a15af7379e6f8123f66(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_63009220d99c5a15af7379e6f8123f66(module, "Estimator", ""); + class_63009220d99c5a15af7379e6f8123f66.def(pybind11::init< >()); + class_63009220d99c5a15af7379e6f8123f66.def("__len__", method_pointer_d5b7cd65f46a575786fb2ca4cc5f6324, ""); + class_63009220d99c5a15af7379e6f8123f66.def("get_estimator", method_pointer_e0edc769d0755c2385358a38e4020e18, pybind11::return_value_policy::reference_internal, ""); + class_63009220d99c5a15af7379e6f8123f66.def("set_estimator", method_pointer_c4f03ec37f845e8394096d0061b43a16, ""); + class_63009220d99c5a15af7379e6f8123f66.def("add_estimator", method_pointer_f376e01830015b27be1db88df0451951, ""); + class_63009220d99c5a15af7379e6f8123f66.def("remove_estimator", method_pointer_a3a541a3d19d5fd3ac9b5fdbd00119d6, ""); + class_63009220d99c5a15af7379e6f8123f66.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::DiscreteUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_63d17adfd9865a9ea92417492b7a15d5.cpp b/src/py/wrapper/wrapper_63d17adfd9865a9ea92417492b7a15d5.cpp new file mode 100644 index 00000000..f8ea1a57 --- /dev/null +++ b/src/py/wrapper/wrapper_63d17adfd9865a9ea92417492b7a15d5.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_5b386192ee8b57aeb38dadbaf4c372d7)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::size; +struct ::statiskit::ContinuousMultivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_e260b3b56cc85e4784d2b55577832f63)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::*method_pointer_08e224b3510f506bac021bc7f5675cdc)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_63d17adfd9865a9ea92417492b7a15d5(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >, struct ::statiskit::ContinuousMultivariateDistributionEstimation > > class_63d17adfd9865a9ea92417492b7a15d5(module, "_Selection_63d17adfd9865a9ea92417492b7a15d5", ""); + class_63d17adfd9865a9ea92417492b7a15d5.def(pybind11::init< >()); + class_63d17adfd9865a9ea92417492b7a15d5.def(pybind11::init< struct ::statiskit::MultivariateData const * >()); + class_63d17adfd9865a9ea92417492b7a15d5.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation > const & >()); + class_63d17adfd9865a9ea92417492b7a15d5.def("__len__", method_pointer_5b386192ee8b57aeb38dadbaf4c372d7, ""); + class_63d17adfd9865a9ea92417492b7a15d5.def("get_estimation", method_pointer_e260b3b56cc85e4784d2b55577832f63, pybind11::return_value_policy::reference_internal, ""); + class_63d17adfd9865a9ea92417492b7a15d5.def("get_score", method_pointer_08e224b3510f506bac021bc7f5675cdc, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp index 60239b35..240b7a0a 100644 --- a/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp +++ b/src/py/wrapper/wrapper_63f5048eedae564391cd268a0107428f.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SlopeHeuristicSuperiorSelector, struct ::statiskit::SlopeHeuristicSelector >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::SlopeHeuristicSelector, struct ::std::default_delete< struct ::statiskit::SlopeHeuristicSelector > > return_type_4964b63570205b63b4fb2d0b515c4c1c; - virtual return_type_4964b63570205b63b4fb2d0b515c4c1c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4964b63570205b63b4fb2d0b515c4c1c, class_type, copy, ); }; + + public: typedef ::statiskit::Index return_type_df1ee527da8655d4b2d9d5bb1e30ff8e; typedef class ::statiskit::SlopeHeuristic const & param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type; virtual return_type_df1ee527da8655d4b2d9d5bb1e30ff8e operator()(param_df1ee527da8655d4b2d9d5bb1e30ff8e_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_df1ee527da8655d4b2d9d5bb1e30ff8e, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp index 3eda216a..8a18de39 100644 --- a/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp +++ b/src/py/wrapper/wrapper_643847dccc2b560082343f2bbda15cba.cpp @@ -9,16 +9,16 @@ namespace autowig public: using ::statiskit::SlopeHeuristicIWLSSolver::SlopeHeuristicIWLSSolver; + + protected: typedef void return_type_5339015f18e1581c8a543e2e79fa15bc; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_0_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > & param_5339015f18e1581c8a543e2e79fa15bc_1_type; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_5339015f18e1581c8a543e2e79fa15bc_2_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_5339015f18e1581c8a543e2e79fa15bc_3_type; virtual return_type_5339015f18e1581c8a543e2e79fa15bc update(param_5339015f18e1581c8a543e2e79fa15bc_0_type param_0, param_5339015f18e1581c8a543e2e79fa15bc_1_type param_1, param_5339015f18e1581c8a543e2e79fa15bc_2_type param_2, param_5339015f18e1581c8a543e2e79fa15bc_3_type param_3) const override { PYBIND11_OVERLOAD_PURE(return_type_5339015f18e1581c8a543e2e79fa15bc, class_type, update, param_0, param_1, param_2, param_3); }; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_c817adc5fda95841b7424a9157dc057f; - typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_c817adc5fda95841b7424a9157dc057f_0_type; - typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_c817adc5fda95841b7424a9157dc057f_1_type; - virtual return_type_c817adc5fda95841b7424a9157dc057f operator()(param_c817adc5fda95841b7424a9157dc057f_0_type param_0, param_c817adc5fda95841b7424a9157dc057f_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c817adc5fda95841b7424a9157dc057f, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_c193a50a08b25a91813276a3c5fd5c33; virtual return_type_c193a50a08b25a91813276a3c5fd5c33 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_c193a50a08b25a91813276a3c5fd5c33, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp index 634096d3..3781da40 100644 --- a/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp +++ b/src/py/wrapper/wrapper_64ae6eddce405116ba534ed722881799.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::WeightedData< ::statiskit::UnivariateData >::WeightedData; + + public: typedef double return_type_d0e260fcdc205b2eba4822c5ec5880d0; typedef ::statiskit::Index const & param_d0e260fcdc205b2eba4822c5ec5880d0_0_type; virtual return_type_d0e260fcdc205b2eba4822c5ec5880d0 get_weight(param_d0e260fcdc205b2eba4822c5ec5880d0_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_d0e260fcdc205b2eba4822c5ec5880d0, class_type, get_weight, param_0); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_c43b4fed6707533ebc14a286dfd1d037; - virtual return_type_c43b4fed6707533ebc14a286dfd1d037 get_sample_space() const override { PYBIND11_OVERLOAD(return_type_c43b4fed6707533ebc14a286dfd1d037, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_f924b25c6e335944a81f6073e12504ff; virtual return_type_f924b25c6e335944a81f6073e12504ff copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f924b25c6e335944a81f6073e12504ff, class_type, copy, ); }; + + public: + typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; + virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp index c7a76a05..15d0e32a 100644 --- a/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp +++ b/src/py/wrapper/wrapper_6588548f29e15f0ea6e9ef29ce68dfd8.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::DiscreteSampleSpace::DiscreteSampleSpace; - typedef enum ::statiskit::ordering_type return_type_1c79f8878a485dcf8ba547f4277ceac9; - virtual return_type_1c79f8878a485dcf8ba547f4277ceac9 get_ordering() const override { PYBIND11_OVERLOAD(return_type_1c79f8878a485dcf8ba547f4277ceac9, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ef088c60e12c52ca84b4af897e2a354b; - virtual return_type_ef088c60e12c52ca84b4af897e2a354b get_outcome() const override { PYBIND11_OVERLOAD(return_type_ef088c60e12c52ca84b4af897e2a354b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp index ec3ea8cc..b0691185 100644 --- a/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp +++ b/src/py/wrapper/wrapper_663730845d925082a43337bf446ebf00.cpp @@ -9,10 +9,19 @@ namespace autowig public: using ::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::Estimator; + + protected: + typedef void return_type_9922ed8b4e6d52969dede35f73d6a80e; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_9922ed8b4e6d52969dede35f73d6a80e_0_type; + virtual return_type_9922ed8b4e6d52969dede35f73d6a80e check(param_9922ed8b4e6d52969dede35f73d6a80e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_9922ed8b4e6d52969dede35f73d6a80e, class_type, check, param_0); }; + + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; }; @@ -20,6 +29,7 @@ namespace autowig class Publicist : public class_type { public: + using class_type::check; using class_type::operator(); }; } @@ -35,6 +45,7 @@ void wrapper_663730845d925082a43337bf446ebf00(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator >::Type > class_663730845d925082a43337bf446ebf00(module, "Estimator", ""); class_663730845d925082a43337bf446ebf00.def(pybind11::init< >()); class_663730845d925082a43337bf446ebf00.def("copy", method_pointer_e0f51277c2d15a7b848e5e67281ff6ad, ""); + class_663730845d925082a43337bf446ebf00.def("_check", static_cast< void (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &) const >(&autowig::Publicist::check), ""); class_663730845d925082a43337bf446ebf00.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp index 9415dd5a..e8ab411b 100644 --- a/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp +++ b/src/py/wrapper/wrapper_66f947be876e54a4901f1a9633fffbaf.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistributionEstimation::Estimator, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_85d9c84fe9395627869345d040fd9d63; - virtual return_type_85d9c84fe9395627869345d040fd9d63 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_85d9c84fe9395627869345d040fd9d63, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp index d71b3477..33bf8930 100644 --- a/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp +++ b/src/py/wrapper/wrapper_68d58bb20b4e507ea69ba2065530644b.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_9e2743a59905503485961e2a474a8e16; - virtual return_type_9e2743a59905503485961e2a474a8e16 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9e2743a59905503485961e2a474a8e16, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp index dc9a5cda..6abcf4cd 100644 --- a/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp +++ b/src/py/wrapper/wrapper_69913377d1325b99bc7469de4f5cf375.cpp @@ -9,32 +9,34 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::BetaNegativeBinomialDistribution, class ::statiskit::BetaCompoundDiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_5c6496bba845503082fffedd7b99c821; - virtual return_type_5c6496bba845503082fffedd7b99c821 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5c6496bba845503082fffedd7b99c821, class_type, copy, ); }; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp index a2c0b165..4fd41133 100644 --- a/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp +++ b/src/py/wrapper/wrapper_69ca358c24cd5cabb1a6b9e1358519e4.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousEvent::ContinuousEvent; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp index 5a9e8664..08ee462b 100644 --- a/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp +++ b/src/py/wrapper/wrapper_6d1d52249a4c562691e57f68df4bcc06.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::MultivariateConditionalDistribution::MultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp index acc2c8f9..46e365cf 100644 --- a/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp +++ b/src/py/wrapper/wrapper_6d256cdc2e1253b8823893d5d72bc031.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_874aa590fc575a5e8a3463af37a77a68; - virtual return_type_874aa590fc575a5e8a3463af37a77a68 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_874aa590fc575a5e8a3463af37a77a68, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp index e1a629b5..feb85062 100644 --- a/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp +++ b/src/py/wrapper/wrapper_6eb1ba92b1d158b09999c16267a2ec28.cpp @@ -9,19 +9,24 @@ namespace autowig public: using ::statiskit::MultivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; }; } -class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > (::statiskit::MultivariateDistributionEstimation::Estimator::*method_pointer_56bfe1476d1c5751ac9fe73ff87e4079)(struct ::statiskit::MultivariateData const &, ::statiskit::Indices const &)const= &::statiskit::MultivariateDistributionEstimation::Estimator::operator(); namespace autowig { } @@ -31,6 +36,5 @@ void wrapper_6eb1ba92b1d158b09999c16267a2ec28(pybind11::module& module) pybind11::class_::Type, class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > class_6eb1ba92b1d158b09999c16267a2ec28(module, "Estimator", ""); class_6eb1ba92b1d158b09999c16267a2ec28.def(pybind11::init< >()); - class_6eb1ba92b1d158b09999c16267a2ec28.def("__call__", method_pointer_56bfe1476d1c5751ac9fe73ff87e4079, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6fa049eb0cfd568caabaef18e2000233.cpp b/src/py/wrapper/wrapper_6fa049eb0cfd568caabaef18e2000233.cpp new file mode 100644 index 00000000..2b484d62 --- /dev/null +++ b/src/py/wrapper/wrapper_6fa049eb0cfd568caabaef18e2000233.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::UnivariateHistogramDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::UnivariateHistogramDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_6fa049eb0cfd568caabaef18e2000233(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_6fa049eb0cfd568caabaef18e2000233(module, "Estimator", ""); + class_6fa049eb0cfd568caabaef18e2000233.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp index 60b89eed..15b5b465 100644 --- a/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp +++ b/src/py/wrapper/wrapper_6fac6a71bec1544eaecb1b57399ee5ec.cpp @@ -9,27 +9,11 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::NominalDistribution, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_cdf825dba6c553caaf410340cf6775ff; - virtual return_type_cdf825dba6c553caaf410340cf6775ff copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cdf825dba6c553caaf410340cf6775ff, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_6fc842ebefdd58e28f37dcb214da4519.cpp b/src/py/wrapper/wrapper_6fc842ebefdd58e28f37dcb214da4519.cpp new file mode 100644 index 00000000..a2c4406a --- /dev/null +++ b/src/py/wrapper/wrapper_6fc842ebefdd58e28f37dcb214da4519.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_6fc842ebefdd58e28f37dcb214da4519(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::MultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >, struct ::statiskit::MultivariateDistributionEstimation > >::Type, struct ::statiskit::MultivariateDistributionEstimation > class_6fc842ebefdd58e28f37dcb214da4519(module, "_PolymorphicCopy_6fc842ebefdd58e28f37dcb214da4519", ""); + class_6fc842ebefdd58e28f37dcb214da4519.def(pybind11::init< >()); + class_6fc842ebefdd58e28f37dcb214da4519.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >, struct ::statiskit::MultivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp index 118402b8..0768fe09 100644 --- a/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp +++ b/src/py/wrapper/wrapper_6fd71629a95855bbad845fa81b27f4d5.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GompertzDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_02d924ef828a5b9da113dad49b729d1c; - virtual return_type_02d924ef828a5b9da113dad49b729d1c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_02d924ef828a5b9da113dad49b729d1c, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp b/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp deleted file mode 100644 index 8f2e64eb..00000000 --- a/src/py/wrapper/wrapper_700bbebe1a2a5b0699f46ca77b7ea310.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_571c021b9ca953d0903ab42c3a82d413; - virtual return_type_571c021b9ca953d0903ab42c3a82d413 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_571c021b9ca953d0903ab42c3a82d413, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_700bbebe1a2a5b0699f46ca77b7ea310(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_700bbebe1a2a5b0699f46ca77b7ea310(module, "_PolymorphicCopy_700bbebe1a2a5b0699f46ca77b7ea310", ""); - class_700bbebe1a2a5b0699f46ca77b7ea310.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_708ad8c82c055fe9a87dd09179e8e5f6.cpp b/src/py/wrapper/wrapper_708ad8c82c055fe9a87dd09179e8e5f6.cpp new file mode 100644 index 00000000..17762bd1 --- /dev/null +++ b/src/py/wrapper/wrapper_708ad8c82c055fe9a87dd09179e8e5f6.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::NegativeBinomialDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::NegativeBinomialDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_708ad8c82c055fe9a87dd09179e8e5f6(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_708ad8c82c055fe9a87dd09179e8e5f6(module, "Estimator", ""); + class_708ad8c82c055fe9a87dd09179e8e5f6.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7341ddcf708c51d5b493d81c653b51bb.cpp b/src/py/wrapper/wrapper_7341ddcf708c51d5b493d81c653b51bb.cpp new file mode 100644 index 00000000..f27142c3 --- /dev/null +++ b/src/py/wrapper/wrapper_7341ddcf708c51d5b493d81c653b51bb.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; + virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_4d95d48abd75547d8edebae27f7ffb98)()const= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_670ac5d1b2445dceba299169780cb36c)(double const &)= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_91b88fbedca65b38a8d6bb3e4526939f)()const= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_b878c3c62950543b8ab9d62665c43159)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_ff07c3be94365ccab5758e39b3a35c8d)()const= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::*method_pointer_1916b75d26d55d169edfc40ca32e94a9)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_7341ddcf708c51d5b493d81c653b51bb(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > >::Type, struct ::statiskit::NegativeMultinomialDistributionEstimation::Estimator > class_7341ddcf708c51d5b493d81c653b51bb(module, "_Optimization_7341ddcf708c51d5b493d81c653b51bb", ""); + class_7341ddcf708c51d5b493d81c653b51bb.def(pybind11::init< >()); + class_7341ddcf708c51d5b493d81c653b51bb.def("get_mindiff", method_pointer_4d95d48abd75547d8edebae27f7ffb98, pybind11::return_value_policy::copy, ""); + class_7341ddcf708c51d5b493d81c653b51bb.def("set_mindiff", method_pointer_670ac5d1b2445dceba299169780cb36c, ""); + class_7341ddcf708c51d5b493d81c653b51bb.def("get_minits", method_pointer_91b88fbedca65b38a8d6bb3e4526939f, ""); + class_7341ddcf708c51d5b493d81c653b51bb.def("set_minits", method_pointer_b878c3c62950543b8ab9d62665c43159, ""); + class_7341ddcf708c51d5b493d81c653b51bb.def("get_maxits", method_pointer_ff07c3be94365ccab5758e39b3a35c8d, ""); + class_7341ddcf708c51d5b493d81c653b51bb.def("set_maxits", method_pointer_1916b75d26d55d169edfc40ca32e94a9, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp index 30b5654f..bad668d2 100644 --- a/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp +++ b/src/py/wrapper/wrapper_73e107092bdb5be2a9ec6e31772ffd09.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialSchedule, struct ::statiskit::Schedule >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::Schedule, struct ::std::default_delete< struct ::statiskit::Schedule > > return_type_24f981130a195fbe9daa0a87630d8ddb; - virtual return_type_24f981130a195fbe9daa0a87630d8ddb copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_24f981130a195fbe9daa0a87630d8ddb, class_type, copy, ); }; + + public: typedef double return_type_004876688c73571590d218338cd011b5; typedef double const & param_004876688c73571590d218338cd011b5_0_type; virtual return_type_004876688c73571590d218338cd011b5 operator()(param_004876688c73571590d218338cd011b5_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_004876688c73571590d218338cd011b5, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp index 559647b9..036a516d 100644 --- a/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp +++ b/src/py/wrapper/wrapper_7466a1a79edf5312955ff663594f561b.cpp @@ -9,11 +9,13 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::VectorEvent, struct ::statiskit::MultivariateEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_be2215e91b59551eb83533d58f2bd24c; - virtual return_type_be2215e91b59551eb83533d58f2bd24c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_be2215e91b59551eb83533d58f2bd24c, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_75ba8e402aa85a62a96976ab7e3073c3.cpp b/src/py/wrapper/wrapper_75ba8e402aa85a62a96976ab7e3073c3.cpp new file mode 100644 index 00000000..4ddfb356 --- /dev/null +++ b/src/py/wrapper/wrapper_75ba8e402aa85a62a96976ab7e3073c3.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_75ba8e402aa85a62a96976ab7e3073c3(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_75ba8e402aa85a62a96976ab7e3073c3(module, "criterion_type"); + enum_75ba8e402aa85a62a96976ab7e3073c3.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_75ba8e402aa85a62a96976ab7e3073c3.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_75ba8e402aa85a62a96976ab7e3073c3.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_75ba8e402aa85a62a96976ab7e3073c3.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_75ba8e402aa85a62a96976ab7e3073c3.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp index e7cb48eb..21b52498 100644 --- a/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp +++ b/src/py/wrapper/wrapper_76d258d0b30f5e3a94d02ba97954104b.cpp @@ -9,17 +9,27 @@ namespace autowig public: using ::statiskit::SingularDistribution::SingularDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::SingularDistribution, struct ::std::default_delete< struct ::statiskit::SingularDistribution > > return_type_807318768a675f8fa96d2eb54a36c4df; virtual return_type_807318768a675f8fa96d2eb54a36c4df copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_807318768a675f8fa96d2eb54a36c4df, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_48a21906343659d38a01df937deeb28c; typedef unsigned int param_48a21906343659d38a01df937deeb28c_0_type; virtual return_type_48a21906343659d38a01df937deeb28c simulate(param_48a21906343659d38a01df937deeb28c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48a21906343659d38a01df937deeb28c, class_type, simulate, param_0); }; + + public: typedef double return_type_acdea368f48f572bb000ce0a3e887539; typedef struct ::statiskit::MultivariateEvent const * param_acdea368f48f572bb000ce0a3e887539_0_type; typedef bool const & param_acdea368f48f572bb000ce0a3e887539_1_type; virtual return_type_acdea368f48f572bb000ce0a3e887539 probability(param_acdea368f48f572bb000ce0a3e887539_0_type param_0, param_acdea368f48f572bb000ce0a3e887539_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_acdea368f48f572bb000ce0a3e887539, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9; virtual return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_2c1d7ed64e3e5d1aa53e91bf74bfffd9, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901; virtual return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901 get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_0d6cc8e9b1fb50da9e07aa24ca7b9901, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp index 1793c4bd..db9d815c 100644 --- a/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp +++ b/src/py/wrapper/wrapper_779c0e94601b5238932a999e37acfdea.cpp @@ -8,6 +8,7 @@ void wrapper_779c0e94601b5238932a999e37acfdea(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > > class_779c0e94601b5238932a999e37acfdea(module, "DiscreteUnivariateFrequencyDistributionEstimator", ""); + class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< >()); class_779c0e94601b5238932a999e37acfdea.def(pybind11::init< class ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp index f9eeabce..c5987a4b 100644 --- a/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp +++ b/src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp @@ -4,7 +4,7 @@ void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); + pybind11::enum_< ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); enum_78fa594811935c2ea4b4905d733f141f.value("INFERIOR", ::statiskit::size_error::inferior); enum_78fa594811935c2ea4b4905d733f141f.value("EQUAL", ::statiskit::size_error::equal); enum_78fa594811935c2ea4b4905d733f141f.value("SUPERIOR", ::statiskit::size_error::superior); diff --git a/src/py/wrapper/wrapper_7a957a5572455292b1ecc19f2daf800e.cpp b/src/py/wrapper/wrapper_7a957a5572455292b1ecc19f2daf800e.cpp new file mode 100644 index 00000000..dc675da9 --- /dev/null +++ b/src/py/wrapper/wrapper_7a957a5572455292b1ecc19f2daf800e.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_7a957a5572455292b1ecc19f2daf800e(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_7a957a5572455292b1ecc19f2daf800e(module, "criterion_type"); + enum_7a957a5572455292b1ecc19f2daf800e.value("AIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_7a957a5572455292b1ecc19f2daf800e.value("AI_CC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_7a957a5572455292b1ecc19f2daf800e.value("BIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_7a957a5572455292b1ecc19f2daf800e.value("HQIC", ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_7a957a5572455292b1ecc19f2daf800e.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7b011b010db958aaae9901938ceb9863.cpp b/src/py/wrapper/wrapper_7b011b010db958aaae9901938ceb9863.cpp new file mode 100644 index 00000000..0f42c674 --- /dev/null +++ b/src/py/wrapper/wrapper_7b011b010db958aaae9901938ceb9863.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +unsigned int const & (::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator::*method_pointer_f0be0fcb6e8452ef81cdd2fd3c792032)()const= &::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator::get_maxbins; +void (::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator::*method_pointer_13615c35f9655b6683d8720aaa5a022e)(unsigned int const &)= &::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator::set_maxbins; + +namespace autowig { +} + +void wrapper_7b011b010db958aaae9901938ceb9863(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > > class_7b011b010db958aaae9901938ceb9863(module, "Estimator", ""); + class_7b011b010db958aaae9901938ceb9863.def(pybind11::init< >()); + class_7b011b010db958aaae9901938ceb9863.def(pybind11::init< class ::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator const & >()); + class_7b011b010db958aaae9901938ceb9863.def("get_maxbins", method_pointer_f0be0fcb6e8452ef81cdd2fd3c792032, pybind11::return_value_policy::copy, ""); + class_7b011b010db958aaae9901938ceb9863.def("set_maxbins", method_pointer_13615c35f9655b6683d8720aaa5a022e, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7bf5d5a1aae855cb858cab0e94be616b.cpp b/src/py/wrapper/wrapper_7bf5d5a1aae855cb858cab0e94be616b.cpp new file mode 100644 index 00000000..1db24d7f --- /dev/null +++ b/src/py/wrapper/wrapper_7bf5d5a1aae855cb858cab0e94be616b.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_7bf5d5a1aae855cb858cab0e94be616b(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > > class_7bf5d5a1aae855cb858cab0e94be616b(module, "_PolymorphicCopy_7bf5d5a1aae855cb858cab0e94be616b", ""); + class_7bf5d5a1aae855cb858cab0e94be616b.def(pybind11::init< >()); + class_7bf5d5a1aae855cb858cab0e94be616b.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7c4052298259530bb07fa16e53c1d268.cpp b/src/py/wrapper/wrapper_7c4052298259530bb07fa16e53c1d268.cpp new file mode 100644 index 00000000..ee3b74b5 --- /dev/null +++ b/src/py/wrapper/wrapper_7c4052298259530bb07fa16e53c1d268.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, struct ::statiskit::NormalDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, struct ::statiskit::NormalDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_7c4052298259530bb07fa16e53c1d268(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, struct ::statiskit::NormalDistributionEstimation::Estimator > >::Type, struct ::statiskit::NormalDistributionEstimation::Estimator > class_7c4052298259530bb07fa16e53c1d268(module, "_PolymorphicCopy_7c4052298259530bb07fa16e53c1d268", ""); + class_7c4052298259530bb07fa16e53c1d268.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp index 5b84f465..6a769c6c 100644 --- a/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp +++ b/src/py/wrapper/wrapper_7d52c5fa83fa5b7abbc12831a19a2931.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::CategoricalEvent >, struct ::statiskit::CategoricalEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_2e691ddfea045eee8249b60108c21cd7; - virtual return_type_2e691ddfea045eee8249b60108c21cd7 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e691ddfea045eee8249b60108c21cd7, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; - virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_7e7ee2f40ddc54319b0933514ac68c15.cpp b/src/py/wrapper/wrapper_7e7ee2f40ddc54319b0933514ac68c15.cpp new file mode 100644 index 00000000..851f4e43 --- /dev/null +++ b/src/py/wrapper/wrapper_7e7ee2f40ddc54319b0933514ac68c15.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_7e7ee2f40ddc54319b0933514ac68c15(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_7e7ee2f40ddc54319b0933514ac68c15(module, "_PolymorphicCopy_7e7ee2f40ddc54319b0933514ac68c15", ""); + class_7e7ee2f40ddc54319b0933514ac68c15.def(pybind11::init< >()); + class_7e7ee2f40ddc54319b0933514ac68c15.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >, struct ::statiskit::DiscreteUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp index 41acba0f..1ffaae2a 100644 --- a/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp +++ b/src/py/wrapper/wrapper_7ed55bcdec33582fb2767f7d96937c85.cpp @@ -9,12 +9,20 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistribution::UnivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateConditionalDistribution > > return_type_2d42bbbaff065a9cb38813f62e9dafda; virtual return_type_2d42bbbaff065a9cb38813f62e9dafda copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_2d42bbbaff065a9cb38813f62e9dafda, class_type, copy, ); }; + + public: typedef unsigned int return_type_a19605344e725c65ab302819d1663dbe; virtual return_type_a19605344e725c65ab302819d1663dbe get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_a19605344e725c65ab302819d1663dbe, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_152a627d69cd5b35837e015943fc1e75; virtual return_type_152a627d69cd5b35837e015943fc1e75 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_152a627d69cd5b35837e015943fc1e75, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::UnivariateDistribution const * return_type_53f978a20dca5ccd9144b1aeb74559b6; typedef struct ::statiskit::MultivariateEvent const & param_53f978a20dca5ccd9144b1aeb74559b6_0_type; virtual return_type_53f978a20dca5ccd9144b1aeb74559b6 operator()(param_53f978a20dca5ccd9144b1aeb74559b6_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_53f978a20dca5ccd9144b1aeb74559b6, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp index 1f4df5ce..1c409bec 100644 --- a/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp +++ b/src/py/wrapper/wrapper_7f05968a172a528da4c7ae7e40d9faa7.cpp @@ -9,10 +9,19 @@ namespace autowig public: using ::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::Estimator; + + protected: + typedef void return_type_ee63fc1b550e5fbcbd3d51e030b50f96; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_ee63fc1b550e5fbcbd3d51e030b50f96_0_type; + virtual return_type_ee63fc1b550e5fbcbd3d51e030b50f96 check(param_ee63fc1b550e5fbcbd3d51e030b50f96_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_ee63fc1b550e5fbcbd3d51e030b50f96, class_type, check, param_0); }; + + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; }; @@ -20,6 +29,7 @@ namespace autowig class Publicist : public class_type { public: + using class_type::check; using class_type::operator(); }; } @@ -35,6 +45,7 @@ void wrapper_7f05968a172a528da4c7ae7e40d9faa7(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator >::Type > class_7f05968a172a528da4c7ae7e40d9faa7(module, "Estimator", ""); class_7f05968a172a528da4c7ae7e40d9faa7.def(pybind11::init< >()); class_7f05968a172a528da4c7ae7e40d9faa7.def("copy", method_pointer_030642c36da6500fb2e89aacc274d46b, ""); + class_7f05968a172a528da4c7ae7e40d9faa7.def("_check", static_cast< void (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &) const >(&autowig::Publicist::check), ""); class_7f05968a172a528da4c7ae7e40d9faa7.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_80abf3b31d59572db1c8566cad592e92.cpp b/src/py/wrapper/wrapper_80abf3b31d59572db1c8566cad592e92.cpp new file mode 100644 index 00000000..1c002c8e --- /dev/null +++ b/src/py/wrapper/wrapper_80abf3b31d59572db1c8566cad592e92.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_b628a3a5c0785787839ff6ada564c85d; + typedef struct ::statiskit::ContinuousMultivariateDistribution const * param_b628a3a5c0785787839ff6ada564c85d_0_type; + typedef struct ::statiskit::MultivariateData const & param_b628a3a5c0785787839ff6ada564c85d_1_type; + virtual return_type_b628a3a5c0785787839ff6ada564c85d scoring(param_b628a3a5c0785787839ff6ada564c85d_0_type param_0, param_b628a3a5c0785787839ff6ada564c85d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_b628a3a5c0785787839ff6ada564c85d, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_80abf3b31d59572db1c8566cad592e92(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator > class_80abf3b31d59572db1c8566cad592e92(module, "_PolymorphicCopy_80abf3b31d59572db1c8566cad592e92", ""); + class_80abf3b31d59572db1c8566cad592e92.def(pybind11::init< >()); + class_80abf3b31d59572db1c8566cad592e92.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::ContinuousMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp b/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp deleted file mode 100644 index d1726e5e..00000000 --- a/src/py/wrapper/wrapper_81e358ca53ad5cb480953fedfe8cee0b.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_81e358ca53ad5cb480953fedfe8cee0b(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_81e358ca53ad5cb480953fedfe8cee0b(module, "_PolymorphicCopy_81e358ca53ad5cb480953fedfe8cee0b", ""); - class_81e358ca53ad5cb480953fedfe8cee0b.def(pybind11::init< >()); - class_81e358ca53ad5cb480953fedfe8cee0b.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp index a813635f..88ec1fa0 100644 --- a/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp +++ b/src/py/wrapper/wrapper_823c1d5da2f35f9abbb62a989d434392.cpp @@ -9,19 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_d6a2183003c150cb8e8dc0afa460d883; - virtual return_type_d6a2183003c150cb8e8dc0afa460d883 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d6a2183003c150cb8e8dc0afa460d883, class_type, copy, ); }; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_dfd29c987e235fa4a01180e223b9a882; typedef class ::std::set< double, struct ::std::less< double >, class ::std::allocator< double > > const & param_dfd29c987e235fa4a01180e223b9a882_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_dfd29c987e235fa4a01180e223b9a882_1_type; virtual return_type_dfd29c987e235fa4a01180e223b9a882 create(param_dfd29c987e235fa4a01180e223b9a882_0_type param_0, param_dfd29c987e235fa4a01180e223b9a882_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dfd29c987e235fa4a01180e223b9a882, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ff4ec0c47c815d608922bfa62bf7748e; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::data_type const & param_ff4ec0c47c815d608922bfa62bf7748e_0_type; - virtual return_type_ff4ec0c47c815d608922bfa62bf7748e operator()(param_ff4ec0c47c815d608922bfa62bf7748e_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ff4ec0c47c815d608922bfa62bf7748e, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp b/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp deleted file mode 100644 index 3cd655f8..00000000 --- a/src/py/wrapper/wrapper_830457bcfd9a53298ff673c9b6d66714.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_830457bcfd9a53298ff673c9b6d66714(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_830457bcfd9a53298ff673c9b6d66714(module, "_PolymorphicCopy_830457bcfd9a53298ff673c9b6d66714", ""); - class_830457bcfd9a53298ff673c9b6d66714.def(pybind11::init< >()); - class_830457bcfd9a53298ff673c9b6d66714.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_83b0ebcd469f5c54a5d8ed41bc70362c.cpp b/src/py/wrapper/wrapper_83b0ebcd469f5c54a5d8ed41bc70362c.cpp new file mode 100644 index 00000000..eb7fc24a --- /dev/null +++ b/src/py/wrapper/wrapper_83b0ebcd469f5c54a5d8ed41bc70362c.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_83b0ebcd469f5c54a5d8ed41bc70362c(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionRegularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > >::Type, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_83b0ebcd469f5c54a5d8ed41bc70362c(module, "_PolymorphicCopy_83b0ebcd469f5c54a5d8ed41bc70362c", ""); + class_83b0ebcd469f5c54a5d8ed41bc70362c.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp index e0145bbe..83686a5b 100644 --- a/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp +++ b/src/py/wrapper/wrapper_8408f59ac7205444bbaf4ef2fb92867d.cpp @@ -9,25 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::HierarchicalDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_d5fbb725b4d8500ab5c0b2cf81433adc; - virtual return_type_d5fbb725b4d8500ab5c0b2cf81433adc copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d5fbb725b4d8500ab5c0b2cf81433adc, class_type, copy, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_855951b28f8452afa19a884bf750f14f.cpp b/src/py/wrapper/wrapper_855951b28f8452afa19a884bf750f14f.cpp new file mode 100644 index 00000000..99b6c4e4 --- /dev/null +++ b/src/py/wrapper/wrapper_855951b28f8452afa19a884bf750f14f.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::GeometricDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::GeometricDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_855951b28f8452afa19a884bf750f14f(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_855951b28f8452afa19a884bf750f14f(module, "Estimator", ""); + class_855951b28f8452afa19a884bf750f14f.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp b/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp deleted file mode 100644 index 8195590c..00000000 --- a/src/py/wrapper/wrapper_8637850c39dc51d3a7ea186462c65e2a.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_cdd36c187228509e9e1dd6d09970aa6e; - virtual return_type_cdd36c187228509e9e1dd6d09970aa6e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cdd36c187228509e9e1dd6d09970aa6e, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_8637850c39dc51d3a7ea186462c65e2a(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_8637850c39dc51d3a7ea186462c65e2a(module, "_PolymorphicCopy_8637850c39dc51d3a7ea186462c65e2a", ""); - class_8637850c39dc51d3a7ea186462c65e2a.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp index f8127cb6..0938120a 100644 --- a/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp +++ b/src/py/wrapper/wrapper_864140a02b1554ffbf15f5c312a38d8c.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::RightCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_de5ae877a6785d2b99766b9f891dfcca; - virtual return_type_de5ae877a6785d2b99766b9f891dfcca copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_de5ae877a6785d2b99766b9f891dfcca, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp b/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp index dee1e41a..a469ee85 100644 --- a/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp +++ b/src/py/wrapper/wrapper_871f2a5a4b135dfeb5ac066db0fbca5c.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_871f2a5a4b135dfeb5ac066db0fbca5c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_871f2a5a4b135dfeb5ac066db0fbca5c(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, struct ::statiskit::NormalDistributionEstimation::Estimator > > class_871f2a5a4b135dfeb5ac066db0fbca5c(module, "Estimator", ""); class_871f2a5a4b135dfeb5ac066db0fbca5c.def(pybind11::init< >()); class_871f2a5a4b135dfeb5ac066db0fbca5c.def(pybind11::init< struct ::statiskit::NormalDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp index 39152512..9e53c929 100644 --- a/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp +++ b/src/py/wrapper/wrapper_87b566a692cb54b18914b54eb295ef9a.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateDispersionEstimation::UnivariateDispersionEstimation; + + public: typedef class ::std::unique_ptr< class ::statiskit::UnivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::UnivariateDispersionEstimation > > return_type_0b82141bcbce5248908bd378832e2a9c; virtual return_type_0b82141bcbce5248908bd378832e2a9c copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_0b82141bcbce5248908bd378832e2a9c, class_type, copy, ); }; + + public: typedef double const & return_type_a18c7d90bacb538d9895cf5c0091b871; virtual return_type_a18c7d90bacb538d9895cf5c0091b871 get_dispersion() const override { PYBIND11_OVERLOAD_PURE(return_type_a18c7d90bacb538d9895cf5c0091b871, class_type, get_dispersion, ); }; }; diff --git a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp index 475c50e3..e9108e7d 100644 --- a/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp +++ b/src/py/wrapper/wrapper_88cb53c05b215504b1f0ee0564765af0.cpp @@ -9,21 +9,35 @@ namespace autowig public: using ::statiskit::MultivariateData::MultivariateData; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_8be6d1bcbc135f0eba8668d72cf145cb.cpp b/src/py/wrapper/wrapper_8be6d1bcbc135f0eba8668d72cf145cb.cpp new file mode 100644 index 00000000..2962ffe0 --- /dev/null +++ b/src/py/wrapper/wrapper_8be6d1bcbc135f0eba8668d72cf145cb.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_8be6d1bcbc135f0eba8668d72cf145cb(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionIrregularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > > class_8be6d1bcbc135f0eba8668d72cf145cb(module, "UnivariateHistogramDistributionIrregularEstimation", ""); + class_8be6d1bcbc135f0eba8668d72cf145cb.def(pybind11::init< struct ::statiskit::UnivariateHistogramDistributionIrregularEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8d0da16fd314598aa5af20cb6d470f87.cpp b/src/py/wrapper/wrapper_8d0da16fd314598aa5af20cb6d470f87.cpp new file mode 100644 index 00000000..08a55d08 --- /dev/null +++ b/src/py/wrapper/wrapper_8d0da16fd314598aa5af20cb6d470f87.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_8d0da16fd314598aa5af20cb6d470f87(pybind11::module& module) +{ + + pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > > class_8d0da16fd314598aa5af20cb6d470f87(module, "_PolymorphicCopy_8d0da16fd314598aa5af20cb6d470f87", ""); + class_8d0da16fd314598aa5af20cb6d470f87.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp b/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp deleted file mode 100644 index fd876457..00000000 --- a/src/py/wrapper/wrapper_8dc14cd974045db7ab63d2d8c0c5c496.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_e4dc11c465c05c8abc00f799e884f29a; - virtual return_type_e4dc11c465c05c8abc00f799e884f29a copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e4dc11c465c05c8abc00f799e884f29a, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_8dc14cd974045db7ab63d2d8c0c5c496(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_8dc14cd974045db7ab63d2d8c0c5c496(module, "_PolymorphicCopy_8dc14cd974045db7ab63d2d8c0c5c496", ""); - class_8dc14cd974045db7ab63d2d8c0c5c496.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp index 413db8c1..e6bbbfff 100644 --- a/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp +++ b/src/py/wrapper/wrapper_8dcb38f525415f5eb16b5b180a314eab.cpp @@ -9,15 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateConditionalDistributionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef void return_type_ee63fc1b550e5fbcbd3d51e030b50f96; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_ee63fc1b550e5fbcbd3d51e030b50f96_0_type; + virtual return_type_ee63fc1b550e5fbcbd3d51e030b50f96 check(param_ee63fc1b550e5fbcbd3d51e030b50f96_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_ee63fc1b550e5fbcbd3d51e030b50f96, class_type, check, param_0); }; + + protected: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; }; @@ -25,6 +36,7 @@ namespace autowig class Publicist : public class_type { public: + using class_type::check; using class_type::operator(); }; } @@ -40,6 +52,7 @@ void wrapper_8dcb38f525415f5eb16b5b180a314eab(pybind11::module& module) pybind11::class_::Type, class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > class_8dcb38f525415f5eb16b5b180a314eab(module, "Estimator", ""); class_8dcb38f525415f5eb16b5b180a314eab.def(pybind11::init< >()); class_8dcb38f525415f5eb16b5b180a314eab.def("__call__", method_pointer_2e84d0444d9f5eb29e764d81a82e587c, ""); + class_8dcb38f525415f5eb16b5b180a314eab.def("_check", static_cast< void (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &) const >(&autowig::Publicist::check), ""); class_8dcb38f525415f5eb16b5b180a314eab.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_900a3cd8a641504a86f6361e9ec4876f.cpp b/src/py/wrapper/wrapper_900a3cd8a641504a86f6361e9ec4876f.cpp new file mode 100644 index 00000000..b56d3b3a --- /dev/null +++ b/src/py/wrapper/wrapper_900a3cd8a641504a86f6361e9ec4876f.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< unsigned int, ::statiskit::BinomialDistributionEstimation >::*method_pointer_eadab57e83f454b7b3d966fc952f8777)()const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation >::size; +unsigned int const (::statiskit::IterativeEstimation< unsigned int, ::statiskit::BinomialDistributionEstimation >::*method_pointer_f0f6c045127657c59f00b960536eb587)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_900a3cd8a641504a86f6361e9ec4876f(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > >::Type, struct ::statiskit::BinomialDistributionEstimation > class_900a3cd8a641504a86f6361e9ec4876f(module, "_IterativeEstimation_900a3cd8a641504a86f6361e9ec4876f", ""); + class_900a3cd8a641504a86f6361e9ec4876f.def(pybind11::init< class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > const & >()); + class_900a3cd8a641504a86f6361e9ec4876f.def("__len__", method_pointer_eadab57e83f454b7b3d966fc952f8777, ""); + class_900a3cd8a641504a86f6361e9ec4876f.def("at_step", method_pointer_f0f6c045127657c59f00b960536eb587, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_903a54133336556f837a428c6ab5c785.cpp b/src/py/wrapper/wrapper_903a54133336556f837a428c6ab5c785.cpp new file mode 100644 index 00000000..1e73ab11 --- /dev/null +++ b/src/py/wrapper/wrapper_903a54133336556f837a428c6ab5c785.cpp @@ -0,0 +1,22 @@ +#include "_core.h" + +unsigned int const & (::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::*method_pointer_902991d751d65633a25981f2018b513b)()const= &::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::get_maxbins; +void (::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::*method_pointer_69cdcce1113359ce8b458458c805b11c)(unsigned int const &)= &::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::set_maxbins; +double const & (::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::*method_pointer_7a42eac98245526c954e359076046816)()const= &::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::get_constant; +void (::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::*method_pointer_ed3ab0678e525a97a80421687f7e353d)(double const &)= &::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator::set_constant; + +namespace autowig { +} + +void wrapper_903a54133336556f837a428c6ab5c785(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > > class_903a54133336556f837a428c6ab5c785(module, "Estimator", ""); + class_903a54133336556f837a428c6ab5c785.def(pybind11::init< >()); + class_903a54133336556f837a428c6ab5c785.def(pybind11::init< class ::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator const & >()); + class_903a54133336556f837a428c6ab5c785.def("get_maxbins", method_pointer_902991d751d65633a25981f2018b513b, pybind11::return_value_policy::copy, ""); + class_903a54133336556f837a428c6ab5c785.def("set_maxbins", method_pointer_69cdcce1113359ce8b458458c805b11c, ""); + class_903a54133336556f837a428c6ab5c785.def("get_constant", method_pointer_7a42eac98245526c954e359076046816, pybind11::return_value_policy::copy, ""); + class_903a54133336556f837a428c6ab5c785.def("set_constant", method_pointer_ed3ab0678e525a97a80421687f7e353d, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_916bb7e64837584fb2d59463fdb3adaa.cpp b/src/py/wrapper/wrapper_916bb7e64837584fb2d59463fdb3adaa.cpp new file mode 100644 index 00000000..077dee6c --- /dev/null +++ b/src/py/wrapper/wrapper_916bb7e64837584fb2d59463fdb3adaa.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_916bb7e64837584fb2d59463fdb3adaa(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::CategoricalMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalMultivariateDistributionEstimation > class_916bb7e64837584fb2d59463fdb3adaa(module, "_PolymorphicCopy_916bb7e64837584fb2d59463fdb3adaa", ""); + class_916bb7e64837584fb2d59463fdb3adaa.def(pybind11::init< >()); + class_916bb7e64837584fb2d59463fdb3adaa.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >, struct ::statiskit::CategoricalMultivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp index af4a96ee..5409ad16 100644 --- a/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp +++ b/src/py/wrapper/wrapper_9662a6a016085675978d04e2bc87a7f3.cpp @@ -9,19 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::Estimator; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_284f0f75e18351b794373c95605f5747; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::data_type const & param_284f0f75e18351b794373c95605f5747_0_type; - virtual return_type_284f0f75e18351b794373c95605f5747 operator()(param_284f0f75e18351b794373c95605f5747_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_284f0f75e18351b794373c95605f5747, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp b/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp deleted file mode 100644 index 10a44f81..00000000 --- a/src/py/wrapper/wrapper_96902179d8e1527ab8396789f078e437.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_96902179d8e1527ab8396789f078e437(pybind11::module& module) -{ - - pybind11::class_::Type > class_96902179d8e1527ab8396789f078e437(module, "CtypeBase", ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("upper", &::std::ctype_base::upper, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("lower", &::std::ctype_base::lower, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("alpha", &::std::ctype_base::alpha, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("digit", &::std::ctype_base::digit, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("xdigit", &::std::ctype_base::xdigit, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("space", &::std::ctype_base::space, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("print", &::std::ctype_base::print, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("graph", &::std::ctype_base::graph, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("cntrl", &::std::ctype_base::cntrl, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("punct", &::std::ctype_base::punct, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("alnum", &::std::ctype_base::alnum, ""); - class_96902179d8e1527ab8396789f078e437.def_readonly_static("blank", &::std::ctype_base::blank, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp index a10ca1f6..ff78ada2 100644 --- a/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp +++ b/src/py/wrapper/wrapper_9819c01af16354f5af1bd00fe32e33a5.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LogisticDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_1ba565e6e75451a89a2af6b58733c2d6; - virtual return_type_1ba565e6e75451a89a2af6b58733c2d6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1ba565e6e75451a89a2af6b58733c2d6, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp index 1568d5d3..d8543eef 100644 --- a/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp +++ b/src/py/wrapper/wrapper_98e77d2afcc252cba528077bc2cc3103.cpp @@ -9,17 +9,29 @@ namespace autowig public: using ::statiskit::MultivariateData::Generator::Generator; + + public: typedef struct ::statiskit::MultivariateData::Generator & return_type_63b969fdfda0571a865b8fd09d42ff6f; virtual return_type_63b969fdfda0571a865b8fd09d42ff6f operator++() override { PYBIND11_OVERLOAD_PURE(return_type_63b969fdfda0571a865b8fd09d42ff6f, class_type, operator++, ); }; + + public: typedef bool return_type_d3e757b7d5b05c689e6686d4856df74c; virtual return_type_d3e757b7d5b05c689e6686d4856df74c is_valid() const override { PYBIND11_OVERLOAD_PURE(return_type_d3e757b7d5b05c689e6686d4856df74c, class_type, is_valid, ); }; + + public: typedef double return_type_27f1417576dc5f07946c8258dad0fd1e; virtual return_type_27f1417576dc5f07946c8258dad0fd1e get_weight() const override { PYBIND11_OVERLOAD_PURE(return_type_27f1417576dc5f07946c8258dad0fd1e, class_type, get_weight, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp index a5dda188..92fdc9ae 100644 --- a/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp +++ b/src/py/wrapper/wrapper_9962e820b2a75e44aeb478a7fa3f1b63.cpp @@ -9,8 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::DirichletMultinomialSingularDistributionEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_19c821bfc1c45716b047014bf2276d5b; - virtual return_type_19c821bfc1c45716b047014bf2276d5b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_19c821bfc1c45716b047014bf2276d5b, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp index ba9de99c..f3959c5e 100644 --- a/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp +++ b/src/py/wrapper/wrapper_99fc77e1853459ba9270c901d62d010f.cpp @@ -9,12 +9,18 @@ namespace autowig public: using ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp b/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp deleted file mode 100644 index 6a8f849c..00000000 --- a/src/py/wrapper/wrapper_9a33479821955c81b01e8f3c319e5180.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "_core.h" - -void (::std::error_condition::*method_pointer_fba0ff58c5425aa799ffc6ee30f6d2c7)()= &::std::error_condition::clear; -int (::std::error_condition::*method_pointer_46f6bb84da0e5c45aed5f8ef3e6f7728)()const= &::std::error_condition::value; -::std::string (::std::error_condition::*method_pointer_f967d5c96c0a539dae90ec7f0f01d2be)()const= &::std::error_condition::message; - -namespace autowig { -} - -void wrapper_9a33479821955c81b01e8f3c319e5180(pybind11::module& module) -{ - - struct function_group - { - static bool function_55c61eb8a32d5c7782d92bf46d363fb2(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) - { return operator<(parameter_0, parameter_1); } - static bool function_22ae3e20bfac5d8998539effe8b661a5(struct ::std::error_condition const & parameter_0, struct ::std::error_code const & parameter_1) - { return operator==(parameter_0, parameter_1); } - static bool function_924086b8713852e693ba4c93e8327800(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) - { return operator==(parameter_0, parameter_1); } - static bool function_c10cd09edca553f09b5e98b7fbd35fce(struct ::std::error_condition const & parameter_0, struct ::std::error_code const & parameter_1) - { return operator!=(parameter_0, parameter_1); } - static bool function_9f0a211a6e3f56e9baf30f3870f725b9(struct ::std::error_condition const & parameter_0, struct ::std::error_condition const & parameter_1) - { return operator!=(parameter_0, parameter_1); } - }; - pybind11::class_::Type > class_9a33479821955c81b01e8f3c319e5180(module, "ErrorCondition", ""); - class_9a33479821955c81b01e8f3c319e5180.def(pybind11::init< >()); - class_9a33479821955c81b01e8f3c319e5180.def(pybind11::init< struct ::std::error_condition const & >()); - class_9a33479821955c81b01e8f3c319e5180.def("clear", method_pointer_fba0ff58c5425aa799ffc6ee30f6d2c7, ""); - class_9a33479821955c81b01e8f3c319e5180.def("value", method_pointer_46f6bb84da0e5c45aed5f8ef3e6f7728, ""); - class_9a33479821955c81b01e8f3c319e5180.def("message", method_pointer_f967d5c96c0a539dae90ec7f0f01d2be, ""); - class_9a33479821955c81b01e8f3c319e5180.def("__lt__", function_group::function_55c61eb8a32d5c7782d92bf46d363fb2, ""); - class_9a33479821955c81b01e8f3c319e5180.def("__eq__", function_group::function_22ae3e20bfac5d8998539effe8b661a5, ""); - class_9a33479821955c81b01e8f3c319e5180.def("__eq__", function_group::function_924086b8713852e693ba4c93e8327800, ""); - class_9a33479821955c81b01e8f3c319e5180.def("__neq__", function_group::function_c10cd09edca553f09b5e98b7fbd35fce, ""); - class_9a33479821955c81b01e8f3c319e5180.def("__neq__", function_group::function_9f0a211a6e3f56e9baf30f3870f725b9, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp new file mode 100644 index 00000000..1a3f67f6 --- /dev/null +++ b/src/py/wrapper/wrapper_9af672b8799e52dda111d00a974022cd.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_9af672b8799e52dda111d00a974022cd(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_9af672b8799e52dda111d00a974022cd(module, "DiscreteMultivariateConditionalDistributionEstimation", ""); + class_9af672b8799e52dda111d00a974022cd.def(pybind11::init< >()); + class_9af672b8799e52dda111d00a974022cd.def(pybind11::init< struct ::statiskit::DiscreteMultivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp index 4c634d09..846c0556 100644 --- a/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp +++ b/src/py/wrapper/wrapper_9b1c85d3df8e5cba922fb88752a0d746.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::MultivariateDispersionEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_fd8c28a661ec58aba7edb069108b96b4; virtual return_type_fd8c28a661ec58aba7edb069108b96b4 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_fd8c28a661ec58aba7edb069108b96b4, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp new file mode 100644 index 00000000..4ae80dab --- /dev/null +++ b/src/py/wrapper/wrapper_9b52bf3c9c595cdb890173a39b0d02c4.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_9b52bf3c9c595cdb890173a39b0d02c4(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_9b52bf3c9c595cdb890173a39b0d02c4(module, "CategoricalUnivariateConditionalDistributionEstimation", ""); + class_9b52bf3c9c595cdb890173a39b0d02c4.def(pybind11::init< >()); + class_9b52bf3c9c595cdb890173a39b0d02c4.def(pybind11::init< struct ::statiskit::CategoricalUnivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9b7e68a17ff659d28c8a9d6250229442.cpp b/src/py/wrapper/wrapper_9b7e68a17ff659d28c8a9d6250229442.cpp new file mode 100644 index 00000000..d56fce85 --- /dev/null +++ b/src/py/wrapper/wrapper_9b7e68a17ff659d28c8a9d6250229442.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::NegativeBinomialDistributionEstimation >::*method_pointer_a4fd62de5c5d5bd69f18b2b68bb05a20)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation >::size; +double const (::statiskit::IterativeEstimation< double, ::statiskit::NegativeBinomialDistributionEstimation >::*method_pointer_5bbcb54f096d55b2b119768e63b68af6)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_9b7e68a17ff659d28c8a9d6250229442(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > >::Type, struct ::statiskit::NegativeBinomialDistributionEstimation > class_9b7e68a17ff659d28c8a9d6250229442(module, "_IterativeEstimation_9b7e68a17ff659d28c8a9d6250229442", ""); + class_9b7e68a17ff659d28c8a9d6250229442.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > const & >()); + class_9b7e68a17ff659d28c8a9d6250229442.def("__len__", method_pointer_a4fd62de5c5d5bd69f18b2b68bb05a20, ""); + class_9b7e68a17ff659d28c8a9d6250229442.def("at_step", method_pointer_5bbcb54f096d55b2b119768e63b68af6, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp b/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp deleted file mode 100644 index 0bb07773..00000000 --- a/src/py/wrapper/wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "_core.h" - -struct ::statiskit::ContinuousUnivariateDistribution const * (::statiskit::SlopeHeuristicSelection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_8204f20a4c0f58e1adcc7dacf271e202)(::statiskit::Index const &)const= &::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_proposal; - -namespace autowig { -} - -void wrapper_9ba0310efd9c520c8c9e6cb4ff8fb1a4(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, class ::statiskit::SlopeHeuristic, struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_9ba0310efd9c520c8c9e6cb4ff8fb1a4(module, "_SlopeHeuristicSelection_9ba0310efd9c520c8c9e6cb4ff8fb1a4", ""); - class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); - class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def(pybind11::init< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - class_9ba0310efd9c520c8c9e6cb4ff8fb1a4.def("get_proposal", method_pointer_8204f20a4c0f58e1adcc7dacf271e202, pybind11::return_value_policy::reference_internal, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp index d3a6755b..63b757fe 100644 --- a/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp +++ b/src/py/wrapper/wrapper_9c2fa9a7a902547eab99ffb00609ac86.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateMeanEstimation, struct ::statiskit::MultivariateLocationEstimation >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_ed04a062d02a5efa9fbc74dde6ee9358; - virtual return_type_ed04a062d02a5efa9fbc74dde6ee9358 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ed04a062d02a5efa9fbc74dde6ee9358, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & return_type_79a5b0a58645590a8356a14195e34da5; virtual return_type_79a5b0a58645590a8356a14195e34da5 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_79a5b0a58645590a8356a14195e34da5, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp index 4caab1cc..5d248a54 100644 --- a/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp +++ b/src/py/wrapper/wrapper_9c33ffd5bcf755b3bcb784af88f00e0b.cpp @@ -9,8 +9,18 @@ namespace autowig public: using ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_9457ae163d2b51e6a4b68c1d52a61c5e; virtual return_type_9457ae163d2b51e6a4b68c1d52a61c5e copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_9457ae163d2b51e6a4b68c1d52a61c5e, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; @@ -18,6 +28,7 @@ namespace autowig } class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::*method_pointer_1b58fb67872859e3906ec2e648200d3c)(::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::operator(); +class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::*method_pointer_b4d3bbcdff0c5c2faab4814b768d9584)(struct ::statiskit::MultivariateData const &, class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const &)const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::operator(); class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > (::statiskit::DistributionEstimation< ::statiskit::SingularDistribution >::Estimator::*method_pointer_9457ae163d2b51e6a4b68c1d52a61c5e)()const= &::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::copy; namespace autowig { @@ -29,6 +40,7 @@ void wrapper_9c33ffd5bcf755b3bcb784af88f00e0b(pybind11::module& module) pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::Type > class_9c33ffd5bcf755b3bcb784af88f00e0b(module, "Estimator", ""); class_9c33ffd5bcf755b3bcb784af88f00e0b.def(pybind11::init< >()); class_9c33ffd5bcf755b3bcb784af88f00e0b.def("__call__", method_pointer_1b58fb67872859e3906ec2e648200d3c, ""); + class_9c33ffd5bcf755b3bcb784af88f00e0b.def("__call__", method_pointer_b4d3bbcdff0c5c2faab4814b768d9584, ""); class_9c33ffd5bcf755b3bcb784af88f00e0b.def("copy", method_pointer_9457ae163d2b51e6a4b68c1d52a61c5e, ""); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp index f1e2fbe4..bac6fde3 100644 --- a/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp +++ b/src/py/wrapper/wrapper_9ce76073f232512da483f80a23807ddc.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::PoissonDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e6c1575ab70f5abaa2d477d12b3ec7ff; - virtual return_type_e6c1575ab70f5abaa2d477d12b3ec7ff copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e6c1575ab70f5abaa2d477d12b3ec7ff, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_9d4ce064ffdf535ab48ee673205bef55.cpp b/src/py/wrapper/wrapper_9d4ce064ffdf535ab48ee673205bef55.cpp new file mode 100644 index 00000000..bed48fc4 --- /dev/null +++ b/src/py/wrapper/wrapper_9d4ce064ffdf535ab48ee673205bef55.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_9d4ce064ffdf535ab48ee673205bef55(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::NormalDistributionEstimation > >::Type, struct ::statiskit::NormalDistributionEstimation > class_9d4ce064ffdf535ab48ee673205bef55(module, "_PolymorphicCopy_9d4ce064ffdf535ab48ee673205bef55", ""); + class_9d4ce064ffdf535ab48ee673205bef55.def(pybind11::init< >()); + class_9d4ce064ffdf535ab48ee673205bef55.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::NormalDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp b/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp deleted file mode 100644 index 93858d11..00000000 --- a/src/py/wrapper/wrapper_9e028a1ab0715490be328e777d68493e.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_9e028a1ab0715490be328e777d68493e(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > class_9e028a1ab0715490be328e777d68493e(module, "_PolymorphicCopy_9e028a1ab0715490be328e777d68493e", ""); - class_9e028a1ab0715490be328e777d68493e.def(pybind11::init< >()); - class_9e028a1ab0715490be328e777d68493e.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9f685fe1069e58669281e1311818de94.cpp b/src/py/wrapper/wrapper_9f685fe1069e58669281e1311818de94.cpp new file mode 100644 index 00000000..2689ecfe --- /dev/null +++ b/src/py/wrapper/wrapper_9f685fe1069e58669281e1311818de94.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_9f685fe1069e58669281e1311818de94(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionIrregularEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > >::Type, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > class_9f685fe1069e58669281e1311818de94(module, "_PolymorphicCopy_9f685fe1069e58669281e1311818de94", ""); + class_9f685fe1069e58669281e1311818de94.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp new file mode 100644 index 00000000..1292442c --- /dev/null +++ b/src/py/wrapper/wrapper_9f71ff88156f5fd0a459f920329e5dc8.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_9f71ff88156f5fd0a459f920329e5dc8(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_9f71ff88156f5fd0a459f920329e5dc8(module, "ContinuousMultivariateConditionalDistributionEstimation", ""); + class_9f71ff88156f5fd0a459f920329e5dc8.def(pybind11::init< >()); + class_9f71ff88156f5fd0a459f920329e5dc8.def(pybind11::init< struct ::statiskit::ContinuousMultivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp new file mode 100644 index 00000000..a82b2182 --- /dev/null +++ b/src/py/wrapper/wrapper_a004a7cf0d095bdeadf276d9713e024f.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_a004a7cf0d095bdeadf276d9713e024f(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::MultivariateConditionalDistributionEstimation > class_a004a7cf0d095bdeadf276d9713e024f(module, "CategoricalMultivariateConditionalDistributionEstimation", ""); + class_a004a7cf0d095bdeadf276d9713e024f.def(pybind11::init< >()); + class_a004a7cf0d095bdeadf276d9713e024f.def(pybind11::init< struct ::statiskit::CategoricalMultivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp index 79b749ae..5e1269dc 100644 --- a/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp +++ b/src/py/wrapper/wrapper_a0117c6545ed509a9f9743da0a6360b7.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultivariateMeanEstimation::Estimator, struct ::statiskit::MultivariateLocationEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation::Estimator > > return_type_5a6b8c33bc2a51f9946990fb646f8b2d; - virtual return_type_5a6b8c33bc2a51f9946990fb646f8b2d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_5a6b8c33bc2a51f9946990fb646f8b2d, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::MultivariateLocationEstimation > > return_type_e9ba7deeca0056cb9754cfd757b7c670; typedef struct ::statiskit::MultivariateData const & param_e9ba7deeca0056cb9754cfd757b7c670_0_type; virtual return_type_e9ba7deeca0056cb9754cfd757b7c670 operator()(param_e9ba7deeca0056cb9754cfd757b7c670_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e9ba7deeca0056cb9754cfd757b7c670, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp index 9a12d96a..fe2687c7 100644 --- a/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp +++ b/src/py/wrapper/wrapper_a079c62242f25fd5aefc1ac40095a061.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistribution< struct ::statiskit::ContinuousUnivariateDistribution >, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0bf6e0a36a8e58f292cfa17694a97874; - virtual return_type_0bf6e0a36a8e58f292cfa17694a97874 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0bf6e0a36a8e58f292cfa17694a97874, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp b/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp deleted file mode 100644 index fc645133..00000000 --- a/src/py/wrapper/wrapper_a14f45085a74550c89aab30952f6725b.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "_core.h" - -unsigned int const & (::statiskit::UnivariateHistogramDistributionEstimation::Estimator::*method_pointer_51500bc0b2985679b02003e72c323092)()const= &::statiskit::UnivariateHistogramDistributionEstimation::Estimator::get_nb_bins; -void (::statiskit::UnivariateHistogramDistributionEstimation::Estimator::*method_pointer_7663d6320c1a5d018f910f7bbcfe06d8)(unsigned int const &)= &::statiskit::UnivariateHistogramDistributionEstimation::Estimator::set_nb_bins; - -namespace autowig { -} - -void wrapper_a14f45085a74550c89aab30952f6725b(pybind11::module& module) -{ - - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > > class_a14f45085a74550c89aab30952f6725b(module, "Estimator", ""); - class_a14f45085a74550c89aab30952f6725b.def(pybind11::init< >()); - class_a14f45085a74550c89aab30952f6725b.def(pybind11::init< class ::statiskit::UnivariateHistogramDistributionEstimation::Estimator const & >()); - class_a14f45085a74550c89aab30952f6725b.def("get_nb_bins", method_pointer_51500bc0b2985679b02003e72c323092, pybind11::return_value_policy::copy, ""); - class_a14f45085a74550c89aab30952f6725b.def("set_nb_bins", method_pointer_7663d6320c1a5d018f910f7bbcfe06d8, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp index f6c12027..985b2f35 100644 --- a/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp +++ b/src/py/wrapper/wrapper_a22eff2d08c251169af231a773c880d3.cpp @@ -9,19 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::DiscreteUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_729600d2bf7d53e2ab4a8668571bf4c1; - virtual return_type_729600d2bf7d53e2ab4a8668571bf4c1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_729600d2bf7d53e2ab4a8668571bf4c1, class_type, copy, ); }; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_e384889726ce5027bf376aeefa7b708d; typedef class ::std::set< int, struct ::std::less< int >, class ::std::allocator< int > > const & param_e384889726ce5027bf376aeefa7b708d_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_e384889726ce5027bf376aeefa7b708d_1_type; virtual return_type_e384889726ce5027bf376aeefa7b708d create(param_e384889726ce5027bf376aeefa7b708d_0_type param_0, param_e384889726ce5027bf376aeefa7b708d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e384889726ce5027bf376aeefa7b708d, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_284f0f75e18351b794373c95605f5747; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::data_type const & param_284f0f75e18351b794373c95605f5747_0_type; - virtual return_type_284f0f75e18351b794373c95605f5747 operator()(param_284f0f75e18351b794373c95605f5747_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_284f0f75e18351b794373c95605f5747, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_a2ac4c39613c5228a2a3cf6cbec6f725.cpp b/src/py/wrapper/wrapper_a2ac4c39613c5228a2a3cf6cbec6f725.cpp new file mode 100644 index 00000000..6a5a2adc --- /dev/null +++ b/src/py/wrapper/wrapper_a2ac4c39613c5228a2a3cf6cbec6f725.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_423a329439525170b30010c9b298154b; + typedef struct ::statiskit::CategoricalUnivariateDistribution const * param_423a329439525170b30010c9b298154b_0_type; + typedef struct ::statiskit::UnivariateData const & param_423a329439525170b30010c9b298154b_1_type; + virtual return_type_423a329439525170b30010c9b298154b scoring(param_423a329439525170b30010c9b298154b_0_type param_0, param_423a329439525170b30010c9b298154b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_423a329439525170b30010c9b298154b, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_a2ac4c39613c5228a2a3cf6cbec6f725(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > class_a2ac4c39613c5228a2a3cf6cbec6f725(module, "_PolymorphicCopy_a2ac4c39613c5228a2a3cf6cbec6f725", ""); + class_a2ac4c39613c5228a2a3cf6cbec6f725.def(pybind11::init< >()); + class_a2ac4c39613c5228a2a3cf6cbec6f725.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::CategoricalUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp index 29eedba8..691ae1bd 100644 --- a/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp +++ b/src/py/wrapper/wrapper_a32936912db85574b408168f51749429.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::DiscreteEvent >, struct ::statiskit::DiscreteEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_6f8d19004461501ab782f1d329f7f359; - virtual return_type_6f8d19004461501ab782f1d329f7f359 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_6f8d19004461501ab782f1d329f7f359, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_587534d25215580ca64d3f38a0595f62; - virtual return_type_587534d25215580ca64d3f38a0595f62 get_outcome() const override { PYBIND11_OVERLOAD(return_type_587534d25215580ca64d3f38a0595f62, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_a35adf522c9151b48ccb09eeb798105e.cpp b/src/py/wrapper/wrapper_a35adf522c9151b48ccb09eeb798105e.cpp new file mode 100644 index 00000000..9dbdbb61 --- /dev/null +++ b/src/py/wrapper/wrapper_a35adf522c9151b48ccb09eeb798105e.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +enum ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_489fde90f4035ce495a871ab8a4369a3)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::get_criterion; +void (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::*method_pointer_a8740975ddc258f39298b5800b2a684c)(enum ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator::set_criterion; + +namespace autowig { +} + +void wrapper_a35adf522c9151b48ccb09eeb798105e(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator > > class_a35adf522c9151b48ccb09eeb798105e(module, "CriterionEstimator", ""); + class_a35adf522c9151b48ccb09eeb798105e.def(pybind11::init< >()); + class_a35adf522c9151b48ccb09eeb798105e.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator const & >()); + class_a35adf522c9151b48ccb09eeb798105e.def("get_criterion", method_pointer_489fde90f4035ce495a871ab8a4369a3, pybind11::return_value_policy::copy, ""); + class_a35adf522c9151b48ccb09eeb798105e.def("set_criterion", method_pointer_a8740975ddc258f39298b5800b2a684c, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a39157f23e3f57f1b095552634010236.cpp b/src/py/wrapper/wrapper_a39157f23e3f57f1b095552634010236.cpp new file mode 100644 index 00000000..dc2971e8 --- /dev/null +++ b/src/py/wrapper/wrapper_a39157f23e3f57f1b095552634010236.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::CategoricalMultivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; + typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; + virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; + typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; + virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_a39157f23e3f57f1b095552634010236(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_a39157f23e3f57f1b095552634010236(module, "Estimator", ""); + class_a39157f23e3f57f1b095552634010236.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp index 04e0db04..3fea9b25 100644 --- a/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp +++ b/src/py/wrapper/wrapper_a40e46e6e0ca59f7a440e68cd5fd7072.cpp @@ -9,11 +9,17 @@ namespace autowig public: using ::statiskit::MultivariateEvent::MultivariateEvent; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_ee0381fa29a75d5782f895a637e2a8d5; virtual return_type_ee0381fa29a75d5782f895a637e2a8d5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_ee0381fa29a75d5782f895a637e2a8d5, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateEvent const * return_type_09d1fd5db58a5234abee68232835e76b; typedef ::statiskit::Index const & param_09d1fd5db58a5234abee68232835e76b_0_type; virtual return_type_09d1fd5db58a5234abee68232835e76b get_event(param_09d1fd5db58a5234abee68232835e76b_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_09d1fd5db58a5234abee68232835e76b, class_type, get_event, param_0); }; + + public: typedef ::statiskit::Index return_type_b16ba67d442357de95884c2b80cd9413; virtual return_type_b16ba67d442357de95884c2b80cd9413 size() const override { PYBIND11_OVERLOAD_PURE(return_type_b16ba67d442357de95884c2b80cd9413, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_a40edc8cafb55dbebc9e932e8692e8ff.cpp b/src/py/wrapper/wrapper_a40edc8cafb55dbebc9e932e8692e8ff.cpp new file mode 100644 index 00000000..2ab1a78b --- /dev/null +++ b/src/py/wrapper/wrapper_a40edc8cafb55dbebc9e932e8692e8ff.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::LogarithmicDistributionEstimation >::*method_pointer_aa871b3b073e5337a9b3b6d7b0d3b43d)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation >::size; +double const (::statiskit::IterativeEstimation< double, ::statiskit::LogarithmicDistributionEstimation >::*method_pointer_0a7d2f3ec0d75a16ae4b787dff31cdb9)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_a40edc8cafb55dbebc9e932e8692e8ff(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > >::Type, struct ::statiskit::LogarithmicDistributionEstimation > class_a40edc8cafb55dbebc9e932e8692e8ff(module, "_IterativeEstimation_a40edc8cafb55dbebc9e932e8692e8ff", ""); + class_a40edc8cafb55dbebc9e932e8692e8ff.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > const & >()); + class_a40edc8cafb55dbebc9e932e8692e8ff.def("__len__", method_pointer_aa871b3b073e5337a9b3b6d7b0d3b43d, ""); + class_a40edc8cafb55dbebc9e932e8692e8ff.def("at_step", method_pointer_0a7d2f3ec0d75a16ae4b787dff31cdb9, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp index fcb2e65f..bb72cd04 100644 --- a/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp +++ b/src/py/wrapper/wrapper_a42d846927fa55029bf78190c71fb4a4.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::MultivariateVarianceEstimation::Estimator, struct ::statiskit::MultivariateDispersionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDispersionEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::MultivariateDispersionEstimation::Estimator > > return_type_a9cf793dd2c45d07b722097c2a05e58d; - virtual return_type_a9cf793dd2c45d07b722097c2a05e58d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9cf793dd2c45d07b722097c2a05e58d, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::MultivariateDispersionEstimation, struct ::std::default_delete< class ::statiskit::MultivariateDispersionEstimation > > return_type_362d225b055b59faab2c348f93722cb7; typedef struct ::statiskit::MultivariateData const & param_362d225b055b59faab2c348f93722cb7_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_362d225b055b59faab2c348f93722cb7_1_type; diff --git a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp index fe88fae1..7195dcde 100644 --- a/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp +++ b/src/py/wrapper/wrapper_a4463e49d7865a6497ec20612e342cbe.cpp @@ -9,25 +9,13 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::CategoricalUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp index 9138dfeb..25071bdd 100644 --- a/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp +++ b/src/py/wrapper/wrapper_a4d6cfc5f43a5e10a524a2cea681460d.cpp @@ -9,15 +9,25 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateConditionalDistribution::CategoricalMultivariateConditionalDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateConditionalDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateConditionalDistribution > > return_type_5602cdbf2c275bce8b45653e1d25ff61; virtual return_type_5602cdbf2c275bce8b45653e1d25ff61 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_5602cdbf2c275bce8b45653e1d25ff61, class_type, copy, ); }; + + public: typedef unsigned int return_type_645f02f88f8b570697bc8d8b93b48d3b; virtual return_type_645f02f88f8b570697bc8d8b93b48d3b get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_645f02f88f8b570697bc8d8b93b48d3b, class_type, get_nb_parameters, ); }; + + public: typedef struct ::statiskit::MultivariateSampleSpace const * return_type_7efcb466ce8a5d1094143e91829eeb72; virtual return_type_7efcb466ce8a5d1094143e91829eeb72 get_explanatory_space() const override { PYBIND11_OVERLOAD_PURE(return_type_7efcb466ce8a5d1094143e91829eeb72, class_type, get_explanatory_space, ); }; + + public: typedef struct ::statiskit::MultivariateDistribution const * return_type_3285f0544f0e5aada41213932efa56a7; typedef struct ::statiskit::MultivariateEvent const & param_3285f0544f0e5aada41213932efa56a7_0_type; virtual return_type_3285f0544f0e5aada41213932efa56a7 operator()(param_3285f0544f0e5aada41213932efa56a7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3285f0544f0e5aada41213932efa56a7, class_type, operator(), param_0); }; + + public: typedef ::statiskit::Index return_type_5c154b63f1c35786827ec4701044e25a; virtual return_type_5c154b63f1c35786827ec4701044e25a get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_5c154b63f1c35786827ec4701044e25a, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp index 996bdb06..375751a8 100644 --- a/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp +++ b/src/py/wrapper/wrapper_a5cf9061d7bb5791ad10bf28e28951fd.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ExponentialDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e569843d13fa59ddb84b8136bd82d196; - virtual return_type_e569843d13fa59ddb84b8136bd82d196 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e569843d13fa59ddb84b8136bd82d196, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp b/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp index 45acab4e..30a9c575 100644 --- a/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp +++ b/src/py/wrapper/wrapper_a640206684935d01aa5be922b3bbdf00.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_a640206684935d01aa5be922b3bbdf00(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_a640206684935d01aa5be922b3bbdf00(module, "BinomialDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< unsigned int, struct ::statiskit::BinomialDistributionEstimation > > > class_a640206684935d01aa5be922b3bbdf00(module, "BinomialDistributionMLEstimation", ""); class_a640206684935d01aa5be922b3bbdf00.def(pybind11::init< >()); class_a640206684935d01aa5be922b3bbdf00.def(pybind11::init< struct ::statiskit::BinomialDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp index 26ca7fe0..7e11f1df 100644 --- a/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp +++ b/src/py/wrapper/wrapper_a87f64a7a0c553e2b79ea554696bd78b.cpp @@ -8,12 +8,18 @@ namespace autowig { public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp b/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp deleted file mode 100644 index 4ec7e838..00000000 --- a/src/py/wrapper/wrapper_a9f3c5b5305c5c23a7742b905ccee4cc.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_a9f3c5b5305c5c23a7742b905ccee4cc(pybind11::module& module) -{ - - pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_a9f3c5b5305c5c23a7742b905ccee4cc(module, "_PolymorphicCopy_a9f3c5b5305c5c23a7742b905ccee4cc", ""); - class_a9f3c5b5305c5c23a7742b905ccee4cc.def(pybind11::init< >()); - class_a9f3c5b5305c5c23a7742b905ccee4cc.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_aa4257ce2e3e5118aa2930b6c068b768.cpp b/src/py/wrapper/wrapper_aa4257ce2e3e5118aa2930b6c068b768.cpp new file mode 100644 index 00000000..795cadc0 --- /dev/null +++ b/src/py/wrapper/wrapper_aa4257ce2e3e5118aa2930b6c068b768.cpp @@ -0,0 +1,17 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::NegativeMultinomialDistributionEstimation >::*method_pointer_3adbf84f95825693832798a5b58d5cac)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation >::size; +double const (::statiskit::IterativeEstimation< double, ::statiskit::NegativeMultinomialDistributionEstimation >::*method_pointer_d664525489755a6fb556620cc5a71d43)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation >::at_step; + +namespace autowig { +} + +void wrapper_aa4257ce2e3e5118aa2930b6c068b768(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > >::Type, struct ::statiskit::NegativeMultinomialDistributionEstimation > class_aa4257ce2e3e5118aa2930b6c068b768(module, "_IterativeEstimation_aa4257ce2e3e5118aa2930b6c068b768", ""); + class_aa4257ce2e3e5118aa2930b6c068b768.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > const & >()); + class_aa4257ce2e3e5118aa2930b6c068b768.def("__len__", method_pointer_3adbf84f95825693832798a5b58d5cac, ""); + class_aa4257ce2e3e5118aa2930b6c068b768.def("at_step", method_pointer_d664525489755a6fb556620cc5a71d43, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp index caa9087e..052d01ec 100644 --- a/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp +++ b/src/py/wrapper/wrapper_aa6b2bab0be654649ef497aa71dff2e3.cpp @@ -9,12 +9,12 @@ namespace autowig public: using ::statiskit::ContinuousSampleSpace::ContinuousSampleSpace; - typedef enum ::statiskit::ordering_type return_type_dd35b002873d50f698c1c0f5e685daf1; - virtual return_type_dd35b002873d50f698c1c0f5e685daf1 get_ordering() const override { PYBIND11_OVERLOAD(return_type_dd35b002873d50f698c1c0f5e685daf1, class_type, get_ordering, ); }; - typedef enum ::statiskit::outcome_type return_type_ce443c4aefe55cf5b2debe02d45c58ed; - virtual return_type_ce443c4aefe55cf5b2debe02d45c58ed get_outcome() const override { PYBIND11_OVERLOAD(return_type_ce443c4aefe55cf5b2debe02d45c58ed, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::UnivariateSampleSpace > > return_type_a90fb1d3b5f75154bbd9fec1e0bee360; virtual return_type_a90fb1d3b5f75154bbd9fec1e0bee360 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a90fb1d3b5f75154bbd9fec1e0bee360, class_type, copy, ); }; + + public: typedef bool return_type_aabfe8c337085d58a1ab73066415dd66; typedef struct ::statiskit::UnivariateEvent const * param_aabfe8c337085d58a1ab73066415dd66_0_type; virtual return_type_aabfe8c337085d58a1ab73066415dd66 is_compatible(param_aabfe8c337085d58a1ab73066415dd66_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_aabfe8c337085d58a1ab73066415dd66, class_type, is_compatible, param_0); }; diff --git a/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp b/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp index e171de25..c8a9626b 100644 --- a/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp +++ b/src/py/wrapper/wrapper_aabf684ce17950b49b6345c1ab565540.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_aabf684ce17950b49b6345c1ab565540(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_aabf684ce17950b49b6345c1ab565540(module, "NormalDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::NormalDistributionEstimation > > class_aabf684ce17950b49b6345c1ab565540(module, "NormalDistributionMLEstimation", ""); class_aabf684ce17950b49b6345c1ab565540.def(pybind11::init< >()); class_aabf684ce17950b49b6345c1ab565540.def(pybind11::init< struct ::statiskit::NormalDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_ab9be9c73a44521483b11c3c7c0eeed9.cpp b/src/py/wrapper/wrapper_ab9be9c73a44521483b11c3c7c0eeed9.cpp new file mode 100644 index 00000000..1c2c8809 --- /dev/null +++ b/src/py/wrapper/wrapper_ab9be9c73a44521483b11c3c7c0eeed9.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DiscreteUnivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; + typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; + typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; + typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; + virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; + typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; + virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_ab9be9c73a44521483b11c3c7c0eeed9(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_ab9be9c73a44521483b11c3c7c0eeed9(module, "Estimator", ""); + class_ab9be9c73a44521483b11c3c7c0eeed9.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp index fe6c5505..0d4f78eb 100644 --- a/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp +++ b/src/py/wrapper/wrapper_acaf9a5cc6ee5eff8cfa5b68a6258d5a.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ElementaryEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_cbbca6699ce05d0ea9488bf5a1a5e645; - virtual return_type_cbbca6699ce05d0ea9488bf5a1a5e645 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_cbbca6699ce05d0ea9488bf5a1a5e645, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_b08a71b7d00b57328be4226ac350fd3e.cpp b/src/py/wrapper/wrapper_b08a71b7d00b57328be4226ac350fd3e.cpp new file mode 100644 index 00000000..5e522675 --- /dev/null +++ b/src/py/wrapper/wrapper_b08a71b7d00b57328be4226ac350fd3e.cpp @@ -0,0 +1,38 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::LogarithmicDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_b08a71b7d00b57328be4226ac350fd3e(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_b08a71b7d00b57328be4226ac350fd3e(module, "Estimator", ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b13b21c5dd48547da5988ddab8c37607.cpp b/src/py/wrapper/wrapper_b13b21c5dd48547da5988ddab8c37607.cpp new file mode 100644 index 00000000..cbf7a68d --- /dev/null +++ b/src/py/wrapper/wrapper_b13b21c5dd48547da5988ddab8c37607.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::DiscreteMultivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_45ab5c9717535df895abfb6127f37c74; + typedef struct ::statiskit::MultivariateData const & param_45ab5c9717535df895abfb6127f37c74_0_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_1_type; + typedef ::statiskit::Indices const & param_45ab5c9717535df895abfb6127f37c74_2_type; + virtual return_type_45ab5c9717535df895abfb6127f37c74 operator()(param_45ab5c9717535df895abfb6127f37c74_0_type param_0, param_45ab5c9717535df895abfb6127f37c74_1_type param_1, param_45ab5c9717535df895abfb6127f37c74_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_45ab5c9717535df895abfb6127f37c74, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > return_type_eb1bba57f46d5e84ae7593c48145dae1; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_0_type; + typedef ::statiskit::explanatory_data_type const & param_eb1bba57f46d5e84ae7593c48145dae1_1_type; + virtual return_type_eb1bba57f46d5e84ae7593c48145dae1 operator()(param_eb1bba57f46d5e84ae7593c48145dae1_0_type param_0, param_eb1bba57f46d5e84ae7593c48145dae1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_eb1bba57f46d5e84ae7593c48145dae1, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::Estimator > > return_type_e0f51277c2d15a7b848e5e67281ff6ad; + virtual return_type_e0f51277c2d15a7b848e5e67281ff6ad copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e0f51277c2d15a7b848e5e67281ff6ad, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_b13b21c5dd48547da5988ddab8c37607(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::MultivariateConditionalDistributionEstimation::Estimator > class_b13b21c5dd48547da5988ddab8c37607(module, "Estimator", ""); + class_b13b21c5dd48547da5988ddab8c37607.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::MultivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::MultivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp b/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp deleted file mode 100644 index 8cfb0058..00000000 --- a/src/py/wrapper/wrapper_b2c44a0108fd54c6a0ec396f27bccd10.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_b2c44a0108fd54c6a0ec396f27bccd10(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_b2c44a0108fd54c6a0ec396f27bccd10(module, "_PolymorphicCopy_b2c44a0108fd54c6a0ec396f27bccd10", ""); - class_b2c44a0108fd54c6a0ec396f27bccd10.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::RegularUnivariateHistogramDistributionSlopeHeuristicSelection, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp index 87ddc6f3..2a2fd7b1 100644 --- a/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp +++ b/src/py/wrapper/wrapper_b43d5bcd7fb95832845cba669051438f.cpp @@ -4,7 +4,7 @@ void wrapper_b43d5bcd7fb95832845cba669051438f(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type > enum_b43d5bcd7fb95832845cba669051438f(module, "criterion_type"); + pybind11::enum_< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type > enum_b43d5bcd7fb95832845cba669051438f(module, "criterion_type"); enum_b43d5bcd7fb95832845cba669051438f.value("AIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AIC); enum_b43d5bcd7fb95832845cba669051438f.value("AI_CC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::AICc); enum_b43d5bcd7fb95832845cba669051438f.value("BIC", ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::BIC); diff --git a/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp index 29f4a5f3..1898923f 100644 --- a/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp +++ b/src/py/wrapper/wrapper_b4644d28cde95fdb8e27360bc00fee72.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::SlopeHeuristicOLSSolver, ::statiskit::SlopeHeuristicSolver >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::SlopeHeuristicSolver, struct ::std::default_delete< class ::statiskit::SlopeHeuristicSolver > > return_type_b65074665462553d8a58a6d85d8dfdd1; - virtual return_type_b65074665462553d8a58a6d85d8dfdd1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b65074665462553d8a58a6d85d8dfdd1, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > return_type_d3975f18eb9652cea17c1ce078741a5e; typedef class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & param_d3975f18eb9652cea17c1ce078741a5e_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_d3975f18eb9652cea17c1ce078741a5e_1_type; diff --git a/src/py/wrapper/wrapper_b533e621f4b85d2f83f733680ab3b563.cpp b/src/py/wrapper/wrapper_b533e621f4b85d2f83f733680ab3b563.cpp new file mode 100644 index 00000000..389aa2c9 --- /dev/null +++ b/src/py/wrapper/wrapper_b533e621f4b85d2f83f733680ab3b563.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b533e621f4b85d2f83f733680ab3b563(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_b533e621f4b85d2f83f733680ab3b563(module, "LogarithmicDistributionEstimation", ""); + class_b533e621f4b85d2f83f733680ab3b563.def(pybind11::init< >()); + class_b533e621f4b85d2f83f733680ab3b563.def(pybind11::init< struct ::statiskit::LogarithmicDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp index 45164b5d..48070fd2 100644 --- a/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp +++ b/src/py/wrapper/wrapper_b544b96a33fd5924804b28cfb48e8df8.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LaplaceDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_ea4f45eb12b9564bb4055f802bfda341; - virtual return_type_ea4f45eb12b9564bb4055f802bfda341 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ea4f45eb12b9564bb4055f802bfda341, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_b546d5877d98583d87994f126ec5e776.cpp b/src/py/wrapper/wrapper_b546d5877d98583d87994f126ec5e776.cpp new file mode 100644 index 00000000..e329664a --- /dev/null +++ b/src/py/wrapper/wrapper_b546d5877d98583d87994f126ec5e776.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b546d5877d98583d87994f126ec5e776(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionRegularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > >::Type, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > class_b546d5877d98583d87994f126ec5e776(module, "_PolymorphicCopy_b546d5877d98583d87994f126ec5e776", ""); + class_b546d5877d98583d87994f126ec5e776.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionRegularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b581fba1ddc25a0f80be4fc91f938db4.cpp b/src/py/wrapper/wrapper_b581fba1ddc25a0f80be4fc91f938db4.cpp new file mode 100644 index 00000000..b696796c --- /dev/null +++ b/src/py/wrapper/wrapper_b581fba1ddc25a0f80be4fc91f938db4.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::GeometricDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::GeometricDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_b581fba1ddc25a0f80be4fc91f938db4(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::GeometricDistributionEstimation::Estimator > >::Type, struct ::statiskit::GeometricDistributionEstimation::Estimator > class_b581fba1ddc25a0f80be4fc91f938db4(module, "_PolymorphicCopy_b581fba1ddc25a0f80be4fc91f938db4", ""); + class_b581fba1ddc25a0f80be4fc91f938db4.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp index 68718763..ef721c75 100644 --- a/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp +++ b/src/py/wrapper/wrapper_b5bed4faf978515387938b2b850d0fdf.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_caf4673a3bb75af5b798bdbb9db8a10b; - virtual return_type_caf4673a3bb75af5b798bdbb9db8a10b copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_caf4673a3bb75af5b798bdbb9db8a10b, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp index 3107081b..b0908ba0 100644 --- a/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp +++ b/src/py/wrapper/wrapper_b6605ca6549d54eba3c614d5b6a29235.cpp @@ -8,6 +8,7 @@ void wrapper_b6605ca6549d54eba3c614d5b6a29235(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NominalDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator > > class_b6605ca6549d54eba3c614d5b6a29235(module, "NominalDistributionEstimator", ""); + class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< >()); class_b6605ca6549d54eba3c614d5b6a29235.def(pybind11::init< class ::statiskit::NominalDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp b/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp deleted file mode 100644 index 63d394fe..00000000 --- a/src/py/wrapper/wrapper_b6a067f70ca259909a6411bfb14cfdca.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "_core.h" - - -void wrapper_b6a067f70ca259909a6411bfb14cfdca(pybind11::module& module) -{ - - - pybind11::register_exception< class ::std::ios_base::failure >(module, "Failure"); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b6d36b833ba954b1a5101fc3e17aeea9.cpp b/src/py/wrapper/wrapper_b6d36b833ba954b1a5101fc3e17aeea9.cpp new file mode 100644 index 00000000..73f69048 --- /dev/null +++ b/src/py/wrapper/wrapper_b6d36b833ba954b1a5101fc3e17aeea9.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_78996ca7fa9d5ebead3e3c6a72db16ee; + typedef struct ::statiskit::DiscreteUnivariateDistribution const * param_78996ca7fa9d5ebead3e3c6a72db16ee_0_type; + typedef struct ::statiskit::UnivariateData const & param_78996ca7fa9d5ebead3e3c6a72db16ee_1_type; + virtual return_type_78996ca7fa9d5ebead3e3c6a72db16ee scoring(param_78996ca7fa9d5ebead3e3c6a72db16ee_0_type param_0, param_78996ca7fa9d5ebead3e3c6a72db16ee_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_78996ca7fa9d5ebead3e3c6a72db16ee, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_b6d36b833ba954b1a5101fc3e17aeea9(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator > class_b6d36b833ba954b1a5101fc3e17aeea9(module, "_PolymorphicCopy_b6d36b833ba954b1a5101fc3e17aeea9", ""); + class_b6d36b833ba954b1a5101fc3e17aeea9.def(pybind11::init< >()); + class_b6d36b833ba954b1a5101fc3e17aeea9.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::DiscreteUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp b/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp deleted file mode 100644 index 0120fcb8..00000000 --- a/src/py/wrapper/wrapper_b730e37e69f05687be99d670316afe25.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::Optimization; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; - virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; - virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; - }; -} - -double const & (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_2d570bb6238c588e8df030fcc186f8a2)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_mindiff; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_b5dbf9a293985f8ba1770a0b07915da4)(double const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_mindiff; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_2a0bf3f8ae745dd0adf4697ab5a385af)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_minits; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_d65c85cb59785e15ac07984f310b0d74)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_minits; -unsigned int (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_1ba12dd370ba5426a662a8c29fa3d4ef)()const= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::get_maxits; -void (::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::*method_pointer_8215e7fb91415f0dbd10a2bb22e19766)(unsigned int const &)= &::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator >::set_maxits; - -namespace autowig { -} - -void wrapper_b730e37e69f05687be99d670316afe25(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_b730e37e69f05687be99d670316afe25(module, "_Optimization_b730e37e69f05687be99d670316afe25", ""); - class_b730e37e69f05687be99d670316afe25.def(pybind11::init< >()); - class_b730e37e69f05687be99d670316afe25.def("get_mindiff", method_pointer_2d570bb6238c588e8df030fcc186f8a2, pybind11::return_value_policy::copy, ""); - class_b730e37e69f05687be99d670316afe25.def("set_mindiff", method_pointer_b5dbf9a293985f8ba1770a0b07915da4, ""); - class_b730e37e69f05687be99d670316afe25.def("get_minits", method_pointer_2a0bf3f8ae745dd0adf4697ab5a385af, ""); - class_b730e37e69f05687be99d670316afe25.def("set_minits", method_pointer_d65c85cb59785e15ac07984f310b0d74, ""); - class_b730e37e69f05687be99d670316afe25.def("get_maxits", method_pointer_1ba12dd370ba5426a662a8c29fa3d4ef, ""); - class_b730e37e69f05687be99d670316afe25.def("set_maxits", method_pointer_8215e7fb91415f0dbd10a2bb22e19766, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b79f8d6fe5105eaab1a0a91e799b9248.cpp b/src/py/wrapper/wrapper_b79f8d6fe5105eaab1a0a91e799b9248.cpp new file mode 100644 index 00000000..045f46f1 --- /dev/null +++ b/src/py/wrapper/wrapper_b79f8d6fe5105eaab1a0a91e799b9248.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b79f8d6fe5105eaab1a0a91e799b9248(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::DiscreteUnivariateDistributionEstimation > class_b79f8d6fe5105eaab1a0a91e799b9248(module, "GeometricDistributionEstimation", ""); + class_b79f8d6fe5105eaab1a0a91e799b9248.def(pybind11::init< >()); + class_b79f8d6fe5105eaab1a0a91e799b9248.def(pybind11::init< struct ::statiskit::GeometricDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b7ac2d5bfb385a2ca41d90d218b9913b.cpp b/src/py/wrapper/wrapper_b7ac2d5bfb385a2ca41d90d218b9913b.cpp new file mode 100644 index 00000000..ec8b7c03 --- /dev/null +++ b/src/py/wrapper/wrapper_b7ac2d5bfb385a2ca41d90d218b9913b.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_6314917e34cc587a8fad9aadf5f80ab2)()const= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_a7d817583f465cd18b825cca2c259cfe)(double const &)= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_aea6d3368a0b5330a9eb0f0f6df69fd8)()const= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_80bf77ae7ebe5e08add4ef8d67f5fad2)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_5e769d7457655b918cae371dc814a99f)()const= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::BinomialDistributionEstimation::Estimator >::*method_pointer_e141a7bfd3cc5a039ee00aa0dd6f9b78)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_b7ac2d5bfb385a2ca41d90d218b9913b(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::BinomialDistributionEstimation::Estimator > >::Type, struct ::statiskit::BinomialDistributionEstimation::Estimator > class_b7ac2d5bfb385a2ca41d90d218b9913b(module, "_Optimization_b7ac2d5bfb385a2ca41d90d218b9913b", ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def(pybind11::init< >()); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("get_mindiff", method_pointer_6314917e34cc587a8fad9aadf5f80ab2, pybind11::return_value_policy::copy, ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("set_mindiff", method_pointer_a7d817583f465cd18b825cca2c259cfe, ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("get_minits", method_pointer_aea6d3368a0b5330a9eb0f0f6df69fd8, ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("set_minits", method_pointer_80bf77ae7ebe5e08add4ef8d67f5fad2, ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("get_maxits", method_pointer_5e769d7457655b918cae371dc814a99f, ""); + class_b7ac2d5bfb385a2ca41d90d218b9913b.def("set_maxits", method_pointer_e141a7bfd3cc5a039ee00aa0dd6f9b78, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b7c30dd4152658648d05d4b2fbc2fc1d.cpp b/src/py/wrapper/wrapper_b7c30dd4152658648d05d4b2fbc2fc1d.cpp new file mode 100644 index 00000000..0b4e61ac --- /dev/null +++ b/src/py/wrapper/wrapper_b7c30dd4152658648d05d4b2fbc2fc1d.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, struct ::statiskit::BinomialDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMMEstimation::Estimator, struct ::statiskit::BinomialDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_b7c30dd4152658648d05d4b2fbc2fc1d(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMMEstimation::Estimator, struct ::statiskit::BinomialDistributionEstimation::Estimator > >::Type, struct ::statiskit::BinomialDistributionEstimation::Estimator > class_b7c30dd4152658648d05d4b2fbc2fc1d(module, "_PolymorphicCopy_b7c30dd4152658648d05d4b2fbc2fc1d", ""); + class_b7c30dd4152658648d05d4b2fbc2fc1d.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp index 6a3d3bd5..2840fea7 100644 --- a/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp +++ b/src/py/wrapper/wrapper_b87395375e4e53959abf2c6e5205259d.cpp @@ -9,12 +9,18 @@ namespace autowig public: using ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator::Estimator; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_b91dc1bd45ca5b28b265d059475cffcd.cpp b/src/py/wrapper/wrapper_b91dc1bd45ca5b28b265d059475cffcd.cpp new file mode 100644 index 00000000..54ab86ba --- /dev/null +++ b/src/py/wrapper/wrapper_b91dc1bd45ca5b28b265d059475cffcd.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_b91dc1bd45ca5b28b265d059475cffcd(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::ContinuousUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_b91dc1bd45ca5b28b265d059475cffcd(module, "_PolymorphicCopy_b91dc1bd45ca5b28b265d059475cffcd", ""); + class_b91dc1bd45ca5b28b265d059475cffcd.def(pybind11::init< >()); + class_b91dc1bd45ca5b28b265d059475cffcd.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp b/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp deleted file mode 100644 index bd589185..00000000 --- a/src/py/wrapper/wrapper_b96c209ac3dd5f7fbfe78eac3417193e.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "_core.h" - -struct ::statiskit::MultivariateSampleSpace const * (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_3a2a3a9b97515f4a9768f025e794825e)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_sample_space; -class ::statiskit::MultivariateDataFrame const * (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_56897e28ca035b0daf721a8cff74c501)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::origin; -::statiskit::Index (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_cdad2d0065a253248c1ebc64c41e0a91)()const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_nb_weights; -double (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_05d41b99b36b5848832d09948d315dd8)(::statiskit::Index const &)const= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::get_weight; -void (::statiskit::WeightedData< ::statiskit::MultivariateDataFrame >::*method_pointer_0ac1bbdd82215ba99ad2916691481b60)(::statiskit::Index const &, double const &)= &::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame >::set_weight; - -namespace autowig { -} - -void wrapper_b96c209ac3dd5f7fbfe78eac3417193e(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame > >::Type, class ::statiskit::MultivariateDataFrame > class_b96c209ac3dd5f7fbfe78eac3417193e(module, "_WeightedData_b96c209ac3dd5f7fbfe78eac3417193e", ""); - class_b96c209ac3dd5f7fbfe78eac3417193e.def(pybind11::init< class ::statiskit::MultivariateDataFrame const & >()); - class_b96c209ac3dd5f7fbfe78eac3417193e.def(pybind11::init< class ::statiskit::WeightedData< class ::statiskit::MultivariateDataFrame > const & >()); - class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_sample_space", method_pointer_3a2a3a9b97515f4a9768f025e794825e, pybind11::return_value_policy::reference_internal, ""); - class_b96c209ac3dd5f7fbfe78eac3417193e.def("origin", method_pointer_56897e28ca035b0daf721a8cff74c501, pybind11::return_value_policy::reference_internal, ""); - class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_nb_weights", method_pointer_cdad2d0065a253248c1ebc64c41e0a91, ""); - class_b96c209ac3dd5f7fbfe78eac3417193e.def("get_weight", method_pointer_05d41b99b36b5848832d09948d315dd8, ""); - class_b96c209ac3dd5f7fbfe78eac3417193e.def("set_weight", method_pointer_0ac1bbdd82215ba99ad2916691481b60, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp index 21543d32..6f0e5f0a 100644 --- a/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp +++ b/src/py/wrapper/wrapper_bc200d01ce665d1f9024e1ee1e59a5c5.cpp @@ -8,6 +8,7 @@ void wrapper_bc200d01ce665d1f9024e1ee1e59a5c5(pybind11::module& module) { pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator, class ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator > > class_bc200d01ce665d1f9024e1ee1e59a5c5(module, "ContinuousUnivariateFrequencyDistributionEstimator", ""); + class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< >()); class_bc200d01ce665d1f9024e1ee1e59a5c5.def(pybind11::init< class ::statiskit::ContinuousUnivariateFrequencyDistributionEstimator const & >()); } \ No newline at end of file diff --git a/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp index 944b03f3..d6d8a4c9 100644 --- a/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp +++ b/src/py/wrapper/wrapper_bc2764672801516e9cea984f33c9d9bf.cpp @@ -9,12 +9,16 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IndexSelectedData, struct ::statiskit::UnivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_00dc14d2344551038bf30fab06a278a1; - virtual return_type_00dc14d2344551038bf30fab06a278a1 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_00dc14d2344551038bf30fab06a278a1, class_type, copy, ); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_21507917363a580db5491fa57b8df73d; virtual return_type_21507917363a580db5491fa57b8df73d get_sample_space() const override { PYBIND11_OVERLOAD_PURE(return_type_21507917363a580db5491fa57b8df73d, class_type, get_sample_space, ); }; + + public: typedef ::statiskit::Index return_type_7329cda10ff05b02b002e0eb5bbc9083; virtual return_type_7329cda10ff05b02b002e0eb5bbc9083 get_nb_events() const override { PYBIND11_OVERLOAD(return_type_7329cda10ff05b02b002e0eb5bbc9083, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData::Generator, struct ::std::default_delete< struct ::statiskit::UnivariateData::Generator > > return_type_a33919ff84f759e6b649d1aea1a76e87; virtual return_type_a33919ff84f759e6b649d1aea1a76e87 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_a33919ff84f759e6b649d1aea1a76e87, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_bcd5acac62455ce2a0bc14930caa1afc.cpp b/src/py/wrapper/wrapper_bcd5acac62455ce2a0bc14930caa1afc.cpp new file mode 100644 index 00000000..ebb7d125 --- /dev/null +++ b/src/py/wrapper/wrapper_bcd5acac62455ce2a0bc14930caa1afc.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_7b493f2698fd576a9919c7b753746d82; + typedef struct ::statiskit::CategoricalMultivariateDistribution const * param_7b493f2698fd576a9919c7b753746d82_0_type; + typedef struct ::statiskit::MultivariateData const & param_7b493f2698fd576a9919c7b753746d82_1_type; + virtual return_type_7b493f2698fd576a9919c7b753746d82 scoring(param_7b493f2698fd576a9919c7b753746d82_0_type param_0, param_7b493f2698fd576a9919c7b753746d82_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_7b493f2698fd576a9919c7b753746d82, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_bcd5acac62455ce2a0bc14930caa1afc(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator > class_bcd5acac62455ce2a0bc14930caa1afc(module, "_PolymorphicCopy_bcd5acac62455ce2a0bc14930caa1afc", ""); + class_bcd5acac62455ce2a0bc14930caa1afc.def(pybind11::init< >()); + class_bcd5acac62455ce2a0bc14930caa1afc.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::CategoricalMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp index 5b8c132d..b54837bc 100644 --- a/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp +++ b/src/py/wrapper/wrapper_be6e5acaae3150f69207956b75050e55.cpp @@ -9,21 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IndicesSelectedData, struct ::statiskit::MultivariateData >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_54099ba6c0a15309b035d3d9e35a8f78; - virtual return_type_54099ba6c0a15309b035d3d9e35a8f78 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_54099ba6c0a15309b035d3d9e35a8f78, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_facf1de3504b5543b1eed987285d8673; virtual return_type_facf1de3504b5543b1eed987285d8673 generator() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_facf1de3504b5543b1eed987285d8673, class_type, generator, ); }; }; diff --git a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp index f17e150e..fc2b8657 100644 --- a/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp +++ b/src/py/wrapper/wrapper_bf5b68f25d1f5ab9ad2c936351edf740.cpp @@ -9,30 +9,26 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistribution< ::statiskit::ContinuousUnivariateDistribution >::UnivariateFrequencyDistribution; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_669da265b4935e44a63e06a9f70d1d32; - virtual return_type_669da265b4935e44a63e06a9f70d1d32 simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_669da265b4935e44a63e06a9f70d1d32, class_type, simulate, ); }; - typedef double return_type_852d458d7fba5b81b3cae095814406be; - typedef double const & param_852d458d7fba5b81b3cae095814406be_0_type; - virtual return_type_852d458d7fba5b81b3cae095814406be pdf(param_852d458d7fba5b81b3cae095814406be_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_852d458d7fba5b81b3cae095814406be, class_type, pdf, param_0); }; - typedef double return_type_2c40379c66475e45840820e5dddd4293; - typedef double const & param_2c40379c66475e45840820e5dddd4293_0_type; - virtual return_type_2c40379c66475e45840820e5dddd4293 ldf(param_2c40379c66475e45840820e5dddd4293_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_2c40379c66475e45840820e5dddd4293, class_type, ldf, param_0); }; - typedef unsigned int return_type_d0ecd6cd3a865446a8d90c471aa257a3; - virtual return_type_d0ecd6cd3a865446a8d90c471aa257a3 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_d0ecd6cd3a865446a8d90c471aa257a3, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_bfae3fc9e0ee536d9781d970fbb5120a.cpp b/src/py/wrapper/wrapper_bfae3fc9e0ee536d9781d970fbb5120a.cpp new file mode 100644 index 00000000..b728e094 --- /dev/null +++ b/src/py/wrapper/wrapper_bfae3fc9e0ee536d9781d970fbb5120a.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_bfae3fc9e0ee536d9781d970fbb5120a(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > > class_bfae3fc9e0ee536d9781d970fbb5120a(module, "_PolymorphicCopy_bfae3fc9e0ee536d9781d970fbb5120a", ""); + class_bfae3fc9e0ee536d9781d970fbb5120a.def(pybind11::init< >()); + class_bfae3fc9e0ee536d9781d970fbb5120a.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeMultinomialDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp index c85f820b..f6e102c4 100644 --- a/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp +++ b/src/py/wrapper/wrapper_c07d900e8cfe54789b1eb7500f2b17d6.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LeftCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_34ea6bcbc8085acc8ac4d60edc5cd337; - virtual return_type_34ea6bcbc8085acc8ac4d60edc5cd337 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_34ea6bcbc8085acc8ac4d60edc5cd337, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp index 765c78ee..a249aa74 100644 --- a/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp +++ b/src/py/wrapper/wrapper_c14e91b91c9852b8bd1c5fce67b0d241.cpp @@ -1,36 +1,5 @@ #include "_core.h" -namespace autowig -{ - typedef ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::Selection< class ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::CriterionEstimator; - - typedef double return_type_844181d50d9e567c896a1b3e4ae33115; - typedef struct ::statiskit::SingularDistribution const * param_844181d50d9e567c896a1b3e4ae33115_0_type; - typedef struct ::statiskit::MultivariateData const & param_844181d50d9e567c896a1b3e4ae33115_1_type; - virtual return_type_844181d50d9e567c896a1b3e4ae33115 scoring(param_844181d50d9e567c896a1b3e4ae33115_0_type param_0, param_844181d50d9e567c896a1b3e4ae33115_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_844181d50d9e567c896a1b3e4ae33115, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_579b178acefc5660adf3ccb09fdbef9d; - virtual return_type_579b178acefc5660adf3ccb09fdbef9d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_579b178acefc5660adf3ccb09fdbef9d, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; - typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; - typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; - virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; - virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; - }; - - class Publicist : public class_type - { - public: - using class_type::scoring; - }; -} - enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type const & (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::*method_pointer_b44ef74eea0156c2a9e658dcd1081763)()const= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::get_criterion; void (::statiskit::Selection< ::statiskit::DistributionEstimation< ::statiskit::SingularDistribution > >::CriterionEstimator::*method_pointer_ecc46aaf5a885e4588963ddadae0464a)(enum ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::criterion_type const &)= &::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator::set_criterion; @@ -40,8 +9,9 @@ namespace autowig { void wrapper_c14e91b91c9852b8bd1c5fce67b0d241(pybind11::module& module) { - pybind11::class_ >::CriterionEstimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > > class_c14e91b91c9852b8bd1c5fce67b0d241(module, "CriterionEstimator", ""); + pybind11::class_ >::CriterionEstimator, autowig::HolderType< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator > > class_c14e91b91c9852b8bd1c5fce67b0d241(module, "CriterionEstimator", ""); class_c14e91b91c9852b8bd1c5fce67b0d241.def(pybind11::init< >()); + class_c14e91b91c9852b8bd1c5fce67b0d241.def(pybind11::init< class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator const & >()); class_c14e91b91c9852b8bd1c5fce67b0d241.def("get_criterion", method_pointer_b44ef74eea0156c2a9e658dcd1081763, pybind11::return_value_policy::copy, ""); class_c14e91b91c9852b8bd1c5fce67b0d241.def("set_criterion", method_pointer_ecc46aaf5a885e4588963ddadae0464a, ""); diff --git a/src/py/wrapper/wrapper_c161d9d0ea3d59a49038dea7414b0a1c.cpp b/src/py/wrapper/wrapper_c161d9d0ea3d59a49038dea7414b0a1c.cpp new file mode 100644 index 00000000..8e052317 --- /dev/null +++ b/src/py/wrapper/wrapper_c161d9d0ea3d59a49038dea7414b0a1c.cpp @@ -0,0 +1,47 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::CategoricalUnivariateConditionalDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_2e84d0444d9f5eb29e764d81a82e587c; + typedef struct ::statiskit::MultivariateData const & param_2e84d0444d9f5eb29e764d81a82e587c_0_type; + typedef ::statiskit::Index const & param_2e84d0444d9f5eb29e764d81a82e587c_1_type; + typedef ::statiskit::Indices const & param_2e84d0444d9f5eb29e764d81a82e587c_2_type; + virtual return_type_2e84d0444d9f5eb29e764d81a82e587c operator()(param_2e84d0444d9f5eb29e764d81a82e587c_0_type param_0, param_2e84d0444d9f5eb29e764d81a82e587c_1_type param_1, param_2e84d0444d9f5eb29e764d81a82e587c_2_type param_2) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2e84d0444d9f5eb29e764d81a82e587c, class_type, operator(), param_0, param_1, param_2); }; + + protected: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > return_type_d18d2511347f5c78ba04fd10700b87ec; + typedef ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_0_type; + typedef ::statiskit::explanatory_data_type const & param_d18d2511347f5c78ba04fd10700b87ec_1_type; + virtual return_type_d18d2511347f5c78ba04fd10700b87ec operator()(param_d18d2511347f5c78ba04fd10700b87ec_0_type param_0, param_d18d2511347f5c78ba04fd10700b87ec_1_type param_1) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_d18d2511347f5c78ba04fd10700b87ec, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::Estimator > > return_type_030642c36da6500fb2e89aacc274d46b; + virtual return_type_030642c36da6500fb2e89aacc274d46b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_030642c36da6500fb2e89aacc274d46b, class_type, copy, ); }; + }; + + class Publicist : public class_type + { + public: + using class_type::operator(); + }; +} + + +namespace autowig { +} + +void wrapper_c161d9d0ea3d59a49038dea7414b0a1c(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::UnivariateConditionalDistributionEstimation::Estimator > class_c161d9d0ea3d59a49038dea7414b0a1c(module, "Estimator", ""); + class_c161d9d0ea3d59a49038dea7414b0a1c.def("___call__", static_cast< class ::std::unique_ptr< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >, struct ::std::default_delete< class ::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution > > > (::statiskit::ConditionalDistributionEstimation< ::statiskit::UnivariateConditionalDistribution >::Estimator::*) (::statiskit::ConditionalDistributionEstimation< struct ::statiskit::UnivariateConditionalDistribution >::response_data_type const &, ::statiskit::explanatory_data_type const &) const >(&autowig::Publicist::operator()), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c1a4a3e945245f7da0d28f68843c5c3f.cpp b/src/py/wrapper/wrapper_c1a4a3e945245f7da0d28f68843c5c3f.cpp new file mode 100644 index 00000000..f84eba67 --- /dev/null +++ b/src/py/wrapper/wrapper_c1a4a3e945245f7da0d28f68843c5c3f.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_423a329439525170b30010c9b298154b; + typedef struct ::statiskit::CategoricalUnivariateDistribution const * param_423a329439525170b30010c9b298154b_0_type; + typedef struct ::statiskit::UnivariateData const & param_423a329439525170b30010c9b298154b_1_type; + virtual return_type_423a329439525170b30010c9b298154b scoring(param_423a329439525170b30010c9b298154b_0_type param_0, param_423a329439525170b30010c9b298154b_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_423a329439525170b30010c9b298154b, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_5733fa6715045753802e5b329dfd342c)()const= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::size; +class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_5c6e3603003055e184dc97e3571818de)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_98ab79f6472b5123be019c48c7ff522b)(::statiskit::Index const &, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_489cd9df2ea35a179bebc7028e9e8037)(class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*method_pointer_645475d2843859e59c344715df5469d7)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_c1a4a3e945245f7da0d28f68843c5c3f(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::CategoricalUnivariateDistributionEstimation::Estimator > class_c1a4a3e945245f7da0d28f68843c5c3f(module, "Estimator", ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def(pybind11::init< >()); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("__len__", method_pointer_5733fa6715045753802e5b329dfd342c, ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("get_estimator", method_pointer_5c6e3603003055e184dc97e3571818de, pybind11::return_value_policy::reference_internal, ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("set_estimator", method_pointer_98ab79f6472b5123be019c48c7ff522b, ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("add_estimator", method_pointer_489cd9df2ea35a179bebc7028e9e8037, ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("remove_estimator", method_pointer_645475d2843859e59c344715df5469d7, ""); + class_c1a4a3e945245f7da0d28f68843c5c3f.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::CategoricalUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp index 39c3003a..c4ec39fe 100644 --- a/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp +++ b/src/py/wrapper/wrapper_c1af1f263c37571f8e1257a72f39fd05.cpp @@ -9,16 +9,26 @@ namespace autowig public: using ::statiskit::CategoricalMultivariateDistribution::CategoricalMultivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_bfcc78e34f6259b6a33f959f459c73aa; virtual return_type_bfcc78e34f6259b6a33f959f459c73aa copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_bfcc78e34f6259b6a33f959f459c73aa, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp index 6e126428..77c678ea 100644 --- a/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp +++ b/src/py/wrapper/wrapper_c30582fff9a5510186e17a7b44494d9f.cpp @@ -9,10 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::IntervalCensoredEvent< struct ::statiskit::ContinuousEvent >, struct ::statiskit::ContinuousEvent >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_11748a94b8275545ae9616916b9f06c2; - virtual return_type_11748a94b8275545ae9616916b9f06c2 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_11748a94b8275545ae9616916b9f06c2, class_type, copy, ); }; - typedef enum ::statiskit::outcome_type return_type_e273d319eb365120b28ccc9993bd199b; - virtual return_type_e273d319eb365120b28ccc9993bd199b get_outcome() const override { PYBIND11_OVERLOAD(return_type_e273d319eb365120b28ccc9993bd199b, class_type, get_outcome, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_c475c63848ca56959122216f3a32cba9.cpp b/src/py/wrapper/wrapper_c475c63848ca56959122216f3a32cba9.cpp new file mode 100644 index 00000000..66a34b5f --- /dev/null +++ b/src/py/wrapper/wrapper_c475c63848ca56959122216f3a32cba9.cpp @@ -0,0 +1,36 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator >::PolymorphicCopy; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_c475c63848ca56959122216f3a32cba9(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMMEstimation::Estimator, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > >::Type, struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > class_c475c63848ca56959122216f3a32cba9(module, "_PolymorphicCopy_c475c63848ca56959122216f3a32cba9", ""); + class_c475c63848ca56959122216f3a32cba9.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0.cpp b/src/py/wrapper/wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0.cpp new file mode 100644 index 00000000..1f14b625 --- /dev/null +++ b/src/py/wrapper/wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_dbb676a3a1445ba9bd529cd6856599a1; + typedef struct ::statiskit::ContinuousUnivariateDistribution const * param_dbb676a3a1445ba9bd529cd6856599a1_0_type; + typedef struct ::statiskit::UnivariateData const & param_dbb676a3a1445ba9bd529cd6856599a1_1_type; + virtual return_type_dbb676a3a1445ba9bd529cd6856599a1 scoring(param_dbb676a3a1445ba9bd529cd6856599a1_0_type param_0, param_dbb676a3a1445ba9bd529cd6856599a1_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_dbb676a3a1445ba9bd529cd6856599a1, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_61264c1816f7581183dae971728d8f1a)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::size; +class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_e4311a8f8d8c598498bc517a59587f70)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_28ddc6d2f50a54e18c0ec9b82710f536)(::statiskit::Index const &, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_3c0f45f11af15f3eb7c821827ed8d4db)(class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*method_pointer_38d71e4e8fc750828bde9cc0cd7d5af9)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_c5d45f38a5c9522a82b703c8e0a2b6d0(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator > class_c5d45f38a5c9522a82b703c8e0a2b6d0(module, "Estimator", ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def(pybind11::init< >()); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("__len__", method_pointer_61264c1816f7581183dae971728d8f1a, ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("get_estimator", method_pointer_e4311a8f8d8c598498bc517a59587f70, pybind11::return_value_policy::reference_internal, ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("set_estimator", method_pointer_28ddc6d2f50a54e18c0ec9b82710f536, ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("add_estimator", method_pointer_3c0f45f11af15f3eb7c821827ed8d4db, ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("remove_estimator", method_pointer_38d71e4e8fc750828bde9cc0cd7d5af9, ""); + class_c5d45f38a5c9522a82b703c8e0a2b6d0.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::ContinuousUnivariateDistribution const *, struct ::statiskit::UnivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp b/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp deleted file mode 100644 index 007f3a21..00000000 --- a/src/py/wrapper/wrapper_c6691c5b303051859dffd8d2f0d6c188.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_ba7a0ab873c65a578155a29bb2499a13; - virtual return_type_ba7a0ab873c65a578155a29bb2499a13 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ba7a0ab873c65a578155a29bb2499a13, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; - virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_c6691c5b303051859dffd8d2f0d6c188(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation::WZ99Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > > class_c6691c5b303051859dffd8d2f0d6c188(module, "_PolymorphicCopy_c6691c5b303051859dffd8d2f0d6c188", ""); - class_c6691c5b303051859dffd8d2f0d6c188.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp index 62364f50..990a37d0 100644 --- a/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp +++ b/src/py/wrapper/wrapper_c6b6c0b5c2f852c597d52bf9c25f3f92.cpp @@ -9,8 +9,8 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::UnivariateMeanEstimation, struct ::statiskit::UnivariateLocationEstimation >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_3b1255d2b09e573ab8ecbd0ac2ed228e; - virtual return_type_3b1255d2b09e573ab8ecbd0ac2ed228e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_3b1255d2b09e573ab8ecbd0ac2ed228e, class_type, copy, ); }; + + public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp index cec81a51..739e5d5d 100644 --- a/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp +++ b/src/py/wrapper/wrapper_c85ee717b61a5378b8f1bc88cdf6c91a.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateLocationEstimation::UnivariateLocationEstimation; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_f62d06e83b8a572c85ec833896347ff2; virtual return_type_f62d06e83b8a572c85ec833896347ff2 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f62d06e83b8a572c85ec833896347ff2, class_type, copy, ); }; + + public: typedef double const & return_type_9dde6f7d86c45ddd8e7676fbf005dcc2; virtual return_type_9dde6f7d86c45ddd8e7676fbf005dcc2 get_location() const override { PYBIND11_OVERLOAD_PURE(return_type_9dde6f7d86c45ddd8e7676fbf005dcc2, class_type, get_location, ); }; }; diff --git a/src/py/wrapper/wrapper_c949942a0ca75e079d7dc4997d6f6ee2.cpp b/src/py/wrapper/wrapper_c949942a0ca75e079d7dc4997d6f6ee2.cpp new file mode 100644 index 00000000..43515c78 --- /dev/null +++ b/src/py/wrapper/wrapper_c949942a0ca75e079d7dc4997d6f6ee2.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_c949942a0ca75e079d7dc4997d6f6ee2(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::PoissonDistributionEstimation > >::Type, struct ::statiskit::PoissonDistributionEstimation > class_c949942a0ca75e079d7dc4997d6f6ee2(module, "_PolymorphicCopy_c949942a0ca75e079d7dc4997d6f6ee2", ""); + class_c949942a0ca75e079d7dc4997d6f6ee2.def(pybind11::init< >()); + class_c949942a0ca75e079d7dc4997d6f6ee2.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation, struct ::statiskit::PoissonDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ca164df1e056590f82893412e250494d.cpp b/src/py/wrapper/wrapper_ca164df1e056590f82893412e250494d.cpp new file mode 100644 index 00000000..c6c0985a --- /dev/null +++ b/src/py/wrapper/wrapper_ca164df1e056590f82893412e250494d.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_ca164df1e056590f82893412e250494d(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::CategoricalUnivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > >::Type, struct ::statiskit::CategoricalUnivariateDistributionEstimation > class_ca164df1e056590f82893412e250494d(module, "_PolymorphicCopy_ca164df1e056590f82893412e250494d", ""); + class_ca164df1e056590f82893412e250494d.def(pybind11::init< >()); + class_ca164df1e056590f82893412e250494d.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::CategoricalUnivariateDistributionEstimation >, struct ::statiskit::CategoricalUnivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp index 35e72715..c9664f56 100644 --- a/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp +++ b/src/py/wrapper/wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_cb4432e6b9d05dfaa3b6285bbadb3f60(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation::Estimator, struct ::statiskit::GeometricDistributionEstimation::Estimator > > class_cb4432e6b9d05dfaa3b6285bbadb3f60(module, "Estimator", ""); class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< >()); class_cb4432e6b9d05dfaa3b6285bbadb3f60.def(pybind11::init< struct ::statiskit::GeometricDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp b/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp deleted file mode 100644 index b907e095..00000000 --- a/src/py/wrapper/wrapper_cbe0be5b997e578ea56a5ddbc174c53e.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_2b9392ba394f5f1a8380d5bc47aa793e; - virtual return_type_2b9392ba394f5f1a8380d5bc47aa793e copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_2b9392ba394f5f1a8380d5bc47aa793e, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_cbe0be5b997e578ea56a5ddbc174c53e(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_cbe0be5b997e578ea56a5ddbc174c53e(module, "_PolymorphicCopy_cbe0be5b997e578ea56a5ddbc174c53e", ""); - class_cbe0be5b997e578ea56a5ddbc174c53e.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp b/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp index 0f33987c..c9e06546 100644 --- a/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp +++ b/src/py/wrapper/wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_cc9b200ad98c51108cfb0b6bf6bf2bd0(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_cc9b200ad98c51108cfb0b6bf6bf2bd0(module, "NegativeBinomialDistributionMMEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMMEstimation, struct ::statiskit::NegativeBinomialDistributionEstimation > > class_cc9b200ad98c51108cfb0b6bf6bf2bd0(module, "NegativeBinomialDistributionMMEstimation", ""); class_cc9b200ad98c51108cfb0b6bf6bf2bd0.def(pybind11::init< >()); class_cc9b200ad98c51108cfb0b6bf6bf2bd0.def(pybind11::init< struct ::statiskit::NegativeBinomialDistributionMMEstimation const & >()); diff --git a/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp index 7e95767a..57057616 100644 --- a/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp +++ b/src/py/wrapper/wrapper_ccb69f6f1ea252c78b62bd2708670cdd.cpp @@ -8,12 +8,18 @@ namespace autowig { public: - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_56bfe1476d1c5751ac9fe73ff87e4079; - typedef struct ::statiskit::MultivariateData const & param_56bfe1476d1c5751ac9fe73ff87e4079_0_type; - typedef ::statiskit::Indices const & param_56bfe1476d1c5751ac9fe73ff87e4079_1_type; - virtual return_type_56bfe1476d1c5751ac9fe73ff87e4079 operator()(param_56bfe1476d1c5751ac9fe73ff87e4079_0_type param_0, param_56bfe1476d1c5751ac9fe73ff87e4079_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_56bfe1476d1c5751ac9fe73ff87e4079, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_48dd0f6ecf7e535bb0532e174797e614; typedef ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator::data_type const & param_48dd0f6ecf7e535bb0532e174797e614_0_type; virtual return_type_48dd0f6ecf7e535bb0532e174797e614 operator()(param_48dd0f6ecf7e535bb0532e174797e614_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_48dd0f6ecf7e535bb0532e174797e614, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1.cpp b/src/py/wrapper/wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1.cpp new file mode 100644 index 00000000..00f48072 --- /dev/null +++ b/src/py/wrapper/wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_cda8126c0f0b58acbd4b5b11d5ee60d1(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::GeometricDistributionEstimation > >::Type, struct ::statiskit::GeometricDistributionEstimation > class_cda8126c0f0b58acbd4b5b11d5ee60d1(module, "_PolymorphicCopy_cda8126c0f0b58acbd4b5b11d5ee60d1", ""); + class_cda8126c0f0b58acbd4b5b11d5ee60d1.def(pybind11::init< >()); + class_cda8126c0f0b58acbd4b5b11d5ee60d1.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::GeometricDistributionMLEstimation, struct ::statiskit::GeometricDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ce18cfe01fe257ccb36fe2b990dde7c3.cpp b/src/py/wrapper/wrapper_ce18cfe01fe257ccb36fe2b990dde7c3.cpp new file mode 100644 index 00000000..96f611f4 --- /dev/null +++ b/src/py/wrapper/wrapper_ce18cfe01fe257ccb36fe2b990dde7c3.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_ce18cfe01fe257ccb36fe2b990dde7c3(pybind11::module& module) +{ + + pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > > class_ce18cfe01fe257ccb36fe2b990dde7c3(module, "_PolymorphicCopy_ce18cfe01fe257ccb36fe2b990dde7c3", ""); + class_ce18cfe01fe257ccb36fe2b990dde7c3.def(pybind11::init< >()); + class_ce18cfe01fe257ccb36fe2b990dde7c3.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ce42b7211004522c9d9271fe72fb3e17.cpp b/src/py/wrapper/wrapper_ce42b7211004522c9d9271fe72fb3e17.cpp new file mode 100644 index 00000000..9453e3eb --- /dev/null +++ b/src/py/wrapper/wrapper_ce42b7211004522c9d9271fe72fb3e17.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_7a2eb6205f06597cb23670c231cfb903; + typedef struct ::statiskit::DiscreteMultivariateDistribution const * param_7a2eb6205f06597cb23670c231cfb903_0_type; + typedef struct ::statiskit::MultivariateData const & param_7a2eb6205f06597cb23670c231cfb903_1_type; + virtual return_type_7a2eb6205f06597cb23670c231cfb903 scoring(param_7a2eb6205f06597cb23670c231cfb903_0_type param_0, param_7a2eb6205f06597cb23670c231cfb903_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_7a2eb6205f06597cb23670c231cfb903, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_090690c9f5c25e379ca3f4dcb8978918)()const= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::size; +class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_4f80455338d25d6f867cddad88993fd1)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_fe51419163e853d0a7133a8404642e78)(::statiskit::Index const &, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_a435c44c8f575532b4b49e04fc157b71)(class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*method_pointer_d59dbeb69fb1502882765fb503abf294)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_ce42b7211004522c9d9271fe72fb3e17(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_ce42b7211004522c9d9271fe72fb3e17(module, "Estimator", ""); + class_ce42b7211004522c9d9271fe72fb3e17.def(pybind11::init< >()); + class_ce42b7211004522c9d9271fe72fb3e17.def("__len__", method_pointer_090690c9f5c25e379ca3f4dcb8978918, ""); + class_ce42b7211004522c9d9271fe72fb3e17.def("get_estimator", method_pointer_4f80455338d25d6f867cddad88993fd1, pybind11::return_value_policy::reference_internal, ""); + class_ce42b7211004522c9d9271fe72fb3e17.def("set_estimator", method_pointer_fe51419163e853d0a7133a8404642e78, ""); + class_ce42b7211004522c9d9271fe72fb3e17.def("add_estimator", method_pointer_a435c44c8f575532b4b49e04fc157b71, ""); + class_ce42b7211004522c9d9271fe72fb3e17.def("remove_estimator", method_pointer_d59dbeb69fb1502882765fb503abf294, ""); + class_ce42b7211004522c9d9271fe72fb3e17.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::DiscreteMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp index 21b1e672..d40b9ae2 100644 --- a/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp +++ b/src/py/wrapper/wrapper_cf0179fb6c94524589e450e5bcacc532.cpp @@ -9,10 +9,12 @@ namespace autowig public: using ::statiskit::CategoricalEvent::CategoricalEvent; - typedef enum ::statiskit::outcome_type return_type_6be7c81ad3ae5c77a462d7101baa7329; - virtual return_type_6be7c81ad3ae5c77a462d7101baa7329 get_outcome() const override { PYBIND11_OVERLOAD(return_type_6be7c81ad3ae5c77a462d7101baa7329, class_type, get_outcome, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; }; diff --git a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp index 7d52f30a..92669cab 100644 --- a/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp +++ b/src/py/wrapper/wrapper_cf0415be3d965595a8486e9a8659c1a9.cpp @@ -9,25 +9,35 @@ namespace autowig public: using ::statiskit::CategoricalUnivariateDistribution::CategoricalUnivariateDistribution; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_cf682b68456e5767b056bba416f3b450.cpp b/src/py/wrapper/wrapper_cf682b68456e5767b056bba416f3b450.cpp new file mode 100644 index 00000000..2e4ff475 --- /dev/null +++ b/src/py/wrapper/wrapper_cf682b68456e5767b056bba416f3b450.cpp @@ -0,0 +1,13 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_cf682b68456e5767b056bba416f3b450(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::UnivariateHistogramDistributionRegularEstimation, class ::statiskit::SlopeHeuristicSelection< struct ::statiskit::UnivariateHistogramDistributionEstimation > > > class_cf682b68456e5767b056bba416f3b450(module, "UnivariateHistogramDistributionRegularEstimation", ""); + class_cf682b68456e5767b056bba416f3b450.def(pybind11::init< struct ::statiskit::UnivariateHistogramDistributionRegularEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d0f424c13b8b5c34bc79ddf60ae82086.cpp b/src/py/wrapper/wrapper_d0f424c13b8b5c34bc79ddf60ae82086.cpp new file mode 100644 index 00000000..0f863f8f --- /dev/null +++ b/src/py/wrapper/wrapper_d0f424c13b8b5c34bc79ddf60ae82086.cpp @@ -0,0 +1,21 @@ +#include "_core.h" + +::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_d15d74b32d095fb58bcd526d0518ce78)()const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::size; +struct ::statiskit::ContinuousUnivariateDistributionEstimation * const (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_435f56d0e65557b79b1809d705588fe5)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_estimation; +double const & (::statiskit::Selection< ::statiskit::ContinuousUnivariateDistributionEstimation >::*method_pointer_590528b150ae52f28ed34f36e0d29e97)(::statiskit::Index const &)const= &::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::get_score; + +namespace autowig { +} + +void wrapper_d0f424c13b8b5c34bc79ddf60ae82086(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation >, struct ::statiskit::ContinuousUnivariateDistributionEstimation > > class_d0f424c13b8b5c34bc79ddf60ae82086(module, "_Selection_d0f424c13b8b5c34bc79ddf60ae82086", ""); + class_d0f424c13b8b5c34bc79ddf60ae82086.def(pybind11::init< >()); + class_d0f424c13b8b5c34bc79ddf60ae82086.def(pybind11::init< struct ::statiskit::UnivariateData const * >()); + class_d0f424c13b8b5c34bc79ddf60ae82086.def(pybind11::init< class ::statiskit::Selection< struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); + class_d0f424c13b8b5c34bc79ddf60ae82086.def("__len__", method_pointer_d15d74b32d095fb58bcd526d0518ce78, ""); + class_d0f424c13b8b5c34bc79ddf60ae82086.def("get_estimation", method_pointer_435f56d0e65557b79b1809d705588fe5, pybind11::return_value_policy::reference_internal, ""); + class_d0f424c13b8b5c34bc79ddf60ae82086.def("get_score", method_pointer_590528b150ae52f28ed34f36e0d29e97, pybind11::return_value_policy::copy, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp index 019ad51e..0cd2868f 100644 --- a/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp +++ b/src/py/wrapper/wrapper_d19aab6dbd7651dda367a81e9c9ee1a8.cpp @@ -9,27 +9,11 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::OrdinalDistribution, class ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::CategoricalUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_69451e4936b957e9855792dbfe747579; - virtual return_type_69451e4936b957e9855792dbfe747579 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_69451e4936b957e9855792dbfe747579, class_type, copy, ); }; - typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_34543baf438f5f85a5ce959ba809d4d0; - virtual return_type_34543baf438f5f85a5ce959ba809d4d0 get_values() const override { PYBIND11_OVERLOAD(return_type_34543baf438f5f85a5ce959ba809d4d0, class_type, get_values, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_83255d2ac98452d7872783b5ce4dbdea; - virtual return_type_83255d2ac98452d7872783b5ce4dbdea simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_83255d2ac98452d7872783b5ce4dbdea, class_type, simulate, ); }; - typedef double return_type_8f98ecf0fb715e5ca3d22968f6e406f2; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type; - virtual return_type_8f98ecf0fb715e5ca3d22968f6e406f2 pdf(param_8f98ecf0fb715e5ca3d22968f6e406f2_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_8f98ecf0fb715e5ca3d22968f6e406f2, class_type, pdf, param_0); }; - typedef double return_type_abe024e04a2f5e8d8680d516ec57220e; - typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_abe024e04a2f5e8d8680d516ec57220e_0_type; - virtual return_type_abe024e04a2f5e8d8680d516ec57220e ldf(param_abe024e04a2f5e8d8680d516ec57220e_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_abe024e04a2f5e8d8680d516ec57220e, class_type, ldf, param_0); }; - typedef unsigned int return_type_138e9caff8345e2baa6d1669f52b82b0; - virtual return_type_138e9caff8345e2baa6d1669f52b82b0 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_138e9caff8345e2baa6d1669f52b82b0, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d2dc6ff6ec9c5520af32b4a59c402fac.cpp b/src/py/wrapper/wrapper_d2dc6ff6ec9c5520af32b4a59c402fac.cpp new file mode 100644 index 00000000..97159a5d --- /dev/null +++ b/src/py/wrapper/wrapper_d2dc6ff6ec9c5520af32b4a59c402fac.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_d2dc6ff6ec9c5520af32b4a59c402fac(pybind11::module& module) +{ + + pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMMEstimation, struct ::statiskit::NegativeBinomialDistributionEstimation > >::Type, struct ::statiskit::NegativeBinomialDistributionEstimation > class_d2dc6ff6ec9c5520af32b4a59c402fac(module, "_PolymorphicCopy_d2dc6ff6ec9c5520af32b4a59c402fac", ""); + class_d2dc6ff6ec9c5520af32b4a59c402fac.def(pybind11::init< >()); + class_d2dc6ff6ec9c5520af32b4a59c402fac.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMMEstimation, struct ::statiskit::NegativeBinomialDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d2eb5be040f057108ebb6d00f411c861.cpp b/src/py/wrapper/wrapper_d2eb5be040f057108ebb6d00f411c861.cpp new file mode 100644 index 00000000..3e64bacf --- /dev/null +++ b/src/py/wrapper/wrapper_d2eb5be040f057108ebb6d00f411c861.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_7a2eb6205f06597cb23670c231cfb903; + typedef struct ::statiskit::DiscreteMultivariateDistribution const * param_7a2eb6205f06597cb23670c231cfb903_0_type; + typedef struct ::statiskit::MultivariateData const & param_7a2eb6205f06597cb23670c231cfb903_1_type; + virtual return_type_7a2eb6205f06597cb23670c231cfb903 scoring(param_7a2eb6205f06597cb23670c231cfb903_0_type param_0, param_7a2eb6205f06597cb23670c231cfb903_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_7a2eb6205f06597cb23670c231cfb903, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_d2eb5be040f057108ebb6d00f411c861(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator > class_d2eb5be040f057108ebb6d00f411c861(module, "_PolymorphicCopy_d2eb5be040f057108ebb6d00f411c861", ""); + class_d2eb5be040f057108ebb6d00f411c861.def(pybind11::init< >()); + class_d2eb5be040f057108ebb6d00f411c861.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::DiscreteMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::DiscreteMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp b/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp deleted file mode 100644 index 150b4825..00000000 --- a/src/py/wrapper/wrapper_d30ac07998c750479d39b4a9b78e7da6.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_d30ac07998c750479d39b4a9b78e7da6(pybind11::module& module) -{ - - pybind11::class_ >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > >::Type, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_d30ac07998c750479d39b4a9b78e7da6(module, "_PolymorphicCopy_d30ac07998c750479d39b4a9b78e7da6", ""); - class_d30ac07998c750479d39b4a9b78e7da6.def(pybind11::init< >()); - class_d30ac07998c750479d39b4a9b78e7da6.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp index 9aeb5f2b..b3ef07d6 100644 --- a/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp +++ b/src/py/wrapper/wrapper_d33d975672ef54f0b9b5e01d57fdf32b.cpp @@ -9,8 +9,12 @@ namespace autowig public: using ::statiskit::UnivariateLocationEstimation::Estimator::Estimator; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation::Estimator, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation::Estimator > > return_type_8b9c71aa21be519083da91720a92b999; virtual return_type_8b9c71aa21be519083da91720a92b999 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8b9c71aa21be519083da91720a92b999, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateLocationEstimation, struct ::std::default_delete< struct ::statiskit::UnivariateLocationEstimation > > return_type_e340294596125a0b839c5cee432407c7; typedef struct ::statiskit::UnivariateData const & param_e340294596125a0b839c5cee432407c7_0_type; virtual return_type_e340294596125a0b839c5cee432407c7 operator()(param_e340294596125a0b839c5cee432407c7_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_e340294596125a0b839c5cee432407c7, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp index e90714f7..01621cac 100644 --- a/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp +++ b/src/py/wrapper/wrapper_d3d68100c0aa515393562535c582529e.cpp @@ -9,32 +9,24 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::QuantitativeUnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution >, ::statiskit::UnivariateFrequencyDistribution< struct ::statiskit::DiscreteUnivariateDistribution > >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_d861988bc88e5e779fa44ad2563cbefa; - virtual return_type_d861988bc88e5e779fa44ad2563cbefa copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_d861988bc88e5e779fa44ad2563cbefa, class_type, copy, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_c1e704385f9e54c89913f36b04d0775a; - virtual return_type_c1e704385f9e54c89913f36b04d0775a simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c1e704385f9e54c89913f36b04d0775a, class_type, simulate, ); }; - typedef double return_type_e1babe464b835687aea3395298d710d6; - typedef int const & param_e1babe464b835687aea3395298d710d6_0_type; - virtual return_type_e1babe464b835687aea3395298d710d6 pdf(param_e1babe464b835687aea3395298d710d6_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e1babe464b835687aea3395298d710d6, class_type, pdf, param_0); }; - typedef double return_type_0c7621818b33548e866bb39bbb4e2157; - typedef int const & param_0c7621818b33548e866bb39bbb4e2157_0_type; - virtual return_type_0c7621818b33548e866bb39bbb4e2157 ldf(param_0c7621818b33548e866bb39bbb4e2157_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0c7621818b33548e866bb39bbb4e2157, class_type, ldf, param_0); }; - typedef unsigned int return_type_11ac2b9e2041511595a9554076d9bb30; - virtual return_type_11ac2b9e2041511595a9554076d9bb30 get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_11ac2b9e2041511595a9554076d9bb30, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; }; } diff --git a/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp b/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp index 8e96ea3a..470c8f2e 100644 --- a/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp +++ b/src/py/wrapper/wrapper_d413c9194272547596f08284edb5e2e8.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_d413c9194272547596f08284edb5e2e8(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeMultinomialDistributionEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > > > class_d413c9194272547596f08284edb5e2e8(module, "NegativeMultinomialDistributionEstimation", ""); + pybind11::class_::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_d413c9194272547596f08284edb5e2e8(module, "NegativeMultinomialDistributionEstimation", ""); class_d413c9194272547596f08284edb5e2e8.def(pybind11::init< >()); class_d413c9194272547596f08284edb5e2e8.def(pybind11::init< struct ::statiskit::NegativeMultinomialDistributionEstimation const & >()); diff --git a/src/py/wrapper/wrapper_d484a26a9bbd573588659c8ace38c7ab.cpp b/src/py/wrapper/wrapper_d484a26a9bbd573588659c8ace38c7ab.cpp new file mode 100644 index 00000000..0ed0dbfd --- /dev/null +++ b/src/py/wrapper/wrapper_d484a26a9bbd573588659c8ace38c7ab.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_b628a3a5c0785787839ff6ada564c85d; + typedef struct ::statiskit::ContinuousMultivariateDistribution const * param_b628a3a5c0785787839ff6ada564c85d_0_type; + typedef struct ::statiskit::MultivariateData const & param_b628a3a5c0785787839ff6ada564c85d_1_type; + virtual return_type_b628a3a5c0785787839ff6ada564c85d scoring(param_b628a3a5c0785787839ff6ada564c85d_0_type param_0, param_b628a3a5c0785787839ff6ada564c85d_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_b628a3a5c0785787839ff6ada564c85d, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_6cad53fd45fa5d4db1e9f856df3513b9)()const= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::size; +class ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_f3760e5e89d951d38584522f675e6c0e)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_e5e834b031b15e679bf638cd21b5d4d0)(::statiskit::Index const &, class ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_39b9b7155bb95667994b39fa66c5a141)(class ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*method_pointer_4d2ca4226de057348b0aa1637db78ad6)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_d484a26a9bbd573588659c8ace38c7ab(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::ContinuousMultivariateDistributionEstimation::Estimator > class_d484a26a9bbd573588659c8ace38c7ab(module, "Estimator", ""); + class_d484a26a9bbd573588659c8ace38c7ab.def(pybind11::init< >()); + class_d484a26a9bbd573588659c8ace38c7ab.def("__len__", method_pointer_6cad53fd45fa5d4db1e9f856df3513b9, ""); + class_d484a26a9bbd573588659c8ace38c7ab.def("get_estimator", method_pointer_f3760e5e89d951d38584522f675e6c0e, pybind11::return_value_policy::reference_internal, ""); + class_d484a26a9bbd573588659c8ace38c7ab.def("set_estimator", method_pointer_e5e834b031b15e679bf638cd21b5d4d0, ""); + class_d484a26a9bbd573588659c8ace38c7ab.def("add_estimator", method_pointer_39b9b7155bb95667994b39fa66c5a141, ""); + class_d484a26a9bbd573588659c8ace38c7ab.def("remove_estimator", method_pointer_4d2ca4226de057348b0aa1637db78ad6, ""); + class_d484a26a9bbd573588659c8ace38c7ab.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::ContinuousMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::ContinuousMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d486929892b45fbbb400acc476573f6a.cpp b/src/py/wrapper/wrapper_d486929892b45fbbb400acc476573f6a.cpp new file mode 100644 index 00000000..d0374c94 --- /dev/null +++ b/src/py/wrapper/wrapper_d486929892b45fbbb400acc476573f6a.cpp @@ -0,0 +1,52 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::Optimization; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + +double const & (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_abe2bf427d8d5a22b94a18cea79ed6c2)()const= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::get_mindiff; +void (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_a8d7933629fe523ab55013126bc98153)(double const &)= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::set_mindiff; +unsigned int (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_27ca091c8fd45614ab396f7b81f41ab9)()const= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::get_minits; +void (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_f91fcee5c6b65b71813c043310c27dee)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::set_minits; +unsigned int (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_c4fda11f266f5dbcbf90f943dde68117)()const= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::get_maxits; +void (::statiskit::Optimization< ::statiskit::LogarithmicDistributionEstimation::Estimator >::*method_pointer_ec32b5cab7025e248a6dde2ff4a11f14)(unsigned int const &)= &::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator >::set_maxits; + +namespace autowig { +} + +void wrapper_d486929892b45fbbb400acc476573f6a(pybind11::module& module) +{ + + pybind11::class_, autowig::Trampoline, autowig::HolderType< class ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > >::Type, struct ::statiskit::LogarithmicDistributionEstimation::Estimator > class_d486929892b45fbbb400acc476573f6a(module, "_Optimization_d486929892b45fbbb400acc476573f6a", ""); + class_d486929892b45fbbb400acc476573f6a.def(pybind11::init< >()); + class_d486929892b45fbbb400acc476573f6a.def("get_mindiff", method_pointer_abe2bf427d8d5a22b94a18cea79ed6c2, pybind11::return_value_policy::copy, ""); + class_d486929892b45fbbb400acc476573f6a.def("set_mindiff", method_pointer_a8d7933629fe523ab55013126bc98153, ""); + class_d486929892b45fbbb400acc476573f6a.def("get_minits", method_pointer_27ca091c8fd45614ab396f7b81f41ab9, ""); + class_d486929892b45fbbb400acc476573f6a.def("set_minits", method_pointer_f91fcee5c6b65b71813c043310c27dee, ""); + class_d486929892b45fbbb400acc476573f6a.def("get_maxits", method_pointer_c4fda11f266f5dbcbf90f943dde68117, ""); + class_d486929892b45fbbb400acc476573f6a.def("set_maxits", method_pointer_ec32b5cab7025e248a6dde2ff4a11f14, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp b/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp index 8d7d5315..f1d420a4 100644 --- a/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp +++ b/src/py/wrapper/wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_d57080a5d88f5beaa3f8f3ee09b1da8c(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_d57080a5d88f5beaa3f8f3ee09b1da8c(module, "LogarithmicDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::LogarithmicDistributionEstimation > > > class_d57080a5d88f5beaa3f8f3ee09b1da8c(module, "LogarithmicDistributionMLEstimation", ""); class_d57080a5d88f5beaa3f8f3ee09b1da8c.def(pybind11::init< >()); class_d57080a5d88f5beaa3f8f3ee09b1da8c.def(pybind11::init< struct ::statiskit::LogarithmicDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp index 428d7857..61e18d71 100644 --- a/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp +++ b/src/py/wrapper/wrapper_d740d10f82335516b6c42048834de0c7.cpp @@ -9,12 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::ShiftedDistributionEstimation< struct ::statiskit::ContinuousUnivariateDistributionEstimation >::Estimator, class ::statiskit::ContinuousUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_1a3445089485579aa46218835ae8c075; - virtual return_type_1a3445089485579aa46218835ae8c075 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_1a3445089485579aa46218835ae8c075, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_d76ff7c1aa0e5028b5eaf919eca54466.cpp b/src/py/wrapper/wrapper_d76ff7c1aa0e5028b5eaf919eca54466.cpp new file mode 100644 index 00000000..0eea414f --- /dev/null +++ b/src/py/wrapper/wrapper_d76ff7c1aa0e5028b5eaf919eca54466.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_d76ff7c1aa0e5028b5eaf919eca54466(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_d76ff7c1aa0e5028b5eaf919eca54466(module, "criterion_type"); + enum_d76ff7c1aa0e5028b5eaf919eca54466.value("AIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_d76ff7c1aa0e5028b5eaf919eca54466.value("AI_CC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_d76ff7c1aa0e5028b5eaf919eca54466.value("BIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_d76ff7c1aa0e5028b5eaf919eca54466.value("HQIC", ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_d76ff7c1aa0e5028b5eaf919eca54466.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp index c2a6ff25..76c248f3 100644 --- a/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp +++ b/src/py/wrapper/wrapper_d8072eca33fe5d46a0b27a217a8dbc96.cpp @@ -4,7 +4,7 @@ void wrapper_d8072eca33fe5d46a0b27a217a8dbc96(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::censoring_type > enum_d8072eca33fe5d46a0b27a217a8dbc96(module, "censoring_type"); + pybind11::enum_< ::statiskit::censoring_type > enum_d8072eca33fe5d46a0b27a217a8dbc96(module, "censoring_type"); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("NONE", ::statiskit::censoring_type::NONE); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("CENSORED", ::statiskit::censoring_type::CENSORED); enum_d8072eca33fe5d46a0b27a217a8dbc96.value("LEFT", ::statiskit::censoring_type::LEFT); diff --git a/src/py/wrapper/wrapper_d8821cfee79455b1a61fc848d484e960.cpp b/src/py/wrapper/wrapper_d8821cfee79455b1a61fc848d484e960.cpp new file mode 100644 index 00000000..d94f8919 --- /dev/null +++ b/src/py/wrapper/wrapper_d8821cfee79455b1a61fc848d484e960.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_7b493f2698fd576a9919c7b753746d82; + typedef struct ::statiskit::CategoricalMultivariateDistribution const * param_7b493f2698fd576a9919c7b753746d82_0_type; + typedef struct ::statiskit::MultivariateData const & param_7b493f2698fd576a9919c7b753746d82_1_type; + virtual return_type_7b493f2698fd576a9919c7b753746d82 scoring(param_7b493f2698fd576a9919c7b753746d82_0_type param_0, param_7b493f2698fd576a9919c7b753746d82_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_7b493f2698fd576a9919c7b753746d82, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_c9296e5c0ec15b43aed07fd2db329322)()const= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::size; +class ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_3477ce542a21525b8c2a5d652f28488a)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_0988c3f248fe5cc5b4ca0fade795b1b0)(::statiskit::Index const &, class ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_f45c37f1453a55d28e88d14f9e69e414)(class ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*method_pointer_d591e49891e7532ab8b6739dcf77bd12)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_d8821cfee79455b1a61fc848d484e960(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator >::Type, class ::statiskit::CategoricalMultivariateDistributionEstimation::Estimator > class_d8821cfee79455b1a61fc848d484e960(module, "Estimator", ""); + class_d8821cfee79455b1a61fc848d484e960.def(pybind11::init< >()); + class_d8821cfee79455b1a61fc848d484e960.def("__len__", method_pointer_c9296e5c0ec15b43aed07fd2db329322, ""); + class_d8821cfee79455b1a61fc848d484e960.def("get_estimator", method_pointer_3477ce542a21525b8c2a5d652f28488a, pybind11::return_value_policy::reference_internal, ""); + class_d8821cfee79455b1a61fc848d484e960.def("set_estimator", method_pointer_0988c3f248fe5cc5b4ca0fade795b1b0, ""); + class_d8821cfee79455b1a61fc848d484e960.def("add_estimator", method_pointer_f45c37f1453a55d28e88d14f9e69e414, ""); + class_d8821cfee79455b1a61fc848d484e960.def("remove_estimator", method_pointer_d591e49891e7532ab8b6739dcf77bd12, ""); + class_d8821cfee79455b1a61fc848d484e960.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::CategoricalMultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::CategoricalMultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp index 9f301163..187704db 100644 --- a/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp +++ b/src/py/wrapper/wrapper_d9e3c8f1d16d5ffea475de8236279387.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::StudentDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_70ce27be2cd75d67a2283b08634196cb; - virtual return_type_70ce27be2cd75d67a2283b08634196cb copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_70ce27be2cd75d67a2283b08634196cb, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp new file mode 100644 index 00000000..a10b6eec --- /dev/null +++ b/src/py/wrapper/wrapper_da164767fc675bd29ae86f87eff482aa.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_da164767fc675bd29ae86f87eff482aa(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::UnivariateConditionalDistributionEstimation > class_da164767fc675bd29ae86f87eff482aa(module, "DiscreteUnivariateConditionalDistributionEstimation", ""); + class_da164767fc675bd29ae86f87eff482aa.def(pybind11::init< >()); + class_da164767fc675bd29ae86f87eff482aa.def(pybind11::init< struct ::statiskit::DiscreteUnivariateConditionalDistributionEstimation const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_daa0c5e6c7f25af9a259ba4efb1e2341.cpp b/src/py/wrapper/wrapper_daa0c5e6c7f25af9a259ba4efb1e2341.cpp new file mode 100644 index 00000000..839648a5 --- /dev/null +++ b/src/py/wrapper/wrapper_daa0c5e6c7f25af9a259ba4efb1e2341.cpp @@ -0,0 +1,44 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PolymorphicCopy< ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::PolymorphicCopy; + + + protected: + typedef double return_type_80a600fe385250ceae032fc84893a1fc; + typedef struct ::statiskit::MultivariateDistribution const * param_80a600fe385250ceae032fc84893a1fc_0_type; + typedef struct ::statiskit::MultivariateData const & param_80a600fe385250ceae032fc84893a1fc_1_type; + virtual return_type_80a600fe385250ceae032fc84893a1fc scoring(param_80a600fe385250ceae032fc84893a1fc_0_type param_0, param_80a600fe385250ceae032fc84893a1fc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_80a600fe385250ceae032fc84893a1fc, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + + +namespace autowig { +} + +void wrapper_daa0c5e6c7f25af9a259ba4efb1e2341(pybind11::module& module) +{ + + pybind11::class_::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::CriterionEstimator, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator > >::Type, class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator > class_daa0c5e6c7f25af9a259ba4efb1e2341(module, "_PolymorphicCopy_daa0c5e6c7f25af9a259ba4efb1e2341", ""); + class_daa0c5e6c7f25af9a259ba4efb1e2341.def(pybind11::init< >()); + class_daa0c5e6c7f25af9a259ba4efb1e2341.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp index 2ce29f81..d9a78658 100644 --- a/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp +++ b/src/py/wrapper/wrapper_daf74149f27453a7a5360a8ea7e9d69c.cpp @@ -9,14 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateDistribution::UnivariateDistribution; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef double return_type_e54dcb61962b537ca725a1f2230202dc; typedef struct ::statiskit::UnivariateEvent const * param_e54dcb61962b537ca725a1f2230202dc_0_type; typedef bool const & param_e54dcb61962b537ca725a1f2230202dc_1_type; virtual return_type_e54dcb61962b537ca725a1f2230202dc probability(param_e54dcb61962b537ca725a1f2230202dc_0_type param_0, param_e54dcb61962b537ca725a1f2230202dc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_e54dcb61962b537ca725a1f2230202dc, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp index 80d3624c..0d68a169 100644 --- a/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp +++ b/src/py/wrapper/wrapper_db2668977eed5283a0dfb9992502d2dd.cpp @@ -9,16 +9,22 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::SplittingDistribution, struct ::statiskit::DiscreteMultivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateDistribution, struct ::std::default_delete< struct ::statiskit::MultivariateDistribution > > return_type_f17ecb90d14151edbab9cb55d1d60bb6; - virtual return_type_f17ecb90d14151edbab9cb55d1d60bb6 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f17ecb90d14151edbab9cb55d1d60bb6, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateEvent, struct ::std::default_delete< struct ::statiskit::MultivariateEvent > > return_type_4ea4050829d754ffad293bbb7a971a31; virtual return_type_4ea4050829d754ffad293bbb7a971a31 simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_4ea4050829d754ffad293bbb7a971a31, class_type, simulate, ); }; + + public: typedef double return_type_1b1aa04affe25769a45aa61f808a0a19; typedef struct ::statiskit::MultivariateEvent const * param_1b1aa04affe25769a45aa61f808a0a19_0_type; typedef bool const & param_1b1aa04affe25769a45aa61f808a0a19_1_type; virtual return_type_1b1aa04affe25769a45aa61f808a0a19 probability(param_1b1aa04affe25769a45aa61f808a0a19_0_type param_0, param_1b1aa04affe25769a45aa61f808a0a19_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_1b1aa04affe25769a45aa61f808a0a19, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_d6b37eb7a2815c508032d7111fe27b25; virtual return_type_d6b37eb7a2815c508032d7111fe27b25 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_d6b37eb7a2815c508032d7111fe27b25, class_type, get_nb_parameters, ); }; + + public: typedef ::statiskit::Index return_type_6bbdbd5137365f409e51be059aaa5dec; virtual return_type_6bbdbd5137365f409e51be059aaa5dec get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_6bbdbd5137365f409e51be059aaa5dec, class_type, get_nb_components, ); }; }; diff --git a/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp b/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp index a910bd30..6ce19a5c 100644 --- a/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp +++ b/src/py/wrapper/wrapper_dbc8a0461eeb579aa69a16cbe03a3913.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_dbc8a0461eeb579aa69a16cbe03a3913(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > class_dbc8a0461eeb579aa69a16cbe03a3913(module, "BinomialDistributionMMEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::BinomialDistributionMMEstimation, struct ::statiskit::BinomialDistributionEstimation > > class_dbc8a0461eeb579aa69a16cbe03a3913(module, "BinomialDistributionMMEstimation", ""); class_dbc8a0461eeb579aa69a16cbe03a3913.def(pybind11::init< >()); class_dbc8a0461eeb579aa69a16cbe03a3913.def(pybind11::init< struct ::statiskit::BinomialDistributionMMEstimation const & >()); diff --git a/src/py/wrapper/wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d.cpp b/src/py/wrapper/wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d.cpp new file mode 100644 index 00000000..5aed9260 --- /dev/null +++ b/src/py/wrapper/wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d.cpp @@ -0,0 +1,58 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::Estimator; + + + protected: + typedef double return_type_80a600fe385250ceae032fc84893a1fc; + typedef struct ::statiskit::MultivariateDistribution const * param_80a600fe385250ceae032fc84893a1fc_0_type; + typedef struct ::statiskit::MultivariateData const & param_80a600fe385250ceae032fc84893a1fc_1_type; + virtual return_type_80a600fe385250ceae032fc84893a1fc scoring(param_80a600fe385250ceae032fc84893a1fc_0_type param_0, param_80a600fe385250ceae032fc84893a1fc_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_80a600fe385250ceae032fc84893a1fc, class_type, scoring, param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >::Estimator > > return_type_8716d7dc42c752c2907da43ebb6cf7e5; + virtual return_type_8716d7dc42c752c2907da43ebb6cf7e5 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_8716d7dc42c752c2907da43ebb6cf7e5, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::MultivariateDistribution > > > return_type_171594468546584aa9e0715c04238dd6; + typedef struct ::statiskit::MultivariateData const & param_171594468546584aa9e0715c04238dd6_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_171594468546584aa9e0715c04238dd6_1_type; + virtual return_type_171594468546584aa9e0715c04238dd6 operator()(param_171594468546584aa9e0715c04238dd6_0_type param_0, param_171594468546584aa9e0715c04238dd6_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_171594468546584aa9e0715c04238dd6, class_type, operator(), param_0, param_1); }; + }; + + class Publicist : public class_type + { + public: + using class_type::scoring; + }; +} + +::statiskit::Index (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_f13fa4966f25551dada3f4692c449082)()const= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator::size; +struct ::statiskit::MultivariateDistributionEstimation::Estimator * (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_f8c80d7449f75e8cbc7d529769e0ec45)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator::get_estimator; +void (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_d73640e6a881501284670465fad43c8b)(::statiskit::Index const &, struct ::statiskit::MultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator::set_estimator; +void (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_ec4a87f941ea5a29b23059276d4e9f8b)(struct ::statiskit::MultivariateDistributionEstimation::Estimator const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator::add_estimator; +void (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*method_pointer_7a34ddbefac35c1e91d52e8a17ebd90d)(::statiskit::Index const &)= &::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator::remove_estimator; + +namespace autowig { +} + +void wrapper_dcd684c7dbcd5ae89949cc59ed9c6d1d(pybind11::module& module) +{ + + pybind11::class_::Estimator, autowig::Trampoline, autowig::HolderType< class ::statiskit::Selection< struct ::statiskit::MultivariateDistributionEstimation >::Estimator >::Type, struct ::statiskit::MultivariateDistributionEstimation::Estimator > class_dcd684c7dbcd5ae89949cc59ed9c6d1d(module, "Estimator", ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def(pybind11::init< >()); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("__len__", method_pointer_f13fa4966f25551dada3f4692c449082, ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("get_estimator", method_pointer_f8c80d7449f75e8cbc7d529769e0ec45, pybind11::return_value_policy::reference_internal, ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("set_estimator", method_pointer_d73640e6a881501284670465fad43c8b, ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("add_estimator", method_pointer_ec4a87f941ea5a29b23059276d4e9f8b, ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("remove_estimator", method_pointer_7a34ddbefac35c1e91d52e8a17ebd90d, ""); + class_dcd684c7dbcd5ae89949cc59ed9c6d1d.def("_scoring", static_cast< double (::statiskit::Selection< ::statiskit::MultivariateDistributionEstimation >::Estimator::*) (struct ::statiskit::MultivariateDistribution const *, struct ::statiskit::MultivariateData const &) const >(&autowig::Publicist::scoring), ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp b/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp index 5dc59cff..dc29cf82 100644 --- a/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp +++ b/src/py/wrapper/wrapper_dda6bb3fd9345086a3231d9341e47d49.cpp @@ -9,7 +9,7 @@ namespace autowig { void wrapper_dda6bb3fd9345086a3231d9341e47d49(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_dda6bb3fd9345086a3231d9341e47d49(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::NegativeBinomialDistributionEstimation::Estimator > > > class_dda6bb3fd9345086a3231d9341e47d49(module, "Estimator", ""); class_dda6bb3fd9345086a3231d9341e47d49.def(pybind11::init< >()); class_dda6bb3fd9345086a3231d9341e47d49.def(pybind11::init< class ::statiskit::NegativeBinomialDistributionMLEstimation::Estimator const & >()); class_dda6bb3fd9345086a3231d9341e47d49.def("get_force", method_pointer_a6fb931b41ac5f978452c410417353b9, ""); diff --git a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp index fae4c463..04163f7e 100644 --- a/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp +++ b/src/py/wrapper/wrapper_de7ff6e8df595fdab99566ab1fb822d1.cpp @@ -9,19 +9,22 @@ namespace autowig public: using ::statiskit::UnivariateFrequencyDistributionEstimation< ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::Estimator; + + protected: typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::distribution_type * return_type_66f3e21cd67a5feab63c9578335a2d04; typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > const & param_66f3e21cd67a5feab63c9578335a2d04_0_type; typedef class ::Eigen::Matrix< double, -1, 1, 0, -1, 1 > const & param_66f3e21cd67a5feab63c9578335a2d04_1_type; virtual return_type_66f3e21cd67a5feab63c9578335a2d04 create(param_66f3e21cd67a5feab63c9578335a2d04_0_type param_0, param_66f3e21cd67a5feab63c9578335a2d04_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_66f3e21cd67a5feab63c9578335a2d04, class_type, create, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f29c0026008c59ff9139a939b30969fd; - typedef ::statiskit::UnivariateFrequencyDistributionEstimation< struct ::statiskit::CategoricalUnivariateDistributionEstimation >::Estimator::data_type const & param_f29c0026008c59ff9139a939b30969fd_0_type; - virtual return_type_f29c0026008c59ff9139a939b30969fd operator()(param_f29c0026008c59ff9139a939b30969fd_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f29c0026008c59ff9139a939b30969fd, class_type, operator(), param_0); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp index ab893a1a..a444186b 100644 --- a/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp +++ b/src/py/wrapper/wrapper_df673121ff9a5ed3a03ae1633aac43b7.cpp @@ -9,19 +9,18 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::CriterionEstimator, class ::statiskit::Selection< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_579b178acefc5660adf3ccb09fdbef9d; - virtual return_type_579b178acefc5660adf3ccb09fdbef9d copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_579b178acefc5660adf3ccb09fdbef9d, class_type, copy, ); }; + + protected: typedef double return_type_be440bc3a52251dfbc42d722b716ef3f; typedef struct ::statiskit::SingularDistribution const * param_be440bc3a52251dfbc42d722b716ef3f_0_type; typedef struct ::statiskit::MultivariateData const & param_be440bc3a52251dfbc42d722b716ef3f_1_type; virtual return_type_be440bc3a52251dfbc42d722b716ef3f scoring(param_be440bc3a52251dfbc42d722b716ef3f_0_type param_0, param_be440bc3a52251dfbc42d722b716ef3f_1_type param_1) const override { PYBIND11_OVERLOAD_PURE(return_type_be440bc3a52251dfbc42d722b716ef3f, class_type, scoring, param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_e63871509e675384a85dc2f7ea740325; - typedef struct ::statiskit::MultivariateData const & param_e63871509e675384a85dc2f7ea740325_0_type; - typedef bool const & param_e63871509e675384a85dc2f7ea740325_1_type; - virtual return_type_e63871509e675384a85dc2f7ea740325 operator()(param_e63871509e675384a85dc2f7ea740325_0_type param_0, param_e63871509e675384a85dc2f7ea740325_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e63871509e675384a85dc2f7ea740325, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; - virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; }; class Publicist : public class_type diff --git a/src/py/wrapper/wrapper_e049e06f4450537e811c2c21e309aa43.cpp b/src/py/wrapper/wrapper_e049e06f4450537e811c2c21e309aa43.cpp new file mode 100644 index 00000000..d3e1de84 --- /dev/null +++ b/src/py/wrapper/wrapper_e049e06f4450537e811c2c21e309aa43.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +void wrapper_e049e06f4450537e811c2c21e309aa43(pybind11::module& module) +{ + + pybind11::enum_< ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::criterion_type > enum_e049e06f4450537e811c2c21e309aa43(module, "criterion_type"); + enum_e049e06f4450537e811c2c21e309aa43.value("AIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::AIC); + enum_e049e06f4450537e811c2c21e309aa43.value("AI_CC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::AICc); + enum_e049e06f4450537e811c2c21e309aa43.value("BIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::BIC); + enum_e049e06f4450537e811c2c21e309aa43.value("HQIC", ::statiskit::Selection< struct ::statiskit::CategoricalMultivariateDistributionEstimation >::CriterionEstimator::HQIC); + enum_e049e06f4450537e811c2c21e309aa43.export_values(); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp b/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp deleted file mode 100644 index 8b62d894..00000000 --- a/src/py/wrapper/wrapper_e0e2f05f845558508daf53c1d4b545c7.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_a9b3fe6023445b199d3e0affdbba4ff7; - virtual return_type_a9b3fe6023445b199d3e0affdbba4ff7 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_a9b3fe6023445b199d3e0affdbba4ff7, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_e0e2f05f845558508daf53c1d4b545c7(pybind11::module& module) -{ - - pybind11::class_, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::PoissonDistributionMLEstimation::Estimator, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_e0e2f05f845558508daf53c1d4b545c7(module, "_PolymorphicCopy_e0e2f05f845558508daf53c1d4b545c7", ""); - class_e0e2f05f845558508daf53c1d4b545c7.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp b/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp index a0ab44eb..9cbb01e7 100644 --- a/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp +++ b/src/py/wrapper/wrapper_e17c871a4a485a888cde7218c52b67e3.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_e17c871a4a485a888cde7218c52b67e3(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > > class_e17c871a4a485a888cde7218c52b67e3(module, "Estimator", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator, class ::statiskit::Optimization< struct ::statiskit::LogarithmicDistributionEstimation::Estimator > > > class_e17c871a4a485a888cde7218c52b67e3(module, "Estimator", ""); class_e17c871a4a485a888cde7218c52b67e3.def(pybind11::init< >()); class_e17c871a4a485a888cde7218c52b67e3.def(pybind11::init< struct ::statiskit::LogarithmicDistributionMLEstimation::Estimator const & >()); diff --git a/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp index eaa91afd..136a5270 100644 --- a/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp +++ b/src/py/wrapper/wrapper_e3970afe332b54108a4040278f775008.cpp @@ -9,25 +9,31 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::BinaryDistribution, struct ::statiskit::CategoricalUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_898747f61717504b99a5db375de961f9; - virtual return_type_898747f61717504b99a5db375de961f9 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_898747f61717504b99a5db375de961f9, class_type, copy, ); }; + + public: typedef class ::std::set< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > >, struct ::std::less< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > >, class ::std::allocator< class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > > > return_type_11f39baffa14586ea386a3b3aea06b06; virtual return_type_11f39baffa14586ea386a3b3aea06b06 get_values() const override { PYBIND11_OVERLOAD_PURE(return_type_11f39baffa14586ea386a3b3aea06b06, class_type, get_values, ); }; + + public: typedef double return_type_ffbd4b9cbee7579795e0ce6676ff252f; typedef int const & param_ffbd4b9cbee7579795e0ce6676ff252f_0_type; virtual return_type_ffbd4b9cbee7579795e0ce6676ff252f pdf(param_ffbd4b9cbee7579795e0ce6676ff252f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ffbd4b9cbee7579795e0ce6676ff252f, class_type, pdf, param_0); }; + + public: typedef double return_type_d5f6ca2affb75fd78b00fcc370d678ff; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_d5f6ca2affb75fd78b00fcc370d678ff_0_type; virtual return_type_d5f6ca2affb75fd78b00fcc370d678ff pdf(param_d5f6ca2affb75fd78b00fcc370d678ff_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_d5f6ca2affb75fd78b00fcc370d678ff, class_type, pdf, param_0); }; + + public: typedef double return_type_bf87506bdef85834a040bd514141c40f; typedef class ::std::basic_string< char, struct ::std::char_traits< char >, class ::std::allocator< char > > const & param_bf87506bdef85834a040bd514141c40f_0_type; virtual return_type_bf87506bdef85834a040bd514141c40f ldf(param_bf87506bdef85834a040bd514141c40f_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_bf87506bdef85834a040bd514141c40f, class_type, ldf, param_0); }; - typedef double return_type_7126fc85886253648b85734c2202d73e; - typedef struct ::statiskit::UnivariateEvent const * param_7126fc85886253648b85734c2202d73e_0_type; - typedef bool const & param_7126fc85886253648b85734c2202d73e_1_type; - virtual return_type_7126fc85886253648b85734c2202d73e probability(param_7126fc85886253648b85734c2202d73e_0_type param_0, param_7126fc85886253648b85734c2202d73e_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_7126fc85886253648b85734c2202d73e, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_e48db52757bf5acbabe40fda3e8fafb6.cpp b/src/py/wrapper/wrapper_e48db52757bf5acbabe40fda3e8fafb6.cpp new file mode 100644 index 00000000..40c86f3c --- /dev/null +++ b/src/py/wrapper/wrapper_e48db52757bf5acbabe40fda3e8fafb6.cpp @@ -0,0 +1,40 @@ +#include "_core.h" + +namespace autowig +{ + typedef ::statiskit::PoissonDistributionEstimation::Estimator class_type; + + class Trampoline : public class_type + { + public: + using ::statiskit::PoissonDistributionEstimation::Estimator::Estimator; + + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_26294945d2a55f42a4ff3b316d0eb4ab; + virtual return_type_26294945d2a55f42a4ff3b316d0eb4ab copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_26294945d2a55f42a4ff3b316d0eb4ab, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_ffc375e050255b0e93aeb875148628ea; + typedef struct ::statiskit::MultivariateData const & param_ffc375e050255b0e93aeb875148628ea_0_type; + typedef unsigned long int const & param_ffc375e050255b0e93aeb875148628ea_1_type; + virtual return_type_ffc375e050255b0e93aeb875148628ea operator()(param_ffc375e050255b0e93aeb875148628ea_0_type param_0, param_ffc375e050255b0e93aeb875148628ea_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_ffc375e050255b0e93aeb875148628ea, class_type, operator(), param_0, param_1); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; + typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; + virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; + }; +} + + +namespace autowig { +} + +void wrapper_e48db52757bf5acbabe40fda3e8fafb6(pybind11::module& module) +{ + + pybind11::class_::Type, class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > class_e48db52757bf5acbabe40fda3e8fafb6(module, "Estimator", ""); + class_e48db52757bf5acbabe40fda3e8fafb6.def(pybind11::init< >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e5af192f1d9456d3ba5c6187223960e6.cpp b/src/py/wrapper/wrapper_e5af192f1d9456d3ba5c6187223960e6.cpp new file mode 100644 index 00000000..eb58621d --- /dev/null +++ b/src/py/wrapper/wrapper_e5af192f1d9456d3ba5c6187223960e6.cpp @@ -0,0 +1,14 @@ +#include "_core.h" + + +namespace autowig { +} + +void wrapper_e5af192f1d9456d3ba5c6187223960e6(pybind11::module& module) +{ + + pybind11::class_, struct ::statiskit::DiscreteMultivariateDistributionEstimation >, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_e5af192f1d9456d3ba5c6187223960e6(module, "_PolymorphicCopy_e5af192f1d9456d3ba5c6187223960e6", ""); + class_e5af192f1d9456d3ba5c6187223960e6.def(pybind11::init< >()); + class_e5af192f1d9456d3ba5c6187223960e6.def(pybind11::init< struct ::statiskit::PolymorphicCopy< class ::statiskit::Selection< struct ::statiskit::DiscreteMultivariateDistributionEstimation >, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp b/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp index d72698f5..012f708a 100644 --- a/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp +++ b/src/py/wrapper/wrapper_e5e03034302f5c6ca9d068a205353d2a.cpp @@ -7,7 +7,7 @@ namespace autowig { void wrapper_e5e03034302f5c6ca9d068a205353d2a(pybind11::module& module) { - pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteUnivariateDistributionEstimation > > > class_e5e03034302f5c6ca9d068a205353d2a(module, "NegativeBinomialDistributionMLEstimation", ""); + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< struct ::statiskit::NegativeBinomialDistributionMLEstimation, class ::statiskit::IterativeEstimation< double, struct ::statiskit::NegativeBinomialDistributionEstimation > > > class_e5e03034302f5c6ca9d068a205353d2a(module, "NegativeBinomialDistributionMLEstimation", ""); class_e5e03034302f5c6ca9d068a205353d2a.def(pybind11::init< >()); class_e5e03034302f5c6ca9d068a205353d2a.def(pybind11::init< struct ::statiskit::NegativeBinomialDistributionMLEstimation const & >()); diff --git a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp index 4fdf5799..9a35c811 100644 --- a/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp +++ b/src/py/wrapper/wrapper_e695b5b519815f1f96debe2f459d2f2b.cpp @@ -9,10 +9,16 @@ namespace autowig public: using ::statiskit::UnivariateEvent::UnivariateEvent; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_963689b729ca55bb9ee4a8fbb5e871c0; virtual return_type_963689b729ca55bb9ee4a8fbb5e871c0 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_963689b729ca55bb9ee4a8fbb5e871c0, class_type, copy, ); }; + + public: typedef enum ::statiskit::censoring_type return_type_e27fd4219e44503fa91f650545c9af28; virtual return_type_e27fd4219e44503fa91f650545c9af28 get_censoring() const override { PYBIND11_OVERLOAD_PURE(return_type_e27fd4219e44503fa91f650545c9af28, class_type, get_censoring, ); }; + + public: typedef enum ::statiskit::outcome_type return_type_68e98310906f5b1a8f388fded81a6acd; virtual return_type_68e98310906f5b1a8f388fded81a6acd get_outcome() const override { PYBIND11_OVERLOAD_PURE(return_type_68e98310906f5b1a8f388fded81a6acd, class_type, get_outcome, ); }; }; diff --git a/src/py/wrapper/wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4.cpp b/src/py/wrapper/wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4.cpp new file mode 100644 index 00000000..2fcc8ac2 --- /dev/null +++ b/src/py/wrapper/wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4.cpp @@ -0,0 +1,18 @@ +#include "_core.h" + +unsigned int const & (::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator::*method_pointer_04745ff559bd582b99b0e7f2b6f67789)()const= &::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator::get_nb_bins; +void (::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator::*method_pointer_fd9c2c3ba2865cd1a7b25b313af42b4c)(unsigned int const &)= &::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator::set_nb_bins; + +namespace autowig { +} + +void wrapper_e7be0d0aaa3c589eaf970a5ba5ef1cd4(pybind11::module& module) +{ + + pybind11::class_::Type, struct ::statiskit::PolymorphicCopy< class ::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator, struct ::statiskit::UnivariateHistogramDistributionEstimation::Estimator > > class_e7be0d0aaa3c589eaf970a5ba5ef1cd4(module, "Estimator", ""); + class_e7be0d0aaa3c589eaf970a5ba5ef1cd4.def(pybind11::init< >()); + class_e7be0d0aaa3c589eaf970a5ba5ef1cd4.def(pybind11::init< class ::statiskit::UnivariateHistogramDistributionClassicEstimation::Estimator const & >()); + class_e7be0d0aaa3c589eaf970a5ba5ef1cd4.def("get_nb_bins", method_pointer_04745ff559bd582b99b0e7f2b6f67789, pybind11::return_value_policy::copy, ""); + class_e7be0d0aaa3c589eaf970a5ba5ef1cd4.def("set_nb_bins", method_pointer_fd9c2c3ba2865cd1a7b25b313af42b4c, ""); + +} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp index 1350cd84..ddb16b46 100644 --- a/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp +++ b/src/py/wrapper/wrapper_ed56b0739802545c9906dd23adb8636c.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::LogarithmicDistribution, struct ::statiskit::DiscreteUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_4e3a159ed74a5d7eab2ad2234675eb82; - virtual return_type_4e3a159ed74a5d7eab2ad2234675eb82 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_4e3a159ed74a5d7eab2ad2234675eb82, class_type, copy, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp index f8a1fbe0..2339cd6b 100644 --- a/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp +++ b/src/py/wrapper/wrapper_ef06cd7866a05e8a9b9f746a2f9da324.cpp @@ -9,30 +9,36 @@ namespace autowig public: using ::statiskit::BetaCompoundDiscreteUnivariateDistribution::BetaCompoundDiscreteUnivariateDistribution; - typedef unsigned int return_type_cf22030de03557b1aef636a8696154de; - virtual return_type_cf22030de03557b1aef636a8696154de get_nb_parameters() const override { PYBIND11_OVERLOAD(return_type_cf22030de03557b1aef636a8696154de, class_type, get_nb_parameters, ); }; + + public: typedef double return_type_c6a8fd2e5dc454c89e463671fdf91f3e; virtual return_type_c6a8fd2e5dc454c89e463671fdf91f3e get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_c6a8fd2e5dc454c89e463671fdf91f3e, class_type, get_variance, ); }; + + public: typedef double return_type_9fdf92df3e8c5e0e85306b85eb662025; virtual return_type_9fdf92df3e8c5e0e85306b85eb662025 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_9fdf92df3e8c5e0e85306b85eb662025, class_type, get_mean, ); }; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_9b1e41d78cb15fb485b076a8136faf6b; - virtual return_type_9b1e41d78cb15fb485b076a8136faf6b simulate() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_9b1e41d78cb15fb485b076a8136faf6b, class_type, simulate, ); }; + + public: typedef int return_type_0f752a27239a55e4a5244da5bea67286; typedef double const & param_0f752a27239a55e4a5244da5bea67286_0_type; virtual return_type_0f752a27239a55e4a5244da5bea67286 quantile(param_0f752a27239a55e4a5244da5bea67286_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_0f752a27239a55e4a5244da5bea67286, class_type, quantile, param_0); }; + + public: typedef double return_type_b8cb3c3bef9a57b0b9e80ef518f215b7; typedef int const & param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type; virtual return_type_b8cb3c3bef9a57b0b9e80ef518f215b7 cdf(param_b8cb3c3bef9a57b0b9e80ef518f215b7_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_b8cb3c3bef9a57b0b9e80ef518f215b7, class_type, cdf, param_0); }; + + public: typedef double return_type_e743676180d85397828cc79f44d4d185; typedef int const & param_e743676180d85397828cc79f44d4d185_0_type; virtual return_type_e743676180d85397828cc79f44d4d185 pdf(param_e743676180d85397828cc79f44d4d185_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e743676180d85397828cc79f44d4d185, class_type, pdf, param_0); }; + + public: typedef double return_type_e31fb7a7a5b852af9574d7d8bac3da21; typedef int const & param_e31fb7a7a5b852af9574d7d8bac3da21_0_type; virtual return_type_e31fb7a7a5b852af9574d7d8bac3da21 ldf(param_e31fb7a7a5b852af9574d7d8bac3da21_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_e31fb7a7a5b852af9574d7d8bac3da21, class_type, ldf, param_0); }; - typedef double return_type_c3377d2e9b535f76985d786c2f3a6fe0; - typedef struct ::statiskit::UnivariateEvent const * param_c3377d2e9b535f76985d786c2f3a6fe0_0_type; - typedef bool const & param_c3377d2e9b535f76985d786c2f3a6fe0_1_type; - virtual return_type_c3377d2e9b535f76985d786c2f3a6fe0 probability(param_c3377d2e9b535f76985d786c2f3a6fe0_0_type param_0, param_c3377d2e9b535f76985d786c2f3a6fe0_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3377d2e9b535f76985d786c2f3a6fe0, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_7043746e82585022aaf3d0d72cbf150b; virtual return_type_7043746e82585022aaf3d0d72cbf150b copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_7043746e82585022aaf3d0d72cbf150b, class_type, copy, ); }; }; diff --git a/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp index 31e024a9..7620de74 100644 --- a/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp +++ b/src/py/wrapper/wrapper_f3a4e0390ba552948c69ae13cadb799a.cpp @@ -9,8 +9,14 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< struct ::statiskit::MultinomialSingularDistributionEstimation::Estimator, ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator >::PolymorphicCopy; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator > > return_type_350c37163a93559ca07485ee2b6fe75c; - virtual return_type_350c37163a93559ca07485ee2b6fe75c copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_350c37163a93559ca07485ee2b6fe75c, class_type, copy, ); }; + + public: + typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_b4d3bbcdff0c5c2faab4814b768d9584; + typedef struct ::statiskit::MultivariateData const & param_b4d3bbcdff0c5c2faab4814b768d9584_0_type; + typedef class ::std::set< unsigned long int, struct ::std::less< unsigned long int >, class ::std::allocator< unsigned long int > > const & param_b4d3bbcdff0c5c2faab4814b768d9584_1_type; + virtual return_type_b4d3bbcdff0c5c2faab4814b768d9584 operator()(param_b4d3bbcdff0c5c2faab4814b768d9584_0_type param_0, param_b4d3bbcdff0c5c2faab4814b768d9584_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_b4d3bbcdff0c5c2faab4814b768d9584, class_type, operator(), param_0, param_1); }; + + public: typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution > > > return_type_1b58fb67872859e3906ec2e648200d3c; typedef ::statiskit::DistributionEstimation< struct ::statiskit::SingularDistribution >::Estimator::data_type const & param_1b58fb67872859e3906ec2e648200d3c_0_type; virtual return_type_1b58fb67872859e3906ec2e648200d3c operator()(param_1b58fb67872859e3906ec2e648200d3c_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_1b58fb67872859e3906ec2e648200d3c, class_type, operator(), param_0); }; diff --git a/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp index b5d62ff1..7e91e357 100644 --- a/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp +++ b/src/py/wrapper/wrapper_f4b4623a4bb55ebdb42401f0a981cb83.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::GumbelDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_e3498b10e5415f52b2480b5a9a098ccf; - virtual return_type_e3498b10e5415f52b2480b5a9a098ccf copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_e3498b10e5415f52b2480b5a9a098ccf, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp b/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp deleted file mode 100644 index fee8900e..00000000 --- a/src/py/wrapper/wrapper_f66e5627d97f5fac82e3d89b9b0694dc.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "_core.h" - -::statiskit::Index (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_5707d7a558215b39922ed84f8e706100)()const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::size; -double const (::statiskit::IterativeEstimation< double, ::statiskit::DiscreteMultivariateDistributionEstimation >::*method_pointer_6e479df71da25de293b13d39fddb9df4)(::statiskit::Index const &)const= &::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation >::at_step; - -namespace autowig { -} - -void wrapper_f66e5627d97f5fac82e3d89b9b0694dc(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > >::Type, struct ::statiskit::DiscreteMultivariateDistributionEstimation > class_f66e5627d97f5fac82e3d89b9b0694dc(module, "_IterativeEstimation_f66e5627d97f5fac82e3d89b9b0694dc", ""); - class_f66e5627d97f5fac82e3d89b9b0694dc.def(pybind11::init< class ::statiskit::IterativeEstimation< double, struct ::statiskit::DiscreteMultivariateDistributionEstimation > const & >()); - class_f66e5627d97f5fac82e3d89b9b0694dc.def("__len__", method_pointer_5707d7a558215b39922ed84f8e706100, ""); - class_f66e5627d97f5fac82e3d89b9b0694dc.def("at_step", method_pointer_6e479df71da25de293b13d39fddb9df4, ""); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp b/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp index e7f62991..8be2d89b 100644 --- a/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp +++ b/src/py/wrapper/wrapper_f8b8546034205658b6e3e16175284f26.cpp @@ -21,7 +21,7 @@ namespace autowig { void wrapper_f8b8546034205658b6e3e16175284f26(pybind11::module& module) { - pybind11::class_ >, autowig::HolderType< class ::std::basic_ios< char, struct ::std::char_traits< char > > >::Type, class ::std::ios_base > class_f8b8546034205658b6e3e16175284f26(module, "_BasicIos_f8b8546034205658b6e3e16175284f26", ""); + pybind11::class_ >, autowig::HolderType< class ::std::basic_ios< char, struct ::std::char_traits< char > > >::Type > class_f8b8546034205658b6e3e16175284f26(module, "_BasicIos_f8b8546034205658b6e3e16175284f26", ""); class_f8b8546034205658b6e3e16175284f26.def(pybind11::init< class ::std::basic_streambuf< char, struct ::std::char_traits< char > > * >()); class_f8b8546034205658b6e3e16175284f26.def("__not__", method_pointer_a0c0805d4b6b59ba88690cd3db015da7, ""); class_f8b8546034205658b6e3e16175284f26.def("good", method_pointer_59f0426d0a165494be5b3531e0d18c9e, ""); diff --git a/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp b/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp deleted file mode 100644 index 631b841b..00000000 --- a/src/py/wrapper/wrapper_f8d597009c7f50c0a1968a49aa56ff46.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "_core.h" - - -namespace autowig { -} - -void wrapper_f8d597009c7f50c0a1968a49aa56ff46(pybind11::module& module) -{ - - pybind11::class_, autowig::HolderType< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > >::Type, struct ::statiskit::ContinuousUnivariateDistributionEstimation > class_f8d597009c7f50c0a1968a49aa56ff46(module, "_PolymorphicCopy_f8d597009c7f50c0a1968a49aa56ff46", ""); - class_f8d597009c7f50c0a1968a49aa56ff46.def(pybind11::init< >()); - class_f8d597009c7f50c0a1968a49aa56ff46.def(pybind11::init< struct ::statiskit::PolymorphicCopy< struct ::statiskit::NormalDistributionMLEstimation, struct ::statiskit::ContinuousUnivariateDistributionEstimation > const & >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp index 60defad9..461a5ad0 100644 --- a/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp +++ b/src/py/wrapper/wrapper_faed70c01c41556a87ba6c938ce7c777.cpp @@ -8,19 +8,31 @@ namespace autowig { public: + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateSampleSpace, struct ::std::default_delete< struct ::statiskit::MultivariateSampleSpace > > return_type_40d149de873956828c7a7bb6efb1b291; virtual return_type_40d149de873956828c7a7bb6efb1b291 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_40d149de873956828c7a7bb6efb1b291, class_type, copy, ); }; + + public: typedef class ::Eigen::Matrix< double, 1, -1, 1, 1, -1 > return_type_453c7ae8bd33563d9ea0317dca724475; typedef struct ::statiskit::MultivariateEvent const & param_453c7ae8bd33563d9ea0317dca724475_0_type; virtual return_type_453c7ae8bd33563d9ea0317dca724475 encode(param_453c7ae8bd33563d9ea0317dca724475_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_453c7ae8bd33563d9ea0317dca724475, class_type, encode, param_0); }; + + public: typedef ::statiskit::Index return_type_58045e2837b651c18e64ce6ac4e0be9e; virtual return_type_58045e2837b651c18e64ce6ac4e0be9e encode() const override { PYBIND11_OVERLOAD(return_type_58045e2837b651c18e64ce6ac4e0be9e, class_type, encode, ); }; + + public: typedef bool return_type_817740fe51f5581ca0b50fe3fdee1e78; typedef struct ::statiskit::MultivariateEvent const * param_817740fe51f5581ca0b50fe3fdee1e78_0_type; virtual return_type_817740fe51f5581ca0b50fe3fdee1e78 is_compatible(param_817740fe51f5581ca0b50fe3fdee1e78_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_817740fe51f5581ca0b50fe3fdee1e78, class_type, is_compatible, param_0); }; + + public: typedef struct ::statiskit::UnivariateSampleSpace const * return_type_8c0662a511875406abdb211229d806f3; typedef ::statiskit::Index const & param_8c0662a511875406abdb211229d806f3_0_type; virtual return_type_8c0662a511875406abdb211229d806f3 get_sample_space(param_8c0662a511875406abdb211229d806f3_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_8c0662a511875406abdb211229d806f3, class_type, get_sample_space, param_0); }; + + public: typedef ::statiskit::Index return_type_34b56241180a545dbbc2cc99f5f4650e; virtual return_type_34b56241180a545dbbc2cc99f5f4650e size() const override { PYBIND11_OVERLOAD_PURE(return_type_34b56241180a545dbbc2cc99f5f4650e, class_type, size, ); }; }; diff --git a/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp b/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp deleted file mode 100644 index 3ab77dac..00000000 --- a/src/py/wrapper/wrapper_faf1fdd6d84a5fc3a61a827f354b8275.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "_core.h" - -namespace autowig -{ - typedef ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_type; - - class Trampoline : public class_type - { - public: - using ::statiskit::PolymorphicCopy< ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > >::PolymorphicCopy; - - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator > > return_type_f6490a0c561e5b4fb5fbd58a16a162fe; - virtual return_type_f6490a0c561e5b4fb5fbd58a16a162fe copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f6490a0c561e5b4fb5fbd58a16a162fe, class_type, copy, ); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_47877b68ac8c5802b57686bea7f9f547; - typedef struct ::statiskit::MultivariateData const & param_47877b68ac8c5802b57686bea7f9f547_0_type; - typedef ::statiskit::Index const & param_47877b68ac8c5802b57686bea7f9f547_1_type; - virtual return_type_47877b68ac8c5802b57686bea7f9f547 operator()(param_47877b68ac8c5802b57686bea7f9f547_0_type param_0, param_47877b68ac8c5802b57686bea7f9f547_1_type param_1) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_47877b68ac8c5802b57686bea7f9f547, class_type, operator(), param_0, param_1); }; - typedef class ::std::unique_ptr< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >, struct ::std::default_delete< class ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution > > > return_type_f5006c7de7595cf1b83e7502ffda0880; - typedef ::statiskit::DistributionEstimation< struct ::statiskit::UnivariateDistribution >::Estimator::data_type const & param_f5006c7de7595cf1b83e7502ffda0880_0_type; - virtual return_type_f5006c7de7595cf1b83e7502ffda0880 operator()(param_f5006c7de7595cf1b83e7502ffda0880_0_type param_0) const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_f5006c7de7595cf1b83e7502ffda0880, class_type, operator(), param_0); }; - }; -} - - -namespace autowig { -} - -void wrapper_faf1fdd6d84a5fc3a61a827f354b8275(pybind11::module& module) -{ - - pybind11::class_ >, autowig::Trampoline, autowig::HolderType< struct ::statiskit::PolymorphicCopy< class ::statiskit::BinomialDistributionMLEstimation::Estimator, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > >::Type, class ::statiskit::Optimization< class ::statiskit::DiscreteUnivariateDistributionEstimation::Estimator > > class_faf1fdd6d84a5fc3a61a827f354b8275(module, "_PolymorphicCopy_faf1fdd6d84a5fc3a61a827f354b8275", ""); - class_faf1fdd6d84a5fc3a61a827f354b8275.def(pybind11::init< >()); - -} \ No newline at end of file diff --git a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp index 4eb3851c..2613b951 100644 --- a/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp +++ b/src/py/wrapper/wrapper_fe18de6fe2c850bc986987821db6db68.cpp @@ -4,7 +4,7 @@ void wrapper_fe18de6fe2c850bc986987821db6db68(pybind11::module& module) { - pybind11::enum_< enum ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); + pybind11::enum_< ::statiskit::ordering_type > enum_fe18de6fe2c850bc986987821db6db68(module, "ordering_type"); enum_fe18de6fe2c850bc986987821db6db68.value("NONE", ::statiskit::NONE); enum_fe18de6fe2c850bc986987821db6db68.value("TOTAL", ::statiskit::TOTAL); enum_fe18de6fe2c850bc986987821db6db68.value("PARTIAL", ::statiskit::PARTIAL); diff --git a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp index 8fd1c173..b73a1787 100644 --- a/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp +++ b/src/py/wrapper/wrapper_fe5c14ebd9715db583a8fcea54e1d965.cpp @@ -9,26 +9,27 @@ namespace autowig public: using ::statiskit::WeightedMultivariateData::WeightedMultivariateData; - typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData::Generator, struct ::std::default_delete< struct ::statiskit::MultivariateData::Generator > > return_type_8b99d3aaab095ec3909995020f652364; - virtual return_type_8b99d3aaab095ec3909995020f652364 generator() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_8b99d3aaab095ec3909995020f652364, class_type, generator, ); }; + + public: typedef double return_type_7da327a8236953bdbdbe7d839fab134b; typedef ::statiskit::Index const & param_7da327a8236953bdbdbe7d839fab134b_0_type; virtual return_type_7da327a8236953bdbdbe7d839fab134b get_weight(param_7da327a8236953bdbdbe7d839fab134b_0_type param_0) const override { PYBIND11_OVERLOAD(return_type_7da327a8236953bdbdbe7d839fab134b, class_type, get_weight, param_0); }; - typedef struct ::statiskit::MultivariateSampleSpace const * return_type_b5f43de177835cf7a8332223a0439efa; - virtual return_type_b5f43de177835cf7a8332223a0439efa get_sample_space() const override { PYBIND11_OVERLOAD(return_type_b5f43de177835cf7a8332223a0439efa, class_type, get_sample_space, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_772fe48a3d9157a8866c84dd1f9b5675; virtual return_type_772fe48a3d9157a8866c84dd1f9b5675 copy() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_772fe48a3d9157a8866c84dd1f9b5675, class_type, copy, ); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::MultivariateData, struct ::std::default_delete< struct ::statiskit::MultivariateData > > return_type_f64a6810607b5e87abd849016a7257a8; typedef ::statiskit::Indices const & param_f64a6810607b5e87abd849016a7257a8_0_type; virtual return_type_f64a6810607b5e87abd849016a7257a8 select(param_f64a6810607b5e87abd849016a7257a8_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_f64a6810607b5e87abd849016a7257a8, class_type, select, param_0); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateData, struct ::std::default_delete< struct ::statiskit::UnivariateData > > return_type_c396af3cbd155448853ecc949208ba01; typedef ::statiskit::Index const & param_c396af3cbd155448853ecc949208ba01_0_type; virtual return_type_c396af3cbd155448853ecc949208ba01 select(param_c396af3cbd155448853ecc949208ba01_0_type param_0) const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_c396af3cbd155448853ecc949208ba01, class_type, select, param_0); }; - typedef struct ::statiskit::UnivariateSampleSpace const * return_type_ac6508992c5b5503bd21d9306d7865ab; - typedef ::statiskit::Index const & param_ac6508992c5b5503bd21d9306d7865ab_0_type; - virtual return_type_ac6508992c5b5503bd21d9306d7865ab get_sample_space(param_ac6508992c5b5503bd21d9306d7865ab_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_ac6508992c5b5503bd21d9306d7865ab, class_type, get_sample_space, param_0); }; - typedef ::statiskit::Index return_type_c47e79caf5975050b200ee7ce97df8ff; - virtual return_type_c47e79caf5975050b200ee7ce97df8ff get_nb_components() const override { PYBIND11_OVERLOAD_PURE(return_type_c47e79caf5975050b200ee7ce97df8ff, class_type, get_nb_components, ); }; + + public: typedef ::statiskit::Index return_type_9a45dee4cb885178bcb89ced8cb3face; virtual return_type_9a45dee4cb885178bcb89ced8cb3face get_nb_events() const override { PYBIND11_OVERLOAD(return_type_9a45dee4cb885178bcb89ced8cb3face, class_type, get_nb_events, ); }; }; diff --git a/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp index f91cc8f3..31c71717 100644 --- a/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp +++ b/src/py/wrapper/wrapper_feb9ad1a68185444ba16325ba90aea6b.cpp @@ -9,30 +9,40 @@ namespace autowig public: using ::statiskit::PolymorphicCopy< ::statiskit::CauchyDistribution, struct ::statiskit::ContinuousUnivariateDistribution >::PolymorphicCopy; - typedef class ::std::unique_ptr< struct ::statiskit::UnivariateDistribution, struct ::std::default_delete< struct ::statiskit::UnivariateDistribution > > return_type_0408f793761c57f191af8e7422380511; - virtual return_type_0408f793761c57f191af8e7422380511 copy() const override { PYBIND11_OVERLOAD_UNIQUE_PTR(return_type_0408f793761c57f191af8e7422380511, class_type, copy, ); }; + + public: typedef double return_type_17d4a13bc764561299d331907516003f; virtual return_type_17d4a13bc764561299d331907516003f get_variance() const override { PYBIND11_OVERLOAD_PURE(return_type_17d4a13bc764561299d331907516003f, class_type, get_variance, ); }; + + public: typedef double return_type_cb42091f4cb35419b13eb0e0c27eb470; virtual return_type_cb42091f4cb35419b13eb0e0c27eb470 get_mean() const override { PYBIND11_OVERLOAD_PURE(return_type_cb42091f4cb35419b13eb0e0c27eb470, class_type, get_mean, ); }; + + public: typedef double return_type_32217c345e3d5454a2e46058d702ce84; typedef double const & param_32217c345e3d5454a2e46058d702ce84_0_type; virtual return_type_32217c345e3d5454a2e46058d702ce84 quantile(param_32217c345e3d5454a2e46058d702ce84_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_32217c345e3d5454a2e46058d702ce84, class_type, quantile, param_0); }; + + public: typedef double return_type_3e9327a27cc259a1a813cf253bd84642; typedef double const & param_3e9327a27cc259a1a813cf253bd84642_0_type; virtual return_type_3e9327a27cc259a1a813cf253bd84642 cdf(param_3e9327a27cc259a1a813cf253bd84642_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_3e9327a27cc259a1a813cf253bd84642, class_type, cdf, param_0); }; + + public: typedef double return_type_30c20faf3f5a515d9541c73f1eb020df; typedef double const & param_30c20faf3f5a515d9541c73f1eb020df_0_type; virtual return_type_30c20faf3f5a515d9541c73f1eb020df pdf(param_30c20faf3f5a515d9541c73f1eb020df_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_30c20faf3f5a515d9541c73f1eb020df, class_type, pdf, param_0); }; + + public: typedef double return_type_2843df1d3dc6596aaccccc3a0dd5da36; typedef double const & param_2843df1d3dc6596aaccccc3a0dd5da36_0_type; virtual return_type_2843df1d3dc6596aaccccc3a0dd5da36 ldf(param_2843df1d3dc6596aaccccc3a0dd5da36_0_type param_0) const override { PYBIND11_OVERLOAD_PURE(return_type_2843df1d3dc6596aaccccc3a0dd5da36, class_type, ldf, param_0); }; - typedef double return_type_c3090cef11805fc1858df60ff42a7c43; - typedef struct ::statiskit::UnivariateEvent const * param_c3090cef11805fc1858df60ff42a7c43_0_type; - typedef bool const & param_c3090cef11805fc1858df60ff42a7c43_1_type; - virtual return_type_c3090cef11805fc1858df60ff42a7c43 probability(param_c3090cef11805fc1858df60ff42a7c43_0_type param_0, param_c3090cef11805fc1858df60ff42a7c43_1_type param_1) const override { PYBIND11_OVERLOAD(return_type_c3090cef11805fc1858df60ff42a7c43, class_type, probability, param_0, param_1); }; + + public: typedef class ::std::unique_ptr< struct ::statiskit::UnivariateEvent, struct ::std::default_delete< struct ::statiskit::UnivariateEvent > > return_type_320fcafd931d58898fc5be99cb1979fe; virtual return_type_320fcafd931d58898fc5be99cb1979fe simulate() const override { PYBIND11_OVERLOAD_PURE_UNIQUE_PTR(return_type_320fcafd931d58898fc5be99cb1979fe, class_type, simulate, ); }; + + public: typedef unsigned int return_type_0826ef63abcb5a8d83b7e3e2df48a620; virtual return_type_0826ef63abcb5a8d83b7e3e2df48a620 get_nb_parameters() const override { PYBIND11_OVERLOAD_PURE(return_type_0826ef63abcb5a8d83b7e3e2df48a620, class_type, get_nb_parameters, ); }; }; diff --git a/test/test_binomial.py b/test/test_binomial.py index bcefdcc6..692d4d9a 100644 --- a/test/test_binomial.py +++ b/test/test_binomial.py @@ -17,14 +17,18 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(20) - mle = core.binomial_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.binomial_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), self._dist.loglikelihood(data)) def test_mme(self): data = self._dist.simulation(20) - mme = core.binomial_estimation('mm', data) - self.assertAlmostEqual(mme.estimated.mean, data.location) - # self.assertAlmostEqual(mme.estimated.variance, float(data.variance)) + mme = core.binomial_estimation('MM', data) + self.assertAlmostEqual(mme.distribution.mean, data.location) + self.assertLessEqual(mme.distribution.variance, data.dispersion) + dist = mme.distribution + dist.kappa = dist.kappa + 1 + dist.pi = dist.pi * dist.kappa / float(dist.kappa + 1) + self.assertGreaterEqual(dist.variance, data.dispersion) @classmethod def tearDownClass(cls): diff --git a/test/test_categorical.py b/test/test_categorical.py index 8c151ead..4ac20249 100644 --- a/test/test_categorical.py +++ b/test/test_categorical.py @@ -37,15 +37,18 @@ def tearDownClass(cls): level=1) class TestNominal(unittest.TestCase, AbstractTestUnivariateDistribution): + _algorithm = "nominal" + @classmethod def setUpClass(cls): cls._dist = core.NominalDistribution('A', 'B', 'C', pi = linalg.Vector([2., 1., 3.])) - def test_mle(self): data = self._dist.simulation(10) - mle = core.frequency_estimation(data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.frequency_estimation(self._algorithm, + data = data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), + self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): @@ -60,7 +63,8 @@ class TestOrdinal(TestNominal): @classmethod def setUpClass(cls): cls._dist_unif = core.OrdinalDistribution('C', 'B', 'A') - cls._dist = core.OrdinalDistribution('C', 'B', 'A', ordered_pi = linalg.Vector([2., 1., 3.])) + cls._dist = core.OrdinalDistribution('C', 'B', 'A', + ordered_pi = linalg.Vector([2., 1., 3.])) def test_get_set(self): self.assertEqual(self._dist_unif.pdf('B'), 1/3.) @@ -78,27 +82,27 @@ def tearDownClass(cls): del cls._dist_unif del cls._dist -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestHierarchical(unittest.TestCase, AbstractTestUnivariateDistribution): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestHierarchical(unittest.TestCase, AbstractTestUnivariateDistribution): - _ordinal_space = core.OrdinalSampleSpace('C', 'B', 'A') - _nominal_space = core.NominalSampleSpace('Ba', 'Bb', 'Bc') - _hierarchical_space = core.HierarchicalSampleSpace(_ordinal_space) - _hierarchical_space.partition('B', _nominal_space) - _places = 10 - - @classmethod - def setUpClass(cls): - cls._dist = core.HierarchicalDistribution(cls._hierarchical_space) - - def test_internal_ldf(self): - self.assertAlmostEqual(self._dist.pdf('C'), float(1/3), places=self._places) - self.assertAlmostEqual(self._dist.pdf('Ba'), float(1/9), places=self._places) - self.assertAlmostEqual(self._dist.internal_pdf('B'), float(1/3), places=self._places) - - @classmethod - def tearDownClass(cls): - del cls._dist \ No newline at end of file +# _ordinal_space = core.OrdinalSampleSpace('C', 'B', 'A') +# _nominal_space = core.NominalSampleSpace('Ba', 'Bb', 'Bc') +# _hierarchical_space = core.HierarchicalSampleSpace(_ordinal_space) +# _hierarchical_space.partition('B', _nominal_space) +# _places = 10 + +# @classmethod +# def setUpClass(cls): +# cls._dist = core.HierarchicalDistribution(cls._hierarchical_space) + +# def test_internal_ldf(self): +# self.assertAlmostEqual(self._dist.pdf('C'), float(1/3), places=self._places) +# self.assertAlmostEqual(self._dist.pdf('Ba'), float(1/9), places=self._places) +# self.assertAlmostEqual(self._dist.internal_pdf('B'), float(1/3), places=self._places) + +# @classmethod +# def tearDownClass(cls): +# del cls._dist \ No newline at end of file diff --git a/test/test_data.py b/test/test_data.py index 9eb7bff8..7b88e465 100644 --- a/test/test_data.py +++ b/test/test_data.py @@ -1,85 +1,85 @@ -import matplotlib -matplotlib.use('Agg') - -from matplotlib import pyplot - -from statiskit import core -from statiskit.data import core as data - -import unittest -from nose.plugins.attrib import attr - -import os -from tempfile import NamedTemporaryFile -import math - -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestData(unittest.TestCase): - - @classmethod - def setUpClass(cls): - cls._data = data.load('capushe') - - def test_copy(self): - data = self._data.copy() - del self.__class__._data - self.__class__._data = data - - def test_access(self): - for uevent, mevent in zip(self._data.pen.events, self._data.events): - self.assertEqual(uevent.value, mevent[1].value) - - def test_repr(self): - for component in self._data.components: - repr(component) - repr(self._data) - - def test_repr_html(self): - for component in self._data.components: - component._repr_html_() - self._data._repr_html_() - - def test_pdf_plot(self): - for component in self._data.components: - component.pdf_plot() - - def test_location(self): - location = self._data.location - for index, component in enumerate(self._data.components): - if index == 0: - self.assertTrue(math.isnan(location[index])) - self.assertTrue(math.isnan(component.location)) - else: - self.assertAlmostEqual(location[index], component.location) - - def test_dispersion(self): - dispersion = self._data.dispersion - for index, component in enumerate(self._data.components): - if index == 0: - self.assertTrue(math.isnan(dispersion[index, index])) - self.assertTrue(math.isnan(component.dispersion)) - else: - self.assertAlmostEqual(dispersion[index, index], component.dispersion) - - def test_extract(self): - data = self._data.extract(0, 1) - self.assertEqual(len(data), len(self._data)) - - @attr(osx = False) - def test_cdf_plot(self): - for component in self._data.components: - component.cdf_plot() - - @attr(win = False) - def test_write_csv(self): - tmp = NamedTemporaryFile() - self._data.write_csv(tmp.name, header=True) - data = core.read_csv(tmp.name, header=True) - self.assertEqual(repr(data), repr(self._data)) - - @classmethod - def tearDownClass(cls): - del cls._data +# import matplotlib +# matplotlib.use('Agg') + +# from matplotlib import pyplot + +# from statiskit import core +# from statiskit.data import core as data + +# import unittest +# from nose.plugins.attrib import attr + +# import os +# from tempfile import NamedTemporaryFile +# import math + +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestData(unittest.TestCase): + +# @classmethod +# def setUpClass(cls): +# cls._data = data.load('capushe') + +# def test_copy(self): +# data = self._data.copy() +# del self.__class__._data +# self.__class__._data = data + +# def test_access(self): +# for uevent, mevent in zip(self._data.pen.events, self._data.events): +# self.assertEqual(uevent.value, mevent[1].value) + +# def test_repr(self): +# for component in self._data.components: +# repr(component) +# repr(self._data) + +# def test_repr_html(self): +# for component in self._data.components: +# component._repr_html_() +# self._data._repr_html_() + +# def test_pdf_plot(self): +# for component in self._data.components: +# component.pdf_plot() + +# def test_location(self): +# location = self._data.location +# for index, component in enumerate(self._data.components): +# if index == 0: +# self.assertTrue(math.isnan(location[index])) +# self.assertTrue(math.isnan(component.location)) +# else: +# self.assertAlmostEqual(location[index], component.location) + +# def test_dispersion(self): +# dispersion = self._data.dispersion +# for index, component in enumerate(self._data.components): +# if index == 0: +# self.assertTrue(math.isnan(dispersion[index, index])) +# self.assertTrue(math.isnan(component.dispersion)) +# else: +# self.assertAlmostEqual(dispersion[index, index], component.dispersion) + +# def test_extract(self): +# data = self._data.extract(0, 1) +# self.assertEqual(len(data), len(self._data)) + +# @attr(osx = False) +# def test_cdf_plot(self): +# for component in self._data.components: +# component.cdf_plot() + +# @attr(win = False) +# def test_write_csv(self): +# tmp = NamedTemporaryFile() +# self._data.write_csv(tmp.name, header=True) +# data = core.read_csv(tmp.name, header=True) +# self.assertEqual(repr(data), repr(self._data)) + +# @classmethod +# def tearDownClass(cls): +# del cls._data diff --git a/test/test_geometric.py b/test/test_geometric.py index ed962b00..0f58fbf3 100644 --- a/test/test_geometric.py +++ b/test/test_geometric.py @@ -17,8 +17,8 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(20) - mle = core.geometric_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.geometric_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): diff --git a/test/test_logarithmic.py b/test/test_logarithmic.py index 90ccd7be..38ba4b35 100644 --- a/test/test_logarithmic.py +++ b/test/test_logarithmic.py @@ -17,8 +17,8 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(20) - mle = core.logarithmic_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.logarithmic_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): diff --git a/test/test_mixture.py b/test/test_mixture.py index a032dc06..0a296b55 100644 --- a/test/test_mixture.py +++ b/test/test_mixture.py @@ -1,35 +1,35 @@ -from test_distribution import AbstractTestDiscreteUnivariateDistribution +# from test_distribution import AbstractTestDiscreteUnivariateDistribution -from statiskit import linalg -from statiskit import core +# from statiskit import linalg +# from statiskit import core -import unittest -from nose.plugins.attrib import attr +# import unittest +# from nose.plugins.attrib import attr -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestMixture(unittest.TestCase, AbstractTestDiscreteUnivariateDistribution): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestMixture(unittest.TestCase, AbstractTestDiscreteUnivariateDistribution): - @classmethod - def setUpClass(cls): - cls._dist = core.MixtureDistribution(core.PoissonDistribution(.5), - core.PoissonDistribution(10.), - pi = linalg.Vector([.25, .75])) +# @classmethod +# def setUpClass(cls): +# cls._dist = core.MixtureDistribution(core.PoissonDistribution(.5), +# core.PoissonDistribution(10.), +# pi = linalg.Vector([.25, .75])) - def test_estimation_em(self): - data = self._dist.simulation(100) - em = core.mixture_estimation(data, 'em', - initializator = core.MixtureDistribution(core.PoissonDistribution(3.), - core.PoissonDistribution(5.), - pi = linalg.Vector([.5, .5])), - default_estimator = core.poisson_estimation('ml')) - # curr = -float("inf") - # for dist in em.iterations: - # prev = curr - # curr = dist.loglikelihood(data) - # self.assertGreaterEqual(curr, prev) +# def test_estimation_em(self): +# data = self._dist.simulation(100) +# em = core.mixture_estimation(data, 'em', +# initializator = core.MixtureDistribution(core.PoissonDistribution(3.), +# core.PoissonDistribution(5.), +# pi = linalg.Vector([.5, .5])), +# default_estimator = core.poisson_estimation('ml')) +# # curr = -float("inf") +# # for dist in em.iterations: +# # prev = curr +# # curr = dist.loglikelihood(data) +# # self.assertGreaterEqual(curr, prev) - def test_posterior(self): - pass \ No newline at end of file +# def test_posterior(self): +# pass \ No newline at end of file diff --git a/test/test_negative_binomial.py b/test/test_negative_binomial.py index e6180b92..6bf611c1 100644 --- a/test/test_negative_binomial.py +++ b/test/test_negative_binomial.py @@ -17,15 +17,16 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(90) - mle = core.negative_binomial_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.negative_binomial_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), + self._dist.loglikelihood(data)) def test_mme(self): data = self._dist.simulation(100) - mme = core.negative_binomial_estimation('mm', data) - self.assertAlmostEqual(mme.estimated.mean, float(data.location)) - self.assertAlmostEqual(mme.estimated.variance, float(data.dispersion)) + mme = core.negative_binomial_estimation('MM', data) + self.assertAlmostEqual(mme.distribution.mean, data.location) + self.assertAlmostEqual(mme.distribution.variance, data.dispersion) @classmethod def tearDownClass(cls): diff --git a/test/test_normal.py b/test/test_normal.py index 53538f54..15878753 100644 --- a/test/test_normal.py +++ b/test/test_normal.py @@ -17,8 +17,8 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(20) - mle = core.normal_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + mle = core.normal_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), self._dist.loglikelihood(data)) @classmethod def tearDownClass(cls): diff --git a/test/test_poisson.py b/test/test_poisson.py index 7972910c..8381bdb9 100644 --- a/test/test_poisson.py +++ b/test/test_poisson.py @@ -17,5 +17,5 @@ def setUpClass(cls): def test_mle(self): data = self._dist.simulation(10) - mle = core.poisson_estimation('ml', data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) \ No newline at end of file + mle = core.poisson_estimation('ML', data) + self.assertGreaterEqual(mle.distribution.loglikelihood(data), self._dist.loglikelihood(data)) \ No newline at end of file diff --git a/test/test_sample_space.py b/test/test_sample_space.py index 1d5db61e..4cd52b1f 100644 --- a/test/test_sample_space.py +++ b/test/test_sample_space.py @@ -1,98 +1,98 @@ -import matplotlib -matplotlib.use('Agg') +# import matplotlib +# matplotlib.use('Agg') -from statiskit import stl -from statiskit import core -from statiskit.data import core as data +# from statiskit import stl +# from statiskit import core +# from statiskit.data import core as data -import unittest -from nose.plugins.attrib import attr +# import unittest +# from nose.plugins.attrib import attr -import os -from tempfile import NamedTemporaryFile -import math +# import os +# from tempfile import NamedTemporaryFile +# import math -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestSampleSpace(unittest.TestCase): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestSampleSpace(unittest.TestCase): - @classmethod - def setUpClass(cls): - cls._data = data.load('capushe') +# @classmethod +# def setUpClass(cls): +# cls._data = data.load('capushe') - def test_encode(self): - for event in self._data.events: - self._data.sample_space.encode(event) +# def test_encode(self): +# for event in self._data.events: +# self._data.sample_space.encode(event) - @classmethod - def tearDownClass(cls): - del cls._data - -@attr(linux=True, - osx=False, - win=True, - level=1) -class TestNominalSampleSpace(unittest.TestCase): - - @classmethod - def setUpClass(cls): - cls._space = core.NominalSampleSpace('C', 'B', 'A') - - def test_values(self): - self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values - - def test_reference(self): - self.assertEqual(self._space.reference, 'C') - self._space.reference = 'B' - self.assertEqual(self._space.reference, 'B') - - @classmethod - def tearDownClass(cls): - del cls._space - -@attr(linux=True, - osx=False, - win=True, - level=1) -class TestOrdinalSampleSpace(unittest.TestCase): - - @classmethod - def setUpClass(cls): - cls._space = core.OrdinalSampleSpace('C', 'B', 'A') - - def test_values(self): - self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values - self.assertEqual(list(self._space.ordered), ['C', 'B', 'A']) # list of ordered values - self._space.ordered = ['A', 'B', 'C'] - self.assertEqual(list(self._space.ordered), ['A', 'B', 'C']) - - @classmethod - def tearDownClass(cls): - del cls._space - -@attr(linux=True, - osx=False, - win=True, - level=1) -class TestHierarchicalSampleSpace(unittest.TestCase): - _sample_space1 = core.OrdinalSampleSpace('C', 'B', 'A') - _sample_space2 = core.NominalSampleSpace('Ba', 'Bb', 'Bc') - _sample_space3 = core.NominalSampleSpace('Bca', 'Bcb') - - - @classmethod - def setUpClass(cls): - cls._space = core.HierarchicalSampleSpace(cls._sample_space1) - - def test_partition(self): - self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values - self._space.partition('B', self._sample_space2) - self.assertEqual(self._space.values, ['A', 'Ba', 'Bb', 'Bc', 'C']) # list of (lexicographically ordered) values after partition - self._space.partition('Bc', self._sample_space3) - self.assertEqual(self._space.values, ['A', 'Ba', 'Bb', 'Bca', 'Bcb', 'C']) # list of (lexicographically ordered) values after partition - - @classmethod - def tearDownClass(cls): - del cls._space +# @classmethod +# def tearDownClass(cls): +# del cls._data + +# @attr(linux=True, +# osx=False, +# win=True, +# level=1) +# class TestNominalSampleSpace(unittest.TestCase): + +# @classmethod +# def setUpClass(cls): +# cls._space = core.NominalSampleSpace('C', 'B', 'A') + +# def test_values(self): +# self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values + +# def test_reference(self): +# self.assertEqual(self._space.reference, 'C') +# self._space.reference = 'B' +# self.assertEqual(self._space.reference, 'B') + +# @classmethod +# def tearDownClass(cls): +# del cls._space + +# @attr(linux=True, +# osx=False, +# win=True, +# level=1) +# class TestOrdinalSampleSpace(unittest.TestCase): + +# @classmethod +# def setUpClass(cls): +# cls._space = core.OrdinalSampleSpace('C', 'B', 'A') + +# def test_values(self): +# self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values +# self.assertEqual(list(self._space.ordered), ['C', 'B', 'A']) # list of ordered values +# self._space.ordered = ['A', 'B', 'C'] +# self.assertEqual(list(self._space.ordered), ['A', 'B', 'C']) + +# @classmethod +# def tearDownClass(cls): +# del cls._space + +# @attr(linux=True, +# osx=False, +# win=True, +# level=1) +# class TestHierarchicalSampleSpace(unittest.TestCase): +# _sample_space1 = core.OrdinalSampleSpace('C', 'B', 'A') +# _sample_space2 = core.NominalSampleSpace('Ba', 'Bb', 'Bc') +# _sample_space3 = core.NominalSampleSpace('Bca', 'Bcb') + + +# @classmethod +# def setUpClass(cls): +# cls._space = core.HierarchicalSampleSpace(cls._sample_space1) + +# def test_partition(self): +# self.assertEqual(self._space.values, ['A', 'B', 'C']) # list of (lexicographically ordered) values +# self._space.partition('B', self._sample_space2) +# self.assertEqual(self._space.values, ['A', 'Ba', 'Bb', 'Bc', 'C']) # list of (lexicographically ordered) values after partition +# self._space.partition('Bc', self._sample_space3) +# self.assertEqual(self._space.values, ['A', 'Ba', 'Bb', 'Bca', 'Bcb', 'C']) # list of (lexicographically ordered) values after partition + +# @classmethod +# def tearDownClass(cls): +# del cls._space diff --git a/test/test_selection.py b/test/test_selection.py index 1da84059..c243f72d 100644 --- a/test/test_selection.py +++ b/test/test_selection.py @@ -11,31 +11,52 @@ class TestCriteria(unittest.TestCase): @classmethod def setUpClass(cls): - cls._data = core.BinomialDistribution(10, .5).simulation(100) + cls._dist = core.BinomialDistribution(10, .5) + cls._data = cls._dist.simulation(100) def test_aic(self): - bic = core.selection(self._data, "criterion", "AIC", estimators=[core.binomial_estimation("ml"), - core.poisson_estimation("ml"), - core.negative_binomial_estimation("ml")]) - # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + aic = core.univariate_selection("criterion", + outcome="discrete", + data=self._data, + criterion="AIC", + estimators=[core.binomial_estimation("ML"), + core.poisson_estimation("ML"), + core.negative_binomial_estimation("ML")]) + self.assertGreaterEqual(aic.distribution.loglikelihood(self._data), + self._dist.loglikelihood(self._data)) def test_aicc(self): - bic = core.selection(self._data, "criterion", "AICc", estimators=[core.binomial_estimation("ml"), - core.poisson_estimation("ml"), - core.negative_binomial_estimation("ml")]) - # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + aicc = core.univariate_selection("criterion", + outcome="discrete", + data=self._data, + criterion="AICc", + estimators=[core.binomial_estimation("ML"), + core.poisson_estimation("ML"), + core.negative_binomial_estimation("ML")]) + self.assertGreaterEqual(aicc.distribution.loglikelihood(self._data), + self._dist.loglikelihood(self._data)) def test_bic(self): - bic = core.selection(self._data, "criterion", "BIC", estimators=[core.binomial_estimation("ml"), - core.poisson_estimation("ml"), - core.negative_binomial_estimation("ml")]) - # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + bic = core.univariate_selection("criterion", + outcome="discrete", + data=self._data, + criterion="BIC", + estimators=[core.binomial_estimation("ML"), + core.poisson_estimation("ML"), + core.negative_binomial_estimation("ML")]) + self.assertGreaterEqual(bic.distribution.loglikelihood(self._data), + self._dist.loglikelihood(self._data)) def test_hqic(self): - bic = core.selection(self._data, "criterion", "HQIC", estimators=[core.binomial_estimation("ml"), - core.poisson_estimation("ml"), - core.negative_binomial_estimation("ml")]) - # self.assertGreaterEqual(bic.estimated.loglikelihood(data), self._dist.loglikelihood(data)) + hqic = core.univariate_selection("criterion", + outcome="discrete", + data=self._data, + criterion="HQIC", + estimators=[core.binomial_estimation("ML"), + core.poisson_estimation("ML"), + core.negative_binomial_estimation("ML")]) + self.assertGreaterEqual(hqic.distribution.loglikelihood(self._data), + self._dist.loglikelihood(self._data)) @classmethod def tearDownClass(cls): diff --git a/test/test_slope_heuristic.py b/test/test_slope_heuristic.py index e9e11d19..6b671b83 100644 --- a/test/test_slope_heuristic.py +++ b/test/test_slope_heuristic.py @@ -1,27 +1,27 @@ -import matplotlib -matplotlib.use('Agg') +# import matplotlib +# matplotlib.use('Agg') -from statiskit import core -from statiskit.data import core as data +# from statiskit import core +# from statiskit.data import core as data -import unittest -from nose.plugins.attrib import attr +# import unittest +# from nose.plugins.attrib import attr -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestSlopeHeuristic(unittest.TestCase): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestSlopeHeuristic(unittest.TestCase): - @classmethod - def setUpClass(cls): - cls._data = data.load('capushe') +# @classmethod +# def setUpClass(cls): +# cls._data = data.load('capushe') - @attr(win=False) - def test_slope_heuristic(self): - sh = core.SlopeHeuristic([pen.value for pen in self._data.pen.events], [-contrast.value for contrast in self._data.contrast.events]) - sh.plot() +# @attr(win=False) +# def test_slope_heuristic(self): +# sh = core.SlopeHeuristic([pen.value for pen in self._data.pen.events], [-contrast.value for contrast in self._data.contrast.events]) +# sh.plot() - @classmethod - def tearDownClass(cls): - del cls._data \ No newline at end of file +# @classmethod +# def tearDownClass(cls): +# del cls._data \ No newline at end of file diff --git a/test/test_splitting.py b/test/test_splitting.py index 8e958881..91f3dd1a 100644 --- a/test/test_splitting.py +++ b/test/test_splitting.py @@ -1,42 +1,42 @@ -from test_distribution import AbstractTestDiscreteMultivariateDistribution +# from test_distribution import AbstractTestDiscreteMultivariateDistribution -from statiskit import linalg -from statiskit import core +# from statiskit import linalg +# from statiskit import core -import unittest -from nose.plugins.attrib import attr +# import unittest +# from nose.plugins.attrib import attr -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestDirichletMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteMultivariateDistribution): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestDirichletMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteMultivariateDistribution): - @classmethod - def setUpClass(cls): - cls._dist = core.SplittingDistribution(core.PoissonDistribution(15.), - core.DirichletMultinomialSingularDistribution(linalg.Vector([2., 1.]))) - def test_estimation(self): - data = self._dist.simulation(10) - mle = core.splitting_estimation(sum=core.poisson_estimation('ml'), - singular=core.singular_selection('DM'), - data=data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) +# @classmethod +# def setUpClass(cls): +# cls._dist = core.SplittingDistribution(core.PoissonDistribution(15.), +# core.DirichletMultinomialSingularDistribution(linalg.Vector([2., 1.]))) +# def test_estimation(self): +# data = self._dist.simulation(10) +# mle = core.splitting_estimation(sum=core.poisson_estimation('ML'), +# singular=core.singular_selection('DM'), +# data=data) +# self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) -@attr(linux=True, - osx=True, - win=True, - level=1) -class TestMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteMultivariateDistribution): +# @attr(linux=True, +# osx=True, +# win=True, +# level=1) +# class TestMultinomialSplitting(unittest.TestCase, AbstractTestDiscreteMultivariateDistribution): - @classmethod - def setUpClass(cls): - cls._dist = core.SplittingDistribution(core.BinomialDistribution(5, .5), - core.MultinomialSingularDistribution(linalg.Vector([.25, .75]))) +# @classmethod +# def setUpClass(cls): +# cls._dist = core.SplittingDistribution(core.BinomialDistribution(5, .5), +# core.MultinomialSingularDistribution(linalg.Vector([.25, .75]))) - def test_estimation(self): - data = self._dist.simulation(10) - mle = core.splitting_estimation(sum=core.binomial_estimation('ml'), - singular=core.singular_selection('MN'), - data=data) - self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data)) +# def test_estimation(self): +# data = self._dist.simulation(10) +# mle = core.splitting_estimation(sum=core.binomial_estimation('ML'), +# singular=core.singular_selection('MN'), +# data=data) +# self.assertGreaterEqual(mle.estimated.loglikelihood(data), self._dist.loglikelihood(data))