AMIOL7 / ELME

Apache License 2.0
0 stars 1 forks source link

Generate truth table #45

Closed AMIOL7 closed 1 year ago

AMIOL7 commented 1 year ago

To save a custom made graph we have decided to use truth tables. This issue is about threating a function that will generate such truth table for any given graph. The logic is to use functions that return free input and output ports, and use evaluate method of graph to note the values of free output ports for every possible value of free input ports. The return of the function would be a map with input as key and corresponding output as value.

AMIOL7 commented 1 year ago

@vismate @pszi @bgdxqi Opinions, ideas, suggestions, questions?

vismate commented 1 year ago

We need to be able to evaluate a graph from the very beginning. Our idea was, to initiate a downline update from every single node that has free inputs. This needs to be done in the right order (topological order) to have the desired effect.

In the light of this, we need the branch merged (or base the feature branch on it) where @bgdxqi works on these.

AMIOL7 commented 1 year ago

We need to be able to evaluate a graph from the very beginning. Our idea was, to initiate a downline update from every single node that has free inputs. This needs to be done in the right order (topological order) to have the desired effect.

In the light of this, we need the branch merged (or base the feature branch on it) where @bgdxqi works on these.

What is the name of the branch? I will base my feature branch on it and later merge to it

vismate commented 1 year ago

We need to be able to evaluate a graph from the very beginning. Our idea was, to initiate a downline update from every single node that has free inputs. This needs to be done in the right order (topological order) to have the desired effect.

In the light of this, we need the branch merged (or base the feature branch on it) where @bgdxqi works on these.

What is the name of the branch? I will base my feature branch on it and later merge to it

model-simulation