|
FactorPotentialT Constructor (IPotentialFunctionT, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
|
Creates a new factor (clique) potential function.
Namespace:
Accord.Statistics.Models.Fields.Functions
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic FactorPotential(
IPotentialFunction<T> owner,
int states,
int factorIndex,
int edgeIndex,
int edgeCount,
int stateIndex,
int stateCount,
int classIndex = 0,
int classCount = 0
)
Public Sub New (
owner As IPotentialFunction(Of T),
states As Integer,
factorIndex As Integer,
edgeIndex As Integer,
edgeCount As Integer,
stateIndex As Integer,
stateCount As Integer,
Optional classIndex As Integer = 0,
Optional classCount As Integer = 0
)
Request Example
View SourceParameters
- owner
- Type: Accord.Statistics.Models.Fields.FunctionsIPotentialFunctionT
The owner IPotentialFunctionT. - states
- Type: SystemInt32
The number of states in this clique potential. - factorIndex
- Type: SystemInt32
The index of this factor potential in the owner. - edgeIndex
- Type: SystemInt32
The index of the first edge feature in the owner's parameter vector. - edgeCount
- Type: SystemInt32
The number of edge features in this factor. - stateIndex
- Type: SystemInt32
The index of the first state feature in the owner's parameter vector. - stateCount
- Type: SystemInt32
The number of state features in this factor. - classIndex (Optional)
- Type: SystemInt32
The index of the first class feature in the owner's parameter vector. - classCount (Optional)
- Type: SystemInt32
The number of class features in this factor.
See Also