IDistribution T  InterfaceInfer.NET Documentation
Microsoft Research, Cambridge
Distribution interface

Namespace: MicrosoftResearch.Infer.Distributions
Assembly: Infer.Runtime (in Infer.Runtime.dll) Version: 2.5.30417.0 (2.5.30417.0)

public interface IDistribution<T> : ICloneable, 
	HasPoint<T>, Diffable, SettableToUniform, CanGetLogProb<T>
Type Parameters

The type of objects in the domain, e.g. Vector or Matrix.

T should generally have value semantics, i.e. it should override Equals to use value equality. Otherwise it implies a Distribution over references.

In addition to this interface, Distributions should override Equals to use value equality. A typical implementation of Equals is: MaxDiff(that) == 0.0

To be generally used by message-passing algorithms, a distribution should also implement the following interfaces: SettableTo, SettableToProduct, SettableToRatio, SettableToPower, SettableToWeightedSum, CanGetLogAverageOf, CanGetAverageLog

See Also