+
+ int workstation_number = 2;
+ SD_workstation_t *workstation_list = SD_workstation_get_list();
+ double computation_amount[] = {100, 200};
+ double communication_amount[] =
+ {
+ 0, 30,
+ 20, 0
+ };
+ double rate = 1;
+
+ printf("Scheduling task A (state = %d)...\n", SD_task_get_state(taskA));
+ SD_task_schedule(taskA, workstation_number, workstation_list,
+ computation_amount, communication_amount, rate);
+ printf("Done. Task A state: %d\n", SD_task_get_state(taskA));
+
+ printf("Launching simulation...\n");