utils

package
v0.0.0-...-aa2dd7b Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

Clear -

func GetRandInt

func GetRandInt(limit int) int

GetRandInt -

Types

type Point

type Point struct {
	X, Y    int
	H, G, F int
	Parent  *Point
}

Point - X - abscissa of two-dimension array, Y - ordinate of two-dimension array H - evaluation value from current node to target node : (absx + absy) * 10 , G - evaluation value from current node to origin node : diagonal - 14, hor or ver - 10 F - H + G Parent -

func (Point) String

func (p Point) String() string

Jump to

Keyboard shortcuts

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