#!/usr/bin/env python
+# 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.
import sys
from math import sqrt
factor_join_lat = b / (latency*links)
c_code_print(x0,x1,factor_join_lat,False,False)
+print("}\n")
+
print("\n/**\n *------------------ <copy/paste C code snippet in surf/network.c> ----------------------\n **/")