Documentation
¶
Index ¶
- func Part1()
- func Part2()
- type Action
- type Move
- type Open
- type Path
- type Rest
- type Valve
- type ValveSet
- func (vs *ValveSet) AreNeighbours(t1, t2 string) bool
- func (vs *ValveSet) DistanceBetween(t1, t2 string) float64
- func (vs *ValveSet) Equal(t1, t2 string) bool
- func (vs *ValveSet) Fitness(start string, path *Path) int
- func (vs *ValveSet) Nodes() []string
- func (vs *ValveSet) ShortestPath(from string, to string) ([]string, int)
- func (vs *ValveSet) Valve(id string) *Valve
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Valve ¶
func (Valve) HasTunnelTo ¶
type ValveSet ¶
func (*ValveSet) AreNeighbours ¶
func (*ValveSet) DistanceBetween ¶
func (*ValveSet) ShortestPath ¶
Click to show internal directories.
Click to hide internal directories.