A B C D E F G H I L M N O P R S T V W X

A

abort() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
abortTasks() - Method in class com.declarativa.interprolog.PrologEngine
Do not invoke this
actionPerformed(ActionEvent) - Method in class com.declarativa.interprolog.gui.RelationTreeModel.BrowseAction
 
actionPerformed(ActionEvent) - Method in class com.declarativa.interprolog.gui.PrologEventBroker
 
addChildren(TermModel[]) - Method in class com.declarativa.interprolog.TermModel
Add children to this term node; a new children array is created and old children are copied to it
addListDataListener(ListDataListener) - Method in class com.declarativa.interprolog.gui.TermListModel
 
addOutputListener(OutputListener) - Method in class com.declarativa.interprolog.util.OutputHandler
 
addPrologOutputListener(PrologOutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
Add a PrologOutputListener to this engine.
addPrologStderrListener(OutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
 
addPrologStdoutListener(OutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
Add a OutputListener to get output from Prolog's standard output.
addRecognizerListener(RecognizerListener) - Method in class com.declarativa.interprolog.util.Recognizer
 
addTableModelListener(TableModelListener) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
addTermModelListener(TermModelListener) - Method in class com.declarativa.interprolog.TermModel
Start notifying listener l of changes to this term.
addTreeModelListener(TreeModelListener) - Method in class com.declarativa.interprolog.TermModel
 
addTreeModelListener(TreeModelListener) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
analyseBytes(byte[], int) - Method in class com.declarativa.interprolog.util.Recognizer
 
analyseBytes(byte[], int) - Method in interface com.declarativa.interprolog.util.OutputListener
nBytes new output bytes are in buffer to analyse
arguments - Variable in class com.declarativa.interprolog.util.MessageFromProlog
 
assignableType(Class, Class) - Static method in class com.declarativa.interprolog.PrologEngine
It is OK to assign an expression typed right to a variable typed left.
assignToVar(VariableNode, Object) - Method in class com.declarativa.interprolog.TermModel
Replaces all occurrences of v in this subterm by value, using setNodeValue

B

basicTypeClass() - Method in class com.declarativa.interprolog.util.BasicTypeWrapper
 
BasicTypeWrapper - class com.declarativa.interprolog.util.BasicTypeWrapper.
A class used to serialize basic type values (int, boolean,...).
BasicTypeWrapper(Object) - Constructor for class com.declarativa.interprolog.util.BasicTypeWrapper
 
beep() - Static method in class com.declarativa.interprolog.gui.ListenerWindow
 
browseRelation(PrologEngine, String, Object) - Static method in class com.declarativa.interprolog.gui.RelationTreeModel
 

C

children - Variable in class com.declarativa.interprolog.TermModel
public for convenience, but should not be set outside this class; children == null means children == new TermModel[0]
classname - Variable in class com.declarativa.interprolog.util.IPClassObject
 
className - Variable in class com.declarativa.interprolog.util.IPClassVariable
 
clone() - Method in class com.declarativa.interprolog.TermModel
Clones by serialization, to keep variable bindings; these should form a closed graph within this term, otherwise the new term instance would contain dangling references
com.declarativa.interprolog - package com.declarativa.interprolog
 
com.declarativa.interprolog.gui - package com.declarativa.interprolog.gui
 
com.declarativa.interprolog.util - package com.declarativa.interprolog.util
 
com.xsb.interprolog - package com.xsb.interprolog
 
command(String) - Method in class com.declarativa.interprolog.PrologEngine
Execute a Prolog "command"
commandArgs(String[]) - Static method in class com.declarativa.interprolog.gui.ListenerWindow
 
commonMain(String[]) - Static method in class com.declarativa.interprolog.gui.ListenerWindow
 
consultFromPackage(String, Object) - Method in class com.declarativa.interprolog.PrologEngine
Extracts a Prolog file from the jar file or directory where the requester's class came from, and asks the background Prolog process to consult it.
consultRelative(String, Object) - Method in class com.declarativa.interprolog.PrologEngine
Consults a Prolog file from the directory where the requester's class would come from if it did not come from a jar file.

D

debug - Static variable in class com.declarativa.interprolog.gui.ListenerWindow
 
deleteChildren(int[]) - Method in class com.declarativa.interprolog.TermModel
Delete children with specified indexes; a new children array is created and old children are copied to it
deleteChildren(TermModel[]) - Method in class com.declarativa.interprolog.TermModel
Removes the children in array; it finds children to remove by using the equivalent of Prolog's ==
deterministicGoal(String) - Method in class com.declarativa.interprolog.PrologEngine
A parameterless goal with no result other than success/failure.
deterministicGoal(String, String) - Method in class com.declarativa.interprolog.PrologEngine
Useful when you're constructing objects from Prolog, but don't need to pass any from Java.
deterministicGoal(String, String, Object[]) - Method in class com.declarativa.interprolog.PrologEngine
Useful when you want to pass objects to Prolog but don't need objects returned.
deterministicGoal(String, String, Object[], String) - Method in class com.declarativa.interprolog.SubprocessEngine
 
deterministicGoal(String, String, Object[], String) - Method in class com.declarativa.interprolog.PrologEngine
Synchronously calls a Prolog goal.
deterministicGoal(String, String, Object[], String) - Method in class com.xsb.interprolog.NativeEngine
 
doCallback(Object) - Method in class com.declarativa.interprolog.PrologEngine
Execute a Prolog->Java call

E

engine - Variable in class com.declarativa.interprolog.gui.ListenerWindow
 
equals(Object) - Method in class com.declarativa.interprolog.TermModel
True if both terms are structurally similar with equal nodes
equals(Object) - Method in class com.declarativa.interprolog.util.VariableNode
 
error - Variable in class com.declarativa.interprolog.util.ResultFromProlog
Error message, null if none
example() - Static method in class com.declarativa.interprolog.TermModel
 
example() - Static method in class com.declarativa.interprolog.gui.XSBTableModel
 
example() - Static method in class com.declarativa.interprolog.gui.TermTreeModel
 
example() - Static method in class com.declarativa.interprolog.gui.TermListModel
 
example() - Static method in class com.declarativa.interprolog.gui.RelationTreeModel
 
example() - Static method in class com.declarativa.interprolog.gui.PredicateTableModel
 
example() - Static method in class com.declarativa.interprolog.util.VariableNode
 
exception - Variable in class com.declarativa.interprolog.util.ResultFromJava
exception thrown directly by java.lang.reflect.Method#invoke().

F

findConstructor(Class, Class[]) - Static method in class com.declarativa.interprolog.PrologEngine
Similar to findMethod(), but for constructors rather than regular methods
findMethod(Class, String, Class[]) - Static method in class com.declarativa.interprolog.PrologEngine
An utility building on the functionality of getMethod(), to provide the javaMessage predicate with method argument polimorphism.
findPathForNode(String, TermModel, boolean) - Static method in class com.declarativa.interprolog.TermModel
 
fireTermChanged() - Method in class com.declarativa.interprolog.TermModel
 
firstJavaMessage() - Method in class com.declarativa.interprolog.PrologEngine
Dummy method, whose name is used to start the callback thread
firstJavaMessageName - Variable in class com.declarativa.interprolog.PrologEngine
Name of first message sent to Java
flatList() - Method in class com.declarativa.interprolog.TermModel
Flattens this list into a new TermModel array, but not completely: the result may still contain lists
flatList(TermModel) - Static method in class com.declarativa.interprolog.TermModel
Flattens a list into a TermModel array, but not completely: the result may still contain lists
flush() - Method in class com.declarativa.interprolog.util.PrologOutputObjectStream
 
focusInput() - Method in class com.declarativa.interprolog.gui.ListenerWindow
 

G

getChild(int) - Method in class com.declarativa.interprolog.TermModel
 
getChild(Object, int) - Method in class com.declarativa.interprolog.TermModel
 
getChild(Object, int) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
getChildCount() - Method in class com.declarativa.interprolog.TermModel
 
getChildCount(Object) - Method in class com.declarativa.interprolog.TermModel
 
getChildCount(Object) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
getChildren() - Method in class com.declarativa.interprolog.TermModel
 
getColumnClass(int) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
getColumnCount() - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
getColumnName(int) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
getElementAt(int) - Method in class com.declarativa.interprolog.gui.TermListModel
 
getFunctorArity() - Method in class com.declarativa.interprolog.TermModel
Return a node/arity String
getGoal() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
getIndexOfChild(Object, Object) - Method in class com.declarativa.interprolog.TermModel
 
getIndexOfChild(Object, Object) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
getJarDirectory() - Method in class com.declarativa.interprolog.PrologEngine
Returns the directory containing the jar with the engine class
getJarDirectory(Class) - Static method in class com.declarativa.interprolog.PrologEngine
Returns the directory containing the jar with the given class
getObjectStream() - Method in class com.declarativa.interprolog.util.PrologOutputObjectStream
 
getRealJavaObject(int) - Method in class com.declarativa.interprolog.PrologEngine
Same as getRealJavaObject(InvisibleObject), but accepts an integer ID as argument instead
getRealJavaObject(int) - Method in class com.declarativa.interprolog.util.ObjectRegistry
 
getRealJavaObject(InvisibleObject) - Method in class com.declarativa.interprolog.PrologEngine
Get the object referred by the integer in a InvisibleObject wrapper.
getRealJavaObject(InvisibleObject) - Method in class com.declarativa.interprolog.util.ObjectRegistry
 
getRealJavaObject(Object) - Method in class com.declarativa.interprolog.PrologEngine
Just returns the object, untouched (but "dereferenced" if called from Prolog).
getResult() - Method in class com.declarativa.interprolog.util.MessageExecuting
 
getRoot() - Method in class com.declarativa.interprolog.TermModel
 
getRoot() - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
getRowCount() - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
getSize() - Method in class com.declarativa.interprolog.gui.TermListModel
 
getTemplate() - Method in class com.declarativa.interprolog.TermModel
Return a Node(_,..._) String
getTimestamp() - Method in class com.declarativa.interprolog.util.MessageExecuting
 
getTimestamp() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
getValueAt(int, int) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
GoalFromJava - class com.declarativa.interprolog.util.GoalFromJava.
Represents a goal from Java, called through deterministicGoal
GoalFromJava(int, String, String, Object[], String) - Constructor for class com.declarativa.interprolog.util.GoalFromJava
 
GoalToExecute - class com.declarativa.interprolog.util.GoalToExecute.
A goal scheduled to execute in Prolog whenever possible
GoalToExecute(GoalFromJava) - Constructor for class com.declarativa.interprolog.util.GoalToExecute
 
guiExamples() - Static method in class com.declarativa.interprolog.gui.ListenerWindow
 

H

handleCallback(Object) - Method in class com.declarativa.interprolog.PrologEngine
Handling of javaMessages and deterministicGoals.
hasEnded() - Method in class com.declarativa.interprolog.util.MessageExecuting
 
hasEnded() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
hasListener(OutputListener) - Method in class com.declarativa.interprolog.util.OutputHandler
 
hasStarted() - Method in class com.declarativa.interprolog.util.GoalToExecute
 

I

instanceOfWrapper(Object) - Static method in class com.declarativa.interprolog.util.BasicTypeWrapper
 
interrupt() - Method in class com.declarativa.interprolog.PrologEngine
Interrupt Prolog and make it return to its top level.
interrupt() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
interrupting - Variable in class com.declarativa.interprolog.PrologEngine
Prolog is handling an interrupt
interruptTasks() - Method in class com.declarativa.interprolog.PrologEngine
Do not invoke this
intValue() - Method in class com.declarativa.interprolog.TermModel
Returns node object as an int, assuming it is a Number
InvisibleObject - class com.declarativa.interprolog.util.InvisibleObject.
Instances represent objects which are not serialized to/from Prolog, and that are kept in a table by a Prolog engine
InvisibleObject(int) - Constructor for class com.declarativa.interprolog.util.InvisibleObject
 
IPAbortedException - exception com.declarativa.interprolog.util.IPAbortedException.
An Exception thrown when Prolog is aborted
IPAbortedException(String) - Constructor for class com.declarativa.interprolog.util.IPAbortedException
 
IPClassObject - class com.declarativa.interprolog.util.IPClassObject.
Represents a Java class object; avoids the need to use a full blown object specifier for the real Java class object (a Class instance) on the Prolog side, by relying on the Java call-back mechanism to interpret the contents of this object at callback time
IPClassObject(String) - Constructor for class com.declarativa.interprolog.util.IPClassObject
 
IPClassVariable - class com.declarativa.interprolog.util.IPClassVariable.
Represents a Java class variable; allow the Prolog side to conveniently refer any class variable
IPClassVariable(String, String) - Constructor for class com.declarativa.interprolog.util.IPClassVariable
 
IPException - exception com.declarativa.interprolog.util.IPException.
An Exception related to Prolog processing in general
IPException(String) - Constructor for class com.declarativa.interprolog.util.IPException
 
IPInterruptedException - exception com.declarativa.interprolog.util.IPInterruptedException.
An Exception thrown when Prolog is interrupted
IPInterruptedException(String) - Constructor for class com.declarativa.interprolog.util.IPInterruptedException
 
isAtom() - Method in class com.declarativa.interprolog.TermModel
 
isAvailable() - Method in class com.declarativa.interprolog.SubprocessEngine
Prolog is thought to be idle
isAvailable() - Method in class com.declarativa.interprolog.PrologEngine
Present implementation is always available, so this always returns true
isCellEditable(int, int) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
isDebug() - Method in class com.declarativa.interprolog.PrologEngine
Debug messages are being written
isFirstGoal() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
isIdle() - Method in class com.declarativa.interprolog.PrologEngine
The engine is doing nothing
isIdle() - Method in class com.xsb.interprolog.NativeEngine
 
isInteger() - Method in class com.declarativa.interprolog.TermModel
 
isLeaf() - Method in class com.declarativa.interprolog.TermModel
 
isLeaf(Object) - Method in class com.declarativa.interprolog.TermModel
 
isLeaf(Object) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
isList() - Method in class com.declarativa.interprolog.TermModel
 
isListEnd() - Method in class com.declarativa.interprolog.TermModel
 
isNumber() - Method in class com.declarativa.interprolog.TermModel
 
isRoot() - Method in class com.declarativa.interprolog.TermModel
This node is its own root
isVar() - Method in class com.declarativa.interprolog.TermModel
 

L

ListenerWindow - class com.declarativa.interprolog.gui.ListenerWindow.
A simple Prolog listener, with a Reconsult menu and an history mechanism.
ListenerWindow(PrologEngine) - Constructor for class com.declarativa.interprolog.gui.ListenerWindow
 
ListenerWindow(PrologEngine, boolean) - Constructor for class com.declarativa.interprolog.gui.ListenerWindow
 
listMaxLength - Static variable in class com.declarativa.interprolog.TermModel
 
listToString(PrologOperatorsContext) - Method in class com.declarativa.interprolog.TermModel
 
load_dynRelative(String, Object) - Method in class com.declarativa.interprolog.PrologEngine
 

M

main(String[]) - Static method in class com.declarativa.interprolog.gui.SubprocessEngineWindow
Useful for launching the system, by passing the full Prolog executable path and optionally extra arguments, that are passed to the Prolog command
main(String[]) - Static method in class com.xsb.interprolog.NativeEngineWindow
Useful for launching the system, by passing the full Prolog directory path and optionally extra arguments, that are passed to the Prolog command
makeIntegerVector() - Method in class com.declarativa.interprolog.TermModel
Assuming this is a list of numbers, returns a Vector containing one Integer for each number in the list
makeInvisible(Object) - Method in class com.declarativa.interprolog.PrologEngine
Register an object with this Engine, so it later can be referred from Prolog without serializing it, and returns an InvisibleObject encapsulating the reference.
makeList(TermModel[]) - Static method in class com.declarativa.interprolog.TermModel
 
makeList(Vector) - Static method in class com.declarativa.interprolog.TermModel
 
MAX_INT_VALUE - Static variable in class com.declarativa.interprolog.PrologEngine
Maximum integer value.
MessageExecuting - class com.declarativa.interprolog.util.MessageExecuting.
Object to help coordinate a javaMessage execution in the Java side.
MessageExecuting(MessageFromProlog, PrologEngine) - Constructor for class com.declarativa.interprolog.util.MessageExecuting
 
MessageFromProlog - class com.declarativa.interprolog.util.MessageFromProlog.
Represents a message from Prolog, performed by predicate javaMessage
MessageFromProlog() - Constructor for class com.declarativa.interprolog.util.MessageFromProlog
 
methodName - Variable in class com.declarativa.interprolog.util.MessageFromProlog
 
MIN_INT_VALUE - Static variable in class com.declarativa.interprolog.PrologEngine
Minimum integer value.

N

NativeEngine - class com.xsb.interprolog.NativeEngine.
A PrologEngine implemented using the Java Native Interface.
NativeEngine(String) - Constructor for class com.xsb.interprolog.NativeEngine
 
NativeEngine(String, boolean) - Constructor for class com.xsb.interprolog.NativeEngine
The XSB dll must be in a directory in the Windows PATH so the Java loader finds it
NativeEngineWindow - class com.xsb.interprolog.NativeEngineWindow.
A ListenerWindow for a NativeEngine
NativeEngineWindow(NativeEngine) - Constructor for class com.xsb.interprolog.NativeEngineWindow
 
NativeEngineWindow(NativeEngine, boolean) - Constructor for class com.xsb.interprolog.NativeEngineWindow
 
nl - Static variable in class com.declarativa.interprolog.PrologEngine
Convenience for newline
node - Variable in class com.declarativa.interprolog.TermModel
public for convenience, but should not be set outside this class
nodeIsVar() - Method in class com.declarativa.interprolog.TermModel
 
numberListeners() - Method in class com.declarativa.interprolog.util.Recognizer
 

O

ObjectExamplePair - class com.declarativa.interprolog.ObjectExamplePair.
The class wrapping the information that will allow Prolog to later specify Java objects.
ObjectExamplePair(Object) - Constructor for class com.declarativa.interprolog.ObjectExamplePair
 
ObjectExamplePair(Object, Object) - Constructor for class com.declarativa.interprolog.ObjectExamplePair
 
ObjectExamplePair(String, Object) - Constructor for class com.declarativa.interprolog.ObjectExamplePair
 
ObjectExamplePair(String, Object, Object) - Constructor for class com.declarativa.interprolog.ObjectExamplePair
Create an object pair, adequate for later teaching it to a Prolog engine and have this produce an ipObjectSpec fact on the Prolog side.
ObjectRegistry - class com.declarativa.interprolog.util.ObjectRegistry.
Remembers a set of Java objects, allowing access to them by an (integer) ID
ObjectRegistry() - Constructor for class com.declarativa.interprolog.util.ObjectRegistry
 
OutputHandler - class com.declarativa.interprolog.util.OutputHandler.
An object consuming input from a stream, analysing it and sending messages to a list of OutputListener objects
OutputHandler(InputStream) - Constructor for class com.declarativa.interprolog.util.OutputHandler
 
OutputListener - interface com.declarativa.interprolog.util.OutputListener.
Interface by which an OutputHandler client can receive output to analyse

P

PredicateTableModel - class com.declarativa.interprolog.gui.PredicateTableModel.
 
PredicateTableModel(TermModel, TermModel[]) - Constructor for class com.declarativa.interprolog.gui.PredicateTableModel
 
PredicateTableWindow - class com.declarativa.interprolog.gui.PredicateTableWindow.
 
PredicateTableWindow(PredicateTableModel) - Constructor for class com.declarativa.interprolog.gui.PredicateTableWindow
 
print(String) - Method in interface com.declarativa.interprolog.PrologOutputListener
Prolog stream output was sent
print(String) - Method in class com.declarativa.interprolog.gui.SubprocessEngineWindow
 
printBindings(Object[]) - Static method in class com.declarativa.interprolog.PrologEngine
Convenience for debugging
progressMessage(String) - Method in class com.declarativa.interprolog.PrologEngine
Debugging aid
PrologEngine - class com.declarativa.interprolog.PrologEngine.
The heart of InterProlog; a PrologEngine represents a Prolog abstract machine instance.
PrologEngine(String, boolean) - Constructor for class com.declarativa.interprolog.PrologEngine
Create a Prolog executor, possibly spawning it in a different process or loading it into memory, depending on the implementation by our subclass.
PrologEventBroker - class com.declarativa.interprolog.gui.PrologEventBroker.
A PrologEventBroker can listen to ActionEvents, and calls a Prolog goal to handle them.
PrologEventBroker(PrologEngine) - Constructor for class com.declarativa.interprolog.gui.PrologEventBroker
 
PrologEventBroker(PrologEngine, Object) - Constructor for class com.declarativa.interprolog.gui.PrologEventBroker
 
PrologEventBroker(PrologEngine, String) - Constructor for class com.declarativa.interprolog.gui.PrologEventBroker
 
prologInput - Variable in class com.declarativa.interprolog.gui.ListenerWindow
 
PrologOperatorsContext - class com.declarativa.interprolog.PrologOperatorsContext.
Represents a set of Prolog operator declarations, to provide TermModel with knowledge for toString()
prologOutput - Variable in class com.declarativa.interprolog.gui.ListenerWindow
 
PrologOutputListener - interface com.declarativa.interprolog.PrologOutputListener.
If you're interested in Prolog's textual output, implement this interface on your class and make your object a listener to a SubprocessEngine
PrologOutputObjectStream - class com.declarativa.interprolog.util.PrologOutputObjectStream.
Vaguely similar to an ObjectOutputStream, but sends the total number of serialized bytes up front, so Prolog can keep grammar and socket reads separate without hanging for input
PrologOutputObjectStream(OutputStream) - Constructor for class com.declarativa.interprolog.util.PrologOutputObjectStream
 
prologStartCommand - Static variable in class com.declarativa.interprolog.gui.ListenerWindow
 
prologWasCalled() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
props2Hashtable(TermModel[]) - Static method in class com.declarativa.interprolog.TermModel
 

R

recognized(Recognizer, Object) - Method in interface com.declarativa.interprolog.util.RecognizerListener
 
Recognizer - class com.declarativa.interprolog.util.Recognizer.
A simple pattern recognizor used in error detection
Recognizer() - Constructor for class com.declarativa.interprolog.util.Recognizer
 
Recognizer(String) - Constructor for class com.declarativa.interprolog.util.Recognizer
 
Recognizer(String, boolean) - Constructor for class com.declarativa.interprolog.util.Recognizer
 
RecognizerListener - interface com.declarativa.interprolog.util.RecognizerListener.
An object that is notified when a Recognizer detects a string
registerJavaObject(Object) - Method in class com.declarativa.interprolog.PrologEngine
Register an object with this Engine, so it later can be referred from Prolog without serializing it.
registerJavaObject(Object) - Method in class com.declarativa.interprolog.util.ObjectRegistry
 
RelationTreeModel - class com.declarativa.interprolog.gui.RelationTreeModel.
 
RelationTreeModel.BrowseAction - class com.declarativa.interprolog.gui.RelationTreeModel.BrowseAction.
 
RelationTreeModel.BrowseAction(PrologEngine, String, Object) - Constructor for class com.declarativa.interprolog.gui.RelationTreeModel.BrowseAction
 
RelationTreeModel.NodeDescriptionTriple - class com.declarativa.interprolog.gui.RelationTreeModel.NodeDescriptionTriple.
 
RelationTreeModel.NodeDescriptionTriple() - Constructor for class com.declarativa.interprolog.gui.RelationTreeModel.NodeDescriptionTriple
 
RelationTreeModel(PrologEngine, String, Object) - Constructor for class com.declarativa.interprolog.gui.RelationTreeModel
 
remainingArgs(String[], int) - Static method in class com.declarativa.interprolog.gui.ListenerWindow
 
removeListDataListener(ListDataListener) - Method in class com.declarativa.interprolog.gui.TermListModel
 
removeOutputListener(OutputListener) - Method in class com.declarativa.interprolog.util.OutputHandler
 
removePrologOutputListener(PrologOutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
 
removePrologStderrListener(OutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
 
removePrologStdoutListener(OutputListener) - Method in class com.declarativa.interprolog.SubprocessEngine
 
removeRecognizerListener(RecognizerListener) - Method in class com.declarativa.interprolog.util.Recognizer
 
removeTableModelListener(TableModelListener) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
removeTermModelListener(TermModelListener) - Method in class com.declarativa.interprolog.TermModel
 
removeTreeModelListener(TreeModelListener) - Method in class com.declarativa.interprolog.TermModel
 
removeTreeModelListener(TreeModelListener) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
ResultFromJava - class com.declarativa.interprolog.util.ResultFromJava.
Used to serialize results for javaMessage
ResultFromJava(int, Object, Object, Object[]) - Constructor for class com.declarativa.interprolog.util.ResultFromJava
 
ResultFromProlog - class com.declarativa.interprolog.util.ResultFromProlog.
Used to serialize results for deterministicGoal
ResultFromProlog(int, boolean, int, String) - Constructor for class com.declarativa.interprolog.util.ResultFromProlog
 
returnArguments - Variable in class com.declarativa.interprolog.util.MessageFromProlog
 
root - Variable in class com.declarativa.interprolog.TermModel
The TermModel containing this; relevant to define variable scope.
run() - Method in class com.declarativa.interprolog.util.OutputHandler
 
run() - Method in class com.declarativa.interprolog.util.MessageExecuting
 
rVars - Variable in class com.declarativa.interprolog.util.ResultFromProlog
Object array corresponding to the result variable list

S

scrollToBottom() - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
sendAndFlush(String) - Method in class com.declarativa.interprolog.SubprocessEngine
Sends a String to Prolog's input.
sendAndFlushLn(String) - Method in class com.declarativa.interprolog.SubprocessEngine
 
sendToProlog() - Method in class com.declarativa.interprolog.gui.SubprocessEngineWindow
 
sendToProlog() - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
sendToProlog() - Method in class com.xsb.interprolog.NativeEngineWindow
 
setChild(int, TermModel) - Method in class com.declarativa.interprolog.TermModel
Set the child, notifying TermModelListeners
setChildren(TermModel[]) - Method in class com.declarativa.interprolog.TermModel
Set the children array, notifying TermModelListeners
setDebug(boolean) - Method in class com.declarativa.interprolog.PrologEngine
 
setDebug(boolean) - Method in class com.xsb.interprolog.NativeEngine
 
setFirstGoalStatus() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
setIgnoreStreamEnd(boolean) - Method in class com.declarativa.interprolog.util.OutputHandler
 
setNodeValue(Object) - Method in class com.declarativa.interprolog.TermModel
Set the node, notifying TermModelListeners
setResult(ResultFromProlog) - Method in class com.declarativa.interprolog.util.GoalToExecute
 
setRoot() - Method in class com.declarativa.interprolog.TermModel
Set the root variables of nodes in this subterm to refer this term node as their root
setRoot(TermModel) - Method in class com.declarativa.interprolog.TermModel
Set the root variables of nodes in this subterm to refer r as their root
setValueAt(Object, int, int) - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
shortClassName(Class) - Static method in class com.declarativa.interprolog.PrologEngine
 
shutdown() - Method in class com.declarativa.interprolog.SubprocessEngine
Shuts down the background Prolog process as well as the dependent Java threads.
shutdown() - Method in class com.declarativa.interprolog.PrologEngine
Release Prolog engine resources, making it unusable
shutdown() - Method in class com.xsb.interprolog.NativeEngine
 
size() - Method in class com.declarativa.interprolog.util.PrologOutputObjectStream
 
startPrologCommand - Variable in class com.declarativa.interprolog.PrologEngine
File path to Prolog machine
streamEnded() - Method in class com.declarativa.interprolog.util.Recognizer
 
streamEnded() - Method in interface com.declarativa.interprolog.util.OutputListener
 
SubprocessEngine - class com.declarativa.interprolog.SubprocessEngine.
A PrologEngine implemented over TCP/IP sockets.
SubprocessEngine(String) - Constructor for class com.declarativa.interprolog.SubprocessEngine
 
SubprocessEngine(String, boolean) - Constructor for class com.declarativa.interprolog.SubprocessEngine
Construct a SubprocessEngine, launching a Prolog process in background.
SubprocessEngineWindow - class com.declarativa.interprolog.gui.SubprocessEngineWindow.
A ListenerWindow for a SubprocessEngine
SubprocessEngineWindow(SubprocessEngine) - Constructor for class com.declarativa.interprolog.gui.SubprocessEngineWindow
 
SubprocessEngineWindow(SubprocessEngine, boolean) - Constructor for class com.declarativa.interprolog.gui.SubprocessEngineWindow
 
succeeded - Variable in class com.declarativa.interprolog.util.ResultFromProlog
Goal has succeeded

T

target - Variable in class com.declarativa.interprolog.util.MessageFromProlog
 
teachMoreObjects(Object[]) - Method in class com.declarativa.interprolog.PrologEngine
Same as #teachMoreObjects(ObjectExamplePair[]), but example pairs are constructed with (2) repeated examples for each object
teachMoreObjects(ObjectExamplePair[]) - Method in class com.declarativa.interprolog.PrologEngine
Send an array of object example pairs to Prolog and generate ipObjectSpec facts.
teachOneObject(Object) - Method in class com.declarativa.interprolog.PrologEngine
Same as #teachMoreObjects(ObjectExamplePair[]), but the single example pair is constructed repeating the object
termChanged(TermModel) - Method in interface com.declarativa.interprolog.TermModelListener
 
TermListModel - class com.declarativa.interprolog.gui.TermListModel.
The Swing model to support a JList displaying Prolog terms
TermListModel(TermModel[]) - Constructor for class com.declarativa.interprolog.gui.TermListModel
 
TermListWindow - class com.declarativa.interprolog.gui.TermListWindow.
Displays a list of Prolog terms
TermListWindow(TermListModel) - Constructor for class com.declarativa.interprolog.gui.TermListWindow
 
TermModel - class com.declarativa.interprolog.TermModel.
Represents a Prolog term, as a tree of TermModel objects, each containing a term node and a children list.
TermModel() - Constructor for class com.declarativa.interprolog.TermModel
 
TermModel(Object) - Constructor for class com.declarativa.interprolog.TermModel
 
TermModel(Object, TermModel[]) - Constructor for class com.declarativa.interprolog.TermModel
 
TermModel(Object, Vector) - Constructor for class com.declarativa.interprolog.TermModel
 
TermModelListener - interface com.declarativa.interprolog.TermModelListener.
If you're interested in knowing that a (Java) term representation has changed implement this.
TermModelWindow - class com.declarativa.interprolog.gui.TermModelWindow.
Displays a Prolog term, using a JTree
TermModelWindow(TermModel) - Constructor for class com.declarativa.interprolog.gui.TermModelWindow
 
TermModelWindow(TermModel, PrologEngine) - Constructor for class com.declarativa.interprolog.gui.TermModelWindow
 
TermTreeModel - class com.declarativa.interprolog.gui.TermTreeModel.
Swing model for a multiple-pane hierarchical browser, defined by a Prolog tree
TermTreeModel(TermModel, TermTreeModel[]) - Constructor for class com.declarativa.interprolog.gui.TermTreeModel
 
TermTreePane - class com.declarativa.interprolog.gui.TermTreePane.
 
TermTreeWindow - class com.declarativa.interprolog.gui.TermTreeWindow.
Shows a multiple-pane hierarchical browser, defined by a Prolog tree
TermTreeWindow(TermTreeModel) - Constructor for class com.declarativa.interprolog.gui.TermTreeWindow
 
TermTreeWindow(TermTreeModel, Object[]) - Constructor for class com.declarativa.interprolog.gui.TermTreeWindow
 
timestamp - Variable in class com.declarativa.interprolog.util.ResultFromProlog
Same as passed in GoalFromJava
timestamp - Variable in class com.declarativa.interprolog.util.MessageFromProlog
 
toString() - Method in class com.declarativa.interprolog.TermModel
 
toString() - Method in class com.declarativa.interprolog.ObjectExamplePair
 
toString() - Method in class com.declarativa.interprolog.gui.PredicateTableModel
 
toString() - Method in class com.declarativa.interprolog.util.VariableNode
 
toString() - Method in class com.declarativa.interprolog.util.ResultFromProlog
 
toString() - Method in class com.declarativa.interprolog.util.ResultFromJava
 
toString() - Method in class com.declarativa.interprolog.util.MessageFromProlog
 
toString() - Method in class com.declarativa.interprolog.util.IPClassVariable
 
toString() - Method in class com.declarativa.interprolog.util.IPClassObject
 
toString() - Method in class com.declarativa.interprolog.util.InvisibleObject
 
toString() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
toString() - Method in class com.declarativa.interprolog.util.BasicTypeWrapper
 
toString(PrologOperatorsContext) - Method in class com.declarativa.interprolog.TermModel
 

V

valueForPathChanged(TreePath, Object) - Method in class com.declarativa.interprolog.TermModel
 
valueForPathChanged(TreePath, Object) - Method in class com.declarativa.interprolog.gui.RelationTreeModel
 
variableName - Variable in class com.declarativa.interprolog.util.IPClassVariable
 
VariableNode - class com.declarativa.interprolog.util.VariableNode.
TermModel node for a free Prolog variable.
version - Static variable in class com.declarativa.interprolog.PrologEngine
InterProlog version

W

waitForResult() - Method in class com.declarativa.interprolog.util.GoalToExecute
Obtain result for a Prolog goal, blocking until it is available
waitUntilAvailable() - Method in class com.declarativa.interprolog.PrologEngine
 
waitUntilIdle() - Method in class com.declarativa.interprolog.PrologEngine
Sleeps the current Java thread until this engine is available.
wasAborted() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
wasInterrupted() - Method in class com.declarativa.interprolog.util.GoalToExecute
 
windowActivated(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowClosed(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowClosing(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowDeactivated(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowDeiconified(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowIconified(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
windowOpened(WindowEvent) - Method in class com.declarativa.interprolog.gui.ListenerWindow
 
wrapper - Variable in class com.declarativa.interprolog.util.BasicTypeWrapper
 
writeObject(Object) - Method in class com.declarativa.interprolog.util.PrologOutputObjectStream
 

X

XSBTableModel - class com.declarativa.interprolog.gui.XSBTableModel.
Swing model for full contents of a XSB table
XSBTableModel(TermModel, TermTreeModel[], String) - Constructor for class com.declarativa.interprolog.gui.XSBTableModel
 
XSBTableWindow - class com.declarativa.interprolog.gui.XSBTableWindow.
Shows a XSB Prolog table
XSBTableWindow(XSBTableModel, Object[]) - Constructor for class com.declarativa.interprolog.gui.XSBTableWindow
 

A B C D E F G H I L M N O P R S T V W X