Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::KeepFirstSolution< Solution > Struct Template Reference

Comparison policy that keeps the first solution seen. More...

#include <state_search_common.H>

Public Member Functions

bool operator() (const Solution &, const Solution &) const noexcept
 

Detailed Description

template<typename Solution>
struct Aleph::KeepFirstSolution< Solution >

Comparison policy that keeps the first solution seen.

It is the default policy for BestSolution when the caller does not want to impose an ordering among solutions.

Template Parameters
SolutionType of solution to compare.

Definition at line 341 of file state_search_common.H.

Member Function Documentation

◆ operator()()

template<typename Solution >
bool Aleph::KeepFirstSolution< Solution >::operator() ( const Solution &  ,
const Solution &   
) const
inlinenoexcept

Definition at line 343 of file state_search_common.H.


The documentation for this struct was generated from the following file: