-# 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:
: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
@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