Hello, all!
First, there is an integer array for example 1,2,3,4
Second, there are logical "rules" of following types: 1&2 = rule_1, 1|3 = rule_2, 1^4 = rule_3
(& - AND, | - OR, ^ = NOT)
The task is to search for the rules. So the question is how can I implement this kind of search, are there any source codes or libraries? I'll be very glad if someone helps me to cope with this problem and offers some ideas or examples especially on C#. Beforehand, great thanks!