|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object endrov.util.graphs.MunkresKuhn
public class MunkresKuhn
An implementation of the classic hungarian algorithm for the assignment problem. Copyright 2007 Gary Baker (GPL v3)
Constructor Summary | |
---|---|
MunkresKuhn()
|
Method Summary | |
---|---|
static int[][] |
computeAssignments(float[][] matrix)
Invoke algorithm. |
static float[][] |
copyOfMatrix(float[][] costMatrix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MunkresKuhn()
Method Detail |
---|
public static float[][] copyOfMatrix(float[][] costMatrix)
public static int[][] computeAssignments(float[][] matrix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |