BooleanAlgebra

BooleanAlgebra[n]
gives a Hasse diagram for the Boolean algebra on n elements. The function takes two options: and VertexLabel, with default values Undirected and False, respectively. When is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.

更多信息更多信息

New to Mathematica? Find your learning path »
Have a question? Ask support »