placement

package
v0.0.0-...-b7edc3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Placement

type Placement struct {
	Cell  *client.Cell
	Score int
}

func NewPlacement

func NewPlacement(cell *client.Cell, score int) *Placement

type Placements

type Placements []*Placement

func (Placements) Len

func (p Placements) Len() int

func (Placements) Less

func (p Placements) Less(i, j int) bool

func (Placements) Swap

func (p Placements) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL