This method will attempt to call this Query's goal within an available Prolog engine. @return the provability of the Query, i.e. 'true' if it has at least one solution, 'false' if the call fails without finding a solution. Only the first solution (if there is one) will
()
| 947 | * open. |
| 948 | */ |
| 949 | public final boolean hasSolution() { |
| 950 | return oneSolution() != null; |
| 951 | } |
| 952 | |
| 953 | /** |
| 954 | * This static method creates a Query (whose goal is the specified Term) and |