Documentation
¶
Overview ¶
Copyright © 2022 Jacob Saporito
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 Jacob Saporito ¶
Copyright © 2022 Jacob Saporito ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- Variables
- func Execute()
- type Coordinate
- type Directory
- type File
- type HeightMap
- func (hMap *HeightMap) Get(coords rudolph.Coordinate) *rudolph.MapNode[rune]
- func (hMap *HeightMap) GetConnectedNodes(src rudolph.Coordinate) []rudolph.Coordinate
- func (hMap *HeightMap) GetMap() [][]*rudolph.MapNode[rune]
- func (hMap *HeightMap) Heuristic(src, dst rudolph.Coordinate) int
- func (hMap *HeightMap) SetMap(m [][]*rudolph.MapNode[rune])
- func (hMap *HeightMap) TravelCost(src, dst rudolph.Coordinate) int
- type Monkey
- type WeightedNode
Constants ¶
This section is empty.
Variables ¶
var Parts stockings.BitSet[int]
Functions ¶
Types ¶
type Coordinate ¶
type Coordinate struct {
// contains filtered or unexported fields
}
type Directory ¶
type Directory struct {
// contains filtered or unexported fields
}
func (Directory) Children ¶
func (d Directory) Children() map[string]*WeightedNode
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (File) Children ¶
func (f File) Children() map[string]*WeightedNode
type HeightMap ¶
func (*HeightMap) GetConnectedNodes ¶
func (hMap *HeightMap) GetConnectedNodes(src rudolph.Coordinate) []rudolph.Coordinate
func (*HeightMap) TravelCost ¶
func (hMap *HeightMap) TravelCost(src, dst rudolph.Coordinate) int
type WeightedNode ¶
type WeightedNode interface { Name() string Weight() int Children() map[string]*WeightedNode }