Infer.NET Documentation
CompiledAlgorithm Constructor (algInstance, engine)
Infer.NET code documentationMicrosoftResearch.InferCompiledAlgorithmCompiledAlgorithm(IIterativeProcess, InferenceEngine)
Microsoft Research, Cambridge
Creates a compiled algorithm object to wrap an instance of the underlying compiled algorithm. This should only be called with instances of classes generated by the Infer.NET compiler.
Declaration Syntax
C#Visual BasicVisual C++
public CompiledAlgorithm(
	IIterativeProcess algInstance,
	InferenceEngine engine
)
Public Sub New ( _
	algInstance As IIterativeProcess, _
	engine As InferenceEngine _
)
public:
CompiledAlgorithm(
	IIterativeProcess^ algInstance, 
	InferenceEngine^ engine
)
Parameters
algInstance (IIterativeProcess)
engine (InferenceEngine)
Remarks
This constructor can be used to manually construct a compiled algorithm when generated code is being used directly (e.g. the generated class has been added to the project).

Assembly: Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)