src/main/java/de/hfu/in/machinelearning/crawling_robot_2d_sim/RobotSimulation.java
public synchronized void reset() {
		world.removeAllBodies();
		world.removeAllJoints();
		floor.reset();
		floor.initialize();
		vehicle.initialize();
		System.gc();
	}
/**
	 * Resets the simulation. All bodies will be removed from the world, floor and
	 * robot will be re-initialized with new bodies and added to the world again.
	 * This guarantees that the robot is in the exact same state after each call of
	 * this method.
	 */
Resets the simulation. All bodies will be removed from the world, floor and
robot will be re-initialized with new bodies and added to the world again.
This guarantees that the robot is in the exact same state after each call of
this method.
Resets the simulation . All bodies will be removed from the world floor and robot will be re - initialized with new bodies and added to the world again . This guarantees that the robot is in the exact same state after each call of this method .
public synchronized void reset() {
		world.removeAllBodies();
		world.removeAllJoints();
		floor.reset();
		floor.initialize();
		vehicle.initialize();
		System.gc();
	}
public synchronized void reset ( ) { world . removeAllBodies ( ) ; world . removeAllJoints ( ) ; floor . reset ( ) ; floor . initialize ( ) ; vehicle . initialize ( ) ; System . gc ( ) ; }
Resets the simulation.
Resets the simulation .