Versions in this module Expand all Collapse all v1 v1.0.1 Nov 28, 2022 Changes in this version + const DOWN + const LEFT + const RIGHT + const UP + var GH1 = func(s *state.State) *int + var GH2 = func(s *state.State) *int + var H1 = func(s *state.State) *int + var H2 = func(s *state.State) *int + var NoFunc = func(s *state.State) *int + var PROMPT = strings.Join([]string{UP, DOWN, LEFT, RIGHT}, ", ") + ">" + type AStar struct + func (a *AStar) Search(start state.State) *state.State + func (a *AStar) Steps() int + type Algor interface + Search func(start state.State) *state.State + Steps func() int + type Bfs struct + func (b *Bfs) Search(start state.State) *state.State + func (b *Bfs) Steps() int + type Dfs struct + func (d *Dfs) Search(start state.State) *state.State + func (d *Dfs) Steps() int + type HillClimbing struct + func (hc *HillClimbing) Search(start state.State) *state.State + func (hc *HillClimbing) Steps() int + type NoAlgor struct + func (a *NoAlgor) Search(start state.State) *state.State + func (a *NoAlgor) Steps() int