Abstract base class for shared variables
| C# | Visual Basic | Visual C++ |
public abstract class SharedVariable<DomainType> : ISharedVariable
Public MustInherit Class SharedVariable(Of DomainType) _ Implements ISharedVariable
generic<typename DomainType> public ref class SharedVariable abstract : ISharedVariable
- DomainType
| All Members | Methods | Fields | |||
| Icon | Member | Description |
|---|---|---|
| GetCopyFor(Model) |
Gets a copy of the variable for the specified model
| |
| InferOutput(InferenceEngine, Model, Int32) |
Infer the shared variable's output message for the given model and batch number
| |
| InferOutput(CompiledAlgorithm, Model, Int32) |
Infer the shared variable's output message for the given model and batch number
| |
| Marginal<(Of <(DistributionType>)>)()()() |
Gets the marginal distribution
| |
| Name |
Name of the shared variable
| |
| Named(String) |
Inline method for naming a shared variable
| |
| Random<(Of <(DistributionType>)>)(DistributionType) |
Creates a shared random variable with the specified prior distribution.
| |
| Random<(Of <(DistributionArrayType>)>)(Range, DistributionArrayType) |
Creates a 1D array of shared random variables of size given by the specified range.
| |
| Random<(Of <(DistributionArrayType>)>)(VariableArray<(Of <(DomainType>)>), Range, DistributionArrayType) |
Creates a 1D jagged array of shared random variables.
| |
| Random<(Of <(ItemType, ArrayType, DistributionArrayType>)>)(ItemType, Range, DistributionArrayType) |
Creates a generic jagged array of shared random variables.
| |
| SetInput(Model, Int32) |
Sets the shared variable's inbox for a given model and batch
|
| Object | |
| SharedVariable<(Of <(DomainType>)>) | |