next up previous
Seguinte: inout.h Acima: Códigos-fonte: Solução por força Anterior: main.c

pcv.h


001   #ifndef __PCV_H
002   #define __PCV_H
003   
004   
005   #define MAX_VERTICES        60
006   
007   #define COR_BRANCO          0
008   #define COR_CINZA           1
009   #define COR_PRETO           2
010   
011   
012   typedef struct {
013       // Informacoes fixas
014       int anDist[MAX_VERTICES][MAX_VERTICES];
015       int nNumVertices;
016       int nDistDelta;
017   
018       // Informacoes que variam durante as recursoes
019       int nDistTotal;
020       int nVisitados;
021       int anCaminho[MAX_VERTICES];
022       char acCorVert[MAX_VERTICES];
023   
024       // Menor resposta computada durante o algoritmo
025       int nMinDistTotal;
026       int anMinCaminho[MAX_VERTICES];
027   } TPcvData;
028   
029   
030   #endif  // __PCV_H



VilarNt 2003-06-20