nodes in own .c file
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
#ifndef ROUTING4SITA_H
|
||||
#define ROUTING4SITA_H
|
||||
|
||||
#define ROUTING4SITA_H
|
||||
|
||||
#define MAX_CHILDREN 3
|
||||
|
||||
|
||||
typedef struct node NODE_t;
|
||||
typedef struct threadData THREAD_DATA_t;
|
||||
|
||||
extern NODE_t* getStartNode();
|
||||
|
||||
struct node {
|
||||
int id;
|
||||
int nodescount;
|
||||
NODE_t* nodesnext[MAX_CHILDREN];
|
||||
int nodescost[MAX_CHILDREN];
|
||||
int id;
|
||||
int nodescount;
|
||||
NODE_t* nodesnext[MAX_CHILDREN];
|
||||
int nodescost[MAX_CHILDREN];
|
||||
};
|
||||
|
||||
|
||||
@ -21,18 +21,4 @@ struct threadData {
|
||||
int cost;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* ROUTING4SITA_H */
|
||||
|
Reference in New Issue
Block a user