X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fsearch%2FAbstractSearchAlgorithm.py;h=08f3a6bebc50905ae8828bd704c47e80cbffb44b;hp=ae326bd4caba131350b7423519e9369d8e9603de;hb=a3d14e7cf128c5188a4e064042a64333ae64d191;hpb=a768ed9ef7b54539d173f4b0f2b8a7028f47372c diff --git a/resources/libraries/python/search/AbstractSearchAlgorithm.py b/resources/libraries/python/search/AbstractSearchAlgorithm.py index ae326bd4ca..08f3a6bebc 100644 --- a/resources/libraries/python/search/AbstractSearchAlgorithm.py +++ b/resources/libraries/python/search/AbstractSearchAlgorithm.py @@ -32,15 +32,15 @@ class AbstractSearchAlgorithm(object): @abstractmethod def narrow_down_ndr_and_pdr( - self, fail_rate, line_rate, allowed_drop_fraction): + self, fail_rate, line_rate, packet_loss_ratio): """Perform measurements to narrow down intervals, return them. :param fail_rate: Minimal target transmit rate [pps]. :param line_rate: Maximal target transmit rate [pps]. - :param allowed_drop_fraction: Fraction of dropped packets for PDR [1]. + :param packet_loss_ratio: Fraction of packets lost, for PDR [1]. :type fail_rate: float :type line_rate: float - :type allowed_drop_fraction: float + :type packet_loss_ratio: float :returns: Structure containing narrowed down intervals and their measurements. :rtype: NdrPdrResult