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

Function explain_find_cond

Core/SoarKernel/src/explain.cpp:384–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 **************************************************************************/
383
384condition* explain_find_cond(condition* target, condition* cond_list)
385{
386
387 condition* cond, *match;
388
389 match = NULL;
390 for (cond = cond_list; cond != NULL; cond = cond->next)
391 {
392 if (conditions_are_equal(target, cond))
393 {
394 match = cond;
395 }
396 }
397 return (match);
398}
399
400/***************************************************************************
401 * Function : explain_trace

Callers 1

explain_traceFunction · 0.85

Calls 1

conditions_are_equalFunction · 0.85

Tested by

no test coverage detected