Fixed the contract of migration_time
This commit is contained in:
parent
b2dc2031e3
commit
5781a717bd
@ -73,8 +73,8 @@ def optimize(step, limit, otf, migration_time, ls, p, state_vector,
|
||||
:param otf: The OTF parameter.
|
||||
:type otf: number,>=0,<=1
|
||||
|
||||
:param migration_time: The VM migration time in seconds.
|
||||
:type migration_time: int,>=0
|
||||
:param migration_time: The VM migration time in time steps.
|
||||
:type migration_time: float,>=0
|
||||
|
||||
:param ls: L functions.
|
||||
:type ls: list(function)
|
||||
|
@ -60,7 +60,7 @@ class Bruteforce(TestCase):
|
||||
step = 0.1
|
||||
limit = 1
|
||||
otf = 0.3
|
||||
migration_time = 20
|
||||
migration_time = 20.
|
||||
ls = [lambda x: x, lambda x: x]
|
||||
p = [[0, 1]]
|
||||
state_vector = [0, 1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user