Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
C/C++ - AIUTO PER TESI sui grafi, IMPORTANTE. Visual Studio express 2008
Forum - C/C++ - AIUTO PER TESI sui grafi, IMPORTANTE. Visual Studio express 2008 - Pagina 2

Pagine: [ 1 2 ] Precedente | Prossimo
Avatar
pierotofy (Admin)
Guru^2


Messaggi: 6230
Iscritto: 04/12/2003

Segnala al moderatore
Postato alle 16:10
Martedì, 12/02/2013
Testo quotato


In Configuration Properties > C/C++ > Precompiled Headers, change Use Precompiled Header (/Yu) to Not Using Precompiled Headers.3



Questo e' settato?


Il mio blog: https://piero.dev
PM Quote
Avatar
Alberto19890 (Normal User)
Newbie


Messaggi: 8
Iscritto: 06/02/2013

Segnala al moderatore
Postato alle 10:46
Mercoledì, 13/02/2013
Buongiorno ragazzi, vedendo un po' meglio le cose sono riuscito ad eliminare i warnings.

Rimane solo un errore...

1>c:\documents and settings\albi\documenti\visual studio 2008\projects\dijstra 2\dijstra 2\stdafx.h(11) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory

il problema è che ho inserito #include <boost/config.hpp> anche su stdafx.h... il problema è proprio li e non riesco a capire il perchè dell'errore...


Alberto19890 ha allegato un file: Immagine.JPG (152869 bytes)
Clicca qui per guardare l'immagine
PM Quote
Avatar
()
Newbie


Messaggi:
Iscritto:

Segnala al moderatore
Postato alle 16:43
Mercoledì, 13/02/2013
il problema è <boost.....> siccome l' header è nel tuo progetto devi usare "" al posto di <> quindi #include "boost....."

PM Quote
Avatar
pierotofy (Admin)
Guru^2


Messaggi: 6230
Iscritto: 04/12/2003

Segnala al moderatore
Postato alle 18:20
Mercoledì, 13/02/2013


Il mio blog: https://piero.dev
PM Quote
Avatar
Alberto19890 (Normal User)
Newbie


Messaggi: 8
Iscritto: 06/02/2013

Segnala al moderatore
Postato alle 18:57
Martedì, 26/03/2013
Buona sera ragazzi, come state ? è passato un po' di tempo, ma per fortuna ho imparato a creare un grafo aggiungendo nodi e archi, segnando quale sia il vertice successivo ed il relativo peso.

Adesso, visto che la consegna della tesi è tra due settimane, chi mi potrebbe dare una dritta su questa seconda parte del programma?

The algorithm repeats all the following steps until no vertices are present in the unsatisfied list:
1)    Remove some vertex v from the unsatisfied list
2)    Examine edges entering v. If two edges with the form (u,v) are found, apply a parallel reduction to them. Continue examining edges entering v and applying parallel reductions until either (i) only one edge leaves v or (ii) v is found to have two distinct predecessors
3)    Examine edges leaving v. If two edges sith the form (v,w) are found, apply a parallel reduction to them. Continue examining edges leaving v and applying parallel reduction until either (i) only one edge leaves v or (ii) v is found to have two distinct successors
4)    If only one edge (u,v) now enters v and only one edge (v,w) leaves v, carry out the following steps:
a.    Apply a series reduction to delete v and replace (u,v) and (v,w) by a new edge (u,w)
b.    If u is not the source and not on the unsatisfied list, add it to the unsatisfied list
c.    If w is not the sink and not on the unsatisfied list, add it to the unsatisfied list
When the unsatisfied list is empty, we test whether any vertices other than the source and the sink remain. It so, the multidigraph is not reducible to a single edge. If not, we complete the reduction to a single edge by applying parallel reduction to the edges joining the source and sink.

io vorrei creare la lista con dentro i miei vertici (cosa che ho già fatto), ma le operazioni segnate non riesco a trovare proprio il modo di farlo :(

chi mi darebbe una mano per favore??

PM Quote
Pagine: [ 1 2 ] Precedente | Prossimo