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 > [Progetto]Daltonismo
Pages (5): « 1 2 3 [4] 5 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by khelidan
ma cosa hai usato per mantenere il piano?Un grafo?


non ho usato ancora nulla, sono ancora nella fase di capire questo cosa vuole dalla nostra vita..., però mi stavo orientando ad una matrice.

Che ne pensi???

sapresti dirmi dove sbaglio relativamente al mio post precedente... grazie mille.
Ciao

14-09-2007 10:44
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.14 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

La matrice c'è la sconsigliata direttamente aguzzoli quando siamo andati su a chiedere delucidazioni,io ho provato con liste di liste ma viene un casino a quanto pare la strada sono i grafici!

Ti rispondo ora per il primo esempio,le figure sono sette,occhio che le adiacenze in obliquo non sono da contare,ad esempio se ho due celle gialle una sopra all'altra in verticale quelle fanno una figura,se le ho in obliquo sono due figure a se stanti,probabilmente è lo stesso errore che fai anche dopo

__________________
Khelidan

14-09-2007 10:50
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by khelidan
...Ti rispondo ora per il primo esempio,le figure sono sette,occhio che le adiacenze in obliquo non sono da contare,ad esempio se ho due celle gialle una sopra all'altra in verticale quelle fanno una figura,se le ho in obliquo sono due figure a se stanti,probabilmente è lo stesso errore che fai anche dopo


Grazie mille per aver risposto, sul primo esempio, come avevo scritto, le figure che avevo trovato erano 7.
Nel secondo esempio trovo 8 figure invece di 7 come previsto dall'output dell'esempio...
ti allego la rappresentazione grafica di come vedo le figure...
se gentilmente potresti indicarmi dove commetto l'errore dato che prendo in considerazione le celle obblique come figure a se stanti.. grazie mille

P.s. ovviamente la rappresentazione grafica è riferita a
c carla giallo blu
c carla giallo rosso
t carla

Attachment: grafica3.jpg
This has been downloaded 11 time(s).

14-09-2007 11:21
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.14 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusa forse ho fatto un mischione dei tuoi due post precedenti,comunque qui(grafica 3) sono 7 le figure,cosa non ti torna?Occhio che carla confonde anche blu con rosso per via della relazione di equivalenza

__________________
Khelidan

14-09-2007 11:42
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok non appliacvo la relazione d'equivalenza.. oops

14-09-2007 12:50
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Toras
.amico.

User info:
Registered: Oct 2003
Posts: 34 (0.00 al dì)
Location: Milano
Corso: Info
Anno: 3
Time Online: 2 Days, 1:10:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io ho usato un albero RB e due grafi rappresentati da liste da adiacenza, la visita dei grafi che faccio è BFS

Funziona tutti, magari non è la soluzione più performante ma vabbè ^^

14-09-2007 13:31
Click Here to See the Profile for Toras Click here to Send Toras a Private Message Find more posts by Toras Add Toras to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.14 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Toras
Io ho usato un albero RB e due grafi rappresentati da liste da adiacenza, la visita dei grafi che faccio è BFS

Funziona tutti, magari non è la soluzione più performante ma vabbè ^^


Basta che giri,almeno io non ambisco certo al 30!I grafi li hai usati per il piano no?Anchio sto studiando quella soluzione....

__________________
Khelidan

Last edited by khelidan on 14-09-2007 at 14:35

14-09-2007 13:33
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pimpa
.novellino.

User info:
Registered: Aug 2003
Posts: 5 (0.00 al dì)
Location: Milano
Corso: informatica
Anno: 3
Time Online: 19:46:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

La matrice c'è la sconsigliata direttamente aguzzoli quando siamo andati su a chiedere delucidazioni,io ho provato con liste di liste ma viene un casino a quanto pare la strada sono i grafici!

Scusa l'ignoranza, vorrei sapere cosa sono i "grafici"
grazie ciao

14-09-2007 16:35
Click Here to See the Profile for pimpa Click here to Send pimpa a Private Message Find more posts by pimpa Add pimpa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.14 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by pimpa
La matrice c'è la sconsigliata direttamente aguzzoli quando siamo andati su a chiedere delucidazioni,io ho provato con liste di liste ma viene un casino a quanto pare la strada sono i grafici!

