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

Method Task_OrNot

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

Source from the content-addressed store, hash-verified

530}
531
532double cTaskLib::Task_OrNot(cTaskContext& ctx) const
533{
534 const int logic_id = ctx.GetLogicId();
535 if (logic_id == 175 || logic_id == 187 || logic_id == 207 ||
536 logic_id == 221 || logic_id == 243 || logic_id == 245) return 1.0;
537
538 return 0.0;
539}
540
541double cTaskLib::Task_Or(cTaskContext& ctx) const
542{

Callers

nothing calls this directly

Calls 1

GetLogicIdMethod · 0.80

Tested by

no test coverage detected