A C D E F G H I K L M N O P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- array - Variable in class cc.redberry.combinatorics.IntCompositions
- arrayComparator - Static variable in class cc.redberry.combinatorics.Combinatorics
C
- cc.redberry.combinatorics - package cc.redberry.combinatorics
-
Enumerating combinations. Provides algorithms for enumerating (without in memory storing) different types of combinations.
- checkWithException(int[]) - Static method in class cc.redberry.combinatorics.IntTuples
- combination - Variable in class cc.redberry.combinatorics.IntCombinations
- combination - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- combination - Variable in class cc.redberry.combinatorics.IntDistinctTuples
- combinationPermutation - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- 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
- combinationsGenerator - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- 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.
- Combinatorics() - Constructor for class cc.redberry.combinatorics.Combinatorics
- Combinatorics.ArrayFactory<T> - Interface in cc.redberry.combinatorics
- Combinatorics.GenericFactory<T> - Class in cc.redberry.combinatorics
- Combinatorics.TIterator<T> - Class in cc.redberry.combinatorics
- Combinatorics.TTIterator<T> - Class in cc.redberry.combinatorics
- compositions(int, int) - Static method in class cc.redberry.combinatorics.Combinatorics
-
Iterator over all compositions of
integerintonPartitions - create(int) - Method in interface cc.redberry.combinatorics.Combinatorics.ArrayFactory
- create(int) - Method in class cc.redberry.combinatorics.Combinatorics.GenericFactory
- current - Variable in class cc.redberry.combinatorics.IntTuples
- current() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
-
Returns the reference on the current iteration element.
- current() - Method in class cc.redberry.combinatorics.Combinatorics.TIterator
- current() - Method in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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
- deepClone(int[][]) - Static method in class cc.redberry.combinatorics.Combinatorics
- distinctTuples(int[]...) - Static method in class cc.redberry.combinatorics.Combinatorics
-
Iterator over all distinct N-tuples, which can be chosen from
Nspecified 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
Nspecified sets of elements.
E
- equals(Object) - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
F
- factory - Variable in class cc.redberry.combinatorics.Combinatorics.TIterator
- factory - Variable in class cc.redberry.combinatorics.Combinatorics.TTIterator
G
- generator - Variable in class cc.redberry.combinatorics.IntCompositions
- generator - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- GenericFactory(Class<T>) - Constructor for class cc.redberry.combinatorics.Combinatorics.GenericFactory
- GenericFactory(T) - Constructor for class cc.redberry.combinatorics.Combinatorics.GenericFactory
- GenericFactory(T[]) - Constructor for class cc.redberry.combinatorics.Combinatorics.GenericFactory
- 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
- hashCode() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
- hasNext() - Method in class cc.redberry.combinatorics.Combinatorics.TIterator
- hasNext() - Method in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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
trueif the iteration has more elements, iterating in back order.
I
- indices(int) - Static method in class cc.redberry.combinatorics.Combinatorics
- init() - Method in class cc.redberry.combinatorics.IntDistinctTuples
- initialArray - Variable in class cc.redberry.combinatorics.Combinatorics.TIterator
- initialArray - Variable in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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
- IntCombinatorialIterator - Class in cc.redberry.combinatorics
- IntCombinatorialIterator() - Constructor for class cc.redberry.combinatorics.IntCombinatorialIterator
- 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
Nsets 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)
- integer - Variable in class cc.redberry.combinatorics.IntCompositions
- intIterator - Variable in class cc.redberry.combinatorics.Combinatorics.TIterator
- intIterator - Variable in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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
- IntPermutationsWithPriority.PermutationPriorityTuple - Class in cc.redberry.combinatorics
- IntTuples - Class in cc.redberry.combinatorics
-
Iterator over all N-tuples (not necessary to be distinct), which can be chosen from
Narrays of integers of the form arrayi = [0, 1, 2, ..., Ki]. - IntTuples(int...) - Constructor for class cc.redberry.combinatorics.IntTuples
- isFirst() - Method in class cc.redberry.combinatorics.IntPermutations
- isLast() - Method in class cc.redberry.combinatorics.IntCombinations
- isLast() - Method in class cc.redberry.combinatorics.IntPermutations
- iterator() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
- Iterator(IntCombinatorialPort) - Constructor for class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
K
- k - Variable in class cc.redberry.combinatorics.IntCombinations
- k - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
L
- last - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- lastTuplePointer - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- lastUpdateDepth - Variable in class cc.redberry.combinatorics.IntTuples
M
- map(T[][], int[], Combinatorics.ArrayFactory<T>) - Static method in class cc.redberry.combinatorics.Combinatorics
- map(T[], int[], Combinatorics.ArrayFactory<T>) - Static method in class cc.redberry.combinatorics.Combinatorics
N
- n - Variable in class cc.redberry.combinatorics.IntCombinations
- nCompositions - Variable in class cc.redberry.combinatorics.IntCompositions
- next - Variable in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
- next() - Method in class cc.redberry.combinatorics.Combinatorics.TIterator
- next() - Method in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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.
O
- onFirst - Variable in class cc.redberry.combinatorics.IntCombinations
- onFirst - Variable in class cc.redberry.combinatorics.IntPermutations
P
- permutation - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- permutation - Variable in class cc.redberry.combinatorics.IntPermutations
- permutation - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
- PermutationPriorityTuple(int[]) - Constructor for class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
- 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
- permutationsGenerator - Variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- port - Variable in class cc.redberry.combinatorics.IntCombinatorialPort.Iterator
- previous() - Method in class cc.redberry.combinatorics.IntPermutations
-
Returns the previous element in the iteration.
- previousMask - Variable in class cc.redberry.combinatorics.IntDistinctTuples
- priority - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
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.Combinatorics.TIterator
- reset() - Method in class cc.redberry.combinatorics.Combinatorics.TTIterator
- 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
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntCombinations
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntCombinationsWithPermutations
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntCompositions
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntDistinctTuples
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntPermutations
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- serialVersionUID - Static variable in class cc.redberry.combinatorics.IntTuples
- set - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- setMasks - Variable in class cc.redberry.combinatorics.IntDistinctTuples
- size - Variable in class cc.redberry.combinatorics.IntPermutations
- state - Variable in class cc.redberry.combinatorics.IntDistinctTuples
- stream() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
-
Return a stream of combinations
- swap(int, int) - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
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
nullif no more distinct tuples exist. - take() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority
- take() - Method in class cc.redberry.combinatorics.IntTuples
- tClass - Variable in class cc.redberry.combinatorics.Combinatorics.GenericFactory
- temp - Variable in class cc.redberry.combinatorics.IntDistinctTuples
- TIterator(T[], Combinatorics.ArrayFactory<T>, CombinatorialIterator<int[]>) - Constructor for class cc.redberry.combinatorics.Combinatorics.TIterator
- toList() - Method in interface cc.redberry.combinatorics.CombinatorialIterator
-
Write all elements of this iterable to list
- toList() - Method in class cc.redberry.combinatorics.IntCombinatorialIterator
- toString() - Method in class cc.redberry.combinatorics.IntPermutationsWithPriority.PermutationPriorityTuple
- TTIterator(T[][], Combinatorics.ArrayFactory<T>, CombinatorialIterator<int[]>) - Constructor for class cc.redberry.combinatorics.Combinatorics.TTIterator
- tuples - Variable in class cc.redberry.combinatorics.IntPermutationsWithPriority
- 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
Narrays 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
Nspecified sets of integers.
U
- upperBounds - Variable in class cc.redberry.combinatorics.IntTuples
All Classes All Packages