Click here to Skip to main content
Click here to Skip to main content

Tagged as

AI based on doubled Genetic Algorithm

, 17 Aug 2013
Rate this:
Please Sign up or sign in to vote.
Aha, tell me, why it will not work...

Please note

This article is an entry in our AppInnovation Contest. Articles in this sub-section are not required to be full articles so care should be taken when voting.

Introduction  

I  suggest to make a simple prototype of AI based on the famous John Koza's Genetic Algorithm with some minor modifications. It will demonstrate and educate, those who are interested, in capabilities of that approach to program AI for automatic solution of problems in the "Tetris" puzzle game for example.

Target platform : Tablet     

Category: Education (demonstration with explanations)  

Background 

There is a web-site of Prof. Koza, where programming with a classic GA is explained: 

>>> http://www.genetic-programming.com

Code   

I like to describe AI as some logical scheme, which consists of:

1) a node named "Sensors"; it gives information to the scheme;

2) a collection of nodes named "Angels"; each of those nodes is intended to analyze information from "Sensors" and memory to make its forecasts for any given plan of actions;

3) a node named "Judge"; it is intended to evaluate adequacy of each of the "Angels" by comparing their forecasts with reality;

4) a collection of nodes named "Souls"; each of those nodes is intended to analyze information from "Sensors" and memory to make its independent plan of optimal actions;

5) a node named "Desire"; it is intended to evaluate desirability of each plan from all of the "Souls";

6) a node named "Will"; it is intended to choose from all of the plans, which are evaluated by "Desire", only the best one, which commands executors, till a new better plan arises;

7) a node named "Actuators"; it gives information to executors;

8, 9) nodes intended to exercise genetical selection of the "Angels" and "Souls".

See the picture here:
>>> https://docs.google.com/drawings/d/1w5bBODzAsXwZ6iZsdcJB0D8yGu2f7NIMHtm1x6MYhRE

JavaScript is planned to be used for programming the prototype, so it will run on a conventional web-browser.

If you are interested, please, contact me, because I need your help.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Eugene Zavidovsky
Engineer UkSATSE
Ukraine Ukraine
Unfortunately, I do not have big experience in programming.

Comments and Discussions

 
AdminThanks for your submission! PinstaffKevin Priddle16-Aug-13 4:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 17 Aug 2013
Article Copyright 2013 by Eugene Zavidovsky
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid