Documentation
¶
Index ¶
- Constants
- func RenderCube(r core.Renderer, c rubix.Cube, turn rubix.Move, frac float64, ox, oy float64)
- type Config
- type Env
- func (e *Env) ActionSpec() core.Spec
- func (e *Env) Bounds() (minX, minY, maxX, maxY float64)
- func (e *Env) ObservationSpec() core.Spec
- func (e *Env) Render(r core.Renderer)
- func (e *Env) Reset(rng *rand.Rand) core.State
- func (e *Env) Solved() bool
- func (e *Env) Step(a core.Action) (core.State, core.Reward, bool)
- type State
Constants ¶
View Source
const ( NetW = cell NetH = cell )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) ActionSpec ¶
func (*Env) ObservationSpec ¶
Click to show internal directories.
Click to hide internal directories.