summa 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/summa.rb +2 -5
- metadata +1 -1
data/lib/summa.rb
CHANGED
@@ -1,18 +1,16 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__)) unless
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
3
|
|
4
|
-
|
5
|
-
require 'FrequencyAnalyzer'
|
6
4
|
require 'SummaData'
|
7
5
|
require 'SummaUtils'
|
8
6
|
|
9
7
|
module Summa
|
10
|
-
VERSION = '0.0.
|
8
|
+
VERSION = '0.0.11'
|
11
9
|
end
|
12
10
|
|
13
11
|
class String
|
14
12
|
def summary
|
15
|
-
puts "
|
13
|
+
puts "11..."
|
16
14
|
end
|
17
15
|
end
|
18
16
|
|
@@ -44,7 +42,6 @@ class PheremoneAnalysis
|
|
44
42
|
@pheremones[i] = 0
|
45
43
|
end
|
46
44
|
end
|
47
|
-
|
48
45
|
|
49
46
|
def analyze()
|
50
47
|
front = 1/(@sigma * Math.sqrt(2 * Math::PI))
|