dimanche 16 octobre 2016

A-Stern Implementierung

dimanche 16 octobre 2016
Hallo,

habe nach langer Zeit mal wieder Zeit fürs programmieren gefunden und möchte nochmal was wissen zum A-Stern Algorithmus:

Hier zunächst mal meine KnotenKlasse:

Code (Java):
public class Knoten {

    private int x,y;
    private Knoten elternknoten;
    private double f_kosten;
    private double g_kosten;
    private double h_kosten;
   
    public Knoten(int x,int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int...
A-Stern Implementierung

A-Stern Implementierung

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket