Graphviz 13.1.2~dev.20250807.2324
Loading...
Searching...
No Matches
kkutils.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include <stddef.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <neatogen/defs.h>
20
21#if !defined(__CYGWIN__) && defined(__GNUC__) && !defined(__MINGW32__)
22#define INTERNAL __attribute__((visibility("hidden")))
23#else
24#define INTERNAL /* nothing */
25#endif
26
28 int *vtx_vec);
29INTERNAL size_t common_neighbors(vtx_data *, int u, int *);
31 int *vtx_vec);
34INTERNAL double distance_kD(double **, int, int, int);
35INTERNAL void quicksort_place(double *, int *, int);
36INTERNAL void quicksort_placef(float *, int *, int, int);
39 float *old_weights);
40
41#undef INTERNAL
42
43#ifdef __cplusplus
44}
45#endif
Agraph_t * graph(char *name)
Definition gv.cpp:30
INTERNAL void restore_old_weights(vtx_data *graph, int n, float *old_weights)
Definition kkutils.c:196
#define INTERNAL
Definition kkutils.h:24
INTERNAL void compute_new_weights(vtx_data *graph, int n)
Definition kkutils.c:165
INTERNAL void fill_neighbors_vec_unweighted(vtx_data *, int vtx, int *vtx_vec)
Definition kkutils.c:32
INTERNAL void quicksort_place(double *, int *, int)
Definition kkutils.c:161
INTERNAL void quicksort_placef(float *, int *, int, int)
Definition kkutils.c:140
INTERNAL DistType ** compute_apsp_artificial_weights(vtx_data *, int)
Definition kkutils.c:93
INTERNAL size_t common_neighbors(vtx_data *, int u, int *)
Definition kkutils.c:19
INTERNAL void empty_neighbors_vec(vtx_data *graph, int vtx, int *vtx_vec)
Definition kkutils.c:41
INTERNAL double distance_kD(double **, int, int, int)
Definition kkutils.c:113
INTERNAL DistType ** compute_apsp(vtx_data *, int)
Definition kkutils.c:85
int DistType
Definition sparsegraph.h:43