nysol-take 3.0.0 → 3.0.2
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 +5 -5
- data/bin/mbiclique.rb +0 -1
- data/bin/mccomp.rb +1 -1
- data/bin/mitemset.rb +4 -2
- data/bin/msequence.rb +12 -2
- data/bin/mtra2g.rb +3 -3
- data/ext/grhfilrun/extconf.rb +3 -3
- data/ext/lcmrun/extconf.rb +3 -3
- data/ext/lcmrun/lcmrun.cpp +2 -2
- data/ext/lcmseq0run/extconf.rb +3 -3
- data/ext/lcmseq0run/lcmseq0run.cpp +2 -2
- data/ext/lcmseqrun/extconf.rb +3 -3
- data/ext/lcmseqrun/lcmseqrun.cpp +2 -2
- data/ext/macerun/extconf.rb +3 -3
- data/ext/macerun/macerun.cpp +2 -1
- data/ext/sspcrun/extconf.rb +3 -3
- data/ext/sspcrun/sspcrun.cpp +8 -3
- data/lib/nysol/enumLcmEp.rb +56 -41
- data/lib/nysol/enumLcmEsp.rb +55 -36
- data/lib/nysol/enumLcmIs.rb +37 -36
- data/lib/nysol/enumLcmSeq.rb +41 -27
- metadata +118 -120
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a2753f4a5688ae9282382023020a2e10ec12029e98a7aad35ef6cf21f7197053
|
4
|
+
data.tar.gz: ff30c45b9deec28f3f209d8171af001a4aeed53b78320845b534600f910a85fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45950f53a25a8c36cebefe965af85b3070e75d0044a9fe8eaeeaa1aa5e0cc9c499990fb2009d7cfb8095ec8fc08090bf33295415ba852838b9788e11f5c9af01
|
7
|
+
data.tar.gz: 62b0116f86a64fd5e27216c02effdda7fcb3ec12d64032ccae42ffe455ee63659e98be3377cce05c5dfe211604c3b9e5fad3378d6489e2ab48f3e85c05f424f8
|
data/bin/mbiclique.rb
CHANGED
data/bin/mccomp.rb
CHANGED
data/bin/mitemset.rb
CHANGED
@@ -75,7 +75,7 @@ end
|
|
75
75
|
help() if ARGV.size <= 0 or ARGV[0]=="--help"
|
76
76
|
ver() if ARGV[0]=="--version"
|
77
77
|
|
78
|
-
args=MCMD::Margs.new(ARGV,"i=,x=,O=,tid=,item=,class=,taxo=,type=,s=,S=,sx=,Sx=,g=,p=,-uniform,l=,u=,top=,T=,-replaceTaxo")
|
78
|
+
args=MCMD::Margs.new(ARGV,"i=,x=,O=,tid=,item=,class=,taxo=,type=,s=,S=,sx=,Sx=,g=,p=,-uniform,l=,u=,top=,T=,-replaceTaxo,-q")
|
79
79
|
|
80
80
|
# コマンド実行可能確認
|
81
81
|
#exit(1) unless(MCMD::chkCmdExe(TAKE::LcmIs::CMD , "executable"))
|
@@ -105,6 +105,8 @@ itemFN = itemFN["names"].join(",") if itemFN
|
|
105
105
|
clsFN = clsFN["names"].join(",") if clsFN
|
106
106
|
taxoFN = taxoFN["names"].join(",") if taxoFN
|
107
107
|
|
108
|
+
sortInfo = args.bool("-q")
|
109
|
+
|
108
110
|
eArgs=Hash.new
|
109
111
|
eArgs["type" ] = args. str("type=","F" )
|
110
112
|
eArgs["minSup" ] = args.float("s=" ,0.05 ,0 ,1 ) # 最小サポート
|
@@ -160,7 +162,7 @@ end
|
|
160
162
|
|
161
163
|
# 出力
|
162
164
|
system("mkdir -p #{outPath}")
|
163
|
-
lcm.output(outPath)
|
165
|
+
lcm.output(outPath,sortInfo)
|
164
166
|
|
165
167
|
MCMD::msgLog("The final results are in the directory `#{outPath}'")
|
166
168
|
|
data/bin/msequence.rb
CHANGED
@@ -74,7 +74,7 @@ end
|
|
74
74
|
|
75
75
|
help() if ARGV.size <= 0 or ARGV[0]=="--help"
|
76
76
|
ver() if ARGV[0]=="--version"
|
77
|
-
args=MCMD::Margs.new(ARGV,"i=,c=,x=,O=,tid=,time=,item=,class=,taxo=,s=,S=,sx=,Sx=,g=,p=,-uniform,l=,u=,top=,gap=,win=,-padding,T=,-mcmdenv")
|
77
|
+
args=MCMD::Margs.new(ARGV,"i=,c=,x=,O=,tid=,time=,item=,class=,taxo=,s=,S=,sx=,Sx=,g=,p=,-uniform,l=,u=,top=,gap=,win=,-padding,T=,-mcmdenv,-m,-c,-q")
|
78
78
|
|
79
79
|
# lcm_seqコマンド実行可能確認
|
80
80
|
#exit(1) unless(MCMD::chkCmdExe(TAKE::LcmSeq::CMD , "executable"))
|
@@ -106,6 +106,9 @@ itemFN = itemFN["names"].join(",") if itemFN
|
|
106
106
|
clsFN = clsFN["names"].join(",") if clsFN
|
107
107
|
taxoFN = taxoFN["names"].join(",") if taxoFN
|
108
108
|
|
109
|
+
sortInfo = args.bool("-q")
|
110
|
+
|
111
|
+
|
109
112
|
eArgs=Hash.new
|
110
113
|
eArgs["minSup" ] = args.float("s=" ,0.05 ,0,1 ) # 最小サポート
|
111
114
|
eArgs["minCnt" ] = args. int("S=" ,nil ,1,nil ) # 最小サポート件数
|
@@ -120,6 +123,13 @@ eArgs["gap" ] = args. int("gap=" ,nil ,0,nil ) # gap長上限限
|
|
120
123
|
eArgs["win" ] = args. int("win=" ,nil ,0,nil ) # win size上限限
|
121
124
|
eArgs["padding"] = args. bool("-padding") # 0item ommit
|
122
125
|
eArgs["top" ] = args. int("top=" ,nil,0)
|
126
|
+
eArgs["exM"] = args. bool("-m") # extension maximal patterns only
|
127
|
+
eArgs["exC"] = args. bool("-c") # extension closed patterns only
|
128
|
+
|
129
|
+
|
130
|
+
if eArgs["exM"] and eArgs["exC"] then
|
131
|
+
raise "-m cannot be specified with -c"
|
132
|
+
end
|
123
133
|
|
124
134
|
if eArgs["minLen"] and eArgs["maxLen"]
|
125
135
|
if eArgs["minLen"] > eArgs["maxLen"] then
|
@@ -156,7 +166,7 @@ end
|
|
156
166
|
|
157
167
|
# 出力
|
158
168
|
system("mkdir -p #{outPath}")
|
159
|
-
lcm.output(outPath)
|
169
|
+
lcm.output(outPath,sortInfo)
|
160
170
|
|
161
171
|
MCMD::msgLog("The final results are in the directory `#{outPath}'")
|
162
172
|
|
data/bin/mtra2g.rb
CHANGED
@@ -340,7 +340,7 @@ eArgs["nomodel"] = true
|
|
340
340
|
# クラスありパターン列挙
|
341
341
|
if clsFN then
|
342
342
|
# ノードはクラス関係なく全体でfrequentな2アイテムセットを求める
|
343
|
-
lcm=TAKE::LcmIs.new(db);
|
343
|
+
lcm=TAKE::LcmIs.new(db,false);
|
344
344
|
eArgs["minLen"] = 1
|
345
345
|
eArgs["maxLen"] = 1
|
346
346
|
if node_support
|
@@ -371,7 +371,7 @@ if clsFN then
|
|
371
371
|
eArgs["minSup"] = minSup
|
372
372
|
eArgs["minCnt"] = minCnt
|
373
373
|
|
374
|
-
lcm=TAKE::LcmEp.new(db);
|
374
|
+
lcm=TAKE::LcmEp.new(db,false);
|
375
375
|
lcm.enumerate(eArgs)
|
376
376
|
# system "head #{lcm.pFile}"
|
377
377
|
# class%0nr,pid,pattern,size,pos%2nr,neg,posTotal,negTotal,total,support,growthRate,postProb%1nr
|
@@ -410,7 +410,7 @@ if clsFN then
|
|
410
410
|
|
411
411
|
# クラスなしパターン列挙
|
412
412
|
else
|
413
|
-
lcm=TAKE::LcmIs.new(db);
|
413
|
+
lcm=TAKE::LcmIs.new(db,false);
|
414
414
|
# 1 itemset
|
415
415
|
eArgs["minLen" ] = 1
|
416
416
|
eArgs["maxLen" ] = 1
|
data/ext/grhfilrun/extconf.rb
CHANGED
@@ -3,9 +3,9 @@ require "mkmf"
|
|
3
3
|
|
4
4
|
|
5
5
|
cp = "$(srcdir)"
|
6
|
-
$CFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
7
|
-
$CPPFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
8
|
-
$CXXFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
6
|
+
$CFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wc++11-narrowing -Wno-error=format-security"
|
7
|
+
$CPPFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wc++11-narrowing -Wno-error=format-security"
|
8
|
+
$CXXFLAGS = " -O3 -Os -s -w -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wc++11-narrowing -Wno-error=format-security"
|
9
9
|
|
10
10
|
|
11
11
|
create_makefile("nysol/grhfilrun")
|
data/ext/lcmrun/extconf.rb
CHANGED
@@ -10,9 +10,9 @@ end
|
|
10
10
|
|
11
11
|
cp = "$(srcdir)"
|
12
12
|
|
13
|
-
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
14
|
-
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
15
|
-
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
13
|
+
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
14
|
+
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
15
|
+
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
16
16
|
|
17
17
|
$LOCAL_LIBS += " -lstdc++ -lkgmod3"
|
18
18
|
|
data/ext/lcmrun/lcmrun.cpp
CHANGED
data/ext/lcmseq0run/extconf.rb
CHANGED
@@ -10,9 +10,9 @@ end
|
|
10
10
|
|
11
11
|
cp = "$(srcdir)"
|
12
12
|
|
13
|
-
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
14
|
-
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
15
|
-
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
13
|
+
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
14
|
+
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
15
|
+
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
16
16
|
|
17
17
|
$LOCAL_LIBS += " -lstdc++ -lkgmod3"
|
18
18
|
|
data/ext/lcmseqrun/extconf.rb
CHANGED
@@ -10,9 +10,9 @@ end
|
|
10
10
|
|
11
11
|
cp = "$(srcdir)"
|
12
12
|
|
13
|
-
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
14
|
-
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
15
|
-
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
13
|
+
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
14
|
+
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
15
|
+
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
16
16
|
|
17
17
|
$LOCAL_LIBS += " -lstdc++ -lkgmod3"
|
18
18
|
|
data/ext/lcmseqrun/lcmseqrun.cpp
CHANGED
data/ext/macerun/extconf.rb
CHANGED
@@ -10,9 +10,9 @@ end
|
|
10
10
|
|
11
11
|
cp = "$(srcdir)"
|
12
12
|
|
13
|
-
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
14
|
-
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
15
|
-
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
13
|
+
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
14
|
+
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
15
|
+
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
16
16
|
|
17
17
|
$LOCAL_LIBS += " -lstdc++ -lm -lkgmod3"
|
18
18
|
|
data/ext/macerun/macerun.cpp
CHANGED
data/ext/sspcrun/extconf.rb
CHANGED
@@ -10,9 +10,9 @@ end
|
|
10
10
|
|
11
11
|
cp = "$(srcdir)"
|
12
12
|
|
13
|
-
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
14
|
-
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
15
|
-
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-error=format-security"
|
13
|
+
$CFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
14
|
+
$CPPFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
15
|
+
$CXXFLAGS = " -O3 -Wall -I. -I#{cp}/src -DB_STATIC -D_NO_MAIN_ -DLINE -fPIC -Wno-reserved-user-defined-literal -Wno-c++11-narrowing -Wno-error=format-security"
|
16
16
|
|
17
17
|
$LOCAL_LIBS += " -lstdc++ -lkgmod3 -lm"
|
18
18
|
|
data/ext/sspcrun/sspcrun.cpp
CHANGED
@@ -5,12 +5,13 @@
|
|
5
5
|
#include <sys/stat.h>
|
6
6
|
#include <string>
|
7
7
|
#include <ruby.h>
|
8
|
+
// sspc Core
|
9
|
+
namespace{
|
8
10
|
#include "src/sspc.c"
|
11
|
+
}
|
9
12
|
#include <kgMethod.h>
|
10
13
|
|
11
|
-
|
12
|
-
void Init_sspcrun(void);
|
13
|
-
}
|
14
|
+
|
14
15
|
|
15
16
|
VALUE sspcrun(VALUE self,VALUE argvV){
|
16
17
|
|
@@ -41,6 +42,10 @@ VALUE sspcrun(VALUE self,VALUE argvV){
|
|
41
42
|
}
|
42
43
|
|
43
44
|
|
45
|
+
extern "C" {
|
46
|
+
void Init_sspcrun(void);
|
47
|
+
}
|
48
|
+
|
44
49
|
// -----------------------------------------------------------------------------
|
45
50
|
// ruby Mcsvin クラス init
|
46
51
|
// -----------------------------------------------------------------------------
|
data/lib/nysol/enumLcmEp.rb
CHANGED
@@ -29,7 +29,7 @@ class LcmEp
|
|
29
29
|
def calSigma(minPos,minGR,posCnt,negCnt)
|
30
30
|
omegaF=@@intMax.to_f/posCnt.to_f
|
31
31
|
beta=minPos
|
32
|
-
w=
|
32
|
+
w=negCnt.to_f/posCnt.to_f
|
33
33
|
#puts "omegaF=#{omegaF}"
|
34
34
|
#puts "minPos=#{minPos}"
|
35
35
|
#puts "beta=#{beta}"
|
@@ -76,11 +76,12 @@ class LcmEp
|
|
76
76
|
return pat
|
77
77
|
end
|
78
78
|
|
79
|
-
def initialize(db)
|
79
|
+
def initialize(db,outtf=true)
|
80
80
|
@temp=MCMD::Mtemp.new
|
81
81
|
@db = db # 入力データベース
|
82
82
|
@file=@temp.file
|
83
83
|
items=@db.items
|
84
|
+
@outtf = outtf
|
84
85
|
|
85
86
|
# 重みファイルの作成
|
86
87
|
# pos,negのTransactionオブジェクトに対してLCMが扱う整数アイテムによるトランザクションファイルを生成する。
|
@@ -165,11 +166,10 @@ class LcmEp
|
|
165
166
|
if eArgs["maxSup"].class.name=="Hash"
|
166
167
|
@maxPos = (eArgs["maxSup"][cName] * posSize.to_f + 0.99).to_i
|
167
168
|
else
|
168
|
-
p posSize
|
169
169
|
@maxPos = (eArgs["maxSup"] * posSize.to_f + 0.99).to_i
|
170
170
|
end
|
171
171
|
else
|
172
|
-
@maxPos =
|
172
|
+
@maxPos = nil
|
173
173
|
end
|
174
174
|
|
175
175
|
@sigma[cName] = calSigma(@minPos,@minGR,posSize,negSize)
|
@@ -180,9 +180,14 @@ class LcmEp
|
|
180
180
|
# そのときのために空ファイルを生成しておいく。
|
181
181
|
system("touch #{lcmout}")
|
182
182
|
|
183
|
+
if @maxPos then
|
184
|
+
@maxPos = calSigma(@maxPos,@minGR,posSize,negSize)
|
185
|
+
end
|
186
|
+
|
183
187
|
run=""
|
184
188
|
run << "#{eArgs["type"]}IA"
|
185
|
-
run << " -U #{@
|
189
|
+
run << " -U #{@maxPos}" if @maxPos # windowサイズ上限
|
190
|
+
#もともと ^^ @maxCntだったがどこにも設定されていないかかったので@maxPosにしとく問題有れば変更
|
186
191
|
run << " -l #{eArgs['minLen']}" if eArgs["minLen"] # パターンサイズ下限
|
187
192
|
run << " -u #{eArgs['maxLen']}" if eArgs['maxLen'] # パターンサイズ上限
|
188
193
|
run << " -w #{@weightFile[cName]} #{@file} #{@sigma[cName]} #{lcmout}"
|
@@ -196,7 +201,6 @@ class LcmEp
|
|
196
201
|
#system("cp #{@file} xxtra_#{cName}")
|
197
202
|
#system("cp #{@weightFile[cName]} xxw_#{cName}")
|
198
203
|
#system("echo '#{run}' >xxscp_#{cName}")
|
199
|
-
|
200
204
|
# パターンのサポートを計算しCSV出力する
|
201
205
|
MCMD::msgLog("output patterns to CSV file ...")
|
202
206
|
pFiles << @temp.file
|
@@ -219,28 +223,30 @@ class LcmEp
|
|
219
223
|
s = MCMD::mrecount("i=#{pFiles.last}") # 列挙されたパターンの数
|
220
224
|
MCMD::msgLog("the number of contrast patterns on class `#{cName}' enumerated is #{s}")
|
221
225
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
226
|
+
if @outtf then
|
227
|
+
# トランザクション毎に出現するパターンを書き出す
|
228
|
+
MCMD::msgLog("output tid-patterns ...")
|
229
|
+
tFiles << @temp.file
|
230
|
+
|
231
|
+
xxw= tf.file
|
232
|
+
f=""
|
233
|
+
f << "mcut f=#{@db.idFN} i=#{@db.file} |"
|
234
|
+
f << "muniq k=#{@db.idFN} |"
|
235
|
+
f << "mnumber S=0 a=__tid -q |"
|
236
|
+
f << "msortf f=__tid o=#{xxw};"
|
237
|
+
system(f)
|
238
|
+
|
239
|
+
translt = @temp.file
|
240
|
+
TAKE::run_lcmtrans(lcmout,"t",translt)
|
241
|
+
|
242
|
+
f=""
|
243
|
+
#f << "lcm_trans #{lcmout} t |" #__tid,pid
|
244
|
+
f << "msortf f=__tid i=#{translt} |"
|
245
|
+
f << "mjoin k=__tid m=#{xxw} f=#{@db.idFN} |"
|
246
|
+
f << "msetstr v=#{cName} a=class |"
|
247
|
+
f << "mcut f=#{@db.idFN},class,pid o=#{tFiles.last}"
|
248
|
+
system(f)
|
249
|
+
end
|
244
250
|
}
|
245
251
|
|
246
252
|
# クラス別のパターンとtid-pidファイルを統合して最終出力
|
@@ -314,24 +320,33 @@ class LcmEp
|
|
314
320
|
f << "msortf f=class,pid o=#{xxp4}"
|
315
321
|
system(f)
|
316
322
|
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
323
|
+
if @outtf then
|
324
|
+
# tid-pidファイル計算
|
325
|
+
f=""
|
326
|
+
f << "mcat i=#{tFiles.join(",")} |"
|
327
|
+
f << "msortf f=class,pid |"
|
328
|
+
f << "mjoin k=class,pid m=#{xxpCat} f=ppid |" # 全クラス統一pid(ppid)結合
|
329
|
+
f << "msortf f=class,ppid |"
|
330
|
+
f << "mcommon k=class,ppid K=class,pid m=#{xxp4} |" # 列挙されたパターンの選択
|
331
|
+
f << "mcut f=#{@db.idFN},class,ppid:pid |"
|
332
|
+
f << "msortf f=#{@db.idFN},class,pid o=#{@tFile}"
|
333
|
+
system(f)
|
334
|
+
end
|
327
335
|
|
328
336
|
@size = MCMD::mrecount("i=#{@pFile}") # 列挙されたパターンの数
|
329
337
|
MCMD::msgLog("the number of emerging patterns enumerated is #{@size}")
|
330
338
|
end
|
331
339
|
|
332
|
-
def output(outpath)
|
333
|
-
|
334
|
-
|
340
|
+
def output(outpath,rmsinfo)
|
341
|
+
if rmsinfo then
|
342
|
+
system "mfldname i=#{@pFile} -q o=#{outpath}/patterns.csv"
|
343
|
+
system "mfldname i=#{@tFile} -q o=#{outpath}/tid_pats.csv" if @outtf
|
344
|
+
else
|
345
|
+
system "mv #{@pFile} #{outpath}/patterns.csv"
|
346
|
+
system "mv #{@tFile} #{outpath}/tid_pats.csv" if @outtf
|
347
|
+
end
|
348
|
+
|
349
|
+
|
335
350
|
end
|
336
351
|
end
|
337
352
|
|
data/lib/nysol/enumLcmEsp.rb
CHANGED
@@ -49,11 +49,12 @@ class LcmEsp
|
|
49
49
|
# return lcmq*minSup.to_f*negCnt.to_f/minGR.to_f/(1-lcmq)
|
50
50
|
#end
|
51
51
|
|
52
|
-
def initialize(db)
|
52
|
+
def initialize(db,outtf=true)
|
53
53
|
@temp=MCMD::Mtemp.new
|
54
54
|
@db = db # 入力データベース
|
55
55
|
@file=@temp.file
|
56
56
|
items=@db.items
|
57
|
+
@outtf = outtf
|
57
58
|
|
58
59
|
# 重みファイルの作成
|
59
60
|
# pos,negのTransactionオブジェクトに対してLCMが扱う整数アイテムによるトランザクションファイルを生成する。
|
@@ -149,6 +150,10 @@ class LcmEsp
|
|
149
150
|
@maxCnt = (eArgs["maxSup"] * posSize.to_f + 0.99).to_i
|
150
151
|
end
|
151
152
|
end
|
153
|
+
@addTP = ""
|
154
|
+
@addTP = "m" if eArgs["exM"]
|
155
|
+
@addTP = "c" if eArgs["exC"]
|
156
|
+
|
152
157
|
|
153
158
|
@sigma[cName] = calSigma(@minPos,@minGR,posSize,negSize)
|
154
159
|
|
@@ -157,8 +162,12 @@ class LcmEsp
|
|
157
162
|
# 頻出パターンがなかった場合、lcm出力ファイルが生成されないので
|
158
163
|
# そのときのために空ファイルを生成しておいく。
|
159
164
|
system("touch #{lcmout}")
|
165
|
+
|
166
|
+
if @maxCnt then
|
167
|
+
@maxCnt = calSigma(@maxCnt,@minGR,posSize,negSize)
|
168
|
+
end
|
160
169
|
|
161
|
-
run="CIA"
|
170
|
+
run="CIA#{@addTP}"
|
162
171
|
run << " -U #{@maxCnt}" if @maxCnt # windowサイズ上限
|
163
172
|
run << " -l #{eArgs['minLen']}" if eArgs["minLen"] # パターンサイズ下限
|
164
173
|
run << " -u #{eArgs['maxLen']}" if eArgs['maxLen'] # パターンサイズ上限
|
@@ -195,27 +204,29 @@ class LcmEsp
|
|
195
204
|
s = MCMD::mrecount("i=#{pFiles.last}") # 列挙されたパターンの数
|
196
205
|
MCMD::msgLog("the number of contrast patterns on class `#{cName}' enumerated is #{s}")
|
197
206
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
207
|
+
if @outtf then
|
208
|
+
# トランザクション毎に出現するシーケンスを書き出す
|
209
|
+
MCMD::msgLog("output tid-patterns ...")
|
210
|
+
tFiles << @temp.file
|
211
|
+
|
212
|
+
xxw= tf.file
|
213
|
+
f=""
|
214
|
+
f << "mcut f=#{@db.idFN} i=#{@db.file} |"
|
215
|
+
f << "muniq k=#{@db.idFN} |"
|
216
|
+
f << "mnumber S=0 a=__tid -q|"
|
217
|
+
f << "msortf f=__tid o=#{xxw}"
|
218
|
+
system(f)
|
219
|
+
translt = @temp.file
|
220
|
+
TAKE::run_lcmtrans(lcmout,"t",translt)
|
221
|
+
|
222
|
+
f=""
|
223
|
+
#f << "lcm_trans #{lcmout} t |" #__tid,pid
|
224
|
+
f << "msortf f=__tid i=#{translt} |"
|
225
|
+
f << "mjoin k=__tid m=#{xxw} f=#{@db.idFN} |"
|
226
|
+
f << "msetstr v=#{cName} a=class |"
|
227
|
+
f << "mcut f=#{@db.idFN},class,pid o=#{tFiles.last}"
|
228
|
+
system(f)
|
229
|
+
end
|
219
230
|
}
|
220
231
|
|
221
232
|
# クラス別のパターンとtid-pidファイルを統合して最終出力
|
@@ -258,24 +269,32 @@ class LcmEsp
|
|
258
269
|
f << "msortf f=class,pid o=#{xxp4}"
|
259
270
|
system(f)
|
260
271
|
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
272
|
+
if @outtf then
|
273
|
+
# tid-pidファイル計算
|
274
|
+
f=""
|
275
|
+
f << "mcat i=#{tFiles.join(",")} |"
|
276
|
+
f << "msortf f=class,pid |"
|
277
|
+
f << "mjoin k=class,pid m=#{xxpCat} f=ppid |" # 全クラス統一pid(ppid)結合
|
278
|
+
f << "msortf f=class,ppid |"
|
279
|
+
f << "mcommon k=class,ppid K=class,pid m=#{xxp4} |" # 列挙されたパターンの選択
|
280
|
+
f << "mcut f=#{@db.idFN},class,ppid:pid |"
|
281
|
+
f << "msortf f=#{@db.idFN},class,pid o=#{@tFile}"
|
282
|
+
system(f)
|
283
|
+
end
|
271
284
|
|
272
285
|
@size = MCMD::mrecount("i=#{@pFile}") # 列挙されたパターンの数
|
273
286
|
MCMD::msgLog("the number of emerging sequence patterns enumerated is #{@size}")
|
274
287
|
end
|
275
288
|
|
276
|
-
def output(outpath)
|
277
|
-
|
278
|
-
|
289
|
+
def output(outpath,rmsinfo)
|
290
|
+
if rmsinfo then
|
291
|
+
system "mfldname i=#{@pFile} -q o=#{outpath}/patterns.csv"
|
292
|
+
system "mfldname i=#{@tFile} -q o=#{outpath}/tid_pats.csv" if @outtf
|
293
|
+
else
|
294
|
+
system "mv #{@pFile} #{outpath}/patterns.csv"
|
295
|
+
system "mv #{@tFile} #{outpath}/tid_pats.csv" if @outtf
|
296
|
+
end
|
297
|
+
|
279
298
|
end
|
280
299
|
end
|
281
300
|
|
data/lib/nysol/enumLcmIs.rb
CHANGED
@@ -53,11 +53,12 @@ class LcmIs
|
|
53
53
|
return pat
|
54
54
|
end
|
55
55
|
|
56
|
-
def initialize(db)
|
56
|
+
def initialize(db,outtf=true)
|
57
57
|
@temp=MCMD::Mtemp.new
|
58
58
|
@db = db # 入力データベース
|
59
59
|
@file=@temp.file
|
60
60
|
items=@db.items
|
61
|
+
@outtf = outtf
|
61
62
|
|
62
63
|
# アイテムをシンボルから番号に変換する。
|
63
64
|
f=""
|
@@ -96,13 +97,6 @@ class LcmIs
|
|
96
97
|
end
|
97
98
|
end
|
98
99
|
|
99
|
-
# lcmのパラメータ設定と実行
|
100
|
-
#run=""
|
101
|
-
#run << "#{CMD} #{@type}If"
|
102
|
-
#run << " -U #{@maxCnt}" if @maxCnt # windowサイズ上限
|
103
|
-
#run << " -l #{eArgs['minLen']}" if eArgs["minLen"] # パターンサイズ下限
|
104
|
-
#run << " -u #{eArgs['maxLen']}" if eArgs['maxLen'] # パターンサイズ上限
|
105
|
-
|
106
100
|
run=""
|
107
101
|
run << "#{@type}If"
|
108
102
|
run << " -U #{@maxCnt}" if @maxCnt # windowサイズ上限
|
@@ -235,39 +229,46 @@ class LcmIs
|
|
235
229
|
@size = MCMD::mrecount("i=#{@pFile}") # 列挙されたパターンの数
|
236
230
|
MCMD::msgLog("the number of patterns enumerated is #{@size}")
|
237
231
|
|
238
|
-
|
239
|
-
|
240
|
-
|
232
|
+
if @outtf then
|
233
|
+
# トランザクション毎に出現するシーケンスを書き出す
|
234
|
+
MCMD::msgLog("output tid-patterns ...")
|
235
|
+
@tFile = @temp.file
|
241
236
|
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
237
|
+
xxw1= tf.file
|
238
|
+
f=""
|
239
|
+
f << "mcut f=#{@db.idFN} i=#{@db.file} |"
|
240
|
+
f << "muniq k=#{@db.idFN} |"
|
241
|
+
f << "mnumber S=0 a=__tid -q |"
|
242
|
+
f << "msortf f=__tid o=#{xxw1}"
|
243
|
+
system(f)
|
249
244
|
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
245
|
+
xxw2= tf.file
|
246
|
+
f=""
|
247
|
+
f << "mcut f=pid i=#{@pFile} |"
|
248
|
+
f << "msortf f=pid o=#{xxw2}"
|
249
|
+
system(f)
|
255
250
|
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
#
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
251
|
+
xxw3 = tf.file
|
252
|
+
TAKE::run_lcmtrans(lcmout,"t",xxw3)
|
253
|
+
f=""
|
254
|
+
#f << "lcm_trans #{lcmout} t |" #__tid,pid
|
255
|
+
f << "msortf f=pid i=#{xxw3} |"
|
256
|
+
f << "mcommon k=pid m=#{xxw2} |"
|
257
|
+
f << "msortf f=__tid |"
|
258
|
+
f << "mjoin k=__tid m=#{xxw1} f=#{@db.idFN} |"
|
259
|
+
f << "mcut f=#{@db.idFN},pid o=#{@tFile}"
|
260
|
+
system(f)
|
261
|
+
end
|
266
262
|
end
|
267
263
|
|
268
|
-
def output(outpath)
|
269
|
-
|
270
|
-
|
264
|
+
def output(outpath,rmsinfo)
|
265
|
+
if rmsinfo then
|
266
|
+
system "mfldnmae i=#{@pFile} -q o=#{outpath}/patterns.csv"
|
267
|
+
system "mfldnmae i=#{@tFile} -q o=#{outpath}/tid_pats.csv" if @outtf
|
268
|
+
else
|
269
|
+
system "mv #{@pFile} #{outpath}/patterns.csv"
|
270
|
+
system "mv #{@tFile} #{outpath}/tid_pats.csv" if @outtf
|
271
|
+
end
|
271
272
|
end
|
272
273
|
end
|
273
274
|
|
data/lib/nysol/enumLcmSeq.rb
CHANGED
@@ -13,11 +13,12 @@ module TAKE
|
|
13
13
|
class LcmSeq
|
14
14
|
attr_reader :size # 列挙されたパターン数
|
15
15
|
|
16
|
-
def initialize(db)
|
16
|
+
def initialize(db,outtf=true)
|
17
17
|
@temp=MCMD::Mtemp.new
|
18
18
|
@db = db # 入力データベース
|
19
19
|
@file=@temp.file
|
20
20
|
items=@db.items
|
21
|
+
@outtf = outtf
|
21
22
|
|
22
23
|
# アイテムをシンボルから番号に変換する。
|
23
24
|
f=""
|
@@ -64,6 +65,12 @@ class LcmSeq
|
|
64
65
|
File.open(xxtop,"r"){|fpr| @minCnt=fpr.gets().to_i}
|
65
66
|
@minCnt=1 if @minCnt<0
|
66
67
|
end
|
68
|
+
|
69
|
+
@addTP = ""
|
70
|
+
@addTP = "m" if eArgs["exM"]
|
71
|
+
@addTP = "c" if eArgs["exC"]
|
72
|
+
|
73
|
+
|
67
74
|
|
68
75
|
# lcm_seq出力ファイル
|
69
76
|
lcmout = tf.file
|
@@ -72,7 +79,7 @@ class LcmSeq
|
|
72
79
|
system("touch #{lcmout}")
|
73
80
|
|
74
81
|
# lcm_seqのパラメータ設定と実行
|
75
|
-
run="CIf"
|
82
|
+
run="CIf#{@addTP}"
|
76
83
|
run << " -U #{@maxCnt}" if @maxCnt # windowサイズ上限
|
77
84
|
run << " -l #{eArgs['minLen']}" if eArgs["minLen"] # パターンサイズ下限
|
78
85
|
run << " -u #{eArgs['maxLen']}" if eArgs['maxLen'] # パターンサイズ上限
|
@@ -107,36 +114,43 @@ class LcmSeq
|
|
107
114
|
f << "msortf f=support%nr o=#{@pFile}"
|
108
115
|
system(f)
|
109
116
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
f << "
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
117
|
+
if @outtf then
|
118
|
+
# トランザクション毎に出現するシーケンスを書き出す
|
119
|
+
MCMD::msgLog("output tid-patterns ...")
|
120
|
+
@tFile = @temp.file
|
121
|
+
|
122
|
+
xxw = tf.file #Mtemp.new.name
|
123
|
+
f=""
|
124
|
+
f << "mcut f=#{@db.idFN} i=#{@db.file} |"
|
125
|
+
f << "muniq k=#{@db.idFN} |"
|
126
|
+
f << "mnumber S=0 a=__tid -q |"
|
127
|
+
f << "msortf f=__tid o=#{xxw}"
|
128
|
+
system(f)
|
129
|
+
|
130
|
+
translt = @temp.file
|
131
|
+
TAKE::run_lcmtrans(lcmout,"t",translt)
|
132
|
+
|
133
|
+
f=""
|
134
|
+
# f << "lcm_trans #{lcmout} t |" #__tid,pid
|
135
|
+
f << "msortf f=__tid i=#{translt} |"
|
136
|
+
f << "mjoin k=__tid m=#{xxw} f=#{@db.idFN} |"
|
137
|
+
f << "mcut f=#{@db.idFN},pid |"
|
138
|
+
f << "msortf f=#{@db.idFN},pid o=#{@tFile}"
|
139
|
+
system(f)
|
140
|
+
end
|
132
141
|
|
133
142
|
@size = MCMD::mrecount("i=#{@pFile}") # 列挙されたパターンの数
|
134
143
|
MCMD::msgLog("the number of contrast patterns enumerated is #{@size}")
|
135
144
|
end
|
136
145
|
|
137
|
-
def output(outpath)
|
138
|
-
|
139
|
-
|
146
|
+
def output(outpath,rmsinfo)
|
147
|
+
if rmsinfo then
|
148
|
+
system "mfldnmae i=#{@pFile} -q o=#{outpath}/patterns.csv"
|
149
|
+
system "mfldnmae i=#{@tFile} -q o=#{outpath}/tid_pats.csv" if @outtf
|
150
|
+
else
|
151
|
+
system "mv #{@pFile} #{outpath}/patterns.csv"
|
152
|
+
system "mv #{@tFile} #{outpath}/tid_pats.csv" if @outtf
|
153
|
+
end
|
140
154
|
end
|
141
155
|
end
|
142
156
|
|
metadata
CHANGED
@@ -1,31 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nysol-take
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NYSOL
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nysol
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
|
-
description:
|
28
|
-
nysol TAKE tools
|
27
|
+
description: " nysol TAKE tools\n"
|
29
28
|
email: info@nysol.jp
|
30
29
|
executables:
|
31
30
|
- mclique.rb
|
@@ -54,165 +53,165 @@ extensions:
|
|
54
53
|
- ext/macerun/extconf.rb
|
55
54
|
extra_rdoc_files: []
|
56
55
|
files:
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
56
|
+
- bin/mbiclique.rb
|
57
|
+
- bin/mbipolish.rb
|
58
|
+
- bin/mccomp.rb
|
59
|
+
- bin/mclique.rb
|
60
|
+
- bin/mclique2g.rb
|
61
|
+
- bin/mcliqueInfo.rb
|
62
|
+
- bin/mfriends.rb
|
63
|
+
- bin/mgdiff.rb
|
64
|
+
- bin/mhifriend.rb
|
65
|
+
- bin/mhipolish.rb
|
66
|
+
- bin/mitemset.rb
|
67
|
+
- bin/mpal.rb
|
68
|
+
- bin/mpolishing.rb
|
69
|
+
- bin/msequence.rb
|
70
|
+
- bin/mtra2g.rb
|
71
|
+
- bin/mtra2gc.rb
|
63
72
|
- ext/grhfilrun/extconf.rb
|
64
73
|
- ext/grhfilrun/grhfilrun.c
|
65
|
-
- ext/
|
66
|
-
- ext/
|
67
|
-
- ext/
|
68
|
-
- ext/
|
74
|
+
- ext/grhfilrun/src/_sspc.c
|
75
|
+
- ext/grhfilrun/src/aheap.c
|
76
|
+
- ext/grhfilrun/src/aheap.h
|
77
|
+
- ext/grhfilrun/src/base.c
|
78
|
+
- ext/grhfilrun/src/base.h
|
79
|
+
- ext/grhfilrun/src/fstar.c
|
80
|
+
- ext/grhfilrun/src/fstar.h
|
81
|
+
- ext/grhfilrun/src/grhfil.c
|
82
|
+
- ext/grhfilrun/src/itemset.c
|
83
|
+
- ext/grhfilrun/src/itemset.h
|
84
|
+
- ext/grhfilrun/src/problem.c
|
85
|
+
- ext/grhfilrun/src/problem.h
|
86
|
+
- ext/grhfilrun/src/queue.c
|
87
|
+
- ext/grhfilrun/src/queue.h
|
88
|
+
- ext/grhfilrun/src/sample.c
|
89
|
+
- ext/grhfilrun/src/sspc.c
|
90
|
+
- ext/grhfilrun/src/sspc2.c
|
91
|
+
- ext/grhfilrun/src/stdlib2.c
|
92
|
+
- ext/grhfilrun/src/stdlib2.h
|
93
|
+
- ext/grhfilrun/src/trsact.c
|
94
|
+
- ext/grhfilrun/src/trsact.h
|
95
|
+
- ext/grhfilrun/src/vec.c
|
96
|
+
- ext/grhfilrun/src/vec.h
|
97
|
+
- ext/lcmrun/extconf.rb
|
98
|
+
- ext/lcmrun/lcmrun.cpp
|
69
99
|
- ext/lcmrun/src/aheap.c
|
100
|
+
- ext/lcmrun/src/aheap.h
|
70
101
|
- ext/lcmrun/src/base.c
|
102
|
+
- ext/lcmrun/src/base.h
|
71
103
|
- ext/lcmrun/src/itemset.c
|
104
|
+
- ext/lcmrun/src/itemset.h
|
72
105
|
- ext/lcmrun/src/lcm.c
|
73
106
|
- ext/lcmrun/src/problem.c
|
74
|
-
- ext/lcmrun/src/queue.c
|
75
|
-
- ext/lcmrun/src/sgraph.c
|
76
|
-
- ext/lcmrun/src/stdlib2.c
|
77
|
-
- ext/lcmrun/src/trsact.c
|
78
|
-
- ext/lcmrun/src/vec.c
|
79
|
-
- ext/lcmrun/src/aheap.h
|
80
|
-
- ext/lcmrun/src/base.h
|
81
|
-
- ext/lcmrun/src/itemset.h
|
82
107
|
- ext/lcmrun/src/problem.h
|
108
|
+
- ext/lcmrun/src/queue.c
|
83
109
|
- ext/lcmrun/src/queue.h
|
110
|
+
- ext/lcmrun/src/sgraph.c
|
84
111
|
- ext/lcmrun/src/sgraph.h
|
112
|
+
- ext/lcmrun/src/stdlib2.c
|
85
113
|
- ext/lcmrun/src/stdlib2.h
|
114
|
+
- ext/lcmrun/src/trsact.c
|
86
115
|
- ext/lcmrun/src/trsact.h
|
116
|
+
- ext/lcmrun/src/vec.c
|
87
117
|
- ext/lcmrun/src/vec.h
|
88
|
-
- ext/
|
89
|
-
- ext/
|
90
|
-
- ext/lcmseqrun/src/itemset.c
|
91
|
-
- ext/lcmseqrun/src/itemset_zero.c
|
92
|
-
- ext/lcmseqrun/src/lcm_seq.c
|
93
|
-
- ext/lcmseqrun/src/lcm_seq_zero.c
|
94
|
-
- ext/lcmseqrun/src/problem.c
|
95
|
-
- ext/lcmseqrun/src/problem_zero.c
|
96
|
-
- ext/lcmseqrun/src/queue.c
|
97
|
-
- ext/lcmseqrun/src/stdlib2.c
|
98
|
-
- ext/lcmseqrun/src/trsact.c
|
99
|
-
- ext/lcmseqrun/src/vec.c
|
100
|
-
- ext/lcmseqrun/src/aheap.h
|
101
|
-
- ext/lcmseqrun/src/base.h
|
102
|
-
- ext/lcmseqrun/src/itemset.h
|
103
|
-
- ext/lcmseqrun/src/problem.h
|
104
|
-
- ext/lcmseqrun/src/queue.h
|
105
|
-
- ext/lcmseqrun/src/stdlib2.h
|
106
|
-
- ext/lcmseqrun/src/trsact.h
|
107
|
-
- ext/lcmseqrun/src/vec.h
|
118
|
+
- ext/lcmseq0run/extconf.rb
|
119
|
+
- ext/lcmseq0run/lcmseq0run.cpp
|
108
120
|
- ext/lcmseq0run/src/aheap.c
|
121
|
+
- ext/lcmseq0run/src/aheap.h
|
109
122
|
- ext/lcmseq0run/src/base.c
|
123
|
+
- ext/lcmseq0run/src/base.h
|
110
124
|
- ext/lcmseq0run/src/itemset.c
|
125
|
+
- ext/lcmseq0run/src/itemset.h
|
111
126
|
- ext/lcmseq0run/src/itemset_zero.c
|
112
127
|
- ext/lcmseq0run/src/lcm_seq.c
|
113
128
|
- ext/lcmseq0run/src/lcm_seq_zero.c
|
114
129
|
- ext/lcmseq0run/src/problem.c
|
130
|
+
- ext/lcmseq0run/src/problem.h
|
115
131
|
- ext/lcmseq0run/src/problem_zero.c
|
116
132
|
- ext/lcmseq0run/src/queue.c
|
117
|
-
- ext/lcmseq0run/src/stdlib2.c
|
118
|
-
- ext/lcmseq0run/src/trsact.c
|
119
|
-
- ext/lcmseq0run/src/vec.c
|
120
|
-
- ext/lcmseq0run/src/aheap.h
|
121
|
-
- ext/lcmseq0run/src/base.h
|
122
|
-
- ext/lcmseq0run/src/itemset.h
|
123
|
-
- ext/lcmseq0run/src/problem.h
|
124
133
|
- ext/lcmseq0run/src/queue.h
|
134
|
+
- ext/lcmseq0run/src/stdlib2.c
|
125
135
|
- ext/lcmseq0run/src/stdlib2.h
|
136
|
+
- ext/lcmseq0run/src/trsact.c
|
126
137
|
- ext/lcmseq0run/src/trsact.h
|
138
|
+
- ext/lcmseq0run/src/vec.c
|
127
139
|
- ext/lcmseq0run/src/vec.h
|
140
|
+
- ext/lcmseqrun/extconf.rb
|
141
|
+
- ext/lcmseqrun/lcmseqrun.cpp
|
142
|
+
- ext/lcmseqrun/src/aheap.c
|
143
|
+
- ext/lcmseqrun/src/aheap.h
|
144
|
+
- ext/lcmseqrun/src/base.c
|
145
|
+
- ext/lcmseqrun/src/base.h
|
146
|
+
- ext/lcmseqrun/src/itemset.c
|
147
|
+
- ext/lcmseqrun/src/itemset.h
|
148
|
+
- ext/lcmseqrun/src/itemset_zero.c
|
149
|
+
- ext/lcmseqrun/src/lcm_seq.c
|
150
|
+
- ext/lcmseqrun/src/lcm_seq_zero.c
|
151
|
+
- ext/lcmseqrun/src/problem.c
|
152
|
+
- ext/lcmseqrun/src/problem.h
|
153
|
+
- ext/lcmseqrun/src/problem_zero.c
|
154
|
+
- ext/lcmseqrun/src/queue.c
|
155
|
+
- ext/lcmseqrun/src/queue.h
|
156
|
+
- ext/lcmseqrun/src/stdlib2.c
|
157
|
+
- ext/lcmseqrun/src/stdlib2.h
|
158
|
+
- ext/lcmseqrun/src/trsact.c
|
159
|
+
- ext/lcmseqrun/src/trsact.h
|
160
|
+
- ext/lcmseqrun/src/vec.c
|
161
|
+
- ext/lcmseqrun/src/vec.h
|
162
|
+
- ext/lcmtransrun/extconf.rb
|
163
|
+
- ext/lcmtransrun/lcmtransrun.cpp
|
164
|
+
- ext/macerun/extconf.rb
|
165
|
+
- ext/macerun/macerun.cpp
|
166
|
+
- ext/macerun/src/aheap.c
|
167
|
+
- ext/macerun/src/aheap.h
|
168
|
+
- ext/macerun/src/itemset.c
|
169
|
+
- ext/macerun/src/itemset.h
|
170
|
+
- ext/macerun/src/mace.c
|
171
|
+
- ext/macerun/src/problem.c
|
172
|
+
- ext/macerun/src/problem.h
|
173
|
+
- ext/macerun/src/queue.c
|
174
|
+
- ext/macerun/src/queue.h
|
175
|
+
- ext/macerun/src/sgraph.c
|
176
|
+
- ext/macerun/src/sgraph.h
|
177
|
+
- ext/macerun/src/stdlib2.c
|
178
|
+
- ext/macerun/src/stdlib2.h
|
179
|
+
- ext/macerun/src/vec.c
|
180
|
+
- ext/macerun/src/vec.h
|
181
|
+
- ext/sspcrun/extconf.rb
|
128
182
|
- ext/sspcrun/src/_sspc.c
|
129
183
|
- ext/sspcrun/src/aheap.c
|
184
|
+
- ext/sspcrun/src/aheap.h
|
130
185
|
- ext/sspcrun/src/base.c
|
186
|
+
- ext/sspcrun/src/base.h
|
131
187
|
- ext/sspcrun/src/fstar.c
|
188
|
+
- ext/sspcrun/src/fstar.h
|
132
189
|
- ext/sspcrun/src/grhfil.c
|
133
190
|
- ext/sspcrun/src/itemset.c
|
191
|
+
- ext/sspcrun/src/itemset.h
|
134
192
|
- ext/sspcrun/src/problem.c
|
193
|
+
- ext/sspcrun/src/problem.h
|
135
194
|
- ext/sspcrun/src/queue.c
|
195
|
+
- ext/sspcrun/src/queue.h
|
136
196
|
- ext/sspcrun/src/sample.c
|
137
197
|
- ext/sspcrun/src/sspc.c
|
138
198
|
- ext/sspcrun/src/sspc2.c
|
139
199
|
- ext/sspcrun/src/stdlib2.c
|
140
|
-
- ext/sspcrun/src/trsact.c
|
141
|
-
- ext/sspcrun/src/vec.c
|
142
|
-
- ext/sspcrun/src/aheap.h
|
143
|
-
- ext/sspcrun/src/base.h
|
144
|
-
- ext/sspcrun/src/fstar.h
|
145
|
-
- ext/sspcrun/src/itemset.h
|
146
|
-
- ext/sspcrun/src/problem.h
|
147
|
-
- ext/sspcrun/src/queue.h
|
148
200
|
- ext/sspcrun/src/stdlib2.h
|
201
|
+
- ext/sspcrun/src/trsact.c
|
149
202
|
- ext/sspcrun/src/trsact.h
|
203
|
+
- ext/sspcrun/src/vec.c
|
150
204
|
- ext/sspcrun/src/vec.h
|
151
|
-
- ext/
|
152
|
-
- ext/macerun/src/itemset.c
|
153
|
-
- ext/macerun/src/mace.c
|
154
|
-
- ext/macerun/src/problem.c
|
155
|
-
- ext/macerun/src/queue.c
|
156
|
-
- ext/macerun/src/sgraph.c
|
157
|
-
- ext/macerun/src/stdlib2.c
|
158
|
-
- ext/macerun/src/vec.c
|
159
|
-
- ext/macerun/src/aheap.h
|
160
|
-
- ext/macerun/src/itemset.h
|
161
|
-
- ext/macerun/src/problem.h
|
162
|
-
- ext/macerun/src/queue.h
|
163
|
-
- ext/macerun/src/sgraph.h
|
164
|
-
- ext/macerun/src/stdlib2.h
|
165
|
-
- ext/macerun/src/vec.h
|
166
|
-
- ext/grhfilrun/src/_sspc.c
|
167
|
-
- ext/grhfilrun/src/aheap.c
|
168
|
-
- ext/grhfilrun/src/base.c
|
169
|
-
- ext/grhfilrun/src/fstar.c
|
170
|
-
- ext/grhfilrun/src/grhfil.c
|
171
|
-
- ext/grhfilrun/src/itemset.c
|
172
|
-
- ext/grhfilrun/src/problem.c
|
173
|
-
- ext/grhfilrun/src/queue.c
|
174
|
-
- ext/grhfilrun/src/sample.c
|
175
|
-
- ext/grhfilrun/src/sspc.c
|
176
|
-
- ext/grhfilrun/src/sspc2.c
|
177
|
-
- ext/grhfilrun/src/stdlib2.c
|
178
|
-
- ext/grhfilrun/src/trsact.c
|
179
|
-
- ext/grhfilrun/src/vec.c
|
180
|
-
- ext/grhfilrun/src/aheap.h
|
181
|
-
- ext/grhfilrun/src/base.h
|
182
|
-
- ext/grhfilrun/src/fstar.h
|
183
|
-
- ext/grhfilrun/src/itemset.h
|
184
|
-
- ext/grhfilrun/src/problem.h
|
185
|
-
- ext/grhfilrun/src/queue.h
|
186
|
-
- ext/grhfilrun/src/stdlib2.h
|
187
|
-
- ext/grhfilrun/src/trsact.h
|
188
|
-
- ext/grhfilrun/src/vec.h
|
189
|
-
- ext/lcmtransrun/extconf.rb
|
190
|
-
- ext/lcmtransrun/lcmtransrun.cpp
|
205
|
+
- ext/sspcrun/sspcrun.cpp
|
191
206
|
- lib/nysol/enumLcmEp.rb
|
192
207
|
- lib/nysol/enumLcmEsp.rb
|
193
208
|
- lib/nysol/enumLcmIs.rb
|
194
209
|
- lib/nysol/enumLcmSeq.rb
|
195
210
|
- lib/nysol/items.rb
|
196
211
|
- lib/nysol/seqDB.rb
|
212
|
+
- lib/nysol/take.rb
|
197
213
|
- lib/nysol/taxonomy.rb
|
198
214
|
- lib/nysol/traDB.rb
|
199
|
-
- lib/nysol/take.rb
|
200
|
-
- bin/mclique.rb
|
201
|
-
- bin/mbiclique.rb
|
202
|
-
- bin/mbipolish.rb
|
203
|
-
- bin/mclique2g.rb
|
204
|
-
- bin/mcliqueInfo.rb
|
205
|
-
- bin/mgdiff.rb
|
206
|
-
- bin/mitemset.rb
|
207
|
-
- bin/mpolishing.rb
|
208
|
-
- bin/msequence.rb
|
209
|
-
- bin/mfriends.rb
|
210
|
-
- bin/mccomp.rb
|
211
|
-
- bin/mhifriend.rb
|
212
|
-
- bin/mhipolish.rb
|
213
|
-
- bin/mpal.rb
|
214
|
-
- bin/mtra2gc.rb
|
215
|
-
- bin/mtra2g.rb
|
216
215
|
homepage: http://www.nysol.jp/
|
217
216
|
licenses: []
|
218
217
|
metadata: {}
|
@@ -222,17 +221,16 @@ require_paths:
|
|
222
221
|
- lib
|
223
222
|
required_ruby_version: !ruby/object:Gem::Requirement
|
224
223
|
requirements:
|
225
|
-
- -
|
224
|
+
- - ">="
|
226
225
|
- !ruby/object:Gem::Version
|
227
226
|
version: '0'
|
228
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
228
|
requirements:
|
230
|
-
- -
|
229
|
+
- - ">="
|
231
230
|
- !ruby/object:Gem::Version
|
232
231
|
version: '0'
|
233
232
|
requirements: []
|
234
|
-
|
235
|
-
rubygems_version: 2.0.14
|
233
|
+
rubygems_version: 3.0.3.1
|
236
234
|
signing_key:
|
237
235
|
specification_version: 4
|
238
236
|
summary: nysol TAKE tools
|