ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::mod::with_policy Concept Reference

an observer with a recompute policy [see ReoptPolicy], and the statistics of a query after \( k \) more events: at the close of a batch the subject asks its scratch(), and sends Rebuilt instead of the events when it answers yes More...

#include <ADS/Modification.h>

Concept definition

template< class O >
concept with_policy = requires( O & o , std::size_t k )
{
{ o.policy() } -> ReoptPolicy;
{ o.reoptStats( k ) } -> std::convertible_to< ReoptStats >;
}
a recompute policy: whether to compute from scratch before a repair, whether to abandon a repair whil...
Definition Modification.h:223
an observer with a recompute policy [see ReoptPolicy], and the statistics of a query after more even...
Definition Modification.h:845

Detailed description

an observer with a recompute policy [see ReoptPolicy], and the statistics of a query after \( k \) more events: at the close of a batch the subject asks its scratch(), and sends Rebuilt instead of the events when it answers yes