### Uniform Cost Search Algorithm from Russell&Norvig Artificial Intelligence Book

On page 84 of Russell&Norvig’s Artificial Intelligence Book, 3rd Ed., the algorithm for uniform cost search is given. I provided a screenshot of it here for your convenience. I am having trouble understanding the highlighted line if child.STATE is not in explored **or** frontier then Shouldn’t that be if child.STATE is not in explored **and**…