File: state.rst

package info (click to toggle)
zug 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,076 kB
  • sloc: cpp: 6,209; makefile: 203; sh: 88; python: 62
file content (46 lines) | stat: -rw-r--r-- 858 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.. _state:

State
=====

In the :ref:`design` section we say how a transducer may extend the state from
the *reducing function*.  Not only does this allow it to include feedback in the
process, but also to signal to process whether the computation has terminated.

This section describes the abstract interface that comunicates between the state
and the reducing process, and also the concrete state wrapping utilities
provided for transducer implementors.

state_traits
------------

.. doxygengroup:: state_traits
   :content-only:

state_wrapper
-------------

.. doxygengroup:: state_wrapper
   :content-only:

with_state
----------

.. doxygenfunction:: with_state

maybe_reduced
-------------

.. doxygengroup:: maybe_reduced
   :content-only:

skip
----

.. doxygengroup:: skip
   :content-only:

any_state
---------

.. doxygenclass:: zug::any_state