Graphviz 12.0.1~dev.20240716.0800
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 extern void fill_neighbors_vec_unweighted(vtx_data *, int vtx,
22 int *vtx_vec);
23 extern size_t common_neighbors(vtx_data *, int u, int *);
24 extern void empty_neighbors_vec(vtx_data * graph, int vtx,
25 int *vtx_vec);
26 extern DistType **compute_apsp(vtx_data *, int);
28 extern double distance_kD(double **, int, int, int);
29 extern void quicksort_place(double *, int *, int);
30 extern void quicksort_placef(float *, int *, int, int);
31 extern void compute_new_weights(vtx_data * graph, int n);
32 extern void restore_old_weights(vtx_data * graph, int n,
33 float *old_weights);
34
35#ifdef __cplusplus
36}
37#endif
Agraph_t * graph(char *name)
Definition gv.cpp:31
void quicksort_place(double *, int *, int)
Definition kkutils.c:161
DistType ** compute_apsp(vtx_data *, int)
Definition kkutils.c:85
void compute_new_weights(vtx_data *graph, int n)
Definition kkutils.c:165
void quicksort_placef(float *, int *, int, int)
Definition kkutils.c:140
void fill_neighbors_vec_unweighted(vtx_data *, int vtx, int *vtx_vec)
Definition kkutils.c:32
DistType ** compute_apsp_artificial_weights(vtx_data *, int)
Definition kkutils.c:93
void restore_old_weights(vtx_data *graph, int n, float *old_weights)
Definition kkutils.c:196
void empty_neighbors_vec(vtx_data *graph, int vtx, int *vtx_vec)
Definition kkutils.c:41
double distance_kD(double **, int, int, int)
Definition kkutils.c:113
size_t common_neighbors(vtx_data *, int u, int *)
Definition kkutils.c:19
int DistType
Definition sparsegraph.h:37