-/* Copyright (c) 2017. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-2019. 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. */
"\tExample: %s platform.xml deployment.xml\n",
argv[0], argv[0]);
- e.loadPlatform(argv[1]); /* - Load the platform description */
- e.registerFunction<yielder>("yielder");
+ e.load_platform(argv[1]); /* Load the platform description */
+ e.register_actor<yielder>("yielder"); /* Register the class representing the actors */
- e.loadDeployment(argv[2]);
+ e.load_deployment(argv[2]);
e.run(); /* - Run the simulation */