io.github.kelvindev15.prolog.solver.Solver
See theSolver companion object
trait Solver
Instances of this trait solve PrologPrograms.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Solves a program.
Solves a program.
Value parameters
- program
-
the program to solve.
Attributes
- Returns
-
an iterator over the program's Solutions.
Concrete methods
Returns true if the program admits at least one solution.
Returns true if the program admits at least one solution.
Value parameters
- program
-
the program to solve.
Attributes
Returns true if the provided goal admits at least one solution.
Returns true if the provided goal admits at least one solution.
Value parameters
- goal
-
the program to satisfy.
Attributes
Solves a program.
Solves a program.
Value parameters
- program
-
the program to solve.
Attributes
- Returns
-
a lazy list of the program's Solutions.
Solves a program.
Solves a program.
Value parameters
- program
-
the program to solve.
Attributes
- Returns
-
a list of the program's Solutions.
In this article