|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthultig.util.Matrix
public class Matrix
A collection of static tools to handle matrix arrays
Copyright: Copyright (c) 2007
Company: UBI/HULTIG
Constructor Summary | |
---|---|
Matrix()
|
Method Summary | ||
---|---|---|
static
|
bestAssignment(ArrayList<T> u,
ArrayList<T> v,
AssignFunction<T> f)
Given two generic vectors and an assignment function, computes the best possible assignment among the two vector elements. |
|
static void |
main(String[] args)
A bunch of tests for this class. |
|
static ArrayList<MatrixItem> |
selectBestAssignment(ArrayList<MatrixItem> v,
int n)
Given a matrix <index(i,j), value> vector, select the n best exclusive assignments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Matrix()
Method Detail |
---|
public static <T> ArrayList<MatrixItem> bestAssignment(ArrayList<T> u, ArrayList<T> v, AssignFunction<T> f)
u
- Vectorv
- Vectorf
- Assignment
public static ArrayList<MatrixItem> selectBestAssignment(ArrayList<MatrixItem> v, int n)
v
- Vectorn
-
public static void main(String[] args)
args
- String[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |