Example #1
0
 /**
  * Inverse weighted lexicographical compare part. Compare entries between begin and end (-1).
  *
  * @param w weight array.
  * @param U
  * @param V
  * @param begin
  * @param end
  * @return 0 if U == V, -1 if U < V, 1 if U > V.
  */
 public static int EVIWLC(long[][] w, ExpVector U, ExpVector V, int begin, int end) {
   return U.invWeightCompareTo(w, V, begin, end);
 }
Example #2
0
 /**
  * Inverse weighted lexicographical compare.
  *
  * @param w weight array.
  * @param U
  * @param V
  * @return 0 if U == V, -1 if U < V, 1 if U > V.
  */
 public static int EVIWLC(long[][] w, ExpVector U, ExpVector V) {
   return U.invWeightCompareTo(w, V);
 }