ClausePartitioner

class ClausePartitioner: ClausePartition, DirectiveSelector, Any

Fields

Name Description
val staticClauses: Theory
val dynamicClauses: Theory
val operators: OperatorSet
val initialGoals: List<Struct>
val includes: List<Atom>
val flagStore: FlagStore

Constructors

<init>

constructor(source: Iterable<Clause>, staticByDefault: Boolean)

Parameters

Name Description
source: Iterable<Clause>
staticByDefault: Boolean

Methods

onSetFlag

fun onSetFlag(directive: Directive, name: Term, value: Term)

Parameters

Name Description
directive: Directive
name: Term
value: Term

ReturnValue

Name Description
Unit

onOperator

fun onOperator(directive: Directive, priority: Term, specifier: Term, name: Term)

Parameters

Name Description
directive: Directive
priority: Term
specifier: Term
name: Term

ReturnValue

Name Description
Unit

onLoad

fun onLoad(directive: Directive, goal: Term)

Parameters

Name Description
directive: Directive
goal: Term

ReturnValue

Name Description
Unit

onSolve

fun onSolve(directive: Directive, goal: Term)

Parameters

Name Description
directive: Directive
goal: Term

ReturnValue

Name Description
Unit

onStatic

fun onStatic(directive: Directive, indicator: Indicator)

Parameters

Name Description
directive: Directive
indicator: Indicator

ReturnValue

Name Description
Unit

onDynamic

fun onDynamic(directive: Directive, indicator: Indicator)

Parameters

Name Description
directive: Directive
indicator: Indicator

ReturnValue

Name Description
Unit

onDirectiveMatchingPattern

fun onDirectiveMatchingPattern(directive: Directive, pattern: Term, unifier: Unifier)

Parameters

Name Description
directive: Directive
pattern: Term
unifier: Unifier

ReturnValue

Name Description
Unit

onDirective

fun onDirective(directive: Directive)

Parameters

Name Description
directive: Directive

ReturnValue

Name Description
Unit

onRule

fun onRule(rule: Rule)

Parameters

Name Description
rule: Rule

ReturnValue

Name Description
Unit

onFact

fun onFact(fact: Fact)

Parameters

Name Description
fact: Fact

ReturnValue

Name Description
Unit

onClause

fun onClause(clause: Clause)

Parameters

Name Description
clause: Clause

ReturnValue

Name Description
Unit

Extensions

plus

operator fun ClausePartition?.plus(other: ClausePartition?): ClausePartition

Receiver

Name Description
ClausePartition?

Parameters

Name Description
other: ClausePartition?

ReturnValue

Name Description
ClausePartition