ultra-mega-enumerator
Version:
Ultra Mega Enumerator is a lightweight library designed to enumerate various combinatorial objects.
16 lines (15 loc) • 456 B
TypeScript
import { AbstractEnumeration } from './AbstractEnumeration';
/**
* Enumerates all values of the mixed radix base given as a parameter.
*
* @link http://en.wikipedia.org/wiki/Mixed_radix
*/
export declare class MixedRadixEnumeration extends AbstractEnumeration<number[]> {
private base;
private current;
private currentIndex;
private total;
constructor(base: number[]);
hasMoreElements(): boolean;
nextElement(): number[];
}