UNPKG

ultra-mega-enumerator

Version:

Ultra Mega Enumerator is a lightweight library designed to enumerate various combinatorial objects.

17 lines (16 loc) 506 B
import { AbstractEnumeration } from './AbstractEnumeration'; /** * Adapted into an Enumeration from code by nl.dvberkel. */ export declare class DyckWordEnumeration extends AbstractEnumeration<string> { private currentState; private readonly symbols; private readonly target; private readonly replacement; constructor(nbOfPairs: number); private next; private initialStateOfLength; private initialWordOfLength; hasMoreElements(): boolean; nextElement(): string; }