Nothing in the build systems defines this.
for (int i = 0; i < n; i++) {
new_graph[i].nedges = 1;
new_graph[i].ewgts = weights;
-#ifdef USE_STYLES
- new_graph[i].styles = NULL;
-#endif
new_graph[i].edges = edges;
*edges = i; /* self loop for Lap */
*weights = 0; /* self loop weight for Lap */
if (graph != NULL) {
free(graph[0].edges);
free(graph[0].ewgts);
-#ifdef USE_STYLES
- free(graph[0].styles);
-#endif
#ifdef DIGCOLA
free(graph[0].edists);
#endif
graph[i].nedges = i_nedges;
graph[i].edges[0] = i;
-#ifdef USE_STYLES
- graph[i].styles = NULL;
-#endif
i++;
}
#ifdef DIGCOLA
#include "config.h"
-#ifdef USE_STYLES
- typedef enum { regular, invisible } Style;
-#endif
typedef struct {
int nedges; /* no. of neighbors, including self */
int *edges; /* edges[0..(nedges-1)] are neighbors; edges[0] is self */
int *edges; /* edges[0..(nedges-1)] are neighbors; edges[0] is self */
float *ewgts; /* preferred edge lengths */
float *eweights; /* edge weights */
-#ifdef USE_STYLES
- Style *styles;
-#endif
#ifdef DIGCOLA
float *edists; /* directed dist reflecting the direction of the edge */
#endif