Keep a cost of -1 for nogos which should never been entered to prevent them from being fed in the priority queue
This commit is contained in:
parent
910d6a0870
commit
3479fd7323
5 changed files with 37 additions and 25 deletions
|
|
@ -222,7 +222,7 @@ public class ServerHandler extends RequestHandler {
|
|||
for (int i = 0; i < lonLatRadList.length; i++)
|
||||
{
|
||||
String[] lonLatRad = lonLatRadList[i].split(",");
|
||||
String nogoWeight = "100000";
|
||||
String nogoWeight = "NaN";
|
||||
if (lonLatRad.length > 3) {
|
||||
nogoWeight = lonLatRad[3];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue