tt2eqn: Equations from a Truth Table

Description Usage Arguments Value Examples

Description

This function generates the ON set equations for a truth table. Inputs are uppercase if they are positive and lowercase for negative.

Usage

1
tt2eqn(tt, n_in, n_out, QCA = FALSE)

Arguments

tt

R data frame truth table.

n_in

Number of inputs in the tt.

n_out

Number of outputs in the tt.

QCA

Print in QCA format.

Value

Vector of equations strings. One for each output.

Examples

1
2
3
data(l.small)
tt <- logicopt(l.small,n_in=4,n_out=3)
eqn <- tt2eqn(tt[[1]],4,3)

LogicOpt documentation built on May 30, 2017, 5:08 a.m.

Related to tt2eqn in LogicOpt...