Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
edge_bundling.h File Reference
#include <sparse/SparseMatrix.h>
#include <vector>
Include dependency graph for edge_bundling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pedge
 

Enumerations

enum  { METHOD_NONE = -1 , METHOD_FD , METHOD_INK_AGGLOMERATE , METHOD_INK }
 
enum  { COMPATIBILITY_DIST = 0 , COMPATIBILITY_FULL }
 

Functions

std::vector< pedgeedge_bundling (SparseMatrix A, int dim, const std::vector< double > &x, int maxit_outer, double K, int method, int nneighbor, int compatibility_method, int max_recursion, double angle_param, double angle)
 
void pedge_delete (pedge &e)
 
void pedge_wgts_realloc (pedge &e, int n)
 
void pedge_export_gv (FILE *fp, int ne, const std::vector< pedge > &edges)
 
pedge pedge_wgt_new (int np, int dim, double *x, double wgt)
 
void pedge_double (pedge &e)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COMPATIBILITY_DIST 
COMPATIBILITY_FULL 

Definition at line 35 of file edge_bundling.h.

◆ anonymous enum

anonymous enum
Enumerator
METHOD_NONE 
METHOD_FD 
METHOD_INK_AGGLOMERATE 
METHOD_INK 

Definition at line 34 of file edge_bundling.h.

Function Documentation

◆ edge_bundling()

std::vector< pedge > edge_bundling ( SparseMatrix  A,
int  dim,
const std::vector< double > &  x,
int  maxit_outer,
double  K,
int  method,
int  nneighbor,
int  compatibility_method,
int  max_recursion,
double  angle_param,
double  angle 
)

Definition at line 545 of file edge_bundling.cpp.

References A, agerrorf(), agglomerative_ink_bundling(), B, check_compatibility(), force_directed_edge_bundling(), SparseMatrix_struct::m, maxit, METHOD_FD, METHOD_INK, METHOD_INK_AGGLOMERATE, METHOD_NONE, modularity_ink_bundling(), NULL, pedge_double(), pedge_new(), SparseMatrix_delete(), SparseMatrix_symmetrize(), tol, and Verbose.

Referenced by bundle().

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

◆ pedge_delete()

void pedge_delete ( pedge e)

Definition at line 75 of file edge_bundling.cpp.

Referenced by agglomerative_ink_bundling_internal().

Here is the caller graph for this function:

◆ pedge_double()

void pedge_double ( pedge e)

Definition at line 318 of file edge_bundling.cpp.

References pedge::dim, dist(), pedge::edge_length, len(), pedge::len, pedge::npoints, and pedge::x.

Referenced by agglomerative_ink_bundling_internal(), edge_bundling(), and modularity_ink_bundling().

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

◆ pedge_export_gv()

void pedge_export_gv ( FILE *  fp,
int  ne,
const std::vector< pedge > &  edges 
)

Definition at line 166 of file edge_bundling.cpp.

References edge, fprint_rgb(), len(), and pedge::x.

Referenced by bundle().

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

◆ pedge_wgt_new()

pedge pedge_wgt_new ( int  np,
int  dim,
double *  x,
double  wgt 
)

Definition at line 62 of file edge_bundling.cpp.

References pedge::dim, dist(), pedge::edge_length, pedge::len, pedge::npoints, pedge::wgt, pedge::wgts, and pedge::x.

Referenced by agglomerative_ink_bundling_internal().

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

◆ pedge_wgts_realloc()

void pedge_wgts_realloc ( pedge e,
int  n 
)

Definition at line 303 of file edge_bundling.cpp.

References pedge::dim, pedge::len, pedge::npoints, pedge::wgt, pedge::wgts, and pedge::x.

Referenced by agglomerative_ink_bundling_internal().

Here is the caller graph for this function: