R/agents.R

#' A sample random discrete agent.
#'
#' @param n The number of discrete action spaces available.
#' @return NULL.
#' @examples
#' agent <- random_discrete_agent(10)
#' @export
random_discrete_agent <- function(n) {
  invisible()
}

Try the gym package in your browser

Any scripts or data that you put into this service are public.

gym documentation built on May 1, 2019, 9:26 p.m.