queirozfcom / rachinations

Other
2 stars 0 forks source link

Check if we need state connections, or there is a better programatic way #13

Open xexeo opened 10 years ago

xexeo commented 10 years ago

State connections transfer information and change values.

A ------+2-------> B will sum 2 to B each time A changes 1

And they can connect to Edges also (actully, the labels of the edges).

Can we find a better representation? What about a rule in our DSL?

if A.past.resources!=A.resources then { a=A.past.resources-A.resources , B.add_resources(a) }

We have to think about this