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

Method Task_Not

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

Source from the content-addressed store, hash-verified

509}
510
511double cTaskLib::Task_Not(cTaskContext& ctx) const
512{
513 const int logic_id = ctx.GetLogicId();
514 if (logic_id == 15 || logic_id == 51 || logic_id == 85) return 1.0;
515 return 0.0;
516}
517
518double cTaskLib::Task_Nand(cTaskContext& ctx) const
519{

Callers

nothing calls this directly

Calls 1

GetLogicIdMethod · 0.80

Tested by

no test coverage detected