struct gpr::neb::BandMidpointCertificate

Overview

Whole-band resolution check on the surrogate: the climbing image must be at least as high as each segment midpoint’s energy mean plus two posterior standard deviations above the likelihood noise floor. More…

#include <gpr/neb/SaddlePolish.h>
 
struct BandMidpointCertificate {
    // fields
 
    bool evaluated = false;
    bool holds = false;
    int worst_segment = -1;
    double excess = 0.0;
    double raw_excess = 0.0;
    Eigen::VectorXd worst_position;
    double worst_variance                   = std::numeric_limits<double>::quiet_NaN();
    int measurements = 0;
    bool true_ridge             = false;
    Eigen::VectorXd measured_position;
    std::vector<double> segment_excess;
    std::vector<double> segment_raw_excess;
    std::vector<double> segment_variance;
    std::vector<Eigen::VectorXd> segment_position;
};

Detailed Documentation

Whole-band resolution check on the surrogate: the climbing image must be at least as high as each segment midpoint’s energy mean plus two posterior standard deviations above the likelihood noise floor. The measured certificate samples gaps whose upper bound exceeds the CI. A band whose polyline crosses a higher ridge between two images (02_hcch: images 2.2 eV apart straddling the 0.21 eV ridge while the climbing image sat on a 0.107 eV plateau saddle) fails here although its climbing-image neighbours pass the chord-leak certificate. Costs one surrogate evaluation per segment.

Fields

int worst_segment = -1

segment with the highest energy upper bound

double excess = 0.0

mean E_mid - E_ci for that segment (eV)

double raw_excess = 0.0

the same segment’s chord midpoint, unrelaxed

Eigen::VectorXd worst_position

the relaxed midpoint of worst_segment

double worst_variance                   = std::numeric_limits<double>::quiet_NaN()

posterior variance there

int measurements = 0

oracle rows bought by the measured variant

bool true_ridge             = false

refused after a measured midpoint above the CI

Eigen::VectorXd measured_position

The measured midpoint that lay above the climbing image, when one did: a true-surface point the band’s discretisation missed.

std::vector<double> segment_excess

Per segment: relaxed excess, raw chord excess, relaxed position and its posterior variance (NaN / empty where the segment was skipped).