Unary

sealed class Unary : Operator(source)

Represents an unary FOL operator.

Author

Jan Müller

Parameters

name

The name of this unary operator.

Inheritors

Types

Link copied to clipboard
class Negation(val operand: Formula) : Operator.Unary

Represents the unary negation operator.

Properties

Link copied to clipboard

The name of the entity.

Link copied to clipboard

The operand of this unary operator.

Functions

Link copied to clipboard
abstract fun fullCheck(graph: Graph, symbolTable: SymbolTable, variableAssignments: Map<String, Node>, shouldBeModel: Boolean): ModelCheckerTrace

Recursively evaluate all subformulas, including redundant checks.

Link copied to clipboard
open override fun getRawString(variableAssignments: Map<String, Node>): String

Returns raw String representation of this unary operator.

Link copied to clipboard
abstract fun partialCheck(graph: Graph, symbolTable: SymbolTable, variableAssignments: Map<String, Node>, shouldBeModel: Boolean): ModelCheckerTrace

Recursively evaluate some subformulas, excluding redundant checks.

Link copied to clipboard
override fun toString(): String

Returns a String representation with no variable assignments and no brackets or dot at root level.

fun toString(variableAssignments: Map<String, Node>, wrap: Boolean): String

Returns a String representation with no variable assignments and optional brackets or dot at root level.