Skip to content

Suggested modification to Minimax-Decision (aima3e Figure 5.3)  #27

Open
@ctjoreilly

Description

@ctjoreilly

Rename the argument s in the following three lines of pseudocode:

return arg max a ∈ ACTIONS(s) MIN-VALUE(RESULT(state, a))

v ← MAX(v, MIN-VALUE(RESULT(s, a)))

v ← MIN(v, MAX-VALUE(RESULT(s, a)))

to state:

return arg max a ∈ ACTIONS(state) MIN-VALUE(RESULT(state, a))

v ← MAX(v, MIN-VALUE(RESULT(state, a)))

v ← MIN(v, MAX-VALUE(RESULT(state, a)))

due to state being the name of the argument passed to the relevant functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions