neo4j logic gate simulation, how to?
问题 I would like to create a bunch of "and" and "or" and "not" gates in a directed graph. And then traverse from the inputs to see what they results are. I assume there is a ready made traversal that would do that but I don't see it. I don't know what the name of such a traversal would be. Certainly breadth first will not do the job. I need to get ALL the leaves, and go up toward the root. In other words A = (B & (C & Z)) I need to resolve C @ Z first. I need to put this type of thing in a graph