randomDnf | R Documentation |
creates a random normal form or hyper-graph
randomDnf(
vertices = 10,
negation = TRUE,
max.edge.size = NULL,
max.edges = NULL,
dag = FALSE
)
vertices |
number of vertices |
negation |
if TRUE, negations (NOT gates) are allowed |
max.edge.size |
maximal number of inputs per edge |
max.edges |
maximal number of hyper-edges |
dag |
if TRUE, graph will be acyclic |
random hyper-graph in normal form
Martin Pirkl
g <- randomDnf(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.