vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:2:2: error: 'vector' was not declared in this scope
2 | vector<int> possibilities;
| ^~~~~~
vision.cpp:2:9: error: expected primary-expression before 'int'
2 | vector<int> possibilities;
| ^~~
vision.cpp:6:20: error: expected primary-expression before 'int'
6 | vector<int> AtDistanceK;
| ^~~
vision.cpp:7:13: error: 'AtDistanceK' was not declared in this scope
7 | AtDistanceK.push_back(PosAct);
| ^~~~~~~~~~~
vision.cpp:27:39: error: 'add_or' was not declared in this scope
27 | int hasTwoOnes = add_and({add_or(AtDistanceK), add_not(add_xor(AtDistanceK))});
| ^~~~~~
vision.cpp:27:68: error: 'add_xor' was not declared in this scope
27 | int hasTwoOnes = add_and({add_or(AtDistanceK), add_not(add_xor(AtDistanceK))});
| ^~~~~~~
vision.cpp:27:60: error: 'add_not' was not declared in this scope
27 | int hasTwoOnes = add_and({add_or(AtDistanceK), add_not(add_xor(AtDistanceK))});
| ^~~~~~~
vision.cpp:27:30: error: 'add_and' was not declared in this scope
27 | int hasTwoOnes = add_and({add_or(AtDistanceK), add_not(add_xor(AtDistanceK))});
| ^~~~~~~
vision.cpp:28:13: error: 'possibilities' was not declared in this scope
28 | possibilities.push_back(hasTwoOnes);
| ^~~~~~~~~~~~~
vision.cpp:31:9: error: 'possibilities' was not declared in this scope
31 | add_or(possibilities);
| ^~~~~~~~~~~~~
vision.cpp:31:2: error: 'add_or' was not declared in this scope
31 | add_or(possibilities);
| ^~~~~~