restrict_action: Restrict actions of an extensive-form game

View source: R/restrict_action.R

restrict_actionR Documentation

Restrict actions of an extensive-form game

Description

restrict_actions restricts some actions of an extensive- form game defined by extensive_form().

Usage

restrict_action(game, action)

Arguments

game

An "extensive_form" class object created by extensive_form().

action

A named list of actions that can be chosen by players. The names must be node names: "n1", "n2", etc. A player can choose any action at the nodes that are not listed in this argument.

Value

A "restricted_game" class object in which players have to choose the actions specified by the user.

Author(s)

Yoshio Kamijo and Yuki Yanai yanai.yuki@kochi-tech.ac.jp


yukiyanai/rgamer documentation built on June 14, 2024, 7:38 p.m.