Click or drag to resize
Accord.NET (logo)

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
Syntax
public FactorPotential(
	IPotentialFunction<T> owner,
	int states,
	int factorIndex,
	int edgeIndex,
	int edgeCount,
	int stateIndex,
	int stateCount,
	int classIndex = 0,
	int classCount = 0
)
Request Example View Source

Parameters

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