cecelia 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +41 -0
- data/lib/cecelia/version.rb +1 -1
- data/pkg/cecelia-0.0.1.gem +0 -0
- metadata +2 -1
data/README.rdoc
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
= Cecelia
|
2
|
+
|
3
|
+
* http://rubygems.org/gems/cecelia
|
4
|
+
* https://github.com/onodes/cecelia
|
5
|
+
|
6
|
+
== DESCRIPTION
|
7
|
+
|
8
|
+
The Cecelia library is used for complex network and graph theory.
|
9
|
+
Cecelia automatically save vertices and edges to the database.
|
10
|
+
All vertices and all edges are in the database.
|
11
|
+
So some methods is transform to a query.
|
12
|
+
Therefore Cecelia is low memory, be useful for large complex network and large graph.
|
13
|
+
|
14
|
+
== Dependencies
|
15
|
+
|
16
|
+
* ruby 1.9.2, 1.9.3
|
17
|
+
* sequel
|
18
|
+
|
19
|
+
== Developers
|
20
|
+
|
21
|
+
To run
|
22
|
+
|
23
|
+
gem install cecelia
|
24
|
+
|
25
|
+
and make network
|
26
|
+
|
27
|
+
cecelia = Cecelia.new("db_name")
|
28
|
+
cecelia.add_vertex(1)
|
29
|
+
=> #<Vertices @values={:id=>1, :attributes=>1}>
|
30
|
+
cecelia.add_vertex(2)
|
31
|
+
=> #<Vertices @values={:id=>2, :attributes=>2}>
|
32
|
+
cecelia.add_edge(1,2)
|
33
|
+
=> #<Edges @values={:id=>1, :source=>1, :target=>2, :attributes=>""}>
|
34
|
+
cecelia.vertices
|
35
|
+
=> [#<Vertices @values={:id=>1, :attributes=>1}>, #<Vertices @values={:id=>2, :attributes=>2}>]
|
36
|
+
cecelia.edges
|
37
|
+
=> [#<Edges @values={:id=>1, :source=>1, :target=>2, :attributes=>""}>]
|
38
|
+
|
39
|
+
== Authors
|
40
|
+
|
41
|
+
Copyright (c) 2012 by Daichi ONODERA (onodes@onod.es)
|
data/lib/cecelia/version.rb
CHANGED
data/pkg/cecelia-0.0.1.gem
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cecelia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -68,6 +68,7 @@ extra_rdoc_files: []
|
|
68
68
|
files:
|
69
69
|
- Gemfile
|
70
70
|
- Gemfile.lock
|
71
|
+
- README.rdoc
|
71
72
|
- Rakefile
|
72
73
|
- cecelia.gemspec
|
73
74
|
- lib/cecelia.rb
|