LifeAI open source C++ library

  • 3 Replies
  • 4360 Views
*

jeremiah

  • Roomba
  • *
  • 6
LifeAI open source C++ library
« on: September 09, 2011, 12:57:38 am »
LifeAI is an open source C++ library for Artificial Intelligence decision-making. It can be integrated in video games, robotics, or any application that requires artificial intelligence.

Download LifeAI




What is the benefit of LifeAI?

LifeAI helps facilitate entity reactions to the changing dynamics of a complex, virtual or real environment.  The result is a greater sense of autonomy.

What does it include?

LifeAI includes functions for managing variables, and computes action preferences for entities based on the provided variables.  A file input/output system with specialized syntax is also included.  It does NOT include a system for pathfinding, image/audio analysis, or learning (though learning is a future goal).

How does it work?

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.

Why LifeAI instead of other AI solutions?

LifeAI was designed to be as simple, intuitive, and flexible as possible. It includes optimizations to perform well at real-time speeds.  It can be integrated in almost any project that requires artificial intelligence.

What AI theory is it based on?

It most closely resembles the Utility Theory.
« Last Edit: June 26, 2013, 02:22:53 am by jeremiah »

*

ivanv

  • Trusty Member
  • ***
  • Nomad
  • *
  • 89
  • automatic mistake machine
Re: LifeAI open source C++ library
« Reply #1 on: September 09, 2011, 11:20:01 am »
hi jeremiah :)

i've surfed over the site. i'm wandering how algorithm for best action decision works?

*

jeremiah

  • Roomba
  • *
  • 6
Re: LifeAI open source C++ library
« Reply #2 on: September 10, 2011, 12:22:53 am »
Sure. :)  First, you may want to refer to this if any of the terminology is foreign:
http://www.lifeai.com/guide_files/general.html#terms
Here is a description of entity logic when actions are considered in laiUpdate():

1. Variable requirements considered, action only occurs if met

2. Entity requirements considered, entities only considered for roles if met

3. Modification amounts calculated
- starts with raw mod amount
- adjusted by mod influencers.
(Influencers are calculated by first determining how far the stat amount is from the universal stat norm.  Once that is obtained, they are divided by the stat norm.  For inverse influencers, the relationship is flipped.  The norm is divided by the stat amount.  Influencers are also scaled by a weight.)
- restricted by stat min/max
- restricted by mod min/max

4. Modification values calculated
- calculate percentage of stat modified
- multiply percentage modified by entity value of stat
- adjusted by mod value influencers
- restricted by mod value min/max

5. Role values calculated
- all of the mod values added together for the role
- entity in a particular role looks at the role values of all roles, scales them according to their value of the entity occupying the role, adds the resulting scaled and polarized role values together to form their final role val.
- restricted by role value min/max
« Last Edit: June 26, 2013, 02:26:24 am by jeremiah »

*

jeremiah

  • Roomba
  • *
  • 6
Re: LifeAI open source C++ library
« Reply #3 on: June 26, 2013, 02:27:29 am »
Version 1.1 is now available. This release focuses on usability enhancements.  Highlights of the release include:

- Actions with negative values can now be selected as the "best action". Enables entities to choose the "lesser of two evils," if an action with a positive value is not an option.
- Added support for new "string" type. Convenient for storing words or phrases in LifeAI files.
- Added feature for creating multiple instances of variables, stats, strings, entities, and actions in LifeAI files at the time of their creation.
- Added laiSetLink() and laiSync() functions as an alternative way to sync data to and from LifeAI. Allows linking the memory address of a data type such as a floating point number to a variable, stat, or string in LifeAI. When laiSync() is called, syncs changes in the data to LifeAI.

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

260 Guests, 0 Users

Most Online Today: 532. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles