Variable ClassInfer.NET Documentation
Microsoft Research, Cambridge
A variable in a model
Inheritance Hierarchy

OnlineSystem Object
  MicrosoftResearch.Infer.Models Variable
    MicrosoftResearch.Infer.Models Variable T 

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.5.30417.0 (2.5.30417.0)

public abstract class Variable : IVariable, 
	IModelExpression, CanGetContainers, HasObservedValue

Variables can be base or derived. A base Variable is explicitly declared as a variable in MSL. A derived Variable is simply an expression built from variables. For example, the expression a[i] is a derived Variable called an item variable. Every method that manipulates Variable objects must be aware of this distinction.
See Also