INTERACT FORUM
More => Old Versions => Media Center 13 (Development Ended) => Topic started by: mark_h on January 02, 2009, 07:49:31 am
-
For example, I get different results depending of which of these I use when including other smartlists into a parent smartlist. "is any" seems to give intuitive results but I cannot
So what exactly is the difference between "is any" and "is all"??
Semantically they appear to be the same?
Also, as there is a "is not any", why isn't there an "is not all"??
Cheers,
Mark
-
It looks to me like the difference between AND and OR.
Take a field that could have multiple values, such as the People field.
Take a photo tagged with Bill, Bob, Chad, Kevin, Mary.
If the smartlist rule was 'is any' Bill, Bob, Kevin then the photo would be included since at least one of those was a match.
If the smartlist rule was 'is all' Bill, Bob, George then the photo would not be included since George wasn't in the tag.
-
OK, following your lead, doing some tests it looks like, for clarity:
IS ANY = OR
IS ALL = AND
Which is what you said.
Which implies IS NOT ANY = NOR
Which means we really need IS NOT ALL = NAND because any logic can be created with NAND conditions, but not sure that's true otherwise?
Mark
-
Just did some research and it seems that NOR is sufficient to describe any logical operation as well, so actually no need for NAND in MC. Cool! Now I just have to get my brain around the problem I'm trying to solve :D
Mark
-
is any is any x or y. is all is all x and y. is not any is any x nor y. is not any is not all x nand y.
?
;)
gab
-
Been way too long since I did boolean algebra at college.
Mark
-
NOR solutions to common logic operations here:
http://en.wikipedia.org/wiki/NOR_logic
Mark