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 clickstimulation clickstimulation showstimulation sizestimulation initializestimulation getstimulation replacestimulation search basicstimulation search ra_rsstimulation search rlstimulation commitstimulation create tabstimulation removestimulation clearstimulation 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 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 show <fromUser>

Description

    To show the stimulation tab

Parameters

    fromUser:   The user - string - required
admin
stimulation show "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": {
"RS[1]": 0
},
"exclusion_basic_search_logic": {},
"exclusion_logic": {},
"_current_action_": "BASIC",
"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 size <fromUser>

Description

    To get the size of the stimulation tab

Parameters

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

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 get <fromUser> <index>

Description

    To get a specific stimulation

Parameters

    fromUser:   The user - string - required
    index:   The index - number - required
admin
stimulation 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 replace <fromUser> <json>

Description

    To replace a specific stimulation

Parameters

    fromUser:   The user - string - required
    json:   The json - string - required
admin
stimulation replace "admin" "[]";
mentdb
Stimulation replace with successful.

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 (*|A&S&L&G&I&O&U&D&R) - string - required
admin
stimulation search basic "admin" "*"
mentdb
Do not use!

stimulation search ra_rs <fromUser>

Description

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

Parameters

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

stimulation search rl <fromUser>

Description

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

Parameters

    fromUser:   The user - string - required
admin
stimulation search rl "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 create tab <fromUser>

Description

    To create a new tab into a stimulation in the brain

Parameters

    fromUser:   The user - string - required
admin
stimulation create tab "admin"
mentdb
Tab created with successful.

stimulation remove <fromUser> <index>

Description

    To remove a specific stimulation

Parameters

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

stimulation clear <fromUser>

Description

    To clear the stimulation tab

Parameters

    fromUser:   The user - string - required
admin
stimulation clear "mentdb"
mentdb
Stimulation cleared 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.