Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattetti/gecoder
A copy of the old http://gecoder.rubyforge.org/ svn repo (this code is unmaintained and not compatible with the latest versions of Gecode)
https://github.com/mattetti/gecoder
Last synced: about 12 hours ago
JSON representation
A copy of the old http://gecoder.rubyforge.org/ svn repo (this code is unmaintained and not compatible with the latest versions of Gecode)
- Host: GitHub
- URL: https://github.com/mattetti/gecoder
- Owner: mattetti
- License: other
- Created: 2011-11-02T02:44:21.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-02T22:01:22.000Z (about 13 years ago)
- Last Synced: 2024-11-27T12:44:47.799Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 40.8 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- License: COPYING
Awesome Lists containing this project
README
= Gecode/R
Website: http://gecoder.org
Gecode/R is a Ruby interface to the Gecode constraint programming library.
Gecode/R is intended for people with no previous experience of constraint
programming, aiming to be easy to pick up and use.See Gecode::Mixin to get started.
== Installation
Gecode/R requires Gecode 2.2.0, which can be downloaded from
http://www.gecode.org/download.html . See
http://www.gecode.org/gecode-doc-latest/PageComp.html for the installation
instructions.=== Installing from gem
There are two gems. The first includes only Gecode/R, and assumes that you have
installed Gecode yourself. The second includes both Gecode/R and Gecode. If you
use Windows then you're recommended to use the second one, even though you
already have Gecode, as the other one does not come in a pre-compiled variant.Gecode/R only:
gem install gecoder
Gecode/R and Gecode:
gem install gecoder-with-gecode=== Installing from source using gem
rake gem
gem install pkg/gecoder-1.x.x.gem=== Installing from source without using gem
"gecode.so" might have another extension depending on which platform it's
generated on (replace the extension in the following commands with whatever
extension it's given).cd ext
ruby extconf.rb
make
mv gecode.so ../lib/=== Running the tests
rake specs
Requires RSpec (1.0.5, but other version should hopefully work).