Click or drag to resize
Accord.NET (logo)

Combinatorics Methods

The Combinatorics type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleCombinationsT(T, Boolean)
Enumerates all possible value combinations for a given array.
Public methodStatic memberCode exampleCombinationsT(T, Int32, Boolean)
Enumerates all possible value combinations for a given array.
Public methodStatic memberCode examplePermutationsT
Enumerates all possible value permutations for a given array.
Public methodStatic memberCode exampleSequences(Int32, Boolean)
Provides a way to enumerate all possible ordered permutations with repetitions allowed (i.e. a truth table), without using many memory allocations.
Public methodStatic memberCode exampleSequences(Int32, Boolean)
Provides a way to enumerate all possible ordered permutations with repetitions allowed (i.e. a truth table), without using many memory allocations.
Public methodStatic memberCode exampleSequences(Int32, Int32, Boolean)
Provides a way to enumerate all possible ordered permutations with repetitions allowed (i.e. a truth table), without using many memory allocations.
Public methodStatic memberCode exampleSubsetsT(ISetT, Boolean)
Generates all possibles subsets of the given set.
Public methodStatic memberCode exampleSubsetsT(ISetT, Int32, Boolean)
Generates all possibles subsets of size k of the given set.
Public methodStatic memberCode exampleTruthTable(Int32)
Generates all possible two symbol ordered permutations with repetitions allowed (a truth table).
Public methodStatic memberCode exampleTruthTable(Int32)
Generates all possible ordered permutations with repetitions allowed (a truth table).
Public methodStatic memberCode exampleTruthTable(Int32, Int32)
Generates all possible ordered permutations with repetitions allowed (a truth table).
Top
See Also