Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#2

Re: ADS - Abstract Data Structure: Union-Find

  Alt 13. Dez 2006, 12:48
Hi Janulka,

welcome to Delphi-PRAXiS.

Your problem looks like an assignment and your question makes me wonder if you ever heard of union-find structures before. Those code lines are yours? Usually, there is no method named Add(), because the addition of a new node to a tree is accomplished by union. So where does Add() come from in your tree class?

Kind regards
  Mit Zitat antworten Zitat