Question regarding Assignment 6

Disclaimer: Dieser Thread wurde aus dem alten Forum importiert. Daher werden eventuell nicht alle Formatierungen richtig angezeigt. Der ursprüngliche Thread beginnt im zweiten Post dieses Threads.

Question regarding Assignment 6
Hello,
can we assume that the networks given to the query function are always in topological order?
My implementation works with the networks provided in the tests, but if I change the variable orders it breaks.

1 „Gefällt mir“

Hi,
sorry, no, you cannot assume that.
You can, of course, implement the topological ordering yourself if your algorithm requires that.