GNU Prolog for Java

Package gnu.prolog.demo.mentalarithmetic

This package contains a simple demo program showing how to use gnu.prolog in java programs in order to do backtracking search.

See:
          Description

Class Summary
MentalArithmetic This is the main class of the mentalarithemtic program.
 

Exception Summary
NoAnswerException Exception thrown when we have no answer to give.
 

Package gnu.prolog.demo.mentalarithmetic Description

This package contains a simple demo program showing how to use gnu.prolog in java programs in order to do backtracking search. It does this by using Prolog to do backtracking search to find suitable questions to ask for mental arithmetic problems.


GNU Prolog for Java