MCPcopy Create free account
hub / github.com/devosoft/avida / Task_And

Method Task_And

avida-core/source/main/cTaskLib.cc:525–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525double cTaskLib::Task_And(cTaskContext& ctx) const
526{
527 const int logic_id = ctx.GetLogicId();
528 if (logic_id == 136 || logic_id == 160 || logic_id == 192) return 1.0;
529 return 0.0;
530}
531
532double cTaskLib::Task_OrNot(cTaskContext& ctx) const
533{

Callers

nothing calls this directly

Calls 1

GetLogicIdMethod · 0.80

Tested by

no test coverage detected