Infer.NET Documentation
AlgorithmBase Class
Infer.NET code documentationMicrosoftResearch.InferAlgorithmBase
Microsoft Research, Cambridge
Abstract base class for all algorithms
Declaration Syntax
C#Visual BasicVisual C++
public abstract class AlgorithmBase : IAlgorithm, 
	HasName
Public MustInherit Class AlgorithmBase _
	Implements IAlgorithm, HasName
public ref class AlgorithmBase abstract : 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>)>))
Algorithm's operator suffix - used in in message update 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

Name
The algorithm's name

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

ShortName
Short name for the inference algorithm

Inheritance Hierarchy

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