convertGraph: Convert normal form

View source: R/bnem_main.r

convertGraphR Documentation

Convert normal form

Description

converts a disjunctive normal form into a conjunctive normal form and vice versa; input graph as disjunctive normal form like that: c("A+B=D", "C=D", "G+F=U", ...); output is the dual element also in disjunctive normal form;

Usage

convertGraph(g)

Arguments

g

graph in normal form

Value

converted graph normal form

Author(s)

Martin Pirkl

Examples

g <- "A+B=C"
g2 <- convertGraph(g)

MartinFXP/B-NEM documentation built on Nov. 5, 2024, 11:56 a.m.