@@ -15,7 +15,7 @@ Architecture
1515 The definition & execution of networked operation is split in 1+2 phases:
1616
1717 - `composition `
18- - `compilation `
18+ - `planning `
1919 - `execution `
2020
2121 ... it is constrained by these IO data-structures:
@@ -38,7 +38,7 @@ Architecture
3838
3939 graphtik.op.FunctionalOperation
4040 graphtik.pipeline.Pipeline
41- graphtik.network .Network
41+ graphtik.planning .Network
4242 graphtik.execution.ExecutionPlan
4343 graphtik.execution.Solution
4444
@@ -90,7 +90,7 @@ Architecture
9090 :ref: `hierarchical-data ` (example).
9191
9292 compile
93- compilation
93+ planning
9494 The `phase ` where the :class: `.Network ` creates a new `execution plan `
9595 by `pruning ` all `graph ` nodes into a subgraph `dag `, and deriving
9696 the `execution steps `.
@@ -116,7 +116,7 @@ Architecture
116116 During `composition `, the nodes of the graph are connected by repeated calls
117117 of :meth: `.Network._append_operation() ` within ``Network `` constructor.
118118
119- During `compilation ` the *graph * is `prune `\d based on the given `inputs `,
119+ During `planning ` the *graph * is `prune `\d based on the given `inputs `,
120120 `outputs ` & `node predicate ` to extract the `dag `, and it is ordered,
121121 to derive the `execution steps `, stored in a new `plan `, which is then
122122 cached on the ``Network `` class.
@@ -178,15 +178,15 @@ Architecture
178178
179179 prune
180180 pruning
181- A subphase of `compilation ` performed by method :meth: `.Network._prune_graph() `,
181+ A subphase of `planning ` performed by method :meth: `.Network._prune_graph() `,
182182 which extracts a subgraph `dag ` that does not contain any `unsatisfied operation `\s .
183183
184184 It topologically sorts the `graph `, and *prunes * based on given `inputs `,
185185 asked `outputs `, `node predicate ` and `operation ` `needs ` & `provides `.
186186
187187 unsatisfied operation
188188 The core of `pruning ` & `rescheduling `, performed by
189- :func: `.network .unsatisfied_operations() ` function, which collects
189+ :func: `.planning .unsatisfied_operations() ` function, which collects
190190 all `operation `\s with unreachable `dependencies <dependency> `:
191191
192192 - they have `needs ` that do not correspond to any of the given `inputs ` or
@@ -220,7 +220,7 @@ Architecture
220220 A memory footprint optimization where intermediate `inputs ` & `outputs `
221221 are erased from `solution ` as soon as they are not needed further down the `dag `.
222222
223- *Evictions * are pre-calculated during `compilation `, denoted with the
223+ *Evictions * are pre-calculated during `planning `, denoted with the
224224 `dependency ` inserted in the `steps ` of the `execution plan `.
225225
226226 inputs
@@ -273,7 +273,7 @@ Architecture
273273 *Operations * are then interlinked together, by matching the *needs * & *provides *
274274 of all *operations * contained in a `pipeline `.
275275
276- - During `compilation ` the `graph ` is then `prune `\d based on the :term: `reachability
276+ - During `planning ` the `graph ` is then `prune `\d based on the :term: `reachability
277277 <unsatisfied operation> ` of the *dependencies *.
278278
279279 - During `execution ` :meth: `.Operation.compute() ` performs 2 "matchings":
@@ -345,7 +345,7 @@ Architecture
345345
346346 modifier
347347 diacritic
348- A `modifier ` change `dependency ` behavior during `compilation ` or `execution `.
348+ A `modifier ` change `dependency ` behavior during `planning ` or `execution `.
349349
350350 For instance, a `needs ` may be annotated as :func: `.keyword ` and/or `optionals `
351351 function arguments, `provides ` and *needs * can be annotated as "ghost" `sideffects `
@@ -403,7 +403,7 @@ Architecture
403403 denoting modifications on a *real * dependency read from and written to
404404 the solution.
405405
406- Both kinds of sideffects participate in the `compilation ` of the graph,
406+ Both kinds of sideffects participate in the `planning ` of the graph,
407407 and both may be given or asked in the `inputs ` & `outputs ` of a `pipeline `,
408408 but they are never given to functions.
409409 A function of a `returns dictionary ` operation can return a falsy value
@@ -517,14 +517,14 @@ Architecture
517517 predicate
518518 node predicate
519519 A callable(op, node-data) that should return true for nodes to be
520- included in `graph ` during `compilation `.
520+ included in `graph ` during `planning `.
521521
522522 abort run
523523 A global `configurations ` flag that when set with :func: `.abort_run() ` function,
524524 it halts the execution of all currently or future `plan `\s .
525525
526526 It is reset automatically on every call of :meth: `.Pipeline.compute() `
527- (after a successful intermediate :term: `compilation `), or manually,
527+ (after a successful intermediate :term: `planning `), or manually,
528528 by calling :func: `.reset_abort() `.
529529
530530 parallel
0 commit comments