MentDB, The digital brain.  About me Home
Back / All functions / Stimulation

Mental processes are based on a stimulation table.
This table allows to memorize all the actions executed by the AI.
You can execute clicks on the brain after initialize the stimulation.

stimulation initializestimulation initializestimulation clickstimulation clickstimulation splitstimulation msg getstimulation search basicstimulation search strategicstimulation search logicalstimulation commitstimulation msg showstimulation msg sizestimulation msg savestimulation msg removestimulation redirect

stimulation initialize <str>

Description

    To initialize a stimulation into the brain

Parameters

    str:   The string - string - required
admin
stimulation initialize "bonjour"
mentdb
[
{
"thought_list": "TH[70]",
"reader_found_word": [
"bonjour"
],
"first_checked_relation": null,
"validated_relation": null,
"fromUser": "mentdb",
"reader_exclusion": {},
"io_relation": "RI[1]",
"_current_action_": "INITIALIZATION",
"reader_found_type": [],
"i_basic_search": -1.0,
"output": [],
"input": "bonjour",
"i_last_strategies": 0.0,
"_next_action_": "basic_search",
"last_strategies": [],
"has_a_condition": "0"
}
]

stimulation initialize <fromUser> <str>

Description

    To initialize a stimulation into the brain

Parameters

    fromUser:   The user - string - required
    str:   The string - string - required
admin
stimulation initialize "admin" "bonjour"
mentdb
[
{
"thought_list": "TH[70]",
"reader_found_word": [
"bonjour"
],
"first_checked_relation": null,
"validated_relation": null,
"fromUser": "admin",
"reader_exclusion": {},
"io_relation": "RI[3]",
"_current_action_": "INITIALIZATION",
"reader_found_type": [],
"i_basic_search": -1.0,
"output": [],
"input": "bonjour",
"i_last_strategies": 0.0,
"_next_action_": "basic_search",
"last_strategies": [],
"has_a_condition": "0"
}
]

stimulation click <fromUser>

Description

    To click (execute) a stimulation into the brain

Parameters

    fromUser:   The user - string - required
admin
stimulation click "mentdb"
mentdb
[
{
"thought_list": "TH[70]",
"reader_found_word": [
"bonjour"
],
"first_checked_relation": null,
"validated_relation": null,
"fromUser": "mentdb",
"reader_exclusion": {},
"io_relation": "RI[1]",
"_current_action_": "INITIALIZATION",
"reader_found_type": [],
"i_basic_search": 1.0,
"output": [],
"input": "bonjour",
"i_last_strategies": 0.0,
"_next_action_": "basic_search",
"last_strategies": [],
"has_a_condition": "0"
},
{
"_next_action_": "search_strategy",
"exclusion_strategic": {},
"exclusion_basic_search_logic": {},
"exclusion_logic": {},
"_current_action_": "BASIC_SEARCH",
"exclusion_basic_search_strategic": {},
"ordered_basic_search": [
"RI[0] 51",
"RR[2] 51"
]
}
]

stimulation click

Description

    To click (execute) a stimulation into the brain

admin
stimulation click
mentdb
[
{
"thought_list": "TH[70]",
"reader_found_word": [
"bonjour"
],
"first_checked_relation": null,
"validated_relation": null,
"fromUser": "mentdb",
"reader_exclusion": {},
"io_relation": "RI[1]",
"_current_action_": "INITIALIZATION",
"reader_found_type": [],
"i_basic_search": 1.0,
"output": [],
"input": "bonjour",
"i_last_strategies": 0.0,
"_next_action_": "basic_search",
"last_strategies": [],
"has_a_condition": "0"
},
{
"_next_action_": "search_strategy",
"exclusion_strategic": {
"RS[1]": 0
},
"exclusion_basic_search_logic": {},
"exclusion_logic": {},
"_current_action_": "BASIC_SEARCH",
"exclusion_basic_search_strategic": {
"RI[0]": 0
},
"ordered_basic_search": [
"RI[0] 51",
"RR[2] 51"
]
},
{
"_next_action_": "check_relation",
"_current_action_": "SEARCH_STRATEGY",
"relation": "RS[1]"
}
]

stimulation split <str>

Description

    Split a stimulation

Parameters

    str:   The string - String - required
admin
stimulation split "bonjour"
mentdb
...

stimulation msg get <fromUser> <index>

Description

    To get a specific stimulation

Parameters

    fromUser:   The user - string - required
    index:   The index - number - required
admin
stimulation msg get "admin" 0;
mentdb
[
{
"thought_list": "TH[70]",
"reader_found_word": [
"bonjour"
],
"first_checked_relation": null,
"validated_relation": null,
"fromUser": "admin",
"reader_exclusion": {},
"io_relation": "RI[3]",
"_current_action_": "INITIALIZATION",
"reader_found_type": [],
"i_basic_search": -1.0,
"output": [],
"input": "bonjour",
"i_last_strategies": 0.0,
"_next_action_": "basic_search",
"last_strategies": [],
"has_a_condition": "0"
}
]

stimulation search basic <fromUser> <typeList>

Description

    Do not use! This function is used by mental process to make a basic search into the brain

Parameters

    fromUser:   The user - string - required
    typeList:   The type liste (*|SsLG0123456789TAIOUDR) - string - required
admin
stimulation search basic "admin" "*"
mentdb
Do not use!

stimulation search strategic <fromUser>

Description

    Do not use! This function is used by mental process to search a RS or Rs strategy into the brain

Parameters

    fromUser:   The user - string - required
admin
stimulation search strategic "admin"
mentdb
Do not use!

stimulation search logical <fromUser>

Description

    Do not use! This function is used by mental process to search a RL or RT relation into the brain

Parameters

    fromUser:   The user - string - required
admin
stimulation search logical "admin"
mentdb
Do not use!

stimulation commit

Description

    Do not use! This function is used by mental process to commit a stimulation into the brain by the ai user

admin
stimulation commit
mentdb
Do not use!

stimulation msg show <fromUser>

Description

    To show the process tab for a specific user

Parameters

    fromUser:   The user - string - required
admin
stimulation msg show "admin"
mentdb
...

stimulation msg size <fromUser>

Description

    To get the size of the process tab for a specific user

Parameters

    fromUser:   The user - string - required
admin
stimulation msg size "admin"
mentdb
5

stimulation msg save <fromUser>

Description

    To save a specific stimulation into the user node

Parameters

    fromUser:   The user - string - required
admin
stimulation msg save "admin";
mentdb
Message saved with successful.

stimulation msg remove <fromUser> <index>

Description

    To remove a specific process from a tab

Parameters

    fromUser:   The user - string - required
    index:   The index - number - required
admin
stimulation msg remove "admin" 0;
mentdb
Process removed with successful.

stimulation redirect <fromUser> <data>

Description

    To redirect a relation into the stimulation tab

Parameters

    fromUser:   The user - string - required
    data:   The data - string - required
admin
stimulation redirect "admin" RL[2]
mentdb
Redirection executed with successfully.




© 2012-2017 - Jimmitry Payet.