Click or drag to resize
VariableConstrainTrue Method
Microsoft Research
Constrains a boolean variable to be true.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static void ConstrainTrue(
	Variable<bool> v
)

Parameters

v
Type: MicrosoftResearch.Infer.ModelsVariableBoolean
The variable to constrain to be true
See Also