/** * Initializes the reward function for a grid world of size width and height and initializes the reward values everywhere to initializingReward. * The reward returned from specific agent positions may be changed with the {@link #setReward(int, int, double)} method. * @param width the width of the grid world * @param height the height of the grid world * @param initializingReward the reward to which all agent position transitions are initialized to return. */ public GridWorldRewardFunction(int width, int height, double initializingReward){ this.initialize(width, height, initializingReward); }