def uniform_cost(problem, graph_search=False, viewer=None):
    return _search(problem,
                   BoundedPriorityQueue(),
                   graph_search=graph_search,
                   node_factory=SearchNodeCostOrdered,
                   graph_replace_when_better=True,
                   viewer=viewer)
Uniform cost search.
dataset/ETHPy150Open simpleai-team/simpleai/simpleai/search/traditional.py/uniform_cost