Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Permutations ¶
Types ¶
type Arrangement ¶
type Arrangement struct {
// contains filtered or unexported fields
}
func NewArrangement ¶
func NewArrangement(rules Rules) *Arrangement
func (*Arrangement) FindBest ¶
func (a *Arrangement) FindBest()
func (*Arrangement) PairScore ¶
func (a *Arrangement) PairScore(who, next string) int
func (*Arrangement) Positions ¶
func (a *Arrangement) Positions() []string
func (*Arrangement) Score ¶
func (a *Arrangement) Score() int
Click to show internal directories.
Click to hide internal directories.