Module adapton::engine::manage
[−]
[src]
Operations that monitor and alter the active engine. Incremental applications should not use these operations directly.
Functions
engine_is_dcg |
True iff the current engine is a |
engine_is_naive |
True iff the current engine is |
init_dcg |
Initializes global state with a fresh DCG-based engine; returns the old engine. The DCG is the central implementation structure behind Adapton. At a high level, it consists of a data dependence graph (the "demanded computation graph"), and an associated memoization table. |
init_engine |
alias for |
init_naive |
Initializes global state with a ("fresh") Naive engine; returns the old engine. The naive engine is stateless, and performs no memoization and builds no dependence graphs. (Since the naive engine is stateless, every instance of the naive engine is equivalent to a "fresh" one). |
use_engine |
Switch to using the given |