Global

Members

number

# BlackJackAction

BlackJack actions

View Source core/src/Games/BlackJack/Action.ts, line 8

# FieldType

Type of a grid Field.

View Source core/src/Games/GridWorld/Grid/Grid.ts, line 8

# GridWorldAction

Actions of the grid world.

View Source core/src/Games/GridWorld/Action.ts, line 7

number

# TaxiAction

Taxi Actions

View Source core/src/Games/TaxiGame/Action.ts, line 8

# readonly TensorFillType

Enum of Initialization Types for a Tensor-Object

View Source core/src/Utils/Tensor.ts, line 10

number

# constant goalReward

The amount of point for reaching a final state.

View Source core/src/Games/GridWorld/Globals.ts, line 15

number

# constant illegalMovePenalty

The penalty on an illegal move.

View Source core/src/Games/GridWorld/Globals.ts, line 8

Methods

# TaxiUtils(relPosition) → {Vec2}

The Taxi Game Map

Parameters:
Name Type Description
relPosition Vec2

View Source core/src/Games/TaxiGame/TaxiUtils.ts, line 82

Vec2

# Utils/Evaluation(env, agent, iterations, randomSeed, maxIteration, resetEnvStats) → {object}

Module for Evaluations

Parameters:
Name Type Description
env SingleAgentEnvironment
agent Agent
iterations number
randomSeed number
maxIteration number
resetEnvStats boolean

View Source core/src/Utils/Evaluation.ts, line 43

object

# Utils/Generals(array, rngopt) → {Array}

static class for general utility

Parameters:
Name Type Attributes Description
array Array
rng seedrandom.PRNG <optional>

View Source core/src/Utils/General.ts, line 80

Array

# Utils/MathUtils(array) → {number}

static class for general utility

Parameters:
Name Type Description
array Array

View Source core/src/Utils/MathUtils.ts, line 42

number

Type Definitions

'Taxi' | 'BlackJack'

# EnvKey

Predefined Environment keys

View Source core/src/RLInterface/QuickRLJS.ts, line 92