Public paste
Undefined
By: huubje | Date: Aug 3 2010 12:14 | Format: None | Expires: never | Size: 519 B | Hits: 913

  1. public class MDP {
  2.         // Settings for the MDP
  3.         private final int defaultWidth = 4;
  4.         private final int defaultHeight = 4;
  5.         private final double discountFactor;
  6.         private final double stepCost;
  7.        
  8.         public MDP (double discountFactor, double stepCost) {
  9.                 this.MDP (defaultWidth, defaultHeight, discountFactor, stepCost);
  10.         }
  11.        
  12.         public MDP (int width, int height, double discountFactor, double stepCost) {
  13.                 this.stepCost = stepCost;
  14.                 this.discountFactor = discountFactor;
  15.                
  16.                 Board board = new Board();
  17.         }
  18. }