Go to the documentation of this file.
35 graph->free_adjncy = 0;
59 graph->free_vsize = 0;
67 for (
i=0;
i<nvtxs;
i++) {
76 graph->free_adjwgt = 0;
139 sgraph->
nvtxs = snvtxs;
144 sgraph->
xadj =
imalloc(snvtxs+1,
"SetupSplitGraph: xadj");
146 sgraph->
adjncy =
imalloc(snedges,
"SetupSplitGraph: adjncy");
147 sgraph->
adjwgt =
imalloc(snedges,
"SetupSplitGraph: adjwgt");
148 sgraph->
label =
imalloc(snvtxs,
"SetupSplitGraph: label");
153 sgraph->
vsize =
imalloc(snvtxs,
"SetupSplitGraph: vsize");
201 graph->free_xadj = 1;
202 graph->free_vwgt = 1;
203 graph->free_vsize = 1;
204 graph->free_adjncy = 1;
205 graph->free_adjwgt = 1;
233 if ((
void *)
graph->ckrinfo == (
void *)
graph->vkrinfo)
254 if (
graph->free_xadj)
256 if (
graph->free_vwgt)
258 if (
graph->free_vsize)
260 if (
graph->free_adjncy)
262 if (
graph->free_adjwgt)
void SetupGraph_label(graph_t *graph)
idx_t idx_t idx_t idx_t idx_t idx_t * adjwgt
void gk_free(void **ptr1,...)
idx_t idx_t idx_t idx_t idx_t * vsize
idx_t idx_t idx_t * adjncy
graph_t * SetupSplitGraph(graph_t *graph, idx_t snvtxs, idx_t snedges)
graph_t * CreateGraph(void)
void FreeRData(graph_t *graph)
idx_t idx_t idx_t idx_t * vwgt
void FreeGraph(graph_t **r_graph)
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)
#define ASSERT(expression)
void InitGraph(graph_t *graph)
void SetupGraph_tvwgt(graph_t *graph)
NonlinearFactorGraph graph
void * gk_malloc(size_t nbytes, char *msg)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:38