Page 1 of 1

LifeAI open source C++ library

PostPosted: 09 Sep 2011, 03:26
by jeremiah
LifeAI is an open source C++ library for Artificial Intelligence decision-making. It can be integrated in computer games, robotics, or anything that requires simulated intelligence.

Entities and actions are created in C++ and text files with LifeAI's syntax. Entities have characteristics that describe them called "stats". They consider their value of the stats and how much they are modified to assess the "pros" and "cons" of an action. They also consider their value of other entities involved in the action and how it affects them. They can then determine an overall value for performing the action. As stats in the simulation change, LifeAI updates the best action options for the entities. The actions can then be implemented as needed in a simulation.

LifeAI is licensed under the MIT X11 license. The library and a demonstration application can be downloaded at this link:

http://www.lifeai.com/download.html

Re: LifeAI open source C++ library

PostPosted: 09 Sep 2011, 04:43
by charlie
That's really cool :) though you should do a video to show it off even more! Not everybody has Windows/DirectX.

Re: LifeAI open source C++ library

PostPosted: 09 Sep 2011, 19:44
by farcodev
cool demo, even if i didn't like to have my mouse locked on it.

But it's a great job at the simulation level, keep it up ! :)

Re: LifeAI open source C++ library

PostPosted: 10 Sep 2011, 01:03
by jeremiah
Thanks for the feedback, guys :)

@charlie - Thanks for the suggestion! I have now added a "watch video" link to the download page. It can also be viewed at this url: http://vimeo.com/28839032

Re: LifeAI open source C++ library

PostPosted: 10 Sep 2011, 13:55
by FreakNigh
Is this completely a home grown AI or do you have influences from already established algorithms? If so what algorithms are you employing and what's your strategy? Is there a brief explanation on how it works?

Re: LifeAI open source C++ library

PostPosted: 10 Sep 2011, 22:13
by jeremiah
Sure - LifeAI isn't based on an established AI system, but closely follows human logic. It is based on the idea that we have characteristics that define us (stats), and we value those stats differently.

So when an action modifies those stats, it considers how much of the stat is modified and how much that is valued. Furthermore, we consider our value toward the entities involved, whether positive or negative. Similar to how we tally "pros" and "cons" in our minds about action choices, the entities in LifeAI do the same.

This is the basics, but of course there is a lot more to it. I recommend the general section of the guide http://www.lifeai.com/guide_files/general.html for additional information.

Re: LifeAI open source C++ library

PostPosted: 10 Sep 2011, 22:42
by FreakNigh
I've studied a fair share of AI but haven't implemented a lot so I can't argue it very well. However I think you'd love to read this book - Artificial Intelligence: A Modern Approach http://aima.cs.berkeley.edu/ . I've read page by page half of it and another book on AI for games as well as philosophy and psychology which you'll find is related to AI. Also if you can sign up for this free AI class that stanford is giving, it just started so hopefully you still can - http://www.ai-class.com/ .

Re: LifeAI open source C++ library

PostPosted: 10 Sep 2011, 23:04
by jeremiah
Thanks for the info, FreakNigh. Btw, noticed your avatar. I'm a huge Ron Paul fan too ;)

Re: LifeAI open source C++ library

PostPosted: 12 Sep 2011, 09:08
by jeremiah
I have revised the main LifeAI page and my initial forum post with a clear, concise description of LifeAI's logic due to the feedback I was receiving.