Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
embed_graph.c File Reference
#include <cgraph/alloc.h>
#include <neatogen/dijkstra.h>
#include <neatogen/bfs.h>
#include <neatogen/kkutils.h>
#include <neatogen/embed_graph.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
Include dependency graph for embed_graph.c:

Go to the source code of this file.

Functions

void embed_graph (vtx_data *graph, int n, int dim, DistType ***Coords, int reweight_graph)
 
void center_coordinate (DistType **coords, int n, int dim)
 

Function Documentation

◆ center_coordinate()

void center_coordinate ( DistType **  coords,
int  n,
int  dim 
)

Definition at line 101 of file embed_graph.c.

Referenced by sparse_stress_subspace_majorization_kD().

Here is the caller graph for this function:

◆ embed_graph()

void embed_graph ( vtx_data graph,
int  n,
int  dim,
DistType ***  Coords,
int  reweight_graph 
)

Definition at line 29 of file embed_graph.c.

References bfs(), compute_new_weights(), dijkstra(), dist(), free(), graph(), gv_calloc(), MIN, and restore_old_weights().

Referenced by sparse_stress_subspace_majorization_kD().

Here is the call graph for this function:
Here is the caller graph for this function: