public class SortAscendingVectors extends Object
| Constructor and Description |
|---|
SortAscendingVectors() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sort(int[] a,
int[][] u)
Sort the vectors contained in u with respect to the
ascending order of the vector a.
|
static void |
sort2(int[] a,
int[] u)
Sorts the two vectors with respect to the
ascending order of the first one.
|
public static void sort(int[] a,
int[][] u)
a - the first vector to sort (the key vector)u - the vector of vectors to sort with respect to apublic static void sort2(int[] a,
int[] u)
a - the first vector to sort.u - the second vector to sort.Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow