Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Algoritmi e strutture dati > Alberi binari di ricerca
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ste182
.arcimaestro.

User info:
Registered: Oct 2004
Posts: 258 (0.03 al dì)
Location:
Corso: informatica
Anno:
Time Online: 2 Days, 5:06:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Alberi binari di ricerca

Ciao a tutti, ho dei dubbi sugli alberi in oggetto:
mettiamo che ho dei nodi contenenti come campi un array di interi tipo: 1 5 9.
L'inserimento nell'albero binario si fa scendendo a destra o sinistra in base al valore della chiave(se maggiore o minore). il problema è: come faccio a determinare se una chiave,diversa da un intero, come in questo caso un array è minore o maggiore di un array già inserito?
mi spiego, se ho come nodo root un nodo contenente un array così: 0 0; voglio inserire un altro nodo che ha come array 3 0 e dopo un nodo con 0 5, come determino se scendere a destra o sinistra??

__________________
Live Fast, Die Fun

25-01-2010 20:28
Click Here to See the Profile for ste182 Click here to Send ste182 a Private Message Find more posts by ste182 Add ste182 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
francesco.minni
.novellino.

User info:
Registered: Jan 2010
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 2:51:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno ha il link dove ci sono i codici degli alberi di ricerca binaria?

31-08-2010 15:16
Click Here to See the Profile for francesco.minni Click here to Send francesco.minni a Private Message Visit francesco.minni's homepage! Find more posts by francesco.minni Add francesco.minni to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
kermit63
.simpatizzante.

User info:
Registered: Nov 2009
Posts: 16 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 13:14:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per ste182: controlli la prima condizione, se sono uguali controlli la seconda

per franc...: http://www.algoteam.dsi.unimi.it/

01-09-2010 15:54
Click Here to See the Profile for kermit63 Click here to Send kermit63 a Private Message Find more posts by kermit63 Add kermit63 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
francesco.minni
.novellino.

User info:
Registered: Jan 2010
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 2:51:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grazie

02-09-2010 14:53
Click Here to See the Profile for francesco.minni Click here to Send francesco.minni a Private Message Visit francesco.minni's homepage! Find more posts by francesco.minni Add francesco.minni to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 12:56.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.071 seconds (54.01% PHP - 45.99% MySQL) con 26 query.