|
Lattice Land Core Library
|
#include <fixpoint.hpp>
Public Types | |
| using | snapshot_type = int |
Public Member Functions | |
| FixpointSubsetCPU (int n) | |
| template<class F > | |
| bool | iterate (const F &f) |
| template<class F > | |
| int | fixpoint (const F &f) |
| template<class F , class StopFun > | |
| int | fixpoint (const F &f, const StopFun &g) |
| template<class F , class StopFun , class M > | |
| int | fixpoint (const F &f, const StopFun &g, B< M > &has_changed) |
| int | 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 = int |
|
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 |