implemented data structure

This commit is contained in:
2019-05-07 21:39:02 +02:00
parent 097362ece5
commit af93431a4b
3 changed files with 110 additions and 0 deletions

31
src/routing4SITA.h Normal file
View File

@ -0,0 +1,31 @@
#ifndef ROUTING4SITA_H
#define ROUTING4SITA_H
#define MAX_CHILDREN 3
typedef struct node NODE_t;
struct node {
int id;
int nodescount;
NODE_t* nodesnext[MAX_CHILDREN];
int nodescost[MAX_CHILDREN];
};
#endif /* ROUTING4SITA_H */