|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ericaro.neoitertools.generators.combinatorics.BigNumber
net.ericaro.neoitertools.generators.combinatorics.FactorialNumber
public class FactorialNumber
A Factorial number is a big number where the ith digit must be in [0, i]. There are size! of them.
| Field Summary |
|---|
| Fields inherited from class net.ericaro.neoitertools.generators.combinatorics.BigNumber |
|---|
base, size |
| Constructor Summary | |
|---|---|
FactorialNumber(int size)
|
|
| Method Summary | |
|---|---|
protected void |
inc()
increment this big number by one |
| Methods inherited from class net.ericaro.neoitertools.generators.combinatorics.BigNumber |
|---|
next, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FactorialNumber(int size)
| Method Detail |
|---|
protected void inc()
BigNumber
inc in class BigNumber
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||