Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
dipla::Survey::State Struct Reference

Private storage for the synthetic field and its GP posterior. More...

Public Member Functions

 State (const std::string &path, const ExperimentOptions &experiment)
 Load the complete synthetic lattice without inventing missing truth.

Public Attributes

const ExperimentOptions options
 Immutable validated experiment snapshot; never reloaded mid-survey.
aipp::Grid grid {0.0, DIPLA_FIELD_EXTENT_M, 0.0, DIPLA_FIELD_EXTENT_M, DIPLA_GRID_STEP_M}
 Fixed 51-by-51 grid geometry.
aipp::Matrix covariance
 Dense prior/posterior covariance; one matrix is about 51.6 MiB.
aipp::Vector mean
 Configured prior/posterior mean, independent of the comparison threshold.
aipp::Vector truth {aipp::Vector::Zero(cells)}
 Private synthetic ground truth used only by the observation operator.
std::uint32_t last_number = 0
 Highest accepted observation identifier.
std::mt19937_64 sensor_generator
 Independent configured sensor stream, never advanced by diffusion sampling.
std::uint64_t digest = fnv_offset_basis
 FNV-1a over data-row bytes with LF separators; excludes the CSV header.

Detailed Description

Private storage for the synthetic field and its GP posterior.

Keep truth beside the synthetic observation source, not in the network's inputs: the planner should learn through measurements, not peek at the answer sheet. The mean and full covariance evolve together in place.

Invariant
Only accepted increasing observation numbers advance replay state.
Warning
The covariance is dense. Additional copies are substantial allocations on MORA's shared 512 MB board, even when the public Belief stays small.

Constructor & Destructor Documentation

◆ State()

dipla::Survey::State::State ( const std::string & path,
const ExperimentOptions & experiment )
inlineexplicit

Load the complete synthetic lattice without inventing missing truth.

Numeric rows outside the deployed even-coordinate grid are ignored after parsing. Selected cells must appear exactly once; silently averaging duplicates or filling holes would change the experiment.

Parameters
[in]pathCSV with complete coverage of the selected 51-by-51 grid.
[in]experimentImmutable GP and synthetic sensor policy.
Exceptions
std::exceptionFor file-system, allocation, reading, or data-validation failures.
Note
The 2 MiB file and 256-character row limits bound accepted input, not the dense covariance or every transient allocation made by streams.

Member Data Documentation

◆ covariance

aipp::Matrix dipla::Survey::State::covariance

Dense prior/posterior covariance; one matrix is about 51.6 MiB.

◆ digest

std::uint64_t dipla::Survey::State::digest = fnv_offset_basis

FNV-1a over data-row bytes with LF separators; excludes the CSV header.

◆ grid

aipp::Grid dipla::Survey::State::grid {0.0, DIPLA_FIELD_EXTENT_M, 0.0, DIPLA_FIELD_EXTENT_M, DIPLA_GRID_STEP_M}

Fixed 51-by-51 grid geometry.

◆ last_number

std::uint32_t dipla::Survey::State::last_number = 0

Highest accepted observation identifier.

◆ mean

aipp::Vector dipla::Survey::State::mean

Configured prior/posterior mean, independent of the comparison threshold.

◆ options

const ExperimentOptions dipla::Survey::State::options

Immutable validated experiment snapshot; never reloaded mid-survey.

◆ sensor_generator

std::mt19937_64 dipla::Survey::State::sensor_generator

Independent configured sensor stream, never advanced by diffusion sampling.

◆ truth

aipp::Vector dipla::Survey::State::truth {aipp::Vector::Zero(cells)}

Private synthetic ground truth used only by the observation operator.


The documentation for this struct was generated from the following file: