| 72 | |
| 73 | |
| 74 | bool Avida::Systematics::Unit::AddClassification(GroupPtr g) |
| 75 | { |
| 76 | for (int i = 0; i < m_groups->GetSize(); i++) if (m_groups->Get(i)->Role() == g->Role()) return false; |
| 77 | m_groups->Push(g); |
| 78 | return true; |
| 79 | } |
| 80 | |
| 81 | void Avida::Systematics::Unit::Reclassify(GroupPtr g) |
| 82 | { |
no test coverage detected