A representation of the value function.
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.
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")