161template<
typename ComplexT>
164 if constexpr (std::is_same<ComplexT, complex_dbl>::value)
AlgoChoice
Definition config.hpp:49
@ IsosingularStab
Definition config.hpp:60
@ NewtonIteration
Definition config.hpp:52
@ MembershipTest
Definition config.hpp:57
@ ZeroDim
Definition config.hpp:54
@ WitnessSetProjection
Definition config.hpp:59
@ NewtonIterationCondNum
Definition config.hpp:53
@ SampleComponent
Definition config.hpp:56
@ EvalFunctions
Definition config.hpp:50
@ ExtractWitnessSet
Definition config.hpp:58
@ NID
Definition config.hpp:55
@ EvalFunctionJacobian
Definition config.hpp:51
EndgameChoice
Definition config.hpp:37
@ Cauchy
Definition config.hpp:39
@ PowerSeries
Definition config.hpp:38
Definition algorithm_base.hpp:34
std::vector< T > SolnCont
Definition config.hpp:32
RecallPolicy
Which recorded outcomes count as already answered when an identical ask is solved again.
Definition config.hpp:182
@ Completed
The default. Reuse completed paths; re-track abandoned ones – except one cut off by a wall-clock limi...
Definition config.hpp:184
@ Everything
Reuse every recorded outcome as recorded, abandonments included; nothing is re-tracked.
Definition config.hpp:185
@ Nothing
Track every path fresh, even when recorded (observers, benchmarking, re-verification)....
Definition config.hpp:183
unsigned DefaultInitialAmbientPrecision()
The default ambient precision for a ZeroDimConfig, by complex type.
Definition config.hpp:162
Definition algorithm_builder.hpp:36
constexpr unsigned DoublePrecision()
The number of digits considered "double precision" (16).
Definition num_traits.hpp:152
double NumErrorT
The numeric type used to hold error/tolerance magnitudes throughout Bertini2 – tracking tolerances,...
Definition num_traits.hpp:48
auto DefaultPrecision()
Get the global default precision (digits) for multiprecision numbers.
Definition mpfr_complex.hpp:135
boost::multiprecision::number< boost::multiprecision::backends::gmp_rational, boost::multiprecision::et_on > mpq_rational
The exact rational number type.
Definition mpfr_extensions.hpp:55
Aggregate include for the various start systems in Bertini2.
Definition config.hpp:271
Configuration for auto-retracking paths flagged as crossed.
Definition config.hpp:90
T midpath_decrease_tolerance_factor
Factor by which tracking tolerances are tightened when re-tracking a crossed path.
Definition config.hpp:93
NumErrorT T
The numeric (error) type.
Definition config.hpp:91
Configuration for the midpath (path-crossing) check.
Definition config.hpp:80
NumErrorT T
The numeric (error) type.
Definition config.hpp:81
T same_point_tolerance
Two boundary points are "the same" if within this tolerance.
Definition config.hpp:83
Configuration for post-processing solutions (reality/finiteness/singularity classification).
Definition config.hpp:140
T endpoint_finite_threshold
Bertini 1's EndpointFiniteThreshold. An endpoint is considered to be at infinity if the infinity norm...
Definition config.hpp:145
T real_threshold
Bertini 1's ImagThreshold. Threshold on the imaginary part of a (dehomogenized) solution coordinate b...
Definition config.hpp:143
T condition_number_threshold
Bertini 1's CondNumThreshold. An endpoint is considered singular if it is the endpoint of multiple pa...
Definition config.hpp:149
T same_point_tolerance_multiplier
Bertini 1's EndpointSameThreshold. A multiplier (>= 1) on final_tolerance: two endpoints are consider...
Definition config.hpp:147
NumErrorT T
The numeric (error) type.
Definition config.hpp:141
The RNG seed a classic Bertini input file asks for, via randomseed: N;.
Definition config.hpp:264
unsigned long random_seed
The classic input's seed; 0 means draw one from entropy and report it.
Definition config.hpp:265
How a recording algorithm uses the records it finds: not what to compute, but what already-recorded w...
Definition config.hpp:197
RecallPolicy recall
Which recorded outcomes of an identical ask are reused in place of tracking (see RecallPolicy)....
Definition config.hpp:198
Configuration for the regeneration cascade.
Definition config.hpp:116
unsigned start_level
The regeneration level to start from.
Definition config.hpp:122
bool remove_infinite_endpoints
Bool indicating whether endpoints during the regeneration start point buildup step which are infinite...
Definition config.hpp:119
T slice_newton_before_endgame
Slice-moving tracking tolerance before the endgame. SliceTolBeforeEG.
Definition config.hpp:132
T slice_newton_during_endgame
Slice-moving tracking tolerance during the endgame. SliceTolDuringEG.
Definition config.hpp:133
NumErrorT T
The numeric (error) type.
Definition config.hpp:117
T slice_final_tolerance
Final tolerance to track the slice move to, using the endgame. SliceFinalTol.
Definition config.hpp:134
bool higher_dimension_check
RegenHigherDimTest.
Definition config.hpp:121
Configuration for sharpening computed solutions.
Definition config.hpp:100
unsigned sharpendigits
how many digits should be correct after sharpening. 0 = do not sharpen, which is Bertini 1's default....
Definition config.hpp:103
T function_residual_tolerance
A polynomial (or any function, really) evaluated at a point is considered to be 0 if the magnitude is...
Definition config.hpp:107
T ratio_tolerance
A computed value is considered to be zero if the ratio of two different approximations is smaller tha...
Definition config.hpp:109
NumErrorT T
The numeric (error) type.
Definition config.hpp:101
Newton and path-tracking tolerances.
Definition config.hpp:69
T newton_before_endgame
Newton tolerance before the endgame (E.4.1).
Definition config.hpp:72
T newton_during_endgame
Newton tolerance during the endgame (E.4.2).
Definition config.hpp:73
NumErrorT T
The numeric (error) type.
Definition config.hpp:70
Top-level configuration for a zero-dimensional solve (times, precision, threading).
Definition config.hpp:212
unsigned num_threads
Number of worker threads tracking paths, in a standalone solve and on each MPI rank.
Definition config.hpp:222
mpq_rational start_time
Homotopy start time (t=1).
Definition config.hpp:243
std::string path_variable_name
Name given to the homotopy's path variable.
Definition config.hpp:247
double max_path_wall_clock_duration
Wall-clock budget for each path, in seconds; 0 (the default) means none.
Definition config.hpp:232
mpq_rational target_time
Homotopy target time (t=0).
Definition config.hpp:245
unsigned initial_ambient_precision
Initial ambient (working) precision for the solve.
Definition config.hpp:215
double max_solve_wall_clock_duration
Wall-clock budget for the whole solve, in seconds; 0 (the default) means none.
Definition config.hpp:241
unsigned max_num_crossed_path_resolve_attempts
The maximum number of times to attempt to re-solve crossed paths at the endgame boundary.
Definition config.hpp:216
mpq_rational endgame_boundary
Time at which tracking hands off to the endgame (t=1/10).
Definition config.hpp:244
Selects which endgame to use (classic input).
Definition config.hpp:44
EndgameChoice endgame
The chosen endgame. Power series is Bertini 1's documented default (EndgameNum 1); see ADR-0058.
Definition config.hpp:45