struct primitive::RingSearchBudget#

maxSteps == 0 and maxRings == 0 do not stop the search. A positive budget throws std::length_error once that many visits or rings are reached, and the message names the limit.

#include <src/include/internal/franzblau.hpp>
 
struct RingSearchBudget {
    // fields
 
    std::int64_t maxSteps = 0;
    int maxRings = 0;
};