// Add the edge in the DAG
Iterator succeedingActors = successors.iterator();
while (succeedingActors.hasNext()) {
Actor connectedActor = (Actor) succeedingActors.next();
dag.addEdge(actor, connectedActor);
}
}
// NOTE: The following may be a very costly test, which is why
// it is done at the end. However, this means that we cannot