Package org.terrier.sorting
Class SortAscendingTripleVectors
- java.lang.Object
-
- org.terrier.sorting.SortAscendingTripleVectors
-
public class SortAscendingTripleVectors 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.- Author:
- Douglas Johnson
-
-
Constructor Summary
Constructors Constructor Description SortAscendingTripleVectors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
sort(int[] a, int[] u, int[] e)
Sorts the three vectors with respect to the ascending order of the first one.
-