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 > [HELP] Ricorrenza
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
The external
.novellino.

User info:
Registered: Feb 2007
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 0:43:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Ricorrenza

Qualcuno saprebbe dirmi come risolvere questa ricorrenza?

T(n) = 2T(n/3) + T(n/4) + n

Più che altro che teorema si usa?

02-03-2007 09:20
Click Here to See the Profile for The external Click here to Send The external a Private Message Find more posts by The external Add The external to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ideafix
.grande:maestro.

User info:
Registered: Oct 2004
Posts: 953 (0.13 al dì)
Location: Melegnano (MI)
Corso: Informatica
Anno: Dottore!
Time Online: 27 Days, 3:05:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io userei l'albero di ricorrenza.

Al limite poi per provare quello che l'albero di ricorrenza suggerisce, userei il metodo di sostituzione

02-03-2007 09:24
Click Here to See the Profile for ideafix Click Here to See the Blog of ideafix Click here to Send ideafix a Private Message Find more posts by ideafix Add ideafix to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
The external
.novellino.

User info:
Registered: Feb 2007
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 0:43:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Però i livelli sommati hanno, ad esempio il secondo, 11/12n, mentre il primo n e quindi non so che ipotesi fare sull'albero di ricorsione. Il terzo è più o meno nella stessa proporzione 121/144

02-03-2007 09:36
Click Here to See the Profile for The external Click here to Send The external a Private Message Find more posts by The external Add The external to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poi_1969
.grande:maestro.

User info:
Registered: Aug 2005
Posts: 507 (0.07 al dì)
Location: milano
Corso: informatica
Anno:
Time Online: 10 Days, 22:40:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non puoi usare il teorema dell'esperto, perche mancano le condizioni.
Devi usare l'albero di ricorsione per fare un'ipotesi che poi devi dimostrare con il metodo della sostituzione.
Dei due rami devi vedere quello che si esaurisce per ultimo e calcolarne l'altezza.
Dovresti provare con il metodo di sostituzione (n log in base 3 di n)
Ma devi stabilire quale sono le condizioni iniziali: cioè qual'è il caso base.

ciao

02-03-2007 10:20
Click Here to See the Profile for poi_1969 Click here to Send poi_1969 a Private Message Find more posts by poi_1969 Add poi_1969 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ideafix
.grande:maestro.

User info:
Registered: Oct 2004
Posts: 953 (0.13 al dì)
Location: Melegnano (MI)
Corso: Informatica
Anno: Dottore!
Time Online: 27 Days, 3:05:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

se noti 1 11/12 121/144

assomiglia alla cosi detta serie geometrica .

;)


(11/12)^0 + (11/12)^1 + (11/12)^2....

Last edited by ideafix on 02-03-2007 at 10:30

02-03-2007 10:26
Click Here to See the Profile for ideafix Click Here to See the Blog of ideafix Click here to Send ideafix a Private Message Find more posts by ideafix Add ideafix to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
The external
.novellino.

User info:
Registered: Feb 2007
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 0:43:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si effettivamente non differisce molto dagli es che ho fatto finora... forse non avevo capito una piccola sfumatura sull'albero di ricorsione. Scusate, stress da studio. :-o Ora vedo se riesco a tirarne fuori qualcosa.

02-03-2007 10:31
Click Here to See the Profile for The external Click here to Send The external a Private Message Find more posts by The external Add The external to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusate ma all'orale torelli potrebbe chiedere di risolvere un problema del genere?

02-03-2007 11:48
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
The external
.novellino.

User info:
Registered: Feb 2007
Posts: 6 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 0:43:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Dovrebbe essere in teta(n)

02-03-2007 12:16
Click Here to See the Profile for The external Click here to Send The external a Private Message Find more posts by The external Add The external to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 16:40.    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.134 seconds (62.55% PHP - 37.45% MySQL) con 25 query.