metaheuristic_algorithms 0.2.2 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79a44f16cee786027f6d91b9c721163ef365f0f2
4
- data.tar.gz: 9dec869250ee76ea45cd928e67ad3a788c52c742
3
+ metadata.gz: e93fd3942e1d7831286b0d122330e0ffc9af07f1
4
+ data.tar.gz: 056c20d3c4ab43513d6e7c480341c78e2546fe61
5
5
  SHA512:
6
- metadata.gz: 08c667e5deaee8c82cbb71b31b8c648182f99972e4c85ea4a9c6b23babc05766b7bbd344296d28b2c1b06ab9259f5ee7c7a677c33b47a68297919f62a9bb64a9
7
- data.tar.gz: f69b32b81d20cfdda7c2f9957709f203ae24b398f3722cb8230fe50b64186eae73da66f792a8365aa785a8bde544ac8b9ce7841f2d9e26c1f103278633fd395c
6
+ metadata.gz: c8d2d130a8f78ac347370344a653c0b81775dfaa489c21d6d2a45092adb723167e3b5be945f3556c88122e05d53ef94d732dec5ec53b1214589ee7324cdddcb6
7
+ data.tar.gz: 07cf3a588365188af867a514f8f58af3130c88b3316c4e1cad9bba8f73edb7356a344f46f50ea1c07d081b7360b4bcec79c956782070671850d1f6eb7842a022
@@ -23,7 +23,7 @@ module MetaheuristicAlgorithms
23
23
  end
24
24
 
25
25
  def initial_decision_variable_value_estimates
26
- raise "#{__method__} method must be implemented in the subclass"
26
+ raise "#{__method__} method has no definition"
27
27
  end
28
28
 
29
29
  end
@@ -25,7 +25,7 @@ module MetaheuristicAlgorithms
25
25
  end
26
26
 
27
27
  def initial_decision_variable_value_estimates
28
- raise "#{__method__} method must be implemented in the subclass"
28
+ raise "#{__method__} method has no definition"
29
29
  end
30
30
 
31
31
  end
@@ -22,7 +22,7 @@ module MetaheuristicAlgorithms
22
22
  end
23
23
 
24
24
  def initial_decision_variable_value_estimates
25
- raise "#{__method__} method must be implemented in the subclass"
25
+ raise "#{__method__} method has no definition"
26
26
  end
27
27
 
28
28
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module MetaheuristicAlgorithms
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  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.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-10-24 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler