GestorArchivos

package
v0.0.0-...-18c06c4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distancia

type Distancia struct {
	NodoI     string
	NodoFinal string
	Distancia float64
}

type Nodo

type Nodo struct {
	Nombre   string
	CoorX    float64
	CoorY    float64
	Visitado bool
}

func CrearNodos

func CrearNodos(nombre string, X, Y float64) *Nodo

func LeerNodos

func LeerNodos(NombreArchivo string) []Nodo

type Resultado

type Resultado struct {
	RutaR      []Distancia
	DistanciaR float64
}

func CrearResultado

func CrearResultado(Ruta []Distancia, Distancia float64) *Resultado

Jump to

Keyboard shortcuts

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