vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:11:3: error: 'add_xor' was not declared in this scope
add_xor(&positions[0]);
^~~~~~~
vision.cpp:13:4: error: 'position' was not declared in this scope
position[i] += W;
^~~~~~~~
vision.cpp:13:4: note: suggested alternative: 'positions'
position[i] += W;
^~~~~~~~
positions
vision.cpp:16:18: error: 'position' was not declared in this scope
positions.erase(position.begin(), positions.end());
^~~~~~~~
vision.cpp:16:18: note: suggested alternative: 'positions'
positions.erase(position.begin(), positions.end());
^~~~~~~~
positions
vision.cpp:22:3: error: 'add_xor' was not declared in this scope
add_xor(&positions[0]);
^~~~~~~
vision.cpp:42:4: error: 'add_and' was not declared in this scope
add_and(&positions[0]);
^~~~~~~
vision.cpp:52:4: error: 'add_and' was not declared in this scope
add_and(&positions[0]);
^~~~~~~
vision.cpp:67:24: error: 'start_pos' was not declared in this scope
positions.push_back(start_pos++);
^~~~~~~~~
vision.cpp:67:24: note: suggested alternative: 'start_pos_y'
positions.push_back(start_pos++);
^~~~~~~~~
start_pos_y
vision.cpp:69:3: error: 'add_or' was not declared in this scope
add_or(&positions[0]);
^~~~~~
vision.cpp:79:3: error: 'add_and' was not declared in this scope
add_and(&positions[0]);
^~~~~~~
vision.cpp:71:7: warning: unused variable 'options_x' [-Wunused-variable]
int options_x = W - (K - j);
^~~~~~~~~
vision.cpp:87:3: error: 'add_and' was not declared in this scope
add_and(&positions[0]);
^~~~~~~
vision.cpp:93:3: error: 'add_and' was not declared in this scope
add_and(&positions[0]);
^~~~~~~
vision.cpp:106:2: error: 'add_or' was not declared in this scope
add_or(&positions[0]);
^~~~~~
vision.cpp:57:6: warning: unused variable 'start_pos_y' [-Wunused-variable]
int start_pos_y = H*W + H + W;
^~~~~~~~~~~