Interface GrowingAlphabet<I>

    • Method Detail

      • addSymbol

        int addSymbol​(I a)
        Adds a new symbol to the alphabet. Some alphabets may prevent symbols from being added twice. In this case, the original alphabet remains unchanged, but this is not considered an error.
        Returns:
        the index of the symbol in the alphabet, after adding it.