Diplo
 All Classes Namespaces Functions Variables Properties
Static Public Member Functions | List of all members
Diplo.Graph.Draw.Lib.AStarNeighbor Class Reference

Pomocna trieda pre A* algoritmus More...

Static Public Member Functions

static int[,] getNeighborNodes (Graphics g, Graph graf, Point start, Point end, Point p, int fieldSize, int granul, Stack< Point > polygon)
 Pre daný bod nájde susedov. Pre susedov musí platiť niekoľko pravidiel. More...
 

Detailed Description

Pomocna trieda pre A* algoritmus

Member Function Documentation

static int [,] Diplo.Graph.Draw.Lib.AStarNeighbor.getNeighborNodes ( Graphics  g,
Graph  graf,
Point  start,
Point  end,
Point  p,
int  fieldSize,
int  granul,
Stack< Point >  polygon 
)
static

Pre daný bod nájde susedov. Pre susedov musí platiť niekoľko pravidiel.

Parameters
gKomponent, pre kreslenie
grafGraf - vrchply, hrany a pod.
startStart vrchol, z ktoreho hladame cestu
endPosledny vrchol, do ktoreho hladame cestu
p
fieldSize
granulAko daleko maju byt susedia od seba
polygonPolygon, v ktorom sa mozu nachadzat cesty
Returns

The documentation for this class was generated from the following file: