Click or drag to resize
Accord.NET (logo)

Munkres Properties

The Munkres type exposes the following members.

Properties
  NameDescription
Public propertyCostMatrix
Gets or sets the cost matrix for this assignment algorithm. This is a (W x T) matrix where N corresponds to the NumberOfWorkers and T to the NumberOfTasks.
Public propertyMinCol
Gets the minimum values across the cost matrix's columns.
Public propertyMinRow
Gets the minimum values across the cost matrix's rows.
Public propertyNumberOfTasks
Gets the number of variables (free parameters) in the optimization problem. In the assigment problem, this gives the number of jobs (or tasks) to be performed.
Public propertyNumberOfVariables
Gets or sets the number of variables in this optimization problem (NumberOfTasks * NumberOfWorkers).
Public propertyNumberOfWorkers
Gets or sets the number of workers in the assignment algorithm. The workers are the entites that can be assigned jobs according to the costs in the CostMatrix.
Public propertySolution
Gets the current solution found, the values of the parameters which optimizes the function.
Public propertyTolerance
Gets or sets the tolerance value used when performing cost comparisons. Default is 1e-10. If the algorithm takes too much time to finish, try decreasing this value.
Public propertyValidCol
Gets a boolean mask indicating which columns contain at least one valid element.
Public propertyValidRow
Gets a boolean mask indicating which rows contain at least one valid element.
Public propertyValue
Gets the output of the function at the current Solution.
Top
See Also