Class

cogx.runtime.debugger

ProbedCircuit

Related Doc: package debugger

Permalink

class ProbedCircuit extends Circuit[ProbedField]

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.

Linear Supertypes
Circuit[ProbedField], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProbedCircuit
  2. Circuit
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProbedCircuit(circuit: KernelCircuit)

    Permalink

    circuit

    A Circuit of AbstractKernels that represents the optimized computation.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def contains(node: ProbedField): Boolean

    Permalink

    Check if this contains node.

    Check if this contains node.

    Definition Classes
    Circuit
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def filteredSize(f: (ProbedField) ⇒ Boolean): Int

    Permalink

    Get the number of unique nodes in the circuit that satisfy the filter function.

    Get the number of unique nodes in the circuit that satisfy the filter function.

    Definition Classes
    Circuit
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findStolenOutput(originalOwner: ProbedField): ProbedField

    Permalink

    Find the node which has stolen the output of an another node.

    Find the node which has stolen the output of an another node.

    If the output has been stolen multiple times, it tracks that and returns the final owner. If the output has never been stolen, it simply returns the node.

    originalOwner

    The node that originally drove the output.

    returns

    Node that currently drives the output originally driven by originalOwner.

    Definition Classes
    Circuit
  12. def flatten: Seq[ProbedField]

    Permalink

    Flatten the circuit to an array.

    Flatten the circuit to an array. Default is by postorder traversal.

    Definition Classes
    Circuit
  13. def flattenPreorder: Seq[ProbedField]

    Permalink

    Flatten the circuit to an array using a preorder traversal.

    Flatten the circuit to an array using a preorder traversal.

    Definition Classes
    Circuit
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. val inputs: ArrayBuffer[ProbedField]

    Permalink

    Inputs to the circuit.

    Inputs to the circuit.

    Attributes
    protected
    Definition Classes
    Circuit
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def leaves: Seq[ProbedField]

    Permalink

    Get the leaves (inputs) of the circuit.

    Get the leaves (inputs) of the circuit.

    Definition Classes
    Circuit
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def print(): Unit

    Permalink

    Print out a circuit for debugging.

    Print out a circuit for debugging.

    Definition Classes
    Circuit
  23. def roots: Seq[ProbedField]

    Permalink

    Get the roots (outputs) of the circuit.

    Get the roots (outputs) of the circuit.

    Definition Classes
    Circuit
  24. def size: Int

    Permalink

    Get the number of unique nodes in the circuit.

    Get the number of unique nodes in the circuit.

    Definition Classes
    Circuit
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def traversePostorder(f: (ProbedField) ⇒ Unit): Unit

    Permalink

    Traverse DAG postorder, executing "f" for each node not already visited.

    Traverse DAG postorder, executing "f" for each node not already visited.

    Definition Classes
    Circuit
  28. def traversePreorder(f: (ProbedField) ⇒ Unit): Unit

    Permalink

    Traverse DAG preorder, executing "f" for each node not already visited.

    Traverse DAG preorder, executing "f" for each node not already visited.

    Definition Classes
    Circuit
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Circuit[ProbedField]

Inherited from AnyRef

Inherited from Any

Ungrouped