public class TwoDimSymmetricConfigurationEnumerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
alphabetSize |
protected ListEnumeratorFactory |
enumerator |
protected int |
size |
| Constructor and Description |
|---|
TwoDimSymmetricConfigurationEnumerator(int size,
int alphabetSize,
ListEnumeratorFactory enumerator) |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
binomialCoefficientBigInteger(int n,
int k) |
static List<Integer> |
calcPrimeDivisors(int num) |
BigInteger |
enumerate(int activeCellsNum) |
BigInteger |
enumerate2(int activeCellsNum) |
BigInteger |
enumerate3(int activeCellsNum) |
BigInteger |
enumerateAll() |
protected BigInteger |
enumerateAll(int alphabetSize) |
BigInteger |
enumerateAll2() |
protected BigInteger |
enumerateAll2(int alphabetSize) |
BigInteger |
enumerateAll3() |
protected BigInteger |
enumerateAll3(int alphabetSize) |
protected final int size
protected final int alphabetSize
protected final ListEnumeratorFactory enumerator
public TwoDimSymmetricConfigurationEnumerator(int size,
int alphabetSize,
ListEnumeratorFactory enumerator)
public BigInteger enumerateAll()
public BigInteger enumerateAll2()
public BigInteger enumerateAll3()
protected BigInteger enumerateAll(int alphabetSize)
protected BigInteger enumerateAll2(int alphabetSize)
protected BigInteger enumerateAll3(int alphabetSize)
public BigInteger enumerate(int activeCellsNum)
public BigInteger enumerate2(int activeCellsNum)
public BigInteger enumerate3(int activeCellsNum)
public static BigInteger binomialCoefficientBigInteger(int n, int k)
Copyright © 2019. All Rights Reserved.