rbmetis 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rbmetis/main.rb +8 -8
- data/lib/rbmetis/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: 1140fe5e4704f8ab8fe8d8d9756d79c15bc3ba16
|
4
|
+
data.tar.gz: 03c4337c34e6869e0e804fe1339ed28dbeaa379b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e55d2acb6a365b7fb4aa9c19e142b891d476f893120498f4b97ea7f7c6817f5c4fa1dcc577527996cab1da254de18fe62a8067f21c5f0f97f8e5ae2695ff2d9
|
7
|
+
data.tar.gz: 2071c83c161444dcb09d26686c7f6d9ab1db110ea39e552268d2908176a211d652b719e4600cb32ef4bfea62ae7eeb27c43d2b9324d4f2de2b4ebe3804dc3708
|
data/README.md
CHANGED
data/lib/rbmetis/main.rb
CHANGED
@@ -16,7 +16,7 @@ module RbMetis
|
|
16
16
|
#/*! Operation type codes */
|
17
17
|
OP_PMETIS,
|
18
18
|
OP_KMETIS,
|
19
|
-
OP_OMETIS = 0..2
|
19
|
+
OP_OMETIS = (0..2).to_a
|
20
20
|
|
21
21
|
#/*! Options codes (i.e., options[]) */
|
22
22
|
OPTION_PTYPE,
|
@@ -44,32 +44,32 @@ module RbMetis
|
|
44
44
|
OPTION_NOOUTPUT,
|
45
45
|
OPTION_BALANCE,
|
46
46
|
OPTION_GTYPE,
|
47
|
-
OPTION_UBVEC = 0..25
|
47
|
+
OPTION_UBVEC = (0..25).to_a
|
48
48
|
|
49
49
|
# /*! Partitioning Schemes */
|
50
50
|
PTYPE_RB,
|
51
|
-
PTYPE_KWAY = 0..1
|
51
|
+
PTYPE_KWAY = (0..1).to_a
|
52
52
|
|
53
53
|
# /*! Graph types for meshes */
|
54
54
|
GTYPE_DUAL,
|
55
|
-
GTYPE_NODAL = 0..1
|
55
|
+
GTYPE_NODAL = (0..1).to_a
|
56
56
|
|
57
57
|
# /*! Coarsening Schemes */
|
58
58
|
CTYPE_RM,
|
59
|
-
CTYPE_SHEM = 0..1
|
59
|
+
CTYPE_SHEM = (0..1).to_a
|
60
60
|
|
61
61
|
# /*! Initial partitioning schemes */
|
62
62
|
IPTYPE_GROW,
|
63
63
|
IPTYPE_RANDOM,
|
64
64
|
IPTYPE_EDGE,
|
65
65
|
IPTYPE_NODE,
|
66
|
-
IPTYPE_METISRB = 0..4
|
66
|
+
IPTYPE_METISRB = (0..4).to_a
|
67
67
|
|
68
68
|
# /*! Refinement schemes */
|
69
69
|
RTYPE_FM,
|
70
70
|
RTYPE_GREEDY,
|
71
71
|
RTYPE_SEP2SIDED,
|
72
|
-
RTYPE_SEP1SIDED = 0..3
|
72
|
+
RTYPE_SEP1SIDED = (0..3).to_a
|
73
73
|
|
74
74
|
# /*! Debug Levels */
|
75
75
|
DBG_INFO = 1
|
@@ -86,7 +86,7 @@ module RbMetis
|
|
86
86
|
# /* Types of objectives */
|
87
87
|
OBJTYPE_CUT,
|
88
88
|
OBJTYPE_VOL,
|
89
|
-
OBJTYPE_NODE = 0..2
|
89
|
+
OBJTYPE_NODE = (0..2).to_a
|
90
90
|
|
91
91
|
# @visibility private
|
92
92
|
module Lib
|
data/lib/rbmetis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbmetis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro TANAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|