|
Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
|
The algorithm has finished work on one solution path, carrying its index. More...
#include <events.hpp>
Public Types | |
| using | HeldT = typename AlgorithmEvent<ObservedT>::HeldT |
| The held-observer type the event carries. | |
Public Member Functions | |
| PathComplete (HeldT obs, std::size_t path_index, Observable const *tracker=nullptr, SuccessCode outcome=SuccessCode::Success) | |
| Construct the event for the path at the given index. | |
| std::size_t | PathIndex () const |
| Observable const * | Tracker () const |
| The tracker that executed this path – see PathStarted::Tracker(). | |
| SuccessCode | Outcome () const |
| How this path ended. | |
| virtual | ~PathComplete ()=default |
| PathComplete ()=delete | |
The algorithm has finished work on one solution path, carrying its index.
| using bertini::algorithm::PathComplete< ObservedT >::HeldT = typename AlgorithmEvent<ObservedT>::HeldT |
The held-observer type the event carries.
|
inline |
|
virtualdefault |
|
delete |
|
inline |
How this path ended.
The endgame's code for a path that reached the endgame, and the pre-endgame code for one that did not get that far – in both cases the code already written to this path's own metadata slot. Carried on the event so a watcher can tally outcomes as they happen, rather than reaching into metadata another thread is still filling in.
Success here is not the same as a finite solution: classification (finite, at infinity, singular) happens after every path is done.
|
inline |
|
inline |
The tracker that executed this path – see PathStarted::Tracker().
A meta-observer detaches its per-path sub-observer from this same tracker on PathComplete.