Simulator/src/model/agent/humanAgent/aatom/tacticalLevel/navigation/pathfinder/JumpPointSearchPathFinder.java
/**
	 * Empties the map and sets all values to null. This method is used to
	 * prevent memory from large amounts of memory being stored in the agents
	 * for no reason.
	 */
Empties the map and sets all values to null. This method is used to
prevent memory from large amounts of memory being stored in the agents
for no reason.
Empties the map and sets all values to null . This method is used to prevent memory from large amounts of memory being stored in the agents for no reason .
private void emptyMap() {
		for (int i = 0; i < graph[0].length; i++) {
			for (int j = 0; j < graph.length; j++) {
				if (!discretizedMap[j][i]) {
					graph[j][i] = null;
				}
			}
		}
	}
private void emptyMap ( ) { for ( int i = 0 ; i < graph [ 0 ] . length ; i ++ ) { for ( int j = 0 ; j < graph . length ; j ++ ) { if ( ! discretizedMap [ j ] [ i ] ) { graph [ j ] [ i ] = null ; } } } }
Empties the map and sets all values to null.
Empties the map and sets all values to null .