Browse Source

tags/0.3.2
alexgutteridge 19 years ago
parent
commit
6b45ceea65
5 changed files with 39 additions and 0 deletions
  1. +8
    -0
      History.txt
  2. +15
    -0
      Manifest.txt
  3. +7
    -0
      ext/cIGraph.c
  4. +8
    -0
      ext/cIGraph.h
  5. +1
    -0
      test/test_all.rb

+ 8
- 0
History.txt View File

@@ -1,3 +1,11 @@
= 0.3.2 2007-09-03

* All 'structural property' functions now complete.

= 0.3.1 2007-08-31

* New functions added

= 0.3 2007-08-16

* Over-hauled attribute code


+ 15
- 0
Manifest.txt View File

@@ -2,6 +2,7 @@ History.txt
License.txt
Manifest.txt
README.txt
Rakefile.rb
ext/cIGraph.c
ext/cIGraph.h
ext/cIGraph_add_delete.c
@@ -10,17 +11,24 @@ ext/cIGraph_basic_properties.c
ext/cIGraph_basic_query.c
ext/cIGraph_centrality.c
ext/cIGraph_components.c
ext/cIGraph_direction.c
ext/cIGraph_error_handlers.c
ext/cIGraph_file.c
ext/cIGraph_iterators.c
ext/cIGraph_kcores.c
ext/cIGraph_layout.c
ext/cIGraph_matrix.c
ext/cIGraph_operators.c
ext/cIGraph_other_ops.c
ext/cIGraph_selectors.c
ext/cIGraph_shortest_paths.c
ext/cIGraph_spanning.c
ext/cIGraph_spectral.c
ext/cIGraph_topological_sort.c
ext/cIGraph_transitivity.c
ext/cIGraph_utility.c
ext/cIGraph_vertex_neighbourhood.c
ext/extconf.rb
test/tc_add_delete.rb
test/tc_attributes.rb
test/tc_basic_properties.rb
@@ -28,14 +36,21 @@ test/tc_basic_query.rb
test/tc_centrality.rb
test/tc_components.rb
test/tc_copy.rb
test/tc_cores.rb
test/tc_create.rb
test/tc_directedness.rb
test/tc_error_handling.rb
test/tc_file_read_write.rb
test/tc_iterators.rb
test/tc_layout.rb
test/tc_matrix.rb
test/tc_other_ops.rb
test/tc_selectors.rb
test/tc_shortest_paths.rb
test/tc_spanning.rb
test/tc_spectral.rb
test/tc_thrash.rb
test/tc_topological_sort.rb
test/tc_transitivity.rb
test/tc_vertex_neighbourhood.rb
test/test_all.rb

+ 7
- 0
ext/cIGraph.c View File

@@ -285,6 +285,13 @@ void Init_igraph(){

rb_define_method(cIGraph, "coreness", cIGraph_coreness, 1); /* in cIGraph_kcores.c */

rb_define_method(cIGraph, "density", cIGraph_density, 1); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "simplify", cIGraph_simplify, 2); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "reciprocity", cIGraph_reciprocity, 1); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "bibcoupling", cIGraph_bibcoupling, 1); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "cocitation", cIGraph_cocitation, 1); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "get_adjacency", cIGraph_get_adjacency, 1); /* in cIGraph_other_ops.c */
rb_define_method(cIGraph, "topological_sorting", cIGraph_topological_sorting, 1); /* in cIGraph_topological_sort.c */

rb_define_singleton_method(cIGraph, "read_graph_edgelist", cIGraph_read_graph_edgelist, 2); /* in cIGraph_file.c */


+ 8
- 0
ext/cIGraph.h View File

@@ -122,6 +122,14 @@ VALUE cIGraph_coreness(VALUE self, VALUE mode);
//Topological sorting
VALUE cIGraph_topological_sorting(VALUE self, VALUE mode);

//Other operations
VALUE cIGraph_density (VALUE self, VALUE loops);
VALUE cIGraph_simplify (VALUE self, VALUE mult, VALUE loops);
VALUE cIGraph_reciprocity (VALUE self, VALUE loops);
VALUE cIGraph_bibcoupling (VALUE self, VALUE vs);
VALUE cIGraph_cocitation (VALUE self, VALUE vs);
VALUE cIGraph_get_adjacency(VALUE self, VALUE mode);

//File handling
VALUE cIGraph_read_graph_edgelist (VALUE self, VALUE file, VALUE mode);
VALUE cIGraph_write_graph_edgelist(VALUE self, VALUE file);


+ 1
- 0
test/test_all.rb View File

@@ -18,6 +18,7 @@ require 'tc_error_handling'
require 'tc_file_read_write'
require 'tc_layout'
require 'tc_matrix'
require 'tc_other_ops'
require 'tc_shortest_paths'
require 'tc_spanning'
require 'tc_spectral'


Loading…
Cancel
Save