Article From:https://www.cnblogs.com/hanxiaobei/p/9123905.html

Decision table

For example, from the name of the people in the recent fire, we assume that there is such a proposition:
How do you call it a good cadre? Without violating the party’s principles, performance is a good cadre and a good cadre, but it is absolutely not a good cadre if it violates the party’s principles (greed, greed and greed).

We will analyze the input conditions and output results, and list the decision tables as follows:

According to the simplified basis, the same color can be combined.

After simplification:

The obtained test cases:
1）Having achievements, caring and not against the party’s principles; good cadres.
2）Having achievements, no love, no violation of the party’s principles, and good cadres
3）No achievements, caring, no violation of the party’s principles, good cadres
4）No matter whether there are achievements, love or violation of the party’s principles, it is not a good cadre.
5）No achievements, no love, no violation of Party principles, and no good cadres.