X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FMLRsearch%2FMultipleLossRatioSearch.py;h=2db65ef7554d50a5f60f9e14eeecd1eaa1b2b521;hb=refs%2Fchanges%2F68%2F27168%2F46;hp=29b72505de7c7277a4dc801a0bb4eb1ac4914444;hpb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;p=csit.git diff --git a/resources/libraries/python/MLRsearch/MultipleLossRatioSearch.py b/resources/libraries/python/MLRsearch/MultipleLossRatioSearch.py index 29b72505de..2db65ef755 100644 --- a/resources/libraries/python/MLRsearch/MultipleLossRatioSearch.py +++ b/resources/libraries/python/MLRsearch/MultipleLossRatioSearch.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -135,7 +135,7 @@ class MultipleLossRatioSearch(AbstractSearchAlgorithm): :type measurer: AbstractMeasurer.AbstractMeasurer :type final_relative_width: float :type final_trial_duration: float - :type initial_trial_duration: int + :type initial_trial_duration: float :type number_of_intermediate_phases: int :type timeout: float :type doublings: int @@ -605,7 +605,7 @@ class MultipleLossRatioSearch(AbstractSearchAlgorithm): @staticmethod def _ndrpdr_duration( - state, ndr_lo, pdr_lo, ndr_hi, pdr_hi, ndr_rel_width, + state, ndr_lo, ndr_hi, pdr_lo, pdr_hi, ndr_rel_width, pdr_rel_width): """Perform duration-based trials within a ndrpdr phase