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

Method Task_AndNot

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

Source from the content-addressed store, hash-verified

546}
547
548double cTaskLib::Task_AndNot(cTaskContext& ctx) const
549{
550 const int logic_id = ctx.GetLogicId();
551 if (logic_id == 10 || logic_id == 12 || logic_id == 34 ||
552 logic_id == 48 || logic_id == 68 || logic_id == 80) return 1.0;
553
554 return 0.0;
555}
556
557double cTaskLib::Task_Nor(cTaskContext& ctx) const
558{

Callers

nothing calls this directly

Calls 1

GetLogicIdMethod · 0.80

Tested by

no test coverage detected