Class CounterState

  • All Implemented Interfaces:
    ICounter

    public class CounterState
    extends Object
    implements ICounter
    Created by IntelliJ IDEA. User: julien Date: Nov 24, 2010 Time: 10:37:53 AM
    • Constructor Detail

      • CounterState

        public CounterState​(int[][][] layer_value_state,
                            int min,
                            int max)
    • Method Detail

      • cost

        public double cost​(int layer,
                           int value)
        Specified by:
        cost in interface ICounter
      • cost

        public double cost​(int layer,
                           int value,
                           int state)
        Specified by:
        cost in interface ICounter