Documentation ¶
Index ¶
- type Boundaries3D
- type Boundaries4D
- type Coordinate3DChange
- type Coordinate4DChange
- type Coordinates3D
- type Coordinates4D
- type Cubes3D
- func (c *Cubes3D) Active() int
- func (c *Cubes3D) Boundaries() Boundaries3D
- func (c *Cubes3D) Clone() *Cubes3D
- func (c *Cubes3D) Exists(coords Coordinates3D) bool
- func (c *Cubes3D) Iterate(times int) *Cubes3D
- func (c *Cubes3D) IterateOnce() *Cubes3D
- func (c *Cubes3D) NeighborsActive(coords Coordinates3D) int
- type Cubes4D
- func (c *Cubes4D) Active() int
- func (c *Cubes4D) Boundaries() Boundaries4D
- func (c *Cubes4D) Clone() *Cubes4D
- func (c *Cubes4D) Exists(coords Coordinates4D) bool
- func (c *Cubes4D) Iterate(times int) *Cubes4D
- func (c *Cubes4D) IterateOnce() *Cubes4D
- func (c *Cubes4D) NeighborsActive(coords Coordinates4D) int
- type Solver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boundaries3D ¶
type Boundaries4D ¶
type Coordinate3DChange ¶
type Coordinate3DChange struct { Coordinates3D Exists bool }
type Coordinate4DChange ¶
type Coordinate4DChange struct { Coordinates4D Exists bool }
type Coordinates3D ¶
type Coordinates3D struct {
X, Y, Z int
}
type Coordinates4D ¶
type Coordinates4D struct {
X, Y, Z, W int
}
type Cubes3D ¶
type Cubes3D map[Coordinates3D]bool
func (*Cubes3D) Boundaries ¶
func (c *Cubes3D) Boundaries() Boundaries3D
func (*Cubes3D) Exists ¶
func (c *Cubes3D) Exists(coords Coordinates3D) bool
func (*Cubes3D) IterateOnce ¶
func (*Cubes3D) NeighborsActive ¶
func (c *Cubes3D) NeighborsActive(coords Coordinates3D) int
type Cubes4D ¶
type Cubes4D map[Coordinates4D]bool
func (*Cubes4D) Boundaries ¶
func (c *Cubes4D) Boundaries() Boundaries4D
func (*Cubes4D) Exists ¶
func (c *Cubes4D) Exists(coords Coordinates4D) bool
func (*Cubes4D) IterateOnce ¶
func (*Cubes4D) NeighborsActive ¶
func (c *Cubes4D) NeighborsActive(coords Coordinates4D) int
type Solver ¶
func (*Solver) ProcessInput ¶
Click to show internal directories.
Click to hide internal directories.