metaheuristic_algorithms 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metaheuristic_algorithms/function_wrappers/easom_function_wrapper.rb +1 -1
- data/lib/metaheuristic_algorithms/function_wrappers/michaelwicz_function_wrapper.rb +1 -1
- data/lib/metaheuristic_algorithms/function_wrappers/nonsmooth_multipeak_function_wrapper.rb +1 -1
- data/lib/metaheuristic_algorithms/simulated_annealing.rb +2 -1
- data/lib/metaheuristic_algorithms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e93fd3942e1d7831286b0d122330e0ffc9af07f1
|
4
|
+
data.tar.gz: 056c20d3c4ab43513d6e7c480341c78e2546fe61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d2d130a8f78ac347370344a653c0b81775dfaa489c21d6d2a45092adb723167e3b5be945f3556c88122e05d53ef94d732dec5ec53b1214589ee7324cdddcb6
|
7
|
+
data.tar.gz: 07cf3a588365188af867a514f8f58af3130c88b3316c4e1cad9bba8f73edb7356a344f46f50ea1c07d081b7360b4bcec79c956782070671850d1f6eb7842a022
|
@@ -128,7 +128,8 @@ module MetaheuristicAlgorithms
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def acceptance_probability(evaluation_delta, temperature, bolzmann_constant)
|
131
|
-
BigMath.exp((-evaluation_delta / (bolzmann_constant * temperature)), 10)
|
131
|
+
# BigMath.exp((-evaluation_delta / (bolzmann_constant * temperature)), 10)
|
132
|
+
Math.exp(-evaluation_delta / (bolzmann_constant * temperature))
|
132
133
|
end
|
133
134
|
|
134
135
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metaheuristic_algorithms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tadatoshi Takahashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|