|
SAT Solver Template
|
Type erasure heuristic wrapper that can hold any type of heuristic. More...
#include <heuristics.hpp>
Public Member Functions | |
| Heuristic ()=default | |
| template<heuristic H> | |
| Heuristic (H &&heuristic) | |
| Variable | operator() (const std::vector< TruthValue > &values, std::size_t numOpenVariables) const |
| bool | isValid () const |
Type erasure heuristic wrapper that can hold any type of heuristic.
|
default |
Default Ctor. Constructs an empty heuristic that must not be called
|
inline |
Ctor.
| H | Heuristic type |
| heuristic | The heuristic to store in the wrapper |
References Heuristic().
Referenced by Heuristic().


| bool sat::Heuristic::isValid | ( | ) | const |
Whether the wrapper holds a valid heuristic