pikk 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +4 -4
- data/lib/pikk/version.rb +1 -1
- data/pikk.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2ee1377037f862281b8e1d35afdafb9510aec89
|
|
4
|
+
data.tar.gz: f3f65ed8cff7d4f2a45a63c83dd8d1e627509a69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3436b763feb071298fa059f9219027b77cabe161f5b6f742917060081365276e17b4b2dd863f5e22821ed1312673ee55aec6ea761e7f9efa0aa64bc6fb668f05
|
|
7
|
+
data.tar.gz: fa549011ae720d2a960650446fc344c9e611642c67766d024e9d4bae3d6e2793d595fd9ab239fbafd600da59ff8e1beac0146ca7aee14d3bf1745813ad7b0937
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pikk (0.1.
|
|
4
|
+
pikk (0.1.3)
|
|
5
5
|
terminal-table
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
rspec-support (3.7.1)
|
|
25
25
|
terminal-table (1.8.0)
|
|
26
26
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
27
|
-
unicode-display_width (1.
|
|
27
|
+
unicode-display_width (1.4.0)
|
|
28
28
|
|
|
29
29
|
PLATFORMS
|
|
30
30
|
ruby
|
|
@@ -36,4 +36,4 @@ DEPENDENCIES
|
|
|
36
36
|
rspec (~> 3.0)
|
|
37
37
|
|
|
38
38
|
BUNDLED WITH
|
|
39
|
-
1.16.
|
|
39
|
+
1.16.5
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pikk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Genetic Algorithm Pool Selection.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -39,7 +39,7 @@ Pikk.pool(ary)
|
|
|
39
39
|
Pikk.pool(ary, iteration: 100)
|
|
40
40
|
# => [{:name=>"c", :weight=>7, :count=>37, :probability=>0.4117647058823529}, {:name=>"a", :weight=>5.5, :count=>34, :probability=>0.3235294117647059}, {:name=>"b", :weight=>3, :count=>18, :probability=>0.17647058823529413}, {:name=>"d", :weight=>1.5, :count=>11, :probability=>0.08823529411764706}]
|
|
41
41
|
|
|
42
|
-
Pikk.pool(ary, pp: true)
|
|
42
|
+
Pikk.pool(ary, iteration: 1000, pp: true)
|
|
43
43
|
# =>
|
|
44
44
|
# +-----------------+--------+-------+---------------------+--------------------+
|
|
45
45
|
# | Name | Weight | Count | Probability | (C/(P*I)) |
|
|
@@ -63,7 +63,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
63
63
|
|
|
64
64
|
## Contributing
|
|
65
65
|
|
|
66
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/aoozdemir/
|
|
66
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/aoozdemir/pikk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
67
67
|
|
|
68
68
|
## License
|
|
69
69
|
|
|
@@ -71,4 +71,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
71
71
|
|
|
72
72
|
## Code of Conduct
|
|
73
73
|
|
|
74
|
-
Everyone interacting in the
|
|
74
|
+
Everyone interacting in the Pikk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/aoozdemir/pikk/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/pikk/version.rb
CHANGED
data/pikk.gemspec
CHANGED
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Oguzhan Ozdemir"]
|
|
10
10
|
spec.email = ["aoozdemir@live.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = %q{
|
|
13
|
-
spec.description = %q{
|
|
12
|
+
spec.summary = %q{Genetic Algorithm Pool Selection.}
|
|
13
|
+
spec.description = %q{Genetic Algorithm Pool Selection.}
|
|
14
14
|
spec.homepage = "https://github.com/aoozdemir/pikk"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pikk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oguzhan Ozdemir
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description:
|
|
69
|
+
description: Genetic Algorithm Pool Selection.
|
|
70
70
|
email:
|
|
71
71
|
- aoozdemir@live.com
|
|
72
72
|
executables: []
|
|
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
111
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.6.14
|
|
112
|
+
rubygems_version: 2.6.14.1
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
|
-
summary:
|
|
115
|
+
summary: Genetic Algorithm Pool Selection.
|
|
116
116
|
test_files: []
|