| 9115 | |
| 9116 | |
| 9117 | bool cHardwareCPU::Inst_IfTarget(cAvidaContext&) |
| 9118 | { |
| 9119 | int cellid = m_organism->GetCellID(); //absolute id of current cell |
| 9120 | |
| 9121 | if (cellid == -1) { |
| 9122 | return true; |
| 9123 | } |
| 9124 | |
| 9125 | int cell_data = m_world->GetPopulation().GetCell(cellid).GetCellData(); |
| 9126 | |
| 9127 | if (cell_data == -1) { |
| 9128 | getIP().Advance(); |
| 9129 | } |
| 9130 | |
| 9131 | return true; |
| 9132 | } //End Inst_IfTarget() |
| 9133 | |
| 9134 | |
| 9135 | bool cHardwareCPU::Inst_IfNotTarget(cAvidaContext&) |
nothing calls this directly
no test coverage detected