C# Class Grasp.Compilation.GraspExecutable

An executable version of a GraspSchema which applies its calculations
ファイルを表示 Open project: bwatts/Grasp Class Usage Examples

Public Methods

Method Description
GetRuntime ( IRuntimeSnapshot initialState ) : GraspRuntime

Generates a runtime with variables bound to the values yielded by the specified initial state

GraspExecutable ( GraspSchema schema, ICalculator calculator ) : System

Initializes an executable with the specified schema and calculator

Private Methods

Method Description
GetBindings ( IRuntimeSnapshot initialState ) : IEnumerable

Method Details

GetRuntime() public method

Generates a runtime with variables bound to the values yielded by the specified initial state
public GetRuntime ( IRuntimeSnapshot initialState ) : GraspRuntime
initialState IRuntimeSnapshot The initial state of the variables in the generated runtime
return GraspRuntime

GraspExecutable() public method

Initializes an executable with the specified schema and calculator
public GraspExecutable ( GraspSchema schema, ICalculator calculator ) : System
schema GraspSchema The schema which generated this executable
calculator ICalculator The calculator which applies the schema's calculations to runtimes generated by this executable
return System