concept goal in category algorithms

appears as: goal, goals, goal, The goal
Algorithms and Data Structures in Action

This is an excerpt from Manning's book Algorithms and Data Structures in Action.

We will see, in chapter 7, that sometimes combining two data structures for a goal is the best choice; this is not the time yet, for now you need to keep in mind, however, of the issues in coordinating such two containers, and also that you will likely need more than twice the memory.

#1 Method bfs takes a graph, a starting point vertex, and a predicate (isGoal) that takes a vertex and returns true if the goal of the search is reached. Method bfs returns a pair with the goal vertex, and a dictionary encoding the shortest paths.

Figure 14.16 An example of city map (Dublin’s city center), where the simplifications used to apply BFS for shortest paths wouldn’t be possible.
Grokking Artificial Intelligence Algorithms

This is an excerpt from Manning's book Grokking Artificial Intelligence Algorithms.

Several terms in computer science and AI are used to describe problems. Problems are classified based on the context and the goal.

Figure 2.4 An example of the maze problem