August 2018
Beginner
334 pages
10h 19m
English
The recipe uses the BFS algorithm in order to discover nodes within its vision reach and then compares this set of nodes to the set where agents reside.
The input array is computed before being used by the algorithm and is beyond the scope of this recipe because it relies on pinpointing, for example, the position of each agent or object that needs to be checked visibly.
Read now
Unlock full access