igraph-help
[Top][All Lists]
Advanced

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

[igraph] problems with graph.strength for large weighted graph


From: Umberto Medicamento
Subject: [igraph] problems with graph.strength for large weighted graph
Date: Mon, 27 Oct 2014 16:48:13 +0100
User-agent: Internet Messaging Program (IMP) H5 (6.1.7)


Hi all,

I've a weighted graph called "g" as it follows
 g
IGRAPH DNW- 99 600 --
+ attr: name (v/c), weight (e/x)

When applying
graph.strength(g) I get the following message:

Error in graph.strength(g, mode = "in", weights = NULL, loops = FALSE) :
  (list) object cannot be coerced to type 'double'

Where am I wrong? Thanks a lot, Umberto

p.s.
if it helps this is how the graph looks like:

IGRAPH DNW- 99 600 --
+ attr: name (v/c), weight (e/x)
+ edges (vertex names):
558 -> 381, 0
76 -> 251, 381, 620, 724, 152, 842, 300, 32, 0, 422
132 -> 620, 0
608 -> 300, 0
854 -> 620, 0
858 -> 381, 724, 32, 0
757 -> 40, 208, 251, 381, 620, 528, 724, 276, 300, 0, 422, 792
804 -> 40, 381, 724, 842, 826, 300, 591, 0
97 -> 76, 757, 376, 152, 842, 604, 191, 710, 504, 36, 32, 688, 0, 422, 792, 275, 400, 760, 784, 788
458 -> 381, 724, 842, 826, 0, 792
372 -> 56, 251, 381, 528, 724, 826, 276, 0
40 -> 56, 251, 381, 528, 724, 276, 300, 0, 422
208 -> 40, 56, 251, 381, 528, 724, 752, 152, 276, 300, 440, 0, 792, 760
348 -> 40, 56, 381, 528, 724, 276, 300, 0
56 -> 251, 381, 528, 724, 826, 276, 300, 442, 0
218 -> 381, 32, 0
233 -> 381, 528, 724, 300, 0, 568
533 -> 528, 0
586 -> 381, 724, 0
203 -> 40, 348, 251, 381, 616, 703, 724, 826, 276, 300, 0
234 -> 0, 899
320 -> 724, 842, 0
196 -> 381, 300, 0
246 -> 208, 56, 381, 724, 752, 276, 300, 0
376 -> 381, 724, 300, 0, 792, 400
251 -> 757, 40, 56, 196, 381, 620, 528, 724, 826, 276, 300, 442, 32, 0, 275, 788
231 -> 381, 724, 752, 842, 0
381 -> 40, 56, 251, 620, 470, 528, 724, 842, 826, 276, 300, 36, 688, 0, 788
344 -> 251, 381, 724, 152, 842, 826, 300, 0, 490
428 -> 246, 381, 528, 724, 276, 440, 0
28 -> 251, 381, 724, 842, 826, 0, 530
620 -> 251, 381, 724, 276, 0
642 -> 40, 348, 203, 251, 381, 528, 300, 0, 792, 760
554 -> 381, 724, 36, 0, 422, 760, 682
470 -> 381, 826, 0
528 -> 40, 56, 251, 381, 620, 616, 724, 752, 152, 826, 276, 300, 710, 504, 0
616 -> 56, 203, 381, 528, 724, 276, 300, 0
124 -> 251, 381, 620, 724, 752, 842, 300, 604, 504, 484, 32, 0, 422, 792, 760, 788, 490, 410
70 -> 381, 191, 0
703 -> 40, 203, 381, 616, 724, 300, 0
724 -> 208, 251, 381, 620, 152, 276, 300, 604, 36, 0, 788
705 -> 757, 40, 56, 251, 381, 724, 276, 300, 191, 0, 400, 788, 568
752 -> 208, 56, 251, 381, 528, 724, 826, 300, 0, 422, 792, 760
152 -> 381, 724, 842, 0
214 -> 381, 724, 842, 32, 0
842 -> 757, 376, 251, 381, 344, 620, 724, 152, 826, 300, 191, 504, 36, 484, 32, 818, 0, 422, 792, 275, 788, 490, 410
826 -> 76, 372, 56, 376, 251, 381, 620, 528, 724, 276, 300, 710, 0, 792, 400
100 -> 381, 300, 0
276 -> 757, 40, 208, 56, 251, 381, 620, 528, 724, 152, 842, 826, 100, 300, 0, 792, 275, 760
300 -> 196, 251, 381, 826, 100, 276, 0
540 -> 251, 381, 724, 300, 36, 0
604 -> 724, 842, 0
498 -> 381, 0
442 -> 40, 56, 251, 381, 620, 528, 724, 276, 0
191 -> 381, 620, 705, 276, 300, 0, 792
710 -> 76, 381, 620, 724, 300, 0, 792, 400, 784, 566
504 -> 381, 724, 0
156 -> 376, 251, 381, 620, 724, 152, 842, 826, 276, 300, 36, 32, 0, 792, 788, 410
591 -> 381, 724, 842, 0
170 -> 381, 724, 152, 842, 36, 0, 422
600 -> 381, 724, 32, 0
508 -> 203, 381, 620, 0, 784
646 -> 826, 0
807 -> 381, 300, 0, 792
440 -> 56, 233, 203, 381, 428, 528, 724, 100, 276, 300, 0
384 -> 251, 724, 0, 422, 899
392 -> 251, 381, 620, 724, 152, 842, 300, 604, 504, 36, 818, 0, 792, 760
68 -> 604, 32, 0
352 -> 56, 842, 0, 792
12 -> 251, 381, 0
450 -> 251, 710, 0
404 -> 381, 724, 0, 760
36 -> 381, 528, 724, 842, 300, 0, 422, 792, 788
480 -> 251, 381, 0, 792
702 -> 458, 251, 381, 554, 724, 842, 300, 36, 0
484 -> 251, 381, 724, 152, 842, 0
894 -> 710, 0
32 -> 381, 0
222 -> 381, 724, 842, 0
818 -> 381, 724, 156, 0, 422, 792, 760, 788
716 -> 710, 0
579 -> 208, 251, 381, 620, 724, 826, 300, 604, 0, 422, 760, 188
688 -> 381, 724, 300, 0
0 ->
422 ->
792 ->
275 ->
400 ->
760 ->
784 ->
788 ->
568 ->
899 ->
530 ->
682 ->
490 ->
410 ->
566 ->
188 ->
--
Dr. Agr. Umberto Medicamento
PhD, MoS
address@hidden
mob. +39.320.83.68.670
skype umberto7755




reply via email to

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