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

Method Inst_MarkCellWithID

avida-core/source/cpu/cHardwareCPU.cc:9488–9494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9486}
9487
9488bool cHardwareCPU::Inst_MarkCellWithID(cAvidaContext&)
9489{
9490 assert(m_organism != 0);
9491 m_organism->SetCellData(m_organism->GetID());
9492
9493 return true;
9494}
9495
9496bool cHardwareCPU::Inst_GetResStored(cAvidaContext&)
9497//Get amount of stored collect specific resource (how much do I have available for res_cost instructions).

Callers

nothing calls this directly

Calls 2

SetCellDataMethod · 0.45
GetIDMethod · 0.45

Tested by

no test coverage detected