A class to manage uniform algorithm timing
Definition at line 61 of file precedence.py.
◆ __init__()
def precedence.UniformTimeValue.__init__ |
( |
|
self, |
|
|
|
avgRuntime, |
|
|
|
varRuntime = 0 |
|
) |
| |
Definition at line 64 of file precedence.py.
64 def __init__(self, avgRuntime, varRuntime=0):
65 self.avgRuntime = avgRuntime
66 self.varRuntime = varRuntime
◆ get()
def precedence.UniformTimeValue.get |
( |
|
self, |
|
|
|
algoName = "" |
|
) |
| |
Get time and its variance (in a tuple) for a given algorithm name
Definition at line 68 of file precedence.py.
68 def get(self, algoName=""):
69 """Get time and its variance (in a tuple) for a given algorithm name"""
71 return self.avgRuntime, self.varRuntime
◆ avgRuntime
precedence.UniformTimeValue.avgRuntime |
◆ varRuntime
precedence.UniformTimeValue.varRuntime |
The documentation for this class was generated from the following file: