Exemplo n.º 1
0
def veryWeakDom(filename):
    dict = {}
    game = filename
    ip.buildUserTable(dict, game)
    k_players = ip.findNumPlayers(game)
    k_action_vect = ip.findActionsVect(game)
    findVeryWeaklyDominantEquilibriaVect(dict, k_players, k_action_vect)
Exemplo n.º 2
0
def strongDom(filename):
    dict = {}
    game = filename
    ip.buildUserTable(dict, game)
    k_players = ip.findNumPlayers(game)
    k_action_vect = ip.findActionsVect(game)
    findStronglyDominantEquilibriumVect(dict, k_players, k_action_vect)
Exemplo n.º 3
0
def minmax(filename):
    dict = {}
    game = filename
    ip.buildUserTable(dict, game)
    k_players = ip.findNumPlayers(game)
    k_action_vect = ip.findActionsVect(game)
    findMinmaxForAllPlayers(dict, k_players, k_action_vect)
Exemplo n.º 4
0
def PSNE(filename):
    dict = {}
    ip.buildUserTable(dict, filename)
    k_players = ip.findNumPlayers(filename)
    k_action_vect = ip.findActionsVect(filename)
    marker_dict = {}
    makeEmptyMarkerDict(marker_dict, k_players, k_action_vect)
    markAllBestResponses(dict, marker_dict, k_players, k_action_vect)
    findPSNE(marker_dict, k_players, k_action_vect)