convert_nandtree_to_truthtable: Convert a NAND tree to a truth table.

Description Usage Arguments Value Examples

Description

This function builds a truth table from a NAND tree by executing its algorithm with all possible inputs. Of course, this function is highly inefficient and may only be applied to low input dimensional NAND trees.

Usage

1

Arguments

nandtree

A NandTree (R6 Class NandTree)

Value

The resulting truth table (R6 Class Truthtable)

Examples

1
2
3
4
5
# R function style:
convert_nandtree_to_truthtable(nandtree);

# R6 method style:
nandtree$convert_to_truthtable();

daviddoret/haricot documentation built on May 21, 2019, 1:42 a.m.