/usr/include/terralib/stat/lista.h is in libterralib-dev 4.3.0+dfsg.2-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef ListaH
#define ListaH
#include "TeStatDefines.h"
#include "erro.h"
class STAT_DLL TListaVizinho{
private:
typedef struct Vizinho {
int Indice;
double Peso;
struct Vizinho *Proximo;
}Vizinho_t,*Vizinho_ptr;
typedef struct ListaVizinho{
Vizinho_ptr Head;
int Size;
Vizinho_ptr Next; /* Utilizado para pesquisa */
Vizinho_ptr NextB; /* Utilizado para pesquisa e apelacao */
}Lista_t, *Lista_ptr;
Lista_ptr Lista;
int GetSize();
public:
TListaVizinho();
void Insere(int,double);
void Retira(int);
void Adjacente(int *,double *);
void AdjacenteB(int *,double *);
int Size;
};
#endif
|