Fixed the contract of migration_time

This commit is contained in:
Anton Beloglazov 2012-10-24 16:03:06 +11:00
parent b2dc2031e3
commit 5781a717bd
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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]