Functions
libmetis/graph.c File Reference

Functions that deal with setting up the graphs for METIS. More...

#include "metislib.h"
Include dependency graph for libmetis/graph.c:

Go to the source code of this file.

Functions

graph_tCreateGraph (void)
 
void FreeGraph (graph_t **r_graph)
 
void FreeRData (graph_t *graph)
 
void InitGraph (graph_t *graph)
 
graph_tSetupGraph (ctrl_t *ctrl, idx_t nvtxs, idx_t ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *vsize, idx_t *adjwgt)
 
void SetupGraph_label (graph_t *graph)
 
void SetupGraph_tvwgt (graph_t *graph)
 
graph_tSetupSplitGraph (graph_t *graph, idx_t snvtxs, idx_t snedges)
 

Detailed Description

Functions that deal with setting up the graphs for METIS.

Date
Started 7/25/1997
Author
George
Copyright 1997-2009, Regents of the University of Minnesota
Version
$Id: graph.c 10513 2011-07-07 22:06:03Z karypis $ 

Definition in file libmetis/graph.c.

Function Documentation

graph_t* CreateGraph ( void  )

This function creates and initializes a graph_t data structure

Definition at line 162 of file libmetis/graph.c.

void FreeGraph ( graph_t **  r_graph)

This function deallocates any memory stored in a graph

Definition at line 247 of file libmetis/graph.c.

void FreeRData ( graph_t graph)

This function frees the refinement/partition memory stored in a graph

Definition at line 228 of file libmetis/graph.c.

void InitGraph ( graph_t graph)

This function initializes a graph_t data structure

Definition at line 177 of file libmetis/graph.c.

graph_t* SetupGraph ( ctrl_t ctrl,
idx_t  nvtxs,
idx_t  ncon,
idx_t xadj,
idx_t adjncy,
idx_t vwgt,
idx_t vsize,
idx_t adjwgt 
)

This function sets up the graph from the user input

Definition at line 17 of file libmetis/graph.c.

void SetupGraph_label ( graph_t graph)

Set's up the label info

Definition at line 118 of file libmetis/graph.c.

void SetupGraph_tvwgt ( graph_t graph)

Set's up the tvwgt/invtvwgt info

Definition at line 99 of file libmetis/graph.c.

graph_t* SetupSplitGraph ( graph_t graph,
idx_t  snvtxs,
idx_t  snedges 
)

Setup the various arrays for the splitted graph

Definition at line 133 of file libmetis/graph.c.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:30