com.ugos.JIProlog.client
Class JIPSolution

java.lang.Object
  |
  +--com.ugos.JIProlog.client.JIPSolution

public class JIPSolution
extends java.lang.Object

JIPSolution wraps a solution returned by JIProlog Server.
For more information see the section "How to call JIProlog Server" in the Reference Manual

Version:
2.0
Author:
Ugo Chirico 2003
Home Page: http://www.ugosweb.com/jiprolog
See Also:
JIPClient

Method Summary
 java.util.Hashtable getInstantiatedVariables()
          Returns an hashtable containing all instantiated variables in the solution.
 java.lang.String getSolution()
          Returns a string representation of the solution.
 java.lang.String toString()
          Returns a string rapresentation of the solution containing also all instantiated variables.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSolution

public final java.lang.String getSolution()
Returns a string representation of the solution.

See Also:
JIPClient.nextSolution(), getInstantiatedVariables()

getInstantiatedVariables

public final java.util.Hashtable getInstantiatedVariables()
Returns an hashtable containing all instantiated variables in the solution.

See Also:
JIPClient.nextSolution(), getSolution()

toString

public final java.lang.String toString()
Returns a string rapresentation of the solution containing also all instantiated variables.

Overrides:
toString in class java.lang.Object
See Also:
JIPClient.nextSolution()