alekpopovic / algorithmically

Nature-Inspired Programming Recipes

Home Page:https://rubygems.org/gems/Algorithmically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem Version Build Status wercker status CodeFactor Codacy Badge codebeat badge BCH compliance

Algorithmically

Nature Inspired Programming Recipes

Installation

Add this line to your application's Gemfile:

gem 'Algorithmically'

And then execute:

$ bundle

Or install it yourself as:

$ gem install Algorithmically

Usage

Stochastic Algorithms

Random Search

Algorithmically::Stochastic::RandomSearch.new do |config|
  config.problem_size = 10
  config.maximum_iterations = 10
  config.negative_space = 2
  config.positive_space = 2
end

Algorithmically::Stochastic::RandomSearch.best_solution

About

Nature-Inspired Programming Recipes

https://rubygems.org/gems/Algorithmically

License:MIT License


Languages

Language:Ruby 99.8%Language:Shell 0.2%