Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions include/graphflood/define_types.h

This file was deleted.

4 changes: 3 additions & 1 deletion include/topotoolbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,9 @@ TOPOTOOLBOX_API void propagatevaluesupstream_i64(int64_t *data,
Graphflood
*/

#include "graphflood/define_types.h"
#define GF_UINT size_t
#define GF_INT ptrdiff_t
#define GF_FLOAT double

/**
@brief Computes a single flow graph:
Expand Down
1 change: 0 additions & 1 deletion src/graphflood/gf_flowacc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ This file contains routine to accumulate flow downstream, a way or another
#include <stdint.h>

#include "gf_utils.h"
#include "graphflood/define_types.h"
#include "topotoolbox.h"

/*
Expand Down
3 changes: 1 addition & 2 deletions src/graphflood/gf_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "graphflood/define_types.h"
// #include "topotoolbox.h"
#include "topotoolbox.h"

/*
Offset helpers:
Expand Down
1 change: 0 additions & 1 deletion src/graphflood/graphflood.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <stdio.h>

#include "gf_utils.h"
#include "graphflood/define_types.h"
#include "pq_maxheap.h"
#include "topotoolbox.h"

Expand Down
2 changes: 1 addition & 1 deletion src/graphflood/pq_maxheap.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdlib.h>
#include <string.h>

#include "graphflood/define_types.h"
#include "topotoolbox.h"

// Define the element structure in the max-heap priority queue
typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion src/graphflood/pq_priority_flood.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdlib.h>
#include <string.h>

#include "graphflood/define_types.h"
#include "topotoolbox.h"

// Define the element structure in the priority queue
typedef struct {
Expand Down
1 change: 0 additions & 1 deletion src/graphflood/priority_flood_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ A Single flow graph is a data structure describing a Directed Acyclic Graph
#include <stdio.h>

#include "gf_utils.h"
#include "graphflood/define_types.h"
#include "pq_priority_flood.h"
#include "queue_pit.h"
#include "topotoolbox.h"
Expand Down
2 changes: 1 addition & 1 deletion src/graphflood/queue_pit.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ B.G.
#include <stdint.h>
#include <stdlib.h>

#include "graphflood/define_types.h"
#include "topotoolbox.h"

// Define the queue structure
typedef struct {
Expand Down
1 change: 0 additions & 1 deletion src/graphflood/sfgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ A Single flow graph is a data structure describing a Directed Acyclic Graph
#include <stdio.h>

#include "gf_utils.h"
#include "graphflood/define_types.h"
#include "pq_priority_flood.h"
#include "queue_pit.h"
#include "topotoolbox.h"
Expand Down
Loading