Description Usage Arguments Value Examples
This function builds a truth table from an arbitrary algorithm by executing it with all possible inputs. Of course, this function is highly inefficient and may only be applied to low input dimensional algorithms.
1 |
algo |
An arbitrary algorithm (R6 Class algo_base) |
The equivalent truth-table-based algorithm (R6 Class algo_)
1 2 3 4 5 6 7 8 | # R function style:
a1 <- algo_not$new();
a2 <- convert_algo_base_to_algo_(a1);
print(a2);
# R6 method style:
a3 <- a1$convert_to_algo_();
print(a3);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.