/*constructor called by world canvas */ public WorldTemperaturesOneStepPheromoneImpl(Vector<Agent> agents, int w, int h) { super(agents, w, h); width = w; System.out.println("w" + w); height = h; GaussianGenerator g = new GaussianGenerator(0.5, 0.4); System.out.println("h" + h); states = new StateProps[w][h]; for (int i = 0; i < width; i++) { for (int j = 0; j < height; j++) { states[i][j] = new StateProps((float) 0.5, (float) Math.abs(g.next())); } } seconds = 0; ds = new GenerateIntegerDataSet(100); int n = this.getAgents().size(); seekers = 0; carriers = 0; }