aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/search
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-04-27 19:57:13 +0200
committerVratko Polak <vrpolak@cisco.com>2018-05-18 16:04:44 +0200
commit359e7958d2041f3ddff901eb2ed5caa8beb20354 (patch)
tree91b2b3e42f2aee3bada88519d984b710942e208b /resources/libraries/python/search
parent9a7dde749199b2a78c246bc741d384785ea9b946 (diff)
CSIT-986: MDR rst documentation
+ Introduction. + Phases description. + Comparison tables. + Graphs. Change-Id: Iec5143770677c733070fb0444a1a7d898f1eb04e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/search')
-rw-r--r--resources/libraries/python/search/OptimizedSearchAlgorithm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/python/search/OptimizedSearchAlgorithm.py b/resources/libraries/python/search/OptimizedSearchAlgorithm.py
index c96ab444e2..f89acd56b2 100644
--- a/resources/libraries/python/search/OptimizedSearchAlgorithm.py
+++ b/resources/libraries/python/search/OptimizedSearchAlgorithm.py
@@ -457,6 +457,7 @@ class OptimizedSearchAlgorithm(AbstractSearchAlgorithm):
pdr_rel_width = 0.0
if max(ndr_rel_width, pdr_rel_width) > state.width_goal:
# We have to narrow some width.
+ # TODO: Prefer NDR, it could invalidate PDR (not vice versa).
if ndr_rel_width >= pdr_rel_width:
new_tr = self.half_step_up(ndr_rel_width, ndr_lo.target_tr)
logging.info("Bisecting for NDR at %s", new_tr)