Content deleted Content added
MuffledThud (talk | contribs) m Quick-adding category Boolean algebra (using HotCat) |
No edit summary |
||
Line 1:
In [[mathematics]], an '''Evasive Boolean function''' f (on n variables) is a [[Boolean function]] for which every [[Decision tree model|Decision tree Algorithm]] has running time of exactly n. <br>
Meaning that every [[Decision tree model|Decision tree Algorithm]] that represents the function has
== Examples ==
Line 26:
* every leaf will have value in {0,1}.
* every node is connected to one of {and, or}
<br>
For every such tree with n leaves, the running time in the worst case is n (meaning that the algorithm must check all the leaves): <br>
We'll show an [[Adversary (online algorithm)|adversary]] that produce a worst case input
▲this input (0 for all Or nodes' children, and 1 for all And nodes' children) forces the algorithm to check all nodes: <br>
like in the second example
* in order to calculate the Or result, if all children are 0 we must check them all.
|