Env: Environment Object

Description Usage Arguments Details Value Examples

View source: R/base.R

Description

The function Env() creates an environment object.

Usage

1
Env(internal_state = 0, rng_state = .Random.seed)

Arguments

internal_state

the internal state ("everything is Markov")

rng_state

the RNG state for non-deterministic evolution

Details

This is an abstract class, and should not be used directly. The purpose of this class is to provide a recommended template for developers. Standard methods include Observe, Seed, Step, and Reset.

Value

an environment object (class = "Env")

Examples

1
Env(1)

XiaoqiLu/PhD-Thesis documentation built on March 1, 2021, 10:49 a.m.