Click or drag to resize
VariableConstrainT1, T2, T3 Method (ConstrainMethod`3T1, T2, T3, VariableT1, VariableT2, VariableT3)
Microsoft Research
Applies a constraint using a constraint method with three arguments.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static void Constrain<T1, T2, T3>(
	ConstrainMethod<T1, T2, T3> constraint,
	Variable<T1> arg1,
	Variable<T2> arg2,
	Variable<T3> arg3
)

Parameters

constraint
Type: ConstrainMethodT1, T2, T3
The method that represents the constraint
arg1
Type: MicrosoftResearch.Infer.ModelsVariableT1
First argument for the constraint
arg2
Type: MicrosoftResearch.Infer.ModelsVariableT2
Second argument for the constraint
arg3
Type: MicrosoftResearch.Infer.ModelsVariableT3
Third argument for the constraint

Type Parameters

T1
T2
T3

Return Value

Type: 
See Also