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

Method AddTargetID

avida-core/source/main/cEnvironment.h:156–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 std::set<int> GetGroupIDs() { return possible_group_ids; }
155
156 void AddTargetID(int new_id) { possible_target_ids.insert(new_id); SetAttackPreyFTList(); }
157 bool IsTargetID(int test_id);
158 std::set<int> GetTargetIDs() { return possible_target_ids; }
159 void SetAttackPreyFTList();

Callers 11

Load_ConsumeTargetMethod · 0.80
Load_ConsumeTargetAndMethod · 0.80
Load_ConsumeTargetOrnMethod · 0.80
Load_ConsumeTargetOrMethod · 0.80
Load_ConsumeTargetNorMethod · 0.80
Load_ConsumeTargetXorMethod · 0.80
Load_ConsumeTargetEquMethod · 0.80
Load_MoveFTMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected