Worker.A3C: Defines an Agent based on the A3C-Algorithm

Description Usage Arguments Details

View source: R/AsynchronousAdvantageActorCritic.R

Description

Internal function which is called from Train.A3C.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Worker.A3C(
  worker.number,
  game.state,
  model.par,
  algo.par,
  algo.var.worker,
  game.object,
  weights,
  Worker.Episode,
  model
)

Arguments

worker.number

Number to identify the given worker.

game.state

Game State from the last round.

model.par

A list as given by Get.Def.Par.Neural.Network.A3C or Get.Def.Par.Neural.Network.A3C.LSTM.

algo.par

A list as given by Get.Def.Par.A3C.

algo.var.worker

A list as given by Initialise.A3C.

game.object

A Game Object (list) as defined by Get.Game.Object.<NAME>.

weights

Network weights from the Master Network.

Worker.Episode

The actual Episode of the Worker.

model

A Model as given by Setup.Neural.Network.A3C or Setup.Neural.Network.A3C.LSTM

Details

Returns a list with the following items


MartinKies/RLR documentation built on Dec. 24, 2019, 10:02 p.m.