Project

cecelia

0.0
No commit activity in last 3 years
No release in over 3 years
cecelia
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Cecelia¶ ↑

DESCRIPTION¶ ↑

The Cecelia library is used for complex network and graph theory. Cecelia automatically save vertices and edges to the database. All vertices and all edges are in the database. So some methods is transform to a query. Therefore Cecelia is low memory, be useful for large complex network and large graph.

Dependencies¶ ↑

  • ruby 1.9.2, 1.9.3

  • sequel

Developers¶ ↑

To run

gem install cecelia

and make network

cecelia = Cecelia.new("db_name")
cecelia.add_vertex(1)
  => #<Vertices @values={:id=>1, :attributes=>1}> 
cecelia.add_vertex(2)
  => #<Vertices @values={:id=>2, :attributes=>2}>
cecelia.add_edge(1,2)
  => #<Edges @values={:id=>1, :source=>1, :target=>2, :attributes=>""}>
cecelia.vertices
  => [#<Vertices @values={:id=>1, :attributes=>1}>, #<Vertices @values={:id=>2, :attributes=>2}>]
cecelia.edges
  => [#<Edges @values={:id=>1, :source=>1, :target=>2, :attributes=>""}>]

Authors¶ ↑

Copyright © 2012 by Daichi ONODERA (onodes@onod.es)