Class DownDiagonalDifferencer


  • public class DownDiagonalDifferencer
    extends ValueDifferencer
    Determines the difference in value between the most recent move and how it was before in the downward diagonal direction.
    • Field Detail

      • numRows

        protected int numRows
      • numCols

        protected int numCols
    • Method Detail

      • findValueDifference

        public int findValueDifference​(int row,
                                       int col,
                                       com.barrybecker4.optimization.parameter.ParameterArray weights)
        Specified by:
        findValueDifference in class ValueDifferencer
        Returns:
        the difference in worth after making a move compared with before.
      • init

        protected void init()