BooleanAlgebra
BooleanAlgebra[n]
gives a Hasse diagram for the Boolean algebra on n elements. The function takes two options: Type and VertexLabel, with default values Undirected and False, respectively. When Type is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.
Details and Options
- To use BooleanAlgebra, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Text
Wolfram Research (2012), BooleanAlgebra, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html.
CMS
Wolfram Language. 2012. "BooleanAlgebra." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html.
APA
Wolfram Language. (2012). BooleanAlgebra. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html