Class AssemblyNumericMapTerminal

All Implemented Interfaces:
Comparable<AssemblySymbol>

public class AssemblyNumericMapTerminal extends AssemblyNumericTerminal
A terminal that accepts only a particular set of numeric values, mapping each to another value

This often used for non-conventional numeric encodings.

See Also:
  • Field Details

  • Constructor Details

    • AssemblyNumericMapTerminal

      public AssemblyNumericMapTerminal(String name, Map<Long,Integer> map)
      Construct a terminal with the given name, accepting only the keys of a given map
      Parameters:
      name - the name
      map - the map from display value to token value
  • Method Details