Search
Preparing search index...
The search index is not available
gym.js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
GridAlgorithmicEnv
Class GridAlgorithmicEnv
A 2 dimensional algorithmic env. Not tested yet.
Hierarchy
AlgorithmicEnv
GridAlgorithmicEnv
Implements
Env
Index
Constructors
constructor
Properties
MIN_
LENGTH
MOVEMENTS
action_
space
agent
Actions
base
charmap
col
cursor
done
input
Data
observation_
space
reward
reward_
range
row
rows
target
target
Length
Methods
close
gen
Input
Data
get
Str
Obs
move
render
renderHTML
reset
seed
set
Target
step
to
Obs
Constructors
constructor
new
Grid
Algorithmic
Env
(
rows
:
number
, base
?:
number
)
:
GridAlgorithmicEnv
Parameters
rows:
number
Optional
base:
number
Returns
GridAlgorithmicEnv
Properties
MIN_
LENGTH
MIN_
LENGTH
:
number
MOVEMENTS
MOVEMENTS
:
string
[]
action_
space
action_
space
:
DiscreteTuple
agent
Actions
agent
Actions
:
number
[]
base
base
:
number
charmap
charmap
:
string
[]
col
col
:
number
cursor
cursor
:
number
done
done
:
boolean
input
Data
input
Data
:
any
observation_
space
observation_
space
:
Discrete
reward
reward
:
number
reward_
range
reward_
range
:
Discrete
row
row
:
number
rows
rows
:
number
target
target
:
[]
target
Length
target
Length
:
number
Methods
close
close
(
)
:
void
Returns
void
gen
Input
Data
gen
Input
Data
(
size
:
number
)
:
any
Parameters
size:
number
Returns
any
get
Str
Obs
get
Str
Obs
(
)
:
string
Returns
string
move
move
(
action
:
actionSpace
)
:
void
Parameters
action:
actionSpace
Returns
void
render
render
(
)
:
void
Returns
void
renderHTML
renderHTML
(
)
:
string
Returns
string
reset
reset
(
)
:
tf.Tensor
Returns
tf.Tensor
seed
seed
(
seed
:
number
)
:
void
Parameters
seed:
number
Returns
void
Abstract
set
Target
set
Target
(
input_data
:
any
)
:
void
Parameters
input_data:
any
Returns
void
step
step
(
action
:
actionSpace
)
:
[
tf.Tensor
,
number
,
boolean
,
__type
]
Parameters
action:
actionSpace
Returns
[
tf.Tensor
,
number
,
boolean
,
__type
]
to
Obs
to
Obs
(
)
:
tf.Tensor
Returns
tf.Tensor
Globals
Algorithmic
Env
Copy
Discrete
Discrete
Tuple
Frozen
Lake
Grid
Algorithmic
Env
constructor
MIN_
LENGTH
MOVEMENTS
action_
space
agent
Actions
base
charmap
col
cursor
done
input
Data
observation_
space
reward
reward_
range
row
rows
target
target
Length
close
gen
Input
Data
get
Str
Obs
move
render
renderHTML
reset
seed
set
Target
step
to
Obs
Reverse
Snake
Tape
Algorithmic
Env
Wrapper
Env
Space
action
Space
decode
Action
randint
range
to
Array
Like
to
Num
Like
Generated using
TypeDoc
A 2 dimensional algorithmic env. Not tested yet.