Scusa l'ignoranza, vorrei sapere cosa sono i "grafici"
grazie ciao


Mi è scappato un "ci" in più,intendevo i grafi!

__________________
Khelidan

14-09-2007 16:38
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gabbia
.novellino.

User info:
Registered: Mar 2005
Posts: 6 (0.00 al dì)
Location: Vigevano(PV)
Corso: TICO
Anno: +1
Time Online: 4:08:52 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate ma in che modo usate gli alberi RB?

15-09-2007 08:37
Click Here to See the Profile for Gabbia Click here to Send Gabbia a Private Message Find more posts by Gabbia Add Gabbia to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Alf
°o.mini sayan.o°

User info:
Registered: Jun 2003
Posts: 5381 (0.65 al dì)
Location: Mediolanum
Corso: Informatica
Anno: FINITOOOO!
Time Online: 155 Days, 9:46:05: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma per caso quando sei andato a parlare con il prof,
ti ha accennato qualcosa sull'utilizzo degli "insiemi disgiunti"?
No perche personalmente credo di poterne fare a meno limitandomi ad utilizzare il BFS.

__________________
(\ /)
( . .)
c('')('') This is Bunny!
Help her succeed in world domination by copy and pasting her in
your signature.

15-09-2007 23:11
Click Here to See the Profile for Alf Click Here to See the Blog of Alf Click here to Send Alf a Private Message Find more posts by Alf Add Alf to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Salve a tutti,
qualcuno sa cosa bisogna fare qualora venga chiamatala funzione modifica su una coordinata del piano dove non esiste alcun colore?
non riesco a trovare nulla sulle specifiche, almeno mi sembra...
Per Logica direi che se le coordinate non risultano assegnate a nessun colore non dovrebbe esistere nessun effetto della modifica, non vorrei che però debba essere creata una nuova "cella" colorata...
il dubbio mi sorge quando scrive

modifica (x,y,a)
Pone C(x,y)=a

Qualcuno può aiutarmi???
Grazie

16-09-2007 10:51
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Toras
.amico.

User info:
Registered: Oct 2003
Posts: 34 (0.00 al dì)
Location: Milano
Corso: Info
Anno: 3
Time Online: 2 Days, 1:10:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by shadow
Salve a tutti,
qualcuno sa cosa bisogna fare qualora venga chiamatala funzione modifica su una coordinata del piano dove non esiste alcun colore?
non riesco a trovare nulla sulle specifiche, almeno mi sembra...
Per Logica direi che se le coordinate non risultano assegnate a nessun colore non dovrebbe esistere nessun effetto della modifica, non vorrei che però debba essere creata una nuova "cella" colorata...
il dubbio mi sorge quando scrive

modifica (x,y,a)
Pone C(x,y)=a

Qualcuno può aiutarmi???
Grazie


Se la cella non ha alcun colore, crei la nuova cella =)

16-09-2007 12:29
Click Here to See the Profile for Toras Click here to Send Toras a Private Message Find more posts by Toras Add Toras to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
shadow
.consigliere.

User info:
Registered: Sep 2003
Posts: 133 (0.02 al dì)
Location: lainate
Corso: informatica
Anno: III
Time Online: 1 Day, 8:45:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Toras
Se la cella non ha alcun colore, crei la nuova cella =)


Grazie per la risposta...
Ma lo hai trovato scritto sulle specifiche del progetto oppure lo ha riferito a voce il professore???

16-09-2007 14:11
Click Here to See the Profile for shadow Click here to Send shadow a Private Message Find more posts by shadow Add shadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Toras
.amico.

User info:
Registered: Oct 2003
Posts: 34 (0.00 al dì)
Location: Milano
Corso: Info
Anno: 3
Time Online: 2 Days, 1:10:08: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scrivendo pone C(x,y)=a vuol dire che pone C(x,y)=a..
non ha molta importanza che ci fosse o meno prima, almeno questo è quello che ho capito io

16-09-2007 18:59
Click Here to See the Profile for Toras Click here to Send Toras a Private Message Find more posts by Toras Add Toras to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:42.    Post New Thread    Post A Reply
Pages (5): « 1 2 3 [4] 5 »   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.059 seconds (64.87% PHP - 35.13% MySQL) con 24 query.