memories (4)

Saving the Context

The context from a Brainhat session can be saved and resurrected at a later time. Below, we interact with Brainhat. Upon exit, the context is saved. We start Brainhat a second time and restore the context. Then, we check to see that the context has been restored. To tell Brainhat that we want to save the context, we invoke it with the -S flag, like so: $ ./brainhat -S /tmp/foo.mbin +repeat >> hello hello. >> i like you You like Me. >>…

Level-1 Memories

Memories come in several types. Level-1 memories are about attributes, simple propositions and equivalences. To create a level-1 memory, use the -1 flag: $ ./brainhat -1 +repeat Starting new memory hash. >> the princess is pretty the princess is pretty. >> the dog wants a glass of milk the dog wants a glass belonging to milk. >> i was king You were king. >> bye ################# goodbye! When execution completes, indexed memory files will be left behind. These can be resurrected in…

Level-2 Memories

Level-2 memories are explicit inference templates, such as "if i see a person then the person sees me." A level-2 memory will be resurrected when any of its conditions are similar to CCs in the newest portion of the context. To create a level-2 memory, use the "-2" flag. $ ./brainhat -2 +repeat Starting new memory hash. >> if i see a person then the person sees me if You see a person then the person sees You. >> bye # goodbye!…

Level-3 Memories (implicit inferences)

Level-3 memories, or "vignettes", are collections of CCs where the presence of some imply the presence of all. Level-3 memories can be arbitrarily large. We record a level-3 memory with the "-3" or "-V" flag. $ ./brainhat -3 +repeat Starting new memory hash. >> the weather was beautiful. the weather was pretty. >> the sun was shining. the sun shines. >> i walked on the beach You did walk on the beach. >> i lost my dog. You did lose your dog.