Variable

interface Variable<T : Comparable<T>> : BinaryDecisionDiagram<T>

A Variable is a BDD node representing a Boolean variable.

Functions

Link copied to clipboard
open override fun <E> accept(visitor: BinaryDecisionDiagramVisitor<T, E>): E

Accepts an instance of BinaryDecisionDiagramVisitor as for the visitor pattern. This is the method of preference for exploring the inner structure of the diagram.

Properties

Link copied to clipboard
abstract val high: BinaryDecisionDiagram<T>

high the a BinaryDecisionDiagram that leads to a 1-terminal (a true terminal)

Link copied to clipboard
open override val isTerminal: Boolean

Returns true if this node is a Terminal node.

Link copied to clipboard
open override val isVariable: Boolean

Returns true if this node is a Variable node.

Link copied to clipboard
abstract val low: BinaryDecisionDiagram<T>

low the a BinaryDecisionDiagram that leads to a 0-terminal (a false terminal)

Link copied to clipboard
abstract val value: T

value represents the boolean variable