JP6961950B2 - 格納方法、格納装置および格納プログラム - Google Patents
格納方法、格納装置および格納プログラム Download PDFInfo
- Publication number
- JP6961950B2 JP6961950B2 JP2017025400A JP2017025400A JP6961950B2 JP 6961950 B2 JP6961950 B2 JP 6961950B2 JP 2017025400 A JP2017025400 A JP 2017025400A JP 2017025400 A JP2017025400 A JP 2017025400A JP 6961950 B2 JP6961950 B2 JP 6961950B2
- Authority
- JP
- Japan
- Prior art keywords
- size
- problem size
- processing
- upper limit
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/06—Arrangements for sorting, selecting, merging, or comparing data on individual record carriers
- G06F7/08—Sorting, i.e. grouping record carriers in numerical or other ordered sequence according to the classification of at least some of the information they carry
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
- G06F16/24566—Recursive queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/483—Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers
- G06F7/4833—Logarithmic number system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/544—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices for evaluating functions by calculation
- G06F7/556—Logarithmic or exponential functions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Nonlinear Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
接尾辞配列とは、文字列の全ての接尾辞を辞書順に並べ替えることで得られる配列である。以下では、接尾辞配列の生成において実行される再帰処理を例として本実施の形態を説明する。まず、図2及び図3を用いて、接尾辞配列の生成において実行される再帰処理を簡単に説明する。図2及び図3において、矩形の図形は各ステップにおける処理対象のデータのサイズ(すなわち、問題インスタンスのサイズ。以下では問題サイズと呼ぶ。)を表す。Niはステップiの問題サイズを表す。
第1の実施の形態の方法は、ステップ(i+1)の問題サイズがステップiの問題サイズの1/c倍であるケースを対象としている。これに対して、第2の実施の形態の方法は、ステップ(i+1)の問題サイズがステップiの問題サイズよりcだけ小さいケースを対象とする。
(1)c≧1
(2)Mi+1=floor(Mi−c)
(3)h=o(N)
(4)Li=Mi−ceil(c+Mi+1)
(1)Mi-1=ceil(c+Mi)+Li-1
(2)Pi-1=1である場合、Ni-1=Mi-1
(3)Pi-1≠1である場合、Ni-1はステップ(i−1)の作業領域のMi-1番目の領域に格納された値
コンピュータに、
各工程において特定の処理が実行される複数の工程のうち第1の工程において、前記第1の工程における処理対象のサイズである問題サイズが、前記第1の工程の前の工程の状態に基づき規定される上限サイズと一致するか判定し、
判定結果を記憶領域に保存し、
前記第1の工程の次の工程である第2の工程において、前記記憶領域に保存された前記判定結果を用いて前記問題サイズを特定し、特定した前記問題サイズに基づき前記第2の工程の前記特定の処理を実行する、
処理を実行させる格納プログラム。
前記第1の工程において、前記上限サイズを所定の数で割った場合の剰余の情報を前記記憶領域に保存する
処理を前記コンピュータにさらに実行させ、
前記第2の工程の前記特定の処理を実行する処理において、
前記判定結果が、前記問題サイズが前記上限サイズと一致することを示している場合、前記記憶領域に保存した前記剰余の情報を用いて前記問題サイズを特定する、
付記1記載の格納プログラム。
前記問題サイズが前記上限サイズと一致しない場合、前記第1の工程において、前記問題サイズと前記上限サイズとの差に相当する領域に、前記問題サイズの情報を格納する、
処理を前記コンピュータにさらに実行させ、
前記第2の工程の前記特定の処理を実行する処理において、
前記判定結果が、前記問題サイズが前記上限サイズと一致しないことを示している場合、前記問題サイズを前記記憶領域から読み出す、
付記1又は2記載の格納プログラム。
前記第2の工程の前記特定の処理を実行する処理において、
前記第2の工程における処理対象のサイズの上限サイズに前記所定の数を乗じた値と前記剰余の情報とを用いて、前記問題サイズを特定する、
付記2記載の格納プログラム。
コンピュータが、
各工程において特定の処理が実行される複数の工程のうち第1の工程において、前記第1の工程における処理対象のサイズである問題サイズが、前記第1の工程の前の工程の状態に基づき規定される上限サイズと一致するか判定し、
判定結果を記憶領域に保存し、
前記第1の工程の次の工程である第2の工程において、前記記憶領域に保存された前記判定結果を用いて前記問題サイズを特定し、特定した前記問題サイズに基づき前記第2の工程の前記特定の処理を実行する、
処理を実行する格納方法。
各工程において特定の処理が実行される複数の工程のうち第1の工程において、前記第1の工程における処理対象のサイズである問題サイズが、前記第1の工程の前の工程の状態に基づき規定される上限サイズと一致するか判定し、判定結果を記憶領域に保存する保存処理部と、
前記第1の工程の次の工程である第2の工程において、前記記憶領域に保存された前記判定結果を用いて前記問題サイズを特定し、特定した前記問題サイズに基づき前記第2の工程の前記特定の処理を実行する実行部と、
を有する格納装置。
103 復元処理部 105 問題処理部
110 入力データ格納部 111 作業データ格納部
113 管理データ格納部 114 出力データ格納部
Claims (5)
- コンピュータに、
接尾辞の配列を決定する再帰処理の工程における処理対象のサイズであって、前記再帰処理の第1工程においては設定値であり前記再帰処理の第i工程(iは2以上の自然数)においては第i−1工程の状態に基づき規定される問題サイズが、工程において使用可能な連続領域の最大サイズである上限サイズと一致するか判定し、
前記上限サイズを所定の数で割った場合の剰余を記憶領域に保存し、
前記問題サイズが前記上限サイズに一致する場合には一致することを表す判定結果を、前記問題サイズが前記上限サイズに一致しない場合には一致しないことを表す判定結果と前記問題サイズとを前記記憶領域に保存し、
前記第i工程における問題サイズを復元する場合には、前記記憶領域に保存された前記判定結果が一致することを表す場合には前記剰余を用いて前記問題サイズを特定し、前記判定結果が一致しないことを表す場合には前記記憶領域から前記問題サイズを読み出す、
処理を実行させる情報処理プログラム。 - 前記問題サイズを、前記記憶領域において、前記問題サイズと前記上限サイズとの差に相当する領域に保存する、
請求項1記載の情報処理プログラム。 - 前記剰余を用いて前記問題サイズを特定する場合、
前記第i工程より後の工程における上限サイズに前記所定の数を乗じた値と前記剰余とを用いて、前記問題サイズを特定する、
請求項1又は2記載の情報処理プログラム。 - コンピュータが、
接尾辞の配列を決定する再帰処理の工程における処理対象のサイズであって、前記再帰処理の第1工程においては設定値であり前記再帰処理の第i工程(iは2以上の自然数)においては第i−1工程の状態に基づき規定される問題サイズが、工程において使用可能な連続領域の最大サイズである上限サイズと一致するか判定し、
前記上限サイズを所定の数で割った場合の剰余を記憶領域に保存し、
前記問題サイズが前記上限サイズに一致する場合には一致することを表す判定結果を、前記問題サイズが前記上限サイズに一致しない場合には一致しないことを表す判定結果と前記問題サイズとを前記記憶領域に保存し、
前記第i工程における問題サイズを復元する場合には、前記記憶領域に保存された前記判定結果が一致することを表す場合には前記剰余を用いて前記問題サイズを特定し、前記判定結果が一致しないことを表す場合には前記記憶領域から前記問題サイズを読み出す、
処理を実行する情報処理方法。 - 接尾辞の配列を決定する再帰処理の工程における処理対象のサイズであって、前記再帰処理の第1工程においては設定値であり前記再帰処理の第i工程(iは2以上の自然数)においては第i−1工程の状態に基づき規定される問題サイズが、工程において使用可能な連続領域の最大サイズである上限サイズと一致するか判定し、前記上限サイズを所定の数で割った場合の剰余を記憶領域に保存し、前記問題サイズが前記上限サイズに一致する場合には一致することを表す判定結果を、前記問題サイズが前記上限サイズに一致しない場合には一致しないことを表す判定結果と前記問題サイズとを前記記憶領域に保存する保存処理部と、
前記第i工程における問題サイズを復元する場合には、前記記憶領域に保存された前記判定結果が一致することを表す場合には前記剰余を用いて前記問題サイズを特定し、前記判定結果が一致しないことを表す場合には前記記憶領域から前記問題サイズを読み出す復元処理部と、
を有する情報処理装置。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017025400A JP6961950B2 (ja) | 2017-02-14 | 2017-02-14 | 格納方法、格納装置および格納プログラム |
| US15/877,144 US20180232205A1 (en) | 2017-02-14 | 2018-01-22 | Apparatus and method for recursive processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017025400A JP6961950B2 (ja) | 2017-02-14 | 2017-02-14 | 格納方法、格納装置および格納プログラム |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018132899A JP2018132899A (ja) | 2018-08-23 |
| JP6961950B2 true JP6961950B2 (ja) | 2021-11-05 |
Family
ID=63105149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017025400A Expired - Fee Related JP6961950B2 (ja) | 2017-02-14 | 2017-02-14 | 格納方法、格納装置および格納プログラム |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US20180232205A1 (ja) |
| JP (1) | JP6961950B2 (ja) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102019117865A1 (de) | 2018-07-13 | 2020-01-16 | Ngk Spark Plug Co., Ltd. | Temperatursensor |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5440734A (en) * | 1993-09-14 | 1995-08-08 | International Business Machines Corporation | System for MSD radix sort bin storage management |
| US8606772B1 (en) * | 2011-01-26 | 2013-12-10 | Trend Micro Incorporated | Efficient multiple-keyword match technique with large dictionaries |
| US9619204B2 (en) * | 2013-06-14 | 2017-04-11 | Nvidia Corporation | Method and system for bin coalescing for parallel divide-and-conquer sorting algorithms |
| US9824111B2 (en) * | 2014-01-29 | 2017-11-21 | International Business Machines Corporation | Parallelized in-place radix sorting |
| US9823896B2 (en) * | 2014-01-29 | 2017-11-21 | International Business Machines Corporation | Parallelized in-place radix sorting |
| US9946512B2 (en) * | 2015-09-25 | 2018-04-17 | International Business Machines Corporation | Adaptive radix external in-place radix sort |
-
2017
- 2017-02-14 JP JP2017025400A patent/JP6961950B2/ja not_active Expired - Fee Related
-
2018
- 2018-01-22 US US15/877,144 patent/US20180232205A1/en not_active Abandoned
Also Published As
| Publication number | Publication date |
|---|---|
| US20180232205A1 (en) | 2018-08-16 |
| JP2018132899A (ja) | 2018-08-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107622020B (zh) | 一种数据存储方法、访问方法及装置 | |
| CN108427575B (zh) | 全流水结构sha-2消息扩展优化方法 | |
| KR101801075B1 (ko) | 데이터를 판독하고 기록하기 위한 방법, 장치 및 시스템 | |
| KR102594657B1 (ko) | 비순차적 리소스 할당을 구현하는 방법 및 장치 | |
| JPWO2003091872A1 (ja) | 並列マージソート処理装置及び方法並びにプログラム | |
| CN117435855B (zh) | 用于进行卷积运算的方法、电子设备和存储介质 | |
| CN110022203A (zh) | 一种sm3加速方法和装置 | |
| EP1876523A1 (en) | Computation of A MOD (2^n - 1) | |
| US20120011166A1 (en) | Skip list generation | |
| CN111914285B (zh) | 一种基于差分隐私的地理分布式图计算方法及系统 | |
| JP6961950B2 (ja) | 格納方法、格納装置および格納プログラム | |
| CN111625180B (zh) | 数据写入方法及装置、存储介质 | |
| JP6812826B2 (ja) | 格納方法、格納装置及び格納プログラム | |
| JP2002108958A (ja) | 回路設計システム、回路設計方法および回路設計プログラムを格納したコンピュータ読取り可能な記録媒体 | |
| CN114020747B (zh) | 一种电子设备及数据处理方法 | |
| CN109799961B (zh) | 电路架构 | |
| CN116610640A (zh) | 用于文件的操作方法、电子设备及存储介质 | |
| CN119809910B (zh) | 用于模型训练的显存控制方法、装置、设备以及存储介质 | |
| CN120407240B (zh) | 一种数据散列方法、装置、电子设备及存储介质 | |
| CN119228071B (zh) | 一种均匀设计表的调整方法和装置 | |
| KR20190143115A (ko) | 블록체인 기반 데이터 관리 방법 | |
| CN120315736A (zh) | 基于分块交错流水线的模型更新方法、装置、设备及产品 | |
| WO2018036336A1 (zh) | 一种数据处理方法和装置 | |
| CN115225252A (zh) | 使用基于哈希的签名方案和默克尔树遍历技术的密码方法 | |
| CN117785731A (zh) | 应用于ssd的数据插入方法、装置、计算机设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191112 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201012 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201117 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210115 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210615 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210812 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210914 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210927 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6961950 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |