Properties include any descriptive attribute given to something exists. Examples of properties that can be created include "color", "weight", "temperature", "state", "energy", "speed", etc... Some properties may be relevant to some concepts and not others.
Properties are an essential part of LifeAI, and the first thing that should be created. The properties that you create are shared by all minds and used to describe their concepts, similarities in categories, and changes in actions.
LifeAI allows up to 3 coordinates to be used for each property. The 3 coordinates are numbered 0, 1, and 2. You may only need the first coordinate (0) for some properties, such as if you create a "temperature" property. Temperature is a one-dimensional measurement. By contrast, a color property would likely take all 3 coordinates to describe the R/G/B color coordinates. Other properties may be even more basic and represent states. For example, an "isAwake" property would only use the first coordinate (0) and only be set to 0 or 1 depending on the state.
You can create as many properties as you need to describe the concepts in the real or virtual world that your AI inhabits.
Note: There is one property that is created by default: "position". The first time you create a property or mind in LifeAI, a "position" property will generate. You can get a pointer to this position property with Property::position() However, you aren't required to provide position data, despite the fact it is a default property. The default lower limit for all position coordinates is -500, and the default upper limit is 500. Consider if your units of measurements are centimeters, this is a 10m x 10m x 10m area. You can change the limits of the position property with setLimit(), but should do so before you add any position data.
Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation