MCPcopy Create free account
hub / github.com/SoarGroup/Soar / smem_reinit

Function smem_reinit

Core/SoarKernel/src/semantic_memory.cpp:3345–3355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3343}
3344
3345void smem_reinit(agent* thisAgent)
3346{
3347 if (thisAgent->smem_db->get_status() == soar_module::connected)
3348 {
3349 if (thisAgent->smem_params->append_db->get_value() == off)
3350 {
3351 smem_close(thisAgent);
3352 smem_init_db(thisAgent);
3353 }
3354 }
3355}
3356
3357//////////////////////////////////////////////////////////
3358//////////////////////////////////////////////////////////

Callers 1

reinitialize_soarFunction · 0.85

Calls 4

smem_closeFunction · 0.85
smem_init_dbFunction · 0.85
get_statusMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected