For instance, we creat a set S and have three statement s1,s2,s3.
To make all(S) true, we have to check every element in S and make sure s1,s2,s3 are all true.
To make all(S) false, we just need to find (at least) one of the element in S that is false.
To make any(S) true, we need find at least one of the element in S that is true.
To make any(S) False, we need check all elements in S and make sure all s1,s2,s3 are false.
We should understand the differences between each of the cases above and not mix them up
No comments:
Post a Comment