uk.ac.gla.terrier.sorting
Class SortDescendingPairedVectors
java.lang.Object
uk.ac.gla.terrier.sorting.SortDescendingPairedVectors
public class SortDescendingPairedVectors
- extends java.lang.Object
This class sorts a pair of arrays, where the corresponding entries
are related. The result is that the first array is sorted in descending
order, and the second is transformed in a way that
the corresponding entries are in the correct places
- Version:
- $Revision: 1.17 $
- Author:
- Gianni Amati, Vassilis Plachouras
Method Summary |
static void |
sort(int[] a,
int[] u)
Sorts the three vectors with respect to the
descending order of the first one. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortDescendingPairedVectors
public SortDescendingPairedVectors()
sort
public static void sort(int[] a,
int[] u)
- Sorts the three vectors with respect to the
descending order of the first one.
- Parameters:
a
- the first vectoru
- the second vector
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow