C# Class Grasp.FunctionCalculator

A function-based calculation which applies to GraspRuntimes
Inheritance: ICalculator
显示文件 Open project: bwatts/Grasp

Public Methods

Method Description
ApplyCalculation ( GraspRuntime runtime ) : void

Applies the function to the specified runtime

FunctionCalculator ( Variable outputVariable, object>.Func function ) : System

Initializes a function calculator with the specified output variable and function

Method Details

ApplyCalculation() public method

Applies the function to the specified runtime
public ApplyCalculation ( GraspRuntime runtime ) : void
runtime GraspRuntime A runtime to which the function is applied
return void

FunctionCalculator() public method

Initializes a function calculator with the specified output variable and function
public FunctionCalculator ( Variable outputVariable, object>.Func function ) : System
outputVariable Variable The variable to which the output of the specified function is assigned
function object>.Func The function which calculates the value to be assigned to the specified output variable
return System