Which graph represents this business logic decision tree?

How do I usually represent this business logic in a graph?

A is true if B is true or C is true C is true if D is true and E is true and F is true X is true if Y is true and C is not true 

Is this a directed acyclic graph? How to represent the logic "and" / "or" on a graph in graph terminology?

(I'm looking for the correct terminology for the graph, so I can focus my reading.)

+4
source share
3 answers
  (D) (E) (F) | | | \ | / [AND] | (B) (C) | | \ / [OR] | (A) 

How about a graph with some nodes representing logical variables and other logical operations?

This is an acyclic graph.

NOTE. I am not sure if this is very useful. :)

+3
source

What about Carnot cards? For me, they feel a natural form to represent your data.

+1
source

So you can look at the spec template for this.

But it looks like you are seriously overloading things ... you just need a composite data type. Name anything you want while it works.

+1
source

Source: https://habr.com/ru/post/1304117/


All Articles