Infer.NET Documentation
ModifyFactorAttributes Method (factorExpression, factorAttributes)
Infer.NET code documentationMicrosoftResearch.InferAlgorithmBaseModifyFactorAttributes(IExpression, AttributeRegistry<(Of <(Object, Object>)>))
Microsoft Research, Cambridge
Allows the algorithm to modify the attributes on a factor. For example context-specific message attributes on a method invoke expression
Declaration Syntax
C#Visual BasicVisual C++
public virtual void ModifyFactorAttributes(
	IExpression factorExpression,
	AttributeRegistry<Object, Object> factorAttributes
)
Public Overridable Sub ModifyFactorAttributes ( _
	factorExpression As IExpression, _
	factorAttributes As AttributeRegistry(Of Object, Object) _
)
public:
virtual void ModifyFactorAttributes(
	IExpression^ factorExpression, 
	AttributeRegistry<Object^, Object^>^ factorAttributes
)
Parameters
factorExpression (IExpression)
The expression
factorAttributes (AttributeRegistry<(Of <(Object, Object>)>))
Attribute registry
Return Value

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