Click or drag to resize
VariableSetValueRange Method
Microsoft Research
Sets the ValueRange attribute of this variable, replacing any previously set.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public void SetValueRange(
	Range valueRange
)

Parameters

valueRange
Type: MicrosoftResearch.Infer.ModelsRange
A range defining the set of values this variable can take on. Only meaningful for Variable<int> and Variable<Vector>
See Also