opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
model_warper.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <cstddef>
6#include <filesystem>
7
8namespace opyn { class ModelSpecification; }
9
10namespace opyn
11{
14 class ModelWarper final {
15 public:
20 static ModelWarper from_xml(const std::filesystem::path& source);
21
24 explicit ModelWarper();
25
28 size_t num_scaling_steps() const;
29
31 size_t num_scaling_parameters() const;
32
37 ModelSpecification warp(const ModelSpecification& model_specification) const;
38 private:
39 class Impl;
41
43 };
44}
Definition model_specification.h:19
Definition model_warper.h:14
size_t num_scaling_steps() const
static ModelWarper from_xml(const std::filesystem::path &source)
ModelSpecification warp(const ModelSpecification &model_specification) const
size_t num_scaling_parameters() const
Returns the number of scaling parameters that this ModelWarper is parameterized by.
Definition copy_on_upd_shared_value.h:16
Definition component_registry.h:14