NodeDef.h File Reference

#include <stdio.h>
#include <math.h>

Include dependency graph for TEST/INCLUDES/NodeDef.h:

Go to the source code of this file.

Data Structures

struct  distances_capteur
struct  FILE1
struct  noeud
struct  reemission
struct  t_node_info
struct  voisin
struct  voisin2

Defines

#define DISTANCE_MAX   100
#define DISTANCE_MAX2   100
#define DISTANCE_RADIO(x, y)   ((long)(((signed int)x - (signed int)Id_x)*((signed int)x - (signed int)Id_x) + ((signed int)y - (signed int)Id_y)*((signed int)y - (signed int)Id_y)) <= DISTANCE_MAX)
#define MAX_ENVOIS   3
#define NB_DISTANCES   8
#define NB_EMISSIONS   8
#define NB_NOEUDS   10
#define NB_REEMISSIONS   16
#define NB_VOISINS   8
#define NB_VOISINS   8

Functions

voisinRechercheMoinsBonVois (unsigned int mon_x, unsigned int mon_y)

Variables

unsigned int ED2
unsigned int Id_x
unsigned int Id_y
UINT16 Nb_top
unsigned int noReemission
unsigned int Numero_ack
distances_capteurPtr_distances
voisin2Ptr_nb_emissions
t_node_infoPtr_noeuds
reemissionPtr_reemission_ecrit
reemissionPtr_reemission_lit
voisinPtr_voisinage
distances_capteur Tab_distances [NB_DISTANCES]
voisin2 Tab_emissions [NB_EMISSIONS]
t_node_info Tab_noeuds [NB_NOEUDS]
FILE1 Tab_Prio_Noeuds
reemission Tab_reemission [NB_REEMISSIONS]
voisin Tab_voisinage [NB_VOISINS]


Define Documentation

#define DISTANCE_MAX   100

Definition at line 22 of file TEST/INCLUDES/NodeDef.h.

#define DISTANCE_MAX2   100

Definition at line 23 of file TEST/INCLUDES/NodeDef.h.

#define DISTANCE_RADIO ( x,
 )     ((long)(((signed int)x - (signed int)Id_x)*((signed int)x - (signed int)Id_x) + ((signed int)y - (signed int)Id_y)*((signed int)y - (signed int)Id_y)) <= DISTANCE_MAX)

Definition at line 39 of file TEST/INCLUDES/NodeDef.h.

#define MAX_ENVOIS   3

Definition at line 21 of file TEST/INCLUDES/NodeDef.h.

#define NB_DISTANCES   8

Definition at line 164 of file TEST/INCLUDES/NodeDef.h.

#define NB_EMISSIONS   8

Definition at line 17 of file TEST/INCLUDES/NodeDef.h.

#define NB_NOEUDS   10

Definition at line 162 of file TEST/INCLUDES/NodeDef.h.

#define NB_REEMISSIONS   16

Definition at line 18 of file TEST/INCLUDES/NodeDef.h.

#define NB_VOISINS   8

Definition at line 135 of file TEST/INCLUDES/NodeDef.h.

#define NB_VOISINS   8

Definition at line 135 of file TEST/INCLUDES/NodeDef.h.


Function Documentation

voisin* RechercheMoinsBonVois ( unsigned int  mon_x,
unsigned int  mon_y 
)

Definition at line 175 of file com_ConnVois.c.


Variable Documentation

unsigned int ED2

Definition at line 57 of file Bootloader/CONFIG/VG.C.

unsigned int Id_x

Definition at line 29 of file Bootloader/CONFIG/VG.C.

unsigned int Id_y

Definition at line 30 of file Bootloader/CONFIG/VG.C.

Definition at line 64 of file Bootloader/CONFIG/VG.C.

unsigned int noReemission

Definition at line 34 of file Bootloader/CONFIG/VG.C.

unsigned int Numero_ack

Definition at line 67 of file Bootloader/CONFIG/VG.C.

Definition at line 38 of file Bootloader/CONFIG/VG.C.

Definition at line 46 of file Bootloader/CONFIG/VG.C.

Definition at line 42 of file Bootloader/CONFIG/VG.C.

Definition at line 41 of file Bootloader/CONFIG/VG.C.

Definition at line 36 of file Bootloader/CONFIG/VG.C.

voisin2 Tab_emissions[NB_EMISSIONS]

Definition at line 37 of file Bootloader/CONFIG/VG.C.

t_node_info Tab_noeuds[NB_NOEUDS]

Definition at line 45 of file Bootloader/CONFIG/VG.C.

Definition at line 47 of file Bootloader/CONFIG/VG.C.

reemission Tab_reemission[NB_REEMISSIONS]

Definition at line 40 of file Bootloader/CONFIG/VG.C.

voisin Tab_voisinage[NB_VOISINS]

Definition at line 35 of file Bootloader/CONFIG/VG.C.


Generated on Wed Jun 3 12:05:56 2009 for PowWow v1.0 by  doxygen 1.5.6