Infer.NET Documentation
IAlgorithm Interface
Infer.NET code documentationMicrosoftResearch.InferIAlgorithm
Microsoft Research, Cambridge
Interface for inference algorithms
Declaration Syntax
C#Visual BasicVisual C++
public interface IAlgorithm : HasName
Public Interface IAlgorithm _
	Implements HasName
public interface class IAlgorithm : HasName
Members
All MembersMethodsProperties



IconMemberDescription
DefaultNumberIterations
Default number of iterations for this algorithm

GetAlgorithmConversionOperator(Type, IAlgorithm, Boolean, List<(Of <(Object>)>))
Gets the operator which converts a message to/from another algorithm

GetEvidenceMethodName(List<(Of <(Object>)>))
Gets the suffix for this algorithm's evidence method

GetMessagePrototype(ChannelInfo, MessageDirection, IExpression, String)
Get the message prototype for this algorithm in the specified direction

GetOperatorMethodSuffix(List<(Of <(Object>)>))
Gets the suffix for this algorithm's operator methods

GetQueryTypeBinding(QueryType)
Get the query type binding - this is the path to the given query type relative to the raw marginal type.

ModifyFactorAttributes(IExpression, AttributeRegistry<(Of <(Object, Object>)>))
Allows the algorithm to modify the attributes on a factor. For example context-specific message attributes on a method invoke expression

SetDefaultQueryTypes(Variable)
Set the default inference query types for a variable for this algorithm.

ShortName
Short name for the inference algorithm

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