-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Sorry to open up a new 'battleground' - the last thing that haunts me for now:
What do you, @benbovy, think about the following idea, use case:
Let's say we have two processes A and B. A has a var x that is a foreign variable in B and B has a variable y that is a foreign variable in A. Wont work because you can not derive the DAG in that case.
What if I annotate the foreign variable B.y in A with something like is_cyclic=True . That would mean:
- I know this introduces a cycle but I don't care
- Just ignore me,
A.y, when building the process graph, the ordering - But please still draw the
B -> y -> Arelation in the visualization (maybe with astep - 1label, dotted line...) - And when executing A just pass in for y whatever is there (would be a
NaNin step = 0 if y is notinoutin B or the value set inB.initialize
It just happens that we have a lot of these "cycles" but typically it is just the value from step time - 1. So only quasi-cyclic.
Metadata
Metadata
Assignees
Labels
No labels