Description Usage Arguments Value Representations Examples
View source: R/valuefunction.R
A representation of the value function.
1 | makeValueFunction(class, args = list(), ...)
|
class |
[ |
args |
[ |
... |
[ |
[list(name, args)
] List with the name and optional args.
This list can then be passed onto makeAgent, which will construct the
value function accordingly.
ValueTable
ValueNetwork
1 2 3 4 | val = makeValueFunction("table", n.states = 16L, n.actions = 4L)
# If the number of states and actions is not supplied, the agent will try
# to figure these out from the environment object during interaction.
val = makeValueFunction("table")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.