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

Method GetInput

avida-core/source/cpu/cTestCPU.h:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124// Inline Methods
125
126inline int cTestCPU::GetInput()
127{
128 if (cur_input >= input_array.GetSize()) cur_input = 0;
129 return input_array[cur_input++];
130}
131
132inline int cTestCPU::GetInputAt(int & input_pointer)
133{

Callers 3

UpdateCPUMethod · 0.45
UpdateCPU_OriginalMethod · 0.45
ViewInputsMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected