Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Start the SimDag revolution: function factoring
[simgrid.git] / examples / simdag / platform_script.lua
index b60cfba..8aaea89 100644 (file)
@@ -1,3 +1,9 @@
+-- Copyright (c) 2010-2011, 2014. The SimGrid Team.
+-- All rights reserved.
+
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the license (GNU LGPL) which comes with this package.
+
 require "simgrid"
 
   simgrid.AS.new{id="AS0",mode="Full"};
@@ -10,7 +16,7 @@ require "simgrid"
 
     -- create Links
   for i=0,11 do
-    simgrid.link.new{id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};   
+    simgrid.link.new{id=i,bandwidth=252750+ i*768,lat=0.000270544+i*0.087};   
   end
   -- simgrid.route.new(src_id,des_id,links_nb,links_list)
    simgrid.route.new("Tremblay","Jupiter",{"1"});