Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::Frame_Sink Concept Reference

Concept implemented by sinks that consume CA frames. More...

#include <ca-frame-stream.H>

Concept definition

template<typename Sink, typename Lattice>
concept Aleph::CA::Frame_Sink = requires(Sink &sink, std::size_t step, const Lattice &frame)
{
sink.accept(step, frame);
sink.flush();
}
Concept implemented by sinks that consume CA frames.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Definition Blossom.H:466

Detailed Description

Concept implemented by sinks that consume CA frames.

A frame sink accepts immutable frames tagged with their simulation step and exposes flush() to finish buffered output. The concept is intentionally minimal so file sinks, live viewers and in-memory collectors can share the same call surface.

Template Parameters
Sinkcandidate sink type.
Latticeframe type accepted by the sink.

Definition at line 80 of file ca-frame-stream.H.