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