Predicates

This section describes the predicate types available in this package.

MathematicalPredicates.evaluateFunction
evaluate(p::Predicate, args...)

Evaluate a predicate for given arguments.

Input

  • p – predicate
  • args – argument list

Output

A Bool corresponding to the evaluation of p(args).

Notes

We offer p(args) as a short-hand version of evaluate(p, args).

source

Atom

Negation

Conjunction

MathematicalPredicates.ConjunctionType
Conjunction{N, VT<:AbstractVector{<:Tuple{<:Predicate, <:AbstractVector{Int}}}} <: Predicate{N}

A conjunction of predicates of arity N.

Fields

  • conjuncts – vector of conjuncts
source

Disjunction

MathematicalPredicates.DisjunctionType
Disjunction{N, VT<:AbstractVector{<:Tuple{<:Predicate, <:AbstractVector{Int}}}} <: Predicate{N}

A disjunction of predicates of arity N.

Fields

  • disjuncts – vector of disjuncts
source