igraph-help
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[igraph] problem of igraph_degree_sequence_game() ?
From
:
fa
Subject
:
[igraph] problem of igraph_degree_sequence_game() ?
Date
:
Sun, 28 Dec 2008 11:00:56 +0800
Dear All:
When I build a degree sequence of (4,4,3,2,2,2,1) graph.
It will show crash,when I run it.
Thanks
----------------------------------------------------------------------------------
my code:
#include <igraph\igraph.h>
main()
{
igraph_vector_t degree_vector;
igraph_t network;
igraph_vector_init(°ree_vector,8);
igraph_vector_set(°ree_vector,0,4);
igraph_vector_set(°ree_vector,1,4);
igraph_vector_set(°ree_vector,2,3);
igraph_vector_set(°ree_vector,3,2);
igraph_vector_set(°ree_vector,4,2);
igraph_vector_set(°ree_vector,5,2);
igraph_vector_set(°ree_vector,6,1);
igraph_vector_set(°ree_vector,7,1);
igraph_degree_sequence_game(&network,°ree_vector,0,IGRAPH_DEGSEQ_VL);
igraph_vector_destroy(°ree_vector);
igraph_destroy(&network);
}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[igraph] problem of igraph_degree_sequence_game() ?
,
fa
<=
Re: [igraph] problem of igraph_degree_sequence_game() ?
,
Gábor Csárdi
,
2008/12/28
Prev by Date:
Re: [igraph] how to iterate a vertex seq to find neighbors
Next by Date:
Re: [igraph] problem of igraph_degree_sequence_game() ?
Previous by thread:
[igraph] how to add properties to node
Next by thread:
Re: [igraph] problem of igraph_degree_sequence_game() ?
Index(es):
Date
Thread