Parti-Game Algorithmus TKP: Parti-Game Algorithmus

Datum: 03.11.95
42

Autoren:

Stichworte:


Zusammenfassung:

Die Folien des Vortrags vom 2. November.


Folien:


Folie: Wiederholung des Party-Konzepts


Folie: Der ursprüngliche Algorithmus


Folie: Erweiterungen des Algorithmus


Folie: Algorithmus

(Abbildung: flussdia )


Folie: Klassenaufteilung


Folie: Implementierung


Folie: Lesbarer Code:

for(;;) { REPEAT FOREVER berechneAlleJwc(*this,part); Compute Jwc() for each cell Zelle& i=lieferZelleAusZustand(*this,s); Let i:= the cell containing the current state s. if(zielErreicht(i)) return true; If i=GOAL then exit (success) if(i.entfernung==UNENDLICH) return false; If Jwc()=infty then exit (failure) ... for(ListenElement<Zelle*>* z=qq.gibKopf(); Construct a new set z;z=z->gibNaechstesElement()) of cells from Q" if(!zielErreicht(*(z->eintrag))) { produced by splitting z->eintrag->teileZelle(); each cell. r.fuegeEin(ZelleZgr(z->eintrag->links)); Call this new set R. r.fuegeEin(ZelleZgr(z->eintrag->rechts)); part=part+r-qq; P:=P+R-Q" wissensbasis.loesche(inqq,&amp;qq); delete those members of database D that contain a member of Q"


Folie: Experimente

(Abbildung: raum2 )


Folie: Ausblick