path_.js
// Distance to multiple targets in same room
Distance to multiple targets in same room
Distance to multiple targets in same room
function heuristicMulti(xx, yy) {
	let min = Infinity;
	for (let tt of target) {
		min = Math.min(min, heuristicSingle(xx, yy, tt));
	}
	return min;
}
function heuristicMulti ( xx , yy ) { let min = Infinity ; for ( let tt of target ) { min = Math . min ( min , heuristicSingle ( xx , yy , tt ) ) ; } return min ; }
Distance to multiple targets in same room
Distance to multiple targets in same room