Infer.NET Documentation
Algorithm Class
Infer.NET code documentationMicrosoftResearch.InferAlgorithm
Microsoft Research, Cambridge
Attribute which associates a specified algorithm to a targetted variable or statement. This is used for hybrid inference where different algorithms are used for different parts of the model
Declaration Syntax
C#Visual BasicVisual C++
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false)]
public class Algorithm : Attribute
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False)> _
Public Class Algorithm _
	Inherits Attribute
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = false)]
public ref class Algorithm : public Attribute
Members
All MembersConstructorsMethodsFields



IconMemberDescription
Algorithm(IAlgorithm)
Creates a new Algorithm attribute which assigns the given algorithm to the target

algorithm
The algorithm

ToString()()()
ToString override
(Overrides Object.ToString()()().)
Inheritance Hierarchy
Object
Attribute
 Algorithm

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