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.
| C# | Visual Basic | Visual C++ |
public CompiledAlgorithm( IIterativeProcess algInstance, InferenceEngine engine )
Public Sub New ( _ algInstance As IIterativeProcess, _ engine As InferenceEngine _ )
public: CompiledAlgorithm( IIterativeProcess^ algInstance, InferenceEngine^ engine )
- algInstance (IIterativeProcess)
- engine (InferenceEngine)
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).