Sign in to follow this  
Cris OGL

First Order Logic and C++

Recommended Posts

Cris OGL    122
Hi all. I am trying to develop the AI for a hide and seek game in Visual C++ but I am uncertain on how to include a knowledge base in first order logic (some prolog like, declarative language). Any quick way to do this? Do I need to write my own parser? :-(( How do usually AI systems combine procedural and declarative needs? Thanks a bunch.

Share this post


Link to post
Share on other sites
monstermunch    100
C++ is not a logic language so you shouldn't try to use it as one. Instead of writing your own Prolog interpreter, integrate your C++ code with a Prolog engine. There are several free ones that you can use that include packages for linking with C.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this