public State generateState() { GridWorldState s = (GridWorldState)this.sourceState.copy(); int h = RandomFactory.getDefault().nextInt(this.height); s.touchAgent().y = h; return s; } }
public State generateState() { GridWorldState s = (GridWorldState)this.sourceState.copy(); int h = RandomFactory.getDefault().nextInt(this.height); s.touchAgent().y = h; return s; } }