Class PottsIntOp
Provides outgoing messages for Potts(Int32, Int32, Double), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Undirected), "Potts", new Type[]{typeof(int), typeof(int), typeof(double)})]
[Quality(QualityBand.Experimental)]
public class PottsIntOp
Methods
AMaxConditional(UnnormalizedDiscrete, Double, UnnormalizedDiscrete)
Declaration
public static UnnormalizedDiscrete AMaxConditional(UnnormalizedDiscrete B, double logCost, UnnormalizedDiscrete result)
Parameters
Type | Name | Description |
---|---|---|
UnnormalizedDiscrete | B | Incoming message from |
Double | logCost | Constant value for |
UnnormalizedDiscrete | result | Modified to contain the outgoing message. |
Returns
Type | Description |
---|---|
UnnormalizedDiscrete |
|
Remarks
BMaxConditional(UnnormalizedDiscrete, Double, UnnormalizedDiscrete)
Declaration
public static UnnormalizedDiscrete BMaxConditional(UnnormalizedDiscrete A, double logCost, UnnormalizedDiscrete result)
Parameters
Type | Name | Description |
---|---|---|
UnnormalizedDiscrete | A | Incoming message from |
Double | logCost | Constant value for |
UnnormalizedDiscrete | result | Modified to contain the outgoing message. |
Returns
Type | Description |
---|---|
UnnormalizedDiscrete |
|
Remarks