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

Concept for a set suitable for tracking globally visited states. More...

#include <state_search_common.H>

Concept definition

template<typename Set, typename Key>
concept Aleph::VisitedStateSet = requires(Set &set, const Key &key) {
{ set.contains(key) } -> std::convertible_to<bool>;
set.insert(key);
}
Concept for a set suitable for tracking globally visited states.
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 for a set suitable for tracking globally visited states.

Compatible with Aleph::SearchStorageSet and the Aleph DynHashSet family. The engine uses contains(key) to check for prior visits and insert(key) to record a new one. Inserting an already-present key must be a no-op.

Template Parameters
SetContainer type.
KeyState key type.

Definition at line 146 of file state_search_common.H.