Skip to content

how to understand the function select_expand_action() in UCTnode.py ? #8

@stcy07

Description

@stcy07

in my opinion, the way choosing an action to expand is purely based on the prior probability or just random choice.
So why there is a while loop? I don't quite understand the "if" condintions in the loop, especially this one:

if self.children_visit_count[action] > 0 and count < 10: count += 1 continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions