Home
last modified time | relevance | path

Searched refs:nextPermutation (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DCollections2.java485 List<E> nextPermutation; field in Collections2.OrderedPermutationIterator
490 this.nextPermutation = Lists.newArrayList(list); in OrderedPermutationIterator()
495 if (nextPermutation == null) { in computeNext()
498 ImmutableList<E> next = ImmutableList.copyOf(nextPermutation); in computeNext()
506 nextPermutation = null; in calculateNextPermutation()
511 Collections.swap(nextPermutation, j, l); in calculateNextPermutation()
512 int n = nextPermutation.size(); in calculateNextPermutation()
513 Collections.reverse(nextPermutation.subList(j + 1, n)); in calculateNextPermutation()
517 for (int k = nextPermutation.size() - 2; k >= 0; k--) { in findNextJ()
518 if (comparator.compare(nextPermutation.get(k), in findNextJ()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomData.java246 int[] nextPermutation(int n, int k); in nextPermutation() method
DRandomDataImpl.java836 public int[] nextPermutation(int n, int k) {
885 int[] index = nextPermutation(len, k);
/external/opencv3/modules/ts/misc/
Dchart.py73 def nextPermutation(indexes, lists, x, y): function
233 if not nextPermutation(indexes, arglists, x, y):
/external/dagger2/lib/
Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...