acid-0.1.0.0: Artificial Circuit Designer
Safe HaskellNone
LanguageHaskell2010

ALG

Description

General Replay Buffer Types and TypeClasses

Synopsis

Documentation

class Agent a where Source #

Replay Buffer Interface

Methods

saveAgent :: FilePath -> a -> IO a Source #

Save an agent at a given Path

loadAgent :: Params -> FilePath -> Int -> Int -> Int -> IO a Source #

Load an agent saved at a Path

act :: a -> Tensor -> IO Tensor Source #

Take an action to the best Ability

act' :: a -> Tensor -> IO Tensor Source #

Take a noisy action

act'' :: a -> Tensor -> Tensor Source #

Take an action without any noise

updatePolicy :: Params -> CircusUrl -> Tracker -> Int -> [Transition] -> a -> IO a Source #

Update Policy

Instances

Instances details
Agent Agent Source #

TD3 Agent is an implements Agent

Instance details

Defined in ALG.TD3