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

Method GetTargetIDs

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

Source from the content-addressed store, hash-verified

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();
160 Apto::Array<int> GetAttackPreyFTList() { return pp_fts; }
161

Callers 12

ProcessMethod · 0.80
Inst_SetForageTargetMethod · 0.80
Inst_SetForageTargetMethod · 0.80
Inst_SetForageTargetMethod · 0.80
Inst_ShowForageTargetMethod · 0.80
SetTraceQMethod · 0.80
PrintTargetsMethod · 0.80
PrintMimicDisplaysMethod · 0.80
PrintTopPredTargetsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected