- const SD_workstation_t* workstation = SD_workstation_get_list();
- double communication_amount1 = 1000000000;
- double communication_amount2 = 1000000000;
- double no_cost = 0.0;
+ /* let's launch the simulation! */
+ SD_task_schedule(taskInit, 1, SD_workstation_get_list(), &no_cost,
+ &no_cost, -1.0);
+ SD_task_schedule(taskA, 1, &workstation[0], &no_cost,
+ &communication_amount1, -1.0);
+ SD_task_schedule(taskB, 1, &workstation[1], &no_cost,
+ &communication_amount2, -1.0);