vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:16:23: error: 'add_or' was not declared in this scope
idx_diag[i] = add_or(vdiag[i]);
^~~~~~
vision.cpp:20:24: error: 'add_or' was not declared in this scope
idx_diag2[i] = add_or(vdiag2[i]);
^~~~~~
vision.cpp:24:23: error: 'add_and' was not declared in this scope
tmp.push_back(add_and({idx_diag[i], idx_diag[i+K]}));
^~~~~~~
vision.cpp:41:46: error: 'add_or' was not declared in this scope
tmp2.push_back(add_and({idx_diag[i], add_or(vtmp)}));
^~~~~~
vision.cpp:41:24: error: 'add_and' was not declared in this scope
tmp2.push_back(add_and({idx_diag[i], add_or(vtmp)}));
^~~~~~~
vision.cpp:47:14: error: 'add_or' was not declared in this scope
add_and({add_or(tmp), add_not(add_or(tmp2))});
^~~~~~
vision.cpp:47:27: error: 'add_not' was not declared in this scope
add_and({add_or(tmp), add_not(add_or(tmp2))});
^~~~~~~
vision.cpp:47:5: error: 'add_and' was not declared in this scope
add_and({add_or(tmp), add_not(add_or(tmp2))});
^~~~~~~