| 368 | } |
| 369 | |
| 370 | bool NavPath::plan() |
| 371 | { |
| 372 | // Initialise filter. |
| 373 | mFilter.setIncludeFlags(mLinkTypes.getFlags()); |
| 374 | |
| 375 | // Initialise query and visit locations. |
| 376 | if(!init()) |
| 377 | return false; |
| 378 | |
| 379 | if(mIsSliced) |
| 380 | return planSliced(); |
| 381 | else |
| 382 | return planInstant(); |
| 383 | } |
| 384 | |
| 385 | bool NavPath::planSliced() |
| 386 | { |
no test coverage detected