construct a random Boolean function
list or set of symbols representing the alphabet of literals
(optional) options, as specified below.
The opts parameter is used to specify one or more additional properties of the Array. If a property is included in the calling sequence, it must be an equation of the form keyword = value. The permissible options are described in this section.
Specifies the number of clauses in the generated formula. The default is the size of the alphabet alpha.
Specifies the form of boolean canonical formula to produce. Valid options are DNF (disjunctive normal form), CNF (conjunctive normal form), or MOD2 (arithmetic modulo 2). The default is DNF.
Specifies the number of literals appearing in each clause. A literal in this context is either a symbol from the alphabet or the negation of such a symbol. The default is the size of the alphabet alpha.
The Random command returns a random Boolean expression using the symbols from alpha.
The Boolean expression returned is in a specific canonical form with respect to the symbols in alpha. By default, disjunctive normal form is used.
Download Help Document
What kind of issue would you like to report? (Optional)