Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ContourObserver.h
Go to the documentation of this file.
1#ifndef CONTOUR_OBSERVER_H
2#define CONTOUR_OBSERVER_H
3
4#include <cstddef>
5#include <functional>
6#include <string>
7
29
41
42 double level = 0.0;
43
44 std::size_t path_id = 0;
45 std::size_t point_id = 0;
46
47 double x = 0.0;
48 double y = 0.0;
49
50 std::size_t n_paths = 0;
51 std::size_t n_points = 0;
52
53 double elapsed_seconds = 0.0;
54
55 std::string message;
56};
57
61using ContourProgressCallback = std::function<void(const ContourProgressEvent&)>;
62
63#endif // CONTOUR_OBSERVER_H
ContourProgressEventType
Type of progress notification emitted during contour computation.
@ Started
Contour computation has started.
@ PathPoint
A new point on a contour path is available.
@ Finished
Contour computation finished normally.
@ PathFinished
A contour path has been completed.
@ Failed
Contour computation failed and no valid result was produced.
std::function< void(const ContourProgressEvent &)> ContourProgressCallback
Callback signature used to receive contour progress events.
Payload passed to contour progress callbacks.
std::size_t n_points
Number of points produced so far or in total.
std::string message
Optional human-readable status message.
double level
Contour level associated with the event.
std::size_t path_id
Index of the contour path being reported.
ContourProgressEventType type
Event category.
double elapsed_seconds
Wall-clock time elapsed since computation start.
std::size_t n_paths
Number of paths produced so far or in total.
double x
X coordinate of a reported contour point.
double y
Y coordinate of a reported contour point.
std::size_t point_id
Index of the point within the current path.