public interface Prolog extends Remote
Modifier and Type | Method and Description |
---|---|
void |
addTheory(Theory theory) |
void |
clearTheory() |
Theory |
getTheory() |
boolean |
hasOpenAlternatives() |
void |
loadLibrary(String className) |
void |
setTheory(Theory theory) |
SolveInfo |
solve(String g) |
SolveInfo |
solve(Term g) |
void |
solveEnd() |
void |
solveHalt() |
SolveInfo |
solveNext() |
void |
unloadLibrary(String className) |
void clearTheory() throws RemoteException
RemoteException
Theory getTheory() throws RemoteException
RemoteException
void setTheory(Theory theory) throws InvalidTheoryException, RemoteException
void addTheory(Theory theory) throws InvalidTheoryException, RemoteException
SolveInfo solve(Term g) throws RemoteException
RemoteException
SolveInfo solve(String g) throws MalformedGoalException, RemoteException
boolean hasOpenAlternatives() throws RemoteException
RemoteException
SolveInfo solveNext() throws NoMoreSolutionException, RemoteException
void solveHalt() throws RemoteException
RemoteException
void solveEnd() throws RemoteException
RemoteException
void loadLibrary(String className) throws InvalidLibraryException, RemoteException
void unloadLibrary(String className) throws InvalidLibraryException, RemoteException
Copyright © 2015. All rights reserved.