Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GridAlgorithmicEnv

A 2 dimensional algorithmic env. Not tested yet.

Hierarchy

Implements

Index

Constructors

constructor

Properties

MIN_LENGTH

MIN_LENGTH: number

MOVEMENTS

MOVEMENTS: string[]

action_space

action_space: DiscreteTuple

agentActions

agentActions: number[]

base

base: number

charmap

charmap: string[]

col

col: number

cursor

cursor: number

done

done: boolean

inputData

inputData: any

observation_space

observation_space: Discrete

reward

reward: number

reward_range

reward_range: Discrete

row

row: number

rows

rows: number

target

target: []

targetLength

targetLength: number

Methods

close

  • close(): void

genInputData

  • genInputData(size: number): any

getStrObs

  • getStrObs(): string

move

render

  • render(): void

renderHTML

  • renderHTML(): string

reset

  • reset(): tf.Tensor

seed

  • seed(seed: number): void
  • Parameters

    • seed: number

    Returns void

Abstract setTarget

  • setTarget(input_data: any): void
  • Parameters

    • input_data: any

    Returns void

step

  • step(action: actionSpace): [tf.Tensor, number, boolean, __type]
  • Parameters

    Returns [tf.Tensor, number, boolean, __type]

toObs

  • toObs(): tf.Tensor
  • Returns tf.Tensor

Generated using TypeDoc