[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [igraph] ID's for nodes/vertices

**From**: |
Håvard Wahl Kongsgård |

**Subject**: |
Re: [igraph] ID's for nodes/vertices |

**Date**: |
Mon, 11 Jul 2011 15:31:54 +0200 |

Also with the correct code for "similarity inverse log weighted"
a = i.similarity_inverse_log_weighted(vertices=33,23)
I again get the memory error
MemoryError: Error at vector.pmt:125: cannot init vector, Out of memory
Again python does not consume any memory.
Does this function also convert the graph into a matrix like object?
-Håvard
2011/7/11 Håvard Wahl Kongsgård <address@hidden>:
>* Hi, when importing graph files do vertices/nodes keep there original*
>* ID or are nodes reassigned a new int value?*
>* If so what is the simplest method to find the new ID value?*
>
>* the reason is that with*
>
>* a = i.similarity_inverse_log_weighted(vertices=290000)*
>
>* igraph.core.InternalError: Error at iterators.c:711: Cannot create*
>* iterator, invalid vertex id, Invalid vertex id*
>
>* --*
>* Håvard Wahl Kongsgård*
>