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] Samegame
Pages (8): « 1 [2] 3 4 5 6 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

conteggio delle caselle colorate in che senso?

10-01-2008 19:08
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

C'è una funzione Del tipo NumeroComponenti che vuole sapere quante biglie ci sono nel piano (se i componenti sono le biglie).
Poi ci sono LE componenti che ancora non ho capito che sono o sono la stessa cosa?

11-01-2008 07:29
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

I componenti non sono le biglie.
Quella funzione non ti chiede il numero delle biglie.
Ti chiede l'insieme delle biglie quante componenti compone sul piano in base alla loro posizione e alle loro adiacenze?

Guarda l'esempio del programma sul testo del progetto.
La prima volta che chiama quella funzione che risultato da?
Da 2.
Ti sembra che ci siano 2 biglie sul piano? No ce ne saranno una trentina.
Quindi vedi che le componenti non sono le singole biglie ma insiemi di biglie.

11-01-2008 08:29
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok grazie

11-01-2008 08:31
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bravo Yankee
The end. Thanks to all

User info:
Registered: Oct 2003
Posts: 1037 (0.13 al dì)
Location: Provincia di Milano
Corso: Informatica
Anno: 0
Time Online: 29 Days, 0:42:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non mi è chiaro come fare per passare al programma il file in cui ci sono i descrittivi delle azioni da svolgere...voi lo passate da riga di comando quando lanciate in esecuzione il file o fate in qualche altro modo?

11-01-2008 08:55
Click Here to See the Profile for Bravo Yankee Click here to Send Bravo Yankee a Private Message Find more posts by Bravo Yankee Add Bravo Yankee to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si fa tutto da riga di comando.

11-01-2008 08:57
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
davene
.fedelissimo.

User info:
Registered: Nov 2006
Posts: 43 (0.01 al dì)
Location: Legnano (MI)
Corso: Informatica
Anno: secondo
Time Online: 1 Day, 3:18:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

da riga di comando...attraverso la redirezione dell'input / output.
se vai sul sito di fiorentini ci sono parecchi esempi.
Saluti

__________________
Saluti - Davide

11-01-2008 14:42
Click Here to See the Profile for davene Click here to Send davene a Private Message Find more posts by davene Add davene to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bravo Yankee
The end. Thanks to all

User info:
Registered: Oct 2003
Posts: 1037 (0.13 al dì)
Location: Provincia di Milano
Corso: Informatica
Anno: 0
Time Online: 29 Days, 0:42:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Avete poi trovato che struttura dati utilizzare?

11-01-2008 17:55
Click Here to See the Profile for Bravo Yankee Click here to Send Bravo Yankee a Private Message Find more posts by Bravo Yankee Add Bravo Yankee to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DarkSchneider
Why so serious?

User info:
Registered: Feb 2004
Posts: 1250 (0.16 al dì)
Location: Brescia
Corso: Informatica
Anno: out of bounds :/
Time Online: 26 Days, 1:01:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bravo Yankee
Avete poi trovato che struttura dati utilizzare?


mi hai tolto le parole di boccA :D

anch'io sono un po' indeciso soprattutto per quanto riguarda cosa usare per i colori ..

11-01-2008 21:08
Click Here to See the Profile for DarkSchneider Click here to Send DarkSchneider a Private Message Find more posts by DarkSchneider Add DarkSchneider 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

Secondo me è molto simile al progetto che avevo svolto io ^^

Trovate qui il mio codice..cmq un albero RB e un grafo mi sembrano la soluzione migliore ^^

12-01-2008 15:04
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
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io ho utilizzato 2 grafi una per i colori e l'altra per le caselle.
Piu una struttura si supporto che sistituisce l'albero di ricerca rb.
Usare un rb per le caselle è impegnativo perche bisogna fare laricerca con 2 chiavi.

12-01-2008 15:33
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi mi manca solo di fare la funzione mossa!!!!
Ma come si fa?
Trovo la cella con la biglia,
guardo il colore e cancello il blocco corrispondente e poi?
Mica ho capito come si spostano le biglie!!
E poi meglio cancellare le celle dei blocchi o cancello solo le biglie?
Che ne dite?

12-01-2008 23:57
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloom
.illuminato.

User info:
Registered: May 2006
Posts: 229 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 3:14:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho bisogno veramente di una mano, riesco acancellare tutto il blocco,
ma non riesco a cancellarne sono una parte.(mi riferisco amossa
)

14-01-2008 19:01
Click Here to See the Profile for Bloom Click here to Send Bloom a Private Message Find more posts by Bloom Add Bloom to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
tata1283
dottoressa!!!

User info:
Registered: Oct 2002
Posts: 495 (0.06 al dì)
Location: Albino (BG)
Corso: Informatica
Anno: 3
Time Online: 5 Days, 17:07:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bloom
Ho bisogno veramente di una mano, riesco acancellare tutto il blocco,
ma non riesco a cancellarne sono una parte.(mi riferisco amossa
)


Dipende molto da come hai implementato il blocco.
Devi fare il controllo delle coordinate delle caselle all'interno del blocco per vedere se fanno parte della zona di mossa o meno.

15-01-2008 08:38
Click Here to See the Profile for tata1283 Click here to Send tata1283 a Private Message Find more posts by tata1283 Add tata1283 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GiaXVI
.........................

User info:
Registered: Oct 2005
Posts: 86 (0.01 al dì)
Location: settimo milanese
Corso: informatica
Anno: 2
Time Online: 21:45:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

curiosità, che tipo di grafi avete usato come struttura?

15-01-2008 08:47
Click Here to See the Profile for GiaXVI Click here to Send GiaXVI a Private Message Find more posts by GiaXVI Add GiaXVI to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 05:59.    Post New Thread    Post A Reply
Pages (8): « 1 [2] 3 4 5 6 » ... Last »   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.103 seconds (67.20% PHP - 32.80% MySQL) con 24 query.