Registriert seit: 6. Apr 2005
10.109 Beiträge
|
Re: ADS - Abstract Data Structure: Union-Find
13. Dez 2006, 13: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
|