Class MemoryEnumerable<E>

    • Field Detail

      • history

        private final int history
      • future

        private final int future
    • Constructor Detail

      • MemoryEnumerable

        MemoryEnumerable​(Enumerable<E> input,
                         int history,
                         int future)
        Creates a MemoryEnumerable.
        Parameters:
        input - The Enumerable which the memory should be "wrapped" around
        history - Number of present steps to remember
        future - Number of future steps to remember