Click or drag to resize
IDistributionT Interface
Microsoft Research
Distribution interface

Namespace: MicrosoftResearch.Infer.Distributions
Assembly: Infer.Runtime (in Infer.Runtime.dll) Version: 2.6.41128.1 (2.6.41128.1)
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