Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::parallel::StartPointTask< ComplexT > Struct Template Reference

Work item for the speculative-full-path model: a path index plus its start point. More...

#include <path_result.hpp>

Public Types

using SolnIndT = std::size_t
 The path-index type.

Public Member Functions

bool is_sentinel () const
 Query whether this is the sentinel "no more work" task.

Static Public Member Functions

static StartPointTask sentinel ()
 Make the sentinel "no more work" task.

Public Attributes

SolnIndT path_index = std::numeric_limits<SolnIndT>::max()
 The path index (max value marks a sentinel).
Vec< ComplexT > start_point
 The authoritative start point for this path.

Detailed Description

template<typename ComplexT>
struct bertini::parallel::StartPointTask< ComplexT >

Work item for the speculative-full-path model: a path index plus its start point.

Rank 0 computes start points authoritatively and ships them to workers, so a worker never derives its own (that, with authoritative pi, is what keeps start points – and hence whole tracks – identical across serial and distributed runs).

Member Typedef Documentation

◆ SolnIndT

template<typename ComplexT>
using bertini::parallel::StartPointTask< ComplexT >::SolnIndT = std::size_t

The path-index type.

Member Function Documentation

◆ is_sentinel()

template<typename ComplexT>
bool bertini::parallel::StartPointTask< ComplexT >::is_sentinel ( ) const
inline

Query whether this is the sentinel "no more work" task.

◆ sentinel()

template<typename ComplexT>
StartPointTask bertini::parallel::StartPointTask< ComplexT >::sentinel ( )
inlinestatic

Make the sentinel "no more work" task.

Member Data Documentation

◆ path_index

template<typename ComplexT>
SolnIndT bertini::parallel::StartPointTask< ComplexT >::path_index = std::numeric_limits<SolnIndT>::max()

The path index (max value marks a sentinel).

◆ start_point

template<typename ComplexT>
Vec<ComplexT> bertini::parallel::StartPointTask< ComplexT >::start_point

The authoritative start point for this path.