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.
更多信息和选项
- To use BooleanAlgebra, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
文本
Wolfram Research (2012),BooleanAlgebra,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html.
CMS
Wolfram 语言. 2012. "BooleanAlgebra." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html.
APA
Wolfram 语言. (2012). BooleanAlgebra. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/BooleanAlgebra.html 年