julog

package
v0.0.0-...-7020c31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractClause

type AbstractClause interface {
	Head() Term
}

type Clause

type Clause struct {
	AbstractClause
	// contains filtered or unexported fields
}

func (*Clause) Head

func (c *Clause) Head() Term

type ClauseSubtable

type ClauseSubtable map[string][]AbstractClause

type ClauseTable

type ClauseTable map[string]ClauseSubtable

type Compound

type Compound struct {
	Term
	// contains filtered or unexported fields
}

type Const

type Const struct {
	Term
	// contains filtered or unexported fields
}

type GoalTree

type GoalTree struct {
	// contains filtered or unexported fields
}

type Subst

type Subst map[Var]Term

func Resolve

func Resolve(goals []Term, clauses []AbstractClause, options map[string]any) (bool, []Subst)

type Term

type Term interface {
	Name() string
	Args() []Term
}

type Var

type Var struct {
	Term
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL