uk.ac.gla.terrier.sorting
Class SortAscendingQuintupleVectors
java.lang.Object
uk.ac.gla.terrier.sorting.SortAscendingQuintupleVectors
public class SortAscendingQuintupleVectors
- extends java.lang.Object
This class sorts five arrays, where the corresponding entries
are related. The result is that the first array is sorted in ascending
order, and the rest are transformed in a way that the
corresponding entries are in the correct places.
- Version:
- $Revision: 1.9 $
- Author:
- Douglas Johnson
Method Summary |
static void |
sort(int[] a,
int[] u,
int[] e,
int[] o,
int[] f)
Sorts the five vectors with respect to the
ascending order of the first one. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortAscendingQuintupleVectors
public SortAscendingQuintupleVectors()
sort
public static void sort(int[] a,
int[] u,
int[] e,
int[] o,
int[] f)
- Sorts the five vectors with respect to the
ascending order of the first one.
- Parameters:
a
- the first vector to sort.u
- the second vector to sort.e
- the third vector to sort.o
- the fourth vector to sort.f
- the fifth vector to sort.
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow