#include <model_measurements.h>
|
|
| model_measurements (const F &, double) |
| bool | empty () const noexcept |
| bool | load (std::istream &) |
| bool | save (std::ostream &) const |
|
|
std::optional< F > | fitness {} |
|
std::optional< double > | accuracy {} |
|
|
bool | operator== (const model_measurements &, const model_measurements &) noexcept=default |
template<Fitness F>
struct ultra::model_measurements< F >
A collection of measurements.
◆ empty()
template<Fitness F>
| bool model_measurements::empty |
( |
| ) |
const |
|
nodiscardnoexcept |
- Returns
- true if all the fields are empty
◆ load()
template<Fitness F>
| bool model_measurements::load |
( |
std::istream & | is | ) |
|
|
nodiscard |
Loads the object from a stream.
- Parameters
-
- Returns
- true if the object loaded correctly
- Note
- If the load operation isn't successful the current object isn't changed.
◆ save()
template<Fitness F>
| bool model_measurements::save |
( |
std::ostream & | os | ) |
const |
|
nodiscard |
Saves the object into a stream.
- Parameters
-
- Returns
- true if summary was saved correctly
The documentation for this struct was generated from the following files: