- 20 Dec, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 04 Dec, 2010 3 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
Tiago Peixoto authored
Now an explicit conversion to a compatible python type is attempted if the value being set in a property map cannot be converted directly to a C++ type. This also fixes a bug with vector-valued property maps.
-
- 24 Nov, 2010 1 commit
-
-
Tiago Peixoto authored
The arrays returned by PropertyMap.get_array() are now PropertyArray instances, which keep track of the PropertyMap data, and are able to detect when it changes, and raise a ValueError exception. As such, it becomes impossible to read or write to non-allocated memory if an array becomes invalid.
-
- 13 Nov, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 04 Oct, 2010 2 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
- 30 Jul, 2010 1 commit
-
-
Tiago Peixoto authored
These functions/properties provide more information and control about edge indexing, which might be useful.
-
- 28 Jul, 2010 1 commit
-
-
Tiago Peixoto authored
The reserved size for the array was set to g.num_edges(), but it should be set to the maximum edge index + 1, since some edges might have been deleted.
-
- 13 Jul, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 21 May, 2010 2 commits
-
-
Tiago Peixoto authored
Now vector types of property maps can be accessed as arrays with the get_array() and 'a' property, just like scalar property maps.
-
Tiago Peixoto authored
This fixes a small typo bug, which prevented loading from file-like objects.
-
- 03 May, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 07 Mar, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 28 Jan, 2010 1 commit
-
-
Tiago Peixoto authored
-
- 28 Nov, 2009 1 commit
-
-
Tiago Peixoto authored
It is now possible to obtain the vertex with index i even for filtered graphs.
-
- 09 Nov, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 05 Nov, 2009 1 commit
-
-
Tiago Peixoto authored
Since the same edge appears twice in Vertex.all_edges() if it is a self_loop, it would be deleted twice in Graph.clear_vertex(), raising an exception. Now, the edges are stored in a set first, avoiding this problem.
-
- 05 Oct, 2009 1 commit
-
-
Tiago Peixoto authored
This completes all the documentation up to this point.
-
- 18 Sep, 2009 2 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
This fixes an obvious problem, where the graph gets deleted, and the descriptors are still lying around. Usage of orphaned descriptors will now just raise a ValueError. The __repr__ function of Edge, Vertex, and PropertyMap now give something more informative about each object.
-
- 06 Sep, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 05 Sep, 2009 1 commit
-
-
Tiago Peixoto authored
This provides convienent access to the underlying array values, such as: p.a = random(len(p.a)) instead of: p.get_array()[:] = random(len(p.get_array())) (the latter is still supported)
-
- 03 Sep, 2009 1 commit
-
-
Tiago Peixoto authored
These functions group several scalar properties into one vector properties, and ungroup a vector property into several scalar properties.
-
- 16 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
This also includes convenience property map checks.
-
- 13 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
No longer only thrown GraphError upon any error, but instead throw specific exceptions which are more meaninful and are mapped to standard python exceptions, such as IOError, ValueError and RuntimeError.
-
- 07 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
This would cause the graph to become directed (when previously undirected) in some circumstances.
-
- 02 Aug, 2009 1 commit
-
-
Tiago Peixoto authored
This prints useful library information.
-
- 15 Jul, 2009 1 commit
-
-
Tiago Peixoto authored
This modified several docstrings and introduces a quick-start guide.
-
- 11 Jun, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 23 May, 2009 1 commit
-
-
Tiago Peixoto authored
Now the parameter "all" is ignored, if any of the other parameters is True.
-
- 15 May, 2009 2 commits
-
-
Tiago Peixoto authored
The following is now possible: g = Graph(directed=False) Instead of the only way previously: g = Graph() g.set_directed(False)
-
Tiago Peixoto authored
The following conversions are now possible: int(v) and tuple(e), where v and e are Vertex and Edge instances, respectively.
-
- 11 May, 2009 2 commits
-
-
Tiago Peixoto authored
-
Tiago Peixoto authored
-
- 26 Apr, 2009 1 commit
-
-
Tiago Peixoto authored
-
- 25 Apr, 2009 1 commit
-
-
Tiago Peixoto authored
Now all filters are stashed by default. In order to override this, the parameter all=False needs to be passed, and the individual filters need to be specified.
-
- 14 Apr, 2009 2 commits
-
-
Tiago Peixoto authored
Individual filters can be stashed and popped by passing keyword arguments to the respective functions. Additionally the filter state can be obtained and set directly, with the get_filter_state() and set_filter_state() functions.
-
Tiago Peixoto authored
-