Hello, I have oriented graph. Graph can be strongly connected. Every vertex can have a set of anything, for example letters. The set is user editable.
Every vertex makes intersection of sets in previous vertices (only one step back).
But now, there is problem: When I update set of one vertex, the change should expand to all vertices and uptate their intersection of sets of previous vertices.
How to do every vertex have correct intersection after update of any vertex? Restriction: algorithm must avoid to stick in infinity. ...
Any idea how to solve it?. EDIT:
Example - red vertix changes, and it is needed to spread change of intersecions of all vertices: