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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 270570bf58c397ec1f6da3195f882a5cf73eb1a1
4
- data.tar.gz: 4f7232e2c2cddff960f2f9dce6e4279298b53408
3
+ metadata.gz: fa73301479755273960bc84aec02ba3684d834ba
4
+ data.tar.gz: 5ea346bea9926dda33f3ccdb78651f5987abfb96
5
5
  SHA512:
6
- metadata.gz: faa0514ae85d537007147f8a1c06367202cffa83c5081b68f9e2e23943b02cc5601160fbcfd32f0c041fd511b2f3116e82b14b5313ba57488297f76a74f77433
7
- data.tar.gz: bc1d750d449763f45482318e1f4fe5d54f80c64eb90c3fb08c71d94d282496aa87e54004f309e2c2dac4cc3bc01995880481be490c4bf6510d1e35417276eb85
6
+ metadata.gz: f7f3774226a153552bf323ed058b21f405767810dce814166b605a87a6c7473ec5b38a4a56df82ba553c7f5d1521e2c04c401ae7a2b4df00281bf3d9d4ddc5dd
7
+ data.tar.gz: c48a92abf268fe4acf1a7d405df8e93446fff00a7ccdbca16b4e0e1ffae8607a40eb67f2495e1908dc34dba2ba61d6079c9b2849078712786036d95f06531ca3
@@ -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(:max)
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(:max)
52
+ active = FastContainers::PriorityQueue.new(:min)
53
53
  distances = Hash.new { 1.0 / 0.0 }
54
54
  parents = Hash.new
55
55
 
@@ -6,7 +6,7 @@ require 'set'
6
6
 
7
7
 
8
8
  class TestNetwork < Test::Unit::TestCase
9
- def _test_dijsktra
9
+ def test_dijsktra
10
10
  network_txt=<<-EOF
11
11
  #: :sep=/\s/#:type=:flat
12
12
  #Start End
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.43
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-29 00:00:00.000000000 Z
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.8
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/test_random_walk.rb
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