Advertisement

New to AI and ALife i need some help

Started by October 01, 2008 03:33 AM
0 comments, last by sparks_wa 16 years, 1 month ago
inspiration: http://mind.sourceforge.net/alife.html first of all i just want to say that this is not a knightrider wannabe thing. i want to have this working on my normal computer b4 i put it in my car Basically I have for a while wanted to try my hand at creating a full blown AI. i have created a few basic ones b4 but nothing like this. i am starting to do it know because i have the time and i have just finished putting a computer into my car. The idea behind what i am trying to do is this... i want to try and model it using alife concepts but i think it is going to be closer to AI. I want to have a main class that will control everything, like a human brain, it doesnt actually do anything it just takes input from parts of the body and feeds outputs to other parts. i think this is called an alife mind loop, but i dont think mine will be looping it will just be there to handle events that get triggered by other parts of the AI. THe whole idea of this is for me to teach myself about ai and to also to use this ai in such a way that it learns what i like to do in the car and can react to it. Things like temp control maybe i will then have 6 sections: security, sensorium, emotion, think, volition and motorium. each of these will create outputs based on what the recieve from other parts through the brain class. this loop can be triggered by an event that occurs in security or sensorium security is the initial layer because it is where the user inputs are trigered. I originally took this layer out because i thought it was the self preservation class/layer but from what i understand it is there for our security. Is that correct? sensorium is obviously where all the sensor events a triggered. in a computer this can be things as simple as hdd capacity reaching x% or getting the current CPU core temp ever x seconds. In a car this will be things like speed and revs, GPS or anything that comes out of the OBD II unit. Emotion, this is going to be my favorite one :) this class will be used to find out how the ai "Feels" about sensor data output or security output. so lets say that i am driving along and the revs get updated this will trigger and event in a sensorium module that will shoot back the the mind module it will then relay it to the emotions module that was build to deal with this. the emotions module will then decide how it is going to deal with the by how it FEELS about the revs i.e. is it to high, to low or just right. it will then feed that result back to the mind class. But my idea is that if it keeps sending messges that say i am going to high then i want it to "learn" new values for to high, to low, and just right. now the way i want to do this is to create classes that deal with each specific part of a car like revs wouold be one part. this seems to sound similiar to a Neural Net but i'm not sure. or should i create one class that looks at a whole bunch of xml files that will tell it what to feel i.e. <Feeling name="RevolutionsPerMinute"> <Level name="TooLow"> <minvalue value=0 /> <maxvalue value=1000 /> </Level> <Level name="JustRight"> <minvalue value=1000 /> <maxvalue value=7500 /> </Level> <Level name="TooHigh"> <minvalue value=7500 /> <maxvalue value=25000/> some nice high value </Level> </feeling> what do you think? i need everyones help on this as a whole for the project and on specific parts. I can write more about the rest if you like. the main thing that i want to do with this is to create the base ai so that it doesnt matter what environment it is in it will still work. i want to try to keep it modulated aswell. like havcing all the different sensors have there own class How should i get started on the base AI has anyone done anything similiar to this
has anyone got any ideas?

This topic is closed to new replies.

Advertisement