Returns the weights of the value function representation of the agent.

getValueFunction(agent)

Arguments

agent

[Agent] An agent created by makeAgent.

Value

For a value function table this will return a matrix, for a neural network a list with the weights of the layers.