rbbt-dm 1.1.43 → 1.1.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/network/paths.rb +2 -2
- data/test/rbbt/network/test_paths.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa73301479755273960bc84aec02ba3684d834ba
|
4
|
+
data.tar.gz: 5ea346bea9926dda33f3ccdb78651f5987abfb96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f3774226a153552bf323ed058b21f405767810dce814166b605a87a6c7473ec5b38a4a56df82ba553c7f5d1521e2c04c401ae7a2b4df00281bf3d9d4ddc5dd
|
7
|
+
data.tar.gz: c48a92abf268fe4acf1a7d405df8e93446fff00a7ccdbca16b4e0e1ffae8607a40eb67f2495e1908dc34dba2ba61d6079c9b2849078712786036d95f06531ca3
|
data/lib/rbbt/network/paths.rb
CHANGED
@@ -5,7 +5,7 @@ module Paths
|
|
5
5
|
def self.dijkstra(adjacency, start_node, end_node = nil, max_steps = nil)
|
6
6
|
return nil unless adjacency.include? start_node
|
7
7
|
|
8
|
-
active = FastContainers::PriorityQueue.new(:
|
8
|
+
active = FastContainers::PriorityQueue.new(:min)
|
9
9
|
distances = Hash.new { 1.0 / 0.0 }
|
10
10
|
parents = Hash.new
|
11
11
|
|
@@ -49,7 +49,7 @@ module Paths
|
|
49
49
|
def self.weighted_dijkstra(adjacency, start_node, end_node = nil, threshold = nil, max_steps = nil)
|
50
50
|
return nil unless adjacency.include? start_node
|
51
51
|
|
52
|
-
active = FastContainers::PriorityQueue.new(:
|
52
|
+
active = FastContainers::PriorityQueue.new(:min)
|
53
53
|
distances = Hash.new { 1.0 / 0.0 }
|
54
54
|
parents = Hash.new
|
55
55
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-dm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
@@ -138,18 +138,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.6.
|
141
|
+
rubygems_version: 2.6.13
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Data-mining and statistics
|
145
145
|
test_files:
|
146
|
-
- test/test_helper.rb
|
147
|
-
- test/rbbt/test_stan.rb
|
148
|
-
- test/rbbt/vector/model/test_svm.rb
|
149
|
-
- test/rbbt/vector/test_model.rb
|
150
146
|
- test/rbbt/network/test_paths.rb
|
151
147
|
- test/rbbt/matrix/test_barcode.rb
|
148
|
+
- test/rbbt/statistics/test_random_walk.rb
|
152
149
|
- test/rbbt/statistics/test_fisher.rb
|
153
|
-
- test/rbbt/statistics/test_hypergeometric.rb
|
154
150
|
- test/rbbt/statistics/test_fdr.rb
|
155
|
-
- test/rbbt/statistics/
|
151
|
+
- test/rbbt/statistics/test_hypergeometric.rb
|
152
|
+
- test/rbbt/vector/test_model.rb
|
153
|
+
- test/rbbt/vector/model/test_svm.rb
|
154
|
+
- test/rbbt/test_stan.rb
|
155
|
+
- test/test_helper.rb
|