An optimized computation with a simple interface, primarily intended for writing debuggers.
An optimized computation with a simple interface, primarily intended for writing debuggers. The structure of the circuit can be analyzed using the inherited Circuit methods.
While the KernelCircuit has been moved to the Hypercircuit/Hypernode classes to support multi-output kernels, this class still uses Circuit/Node. Thus, it is not set up yet for probing of multi-output kernels.
A field in a ComputeGraph that is visible for debugging.
Scans a tree of objects looking for Field instances and array of instances and binds the user's 'field' name (discovered through reflection) to that Field.
Scans a tree of objects looking for Field instances and array of instances and binds the user's 'field' name (discovered through reflection) to that Field.
There is a name conflict here since Field in Cog means something different
from Field in Scala. I'll use 'field' to refer to a Scala field and Field
to refer to a Cog field. The idea is that user Fields which have been
declared as val fields
can be detected at runtime through reflection,
and the user's name for field
can be bound to the Field. This is useful
for debuggers since it allows them to display Fields with a user's
programmatic name.
This package contains classes that make debugging easier for the user. They are mainly used, indirectly, by the Cog debugger.