Skip navigation links
C D G H I N P R S T 

C

cc.redberry.combinatorics - package cc.redberry.combinatorics
Enumerating combinations. Provides algorithms for enumerating (without in memory storing) different types of combinations.
combinations(int, int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all k-combinations from {code n}.
combinations(T[], int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all k-combinations from the specified array
combinationsWithPermutations(int, int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all k-combinations with permutations from {code n}.
combinationsWithPermutations(T[], int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all k-combinations with permutations from the specified array
CombinatorialIterator<T> - Interface in cc.redberry.combinatorics
Combinatorial iterator.
Combinatorics - Class in cc.redberry.combinatorics
This class provides factory and utility methods for combinatorics infrastructure.
compositions(int, int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all compositions of integer into nPartitions
current() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
Returns the reference on the current iteration element.
current() - Method in class cc.redberry.combinatorics.IntCombinations
 
current() - Method in class cc.redberry.combinatorics.IntCombinationsWithPermutations
 
current() - Method in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
 
current() - Method in class cc.redberry.combinatorics.IntPermutations
 

D

distinctTuples(int[]...) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all distinct N-tuples, which can be chosen from N specified sets of integers.
distinctTuples(T[]...) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all N-tuples of elements at different positions, which can be chosen from N specified sets of elements.

G

getDimension() - Method in class cc.redberry.combinatorics.IntPermutations
Returns dimension specified in the constructor
getLastUpdateDepth() - Method in class cc.redberry.combinatorics.IntTuples
 
getReference() - Method in interface cc.redberry.combinatorics.IntCombinatorialPort
Returns the reference to the current iteration element
getReference() - Method in class cc.redberry.combinatorics.IntCompositions
 
getReference() - Method in class cc.redberry.combinatorics.IntDistinctTuples
 
getReference() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
 
getReference() - Method in class cc.redberry.combinatorics.IntTuples
 

H

hasNext() - Method in class cc.redberry.combinatorics.IntCombinations
 
hasNext() - Method in class cc.redberry.combinatorics.IntCombinationsWithPermutations
 
hasNext() - Method in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
 
hasNext() - Method in class cc.redberry.combinatorics.IntPermutations
 
hasPrevious() - Method in class cc.redberry.combinatorics.IntPermutations
Returns true if the iteration has more elements, iterating in back order.

I

IntCombinations - Class in cc.redberry.combinatorics
Iterator over all unordered combinations (i.e.
IntCombinations(int, int) - Constructor for class cc.redberry.combinatorics.IntCombinations
Constructs the iterator with the desired n and k
IntCombinationsWithPermutations - Class in cc.redberry.combinatorics
Iterator over over all possible unique combinations with permutations (i.e.
IntCombinationsWithPermutations(int, int) - Constructor for class cc.redberry.combinatorics.IntCombinationsWithPermutations
Constructs the iterator with the desired n and k
IntCombinatorialPort - Interface in cc.redberry.combinatorics
This interface is common for all combinatorial iterators.
IntCombinatorialPort.Iterator - Class in cc.redberry.combinatorics
 
IntCompositions - Class in cc.redberry.combinatorics
Iterator over all compositions of specified integer into N parts.
IntCompositions(int, int) - Constructor for class cc.redberry.combinatorics.IntCompositions
 
IntDistinctTuples - Class in cc.redberry.combinatorics
Iterator over all distinct N-tuples, which can be chosen from N sets of integers.
IntDistinctTuples(int[]...) - Constructor for class cc.redberry.combinatorics.IntDistinctTuples
Create iterator over distinct tuples formed from the specified arrays (each set will be sorted in place)
IntPermutations - Class in cc.redberry.combinatorics
Iterator over all possible permutations.
IntPermutations(int) - Constructor for class cc.redberry.combinatorics.IntPermutations
Construct iterator over all permutations with specified dimension starting with identity.
IntPermutations(int[]) - Constructor for class cc.redberry.combinatorics.IntPermutations
Construct iterator over permutations with specified permutation at the start.
IntPermutationsWithPriority - Class in cc.redberry.combinatorics
Iterator over all possible permutations of specified that allows to adjust the "niceness" of particular permutations, such they will appear earlier in the iteration if iterator was reset via IntPermutationsWithPriority.reset().
IntPermutationsWithPriority(int) - Constructor for class cc.redberry.combinatorics.IntPermutationsWithPriority
 
IntPermutationsWithPriority(int[]) - Constructor for class cc.redberry.combinatorics.IntPermutationsWithPriority
 
IntTuples - Class in cc.redberry.combinatorics
Iterator over all N-tuples (not necessary to be distinct), which can be chosen from N arrays of integers of the form arrayi = [0, 1, 2, ..., Ki].
IntTuples(int...) - Constructor for class cc.redberry.combinatorics.IntTuples
 
iterator() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
 
Iterator(IntCombinatorialPort) - Constructor for class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
 

N

next() - Method in class cc.redberry.combinatorics.IntCombinations
 
next() - Method in class cc.redberry.combinatorics.IntCombinationsWithPermutations
Calculates and returns the next combination.
next() - Method in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
 
next() - Method in class cc.redberry.combinatorics.IntPermutations
Returns the next element in the iteration.
nice() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
Increase niceness of the last returned permutation.

P

permutations(int) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all permutations of the specified length
permutations(T[]) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all permutations of the specified array
previous() - Method in class cc.redberry.combinatorics.IntPermutations
Returns the previous element in the iteration.

R

remove() - Method in class cc.redberry.combinatorics.IntCombinations
 
remove() - Method in class cc.redberry.combinatorics.IntCombinationsWithPermutations
Throws UnsupportedOperationException.
remove() - Method in class cc.redberry.combinatorics.IntPermutations
 
reset() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
Resets the iteration
reset() - Method in class cc.redberry.combinatorics.IntCombinations
 
reset() - Method in class cc.redberry.combinatorics.IntCombinationsWithPermutations
 
reset() - Method in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
 
reset() - Method in interface cc.redberry.combinatorics.IntCombinatorialPort
Resets the iteration
reset() - Method in class cc.redberry.combinatorics.IntCompositions
 
reset() - Method in class cc.redberry.combinatorics.IntDistinctTuples
 
reset() - Method in class cc.redberry.combinatorics.IntPermutations
 
reset() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
 
reset() - Method in class cc.redberry.combinatorics.IntTuples
Resets the iteration

S

stream() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
Return a stream of combinations

T

take() - Method in interface cc.redberry.combinatorics.IntCombinatorialPort
Calculates and returns the next combination or null, if no more combinations exist.
take() - Method in class cc.redberry.combinatorics.IntCompositions
 
take() - Method in class cc.redberry.combinatorics.IntDistinctTuples
Calculates and returns the next tuple, or null if no more distinct tuples exist.
take() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
 
take() - Method in class cc.redberry.combinatorics.IntTuples
 
toList() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
Write all elements of this iterable to list
tuples(int...) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all N-tuples (not necessary to be distinct), which can be chosen from N arrays of integers of the form arrayi = [0, 1, 2, ..., Ki]
tuples(T[]...) - Static method in class cc.redberry.combinatorics.Combinatorics
Iterator over all N-tuples, which can be chosen from N specified sets of integers.
C D G H I N P R S T 
Skip navigation links

Copyright © 2017. All rights reserved.