Пример #1
0
def qlearning_dict(Game, Level, w, N, delta, r_max=0, L0Dist=None):
    """
    Creates the specs shell for a game to be solved using Q learning.

    :arg Game: An iterated SemiNFG
    :type Game: iterSemiNFG

    .. seealso::
        See the Q Learning documentation (above) for details of the  optional arguments
    """
    return iterated_input_dict(Game, [('Level', Level), ('delta', delta),('w', w)],
                                  [('L0Dist', L0Dist), ('N', N),
                                   ('N', N), ('r_max', r_max)])
Пример #2
0
def mcrl_dict(Game, Level, J, N, delta, alpha=.5, eps=.2, L0Dist=None,
               pureout=False):
    """
    Creates the specs shell for a game to be solved using MCRL.

    :arg Game: An iterated SemiNFG
    :type Game: SemiNFG

    .. seealso::
        See the EWMA_MCRL documentation (above) for details of the  optional arguments

    """
    return iterated_input_dict(Game, [('Level', Level)], [('L0Dist', L0Dist), ('J', J),
                                                      ('N', N), ('delta', delta),
                                                      ('alpha', alpha), ('eps', eps),
                                                      ('pureout', pureout)])
Пример #3
0
def mcrl_dict(Game,
              Level,
              J,
              N,
              delta,
              alpha=.5,
              eps=.2,
              L0Dist=None,
              pureout=False):
    """
    Creates the specs shell for a game to be solved using MCRL.

    :arg Game: An iterated SemiNFG
    :type Game: SemiNFG

    .. seealso::
        See the EWMA_MCRL documentation (above) for details of the  optional arguments

    """
    return iterated_input_dict(Game, [('Level', Level)],
                               [('L0Dist', L0Dist), ('J', J), ('N', N),
                                ('delta', delta), ('alpha', alpha),
                                ('eps', eps), ('pureout', pureout)])