1. 24 Nov, 2010 1 commit
    • Tiago Peixoto's avatar
      Implement PropertyArray to encapsulate property map data · 7c3a1e99
      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.
      7c3a1e99
  2. 13 Nov, 2010 1 commit
  3. 04 Oct, 2010 2 commits
  4. 30 Jul, 2010 1 commit
  5. 28 Jul, 2010 1 commit
  6. 13 Jul, 2010 1 commit
  7. 21 May, 2010 2 commits
  8. 03 May, 2010 1 commit
  9. 07 Mar, 2010 1 commit
  10. 28 Jan, 2010 1 commit
  11. 28 Nov, 2009 1 commit
  12. 09 Nov, 2009 1 commit
  13. 05 Nov, 2009 1 commit
    • Tiago Peixoto's avatar
      Fix bug with self-loops in Graph.clear_vertex() · 23f6f40f
      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.
      23f6f40f
  14. 05 Oct, 2009 1 commit
  15. 18 Sep, 2009 2 commits
  16. 06 Sep, 2009 1 commit
  17. 05 Sep, 2009 1 commit
    • Tiago Peixoto's avatar
      Include PropertyMap.a property · 5540d1eb
      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)
      5540d1eb
  18. 03 Sep, 2009 1 commit
  19. 16 Aug, 2009 1 commit
  20. 13 Aug, 2009 1 commit
    • Tiago Peixoto's avatar
      Reorganize exceptions thrown · f257d426
      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.
      f257d426
  21. 07 Aug, 2009 1 commit
  22. 02 Aug, 2009 1 commit
  23. 15 Jul, 2009 1 commit
  24. 11 Jun, 2009 1 commit
  25. 23 May, 2009 1 commit
  26. 15 May, 2009 2 commits
  27. 11 May, 2009 2 commits
  28. 26 Apr, 2009 1 commit
  29. 25 Apr, 2009 1 commit
  30. 14 Apr, 2009 3 commits
  31. 09 Mar, 2009 2 commits
  32. 22 Feb, 2009 1 commit