13#if !defined(ULTRA_MULTI_DATASET_H)
14# error "Don't include this file directly, include the specific .h instead"
17#if !defined(ULTRA_MULTI_DATASET_TCC)
18#define ULTRA_MULTI_DATASET_TCC
26const D &multi_dataset<D>::selected() const noexcept
28 return datasets_[std::to_underlying(selected_)];
37D &multi_dataset<D>::selected() noexcept
39 return datasets_[std::to_underlying(selected_)];
51const D &multi_dataset<D>::operator[](dataset_t d)
const noexcept
53 Expects(dataset_t::training <= d && d <= dataset_t::test);
54 return datasets_[std::to_underlying(d)];
66D &multi_dataset<D>::operator[](dataset_t d)
noexcept
68 Expects(dataset_t::training <= d && d <= dataset_t::test);
69 return datasets_[std::to_underlying(d)];
83void multi_dataset<D>::select(dataset_t d)
noexcept
85 Expects(dataset_t::training <= d && d <= dataset_t::test);