* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simdag_private.hpp"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simdag_private.hpp"
for (auto const& elm : computers) {
SD_task_t previous_task = nullptr;
for (auto const& task : *elm.second) {
for (auto const& elm : computers) {
SD_task_t previous_task = nullptr;
for (auto const& task : *elm.second) {
if (previous_task && not SD_task_dependency_exists(previous_task, task))
SD_task_dependency_add(previous_task, task);
if (previous_task && not SD_task_dependency_exists(previous_task, task))
SD_task_dependency_add(previous_task, task);