[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] saving hrg to disk

From: Bastian Entrup
Subject: [igraph] saving hrg to disk
Date: Wed, 24 Apr 2013 15:28:13 +0200

Hi Everyone,

I'm trying out igraph in C right now and am wondering if i there is a a function to save a hrg object. I'm fitting the hrg to my graph and would like to save the state afterwards, so i can reuse the hrg later. 

Here you can see some sample code to (hopefully) clarify what i'm trying to do:

//load graph
FILE *input;
igraph_t graph;
igraph_read_graph_edgelist(&graph, input,0,1);
igraph_hrg_t hrg;
        printf("number V: %d\n",igraph_vcount(&graph));
//save hrg at this point to disk

Best regards, 

Bastian Entrup ·  Tel.: +49(0)641 99-29053  ·  Fax: -29059
Justus-Liebig-Universität Gießen · FB 05 · Institut für Germanistik
Arbeitsbereich Angewandte Sprachwissenschaft und Computerlinguistik
Philosophikum I Büro D 410 · Otto-Behaghel-Str. 10 D · 35394 Gießen

Justus Liebig University Giessen
Applied and Computational Linguistics
Otto-Behaghel-Str. 10 D
35394 Giessen, Germany

reply via email to

[Prev in Thread] Current Thread [Next in Thread]