Class ConditionBlock<T>
Represents a conditional block in a model definition. Anything defined inside
the block is placed inside a gate, whose condition is the condition of the block.
Inheritance
ConditionBlock<T>
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class ConditionBlock<T> : ConditionBlock, IDisposable, IStatementBlock
Type Parameters
Properties
ConditionValue
The value of the condition variable which switches on this IfBlock.
Declaration
public T ConditionValue { get; }
Property Value
ConditionVariable
The random variable which controls when this IfBlock is active.
Declaration
public Variable<T> ConditionVariable { get; }
Property Value
ConditionVariableUntyped
The condition variable for this condition block.
Declaration
public override Variable ConditionVariableUntyped { get; }
Property Value
Overrides
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements