mmcfilters
Public API documentation
Loading...
Searching...
No Matches
mmcfilters::local_attributes::EventAlgebra Concept Reference

Additive event algebra kept separate from the local decision. More...

#include <LocalEventModel.hpp>

Concept definition

template<class Algebra, class Value>
concept mmcfilters::local_attributes::EventAlgebra = requires(const Algebra& algebra, Value& target, const Value& source) {
{ algebra.additiveIdentity() } -> std::same_as<Value>;
{ algebra.addAssign(target, source) } -> std::same_as<void>;
{ algebra.subtractAssign(target, source) } -> std::same_as<void>;
}
Additive event algebra kept separate from the local decision.

Detailed Description

Additive event algebra kept separate from the local decision.

Definition at line 221 of file LocalEventModel.hpp.