(v2.1)

Practical Implementation

Here is an example of a "game" which can be done with this algorithm. It is very simple.
Game 1:
This is a simple game, where a person (the system) moves around his house, from room to room.

Considerations:
- Is current location ok
- Do we want to move to a new location

HUBs in the systemet:
- LivingroomHUB
     - Common UNITs
     - 1 UNIT(data:"move location")
- KitchenHUB
     - Common UNITs
     - 1 UNIT(data:"move location")
- BedroomHUB
     - Common UNITs
     - 1 UNIT(data:"move location")
- PosibillitiesHUB
     - UNIT(data:"Livingroom"),
     - UNIT(data:"Kitchen"),
     - UNIT(data:"Bedroom")
- DecisionHUB
     - Simple:
     - UNIT(data: "NO"),
     - UNIT(data:"YES")
     - Advanced:
     - UNIT(data:"NO2"),
     - UNIT(data:"NO1"),
     - UNIT(data:"YESNO"),
     - UNIT(data:"YES1"),
     - UNIT(data:"YES2")

Implementation:
- Add a new SYSTEM, ThoughtPattern

Procedure:
- ThoughtPattern, runs after every CYC500

Code usage


OCCU = [ LivingroomHUB, KitchenHUB, BedroomHUB ]
if OCCU == DecisionHUB
     if USTAT == "NO"
          OCCU = [ LivingroomHUB, KitchenHUB, BedroomHUB ]
     if USTAT == "YES"
          OCCU = [ PosibillitiesHUB ]
else if OCCU == PosibillitiesHUB
     move to USTAT.data
     OCCU = [ LivingroomHUB, KitchenHUB, BedroomHUB ]
else
     if USTAT == "move location"
          OCCU = [ DecisionHUB ]
     else
          OCCU = OCCU



Glossary:

- UNIT: UNITs are the building blocks of the system. They repressent a thought.
     properties:
     index, used for determining a mass or force
     energy, sets a value for how often a UNIT can be visited over a periode of time
     data, a string of text

- HUB: HUBs group UNITs in a list.
     properties:
     list of UNITs
     subject, a string for naming the HUB

- OCCU: Actually means occupasion, the current occupation of the mind. Technically it references a list of HUBs, thereby grouping them into occupations.
     properties:
     name, names like "socializing", "hobbies" etc.
     list, a list of HUBs
     percentage, a percentage over a given time that is used on this occupasion

- SYSTEM: Systems are features besides the core functionality in the application

- CYC500: The way the current UNIT is determined is by running the algorithm 500 times and then find the statistically most occuring UNIT.

- USTAT: USTAT is the statistically most occuring UNIT.