Loading...
Searching...
No Matches
dipla_planner.hpp
Go to the documentation of this file.
85void apply_flight_margin(Waypoints& route, unsigned margin_cells = ExperimentOptions::default_margin_cells);
Network(const std::string &model, const std::string &metadata, const NetworkOptions &options={})
Load and validate a deployment model.
Definition dipla_planner.cpp:465
Waypoints sample(const Belief &belief, const std::array< double, 3 > &position, const Noise &noise)
Run the complete deterministic DDIM sampler for a supplied noise vector.
Definition dipla_planner.cpp:486
Belief belief() const
Copy the current GP marginal mean and variance into fixed-size storage.
Definition dipla_planner.cpp:808
double total_variance() const
Return the sum of posterior marginal variances.
Definition dipla_planner.cpp:825
std::uint64_t field_digest() const
Return the FNV-1a digest of the input CSV bytes.
Definition dipla_planner.cpp:832
bool observe(double east, double north, std::uint32_t number, double height=DIPLA_DEMO_HEIGHT_MM/DIPLA_MM_PER_M)
Assimilate one synthetic observation at a local pose.
Definition dipla_planner.cpp:715
Survey(const std::string &field, const ExperimentOptions &options={})
Load the complete finite-grid synthetic field.
Definition dipla_planner.cpp:699
std::optional< Waypoints > compare(const std::array< double, 3 > &position, const CmaesOptions &options={}, const std::function< bool()> &cancelled={}) const
Run the explicitly requested native CMA-ES comparison planner.
Definition dipla_planner.cpp:758
Fixed model geometry and C/C++ local transport units, not runtime settings.
Definition aigenlib.cpp:42
void apply_flight_margin(Waypoints &route, unsigned margin_cells)
Apply the configured horizontal flight margin.
Definition dipla_planner.cpp:599
void initialize_runtime(const std::string &onnx_lib_path)
Load the ONNX Runtime C API before constructing an inference session.
Definition dipla_planner.cpp:75
std::array< double, DIPLA_COORDINATE_COUNT *points > Noise
Definition dipla_planner.hpp:48
std::array< std::array< double, DIPLA_COORDINATE_COUNT >, points > Waypoints
Definition dipla_planner.hpp:50
Fixed-shape posterior summary consumed by the diffusion model.
Definition dipla_planner.hpp:105
Bounded parameters for the comparison-only CMA-ES planner.
Definition dipla_planner.hpp:117
void validate() const
Validate the complete comparison policy before planning.
Definition dipla_planner.cpp:585
static constexpr int max_evaluations
Definition dipla_planner.hpp:123
static constexpr int max_budget_ms
Definition dipla_planner.hpp:121
static constexpr int population_size
Definition dipla_planner.hpp:119
Startup-only synthetic experiment settings shared by both planners.
Definition dipla_planner.hpp:53
unsigned flight_margin_cells
Definition dipla_planner.hpp:61
double gp_kernel_variance
Definition dipla_planner.hpp:65
static constexpr unsigned default_margin_cells
Definition dipla_planner.hpp:59
void validate() const
Reject nonfinite values and incompatible margins before allocation.
Definition dipla_planner.cpp:576
std::uint64_t sensor_noise_seed
Definition dipla_planner.hpp:57
double sensor_noise_variance
Definition dipla_planner.hpp:71
Model identity and execution limits for a diffusion network.
Definition dipla_planner.hpp:144
std::string conditioning_cache
Definition dipla_planner.hpp:152
Runtime-owned ONNX session and reusable input/output storage.
Definition dipla_planner.cpp:197