Lattice Land Core Library
|
#include <fixpoint.hpp>
Public Types | |
using | snapshot_type = size_t |
Public Member Functions | |
FixpointSubsetCPU (size_t n) | |
template<class F > | |
bool | iterate (const F &f) |
template<class F > | |
size_t | fixpoint (const F &f) |
template<class F , class StopFun > | |
size_t | fixpoint (const F &f, const StopFun &g) |
template<class F , class StopFun , class M > | |
size_t | fixpoint (const F &f, const StopFun &g, B< M > &has_changed) |
size_t | num_active () const |
void | reset () |
template<class G > | |
void | select (const G &g) |
snapshot_type | snapshot () const |
void | restore (const snapshot_type &snap) |
Add the ability to deactive functions in a fixpoint computation. Given a function g
, we select only the functions \( f_{i_1} ; \ldots ; f_{i_k} \) for which \( g(i_k) \) is true
, and compute subsequent fixpoint without them.
using lala::FixpointSubsetCPU< FixpointEngine >::snapshot_type = size_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Compute the subset of the functions that are still active. The subsequent call to fixpoint
will only consider the function f_i
for which g(i)
is true
.
|
inline |
|
inline |