Show / Hide Table of Contents

Class ComputationBase

Represents a computation that transforms arbitrary many inputs

Inheritance
object
Computation
ComputationBase
InPlaceComputation
TransformationComputation<TOut>
Implements
IPersistor
ITraceEntry
Inherited Members
Computation.TransformationRule
Computation.TransformationContext
Computation.Context
Computation.InputArguments
Computation.CreateInputArray()
Computation.Output
Computation.ThrowDelayedException()
Computation.MarkRequire(Computation, bool, ITransformationRuleDependency)
Computation.OutputCore
Computation.OutputInitialized
Computation.Computed
Computation.DelayOutputAtLeast(byte)
Computation.DelayTransformationAtLeast(byte)
Computation.OnOutputInitialized(EventArgs)
Computation.IsDelayed
Computation.OnComputed(EventArgs)
Computation.Transform()
Computation.CreateOutput(IEnumerable)
Computation.InitializeOutput(object)
Computation.SetBaseComputation(Computation)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Transformations
Assembly: NMF.Transformations.dll
Syntax
public abstract class ComputationBase : Computation, IPersistor, ITraceEntry

Constructors

| Edit this page View Source

ComputationBase(GeneralTransformationRule, IComputationContext, object[])

Creates a new computation within the given transformation context for the given input

Declaration
protected ComputationBase(GeneralTransformationRule transformationRule, IComputationContext context, object[] inputs)
Parameters
Type Name Description
GeneralTransformationRule transformationRule

The transformation rule that was used to transform the input

IComputationContext context

The context of this transformation

object[] inputs

The input for this transformation

Properties

| Edit this page View Source

Input

Gets the inputs of this computation

Declaration
protected object[] Input { get; }
Property Value
Type Description
object[]

Methods

| Edit this page View Source

GetInput(int)

Gets the input argument for this computation with the given index

Declaration
public override object GetInput(int index)
Parameters
Type Name Description
int index

The index of the input parameter

Returns
Type Description
object

The input parameter at the ith position

Overrides
Computation.GetInput(int)

Implements

IPersistor
ITraceEntry

Extension Methods

TraceEntryExtensions.CreateInputArray(ITraceEntry)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX