Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
embed_graph.c File Reference
#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 <util/alloc.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 100 of file embed_graph.c.

References dim.

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 28 of file embed_graph.c.

References bfs(), compute_new_weights(), dijkstra(), dim, 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: