Check if the neighbour score is stable enough to be used for generating candidates. Return Value: True iff picking neighbour candidates is safe
()
| 318 | return LOCATION_BOOST_SCORE * ratio |
| 319 | |
| 320 | def areNeighboursSafe(): |
| 321 | """Check if the neighbour score is stable enough to be used for generating candidates. |
| 322 | |
| 323 | Return Value: |
| 324 | True iff picking neighbour candidates is safe |
| 325 | """ |
| 326 | return LOCATION_BOOST_SCORE * LOCATION_BOOST_LOW_THRESHOLD <= getNeighbourScore() |
| 327 | |
| 328 | ################### |
| 329 | ## Const Scoring ## |
no test coverage detected