aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/search/OptimizedSearchAlgorithm.py
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 14:45:22 +0000
commit76308fc0f1afe5529ef1e0eee76b5a48cab62d2f (patch)
treeaacd46a34ffaac6e1cb7fd223d72a6e563a6efd4 /resources/libraries/python/search/OptimizedSearchAlgorithm.py
parent6efa300b54d0e1a8865c601d44194d61059209c7 (diff)
CSIT-986: MDR rst documentation
+ Introduction. + Phases description. + Comparison tables. + Graphs. Change-Id: Iec5143770677c733070fb0444a1a7d898f1eb04e Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 359e7958d2041f3ddff901eb2ed5caa8beb20354)
Diffstat (limited to 'resources/libraries/python/search/OptimizedSearchAlgorithm.py')
-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)