Class Counter

  • All Implemented Interfaces:
    ICounter

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

      • Counter

        public Counter​(int[][] layer_value,
                       int min,
                       int max)
      • Counter

        public Counter​(int[][][] layer_value_state)
    • 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