tunnel

package
v0.0.0-...-8547030 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindOptimalRoute

func FindOptimalRoute(rooms map[string]*Room, start string, time, searchers int) int

Types

type Room

type Room struct {
	// contains filtered or unexported fields
}

func NewRoom

func NewRoom(name string, flow_rate int) *Room

func (*Room) AddTunnel

func (R *Room) AddTunnel(adj_room *Room, dist int)

func (*Room) CombineTunnels

func (R *Room) CombineTunnels()

func (*Room) DisplayRoom

func (R *Room) DisplayRoom()

func (*Room) PruneTunnels

func (R *Room) PruneTunnels()

Jump to

Keyboard shortcuts

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