JPH10126275A - Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data - Google Patents

Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data

Info

Publication number
JPH10126275A
JPH10126275A JP20364597A JP20364597A JPH10126275A JP H10126275 A JPH10126275 A JP H10126275A JP 20364597 A JP20364597 A JP 20364597A JP 20364597 A JP20364597 A JP 20364597A JP H10126275 A JPH10126275 A JP H10126275A
Authority
JP
Japan
Prior art keywords
value
objective function
node candidate
series data
node
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.)
Pending
Application number
JP20364597A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Mochizuki
義幸 望月
Toshiya Naka
俊弥 中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP20364597A priority Critical patent/JPH10126275A/en
Publication of JPH10126275A publication Critical patent/JPH10126275A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To widen the width of choices of compressing and expanding methods which compress and expand linear time-series data according to their characteristics by including processes from a process for inputting linear time-series data and its approximate precision to a process for outputting data on node candidates and data on time corresponding to them as compressed information. SOLUTION: In an input process P4a, the linear time-series data and its approximate precision value are inputted. In a node candidate calculating process P1a, node candidates for an interpolating function which approximates the linear time-series data are calculated. In a node position optimizing process P1b, the node candidates are moved to optimize node positions. In a deciding process P1c, the error between linear time-series data generated by the interpolating function, on the basis of the node candidates having the positions optimized and the original linear time-series data, is decided. In an output process P4b, the node candidate data and data on the time corresponding to them are outputted as compressed information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、1次元時系列デー
タ圧縮方法,1次元時系列データ伸長方法,1次元時系
列データ圧縮プログラム記録媒体,1次元時系列データ
伸長プログラム記録媒体,1次元時系列データ圧縮装
置,および1次元時系列データ伸長装置に関するもので
あり、これらは信号処理技術の分野に属するものである
が、剛体多関節物体の動きやメッシュ状の面の変形、弾
性物体の変形などを記述した時系列データにも適用でき
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-dimensional time-series data compression method, a one-dimensional time-series data expansion method, a one-dimensional time-series data compression program recording medium, a one-dimensional time-series data expansion program recording medium, and a one-dimensional time-series data expansion program. The present invention relates to a series data compression device and a one-dimensional time-series data decompression device, which belong to the field of signal processing technology, but include movement of a rigid articulated object, deformation of a mesh-like surface, and deformation of an elastic object. It can also be applied to time-series data describing such.

【0002】[0002]

【従来の技術】近年のインターネットの発展には目覚ま
しいものがある。インターネットではHTML(Hyper T
ext Makeup Language)により2次元の画像や音声信号を
扱うことが可能であることから、インターネットを画像
情報や音声情報等の各種マルチメディア情報の伝達媒体
として利用することが可能となっている。しかしなが
ら、このHTMLは2次元の画像を扱うことは可能であ
るが、3次元のCG画像を扱うことができず、3次元画
像の処理を可能にする言語としてVRML(Virtual Rea
lity Modeling Language) が提案されるに至っている。
2. Description of the Related Art In recent years, the development of the Internet has been remarkable. In the Internet, HTML (Hyper T
Since the Ext Makeup Language) can handle two-dimensional images and audio signals, the Internet can be used as a transmission medium for various multimedia information such as image information and audio information. However, this HTML can handle two-dimensional images, but cannot handle three-dimensional CG images. VRML (Virtual Reason) is a language that enables processing of three-dimensional images.
lity Modeling Language) has been proposed.

【0003】ただ、VRMLでは人間の動きを示す3次
元CG画像を表現するのは難しく、これを実現しようと
すれば人間を剛体多関節物体とみなし、各関節毎にその
位置等を時系列データとして記述すればよいが、この場
合、発生するデータの量が膨大になる。このデータ量の
問題を回避するためには、関節位置等の多次元の時系列
データを1次元の時系列データに分解し、それぞれの1
次元時系列データ毎にその圧縮を行えばよい。
However, in VRML, it is difficult to represent a three-dimensional CG image showing the movement of a human. To realize this, a human is regarded as a rigid articulated object, and the position and the like of each joint are represented by time-series data. However, in this case, the amount of generated data becomes enormous. In order to avoid this data amount problem, multidimensional time-series data such as joint positions is decomposed into one-dimensional time-series data, and each one-dimensional time-series data is decomposed.
The compression may be performed for each dimensional time-series data.

【0004】このような1次元時系列データの圧縮方法
として、一般的に適用される方法は、音響工学などで信
号処理を行う際に用いられている,離散フーリエ変換や
離散コサイン変換などの直交変換を用いて情報を圧縮す
る方法である。
[0004] As a method of compressing such one-dimensional time series data, a method generally applied is an orthogonal method such as discrete Fourier transform or discrete cosine transform, which is used when performing signal processing in acoustic engineering or the like. This is a method of compressing information using conversion.

【0005】この直交変換に関する参考文献としては、 「音声」、日本音響学会編 中田和男、コロナ社、19
77年 などがある。また、剛体多関節物体の関節角の時系列デ
ータに関する参考文献としては、Unuma,M, et al., "Fo
urier Principles for Emotion-based Human Figure An
imation" ,SIGGRAPH95 Proceedings, pp91-95,1995.が
ある。
References relating to this orthogonal transformation include “Speech”, edited by The Acoustical Society of Japan, Kazuo Nakata, Corona, 19
77 years. References for time series data of joint angles of rigid articulated objects include Unuma, M, et al., "Fo
urier Principles for Emotion-based Human Figure An
imation ", SIGGRAPH95 Proceedings, pp91-95, 1995.

【0006】ところで、この直交変換を用いて情報を圧
縮する方法は、まず、与えられた1次元時系列データ
を、全ての時刻におけるデータを用いて、離散フーリエ
級数展開表現や離散コサイン級数展開表現に変換する。
次に、変換された級数展開表現の高周波成分をカットす
ることで、情報量を圧縮する, というものである。
In the method of compressing information using the orthogonal transform, first, given one-dimensional time-series data is converted to a discrete Fourier series expansion expression or a discrete cosine series expansion expression using data at all times. Convert to
Next, the amount of information is compressed by cutting high-frequency components of the transformed series expansion expression.

【0007】[0007]

【発明が解決しようとする課題】そして、このような直
交変換を用いて圧縮された情報に対しては、逆フーリエ
変換や逆コサイン変換を適用することにより、情報の伸
長を行なうことができる。そして、その際、伸長された
データとしては、元のデータと同じ個数のデータを生成
するのみならず、元のデータとは個数が異なる,任意個
のデータを生成することも可能であるが、基底が三角関
数のため、その性質が伸長されたデータに反映されてし
まう。
The information can be expanded by applying an inverse Fourier transform or an inverse cosine transform to the information compressed using the orthogonal transform. At this time, as decompressed data, it is possible to generate not only the same number of data as the original data but also any number of data having a different number from the original data. Since the basis is a trigonometric function, its properties are reflected in the expanded data.

【0008】本発明は、上記のような従来のものの問題
点を解決するためになされたもので、1次元時系列デー
タの性質に合わせた圧縮, 伸長が行なうことができ、伸
長されたデータの個数を元のデータの個数と異ならせた
としても、圧縮,伸長の処理の影響が伸長後のデータに
及んでしまうことが少なく、また、データの統計的な性
質を利用して圧縮を行うのではなく、圧縮の際に指定す
る,元のデータとの誤差の範囲内に収まるようにデータ
を圧縮する圧縮方法であるため、従来の圧縮方法を補完
する,新たな圧縮, 伸長方法を提供することができ、圧
縮, 伸長方法の選択の幅を広げることを可能とする1次
元時系列データ圧縮装置,1次元時系列データ伸長装
置,1次元時系列データ圧縮方法,1次元時系列データ
伸長方法,1次元時系列データ圧縮プログラムの記録媒
体,および1次元時系列データ伸長プログラムの記録媒
体を得ることを目的としてなされたものである。
The present invention has been made to solve the above-mentioned problems of the prior art, and can perform compression and decompression in accordance with the properties of one-dimensional time-series data. Even if the number is different from the original data, the effects of the compression and decompression processes rarely affect the decompressed data, and compression is performed using the statistical properties of the data. Rather, it provides a new compression and decompression method that complements the existing compression method because it is a compression method that compresses data so that it is within the error range from the original data, which is specified at the time of compression. One-dimensional time-series data compression device, one-dimensional time-series data decompression device, one-dimensional time-series data compression method, one-dimensional time-series data decompression method that can expand the range of selection of compression and decompression methods , One-dimensional time system This invention was made in order to obtain a recording medium of a data compression program recording medium, and one-dimensional time series data decompression program.

【0009】[0009]

【課題を解決するための手段】この発明の請求項1記載
の1次元時系列データ圧縮方法は、時間等間隔な1次元
時系列データの圧縮方法であって、前記1次元時系列デ
ータとその近似精度の入力を行なう第1の工程と、前記
1次元時系列データを近似する補間関数の節点候補を算
出する第2の工程と、前記節点候補の位置を最適化する
第3の工程と、前記位置が最適化された節点候補に基づ
き前記補間関数により発生した1次元時系列データと元
の1次元時系列データとの誤差を判定する第4の工程
と、前記第4の工程により前記誤差が前記近似精度に基
づく値を越えると判断された場合に節点数を変更し、前
記第2の工程に戻る第5の工程と、前記第5の工程によ
り前記誤差が前記近似精度に基づく値を越えないと判断
された場合に当該節点候補のデータとこれに対応する時
刻のデータとを圧縮された情報として出力する第6の工
程とを含むようにしたものである。
A one-dimensional time-series data compression method according to claim 1 of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its A first step of inputting approximation accuracy, a second step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data, and a third step of optimizing the position of the node candidate; A fourth step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate whose position has been optimized; and If the value is determined to exceed the value based on the approximation precision, the number of nodes is changed, and the fifth step is returned to the second step. If it is determined not to exceed It is obtained to include a sixth step of outputting the data and information that has been compressed and the data at a time corresponding to the candidate.

【0010】この発明の請求項2記載の1次元時系列デ
ータ圧縮方法は、時間等間隔な1次元時系列データの圧
縮方法であって、前記1次元時系列データとその近似精
度の入力を行なう第1の工程と、前記1次元時系列デー
タに前記近似精度以内のデータが含まれているか否かを
判定する第2の工程と、前記第2の工程により前記1次
元時系列データに前記近似精度以内のデータが含まれて
いないと判断された場合に前記1次元時系列データを近
似する補間関数の節点候補を算出する第3の工程と、前
記節点候補の位置を最適化する第4の工程と、前記位置
が最適化された節点候補に基づき前記補間関数により発
生した1次元時系列データと元の1次元時系列データと
の誤差を判定する第5の工程と、前記第5の工程により
前記誤差が前記近似精度に基づく値を越えると判断され
た場合に節点数を変更し、前記第3の工程に戻る第6の
工程と、前記第2の工程により前記1次元時系列データ
に前記近似精度以内のデータが含まれていると判断され
た場合に当該1次元時系列データが近似精度以内のデー
タである旨の情報を出力し、前記第5の工程により前記
誤差が前記近似精度に基づく値を越えないと判断された
場合に当該節点候補のデータとこれに対応する時刻のデ
ータとを圧縮された情報として出力する第7の工程とを
含むようにしたものである。
A one-dimensional time-series data compression method according to a second aspect of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are input. A first step, a second step of determining whether the one-dimensional time-series data includes data within the approximation accuracy, and the approximation of the one-dimensional time-series data by the second step. A third step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data when it is determined that data within the accuracy is not included, and a fourth step of optimizing the position of the node candidate A fifth step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate whose position has been optimized; and the fifth step The error is close to A sixth step of changing the number of nodes when it is determined to exceed the value based on the accuracy and returning to the third step, and a data within the approximation accuracy of the one-dimensional time-series data by the second step. Is output, information is output to the effect that the one-dimensional time-series data is data within the approximation accuracy, and the error does not exceed a value based on the approximation accuracy in the fifth step. And a seventh step of outputting the data of the node candidate and the data of the time corresponding to the node candidate as compressed information.

【0011】この発明の請求項3記載の1次元時系列デ
ータ圧縮方法は、時間等間隔な1次元時系列データの圧
縮方法であって、前記1次元時系列データとその近似精
度の入力を行ない、前記1次元時系列データに対しその
時刻の順にインデックスを付加し、前記1次元時系列デ
ータを補間する補間関数の初期の節点数を算出する第1
の工程と、前記1次元時系列データの中から、始めと終
りのデータを必ず含み、かつランダムに前記節点数個だ
けの節点候補を決定する第2の工程と、前記節点候補を
インデックス番号を独立変数とする補間関数により補間
して、元の1次元時系列データとの誤差を算出する第3
の工程と、前記誤差から、この誤差の最大値と誤差平均
と誤差分散との重み付け加算で定義された第1目的関数
の値を算出する第4の工程と、前記第1目的関数の値が
最小となるように節点候補の変更を繰り返し行ない、準
最適節点候補を決定する第5の工程と、前記準最適節点
候補を前記補間関数により補間して元の1次元時系列デ
ータを近似する1次元時系列データを生成し、この1次
元時系列データと元の1次元時系列データとの誤差を算
出する第6の工程と、前記誤差から、この誤差の最大値
と誤差平均と誤差分散との重み付け加算で定義された第
2目的関数の値を算出する第7の工程と、前記第2目的
関数の値が前記近似精度に対応する閾値以上ならば、前
記節点数に増分を加えたものを新たな節点数とし、前記
第2の工程から第7の工程までの処理を繰り返す第8の
工程と、前記第2目的関数の値が前記閾値未満ならば、
前記1次元時系列データの初期時刻と時間間隔と、最終
的に決定された節点候補のインデックス番号と前記節点
候補の値とで構成された圧縮データを出力する第9の工
程とを含むようにしたものである。
A one-dimensional time-series data compression method according to a third aspect of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are input. A first index for adding an index to the one-dimensional time-series data in the order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data.
And a second step of always including the start and end data from the one-dimensional time-series data, and randomly determining only a few node candidates, and an index number for the node candidates. Interpolation by an interpolation function as an independent variable to calculate an error from the original one-dimensional time-series data
And a fourth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance. A fifth step of repeatedly changing node candidates so as to be the minimum to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate with the interpolation function to approximate the original one-dimensional time-series data. A sixth step of generating one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating the value of the second objective function defined by the weighted addition of (a), and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, an increment is added to the number of nodes. From the second step to the An eighth step of repeating the process up to the step, if the value of the second objective function is less than the threshold value,
A ninth step of outputting compressed data including the initial time and time interval of the one-dimensional time-series data, the finally determined index number of the node candidate, and the value of the node candidate. It was done.

【0012】この発明の請求項4記載の1次元時系列デ
ータ圧縮方法は、時間等間隔な1次元時系列データの圧
縮方法であって、前記1次元時系列データとその近似精
度の入力を行ない、前記1次元時系列データに対しその
時刻の順にインデックスを付加し、前記1次元時系列デ
ータを補間する補間関数の初期の節点数を算出する第1
の工程と、前記1次元時系列データの中から、始めと終
りのデータを必ず含み、かつ前記インデックスに関して
近似的に等間隔となるように前記節点数個だけの節点候
補を決定する第2の工程と、前記節点候補をインデック
ス番号を独立変数とする補間関数により補間して、元の
1次元時系列データとの誤差を算出する第3の工程と、
前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の工程と、前記第1目的関数の値が最小となる
ように節点候補の変更を繰り返し行ない、準最適節点候
補を決定する第5の工程と、前記準最適節点候補を前記
補間関数により補間して、元の1次元時系列データを近
似する1次元時系列データを生成し、この1次元時系列
データと元の1次元時系列データとの誤差を算出する第
6の工程と、前記誤差から、この誤差の最大値と誤差平
均と誤差分散との重み付け加算で定義された第2目的関
数の値を算出する第7の工程と、前記第2目的関数の値
が前記近似精度に対応する閾値以上ならば、前記節点数
に増分を加えたものを新たな節点数とし、前記第2の工
程から第7の工程の処理までを繰り返す第8の工程と、
前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の工程とを含
むようにしたものである。
A one-dimensional time-series data compression method according to a fourth aspect of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are input. A first index for adding an index to the one-dimensional time-series data in the order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data.
And a second step of determining, from the one-dimensional time-series data, node candidates of only a few nodes so as to always include start and end data and to be approximately equally spaced with respect to the index. And a third step of interpolating the node candidate with an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data;
A fourth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance, and setting the value of the first objective function to be a minimum. A fifth step of repeatedly changing node candidates to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function to approximate the original one-dimensional time-series data A sixth step of generating data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; and, based on the error, adding a maximum value of the error, an error average, and an error variance. A seventh step of calculating the value of the second objective function defined in the above, and if the value of the second objective function is equal to or greater than the threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is added to a new The second to seventh steps are defined as the number of nodes. An eighth step of repeating the up process,
If the value of the second objective function is less than the threshold value, it is composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate. And a ninth step of outputting compressed data.

【0013】この発明の請求項5記載の1次元時系列デ
ータ圧縮方法は、時間等間隔な1次元時系列データの圧
縮方法であって、前記1次元時系列データとその近似精
度の入力を行ない、前記1次元時系列データに時刻の順
にインデックスを付加し、前記1次元時系列データを補
間する補間関数の初期の節点数を算出する第1の工程
と、前記1次元時系列データの絶対値が全て前記近似精
度以下か否かの判定を行ない、前記近似精度以下の場合
は全て0であることを示す識別子を出力して終了し、そ
うでない場合は後述する第3の工程へと移行する第2の
工程と、前記1次元時系列データの中から、始めと終り
のデータを必ず含み、かつランダムに前記節点数個だけ
の節点候補を決定する第3の工程と、前記節点候補をイ
ンデックス番号を独立変数とする補間関数により補間し
て、元の1次元時系列データとの誤差を算出する第4の
工程と、前記誤差から、この誤差の最大値と誤差平均と
誤差分散との重み付け加算で定義された第1目的関数の
値を算出する第5の工程と、前記第1目的関数の値が最
小となるように節点候補の変更を繰り返し行ない、準最
適節点候補を決定する第6の工程と、前記準最適節点候
補を前記補間関数により補間して、元の1次元時系列デ
ータを近似する1次元時系列データを生成し、1次元時
系列データと元の1次元時系列データとの誤差を算出す
る第7の工程と、前記誤差から、この誤差の最大値と誤
差平均と誤差分散との重み付け加算で定義された第2目
的関数の値を算出する第8の工程と、前記第2目的関数
の値が前記近似精度に対応する閾値以上ならば、前記節
点数に増分を加えたものを新たな節点数とし、前記第3
の工程から第8の工程までの処理を繰り返す第9の工程
と、前記第2目的関数の値が前記閾値未満ならば、前記
1次元時系列データの初期時刻と時間間隔と、最終的に
決定された節点候補のインデックス番号と前記節点候補
の値とで構成された圧縮データを出力する第10の工程
とを含むようにしたものである。
A one-dimensional time-series data compression method according to a fifth aspect of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are input. A first step of adding an index to the one-dimensional time-series data in order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and an absolute value of the one-dimensional time-series data Is determined to be less than or equal to the approximation accuracy, and if less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output, and if not, the process proceeds to a third step described later. A second step, a third step of always including the start and end data from the one-dimensional time-series data, and randomly determining only a few node candidates, and an index of the node candidates. German number A fourth step of calculating an error from the original one-dimensional time-series data by interpolating using an interpolation function as a variable, and defining from the error the weighted addition of the maximum value of the error, the error average, and the error variance A fifth step of calculating the calculated value of the first objective function, and a sixth step of repeatedly changing the node candidates so as to minimize the value of the first objective function and determining a sub-optimal node candidate. Interpolating the suboptimal node candidates using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data, and generating an error between the one-dimensional time-series data and the original one-dimensional time-series data A seventh step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; and The value of the objective function is equal to or less than the threshold value corresponding to the approximation accuracy. If, as a new number of nodes not containing added increment the number of nodes, the third
A ninth step of repeating the processing from the step to the eighth step, and if the value of the second objective function is less than the threshold value, the initial time and the time interval of the one-dimensional time-series data are finally determined. And a tenth step of outputting compressed data composed of the index numbers of the selected node candidates and the values of the node candidates.

【0014】この発明の請求項6記載の1次元時系列デ
ータ圧縮方法は、時間等間隔な1次元時系列データの圧
縮方法であって、前記1次元時系列データとその近似精
度の入力を行ない、前記1次元時系列データに時刻の順
にインデックスを付加し、前記1次元時系列データを補
間する補間関数の初期の節点数を算出する第1の工程
と、前記1次元時系列データの絶対値が全て前記近似精
度以下か否かの判定を行ない、近似精度以下の場合は全
て0であることを示す識別子を出力して終了し、そうで
ない場合は後述する第3の工程へと移行する第2の工程
と、前記1次元時系列データの中から、始めと終りのデ
ータを必ず含み、かつ前記インデックスに関して近似的
に等間隔となるように前記節点数個だけの節点候補を決
定する第3の工程と、前記節点候補をインデックス番号
を独立変数とする補間関数により補間して、元の1次元
時系列データとの誤差を算出する第4の工程と、前記誤
差から、この誤差の最大値と誤差平均と誤差分散との重
み付け加算で定義された第1目的関数の値を算出する第
5の工程と、前記第1目的関数の値が最小となるように
節点候補の変更を繰り返し行ない、準最適節点候補を決
定する第6の工程と、前記準最適節点候補を前記補間関
数により補間して、元の1次元時系列データを近似する
1次元時系列データを生成し、この1次元時系列データ
と元の1次元時系列データとの誤差を算出する第7の工
程と、前記誤差から、この誤差の最大値と誤差平均と誤
差分散との重み付け加算で定義された第2目的関数の値
を算出する第8の工程と、前記第2目的関数の値が前記
近似精度に対応する閾値以上ならば、前記節点数に増分
を加えたものを新たな節点数とし、前記第3の工程から
第8の工程までの処理を繰り返す第9の工程と、前記第
2目的関数の値が前記閾値未満ならば、前記1次元時系
列データの初期時刻と時間間隔と、最終的に決定された
節点候補のインデックス番号と前記節点候補の値とで構
成された圧縮データを出力する第10の工程とを含むよ
うにしたものである。
A one-dimensional time-series data compression method according to a sixth aspect of the present invention is a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are input. A first step of adding an index to the one-dimensional time-series data in order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and an absolute value of the one-dimensional time-series data Are determined to be all less than or equal to the approximation accuracy. If the accuracy is less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output, and if not, the process proceeds to a third step described later. And a third step of determining, from the one-dimensional time-series data, the node candidates of only a few nodes so as to always include the beginning and end data and to be approximately equally spaced with respect to the index. Process and A fourth step of interpolating the node candidate by an interpolation function using an index number as an independent variable to calculate an error with the original one-dimensional time-series data; and, from the error, a maximum value of the error and an error average. A fifth step of calculating the value of the first objective function defined by weighted addition with the error variance, and repeatedly changing the node candidates so that the value of the first objective function is minimized; And generating the one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating the sub-optimal node candidates using the interpolation function. A seventh step of calculating an error from the one-dimensional time-series data, and calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance Eighth step and the second step If the value of the function is equal to or greater than the threshold value corresponding to the approximation accuracy, a ninth step of repeating the processing from the third step to the eighth step by setting the value obtained by adding an increment to the number of nodes as a new number of nodes And if the value of the second objective function is less than the threshold, the initial time and the time interval of the one-dimensional time series data, the index number of the finally determined node candidate, and the value of the node candidate And a tenth step of outputting the compressed data thus obtained.

【0015】この発明の請求項7記載の1次元時系列デ
ータ圧縮方法は、請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、前記準最適節点
候補の算出は、前記節点候補のインデックスに対して、
これが小さい順に番号づけを行なったものをI(j),0 ≦
j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り
立つならば節点候補I(j)を節点候補I(j)-1に交換した時
の前記第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-) を算出
し、I(j-1)≧I(j)-1ならば前記ΔE(1-) を0に設定し、
I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)ならば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0
かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節
点候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1
-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)+1に交換し、前記Δ
E(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換し、前記ΔE(1-)<0 かつ前記Δ
E(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)が前記ΔE
(1+) より大きいならば、前記節点候補I(j)を前記節点
候補I(j)+1に交換する操作を奇数のj については小さい
ものから大きいものの順、および偶数のj については大
きいものから小さいものの順に行ない、これら一連の処
理が終了した時の第1目的関数の値が前記元の第1目的
関数の値から前記閾値を減じたもの以下ならば、前記操
作を奇数のj については小さいものから大きいものの
順、および偶数のj については大きいものから小さいも
のの順に再び行ない、前記節点候補の交換が全く行なわ
れなかったか、前記第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたものより大きいならば、処
理を終了することにより、行なうようにしたものであ
る。
According to a seventh aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed in the one-dimensional time-series data compression method. For the index of the node candidate,
Numbered in ascending order is I (j), 0 ≤
When j ≦ m, if the relationship of I (j-1) <I (j) -1 holds, the first candidate when the node candidate I (j) is replaced with the node candidate I (j) -1 The value of the objective function is calculated, a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) -1 Then, set ΔE (1-) to 0,
If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I
calculating the value of the first objective function when (j) is replaced with the node candidate I (j) +1, and calculating the original first value from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If (j + 1), the ΔE (1+) is set to 0, and the ΔE (1-) <0
And if the relationship ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1
-) ≧ 0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
If-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the Δ
The relationship of E (1 +) <0 holds, and the ΔE (1-) is the ΔE
If it is larger than (1+), the operation of exchanging the node candidate I (j) with the node candidate I (j) +1 is performed in the order of small to large for odd j, and large for even j. If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is repeated for odd j. Are performed again in ascending order from the smallest to the largest, and for even j, in the order from the largest to the smallest, and whether the node candidates have not been exchanged at all or whether the value of the first objective function is the original first objective function If the value is larger than the value obtained by subtracting the threshold value from the value of, the processing is terminated to terminate the processing.

【0016】この発明の請求項8記載の1次元時系列デ
ータ圧縮方法は、請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、前記準最適節点
候補の算出は、前記節点候補のインデックスに対して、
これが小さい順に番号づけを行なったものをI(j),0 ≦
j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り
立つならば節点候補I(j)を節点候補I(j)-1に交換した時
の前記第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-) を算出
し、I(j-1)≧ I(j)-1 の関係が成り立つならば前記ΔE
(1-) を0に設定し、I(j)+1 < I(j+1) の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の前記第1目的関数の値を算出し、前記第1目的関数
の値から前記元の第1目的関数の値を減じた値ΔE(1+)
を算出し、I(j)+1≧I(j+1)の関係が成り立つならば前記
ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1
+) ≧0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前
記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I
(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1
+) 以下ならば、前記節点候補I(j)を前記節点候補I(j)-
1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係
が成り立ち、かつ、前記ΔE(1-) の方が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換する操作を奇数のj については大きいものから
小さいものの順、および偶数のj については小さいもの
から大きいものの順に行ない、これら一連の処理が終了
した時の第1目的関数の値が前記元の第1目的関数の値
から閾値を減じたもの以下ならば、前記操作を奇数のj
については大きいものから小さいものの順、および偶数
のj については小さいものから大きいものの順に再び行
ない、節点候補の前記交換が全く行なわれなかったか、
前記第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたものより大きいならば、処理を終了するこ
とにより、行なうようにしたものである。
The one-dimensional time-series data compression method according to claim 8 of the present invention is the one-dimensional time-series data compression method according to any one of claims 3 to 6, wherein the suboptimal node candidate calculation is For the index of the node candidate,
Numbered in ascending order is I (j), 0 ≤
When j ≦ m, if the relation of I (j-1) <I (j) -1 holds, the first candidate when the node candidate I (j) is replaced with the node candidate I (j) -1 The value of the objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) -1 If the relationship holds, then ΔE
(1-) is set to 0, and when the relationship of I (j) +1 <I (j + 1) holds, the above-mentioned node candidate I (j) is replaced with the node candidate I (j) +1 The value of the first objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function
If the relationship of I (j) + 1 ≧ I (j + 1) holds, ΔE (1+) is set to 0, ΔE (1-) <0 and ΔE (1
+) ≧ 0, the node candidate I (j) is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 is satisfied. Is satisfied, the node candidate I (j) is replaced with the node candidate I (j) + 1.If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 is satisfied, the node Candidate I
(j) is not exchanged, the ΔE (1-) <0 and the ΔE (1+)
<0, and ΔE (1-) is equal to ΔE (1
+) If below, the node candidate I (j) is replaced by the node candidate I (j)-
If the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and if ΔE (1-) is larger than ΔE (1+), The node candidate I (j) is replaced with the node candidate I (j).
The operation of exchanging +1 is performed in the order of large to small for odd j, and in the order of small to large for even j. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed using an odd j
Are performed again in the order of large to small, and for even j, in the order of small to large, and whether or not the exchange of the node candidates has been performed at all,
If the value of the first objective function is greater than the value of the original first objective function minus a threshold value, the processing is terminated to terminate the processing.

【0017】この発明の請求項9記載の1次元時系列デ
ータ圧縮方法は、請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、前記準最適節点
候補の算出は、前記節点候補のインデックスに対して、
これが小さい順に番号づけを行なったものをI(j),0 ≦
j ≦m と表記したとき、 I(j-1) < I(j)-1の関係が成り
立つならば節点候補I(j)を節点候補I(j)-1に交換した時
の第1目的関数の値を算出し、前記第1目的関数の値か
ら元の第1目的関数の値を減じた値ΔE(1-) を算出し、
I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換し、前記ΔE(1-) ≧0かつ前記ΔE(1+)<0 の関係
が成り立つならば前記節点候補I(j)を前記節点候補I(j)
+1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の
関係が成り立つならば前記節点候補I(j)の交換を行なわ
ず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換し、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ、
前記ΔE(1-) が前記ΔE(1+) より大きいならば、前記節
点候補I(j)を前記節点候補I(j)+1に交換する操作をj=1
から[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順
に行ない、これら一連の処理が終了した時の第1目的関
数の値が前記元の第1目的関数の値から前記閾値を減じ
たもの以下ならば、前記操作をj=1 から[m/2 ]まで、
およびj=m-1 から[m/2 ]+1まで順に再び行ない、節点
候補の前記交換が全く行なわれなかったか、前記第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たものより大きいならば、処理を終了することにより、
行なうようにしたものである。
According to a ninth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed by using For the index of the node candidate,
Numbered in ascending order is I (j), 0 ≤
When j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the first objective when node candidate I (j) is replaced with node candidate I (j) -1 Calculating a value of the function, calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function,
If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original first objective function is subtracted from the value of the first objective function. ΔE (1+)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I (j).
If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged and the ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1. And replace the Δ
E (1-) <0 and the relationship of ΔE (1 +) <0 holds, and
If the ΔE (1-) is larger than the ΔE (1+), the operation of replacing the candidate node I (j) with the candidate node I (j) +1 is j = 1.
To [m / 2], and from j = m-1 to [m / 2] +1, and the value of the first objective function at the end of the series of processes is the value of the original first objective function. If the value is equal to or less than the value obtained by subtracting the threshold from the value, the operation is performed from j = 1 to [m / 2].
And j = m-1 to [m / 2] +1 again, and whether the node candidates have not been exchanged at all or the value of the first objective function is a threshold value from the value of the original first objective function If the value is larger than the value obtained by subtracting, by ending the processing,
It is something to do.

【0018】この発明の請求項10記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、前記節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換し、前記ΔE(1-)≧0 かつ前記ΔE(1+)
<0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作をj=[m/2 ]から1 まで、およびj=[m/2 ]+1から
m-1 まで順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から前記
閾値を減じたもの以下ならば、前記操作をj=[m/2 ]か
ら1 まで、およびj=[m/2 ]+1からm-1 まで順に再び行
ない、節点候補の前記交換が全く行なわれなかったか、
前記第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたものより大きいならば、処理を終了するこ
とにより、行なうようにしたものである。
According to a tenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed in the one-dimensional time-series data compression method. The index of the node candidate index, which is numbered in ascending order, is I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidate I (j) is replaced with the node candidate I (j) -1, the ΔE (1-) ≧ 0 and the ΔE (1+)
<0, the candidate node I (j) is replaced with the candidate node I (j) +1, and ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE If (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1+ ) <0 and if ΔE (1-) is greater than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 = [M / 2] to 1 and j = [m / 2] +1
m−1, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = [m / 2] to 1 and j = [m / 2] +1 to m-1 again, and whether the exchange of the node candidates has not been performed at all,
If the value of the first objective function is greater than the value of the original first objective function minus a threshold value, the processing is terminated to terminate the processing.

【0019】この発明の請求項11記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、前記節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換し、前記ΔE(1-)≧0 かつ前記ΔE(1+)
<0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作をj=1 からm-1 まで順に行ない、これら一連の処理
が終了した時の第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたもの以下ならば、前記操作をj=
1 からm-1 まで順に再び行ない、節点候補の前記交換が
全く行なわれなかったか、前記第1目的関数の値が前記
元の第1目的関数の値から閾値を減じたものより大きい
ならば、処理を終了することにより、行なうようにした
ものである。
The one-dimensional time-series data compression method according to claim 11 of the present invention is the one-dimensional time-series data compression method according to any one of claims 3 to 6, wherein the suboptimal node candidate calculation is performed by: The index of the node candidate index, which is numbered in ascending order, is I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidate I (j) is replaced with the node candidate I (j) -1, the ΔE (1-) ≧ 0 and the ΔE (1+)
<0, the candidate node I (j) is replaced with the candidate node I (j) +1, and ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the relationship of ΔE If (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1+ ) <0, and if ΔE (1-) is greater than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 = 1 to m−1, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j =
1 to m-1 again in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold, The processing is performed by terminating the processing.

【0020】この発明の請求項12記載の1次元時系列
データ圧縮方法は、請求項3ないし6記載のいずれかに
1次元時系列データ圧縮方法において、前記準最適節点
候補の算出は、前記節点候補のインデックスに対して、
これが小さい順に番号づけを行なったものをI(j),0 ≦
j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り
立つならば節点候補I(j)を節点候補I(j)-1に交換した時
の第1目的関数の値を算出し、前記第1目的関数の値か
ら元の第1目的関数の値を減じた値ΔE(1-) を算出し、
I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係
が成り立つならば前記節点候補I(j)を前記節点候補I(j)
+1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の
関係が成り立つならば前記節点候補I(j)の交換を行なわ
ず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記
節点候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換する操作をj=m-1
から1 まで順に行ない、これら一連の処理が終了した時
の第1目的関数の値が前記元の第1目的関数の値から閾
値を減じたもの以下ならば、前記操作をj=m-1 から1 ま
で順に再び行ない、節点候補の前記交換が全く行なわれ
なかったか、前記第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたものより大きいならば、処理
を終了することにより、行なうようにしたものである。
According to a twelfth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed by using the node For the candidate index,
Numbered in ascending order is I (j), 0 ≤
When j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the first objective when node candidate I (j) is replaced with node candidate I (j) -1 Calculating the value of the function, calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function,
If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original first objective function is subtracted from the value of the first objective function. ΔE (1+)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
If the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j).
+1, if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) becomes the node candidate I (j) -1. Replace the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is replaced with the node candidate. The operation of replacing I (j) +1 with j = m-1
To 1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed from j = m-1. Steps are repeated until 1 and the node candidates are not exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the process ends. By doing so, it is done.

【0021】この発明の請求項13記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、前記節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともにこの交換を行った時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともにこの交換を行った時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともにこの交換を行った
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係
が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大き
いならば、前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともにこの交換を行った時の第1の目的関数の
値と前記元の第1の目的関数の値の交換を行なう操作を
奇数のj については小さいものから大きいものの順、お
よび偶数のj については大きいものから小さいものの順
に行ない、これら一連の処理が終了した時の第1目的関
数の値が前記元の第1目的関数の値から閾値を減じたも
の以下ならば、前記操作を奇数のj については小さいも
のから大きいものの順、および偶数のj については大き
いものから小さいものの順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、行なうよ
うにしたものである。
According to a thirteenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed in the one-dimensional time-series data compression method. The index of the node candidate index, which is numbered in ascending order, is I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function and the value of the original first objective function at the time of this exchange are performed. When the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is exchanged for the node candidate I (j) +1, and The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
If −) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) −1, and the value of the first objective function and the element at the time of the exchange are exchanged. The values of the first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold, and ΔE (1-) is larger than ΔE (1+). Then, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function and the value of the original first objective function at the time of the exchange are exchanged. The exchange operation is performed in the order of small to large for the odd j, and in the order of large to small for the even j, and the value of the first objective function at the time when these series of processing is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above-described operation is performed in the order of small to large for odd j, and for even j. Is performed again in ascending order from the largest to the smallest, and if the exchange of the node candidates has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, The processing is performed by terminating the processing.

【0022】この発明の請求項14記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、節点候補のインデックスに対して、こ
れが小さい順に番号づけを行なったものをI(j),0 ≦j
≦m と表記したとき、 I(j-1) < I(j)-1の関係が成り立
つならば節点候補I(j)を節点候補I(j)-1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
元の第1目的関数の値を減じた値ΔE(1-) を算出し、I
(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、 I(j)+1 <I(j+1) の関係が成り立つならば
前記節点候補I(j)を節点候補I(j)+1に交換した時の第1
目的関数の値を算出し、前記第1目的関数の値から前記
元の第1目的関数の値を減じた値ΔE(1+) を算出し、I
(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を
0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)-1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)≧0 の関係が成り立つならば前記節
点候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) 以下ならば、前記節点候補I(j)を前記節点候補
I(j)-1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作を奇数のj につい
ては大きいものから小さいものの順、および偶数のj に
ついては小さいものから大きいものの順に行ない、これ
ら一連の処理が終了した時の第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたもの以下ならば、
前記操作を奇数のj については大きいものから小さいも
のの順、および偶数のj については小さいものから大き
いものの順に再び行ない、節点候補の前記交換が全く行
なわれなかったか、前記第1目的関数の値が前記元の第
1目的関数の値から閾値を減じたものより大きいなら
ば、処理を終了することにより、決定を行なうようにし
たものである。
According to a fourteenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed by using I (j), 0 ≤j
≤m, if the relation I (j-1) <I (j) -1 holds, the first objective function when node candidate I (j) is replaced with node candidate I (j) -1 , And a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated.
If the relationship of (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The first when node candidate I (j) is replaced with node candidate I (j) +1
The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated.
If the relationship of (j) + 1 ≧ I (j + 1) holds, ΔE (1+) is set to 0, and the relationship of ΔE (1-) <0 and ΔE (1+) ≧ 0 is satisfied. If this holds, the node candidate I (j) is replaced with the node candidate I
(j) -1 and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is exchanged for the node candidate I (j) +1, and at the time of this exchange. The value of the first objective function is exchanged with the value of the original first objective function, and ΔE (1-) ≧
0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidates I (j) are not exchanged, and the relationships of ΔE (1-) <0 and ΔE (1 +) <0 hold. And if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate
I (j) -1 and exchange the value of the first objective function at the time of the exchange with the value of the original first objective function,
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in the order of large to small for odd j, and in the order of small to large for even j. If the value of the first objective function at the time of the end is less than or equal to the value of the original first objective function minus the threshold,
The above operation is performed again in the order of large to small for odd j, and in the order of small to large for even j, and whether the node candidates have not been exchanged at all or the value of the first objective function is If the value is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to make the determination.

【0023】この発明の請求項15記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、節点候補のインデックスに対して、こ
れが小さい順に番号づけを行なったものをI(j),0 ≦j
≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り立
つならば節点候補I(j)を節点候補I(j)-1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
元の第1目的関数の値を減じた値ΔE(1-) を算出し、I
(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換するとと
もに、この交換した時の第1目的関数の値と前記元の第
1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1-)<0かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+)より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1の目的関数の値と前記元の第1の目
的関数の値の交換を行なう操作をj=1 から[m/2 ]ま
で、およびj=m-1 から[m/2 ]+1まで順に行ない、これ
ら一連の処理が終了した時の第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたもの以下ならば、
前記操作をj=1 から[m/2 ]まで、およびj=m-1 から
[m/2 ]+1まで順に再び行ない、節点候補の前記交換が
全く行なわれなかったか、前記第1目的関数の値が前記
元の第1目的関数の値から閾値を減じたものより大きい
ならば、処理を終了することにより、決定を行なうよう
にしたものである。
According to a fifteenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed by using the node Candidate indices are numbered in ascending order as I (j), 0 ≦ j
≤m, if the relationship I (j-1) <I (j) -1 holds, the first objective function when node candidate I (j) is replaced with node candidate I (j) -1 Is calculated by subtracting the original value of the first objective function from the value of the first objective function, and ΔE (1-) is calculated.
If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. The value ΔE (1+) is calculated and I (j)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the node candidate at the time of the exchange is exchanged. The value of one objective function and the value of the original first objective function are exchanged. If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without exchanging I (j), the ΔE (1-) <0 and the ΔE (1+)
<0, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced by the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), the node candidate I (j) is The operation of exchanging for the candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is from j = 1 to [m / 2]. , And from j = m-1 to [m / 2] +1, and the value of the first objective function at the time when these series of processing is completed is obtained by subtracting the threshold value from the value of the original first objective function. If less than
The above operation is performed again in order from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and it is determined whether the exchange of the node candidates has not been performed at all or the first objective function. Is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to make the determination.

【0024】この発明の請求項16記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、節点候補のインデックスに対して、こ
れが小さい順に番号づけを行なったものをI(j),0 ≦j
≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り立
つならば節点候補I(j)を節点候補I(j)-1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
元の第1目的関数の値を減じた値ΔE(1-) を算出し、I
(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換するとと
もに、この交換した時の第1目的関数の値と前記元の第
1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1-)<0かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+)より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行なう操作をj=[m/2 ]から1 まで、お
よびj=[m/2 ]+1からm-1 まで順に行ない、これら一連
の処理が終了した時の第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたもの以下ならば、前記操
作をj=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-
1 まで順に再び行ない、節点候補の前記交換が全く行な
われなかったか、前記第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたものより大きいならば、
処理を終了することにより、行なうようにしたものであ
る。
A one-dimensional time-series data compression method according to claim 16 of the present invention is the one-dimensional time-series data compression method according to any one of claims 3 to 6, wherein the calculation of the sub-optimal node candidate is performed at the node I (j), 0 ≤j
≤m, if the relationship I (j-1) <I (j) -1 holds, the first objective function when node candidate I (j) is replaced with node candidate I (j) -1 Is calculated by subtracting the original value of the first objective function from the value of the first objective function, and ΔE (1-) is calculated.
If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. The value ΔE (1+) is calculated and I (j)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the node candidate at the time of the exchange is exchanged. The value of one objective function and the value of the original first objective function are exchanged. If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without exchanging I (j), the ΔE (1-) <0 and the ΔE (1+)
<0, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced by the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), the node candidate I (j) is The operation of exchanging the candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is from j = [m / 2] to 1, And j = [m / 2] +1 to m−1 in order, and the value of the first objective function at the time when these series of processing ends is the first original function.
If the value is equal to or less than the value of the objective function minus the threshold, the operation is performed from j = [m / 2] to 1 and j = [m / 2] +1 to m−
1 until the node candidates have not been exchanged at all, or if the value of the first objective function is
If it is greater than the value of the objective function minus the threshold,
The processing is performed by terminating the processing.

【0025】この発明の請求項17記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、節点候補のインデックスに対して、こ
れが小さい順に番号づけを行なったものをI(j),0 ≦j
≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り立
つならば節点候補I(j)を節点候補I(j)-1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
元の第1目的関数の値を減じた値ΔE(1-) を算出し、I
(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換するとと
もに、この交換した時の第1目的関数の値と前記元の第
1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1-)<0かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+)より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1の目的関数の値と前記元の第1の目
的関数の値の交換を行なう操作をj=1 からm-1 まで順に
行ない、これら一連の処理が終了した時の第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
以下ならば、前記操作をj=1 からm-1 まで順に再び行な
い、節点候補の前記交換が全く行なわれなかったか、前
記第1目的関数の値が前記元の第1目的関数の値から閾
値を減じたものより大きいならば、処理を終了すること
により、行なうようにしたものである。
According to a seventeenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed by using I (j), 0 ≤j
≤m, if the relationship I (j-1) <I (j) -1 holds, the first objective function when node candidate I (j) is replaced with node candidate I (j) -1 Is calculated by subtracting the original value of the first objective function from the value of the first objective function, and ΔE (1-) is calculated.
If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. The value ΔE (1+) is calculated and I (j)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the node candidate at the time of the exchange is exchanged. The value of one objective function and the value of the original first objective function are exchanged. If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without exchanging I (j), the ΔE (1-) <0 and the ΔE (1+)
<0, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced by the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), the node candidate I (j) is The operation of exchanging the candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is sequentially performed from j = 1 to m-1. If the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operations are repeated again from j = 1 to m-1. If the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated. It is like that.

【0026】この発明の請求項18記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、前記準最適節
点候補の算出は、節点候補のインデックスに対して、こ
れが小さい順に番号づけを行なったものをI(j),0 ≦j
≦m と表記したとき、I(j-1) < I(j)-1 の関係が成り立
つならば節点候補I(j)を節点候補I(j)-1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
元の第1目的関数の値を減じた値ΔE(1-) を算出し、I
(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から前記元
の第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)
+1≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に
設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換するとと
もに、この交換した時の第1目的関数の値と前記元の第
1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1−)<0かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1の目的関数の値と
前記元の第1の目的関数の値の交換を行なう操作をj=m-
1 から1 まで順に行ない、これら一連の処理が終了した
時の第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたもの以下ならば、前記操作をj=m-1 から1
まで順に再び行ない、節点候補の前記交換が全く行なわ
れなかったか、前記第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたものより大きいならば、処
理を終了することにより、行なうようにしたものであ
る。
The one-dimensional time-series data compression method according to claim 18 of the present invention is the one-dimensional time-series data compression method according to any one of claims 3 to 6, wherein the calculation of the sub-optimal node candidate is performed at the node I (j), 0 ≤j
≤m, if the relationship I (j-1) <I (j) -1 holds, the first objective function when node candidate I (j) is replaced with node candidate I (j) -1 Is calculated by subtracting the original value of the first objective function from the value of the first objective function, and ΔE (1-) is calculated.
If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. The value ΔE (1+) is calculated and I (j)
If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relationship of E (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the node candidate at the time of the exchange is exchanged. The value of one objective function and the value of the original first objective function are exchanged. If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without the exchange of I (j), the relationships of ΔE (1-) <0 and ΔE (1 +) <0 hold, and ΔE (1
If-) is equal to or smaller than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the value of the first objective function is exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and if the ΔE (1-) is greater than the ΔE (1+) For example, the node candidate I (j) is replaced with the node candidate I (j) +1, and the exchange of the value of the first objective function and the value of the original first objective function at the time of the exchange is performed. J = m-
Steps from 1 to 1 are performed in order. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j = m-1 From 1
Until the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated. This is done by

【0027】この発明の請求項19記載の1次元時系列
データ圧縮方法は、請求項3ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、最終的に決定
された節点候補数が、候補にならなかったデータの個数
以下の場合は、節点候補を示す識別子と前記最終的に決
定された節点候補のインデックス番号と前記節点候補の
値とで構成された圧縮データを出力し、前記最終的に決
定された節点候補数が、前記候補にならなかったデータ
の個数より大きい場合は、節点候補でない識別子と前記
節点候補にならなかったデータのインデックス番号と前
記節点候補の値とで構成された圧縮データを出力するよ
うにしたものである。
According to a nineteenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the number of node candidates finally determined is reduced. If not more than the number of data that was not a candidate, output compressed data consisting of an identifier indicating the node candidate, the index number of the finally determined node candidate and the value of the node candidate, If the finally determined number of node candidates is larger than the number of data that did not become the candidate, it is composed of an identifier that is not a node candidate, the index number of the data that did not become the node candidate, and the value of the node candidate. The compressed data thus output is output.

【0028】この発明の請求項20記載の1次元時系列
データ圧縮方法は、請求項1ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、時間に関して
不等間隔な1次元時系列データに対しては、当該1次元
時系列データ圧縮方法を時間とデータについて各々独立
に適用し、各々を独立に圧縮するようにしたものであ
る。
A one-dimensional time-series data compression method according to claim 20 of the present invention is the one-dimensional time-series data compression method according to any one of claims 1 to 6, wherein For data, the one-dimensional time-series data compression method is independently applied to time and data, and each is compressed independently.

【0029】この発明の請求項21記載の1次元時系列
データ圧縮方法は、請求項1ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、多次元時系列
データを構成する複数の1次元時系列データの各々に対
し、当該1次元時系列データ圧縮方法を繰り返し適用す
ることで、多次元時系列データの圧縮を行なうようにし
たものである。
According to a twenty-first aspect of the present invention, there is provided a one-dimensional time-series data compression method according to any one of the first to sixth aspects, wherein the one-dimensional time-series data compression method comprises the steps of: Multi-dimensional time-series data is compressed by repeatedly applying the one-dimensional time-series data compression method to each one-dimensional time-series data.

【0030】この発明の請求項22記載の1次元時系列
データ圧縮方法は、請求項1ないし6のいずれかに記載
の1次元時系列データ圧縮方法において、複数の誤差が
伝搬する1次元時系列データに対して、伝搬の源の1次
元時系列データから順に近似精度値を大きくし、当該1
次元時系列データ圧縮方法を繰り返し適用することで、
全ての前記1次元時系列データの圧縮を行なうようにし
たものである。
A one-dimensional time-series data compression method according to claim 22 of the present invention is the one-dimensional time-series data compression method according to any one of claims 1 to 6, wherein For the data, the approximation accuracy value is increased in order from the one-dimensional time-series data of the propagation source, and
By repeatedly applying the dimensional time series data compression method,
All of the one-dimensional time-series data is compressed.

【0031】この発明の請求項23記載の1次元時系列
データ伸長方法は、請求項1,3または4のいずれかに
記載の1次元時系列データ圧縮方法で圧縮された圧縮デ
ータを伸長する方法であって、圧縮された圧縮データと
これを伸長した時のデータ数を入力する第1の工程と、
圧縮の際に使用した補間関数と同じ補間関数を使用して
圧縮データを補間することで、前記データ数と同数分の
データを算出し、初期時間と時間間隔から時刻を前記デ
ータ数と同数分だけ算出する第2の工程と、前記第2の
工程で算出した前記データと前記時刻とを出力する第3
の工程とを含むようにしたものである。
According to a twenty-third aspect of the present invention, there is provided a one-dimensional time-series data decompression method for decompressing compressed data compressed by the one-dimensional time-series data compression method according to any one of the first to third aspects. A first step of inputting compressed compressed data and the number of data when decompressing the compressed data;
By interpolating the compressed data using the same interpolation function as that used in the compression, the same number of data as the number of data is calculated, and the time is calculated from the initial time and the time interval by the same number as the number of data. And a third step of outputting the data and the time calculated in the second step.
And the step of

【0032】この発明の請求項24記載の1次元時系列
データ伸長方法は、請求項2,5または6のいずれかに
記載の1次元時系列データ圧縮方法で圧縮された圧縮デ
ータを伸長する方法であって、圧縮された圧縮データと
これを伸長した時のデータ数を入力する第1の工程と、
前記圧縮データに該データが全て0であることを示す識
別子が付与されている場合は、前記データ数と同数分の
0と、初期時間と時間間隔から時刻を前記データ数と同
数分だけ算出し、前記圧縮データに該データが全て0で
あることを示す識別子が付与されていない場合は、圧縮
の際に使用した補間関数と同じ補間関数を使用して圧縮
データを補間することで、前記データ数と同数分のデー
タを算出し、初期時間と時間間隔から時刻を前記データ
数と同数分だけ算出する第2の工程と、前記第2の工程
で算出した前記データと前記時刻とを出力する第3の工
程とを含むようにしたものである。
According to a twenty-fourth aspect of the present invention, there is provided a one-dimensional time-series data decompression method for decompressing compressed data compressed by the one-dimensional time-series data compression method according to any one of the second, fifth and sixth aspects. A first step of inputting compressed compressed data and the number of data when decompressing the compressed data;
When an identifier indicating that all the data is 0 is given to the compressed data, the time is calculated from the initial time and the time interval by the same number of 0s as the number of data, and 0 as the number of data. In the case where the compressed data is not provided with an identifier indicating that the data is all 0, the compressed data is interpolated using the same interpolation function as the interpolation function used in the compression. A second step of calculating the same number of data as the number and calculating the time from the initial time and the time interval by the same number as the data number; and outputting the data and the time calculated in the second step. And a third step.

【0033】この発明の請求項25記載の1次元時系列
データ伸長方法は、請求項23または24記載の1次元
時系列データ伸長方法において、圧縮された多次元時系
列データを構成する複数の圧縮された1次元時系列デー
タの各々に対し、当該1次元時系列データ伸長方法を繰
り返し適用することで、圧縮された多次元時系列データ
の伸長を行なうようにしたものである。
According to a twenty-fifth aspect of the present invention, there is provided the one-dimensional time-series data decompression method according to the twenty-third or twenty-fourth aspect, wherein a plurality of compressed multi-dimensional time-series data constituting the compressed multi-dimensional time-series data are provided. The compressed one-dimensional time-series data is expanded by repeatedly applying the one-dimensional time-series data expansion method to each of the obtained one-dimensional time-series data.

【0034】この発明の請求項26記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
なう第1の工程と、前記1次元時系列データを近似する
補間関数の節点候補を算出する第2の工程と、前記節点
候補の位置を最適化する第3の工程と、前記位置が最適
化された節点候補に基づき前記補間関数により発生した
1次元時系列データと元の1次元時系列データとの誤差
を判定する第4の工程と、前記第4の工程により前記誤
差が前記近似精度に基づく値を越えると判断された場合
に節点数を変更し、前記第2の工程に戻る第6の工程
と、前記第5の工程により前記誤差が前記近似精度に基
づく値を越えないと判断された場合に当該節点候補のデ
ータとこれに対応する時刻のデータとを圧縮された情報
として出力する第6の工程とを含む1次元時系列データ
圧縮プログラムを記録するようにしたものである。
A one-dimensional time-series data compression program recording medium according to claim 26 of the present invention is a medium in which a one-dimensional time-series data compression program at a uniform time interval is recorded, wherein said one-dimensional time-series data and its one-dimensional time series data compression program are recorded. A first step of inputting approximation accuracy, a second step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data, and a third step of optimizing the position of the node candidate; A fourth step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate whose position has been optimized; and If the value is determined to exceed the value based on the approximation accuracy, the number of nodes is changed and the process returns to the second process. Not exceed It is those in which so as to record the one-dimensional time series data compression program comprising a sixth step of outputting the data and information that has been compressed and the data at a time corresponding thereto of the node candidates when the.

【0035】この発明の請求項27記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
なう第1の工程と、前記1次元時系列データに前記近似
精度以内のデータが含まれているか否かを判定する第2
の工程と、前記第2の工程により前記1次元時系列デー
タに前記近似精度以内のデータが含まれていないと判断
された場合に前記1次元時系列データを近似する補間関
数の節点候補を算出する第3の工程と、前記節点候補の
位置を最適化する第4の工程と、前記位置が最適化され
た節点候補に基づき前記補間関数により発生した1次元
時系列データと元の1次元時系列データとの誤差を判定
する第5の工程と、前記第5の工程により前記誤差が前
記近似精度に基づく値を越えると判断された場合に節点
数を変更し、前記第3の工程に戻る第6の工程と、前記
第2の工程により前記1次元時系列データに前記近似精
度以内のデータが含まれていると判断された場合に当該
1次元時系列データが近似精度以内のデータである旨の
情報を出力し、前記第5の工程により前記誤差が前記近
似精度に基づく値を越えないと判断された場合に当該節
点候補のデータとこれに対応する時刻のデータとを圧縮
された情報として出力する第7の工程とを含む1次元時
系列データ圧縮プログラムを記録するようにしたもので
ある。
A one-dimensional time-series data compression program recording medium according to a twenty-seventh aspect of the present invention is a medium on which a one-dimensional time-series data compression program at an equal time interval is recorded. A first step of inputting approximation accuracy, and a second step of determining whether the one-dimensional time-series data includes data within the approximation accuracy.
And calculating a candidate node for an interpolation function that approximates the one-dimensional time-series data when it is determined in the second step that the one-dimensional time-series data does not include data within the approximation accuracy. A third step of optimizing the position of the node candidate, a fourth step of optimizing the position of the node candidate, and the one-dimensional time series data generated by the interpolation function based on the node candidate having the optimized position. A fifth step of determining an error from the series data, and if the fifth step determines that the error exceeds a value based on the approximation accuracy, the number of nodes is changed, and the process returns to the third step. In the sixth step and the second step, when it is determined that the one-dimensional time-series data includes data within the approximation accuracy, the one-dimensional time-series data is data within the approximation accuracy. Output information to the effect that A seventh step of outputting, as compressed information, the node candidate data and the corresponding time data when it is determined in the fifth step that the error does not exceed the value based on the approximation accuracy; And a one-dimensional time-series data compression program including the following.

【0036】この発明の請求項28記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
ない、前記1次元時系列データに対しその時刻の順にイ
ンデックスを付加し、前記1次元時系列データを補間す
る補間関数の初期の節点数を算出する第1の工程と、前
記1次元時系列データの中から、始めと終りのデータを
必ず含み、かつランダムに前記節点数個だけの節点候補
を決定する第2の工程と、前記節点候補をインデックス
番号を独立変数とする補間関数により補間して、元の1
次元時系列データとの誤差を算出する第3の工程と、前
記誤差から、この誤差の最大値と誤差平均と誤差分散と
の重み付け加算で定義された第1目的関数の値を算出す
る第4の工程と、前記第1目的関数の値が最小となるよ
うに節点候補の変更を繰り返し行ない、準最適節点候補
を決定する第5の工程と、前記準最適節点候補を前記補
間関数により補間して元の1次元時系列データを近似す
る1次元時系列データを生成し、この1次元時系列デー
タと元の1次元時系列データとの誤差を算出する第6の
工程と、前記誤差から、この誤差の最大値と誤差平均と
誤差分散との重み付け加算で定義された第2目的関数の
値を算出する第7の工程と、前記第2目的関数の値が前
記近似精度に対応する閾値以上ならば、前記節点数に増
分を加えたものを新たな節点数とし、前記第2の工程か
ら第7の工程までの処理を繰り返す第8の工程と、前記
第2目的関数の値が前記閾値未満ならば、前記1次元時
系列データの初期時刻と時間間隔と、最終的に決定され
た節点候補のインデックス番号と前記節点候補の値とで
構成された圧縮データを出力する第9の工程とを含む1
次元時系列データ圧縮プログラムを記録するようにした
ものである。
A one-dimensional time-series data compression program recording medium according to a twenty-eighth aspect of the present invention is a medium in which a one-dimensional time-series data compression program at a uniform time interval is recorded. A first step of inputting approximation accuracy, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; A second step of always including the start and end data from the one-dimensional time-series data and randomly determining only a few node candidates, and interpolating the node candidates using index numbers as independent variables. Interpolated by the function, the original 1
A third step of calculating an error from the dimensional time-series data; and a fourth step of calculating a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance from the error. And a fifth step of repeatedly changing node candidates so as to minimize the value of the first objective function to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function. A sixth step of generating one-dimensional time-series data that approximates the original one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance, wherein the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy. Then, add the increment to the number of nodes An eighth step of repeating the processing from the second step to the seventh step using the number of nodes, and an initial time of the one-dimensional time-series data if the value of the second objective function is less than the threshold. And a ninth step of outputting compressed data composed of the index number of the node candidate finally determined and the value of the node candidate.
The program stores a dimensional time-series data compression program.

【0037】この発明の請求項29記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
ない、前記1次元時系列データに対しその時刻の順にイ
ンデックスを付加し、前記1次元時系列データを補間す
る補間関数の初期の節点数を算出する第1の工程と、前
記1次元時系列データの中から、始めと終りのデータを
必ず含み、かつ前記インデックスに関して近似的に等間
隔となるように前記節点数個だけの節点候補を決定する
第2の工程と、前記節点候補をインデックス番号を独立
変数とする補間関数により補間して、元の1次元時系列
データとの誤差を算出する第3の工程と、前記誤差か
ら、この誤差の最大値と誤差平均と誤差分散との重み付
け加算で定義された第1目的関数の値を算出する第4の
工程と、前記第1目的関数の値が最小となるように節点
候補の変更を繰り返し行ない、準最適節点候補を決定す
る第5の工程と、前記準最適節点候補を前記補間関数に
より補間して、元の1次元時系列データを近似する1次
元時系列データを生成し、この1次元時系列データと元
の1次元時系列データとの誤差を算出する第6の工程
と、前記誤差から、この誤差の最大値と誤差平均と誤差
分散との重み付け加算で定義された第2目的関数の値を
算出する第7の工程と、前記第2目的関数の値が前記近
似精度に対応する閾値以上ならば、前記節点数に増分を
加えたものを新たな節点数とし、前記第2の工程から第
7の工程の処理までを繰り返す第8の工程と、前記第2
目的関数の値が前記閾値未満ならば、前記1次元時系列
データの初期時刻と時間間隔と、最終的に決定された節
点候補のインデックス番号と前記節点候補の値とで構成
された圧縮データを出力する第9の工程とを含む1次元
時系列データ圧縮プログラムを記録するようにしたもの
である。
A one-dimensional time-series data compression program recording medium according to claim 29 of the present invention is a medium in which a one-dimensional time-series data compression program at an equal time interval is recorded, wherein said one-dimensional time-series data and its one-dimensional data are recorded. A first step of inputting approximation accuracy, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; A second step of determining node candidates of only a few nodes so as to always include start and end data from one-dimensional time-series data and to be approximately equally spaced with respect to the index; A third step of interpolating the candidate by an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data; A fourth step of calculating the value of the first objective function defined by weighted addition of the error average and the error variance, and repeatedly changing the node candidates so that the value of the first objective function is minimized; A fifth step of determining an optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function to generate one-dimensional time series data approximating the original one-dimensional time series data; A sixth step of calculating an error between the data and the original one-dimensional time-series data, and from the error, a value of a second objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance A step of calculating the second objective function, if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, a new number of nodes is obtained by adding an increment to the number of nodes, Eighth step of repeating the processing of the seventh step The second
If the value of the objective function is less than the threshold, the compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate A one-dimensional time-series data compression program including a ninth step of outputting is recorded.

【0038】この発明の請求項30記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
ない、前記1次元時系列データに時刻の順にインデック
スを付加し、前記1次元時系列データを補間する補間関
数の初期の節点数を算出する第1の工程と、 前記1次
元時系列データの絶対値が全て前記近似精度以下か否か
の判定を行ない、前記近似精度以下の場合は全て0であ
ることを示す識別子を出力して終了し、そうでない場合
は後述する第3の工程へと移行する第2の工程と、前記
1次元時系列データの中から、始めと終りのデータを必
ず含み、かつランダムに前記節点数個だけの節点候補を
決定する第3の工程と、前記節点候補をインデックス番
号を独立変数とする補間関数により補間して、元の1次
元時系列データとの誤差を算出する第4の工程と、前記
誤差から、この誤差の最大値と誤差平均と誤差分散との
重み付け加算で定義された第1目的関数の値を算出する
第5の工程と、前記第1目的関数の値が最小となるよう
に節点候補の変更を繰り返し行ない、準最適節点候補を
決定する第6の工程と、前記準最適節点候補を前記補間
関数により補間して、元の1次元時系列データを近似す
る1次元時系列データを生成し、1次元時系列データと
元の1次元時系列データとの誤差を算出する第7の工程
と、前記誤差から、この誤差の最大値と誤差平均と誤差
分散との重み付け加算で定義された第2目的関数の値を
算出する第8の工程と、前記第2目的関数の値が前記近
似精度に対応する閾値以上ならば、前記節点数に増分を
加えたものを新たな節点数とし、前記第3の工程から第
8の工程までの処理を繰り返す第9の工程と、前記第2
目的関数の値が前記閾値未満ならば、前記1次元時系列
データの初期時刻と時間間隔と、最終的に決定された節
点候補のインデックス番号と前記節点候補の値とで構成
された圧縮データを出力する第10の工程とを含む1次
元時系列データ圧縮プログラムを記録するようにしたも
のである。
A one-dimensional time-series data compression program recording medium according to claim 30 of the present invention is a medium on which a one-dimensional time-series data compression program at an equal time interval is recorded. A first step of inputting approximation accuracy, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not the absolute values of the time-series data are all less than or equal to the approximation accuracy. If the absolute values are less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. A second step of shifting to the step of (1), and a third step of always including, from the one-dimensional time-series data, start and end data, and randomly determining only a few node candidates. A fourth step of calculating an error from the original one-dimensional time-series data by interpolating the node candidate using an interpolation function having an index number as an independent variable; A fifth step of calculating a value of a first objective function defined by weighted addition of error and error variance; and repeatedly changing node candidates so that the value of the first objective function is minimized. A sixth step of determining a candidate, and interpolating the sub-optimal node candidate using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data; A seventh step of calculating an error from the one-dimensional time-series data, and calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance An eighth step, the second object Is equal to or greater than the threshold value corresponding to the approximation accuracy, a ninth step of repeating the processing from the third step to the eighth step by setting the value obtained by adding an increment to the number of nodes as a new number of nodes; , The second
If the value of the objective function is less than the threshold, the compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate A one-dimensional time-series data compression program including a tenth step of outputting is recorded.

【0039】この発明の請求項31記載の1次元時系列
データ圧縮プログラム記録媒体は、時間等間隔な1次元
時系列データの圧縮プログラムを記録した媒体であっ
て、前記1次元時系列データとその近似精度の入力を行
ない、前記1次元時系列データに時刻の順にインデック
スを付加し、前記1次元時系列データを補間する補間関
数の初期の節点数を算出する第1の工程と、前記1次元
時系列データの絶対値が全て前記近似精度以下か否かの
判定を行ない、近似精度以下の場合は全て0であること
を示す識別子を出力して終了し、そうでない場合は後述
する第3の工程へと移行する第2の工程と、前記1次元
時系列データの中から、始めと終りのデータを必ず含
み、かつ前記インデックスに関して近似的に等間隔とな
るように前記節点数個だけの節点候補を決定する第3の
工程と、前記節点候補をインデックス番号を独立変数と
する補間関数により補間して、元の1次元時系列データ
との誤差を算出する第4の工程と、前記誤差から、この
誤差の最大値と誤差平均と誤差分散との重み付け加算で
定義された第1目的関数の値を算出する第5の工程と、
前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
工程と、前記準最適節点候補を前記補間関数により補間
して、元の1次元時系列データを近似する1次元時系列
データを生成し、この1次元時系列データと元の1次元
時系列データとの誤差を算出する第7の工程と、前記誤
差から、この誤差の最大値と誤差平均と誤差分散との重
み付け加算で定義された第2目的関数の値を算出する第
8の工程と、前記第2目的関数の値が前記近似精度に対
応する閾値以上ならば、前記節点数に増分を加えたもの
を新たな節点数とし、前記第3の工程から第8の工程ま
での処理を繰り返す第9の工程と、前記第2目的関数の
値が前記閾値未満ならば、前記1次元時系列データの初
期時刻と時間間隔と、最終的に決定された節点候補のイ
ンデックス番号と前記節点候補の値とで構成された圧縮
データを出力する第10の工程とを含む1次元時系列デ
ータ圧縮プログラムを記録するようにしたものである。
A one-dimensional time-series data compression program recording medium according to a thirty-first aspect of the present invention is a medium on which a one-dimensional time-series data compression program is recorded at regular intervals of time, wherein the one-dimensional time-series data and its one-dimensional time series data compression program are recorded. A first step of inputting approximation accuracy, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not the absolute values of the time-series data are all less than or equal to the approximation accuracy. If the absolute values are less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. A second step of shifting to a step, and the steps of the one-dimensional time-series data including the start and end data, and including the nodes so as to be approximately equally spaced with respect to the index. A third step of deciding a candidate for the node, and a fourth step of calculating an error from the original one-dimensional time-series data by interpolating the candidate node with an interpolation function using an index number as an independent variable; A fifth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance;
A sixth step of repeatedly changing node candidates so that the value of the first objective function is minimized and determining a sub-optimal node candidate; and interpolating the sub-optimal node candidate by the interpolation function to obtain the original A seventh step of generating one-dimensional time-series data approximating the one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating the value of the second objective function defined by weighted addition of the maximum value, the error average, and the error variance, and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy, A ninth step of repeating the processing from the third step to the eighth step by adding an increment to the number of nodes to a new number of nodes, and if the value of the second objective function is less than the threshold, , Initial time and time interval of the one-dimensional time-series data A one-dimensional time-series data compression program including a tenth step of outputting compressed data composed of the finally determined index of the node candidate and the value of the node candidate. is there.

【0040】この発明の請求項32記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、I(j-1) < I(j)-1 の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の前記第1目的関
数の値を算出し、前記第1目的関数の値から元の第1目
的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)
-1ならば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の
関係が成り立つならば前記節点候補I(j)を節点候補I(j)
+1に交換した時の前記第1目的関数の値を算出し、前記
第1目的関数の値から前記元の第1目的関数の値を減じ
た値ΔE(1+) を算出し、I(j)+1≧I(j+1)ならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE
(1+)<0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以
下ならば、前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作を奇数のj については小さいものから大きいものの
順、および偶数のj については大きいものから小さいも
のの順に行ない、これら一連の処理が終了した時の第1
目的関数の値が前記元の第1目的関数の値から前記閾値
を減じたもの以下ならば、前記操作を奇数のj について
は小さいものから大きいものの順、および偶数のj につ
いては大きいものから小さいものの順に再び行ない、前
記節点候補の交換が全く行なわれなかったか、前記第1
目的関数の値が前記元の第1目的関数の値から閾値を減
じたものより大きいならば、処理を終了することによ
り、行なうプログラムを記録するようにしたものであ
る。
The one-dimensional time-series data compression program recording medium according to the thirty-second aspect of the present invention provides the one-dimensional time-series data compression program recording medium.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j )
If -1, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is set to the node candidate I (j).
The value of the first objective function at the time of replacement with +1 is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated. j) + 1 ≧ I (j + 1) if ΔE
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 and the ΔE
If the relationship of (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 If the relationship holds, the node candidate I (j)
Are not exchanged, the ΔE (1-) <0 and the ΔE (1 +) <0
Holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j). The operation of exchanging +1 for odd j is performed in ascending order from small to large and for even j is performed in ascending order from large to small.
If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed in the order of small to large for odd j, and large to small for even j. Are performed again in the order of the node candidates.
If the value of the objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the program to be executed is recorded by terminating the processing.

【0041】この発明の請求項33記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、I(j-1) < I(j)-1 の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の前記第1目的関
数の値を算出し、前記第1目的関数の値から元の第1目
的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧ I
(j)-1 の関係が成り立つならば前記ΔE(1-) を0に設定
し、I(j)+1 < I(j+1) の関係が成り立つならば前記節点
候補I(j)を節点候補I(j)+1に交換した時の前記第1目的
関数の値を算出し、前記第1目的関数の値から前記元の
第1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1
≧I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設
定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)-1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)+1
に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関
係が成り立つならば前記節点候補I(j)の交換を行なわ
ず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換し、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ、
前記ΔE(1-) の方が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
奇数のj については大きいものから小さいものの順、お
よび偶数のj については小さいものから大きいものの順
に行ない、これら一連の処理が終了した時の第1目的関
数の値が前記元の第1目的関数の値から閾値を減じたも
の以下ならば、前記操作を奇数のj については大きいも
のから小さいものの順、および偶数のj については小さ
いものから大きいものの順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、行なうプ
ログラムを記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to the thirty-third aspect of the present invention is the twenty-eighth to the third aspect.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I
If the relationship (j) -1 holds, the ΔE (1-) is set to 0.If the relationship I (j) +1 <I (j + 1) holds, the node candidate I (j) is set. The value of the first objective function when the node is replaced with the candidate node I (j) +1 is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function And I (j) +1
If the relationship ≧ I (j + 1) holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node The candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is The node candidate I (j) +1
If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 and the If the relationship of ΔE (1 +) <0 holds and the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1. And the Δ
E (1-) <0 and the relationship of ΔE (1 +) <0 holds, and
If the ΔE (1-) is larger than the ΔE (1+), the operation of exchanging the node candidate I (j) with the node candidate I (j) +1 starts with the operation for the odd j, which is larger. The order of small ones and even j are performed in the order of small to large, and the value of the first objective function when these series of processes are completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function. Then, the above operation is performed again in the order of large to small for the odd j and in the order of small to large for the even j, and whether the exchange of the node candidates has not been performed at all or whether the first objective function Is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the program to be executed is recorded by terminating the processing.

【0042】この発明の請求項34記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、 I(j-1) < I(j)-1の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から元の第1目的関
数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の
関係が成り立つならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換し、前記
ΔE(1-) ≧ 0かつ前記ΔE(1+)<0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)+1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)の交換を行なわず、前記ΔE(1
-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ、前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ、前記ΔE(1
-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換する操作をj=1 から[m
/2 ]まで、およびj=m-1 から[m/2 ]+1まで順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から前記閾値を減じたもの
以下ならば、前記操作をj=1 から[m/2 ]まで、および
j=m-1 から[m/2 ]+1まで順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
プログラムを記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to claim 34 of the present invention is characterized by claims 28 to 3
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) If the relationship of -1 holds, the above ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the function is calculated. If the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+ ) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, ΔE (1-) ≧ 0 and ΔE (1+ ) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1
-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) -1, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1
-) Is greater than ΔE (1+), the node candidate I
The operation of replacing (j) with the node candidate I (j) +1 is performed from j = 1 to [m
/ 2], and from j = m-1 to [m / 2] +1, and the value of the first objective function when these series of processes are completed is calculated from the value of the original first objective function. If less than or equal to the reduced threshold, repeat the operation from j = 1 to [m / 2], and
j = m-1 to [m / 2] +1, and the node candidates are not exchanged at all, or the value of the first objective function is set to a threshold from the value of the original first objective function. If it is larger than the subtracted one, the program to be executed is recorded by terminating the processing.

【0043】この発明の請求項35記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、I(j-1) < I(j)-1 の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から元の第1目的関
数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の
関係が成り立つならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換し、前記
ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)+1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)の交換を行なわず、前記ΔE(1
-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記
ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 かつ前
記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前
記ΔE(1+)より大きいならば、前記節点候補I(j)を前記
節点候補I(j)+1に交換する操作をj=[m/2 ]から1 ま
で、およびj=[m/2 ]+1からm-1 まで順に行ない、これ
ら一連の処理が終了した時の第1目的関数の値が前記元
の第1目的関数の値から前記閾値を減じたもの以下なら
ば、前記操作をj=[m/2 ]から1 まで、およびj=[m/
2]+1からm-1 まで順に再び行ない、節点候補の前記交
換が全く行なわれなかったか、前記第1目的関数の値が
前記元の第1目的関数の値から閾値を減じたものより大
きいならば、処理を終了することにより、行なうプログ
ラムを記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to claim 35 of the present invention is characterized by claims 28 to 3
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) If the relationship of -1 holds, the above ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the function is calculated. If the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+ ) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the ΔE (1-) ≧ 0 and the ΔE (1+ ) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1
-) <0 and the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j)
Is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied, and the ΔE (1-) is the ΔE (1+) If it is greater, the operation of exchanging the node candidate I (j) for the node candidate I (j) +1 is from j = [m / 2] to 1 and j = [m / 2] +1 to m -1. If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = [m / 2] to 1 and j = [m /
2] The steps are repeated again from +1 to m−1, and no exchange of the node candidates is performed at all, or the value of the first objective function is larger than the value obtained by subtracting a threshold value from the value of the original first objective function. Then, the program to be executed is recorded by terminating the processing.

【0044】この発明の請求項36記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、I(j-1) < I(j)-1 の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から元の第1目的関
数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の
関係が成り立つならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換し、前記
ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)+1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)の交換を行なわず、前記ΔE(1
-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記
ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 かつ前
記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前
記ΔE(1+)より大きいならば、前記節点候補I(j)を前記
節点候補I(j)+1に交換する操作をj=1 からm-1 まで順に
行ない、これら一連の処理が終了した時の第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
以下ならば、前記操作をj=1からm-1 まで順に再び行な
い、節点候補の前記交換が全く行なわれなかったか、前
記第1目的関数の値が前記元の第1目的関数の値から閾
値を減じたものより大きいならば、処理を終了すること
により、行なうプログラムを記録するようにしたもので
ある。
The one-dimensional time-series data compression program recording medium according to the thirty-sixth aspect of the present invention is the twenty-eighth to thirty-eighth aspect.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) If the relationship of -1 holds, the above ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the function is calculated. If the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+ ) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the ΔE (1-) ≧ 0 and the ΔE (1+ ) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1
-) <0 and the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j)
Is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and the ΔE (1-) is the ΔE (1+) If it is larger, the operation of exchanging the node candidate I (j) for the node candidate I (j) +1 is performed in order from j = 1 to m-1. If the value of the function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed again in order from j = 1 to m−1, and whether the exchange of the node candidates has not been performed at all, If the value of the first objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the program to be executed is recorded by terminating the processing.

【0045】この発明の請求項37記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、I(j-1) < I(j)-1 の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から元の第1目的関
数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の
関係が成り立つならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換し、前記
ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)+1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)の交換を行なわず、前記ΔE(1
-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記
ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 かつ前
記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前
記ΔE(1+)より大きいならば、前記節点候補I(j)を前記
節点候補I(j)+1に交換する操作をj=m-1 から1 まで順に
行ない、これら一連の処理が終了した時の第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
以下ならば、前記操作をj=m-1 から1 まで順に再び行な
い、節点候補の前記交換が全く行なわれなかったか、前
記第1目的関数の値が前記元の第1目的関数の値から閾
値を減じたものより大きいならば、処理を終了すること
により、行なうプログラムを記録したものである。
The one-dimensional time-series data compression program recording medium according to the thirty-seventh aspect of the present invention is the thirty-eighth to thirty-eighth aspect.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) If the relationship of -1 holds, the above ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the function is calculated. If the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+ ) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the ΔE (1-) ≧ 0 and the ΔE (1+ ) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1
-) <0 and the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j)
Is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and the ΔE (1-) is the ΔE (1+) If it is larger, the operation of exchanging the node candidate I (j) for the node candidate I (j) +1 is performed in order from j = m-1 to 1, and the first object when a series of these processes is completed. If the value of the function is equal to or less than the value of the original first objective function minus the threshold, the above operation is repeated again from j = m-1 to 1, and whether or not the exchange of the node candidates has been performed at all, If the value of the first objective function is larger than a value obtained by subtracting a threshold value from the value of the original first objective function, a program to be executed by terminating the processing is recorded.

【0046】この発明の請求項38記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、前
記節点候補のインデックスに対して、これが小さい順に
番号づけを行なったものをI(j),0 ≦j ≦m と表記した
とき、 I(j-1) < I(j)-1の関係が成り立つならば節点候
補I(j)を節点候補I(j)-1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から元の第1目的関
数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の
関係が成り立つならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換するとと
もにこの交換を行った時の第1目的関数の値と前記元の
第1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 か
つ前記ΔE(1+)<0 の関係が成り立つならば前記節点候補
I(j)を前記節点候補I(j)+1に交換するとともにこの交換
を行った時の第1目的関数の値と前記元の第1目的関数
の値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1
+) ≧0 の関係が成り立つならば前記節点候補I(j)の交
換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関
係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下な
らば、前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともにこの交換
を行った時の第1の目的関数の値と前記元の第1の目的
関数の値の交換を行なう操作を奇数のj については小さ
いものから大きいものの順、および偶数のj については
大きいものから小さいものの順に行ない、これら一連の
処理が終了した時の第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたもの以下ならば、前記操作
を奇数のjについては小さいものから大きいものの順、
および偶数のj については大きいものから小さいものの
順に再び行ない、節点候補の前記交換が全く行なわれな
かったか、前記第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたものより大きいならば、処理を
終了することにより、行なうプログラムを記録するよう
にしたものである。
The one-dimensional time-series data compression program recording medium according to the thirty-eighth aspect of the present invention is the thirty-eighth to thirty-eighth aspect.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (11), the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order of I (j) , 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. The value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) If the relationship of -1 holds, the above ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the function is calculated. If the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+ ) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1 and the node candidate at the time of the exchange is exchanged. The value of one objective function and the value of the original first objective function are exchanged. If the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate
I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and the ΔE (1 -) ≧ 0 and ΔE (1
+) ≧ 0, the node candidates I (j) are not exchanged, the relations ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1 If −) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) −1, and the value of the first objective function and the element at the time of the exchange are exchanged. The value of the first objective function is exchanged, and ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) +1, and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is performed by an odd number. j is performed in ascending order from the smallest to the largest, and even j is performed in the order from the largest to the smallest. If less than or equal to the value obtained by subtracting the threshold value, the operation is performed in the order from small to large for odd j,
And even j are repeated again in ascending order from largest to smallest, and the node candidates are not exchanged at all, or the value of the first objective function is obtained by subtracting a threshold value from the value of the original first objective function. If it is larger, the program to be executed is recorded by terminating the processing.

【0047】この発明の請求項39記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、節
点候補のインデックスに対して、これが小さい順に番号
づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1の関係が成り立つならば節点候補
I(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+
1 <I(j+1) の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)-1に交換するとと
もに、この交換した時の第1目的関数の値と前記元の第
1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ
前記ΔE(1+)<0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)の交換を
行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下なら
ば、前記節点候補I(j)を前記節点候補I(j)-1に交換する
とともに、この交換した時の第1目的関数の値と前記元
の第1目的関数の値の交換を行ない、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) より大きいならば、前記節点候補I(j)を
前記節点候補I(j)+1に交換するとともに、この交換した
時の第1の目的関数の値と前記元の第1の目的関数の値
の交換を行なう操作を奇数のj については大きいものか
ら小さいものの順、および偶数のj については小さいも
のから大きいものの順に行ない、これら一連の処理が終
了した時の第1目的関数の値が前記元の第1目的関数の
値から閾値を減じたもの以下ならば、前記操作を奇数の
j については大きいものから小さいものの順、および偶
数のj については小さいものから大きいものの順に再び
行ない、節点候補の前記交換が全く行なわれなかった
か、前記第1目的関数の値が前記元の第1目的関数の値
から閾値を減じたものより大きいならば、処理を終了す
ることにより、決定を行なうプログラムを記録したもの
である。
The one-dimensional time-series data compression program recording medium according to the thirty-ninth aspect of the present invention provides the one-dimensional time-series data compression program recording medium.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (14), the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order of I (j), When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, a node candidate
The value of the first objective function when I (j) is replaced with the node candidate I (j) -1 is calculated, and the value ΔE ( 1−) is calculated, and if the relationship of I (j−1) ≧ I (j) −1 holds, ΔE (1-) is set to 0, and I (j) +
If the relationship 1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the first objective function is calculated. Is calculated by subtracting the value of the original first objective function from the value of ΔE (1+), and if the relationship of I (j) + 1 ≧ I (j + 1) holds, then ΔE (1+) Is set to 0, and ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first The value of the objective function is exchanged with the value of the original first objective function. If the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I
(j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) ≧ 0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidates I (j) are not exchanged, the relationship ΔE (1-) <0 and the relationship ΔE (1 +) <0 hold, and the ΔE (1-) Is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first The value of the objective function is exchanged, and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the relationship of ΔE (1-)
Is larger than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the replacement and the original The operation of exchanging the value of the first objective function is performed in the order of large to small for the odd j, and in the order of small to large for the even j. If the value of the objective function is less than or equal to the value of the original first objective function minus the threshold, the operation is performed using an odd number
j is repeated from the largest to the smallest, and the even j is repeated again from the smallest to the largest, and whether the node candidates are not exchanged at all or the value of the first objective function is equal to the original first value. If the value is larger than the value obtained by subtracting the threshold value from the value of the objective function, the program for deciding by ending the processing is recorded.

【0048】この発明の請求項40記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、節
点候補のインデックスに対して、これが小さい順に番号
づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1 の関係が成り立つならば節点候補
I(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1)の関係が成り立つならば前記節点候補I(j)を節
点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0かつ前記ΔE(1+) ≧0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換するとともに、この交換し
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)の交換を行な
わず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) より大きいならば、前記節点候補I(j)を前記節
点候補I(j)+1に交換するとともに、この交換した時の第
1の目的関数の値と前記元の第1の目的関数の値の交換
を行なう操作をj=1 から[m/2 ]まで、およびj=m-1 か
ら[m/2 ]+1まで順に行ない、これら一連の処理が終了
した時の第1目的関数の値が前記元の第1目的関数の値
から閾値を減じたもの以下ならば、前記操作をj=1 から
[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順に再
び行ない、節点候補の前記交換が全く行なわれなかった
か、前記第1目的関数の値が前記元の第1目的関数の値
から閾値を減じたものより大きいならば、処理を終了す
ることにより、決定を行なうプログラムを記録するよう
にしたものである。
The one-dimensional time-series data compression program recording medium according to claim 40 of the present invention is the recording medium according to claims 28 to 3.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (14), the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order of I (j), When notation 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, node candidates
The value of the first objective function when I (j) is replaced with the node candidate I (j) -1 is calculated, and the value ΔE ((E) is obtained by subtracting the original value of the first objective function from the value of the first objective function. 1−) is calculated, and if the relationship of I (j−1) ≧ I (j) −1 is established, the ΔE (1-) is set to 0, and I (j) +1
If the relationship of <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the first objective function is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+) is calculated. 0 and the ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first The value of the objective function and the first
The value of the objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidates I (j) are not exchanged, the relationships ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1-) If ΔE (1+) or less, the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first
If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. From j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and the value of the first objective function at the end of these series of processes is If the value is equal to or less than the value obtained by subtracting the threshold value from the value of one objective function, the above operation is repeated again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and the node candidate If the exchange has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the program for making the determination is completed by terminating the process. Record It is obtained by way.

【0049】この発明の請求項41記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、節
点候補のインデックスに対して、これが小さい順に番号
づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1 の関係が成り立つならば節点候補
I(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1)の関係が成り立つならば前記節点候補I(j)を節
点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0かつ前記ΔE(1+) ≧0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換するとともに、この交換し
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)の交換を行な
わず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) より大きいならば、前記節点候補I(j)を前記節
点候補I(j)+1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
なう操作をj=[m/2 ]から1 まで、およびj=[m/2 ]+1
からm-1 まで順に行ない、これら一連の処理が終了した
時の第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたもの以下ならば、前記操作をj=[m/2 ]か
ら1 まで、およびj=[m/2 ]+1からm-1 まで順に再び行
ない、節点候補の前記交換が全く行なわれなかったか、
前記第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたものより大きいならば、処理を終了するこ
とにより、行なうプログラムを記録するようにしたもの
である。
The one-dimensional time-series data compression program recording medium according to claim 41 of the present invention,
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (14), the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order of I (j), When notation 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, node candidates
The value of the first objective function when I (j) is replaced with the node candidate I (j) -1 is calculated, and the value ΔE ((E) is obtained by subtracting the original value of the first objective function from the value of the first objective function. 1−) is calculated, and if the relationship of I (j−1) ≧ I (j) −1 is established, the ΔE (1-) is set to 0, and I (j) +1
If the relationship of <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the first objective function is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+) is calculated. 0 and the ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first The value of the objective function and the first
The value of the objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidates I (j) are not exchanged, the relationships ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1-) If ΔE (1+) or less, the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first
If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), The operation of exchanging the node candidate I (j) for the node candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is called j. = [M / 2] to 1 and j = [m / 2] +1
To m-1 in order, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = [m / 2] to 1 and j = [m / 2] +1 to m−1 again in order, and whether the exchange of node candidates has not been performed at all,
If the value of the first objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the program to be executed is recorded by terminating the processing.

【0050】この発明の請求項42記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、節
点候補のインデックスに対して、これが小さい順に番号
づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1 の関係が成り立つならば節点候補
I(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1)の関係が成り立つならば前記節点候補I(j)を節
点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0かつ前記ΔE(1+) ≧0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換するとともに、この交換し
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)の交換を行な
わず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) より大きいならば、前記節点候補I(j)を前記節
点候補I(j)+1に交換するとともに、この交換した時の第
1の目的関数の値と前記元の第1の目的関数の値の交換
を行なう操作をj=1 からm-1 まで順に行ない、これら一
連の処理が終了した時の第1目的関数の値が前記元の第
1目的関数の値から閾値を減じたもの以下ならば、前記
操作をj=1 からm-1 まで順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、行なうプ
ログラムを記録するようにしたものである。
[0050] The one-dimensional time-series data compression program recording medium according to claim 42 of the present invention is characterized by claims 28 to 3.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (14), the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order of I (j), When notation 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, node candidates
The value of the first objective function when I (j) is replaced with the node candidate I (j) -1 is calculated, and the value ΔE ((E) is obtained by subtracting the original value of the first objective function from the value of the first objective function. 1−) is calculated, and if the relationship of I (j−1) ≧ I (j) −1 is established, the ΔE (1-) is set to 0, and I (j) +1
If the relationship of <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the first objective function is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+) is calculated. 0 and the ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first The value of the objective function and the first
The value of the objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidates I (j) are not exchanged, the relationships ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1-) If ΔE (1+) or less, the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first
If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. Are performed in order from j = 1 to m-1. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed. j = 1 to m-1 again in order, if no exchange of the node candidates has been performed or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value For example, a program to be executed is recorded by terminating the processing.

【0051】この発明の請求項43記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、前記準最適節点候補の算出は、節
点候補のインデックスに対して、これが小さい順に番号
づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1 の関係が成り立つならば節点候補
I(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1)の関係が成り立つならば前記節点候補I(j)を節
点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0かつ前記ΔE(1+) ≧0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換するとともに、この交換し
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)の交換を行な
わず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前
記節点候補I(j)を前記節点候補I(j)-1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) より大きいならば、前記節点候補I(j)を前記節
点候補I(j)+1に交換するとともに、この交換した時の第
1の目的関数の値と前記元の第1の目的関数の値の交換
を行なう操作をj=m-1 から1 まで順に行ない、これら一
連の処理が終了した時の第1目的関数の値が前記元の第
1目的関数の値から閾値を減じたもの以下ならば、前記
操作をj=m-1 から1 まで順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、行なうプ
ログラムを記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to claim 43 of the present invention is characterized in that:
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (14), the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order of I (j), When notation 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, node candidates
The value of the first objective function when I (j) is replaced with the node candidate I (j) -1 is calculated, and the value ΔE ((E) is obtained by subtracting the original value of the first objective function from the value of the first objective function. 1−) is calculated, and if the relationship of I (j−1) ≧ I (j) −1 is established, the ΔE (1-) is set to 0, and I (j) +1
If the relationship of <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the first objective function is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the value ΔE (1+) is calculated. 0 and the ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first The value of the objective function and the first
The value of the objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidates I (j) are not exchanged, the relationships ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE (1-) If ΔE (1+) or less, the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first
If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. Are performed in order from j = m-1 to 1. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed. j = m-1 to 1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value For example, a program to be executed is recorded by terminating the processing.

【0052】この発明の請求項44記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項28ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、最終的に決定された節点候補数
が、候補にならなかったデータの個数以下の場合は、節
点候補を示す識別子と前記最終的に決定された節点候補
のインデックス番号と前記節点候補の値とで構成された
圧縮データを出力し、前記最終的に決定された節点候補
数が、前記候補にならなかったデータの個数より大きい
場合は、節点候補でない識別子と前記節点候補にならな
かったデータのインデックス番号と前記節点候補の値と
で構成された圧縮データを出力するプログラムを記録す
るようにしたものである。
The one-dimensional time-series data compression program recording medium according to the forty-fourth aspect of the present invention is the twenty-eighth to thirty-eighth aspect.
1. In the one-dimensional time-series data compression program recording medium according to any one of (1) to (1), when the finally determined number of node candidates is equal to or less than the number of data that was not a candidate, an identifier indicating the node candidate and the final Outputting the compressed data composed of the index number of the node candidate that has been determined and the value of the node candidate, and the finally determined number of node candidates is larger than the number of data that did not become the candidate. In this case, a program for outputting compressed data composed of an identifier that is not a node candidate, an index number of data that has not become a node candidate, and a value of the node candidate is recorded.

【0053】この発明の請求項45記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項26ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、当該記録媒体は、時間に関して不
等間隔な1次元時系列データに対しては、当該1次元時
系列データ圧縮方法を時間とデータについて各々独立に
適用し、各々を独立に圧縮するプログラムを記録するよ
うにしたものである。
The one-dimensional time-series data compression program recording medium according to the forty-fifth aspect of the present invention is the twenty-sixth to the thirty-sixth aspect.
1. The one-dimensional time-series data compression program recording medium according to any one of claims 1 to 3, wherein the recording medium uses the one-dimensional time-series data compression method for time-dependent one-dimensional time-series data A program for independently applying data and compressing each data independently is recorded.

【0054】この発明の請求項46記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項26ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、当該記録媒体は、多次元時系列デ
ータを構成する複数の1次元時系列データの各々に対
し、当該1次元時系列データ圧縮方法を繰り返し適用す
ることで、多次元時系列データの圧縮を行なうプログラ
ムを記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to the forty-sixth aspect of the present invention is the twenty-sixth to third aspects.
2. The one-dimensional time-series data compression program recording medium according to claim 1, wherein the recording medium compresses the one-dimensional time-series data for each of a plurality of one-dimensional time-series data constituting multi-dimensional time-series data. By repeatedly applying the method, a program for compressing multi-dimensional time-series data is recorded.

【0055】この発明の請求項47記載の1次元時系列
データ圧縮プログラム記録媒体は、請求項26ないし3
1のいずれかに記載の1次元時系列データ圧縮プログラ
ム記録媒体において、当該記録媒体は、複数の誤差が伝
搬する1次元時系列データに対して、伝搬の源の1次元
時系列データから順に近似精度値を大きくし、当該1次
元時系列データ圧縮方法を繰り返し適用することで、全
ての前記1次元時系列データの圧縮を行なうプログラム
を記録するようにしたものである。
The one-dimensional time-series data compression program recording medium according to the forty-seventh aspect of the present invention is the thirty-sixth to third aspects.
1. The one-dimensional time-series data compression program recording medium according to any one of the items 1, wherein the recording medium approximates the one-dimensional time-series data in which a plurality of errors propagate, in order from the one-dimensional time-series data of the propagation source. By increasing the accuracy value and repeatedly applying the one-dimensional time-series data compression method, a program for compressing all the one-dimensional time-series data is recorded.

【0056】この発明の請求項48記載の1次元時系列
データ伸長プログラム記録媒体は、請求項26,28ま
たは29のいずれかに記載の1次元時系列データ圧縮プ
ログラム記録媒体に記録されたプログラムによって圧縮
された圧縮データを伸長するプログラムを記録した媒体
であって、圧縮された圧縮データとこれを伸長した時の
データ数を入力する第1の工程と、圧縮の際に使用した
補間関数と同じ補間関数を使用して圧縮データを補間す
ることで、前記データ数と同数分のデータを算出し、初
期時間と時間間隔から時刻を前記データ数と同数分だけ
算出する第2の工程と、前記第2の工程で算出した前記
データと前記時刻とを出力する第3の工程とを含む1次
元時系列データ伸長プログラムを記録するようにしたも
のである。
A one-dimensional time-series data decompression program recording medium according to claim 48 of the present invention uses a program recorded on the one-dimensional time-series data compression program recording medium according to any one of claims 26, 28, and 29. A medium on which a program for expanding compressed compressed data is recorded, wherein the first step of inputting compressed compressed data and the number of data when the compressed data is expanded is the same as the interpolation function used in the compression. A second step of calculating the same number of data as the number of data by interpolating the compressed data using an interpolation function, and calculating a time from the initial time and the time interval by the same number as the number of data; A one-dimensional time-series data decompression program including a third step of outputting the data calculated in the second step and the time is recorded.

【0057】この発明の請求項49記載の1次元時系列
データ伸長プログラム記録媒体は、請求項27,30ま
たは31のいずれかに記載の1次元時系列データ圧縮プ
ログラム記録媒体に記録されたプログラムで圧縮された
圧縮データを伸長するプログラムを記録した媒体であっ
て、圧縮された圧縮データとこれを伸長した時のデータ
数を入力する第1の工程と、前記圧縮データに該データ
が全て0であることを示す識別子が付与されている場合
は、前記データ数と同数分の0と、初期時間と時間間隔
から時刻を前記データ数と同数分だけ算出し、前記圧縮
データに該データが全て0であることを示す識別子が付
与されていない場合は、圧縮の際に使用した補間関数と
同じ補間関数を使用して圧縮データを補間することで、
前記データ数と同数分のデータを算出し、初期時間と時
間間隔から時刻を前記データ数と同数分だけ算出する第
2の工程と、前記第2の工程で算出した前記データと前
記時刻とを出力する第3の工程とを含む1次元時系列デ
ータ伸長プログラムを記録するようにしたものである。
A one-dimensional time-series data expansion program recording medium according to claim 49 of the present invention is a program recorded on the one-dimensional time-series data compression program recording medium according to any one of claims 27, 30 and 31. A medium on which a program for expanding compressed compressed data is recorded, wherein a first step of inputting the compressed compressed data and the number of data when the compressed data is expanded is provided. If an identifier indicating that the data is present is given, the time is calculated by the same number as the number of data, and the time is calculated from the initial time and the time interval by the same number as the number of data. If an identifier indicating that is not given, by interpolating the compressed data using the same interpolation function as used in the compression,
A second step of calculating data of the same number as the number of data, and calculating a time from the initial time and the time interval by the same number as the number of data, and the data and the time calculated in the second step; A one-dimensional time series data decompression program including a third step of outputting is recorded.

【0058】この発明の請求項50記載の1次元時系列
データ伸長プログラム記録媒体は、請求項48または4
9記載の1次元時系列データ伸長プログラム記録媒体に
おいて、当該媒体に記録されたプログラムは、圧縮され
た多次元時系列データを構成する複数の圧縮された1次
元時系列データの各々に対し、当該1次元時系列データ
伸長方法を繰り返し適用することで、圧縮された多次元
時系列データの伸長を行なうプログラムを記録するよう
にしたものである。
The one-dimensional time-series data decompression program recording medium according to claim 50 of the present invention is the recording medium of claim 48 or 4.
9. In the one-dimensional time-series data decompression program recording medium according to 9, the program recorded on the medium is used for each of a plurality of compressed one-dimensional time-series data constituting the compressed multi-dimensional time-series data. By repeatedly applying the one-dimensional time-series data expansion method, a program for expanding the compressed multi-dimensional time-series data is recorded.

【0059】この発明の請求項51記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮装置であって、前記1次元時系列データとその近似
精度の入力を行なう第1の手段と、前記1次元時系列デ
ータを近似する補間関数の節点候補を算出する第2の手
段と、前記節点候補の位置を最適化する第3の手段と、
前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第4の手段と、前記第4の手
段により前記誤差が前記近似精度に基づく値を越えると
判断された場合に節点数を変更し、前記第2の手段に戻
る第5の手段と、前記第5の手段により前記誤差が前記
近似精度に基づく値を越えないと判断された場合に当該
節点候補のデータとこれに対応する時刻のデータとを圧
縮された情報として出力する第6の手段とを備えるよう
にしたものである。
A one-dimensional time-series data compression device according to claim 51 of the present invention is a device for compressing one-dimensional time-series data at equal time intervals, and inputs the one-dimensional time-series data and its approximation accuracy. First means, second means for calculating a candidate node of an interpolation function that approximates the one-dimensional time-series data, third means for optimizing the position of the candidate node,
Fourth means for determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidates whose positions have been optimized; and When it is determined that the value exceeds the value based on the approximation accuracy, the number of nodes is changed, and the fifth means returns to the second means. A sixth means for outputting the data of the node candidate and the data of the time corresponding to the node candidate as compressed information when it is determined that the node candidate is not exceeded is provided.

【0060】この発明の請求項52記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮装置であって、前記1次元時系列データとその近似
精度の入力を行なう第1の手段と、前記1次元時系列デ
ータに前記近似精度以内のデータが含まれているか否か
を判定する第2の手段と、前記第2の手段により前記1
次元時系列データに前記近似精度以内のデータが含まれ
ていないと判断された場合に前記1次元時系列データを
近似する補間関数の節点候補を算出する第3の手段と、
前記節点候補の位置を最適化する第4の手段と、前記位
置が最適化された節点候補に基づき前記補間関数により
発生した1次元時系列データと元の1次元時系列データ
との誤差を判定する第5の手段と、前記第5の手段によ
り前記誤差が前記近似精度に基づく値を越えると判断さ
れた場合に節点数を変更し、前記第3の手段に戻る第6
の手段と、前記第2の手段により前記1次元時系列デー
タに前記近似精度以内のデータが含まれていると判断さ
れた場合に当該1次元時系列データが近似精度以内のデ
ータである旨の情報を出力し、前記第5の手段により前
記誤差が前記近似精度に基づく値を越えないと判断され
た場合に当該節点候補のデータとこれに対応する時刻の
データとを圧縮された情報として出力する第7の手段と
を備えるようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 52 of the present invention is a one-dimensional time-series data compression apparatus for compressing one-dimensional time-series data at equal time intervals, and inputs the one-dimensional time-series data and its approximation accuracy. First means, second means for determining whether or not data within the approximation accuracy is included in the one-dimensional time-series data, and the first means
Third means for calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data when it is determined that the data within the approximation accuracy is not included in the one-dimensional time-series data;
Fourth means for optimizing the position of the node candidate, and determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate having the optimized position. A sixth means for changing the number of nodes when it is determined by the fifth means that the error exceeds a value based on the approximation accuracy, and returning to the third means.
Means, and when it is determined by the second means that the one-dimensional time-series data includes data within the approximation accuracy, the one-dimensional time-series data is data within the approximation accuracy. Outputting information, and when the fifth means determines that the error does not exceed the value based on the approximation accuracy, outputs the data of the node candidate and the data of the time corresponding thereto as compressed information. And a seventh means for performing the operation.

【0061】この発明の請求項53記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮手段であって、前記1次元時系列データとその近似
精度の入力を行ない、前記1次元時系列データに対しそ
の時刻の順にインデックスを付加し、前記1次元時系列
データを補間する補間関数の初期の節点数を算出する第
1の手段と、前記1次元時系列データの中から、始めと
終りのデータを必ず含み、かつランダムに前記節点数個
だけの節点候補を決定する第2の手段と、前記節点候補
をインデックス番号を独立変数とする補間関数により補
間して、元の1次元時系列データとの誤差を算出する第
3の手段と、前記誤差から、この誤差の最大値と誤差平
均と誤差分散との重み付け加算で定義された第1目的関
数の値を算出する第4の手段と、前記第1目的関数の値
が最小となるように節点候補の変更を繰り返し行ない、
準最適節点候補を決定する第5の手段と、前記準最適節
点候補を前記補間関数により補間して元の1次元時系列
データを近似する1次元時系列データを生成し、この1
次元時系列データと元の1次元時系列データとの誤差を
算出する第6の手段と、前記誤差から、この誤差の最大
値と誤差平均と誤差分散との重み付け加算で定義された
第2目的関数の値を算出する第7の手段と、前記第2目
的関数の値が前記近似精度に対応する閾値以上ならば、
前記節点数に増分を加えたものを新たな節点数とし、前
記第2の手段から第7の手段までの処理を繰り返す第8
の手段と、前記第2目的関数の値が前記閾値未満なら
ば、前記1次元時系列データの初期時刻と時間間隔と、
最終的に決定された節点候補のインデックス番号と前記
節点候補の値とで構成された圧縮データを出力する第9
の手段とを備えるようにしたものである。
The one-dimensional time-series data compression apparatus according to claim 53 of the present invention is a means for compressing one-dimensional time-series data at equal time intervals, and inputs the one-dimensional time-series data and its approximation accuracy. First means for adding an index to the one-dimensional time-series data in the order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; From inside, always include the beginning and end data, and second means for randomly determining only a few node candidates of the nodes, and interpolating the node candidates by an interpolation function using an index number as an independent variable, Third means for calculating an error from the original one-dimensional time-series data, and calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance Do Means 4 performs the value of the first objective function repeats the change of the node candidates so as to minimize,
Fifth means for determining a sub-optimal node candidate, and generating one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating the sub-optimal node candidate using the interpolation function.
Sixth means for calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data, and a second object defined by weighted addition of the maximum value of the error, the error average and the error variance from the error Seventh means for calculating a value of the function, and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy,
A value obtained by adding an increment to the number of nodes is set as a new number of nodes, and the process from the second means to the seventh means is repeated.
Means, and if the value of the second objective function is less than the threshold, an initial time and a time interval of the one-dimensional time-series data;
A ninth output unit outputs compressed data including the finally determined index number of the node candidate and the value of the node candidate.
Means are provided.

【0062】この発明の請求項54記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮装置であって、前記1次元時系列データとその近似
精度の入力を行ない、前記1次元時系列データに対しそ
の時刻の順にインデックスを付加し、前記1次元時系列
データを補間する補間関数の初期の節点数を算出する第
1の手段と、前記1次元時系列データの中から、始めと
終りのデータを必ず含み、かつ前記インデックスに関し
て近似的に等間隔となるように前記節点数個だけの節点
候補を決定する第2の手段と、前記節点候補をインデッ
クス番号を独立変数とする補間関数により補間して、元
の1次元時系列データとの誤差を算出する第3の手段
と、前記誤差から、この誤差の最大値と誤差平均と誤差
分散との重み付け加算で定義された第1目的関数の値を
算出する第4の手段と、前記第1目的関数の値が最小と
なるように節点候補の変更を繰り返し行ない、準最適節
点候補を決定する第5の手段と、前記準最適節点候補を
前記補間関数により補間して、元の1次元時系列データ
を近似する1次元時系列データを生成し、この1次元時
系列データと元の1次元時系列データとの誤差を算出す
る第6の手段と、前記誤差から、この誤差の最大値と誤
差平均と誤差分散との重み付け加算で定義された第2目
的関数の値を算出する第7の手段と、前記第2目的関数
の値が前記近似精度に対応する閾値以上ならば、前記節
点数に増分を加えたものを新たな節点数とし、前記第2
の手段から第7の手段の処理までを繰り返す第8の手段
と、前記第2目的関数の値が前記閾値未満ならば、前記
1次元時系列データの初期時刻と時間間隔と、最終的に
決定された節点候補のインデックス番号と前記節点候補
の値とで構成された圧縮データを出力する第9の手段と
を備えるようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 54 of the present invention is a one-dimensional time-series data compression apparatus for compressing one-dimensional time-series data at equal time intervals, and inputs the one-dimensional time-series data and its approximation accuracy. First means for adding an index to the one-dimensional time-series data in the order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; Second means for always including the start and end data and determining only a few node candidates so as to be approximately equally spaced with respect to the index, and independent index numbers for the node candidates Third means for calculating an error from the original one-dimensional time-series data by interpolating using an interpolation function as a variable, and weighting the maximum value of the error, the error average, and the error variance from the error. A fourth means for calculating the value of the first objective function defined in the above, and a fifth means for repeatedly changing the node candidates so as to minimize the value of the first objective function and determining the sub-optimal node candidates Means for interpolating the sub-optimal node candidates using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data; A sixth means for calculating an error of the second objective function from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error and the error variance; If the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes, and
Eighth means for repeating the processing from the means to the seventh means, and if the value of the second objective function is less than the threshold value, the initial time and time interval of the one-dimensional time-series data are finally determined. Ninth means for outputting compressed data composed of the index numbers of the selected node candidates and the values of the node candidates.

【0063】この発明の請求項55記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮装置であって、前記1次元時系列データとその近似
精度の入力を行ない、前記1次元時系列データに時刻の
順にインデックスを付加し、前記1次元時系列データを
補間する補間関数の初期の節点数を算出する第1の手段
と、前記1次元時系列データの絶対値が全て前記近似精
度以下か否かの判定を行ない、前記近似精度以下の場合
は全て0であることを示す識別子を出力して終了し、そ
うでない場合は後述する第3の手段へと移行する第2の
手段と、前記1次元時系列データの中から、始めと終り
のデータを必ず含み、かつランダムに前記節点数個だけ
の節点候補を決定する第3の手段と、前記節点候補をイ
ンデックス番号を独立変数とする補間関数により補間し
て、元の1次元時系列データとの誤差を算出する第4の
手段と、前記誤差から、この誤差の最大値と誤差平均と
誤差分散との重み付け加算で定義された第1目的関数の
値を算出する第5の手段と、前記第1目的関数の値が最
小となるように節点候補の変更を繰り返し行ない、準最
適節点候補を決定する第6の手段と、前記準最適節点候
補を前記補間関数により補間して、元の1次元時系列デ
ータを近似する1次元時系列データを生成し、1次元時
系列データと元の1次元時系列データとの誤差を算出す
る第7の手段と、前記誤差から、この誤差の最大値と誤
差平均と誤差分散との重み付け加算で定義された第2目
的関数の値を算出する第8の手段と、前記第2目的関数
の値が前記近似精度に対応する閾値以上ならば、前記節
点数に増分を加えたものを新たな節点数とし、前記第3
の手段から第8の手段までの処理を繰り返す第9の手段
と、前記第2目的関数の値が前記閾値未満ならば、前記
1次元時系列データの初期時刻と時間間隔と、最終的に
決定された節点候補のインデックス番号と前記節点候補
の値とで構成された圧縮データを出力する第10の手段
とを備えるようにしたものである。
A one-dimensional time-series data compression device according to claim 55 of the present invention is a device for compressing one-dimensional time-series data at equal time intervals, and inputs said one-dimensional time-series data and its approximation accuracy. First means for adding an index to the one-dimensional time-series data in order of time, calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and an absolute value of the one-dimensional time-series data Is determined to be less than or equal to the approximation accuracy. If the accuracy is less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. If not, the process proceeds to a third means described later. Second means, third means for always including the start and end data from the one-dimensional time-series data, and randomly determining only a few node candidates, and indexing the node candidates Number Fourth means for calculating an error from the original one-dimensional time-series data by interpolating using an interpolation function as a vertical variable, and weighting addition of the maximum value of the error, the error average, and the error variance from the error. Fifth means for calculating the value of the defined first objective function, and sixth means for repeatedly changing the node candidates so as to minimize the value of the first objective function and determining the sub-optimal node candidates And interpolating the sub-optimal node candidates by the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data, and combining the one-dimensional time-series data with the original one-dimensional time-series data A seventh means for calculating an error, an eighth means for calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; (2) a threshold value of the objective function corresponding to the approximation accuracy If above, then the new number of nodes not containing added increment the number of nodes, the third
Ninth means for repeating the processing from the means to the eighth means, and if the value of the second objective function is less than the threshold value, the initial time and time interval of the one-dimensional time-series data are finally determined. And a tenth means for outputting compressed data composed of the index numbers of the selected node candidates and the values of the node candidates.

【0064】この発明の請求項56記載の1次元時系列
データ圧縮装置は、時間等間隔な1次元時系列データの
圧縮装置であって、前記1次元時系列データとその近似
精度の入力を行ない、前記1次元時系列データに時刻の
順にインデックスを付加し、前記1次元時系列データを
補間する補間関数の初期の節点数を算出する第1の手段
と、前記1次元時系列データの絶対値が全て前記近似精
度以下か否かの判定を行ない、近似精度以下の場合は全
て0であることを示す識別子を出力して終了し、そうで
ない場合は後述する第3の手段へと移行する第2の手段
と、前記1次元時系列データの中から、始めと終りのデ
ータを必ず含み、かつ前記インデックスに関して近似的
に等間隔となるように前記節点数個だけの節点候補を決
定する第3の手段と、前記節点候補をインデックス番号
を独立変数とする補間関数により補間して、元の1次元
時系列データとの誤差を算出する第4の手段と、前記誤
差から、この誤差の最大値と誤差平均と誤差分散との重
み付け加算で定義された第1目的関数の値を算出する第
5の手段と、前記第1目的関数の値が最小となるように
節点候補の変更を繰り返し行ない、準最適節点候補を決
定する第6の手段と、前記準最適節点候補を前記補間関
数により補間して、元の1次元時系列データを近似する
1次元時系列データを生成し、この1次元時系列データ
と元の1次元時系列データとの誤差を算出する第7の手
段と、前記誤差から、この誤差の最大値と誤差平均と誤
差分散との重み付け加算で定義された第2目的関数の値
を算出する第8の手段と、前記第2目的関数の値が前記
近似精度に対応する閾値以上ならば、前記節点数に増分
を加えたものを新たな節点数とし、前記第3の手段から
第8の手段までの処理を繰り返す第9の手段と、前記第
2目的関数の値が前記閾値未満ならば、前記1次元時系
列データの初期時刻と時間間隔と、最終的に決定された
節点候補のインデックス番号と前記節点候補の値とで構
成された圧縮データを出力する第10の手段とを備える
ようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 56 of the present invention is a one-dimensional time-series data compression apparatus for compressing one-dimensional time-series data at equal time intervals, and inputs the one-dimensional time-series data and its approximation accuracy. First means for adding an index to the one-dimensional time-series data in order of time, calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and an absolute value of the one-dimensional time-series data It is determined whether or not all are less than or equal to the approximation accuracy. If the is less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output, and if not, the process proceeds to a third means described later. A third means for determining node candidates of only a few nodes from the one-dimensional time-series data so as to always include start and end data and to be approximately equally spaced with respect to the index. Means of A fourth means for interpolating the node candidate by an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data; Means for calculating a value of a first objective function defined by weighting addition of error and error variance, and repeatedly changing a node candidate so as to minimize the value of the first objective function, Sixth means for determining a candidate, and interpolating the sub-optimal node candidate using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data. Seventh means for calculating an error from the original one-dimensional time-series data, and calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance Eighth means for performing If the value of the objective function is equal to or greater than the threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes, and the ninth and eighth processes of repeating the processes from the third means to the eighth means are repeated. Means, if the value of the second objective function is less than the threshold, the initial time and time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate And a tenth means for outputting the configured compressed data.

【0065】この発明の請求項57記載の1次元時系列
データ圧縮装置は、請求項52ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の前記第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1ならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の前記第
1目的関数の値を算出し、前記第1目的関数の値から前
記元の第1目的関数の値を減じた値ΔE(1+) を算出し、
I(j)+1≧I(j+1)ならば前記ΔE(1+) を0に設定し、前記
ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)-1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つな
らば前記節点候補I(j)を前記節点候補I(j)+1に交換し、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) より大きいならば、前記節点候補I(j)を
前記節点候補I(j)+1に交換する操作を奇数のj について
は小さいものから大きいものの順、および偶数のj につ
いては大きいものから小さいものの順に行ない、これら
一連の処理が終了した時の第1目的関数の値が前記元の
第1目的関数の値から前記閾値を減じたもの以下なら
ば、前記操作を奇数のj については小さいものから大き
いものの順、および偶数のj については大きいものから
小さいものの順に再び行ない、前記節点候補の交換が全
く行なわれなかったか、前記第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたものより大きいな
らば、処理を終了することにより、行なうようにしたも
のである。
According to a one-dimensional time-series data compression apparatus according to claim 57 of the present invention, in the one-dimensional time-series data compression apparatus according to any one of claims 52 to 56, the suboptimal node candidate calculation is performed by The index of the node candidate index is assigned
(j), if 0 ≤ j ≤ m, the node candidate I (j) is replaced with the node candidate I (j) -1 if the relationship I (j-1) <I (j) -1 holds. The value of the first objective function at the time of
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1) is calculated, and if I (j-1) ≧ I (j) -1, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is obtained. Holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Calculate the value ΔE (1+) by subtracting the function value,
If I (j) + 1 ≧ I (j + 1), the ΔE (1+) is set to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j ) Is replaced with the node candidate I (j) +1,
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and the ΔE (1-)
Is larger than the ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is performed in the order of odd to j from small to large, and even j Are performed in the order from the largest to the smallest, and if the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function, the operation is performed in an odd number. J is performed again in ascending order from the smallest to the largest j, and for even j, the order is changed from the largest to the smallest, and whether the node candidates have not been exchanged at all or the value of the first objective function is If the value is larger than the value obtained by subtracting the threshold value from the value of one objective function, the processing is terminated to end the processing.

【0066】この発明の請求項58記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の前記第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧ I(j)-1 の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 < I(j+1) の関
係が成り立つならば前記節点候補I(j)を節点候補I(j)+1
に交換した時の前記第1目的関数の値を算出し、前記第
1目的関数の値から前記元の第1目的関数の値を減じた
値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つ
ならば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点候
補I(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧
0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節
点候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ、前記ΔE(1-) が前
記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節点候
補I(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ、前記ΔE(1-) の方が前記ΔE
(1+) より大きいならば、前記節点候補I(j)を前記節点
候補I(j)+1に交換する操作を奇数のj については大きい
ものから小さいものの順、および偶数のj については小
さいものから大きいものの順に行ない、これら一連の処
理が終了した時の第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたもの以下ならば、前記操作を
奇数のj については大きいものから小さいものの順、お
よび偶数のj については小さいものから大きいものの順
に再び行ない、節点候補の前記交換が全く行なわれなか
ったか、前記第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたものより大きいならば、処理を終
了することにより、行なうようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 58 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the suboptimal node candidate calculation is The index of the node candidate index is assigned
(j), if 0 ≤ j ≤ m, the node candidate I (j) is replaced with the node candidate I (j) -1 if the relationship I (j-1) <I (j) -1 holds. The value of the first objective function at the time of
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the node candidate I (j) is replaced by the node candidate I (j) +1
The value of the first objective function at the time of replacement is calculated, a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, Node candidate
I (j) is replaced with the node candidate I (j) -1, and ΔE (1-) ≧ 0
And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧
0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidates I (j) are not exchanged, and the relationships of ΔE (1-) <0 and ΔE (1 +) <0 hold. And, if the ΔE (1-) is not more than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and ΔE (1-) is greater than ΔE
If it is larger than (1+), the operation of exchanging the node candidate I (j) with the node candidate I (j) +1 is performed in the order from the largest to the smallest for the odd j, and smaller for the even j. If the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed for odd j. The order from the largest to the smallest one and the j of the even number are repeated again from the smallest to the largest one, and the exchange of the node candidates was not performed at all, or the value of the first objective function was changed to the value of the original first objective function. If the value is larger than the value obtained by subtracting the threshold value from the value, the processing is terminated to end the processing.

【0067】この発明の請求項59記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換し、前記ΔE(1-) ≧ 0かつ前記ΔE
(1+)<0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1に
交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成
り立ち、かつ、前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
する操作をj=1 から[m/2 ]まで、およびj=m-1 から
[m/2 ]+1まで順に行ない、これら一連の処理が終了し
た時の第1目的関数の値が前記元の第1目的関数の値か
ら前記閾値を減じたもの以下ならば、前記操作をj=1 か
ら[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順に
再び行ない、節点候補の前記交換が全く行なわれなかっ
たか、前記第1目的関数の値が前記元の第1目的関数の
値から閾値を減じたものより大きいならば、処理を終了
することにより、行なうようにしたものである。
The one-dimensional time-series data compression apparatus according to claim 59 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the suboptimal node candidate calculation is performed by The index of the node candidate index is assigned
(j), when 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, replace the node candidate I (j) with the node candidate I (j) -1 The value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 and the ΔE
If the relationship of (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 If the relationship holds, the node candidate I (j)
Are not exchanged, the ΔE (1-) <0 and the ΔE (1 +) <0
Holds, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and If ΔE (1-) is larger than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is performed from j = 1 to [m / 2]. And j = m-1 to [m / 2] +1, and the value of the first objective function at the end of the series of processes is obtained by subtracting the threshold from the value of the original first objective function. If the following, the above operation is performed again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1 again, and whether or not the exchange of the node candidates has been performed at all, If the value of the first objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the processing is terminated to terminate the processing.

【0068】この発明の請求項60記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE
(1+)<0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以
下ならば、前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作をj=[m/2 ]から1 まで、およびj=[m/2 ]+1から
m-1 まで順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から前記
閾値を減じたもの以下ならば、前記操作をj=[m/2 ]か
ら1 まで、およびj=[m/2 ]+1からm-1 まで順に再び行
ない、節点候補の前記交換が全く行なわれなかったか、
前記第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたものより大きいならば、処理を終了するこ
とにより、行なうようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 60 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the suboptimal node candidate calculation is The index of the node candidate index is assigned
(j), if 0 ≤ j ≤ m, the node candidate I (j) is replaced with the node candidate I (j) -1 if the relationship I (j-1) <I (j) -1 holds. The value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 and the ΔE
If the relationship of (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 If the relationship holds, the node candidate I (j)
Are not exchanged, the ΔE (1-) <0 and the ΔE (1 +) <0
Holds, and if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j). The operation to exchange for +1 is from j = [m / 2] to 1 and from j = [m / 2] +1
m−1, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = [m / 2] to 1 and j = [m / 2] +1 to m-1 again, and whether the exchange of the node candidates has not been performed at all,
If the value of the first objective function is greater than the value of the original first objective function minus a threshold value, the processing is terminated to terminate the processing.

【0069】この発明の請求項61記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE
(1+)<0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以
下ならば、前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作をj=1 からm-1 まで順に行ない、これら一連の処理
が終了した時の第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたもの以下ならば、前記操作をj=
1 からm-1 まで順に再び行ない、節点候補の前記交換が
全く行なわれなかったか、前記第1目的関数の値が前記
元の第1目的関数の値から閾値を減じたものより大きい
ならば、処理を終了することにより、行なうようにした
ものである。
The one-dimensional time-series data compression device according to claim 61 of the present invention is the one-dimensional time-series data compression device according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by The index of the node candidate index, which is numbered in ascending order, is
(j), if 0 ≤ j ≤ m, the node candidate I (j) is replaced with the node candidate I (j) -1 if the relationship I (j-1) <I (j) -1 holds. The value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 and the ΔE
If the relationship of (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 If the relationship holds, the node candidate I (j)
Are not exchanged, the ΔE (1-) <0 and the ΔE (1 +) <0
Holds, and if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j). The operation of exchanging for +1 is performed in order from j = 1 to m−1, and the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function. Then, j =
1 to m-1 again in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold, The processing is performed by terminating the processing.

【0070】この発明の請求項62記載の1次元時系列
データ圧縮装置は、請求項53ないし56記載のいずれ
かに1次元時系列データ圧縮装置において、前記準最適
節点候補の算出は、前記節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-) を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1
+)<0 の関係が成り立つならば前記節点候補I(j)を前記
節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記Δ
E(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作をj=m-1 から1 まで順に行ない、これら一連の処理
が終了した時の第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたもの以下ならば、前記操作をj=
m-1 から1 まで順に再び行ない、節点候補の前記交換が
全く行なわれなかったか、前記第1目的関数の値が前記
元の第1目的関数の値から閾値を減じたものより大きい
ならば、処理を終了することにより、行なうようにした
ものである。
The one-dimensional time-series data compression apparatus according to claim 62 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by using the node Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) ≧ 0 and the ΔE (1
+) <0, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and Δ
If the relationship of E (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and If ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and ΔE (1-) <0 and ΔE (1 +) <0, and if ΔE (1-) is greater than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is performed. j = m-1 to 1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j =
m-1 to 1 in order, and if no exchange of the node candidates has been performed, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold, The processing is performed by terminating the processing.

【0071】この発明の請求項63記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、前記節点候補のインデックスに対
して、これが小さい順に番号づけを行なったものをI
(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともにこの交換を行った時の
第1目的関数の値と前記元の第1目的関数の値の交換を
行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が
成り立つならば前記節点候補I(j)を前記節点候補I(j)+1
に交換するとともにこの交換を行った時の第1目的関数
の値と前記元の第1目的関数の値の交換を行ない、前記
ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つな
らば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともにこの交換を行っ
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関
係が成り立ち、かつ前記ΔE(1-)が前記ΔE(1+) より大
きいならば、前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともにこの交換を行った時の第1の目的関数
の値と前記元の第1の目的関数の値の交換を行なう操作
を奇数のj については小さいものから大きいものの順、
および偶数のj については大きいものから小さいものの
順に行ない、これら一連の処理が終了した時の第1目的
関数の値が前記元の第1目的関数の値から閾値を減じた
もの以下ならば、前記操作を奇数のj については小さい
ものから大きいものの順、および偶数のj については大
きいものから小さいものの順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
ようにしたものである。
The one-dimensional time-series data compression device according to claim 63 of the present invention is the one-dimensional time-series data compression device according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by The index of the node candidate index is assigned
(j), when 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, replace the node candidate I (j) with the node candidate I (j) -1 The value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship of ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the original first objective function Are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I (j) +1.
And the value of the first objective function at the time of this exchange is exchanged with the value of the original first objective function, so that ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 If the relationship holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1 and the value of the first objective function when the exchange is performed is The value of the original first objective function is exchanged, and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is the ΔE (1+) If it is larger, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original first objective function The operation of exchanging values is performed in the order of small to large for odd j,
And even j are performed in order from the largest to the smallest, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, The operation is performed again in the order of small to large for the odd j, and in the order of large to small for the even j. If the value is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to end the processing.

【0072】この発明の請求項64記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともに、この交換した時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともに、この交換した時の第1の目的関数の値と前記
元の第1の目的関数の値の交換を行なう操作を奇数のj
については大きいものから小さいものの順、および偶数
のj については小さいものから大きいものの順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたもの以下
ならば、前記操作を奇数のj については大きいものから
小さいものの順、および偶数のj については小さいもの
から大きいものの順に再び行ない、節点候補の前記交換
が全く行なわれなかったか、前記第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたものより大き
いならば、処理を終了することにより、決定を行なうよ
うにしたものである。
A one-dimensional time-series data compression apparatus according to a sixty-fourth aspect of the present invention is the one-dimensional time-series data compression apparatus according to any one of the fifty-third to fifty-sixth aspects, wherein the suboptimal node candidate calculation is Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first candidate at the time of the exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is determined. The node candidate is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1
-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied. The relationship holds, and the ΔE (1-)
Is less than or equal to ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. The odd j
Are performed in ascending order from largest to smallest, and even j is performed in ascending order from smallest to largest. When the series of processes is completed, the value of the first objective function is determined as a threshold from the value of the original first objective function. If it is less than or equal to, the above operation is performed again in the order of large to small for odd j, and in the order of small to large for even j, and whether the exchange of node candidates has not been performed at all, If the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated to make a decision.

【0073】この発明の請求項65記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともに、この交換した時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともに、この交換した時の第1の目的関数の値と前記
元の第1の目的関数の値の交換を行なう操作をj=1 から
[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順に行
ない、これら一連の処理が終了した時の第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたもの以
下ならば、前記操作をj=1 から[m/2 ]まで、およびj=
m-1 から[m/2 ]+1まで順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、決定を行
なうようにしたものである。
A one-dimensional time-series data compression apparatus according to a sixty-fifth aspect of the present invention is the one-dimensional time-series data compression apparatus according to any one of the fifty-third to fifty-sixth aspects, wherein the calculation of the suboptimal node candidate is performed by Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first candidate at the time of the exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is determined. The node candidate is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1
-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied. The relationship holds, and the ΔE (1-)
Is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. From j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and the value of the first objective function at the end of these series of processes is the original If the value is equal to or less than the value obtained by subtracting the threshold from the value of one objective function, the operation is performed from j = 1 to [m / 2] and j =
m-1 to [m / 2] +1, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. If it is larger than the value, the decision is made by terminating the process.

【0074】この発明の請求項66記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともに、この交換した時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともに、この交換した時の第1目的関数の値と前記元
の第1目的関数の値の交換を行なう操作をj=[m/2 ]か
ら1 まで、およびj=[m/2 ]+1からm-1 まで順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたもの以下
ならば、前記操作をj=[m/2 ]から1 まで、およびj=
[m/2 ]+1からm-1 まで順に再び行ない、節点候補の前
記交換が全く行なわれなかったか、前記第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたものよ
り大きいならば、処理を終了することにより、行なうよ
うにしたものである。
A one-dimensional time-series data compression apparatus according to claim 66 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first candidate at the time of the exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is determined. The node candidate is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1
-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied. The relationship holds, and the ΔE (1-)
Is less than or equal to ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function and the original first If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), The operation of exchanging the node candidate I (j) for the node candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is called j. = [M / 2] to 1 and j = [m / 2] +1 to m-1 in order, and the value of the first objective function when these series of processes are completed is the original first objective. If the value is equal to or less than the value of the function minus the threshold, the operation is performed from j = [m / 2] to 1 and j =
[M / 2] +1 to m-1 in order, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. If the value is larger than the value, the process is terminated to terminate the process.

【0075】この発明の請求項67記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともに、この交換した時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともに、この交換した時の第1の目的関数の値と前記
元の第1の目的関数の値の交換を行なう操作をj=1 から
m-1 まで順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から閾値
を減じたもの以下ならば、前記操作をj=1 からm-1 まで
順に再び行ない、節点候補の前記交換が全く行なわれな
かったか、前記第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたものより大きいならば、処理を
終了することにより、行なうようにしたものである。
The one-dimensional time-series data compression apparatus according to claim 67 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first candidate at the time of the exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is determined. The node candidate is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1
-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied. The relationship holds, and the ΔE (1-)
Is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. From j = 1
m-1 in order, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed from j = 1 to m. -1 until the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value, the process is terminated. By doing so, it is done.

【0076】この発明の請求項68記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、前記準最
適節点候補の算出は、節点候補のインデックスに対し
て、これが小さい順に番号づけを行なったものをI(j),
0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1 の関係が
成り立つならば節点候補I(j)を節点候補I(j)-1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から元の第1目的関数の値を減じた値ΔE(1-)を算出
し、I(j-1)≧I(j)-1の関係が成り立つならば前記ΔE(1
-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つな
らば前記節点候補I(j)を節点候補I(j)+1に交換した時の
第1目的関数の値を算出し、前記第1目的関数の値から
前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)-1に交換するとともに、この交換した時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)+1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば
前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り
立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともに、この交換した時の第1の目的関数の値と前記
元の第1の目的関数の値の交換を行なう操作をj=m-1 か
ら1 まで順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から閾値
を減じたもの以下ならば、前記操作をj=m-1 から1 まで
順に再び行ない、節点候補の前記交換が全く行なわれな
かったか、前記第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたものより大きいならば、処理を
終了することにより、行なうようにしたものである。
The one-dimensional time-series data compression apparatus according to claim 68 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidate is performed by Candidate indexes are numbered in ascending order as I (j),
When 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j) -1. 1) calculate the value of the objective function, calculate the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, and obtain I (j-1) ≧ I (j) − If the relationship of 1 holds, the above ΔE (1
-) Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first node when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the objective function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1 ), The above-mentioned ΔE (1
+) Is set to 0, ΔE (1-) <0 and ΔE (1+) ≧ 0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the first candidate at the time of the exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is determined. The node candidate is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1
-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 is satisfied. The relationship holds, and the ΔE (1-)
Is less than or equal to ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the value of the first objective function at the time of the replacement and the original first If the values of the objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1-) is greater than the ΔE (1+), An operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. Is performed in order from j = m-1 to 1. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed. j = m-1 to 1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value Ba By terminating the process, in which to carry out.

【0077】この発明の請求項69記載の1次元時系列
データ圧縮装置は、請求項53ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、最終的に
決定された節点候補数が、候補にならなかったデータの
個数以下の場合は、節点候補を示す識別子と前記最終的
に決定された節点候補のインデックス番号と前記節点候
補の値とで構成された圧縮データを出力し、前記最終的
に決定された節点候補数が、前記候補にならなかったデ
ータの個数より大きい場合は、節点候補でない識別子と
前記節点候補にならなかったデータのインデックス番号
と前記節点候補の値とで構成された圧縮データを出力す
るようにしたものである。
A one-dimensional time-series data compression apparatus according to claim 69 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the finally determined number of node candidates is If not more than the number of data that was not a candidate, output compressed data consisting of an identifier indicating the node candidate, the index number of the finally determined node candidate and the value of the node candidate, If the finally determined number of node candidates is larger than the number of data that did not become the candidate, it is composed of an identifier that is not a node candidate, the index number of the data that did not become the node candidate, and the value of the node candidate. The compressed data thus output is output.

【0078】この発明の請求項70記載の1次元時系列
データ圧縮装置は、請求項51ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、時間に関
して不等間隔な1次元時系列データに対しては、当該1
次元時系列データ圧縮装置を時間とデータについて各々
独立に適用し、各々を独立に圧縮するようにしたもので
ある。
A one-dimensional time-series data compression apparatus according to claim 70 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 51 to 56, wherein the one-dimensional time-series data compression apparatus is unequally spaced with respect to time. For data,
The dimensional time-series data compression device is applied independently for time and data, and each is compressed independently.

【0079】この発明の請求項71記載の1次元時系列
データ圧縮装置は、請求項51ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、多次元時
系列データを構成する複数の1次元時系列データの各々
に対し、当該1次元時系列データ圧縮装置を繰り返し適
用することで、多次元時系列データの圧縮を行なうよう
にしたものである。
A one-dimensional time-series data compression apparatus according to a seventy-first aspect of the present invention is the one-dimensional time-series data compression apparatus according to any one of the fifty-first to fifty-sixth aspects, By repeatedly applying the one-dimensional time-series data compression device to each of the one-dimensional time-series data, the multi-dimensional time-series data is compressed.

【0080】この発明の請求項72記載の1次元時系列
データ圧縮装置は、請求項51ないし56のいずれかに
記載の1次元時系列データ圧縮装置において、複数の誤
差が伝搬する1次元時系列データに対して、伝搬の源の
1次元時系列データから順に近似精度値を大きくし、当
該1次元時系列データ圧縮装置を繰り返し適用すること
で、全ての前記1次元時系列データの圧縮を行なうよう
にしたものである。
A one-dimensional time-series data compression apparatus according to claim 72 of the present invention is the one-dimensional time-series data compression apparatus according to any one of claims 51 to 56, wherein the one-dimensional time-series data compression apparatus transmits a plurality of errors. All the one-dimensional time-series data is compressed by increasing the approximation accuracy value for the data in order from the one-dimensional time-series data of the propagation source and repeatedly applying the one-dimensional time-series data compression device. It is like that.

【0081】この発明の請求項73記載の1次元時系列
データ伸長装置は、請求項51,53または54のいず
れかに記載の1次元時系列データ圧縮装置で圧縮された
圧縮データを伸長する装置であって、圧縮された圧縮デ
ータとこれを伸長した時のデータ数を入力する第1の手
段と、圧縮の際に使用した補間関数と同じ補間関数を使
用して圧縮データを補間することで、前記データ数と同
数分のデータを算出し、初期時間と時間間隔から時刻を
前記データ数と同数分だけ算出する第2の手段と、前記
第2の手段で算出した前記データと前記時刻とを出力す
る第3の手段とを備えるようにしたものである。
A one-dimensional time-series data decompression device according to claim 73 of the present invention is a device for decompressing the compressed data compressed by the one-dimensional time-series data compression device according to any one of claims 51, 53 and 54. The first means for inputting the compressed data and the number of data when the compressed data is decompressed, and interpolating the compressed data using the same interpolation function as the interpolation function used for compression. A second means for calculating the same number of data as the number of data, and calculating a time from the initial time and the time interval by the same number as the number of data; and the data and the time calculated by the second means. And a third means for outputting the same.

【0082】この発明の請求項74記載の1次元時系列
データ伸長装置は、請求項52,55または56のいず
れかに記載の1次元時系列データ圧縮装置で圧縮された
圧縮データを伸長する装置であって、圧縮された圧縮デ
ータとこれを伸長した時のデータ数を入力する第1の手
段と、前記圧縮データに該データが全て0であることを
示す識別子が付与されている場合は、前記データ数と同
数分の0と、初期時間と時間間隔から時刻を前記データ
数と同数分だけ算出し、前記圧縮データに該データが全
て0であることを示す識別子が付与されていない場合
は、圧縮の際に使用した補間関数と同じ補間関数を使用
して圧縮データを補間することで、前記データ数と同数
分のデータを算出し、初期時間と時間間隔から時刻を前
記データ数と同数分だけ算出する第2の手段と、前記第
2の手段で算出した前記データと前記時刻とを出力する
第3の手段とを備えるようにしたものである。
A one-dimensional time-series data decompressing apparatus according to claim 74 of the present invention expands the compressed data compressed by the one-dimensional time-series data compressing apparatus according to any one of claims 52, 55 and 56. And first means for inputting the compressed data and the number of data when the data is decompressed, and when the compressed data is provided with an identifier indicating that the data is all 0, When the time is calculated by the same number as the number of data and the initial time and the time interval from the same number of 0s as the number of the data, and if the identifier indicating that all the data is 0 is not given to the compressed data, By interpolating the compressed data using the same interpolation function as that used for compression, the same number of data as the number of data is calculated, and the time is calculated from the initial time and the time interval as the number of data. Minute Only the second means for calculating, in which as and a third means for outputting the said data and the time calculated by the second means.

【0083】この発明の請求項75記載の1次元時系列
データ伸長装置は、請求項73または74記載の1次元
時系列データ伸長装置において、圧縮された多次元時系
列データを構成する複数の圧縮された1次元時系列デー
タの各々に対し、当該1次元時系列データ伸長装置を繰
り返し適用することで、圧縮された多次元時系列データ
の伸長を行なうようにしたものである。
A one-dimensional time-series data decompressing apparatus according to claim 75 of the present invention is the one-dimensional time-series data decompressing apparatus according to claim 73 or 74, wherein a plurality of compression units forming the compressed multi-dimensional time-series data are provided. The compressed one-dimensional time-series data is expanded by repeatedly applying the one-dimensional time-series data decompression device to each of the one-dimensional time-series data.

【0084】[0084]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、本発明の実施の形態1の1次元時
系列データ圧縮方法について、図面を参照しながら説明
する。図1は本発明の実施の形態1における1次元時系
列データ圧縮方法の処理の流れを示すものである。
Embodiment 1 FIG. Hereinafter, the one-dimensional time-series data compression method according to the first embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a processing flow of the one-dimensional time-series data compression method according to the first embodiment of the present invention.

【0085】図において、P4aは1次元時系列データ
とその近似精度値の入力を行う入力処理、P1aはこの
1次元時系列データを近似する補間関数が通過する節点
の候補を算出する節点候補算出処理、P1bはこの節点
候補算出処理P1aにより算出された節点候補の位置を
最適化する節点位置最適化処理、P1cはこの節点位置
最適化処理P1bにより得られた節点を通る補間関数と
元の1次元時系列データとの誤差が入力処理P4aで入
力した近似精度値に応じた値を満足しているか否かを判
定する判定処理、P1dはこの判定処理P1cで近似精
度を満足していないと判定された場合に、節点数を変化
させる節点数変更処理、P4bは判定処理P1cによ
り、節点を通る補間関数と元の1次元時系列データとの
誤差が入力処理P4aで入力した近似精度値に応じた値
を満足している場合に圧縮情報としてこの節点およびそ
のインデックスを出力する出力処理である。
In the figure, P4a is an input process for inputting one-dimensional time-series data and its approximation accuracy value, and P1a is a node candidate calculation for calculating a candidate for a node through which an interpolation function approximating the one-dimensional time-series data passes. Process P1b is a node position optimization process for optimizing the position of the node candidate calculated by the node candidate calculation process P1a, and P1c is an interpolation function passing through the node obtained by the node position optimization process P1b and the original 1 A determination process of determining whether an error from the dimensional time-series data satisfies a value corresponding to the approximation accuracy value input in the input process P4a. P1d determines that the approximation accuracy is not satisfied in the determination process P1c. In this case, the number of nodes is changed, and the number of nodes is changed. P4b determines the error between the interpolation function passing through the nodes and the original one-dimensional time-series data by the determination process P1c. In an output process of outputting the node and the index as compressed information if they satisfy the values corresponding to the approximation accuracy value input.

【0086】本実施の形態1の1次元時系列データの圧
縮方法は、補間関数を使用して、与えられた1次元時系
列データのデータ数より少数の節点数を発生することで
データの圧縮を実現しようとするものである。即ち、元
の1次元時系列データに近似したデータを再現するのに
必要な,補間関数の節点を算出し、その節点以外のデー
タを省いて伝送することにより、データの圧縮を行うも
のである。そしてその伸長は、伝送されてきたデータ
を、圧縮の際に用いた補間関数と同じ補間関数を用い
て、圧縮時に省略したデータと同じデータを発生するこ
とにより、元の時系列データに近似した時系列データを
生成することにより行うものである。
The method for compressing one-dimensional time-series data according to the first embodiment uses an interpolation function to generate a smaller number of nodes than the number of data of given one-dimensional time-series data, thereby compressing the data. It is intended to realize. That is, data compression is performed by calculating a node of an interpolation function necessary to reproduce data approximated to the original one-dimensional time-series data and transmitting the data excluding the node. . Then, the decompression approximates the transmitted data to the original time-series data by generating the same data as the data omitted at the time of compression using the same interpolation function as the interpolation function used at the time of compression. This is performed by generating time-series data.

【0087】より詳しくは、図1に示すように、入力処
理P4aにおいて、圧縮すべき1次元時系列データとそ
の近似精度値を入力し、節点候補算出処理P1aにおい
て、1次元時系列データを構成する全ての1次元データ
のなかから節点候補を算出し、所定の補間関数がこの節
点データを通ることにより元の1次元時系列データを近
似した1次元時系列データを生成できるような節点候補
を算出し、節点位置最適化処理P1bにおいて、この節
点候補を移動して節点位置の最適化を行い、判定処理P
1cにおいて、この最適化を行った節点候補を通る所定
の補間曲線と元の1次元時系列データとの誤差に基づく
値が入力処理P4aにおいて入力した近似精度値の範囲
内か否かを判定し、近似精度の範囲内であれば、直ちに
出力処理P4bにより節点位置の最適化を行った節点候
補とそのインデックスを圧縮した1次元時系列データと
して出力する。
More specifically, as shown in FIG. 1, in an input process P4a, one-dimensional time-series data to be compressed and its approximate accuracy value are input, and in the node candidate calculation process P1a, the one-dimensional time-series data is formed. A node candidate is calculated from all the one-dimensional data to be generated, and a predetermined interpolation function passes through the node data to generate a one-dimensional time-series data approximating the original one-dimensional time-series data. In the node position optimization process P1b, the node candidate is moved to optimize the node position, and the determination process P
In 1c, it is determined whether or not a value based on an error between a predetermined interpolation curve passing through the optimized node candidate and the original one-dimensional time-series data is within a range of the approximation accuracy value input in the input processing P4a. If it is within the range of the approximation accuracy, the node candidate whose node position has been optimized by the output process P4b and its index are output as compressed one-dimensional time-series data.

【0088】また、判定処理P1cにおいて、近似精度
の範囲内に入らないことが判明すれば、節点数変更処理
P1dにおいて、節点数を適宜増加あるいは減少させて
節点数の変更を行う。この節点数変更処理P1dにより
節点の変更を行った後に、節点候補算出手段P1aに戻
って再度節点候補の算出を行い、以下同様の処理を繰り
返す。
If it is determined in the determination process P1c that the value does not fall within the range of the approximation accuracy, the number of nodes is changed by appropriately increasing or decreasing the number of nodes in the number-of-nodes changing process P1d. After the nodes are changed by the node number changing process P1d, the process returns to the node candidate calculating means P1a to calculate the node candidates again, and thereafter, the same process is repeated.

【0089】このように、図1に示されたデータ圧縮方
法は、補間関数を使用して、与えられた1次元時系列デ
ータのデータ数より少数の節点数を発生することでデー
タの圧縮を実現しようとするものであるため、補間関数
として離散フーリエ級数展開や離散コサイン級数展開を
用いれば、それらの係数を求める位置を確実に元の時系
列データより減らすことができる。また、節点はその位
置のみならず個数についても最適化を行っているので、
伸長したデータと元のデータとの誤差が少なく、しかも
圧縮率のよい圧縮が可能になっている。また、圧縮の際
に、伸長の際に発生する,誤差の範囲を大きく指定すれ
ば、その分、節点数をより減少することが可能となり、
より圧縮率のよいデータ圧縮を実現することができる。
As described above, the data compression method shown in FIG. 1 uses the interpolation function to generate a smaller number of nodes than the number of given one-dimensional time-series data, thereby compressing the data. Since it is intended to be realized, if a discrete Fourier series expansion or a discrete cosine series expansion is used as an interpolation function, the positions for obtaining these coefficients can be reliably reduced from the original time-series data. In addition, since the nodes are optimized not only for their positions but also for the number,
An error between the decompressed data and the original data is small, and compression with a good compression ratio is possible. Also, by specifying a large error range that occurs during expansion during compression, it is possible to further reduce the number of nodes.
Data compression with a better compression ratio can be realized.

【0090】但し、これらはデータを伸長した際の再現
精度に依存して決まる。また、データの圧縮率は、指定
した誤差の精度の範囲内で元の時系列データをいかに近
似できるかに依存するため、一般にデータの圧縮率は一
定とはならない。その上で更に、従来技術のように高周
波成分についてもそのデータをカットするようにすれ
ば、従来技術よりも更に圧縮率を高めることが可能とな
る。つまり、従来の技術と併用することにより、従来技
術における圧縮率をより高めるための補完方法としても
使用できる。
However, these are determined depending on the reproduction accuracy when the data is expanded. Further, since the data compression ratio depends on how the original time-series data can be approximated within the range of the accuracy of the designated error, the data compression ratio is generally not constant. Further, if the data of high-frequency components is cut as in the related art, it is possible to further increase the compression ratio as compared with the related art. That is, when used in combination with the conventional technology, it can be used as a complementary method for further increasing the compression ratio in the conventional technology.

【0091】もちろん、高周波成分をカットせず、本実
施の形態1の圧縮方法だけでデータを圧縮した場合で
も、選択した節点数が、従来技術の圧縮方法における高
周波成分のカット後に残った周波数成分の個数よりも少
なければ、圧縮率は本発明の方が高いことになる。しか
し、それは与えられた1次元時系列データの性質に依存
して決まるので、一概に、どちらの方法が圧縮率が高い
ということはできない。ただ、本発明により、データ圧
縮方法の選択の幅は広げられたことになる。
Of course, even if the data is compressed only by the compression method of the first embodiment without cutting the high-frequency component, the number of selected nodes is the same as the frequency component remaining after the high-frequency component is cut by the conventional compression method. If the number is smaller than the number, the compression ratio of the present invention is higher. However, since it is determined depending on the properties of the given one-dimensional time-series data, it cannot be generally determined that either method has a high compression ratio. However, according to the present invention, the range of choice of the data compression method is expanded.

【0092】また、補間関数として多項式形式のもの、
例えばスプライン関数などを用いた場合、伸長した場合
のデータは、多項式的な変化をするデータとなる。これ
は、周期性のない1次元時系列データを伸長する場合に
は、その精度を保持する上で有効に働く。従って、伸長
するデータの個数を元のデータの個数と異ならせて伸長
を行ってもその精度を保持できるので、伸長の際に生成
するデータを少なくすれば、元のデータを高速に再生で
き、高速再生を行ってもそのデータの精度を保持でき
る。また、逆に伸長の際に生成するデータを多くすれ
ば、元のデータをスローで再生でき、スローで再生を行
ってもそのデータの精度を保持できる。
Further, a polynomial expression as an interpolation function,
For example, when a spline function or the like is used, the data when expanded is data that undergoes a polynomial change. This is effective in maintaining the accuracy when one-dimensional time-series data having no periodicity is expanded. Therefore, even if the number of data to be decompressed is made different from the number of the original data, the accuracy can be maintained even if the decompression is performed.If the data generated at the time of decompression is reduced, the original data can be reproduced at high speed, Even if high-speed reproduction is performed, the accuracy of the data can be maintained. Conversely, if the data generated at the time of decompression is increased, the original data can be reproduced at a slow speed, and the accuracy of the data can be maintained even when the data is reproduced at a slow speed.

【0093】このように、本実施の形態1は、1次元時
系列データの性質に合った圧縮を行なう新たな圧縮方法
を提供することで、従来の圧縮方法を補完するばかりで
なく、圧縮方法の選択の幅を広げることが可能となるも
のである。
As described above, Embodiment 1 not only complements the conventional compression method but also provides a new compression method for performing compression suited to the properties of one-dimensional time-series data. It is possible to expand the range of choices.

【0094】以下に、本発明の実施の形態1の処理をよ
り詳細に述べるが、その前に、1次元時系列データにつ
いて図12を参照しながら説明する。図12は1次元時
系列データをグラフ化したもので、図中の黒丸は1次元
のデータを表わす。このように、1次元のデータとこれ
に対応する時刻とがペアリングされたデータのことを1
次元時系列データという。そして、図12のようにデー
タがサンプリングされた時刻をt0, ...,tnと表したと
き、ti−ti-1の値が任意のi=1, ..., n に対して一定の
場合を時間等間隔といい、そうでない場合を時間不等間
隔という。
Hereinafter, the processing of the first embodiment of the present invention will be described in more detail. Before that, one-dimensional time-series data will be described with reference to FIG. FIG. 12 is a graph of one-dimensional time-series data, in which black circles represent one-dimensional data. In this way, the one-dimensional data and the time corresponding thereto are paired data as 1
It is called dimensional time series data. Then, when the time at which the data is sampled is represented as t0,..., Tn as shown in FIG. The case is called an equal time interval, and the other case is called an irregular time interval.

【0095】図2は本発明の実施の形態1における1次
元時系列データ圧縮方法の処理の流れを示すものであ
る。図2に示したように、全体の処理は第1段階S1か
ら第9段階S9までの9つの段階で実行される。第1段
階S1は処理P1から処理P3までで構成され、第2段
階S2は処理P4で構成され、第3段階S3は処理P5
と処理P6とで構成され、第4段階S4は処理P7で構
成され、第5段階S5は処理P8で構成され、第6段階
S6は処理P9と処理P10とで構成され、第7段階S
7は処理P11で構成され、第8段階S8は処理P4か
ら処理P13までで構成され、第9段階S9は処理P1
4で構成されている。
FIG. 2 shows a processing flow of the one-dimensional time-series data compression method according to the first embodiment of the present invention. As shown in FIG. 2, the entire process is executed in nine stages from a first stage S1 to a ninth stage S9. The first stage S1 includes processes P1 to P3, the second stage S2 includes process P4, and the third stage S3 includes process P5.
The fourth stage S4 comprises a process P7, the fifth stage S5 comprises a process P8, the sixth stage S6 comprises a process P9 and a process P10, and a seventh stage S6.
7 comprises a process P11, an eighth stage S8 comprises processes P4 to P13, and a ninth stage S9 comprises a process P1.
4.

【0096】図3は、図2に詳細な処理が示された,図
1のフロー処理を行うコンピュータの構成例を示し、図
3(a) において、1は図2の処理に相当する制御プログ
ラムに従って演算処理を行うCPU、2はCPU1が処
理を行うデータを記憶するデータメモリ、3は図2の処
理に相当する制御プログラムを予め記憶しているメイン
メモリ、4はこのコンピュータと外部との間でデータの
入出力を行う入出力装置、5はこれらCPU1,データ
メモリ2,メインメモリ3および入出力装置4が相互に
データ等をやりとりするためのバスである。なお、デー
タメモリ2とメインメモリ3とは同一のメモリを使用し
て構成してもよい。CPU1は予めメインメモリ3に記
憶されている制御プログラムに従って、図2のフローと
して示された圧縮処理を実行する。
FIG. 3 shows an example of the configuration of a computer for performing the flow processing of FIG. 1 in which the detailed processing is shown in FIG. 2. In FIG. 2 is a data memory for storing data to be processed by the CPU 1, 3 is a main memory for storing in advance a control program corresponding to the processing of FIG. An input / output device 5 for inputting and outputting data is a bus through which the CPU 1, data memory 2, main memory 3 and input / output device 4 exchange data and the like with each other. Note that the data memory 2 and the main memory 3 may be configured using the same memory. The CPU 1 executes a compression process shown as a flow in FIG. 2 according to a control program stored in the main memory 3 in advance.

【0097】また、図3(b) はプログラム記録媒体等か
らプログラムを読み込んで圧縮動作を行うようにしたコ
ンピュータの構成例を示し、図3(b) において、6はバ
ス5につながった外部記憶装置であり、この外部記憶装
置の記録媒体には予め図2の処理に相当する制御プログ
ラムが記録されており、外部記憶装置6はその記録媒体
より図2の処理に相当する制御プログラムを読み取っ
て、メインメモリ3にロードする。CPU1はこのメイ
ンメモリ3にロードされた制御プログラムに従って、図
2のフローとして示された圧縮処理を実行する。あるい
は、入出力装置4を介して外部から供給される制御プロ
グラムをメインメモリ3にロードしてもよい。
FIG. 3B shows an example of the configuration of a computer which reads a program from a program recording medium or the like to perform a compression operation. In FIG. 3B, reference numeral 6 denotes an external storage connected to the bus 5 A control program corresponding to the processing of FIG. 2 is recorded in advance on a recording medium of the external storage device, and the external storage device 6 reads the control program corresponding to the processing of FIG. 2 from the recording medium. , Is loaded into the main memory 3. The CPU 1 executes the compression processing shown in the flow of FIG. 2 according to the control program loaded in the main memory 3. Alternatively, a control program supplied from the outside via the input / output device 4 may be loaded into the main memory 3.

【0098】次に、以上のように構成された図2の第1
段階S1ないし第9段階S9について説明する。まず、
処理P1では、データ圧縮すべき1次元時系列データ
と、これを近似する補間関数の近似精度値の入力を行な
う。処理P2では1次元時系列データに対しその時刻の
順にインデックスをつける。この時刻としては1次元時
系列データのサンプル時刻や発生時刻や入力時刻等を用
いることができる。なお、このインデックスは時刻の代
わりに順次増加するデータや順次減少するデータを用い
てもよい。処理P3では初期の節点数を算出する。その
際に使用する節点数の初期値は、補間関数の種類に応じ
て決まるため、予め、その初期値を設定しておけばよ
く、従って、例えば、初期のデータ数に対する比を予め
決めておくことでこれを算出することができる。ここで
は、使用する節点数の初期値として1次元時系列データ
全体の個数の1/a という形で(但し、a>0 とする)、初
期の節点数を算出するものとする。
Next, the first of FIG.
Steps S1 to S9 will be described. First,
In process P1, one-dimensional time-series data to be data-compressed and an approximation accuracy value of an interpolation function that approximates the data are input. In process P2, the one-dimensional time-series data is indexed in the order of the time. As this time, a sample time, an occurrence time, an input time, or the like of the one-dimensional time-series data can be used. It should be noted that the index may use data that increases sequentially or data that decreases sequentially instead of the time. In process P3, the initial number of nodes is calculated. Since the initial value of the number of nodes used at that time is determined according to the type of the interpolation function, the initial value may be set in advance. Therefore, for example, the ratio to the initial number of data is determined in advance. Thus, this can be calculated. Here, it is assumed that the initial number of nodes is calculated in the form of 1 / a of the total number of one-dimensional time series data (where a> 0) as an initial value of the number of nodes to be used.

【0099】処理P4ではデータ圧縮すべき1次元時系
列データの中から、その始めと終りのデータを必ず含
み、かつ残りのデータについてはランダムな間隔でデー
タを選択し、これらを合計すれば上述の算出した節点数
と同数となるように節点候補を決定する。
In the process P4, one-dimensional time-series data to be data-compressed must always include the beginning and end data, and the remaining data is selected at random intervals. The node candidates are determined so as to have the same number as the calculated number of nodes.

【0100】この操作を図13を用いて説明する。今、
仮に節点の個数をm+1 とすると、時刻t0におけるデータ
が始めのデータで、これを最初の節点候補として選択と
する。次に、時刻tnにおけるデータが終りのデータで、
これを最後の節点候補として選択する。次に、1/(n-1)
の一様確率で生成される乱数により、残りのm-1 個の節
点候補を、互いに重複を許さずに選択する。こうして合
計m+1 個の節点候補が選択された後は、これらを時刻の
小さい順にソートし、節点候補のインデックスをI(j),
0 ≦j ≦m として保存しておく。図13の例では白丸で
示したデータが節点候補として選択されたものである。
This operation will be described with reference to FIG. now,
Assuming that the number of nodes is m + 1, the data at time t0 is the first data, and this is selected as the first node candidate. Next, the data at time tn is the end data,
This is selected as the last node candidate. Next, 1 / (n-1)
The remaining m-1 node candidates are selected without overlapping each other by random numbers generated with the uniform probability of. After a total of m + 1 node candidates have been selected in this way, they are sorted in ascending order of time, and the index of the node candidates is set to I (j),
Store as 0 ≤ j ≤ m. In the example of FIG. 13, data indicated by white circles is selected as a node candidate.

【0101】以上はランダム選択の場合であるが、この
節点候補を求める処理P4はインデックスに関して近似
等間隔で選択してもよい。この場合は、まずインデック
スに関して間隔[n/m ]を算出し、時刻t0における始め
のデータから始めてこの間隔[n/m ]だけ隔たった節点
候補を合計m 個選択し、m+1 番目の節点候補として時刻
tnにおける終わりのデータを選択することにより終了す
る。ここで、[x ]はガウス記号である。この場合も、
前述のようなI(j)を保存しておく。
Although the above is the case of random selection, the processing P4 for obtaining the node candidates may be selected at approximately equal intervals with respect to the index. In this case, first, an interval [n / m] is calculated with respect to the index, and a total of m node candidates separated by this interval [n / m] starting from the first data at time t0 are selected, and the (m + 1) th node is selected. Time as a candidate
End by selecting the ending data at tn. Here, [x] is a Gaussian symbol. Again,
I (j) as described above is stored.

【0102】この処理P4で行う操作は節点候補の位置
の初期値を決めるものであり、この種の問題には乱数を
用いるのが有効であることが知られているが、本実施の
形態1の場合でも、乱数を用いて節点位置を選択した方
が近似等間隔で選択した場合よりも実験的に良い値が得
られている。
The operation performed in the process P4 is to determine the initial value of the position of the node candidate, and it is known that it is effective to use a random number for this kind of problem. Even in the case of, a better value is experimentally obtained when the node positions are selected using random numbers than when the node positions are selected at approximately equal intervals.

【0103】処理P5ではインデックス番号を独立変数
とする補間関数により、各節点候補の間を補間するデー
タを発生して、元の1次元時系列データを近似する1次
元時系列データを得、これと元の1次元時系列データと
の誤差を算出する。補間関数は節点を通るものならば何
でもよく、例えば、スプライン関数には節点を通る補間
関数として使用できる性質がある。ただ、伸長されたデ
ータが元のデータの波形に忠実な波形を再現すべきであ
れば、元の1次元時系列データを忠実に近似できる補間
関数を使用するのが望ましく、逆に高いデータ圧縮率を
要求するのであれば、補間関数はさほど近似度を要求さ
れない。その他、離散フーリエ変換を用いた級数展開表
現や、離散コサイン変換を用いた級数展開表現なども補
間関数として使用できる。ただ、この補間関数は以上に
挙げたもののいずれか1つを予め選定しておいて使用す
る。そして後述する伸長処理の場合に圧縮の際に用いた
ものと同じ補間関数を使用する。この場合、補間関数は
その候補を予め複数用意しておいて、圧縮の際に使用し
た補間関数の識別子を伸長処理の側に送り、伸長側で圧
縮の際と同じ補間関数を用いるようにしてもよい。
In process P5, data for interpolating between the node candidates is generated by an interpolation function using the index number as an independent variable, and one-dimensional time-series data approximating the original one-dimensional time-series data is obtained. And the original one-dimensional time-series data are calculated. The interpolation function may be anything as long as it passes through a node. For example, a spline function has a property that can be used as an interpolation function passing through a node. However, if the decompressed data should reproduce a waveform that is faithful to the waveform of the original data, it is desirable to use an interpolation function that can faithfully approximate the original one-dimensional time-series data. If a rate is required, the interpolation function does not require much closeness. In addition, a series expansion expression using a discrete Fourier transform, a series expansion expression using a discrete cosine transform, or the like can also be used as an interpolation function. However, any one of the above-mentioned interpolation functions is selected in advance and used. Then, the same interpolation function as that used for compression in the case of decompression processing to be described later is used. In this case, a plurality of candidates for the interpolation function are prepared in advance, the identifier of the interpolation function used at the time of compression is sent to the decompression processing side, and the same interpolation function as at the time of compression is used on the decompression side. Is also good.

【0104】図14は図12の曲線を補間する補間関数
をグラフ化したものである。図中の黒丸は補間関数を用
いて白丸で表した節点候補を補間して得たデータであ
り、これらはデータ圧縮の際には棄却されるものであ
る。この黒丸で示したデータは殆どが元のデータと同じ
値になっているが、時刻tn-1におけるデータに関しては
誤差が発生している。処理P6では、図14のように、
節点候補以外の1次元時系列データと補間関数との誤差
を算出する。図14の場合、誤差の算出は絶対値誤差を
用いて行っているが、この誤差算出は2乗誤差などを用
いて行ってもよい。処理P7では処理P6で算出した誤
差から、第1目的関数の値を算出する。この第1目的関
数は、処理P6で算出した誤差の最大値と誤差平均と誤
差分散をまず求め、これらを重み付け加算して算出する
ことができる。
FIG. 14 is a graph of an interpolation function for interpolating the curve of FIG. The black circles in the figure are data obtained by interpolating node candidates represented by white circles using an interpolation function, and these are rejected during data compression. Most of the data indicated by the black circles has the same value as the original data, but an error has occurred in the data at time tn-1. In the process P6, as shown in FIG.
An error between the one-dimensional time-series data other than the node candidates and the interpolation function is calculated. In the case of FIG. 14, the calculation of the error is performed using the absolute value error, but the calculation of the error may be performed using a square error or the like. In process P7, the value of the first objective function is calculated from the error calculated in process P6. This first objective function can be calculated by first obtaining the maximum value, error average, and error variance of the error calculated in the process P6, and weighting and adding them.

【0105】この目的関数は換言すれば誤差の評価関数
であり、選択した節点候補より生成した1次元時系列デ
ータと元の1次元時系列データとの誤差の最大値や誤差
の平均や誤差の分散がともに小さな値となるものが節点
候補として最適なものである,という観点で、誤差の評
価がなされるように、誤差の最大値と誤差の平均と誤差
の分散とを重み付け加算した値を誤差の評価関数として
使用するようにしているものである。
This objective function is, in other words, an error evaluation function. The maximum value of the error between the one-dimensional time series data generated from the selected node candidate and the original one-dimensional time series data, the average of the errors, and the error are used. From the viewpoint that the one with both small variances is the best node candidate, the value obtained by weighting and adding the maximum value of the error, the average of the error, and the variance of the error is evaluated so that the error is evaluated. This is used as an error evaluation function.

【0106】そして、その重み係数は、その値を始めか
ら固定して決めておく方法と、データに応じて可変的に
決定する方法とがある。可変的に決定する場合は、例え
ば、重みを最大誤差、誤差平均、誤差分散について均等
に割り振りたいときには、各重みとそれらの値の積が全
て等しくなるように決めればよい。最初から決めておく
場合は、例えば重み係数の値を予め全て“1/3”とす
るなどのように決める。一般には、実際のデータを何度
か処理して、経験的によいと思われる値を決めることが
多い。
The weighting coefficient includes a method in which the value is fixed from the beginning and a method in which the value is variably determined according to data. In the case of variably determining, for example, when it is desired to equally allocate the weights for the maximum error, error average, and error variance, the product of each weight and their value may be determined to be equal. When it is determined from the beginning, for example, the values of the weighting factors are all determined to be ““ ”in advance. In general, actual data is often processed several times to determine a value that is considered empirically good.

【0107】処理P8では第1目的関数の値が最小とな
るように節点候補の変更を繰り返し行ない、準最適節点
候補を決定するのであるが、これについては図10に示
した第1の方法と図11に示した第2の方法の2通りが
ある。
In the process P8, the node candidates are repeatedly changed so as to minimize the value of the first objective function, and the sub-optimal node candidates are determined. This is the same as the first method shown in FIG. There are two methods of the second method shown in FIG.

【0108】この準最適節点候補を決定する処理は、あ
る節点候補を決めた状態での目的関数の値と、節点候補
を変えた状態での目的関数の値とを求めてこれらの差分
を求め、この差分が小さくなるように節点候補を選択す
ることにより、局所最適解を得るものである。この節点
候補の決定は、節点の個数が少ない場合は最適解を求め
ればよいが、節点の個数が多くなると最適解が真に最適
となっているか否かは不明となるため、本実施の形態1
の場合では局所最適解、すなわち準最適解を得るので十
分である。
The process of determining the sub-optimal node candidate is performed by obtaining the value of the objective function when a certain node candidate is determined and the value of the objective function when the node candidate is changed, and calculating the difference between these values. By selecting a node candidate such that the difference becomes small, a local optimum solution is obtained. This node candidate can be determined by finding the optimal solution when the number of nodes is small, but it is unknown whether the optimal solution is truly optimal when the number of nodes is large. 1
In the case of, it is sufficient to obtain a local optimal solution, that is, a suboptimal solution.

【0109】まず、図10に示した第1の方法について
説明を行なう。図10から分かるように、この処理は処
理P41から処理P59で構成される。但し前述のよう
に、節点候補のインデックスに対して、時刻が小さい順
に番号づけが行なわれており、それをI(j),0 ≦j ≦m
とする。また、以降の図10の説明においては、j はル
ープ制御変数とする。
First, the first method shown in FIG. 10 will be described. As can be seen from FIG. 10, this processing includes processing P41 to processing P59. However, as described above, the index of the node candidate is numbered in ascending order of time, and it is represented by I (j), 0 ≦ j ≦ m.
And In the following description of FIG. 10, j is a loop control variable.

【0110】処理P41ではループ制御が行なわれる
が、この方法には次の6通りの方法があり、そのうちの
いずれか1つを用いてループ制御が行われる。 (1) 奇数のj については小さいものから大きいものの
順、および偶数のjについては大きいものから小さいも
のの順に処理を行なう。 (2) 奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に処理を行なう。 (3) j=1 から[m/2 ]まで、およびj=m-1 から[m/2
]+1まで、順に処理を行なう。 (4) j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm
-1 まで、順に処理を行なう。 (5) j=1 からm-1 まで順に処理を行なう。 (6) j=m-1 から1 まで順に処理を行なう。 処理P42では、一連の処理のループを制御するループ
制御変数j について、I(j-1) < I(j)-1 の関係が成り立
つか否かの判定を行なう。もしこの関係が成り立つなら
ば、処理P43に移行し、成り立たないならば処理P4
5へ移行する。
In the process P41, the loop control is performed. There are the following six methods, and the loop control is performed by using any one of the following methods. (1) For odd-numbered j, the processing is performed in order from small to large, and for even-numbered j, processing is performed in order from large to small. (2) For odd j, the processing is performed from the largest to the smallest, and for the even j, the processing is performed from the smallest to the largest. (3) j = 1 to [m / 2] and j = m-1 to [m / 2]
The processing is performed in order up to +1. (4) j = [m / 2] to 1 and j = [m / 2] +1 to m
Process in order up to -1. (5) Perform processing in order from j = 1 to m-1. (6) Perform processing in order from j = m-1 to 1. In the process P42, it is determined whether or not the relationship of I (j-1) <I (j) -1 holds for a loop control variable j for controlling a loop of a series of processes. If this relationship holds, the process shifts to process P43; if not, the process goes to process P4.
Go to 5.

【0111】処理P43では、図15に示したように節
点候補I(j)と節点候補I(j)-1とを一時的に交換する。次
に、交換後の第1目的関数の値を算出する。関数値を算
出した後は交換していた節点候補を元に戻す。
In the process P43, the node candidate I (j) and the node candidate I (j) -1 are temporarily exchanged as shown in FIG. Next, the value of the first objective function after the exchange is calculated. After calculating the function values, the exchanged node candidates are restored.

【0112】処理P44では、処理P43で算出した第
1目的関数の値から図2の処理P7で算出した元の第1
目的関数の値を減じた値ΔE(1-) を算出する。なおΔE
のかっこ内の“1-" は左側に“1”だけずらせる、即ち
インデックスを“1”減らすことを意味する。処理P4
5では、先の第1目的関数の値は算出せず、強制的にΔ
E(1-) を0とする。処理P46ではI(j)+1 < I(j+1) の
関係が成り立つか否かの判定を行ない、もし、この関係
が成立するならば処理P47に移行し、成立しないなら
ば処理P49へ移行する。
In process P44, the original first function calculated in process P7 in FIG. 2 from the value of the first objective function calculated in process P43.
The value ΔE (1-) obtained by subtracting the value of the objective function is calculated. Note that ΔE
"1-" in parentheses means to shift to the left by "1", that is, to decrease the index by "1". Processing P4
5, the value of the first objective function is not calculated, and Δ
E (1-) is set to 0. In the process P46, it is determined whether or not the relationship of I (j) +1 <I (j + 1) is established. If this relationship is established, the process proceeds to the process P47. Transition.

【0113】処理P47では、図15に示したように一
時的に節点候補I(j)と節点候補I(j)+1とを交換し、この
時の第1目的関数の値を算出する。処理P48では、処
理47で算出した第1目的関数の値から、図2の処理P
7で算出した元の第1目的関数の値を減じた値ΔE(1+)
を算出する。処理P49では、第1目的関数の値の算出
を行なわずに、強制的にΔE(1+) を0とする。
In the process P47, the node candidate I (j) and the node candidate I (j) +1 are temporarily exchanged as shown in FIG. 15, and the value of the first objective function at this time is calculated. In the process P48, the process P of FIG.
The value ΔE (1+) obtained by subtracting the value of the original first objective function calculated in step 7
Is calculated. In process P49, ΔE (1+) is forcibly set to 0 without calculating the value of the first objective function.

【0114】処理P50では、前記ΔE(1-)<0 かつΔE
(1+) ≧0 が成り立つか否かの判定を行なう。もしこの
関係が成立するならば、処理P51へ移行し、成立しな
いならば、処理P52へ移行する。処理P51では、節
点候補I(j)を節点候補I(j)-1に交換し、交換を行った後
は処理P41に戻る。処理P52では、ΔE(1-) ≧0 か
つΔE(1+)<0 が成り立つか否かの判定を行ない、もしこ
の関係が成立するならば処理P53へ移行し、成立しな
いならば処理P54へ移行する。処理P53では節点候
補I(j)を節点候補I(j)+1に交換し、交換を行った後は処
理P41に戻る。
In process P50, ΔE (1-) <0 and ΔE
It is determined whether (1+) ≧ 0 holds. If this relationship holds, the process moves to process P51; otherwise, the process moves to process P52. In the process P51, the node candidate I (j) is exchanged for the node candidate I (j) -1, and after the exchange, the process returns to the process P41. In the process P52, it is determined whether or not ΔE (1-) ≧ 0 and ΔE (1 +) <0 are satisfied. If this relationship is established, the process proceeds to the process P53. Transition. In the process P53, the node candidate I (j) is exchanged for the node candidate I (j) +1, and after the exchange, the process returns to the process P41.

【0115】処理P54では、ΔE(1-)<0 かつΔE(1+)<
0 の関係が成り立つか否かの判定を行ない、この関係が
成立するならば処理P55へ移行し、成立しないならば
処理P41へ戻る。処理P55では、ΔE(1-) ≦ΔE(1
+) の関係が成り立つか否かの判定を行ない、この関係
が成り立つのであれば処理P56へ移行し、成り立たな
いならば処理P57へ移行する。処理P56では、節点
候補I(j)を節点候補I(j)-1に交換し、交換が済めば処理
P41に戻る。処理P57では、節点候補I(j)を節点候
補I(j)+1に交換し、交換を行った後は処理P41へ戻
る。全てのループ制御変数j について、以上の処理が終
了したならば、処理P58に移行する。
In the process P54, ΔE (1-) <0 and ΔE (1 +) <
It is determined whether or not the relationship of 0 is established. If this relationship is established, the flow shifts to processing P55; otherwise, the flow returns to processing P41. In process P55, ΔE (1-) ≦ ΔE (1
It is determined whether or not the relationship (+) is established. If this relationship is established, the process proceeds to process P56, and if not, the process proceeds to process P57. In the process P56, the node candidate I (j) is exchanged for the node candidate I (j) -1, and when the exchange is completed, the process returns to the process P41. In the process P57, the node candidate I (j) is exchanged for the node candidate I (j) +1, and after the exchange, the process returns to the process P41. When the above processing is completed for all the loop control variables j, the flow shifts to processing P58.

【0116】処理P58では終了判定を行なう。この終
了判定は、全てのj について処理P41から処理P57
までの操作が終了した時の第1目的関数の値が元の第1
目的関数の値から閾値を減じたものより大きいか、もし
くは全てのj について、節点候補の前記交換が全く行な
われなかったか否かの判定により実行され、どちらか一
方の条件が成立する場合には一連の処理を終了し、終了
した時点の解が、準最適節点候補となる。そうでない場
合には、処理P59において、元の第1目的関数の値を
操作が終了した時の第1目的関数に交換し、処理P41
から処理P57の一連の処理を繰り返す。
In process P58, an end determination is made. This end determination is made for all j, from processing P41 to processing P57.
The value of the first objective function when the operation up to
It is executed by determining whether or not the exchange of the node candidates has been performed at all for a value greater than the value obtained by subtracting the threshold value from the value of the objective function or for all j. A series of processes is completed, and the solution at the time of completion is a sub-optimal node candidate. Otherwise, in process P59, the original value of the first objective function is exchanged for the first objective function at the time when the operation is completed, and the process proceeds to process P41.
To P57 is repeated.

【0117】以上の操作は、処理P58における終了判
定が成立し、第1目的関数の値が収束するまで繰り返さ
れる。なお、この終了判定には、処理の繰り返し回数を
基準とする判定条件を付加してもよい。但し、この場
合、最適の度合は、繰り返し回数の判定条件を付加しな
い場合よりも却って悪くなる可能性があるが、処理を必
ず一定時間以内で終了させることができる。
The above operation is repeated until the end judgment in the process P58 is established and the value of the first objective function converges. Note that a determination condition based on the number of repetitions of the process may be added to this end determination. However, in this case, the optimum degree may be worse than when the determination condition of the number of repetitions is not added, but the processing can be always completed within a certain time.

【0118】次に、図11に示した第2の方法について
説明を行なう。図11から分かるように、この処理は処
理P61から処理P79で構成される。但し前述のよう
に、節点候補のインデックスに対して、時刻が小さい順
に番号づけが行なわれており、それをI(j),0 ≦j ≦m
と表す。また、図10の説明の時と同様に、j はループ
制御変数とする。
Next, the second method shown in FIG. 11 will be described. As can be seen from FIG. 11, this processing includes processing P61 to processing P79. However, as described above, the index of the node candidate is numbered in ascending order of time, and it is represented by I (j), 0 ≦ j ≦ m.
It expresses. As in the case of the description of FIG. 10, j is a loop control variable.

【0119】処理P61は図10の第1の方法と同様
に、一連の処理を繰り返し行うか否かのループ制御を行
なうものであり、この方法には次の6通りの方法があ
り、そのうちのいずれか1つを用いてループ制御が行わ
れる。 (1) 奇数のj については小さいものから大きいものの
順、および偶数のj については大きいものから小さいも
のの順に処理を行なう。 (2) 奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に処理を行なう。 (3) j=1 から[m/2 ]まで、およびj=m-1 から[m/2
]+1まで、順に処理を行なう。 (4) j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm
-1 まで、順に処理を行なう。 (5) j=1 からm-1 まで順に処理を行なう。 (6) j=m-1 から1 まで順に処理を行なう。 処理P62から処理P70までは、図10の第1の方法
の処理P42から処理P50と同様のものである。
The process P61 is for performing loop control as to whether or not to repeat a series of processes, similarly to the first method in FIG. 10, and the following six methods are available. Loop control is performed using any one of them. (1) For odd-numbered j, processing is performed in the order of small to large, and for even-numbered j, processing is performed in the order of small to large. (2) For odd j, the processing is performed from the largest to the smallest, and for the even j, the processing is performed from the smallest to the largest. (3) j = 1 to [m / 2] and j = m-1 to [m / 2]
The processing is performed in order up to +1. (4) j = [m / 2] to 1 and j = [m / 2] +1 to m
Process in order up to -1. (5) Perform processing in order from j = 1 to m-1. (6) Perform processing in order from j = m-1 to 1. Processes P62 to P70 are the same as processes P42 to P50 of the first method in FIG.

【0120】処理P71では、まず、節点候補I(j)を節
点候補I(j)-1に交換する。更に、元の第1目的関数の値
を、この交換時において算出した第1目的関数の値に更
新する。そしてこの更新を行った後、処理P61に戻
る。処理P72は、図10の第1の方法の処理P52と
同様である。処理P73では、まず、節点候補I(j)を節
点候補I(j)+1に交換する。更に、元の第1目的関数の値
を、この交換時において算出した第1目的関数の値に更
新する。そしてこの更新を行った後、処理P61に戻
る。
In the process P71, first, the node candidate I (j) is exchanged for the node candidate I (j) -1. Further, the original value of the first objective function is updated to the value of the first objective function calculated at the time of the exchange. Then, after performing this update, the process returns to the process P61. Process P72 is the same as process P52 of the first method in FIG. In the process P73, first, the node candidate I (j) is exchanged for the node candidate I (j) +1. Further, the original value of the first objective function is updated to the value of the first objective function calculated at the time of the exchange. Then, after performing this update, the process returns to the process P61.

【0121】処理P74と処理P75は、図10の第1
の方法の処理P54と処理P55と同様のものである。
処理P76では、節点候補I(j)を節点候補I(j)-1に交換
する。次に、元の第1目的関数の値を、この交換時にお
いて算出した第1目的関数の値に更新する。そしてこの
更新を行った後、処理P61に戻る。
Processing P74 and processing P75 correspond to the first processing in FIG.
This is the same as the processing P54 and the processing P55 of the method.
In process P76, the node candidate I (j) is exchanged for the node candidate I (j) -1. Next, the original value of the first objective function is updated to the value of the first objective function calculated at the time of the exchange. Then, after performing this update, the process returns to the process P61.

【0122】処理P77では、節点候補I(j)を節点候補
I(j)+1に交換する。次に、元の第1目的関数の値を、こ
の交換時において算出した第1目的関数の値に更新す
る。そしてこの更新を行った後、処理P61に戻る。全
てのループ制御変数jについて、以上の処理が終了した
ならば、処理P78の終了判定を行なうが、これについ
ては図10の第1の方法の処理P58と同様である。処
理P79については、図10の第1の方法の処理P59
と同様である。
In process P77, the node candidate I (j) is
Exchange to I (j) +1. Next, the original value of the first objective function is updated to the value of the first objective function calculated at the time of the exchange. Then, after performing this update, the process returns to the process P61. When the above processing is completed for all the loop control variables j, it is determined whether or not the processing P78 is completed. This is the same as the processing P58 of the first method in FIG. About the process P79, the process P59 of the first method of FIG.
Is the same as

【0123】この第2の方法は、第1の方法が節点候補
に関して一連の処理を実行し終わった時点で第1目的関
数値の変更を行うのに対し、節点候補を更新する毎に第
1目的関数の値も更新するものである。これら第1,第
2の方法のいずれが準最適節点候補の決定方法として優
れているかは、データの性質に依存しているので一該に
は言えないが、一般に目的関数値の収束は第1の方法の
方が速いものと思われる。
In the second method, the first objective function value is changed when the first method has completed a series of processes for the node candidate, whereas the first method is changed every time the node candidate is updated. The value of the objective function is also updated. Which of the first and second methods is superior as a method of determining a sub-optimal node candidate depends on the nature of the data and cannot be said to be one of them. Method seems to be faster.

【0124】以上の図10による第1の方法、または図
11による第2の方法によって、準最適節点候補が決定
されたならば、図2の処理P9により、準最適節点候補
を前述の補間関数により、処理P5と同様の補間を行
う。次に、処理P10によって、補間により得られた1
次元時系列データと元の1次元時系列データとの誤差を
処理P6と同様に算出する。
If the sub-optimal node candidate is determined by the above-described first method according to FIG. 10 or the second method according to FIG. 11, the sub-optimal node candidate is replaced with the interpolation function by the process P9 in FIG. Thus, the same interpolation as in the process P5 is performed. Next, in process P10, the 1
An error between the one-dimensional time-series data and the original one-dimensional time-series data is calculated in the same manner as in the process P6.

【0125】処理P11では、処理P10で算出した誤
差から、この誤差の最大値と誤差平均と誤差分散との重
み付け加算で定義された第2目的関数の値を算出する。
この第2目的関数が本来の節点に関する誤差の評価関数
である。そしてその重みの値は、例えば、誤差の最大値
だけが問題となる時は、最大誤差の重みを“1”、誤差
平均と誤差分散については“0”とすればよい。それ以
外にも、処理P7における第1目的関数の時と全く同様
に、重みを最大誤差、誤差平均、誤差分散について均等
に割り振りたいときには、例えば各重みとそれらの値の
積が全て等しくなるように決めたり、最初から決めてお
く場合は、例えば重み係数の値を予め全て“1/3”と
するなどのように決めるようにすればよく、また、第1
目的関数の時の、各重みに対する割合などを基準として
決定してもよい。
In the process P11, from the error calculated in the process P10, the value of the second objective function defined by the weighted addition of the maximum value of the error, the error average, and the error variance is calculated.
This second objective function is an evaluation function of the error relating to the original node. For example, when only the maximum value of the error is a problem, the weight of the maximum error may be set to “1”, and the average and the error variance may be set to “0”. Other than that, when weights are to be uniformly allocated to the maximum error, the error average, and the error variance, as in the case of the first objective function in the process P7, for example, the products of the weights and their values are all equal. If it is determined from the beginning, or if it is determined from the beginning, for example, the values of the weighting factors may all be previously set to “1 /”.
The ratio may be determined based on the ratio of each weight to the objective function.

【0126】処理P12では、処理P11で求めた第2
目的関数値に対する閾値判定を行なう。例えば、最大誤
差の重みを“1”、誤差平均と誤差分散については
“0”とした時には、処理P1において、最初に入力し
た、近似精度誤差の値そのものを閾値とすればよい。こ
の場合は、全てのデータが近似精度以内か否かの判定を
行なっていることになる。閾値判定の結果、閾値より大
きいと判定されたときは処理P13に移行し、そうでな
いときは、処理P14へと移行する。
In process P12, the second P2 obtained in process P11
A threshold is determined for the objective function value. For example, when the weight of the maximum error is “1” and the error average and error variance are “0”, in the process P1, the value of the approximation accuracy error input first may be used as the threshold. In this case, it is determined whether all the data are within the approximation accuracy. As a result of the threshold value determination, when it is determined that the value is larger than the threshold value, the process shifts to a process P13; otherwise, the process shifts to a process P14.

【0127】処理P13では、元の節点数に増分量を加
算することで、変更後の節点数を得る。その際の増分量
は、予め決めておく。そして、節点数を所定量増加させ
ると処理P4に戻り、節点候補の決定以降の一連の処理
を行い、処理P12で第2目的関数の値が閾値以下と判
定されるまで、これらの一連の処理を繰り返す。
In process P13, the changed number of nodes is obtained by adding the increment to the original number of nodes. The increment at that time is determined in advance. When the number of nodes is increased by a predetermined amount, the process returns to the process P4, and a series of processes after the determination of the node candidates are performed. repeat.

【0128】そして処理P12で第2目的関数の値が閾
値以下と判定されると上述のように処理P14に移行す
るが、処理P14では、初期時刻と時間間隔量、およ
び、求まった節点候補のインデックス番号とその時のデ
ータ値を出力する。この場合の出力データの形式は、図
16の(a) のようになる。
If it is determined in step P12 that the value of the second objective function is equal to or smaller than the threshold value, the process proceeds to step P14 as described above. Outputs the index number and the data value at that time. The format of the output data in this case is as shown in FIG.

【0129】なお、インデックスの出力に関しては、節
点候補の個数が最初に入力した1次元時系列データの個
数の半分以下か、以上かによって切替えて出力する方法
もある。つまり、半分以下の時は、それを示す識別子と
節点候補のインデックス番号を出力し、以上の場合は、
それを示す識別子と節点候補以外のインデックスを列記
する。また、扱う1次元時系列データの初期時刻と時間
間隔が常に一定で、既知の場合は、処理P14での出力
において、初期時刻と時間間隔を省略してもよい。
As for the output of the index, there is a method of switching and outputting depending on whether the number of node candidates is less than or equal to half or less than the number of one-dimensional time series data inputted first. In other words, when the number is less than half, the identifier indicating the number and the index number of the node candidate are output.
The identifiers and the indexes other than the node candidates are listed. If the initial time and the time interval of the one-dimensional time series data to be handled are always constant and are known, the initial time and the time interval may be omitted in the output of the process P14.

【0130】このように、本実施の形態1によれば、1
次元時系列データを構成する各データのなかから初期の
節点候補を決定し、補間関数を用いてこの初期の節点候
補から元の1次元時系列データを近似する1次元時系列
データを生成して、これらの誤差を算出,評価し、その
誤差評価が所期の範囲内に収まるように節点候補を移動
させて準最適な節点候補を算出し、この補間関数を用い
て準最適な節点候補から元の1次元時系列データを近似
する1次元時系列データを生成して、これらの誤差を算
出,評価し、その誤差評価が所期の範囲内に収まらない
ならば、節点数を増やして以上の処理を繰り返すことに
より、節点の位置と個数の両者に関して最適化を行い、
節点以外のデータについてはこれを伝送しないことによ
りデータを圧縮するようにしたので、与えられた1次元
時系列データの性質に合わせた圧縮が行なうことができ
る。また、そのデータの圧縮率は近似精度によってコン
トロールされるので、伸長後の誤差は前もって把握する
ことができる。
As described above, according to the first embodiment, 1
Initial node candidates are determined from among the data constituting the dimensional time-series data, and one-dimensional time-series data approximating the original one-dimensional time-series data is generated from the initial node candidates using an interpolation function. Calculate and evaluate these errors, move the node candidates so that the error evaluation falls within the expected range, calculate the sub-optimal node candidates, and use this interpolation function to calculate the sub-optimal node candidates. Generate one-dimensional time-series data that approximates the original one-dimensional time-series data, calculate and evaluate these errors, and if the error evaluation does not fall within the expected range, increase the number of nodes. By repeating the process of, optimization is performed on both the position and number of nodes,
Since data other than nodes is not transmitted, the data is compressed, so that compression can be performed in accordance with the properties of given one-dimensional time-series data. Further, since the compression ratio of the data is controlled by the approximation accuracy, the error after decompression can be grasped in advance.

【0131】実施の形態2.実施の形態1では1次元時
系列データ圧縮処理をソフトウエアにより実現したが、
このデータ圧縮処理は専用のハードウエアにより実現し
てもよい。図4は図1の処理フローを専用ハード化した
1次元時系列データ圧縮装置を示すものであり、図にお
いて、40aは1次元時系列データとその近似精度値の
入力を行う入力手段、10aはこの1次元時系列データ
を近似する補間関数が通過する節点の候補を算出する節
点候補算出手段、10bはこの節点候補算出手段10a
により算出された節点候補の位置を最適化する節点位置
最適化手段、10cはこの節点位置最適化手段10bに
より得られた節点を通る補間関数と元の1次元時系列デ
ータとの誤差が入力手段40aで入力した近似精度値に
応じた値を満足しているか否かを判定する判定手段、1
0dはこの判定手段10cで近似精度を満足していない
と判定された場合に、節点数を変化させる節点数変更手
段、40bは判定手段10cにより、節点を通る補間関
数と元の1次元時系列データとの誤差が入力手段40a
で入力した近似精度値に応じた値を満足している場合に
圧縮情報としてこの節点およびそのインデックスを出力
する出力手段である。
Embodiment 2 In the first embodiment, the one-dimensional time-series data compression processing is realized by software.
This data compression processing may be realized by dedicated hardware. FIG. 4 shows a one-dimensional time-series data compression apparatus in which the processing flow of FIG. 1 is implemented as dedicated hardware. The node candidate calculating means 10b for calculating a candidate of a node through which an interpolation function approximating the one-dimensional time-series data passes is a node candidate calculating means 10a.
Position optimization means 10c for optimizing the position of the node candidate calculated by the above-described method. The error between the interpolation function passing through the node obtained by the node position optimization means 10b and the original one-dimensional time series data is input to Determining means for determining whether or not a value corresponding to the approximation accuracy value input in 40a is satisfied;
0d is a node number changing means for changing the number of nodes when the determination means 10c determines that the approximation accuracy is not satisfied. 40b is an interpolation function passing through the node and the original one-dimensional time series. The error from the data is input means 40a.
Output means for outputting this node and its index as compression information when a value corresponding to the approximation accuracy value input in step (1) is satisfied.

【0132】次に動作について説明する。図4に示すよ
うに、入力手段40aにおいて、圧縮すべき1次元時系
列データとその近似精度値を入力し、節点候補算出手段
10aにおいて、1次元時系列データを構成する全ての
1次元データのなかから節点候補を算出し、所定の補間
関数がこの節点データを通ることにより元の1次元時系
列データを近似した1次元時系列データを生成できるよ
うな節点候補を算出し、節点位置最適化手段10bにお
いて、この節点候補を移動して節点位置の最適化を行
い、判定手段10cにおいて、この最適化を行った節点
候補を通る所定の補間曲線と元の1次元時系列データと
の誤差に基づく値が入力手段40aにおいて入力した近
似精度値の範囲内か否かを判定し、近似精度の範囲内で
あれば、直ちに出力手段40bにより節点位置の最適化
を行った節点候補とそのインデックスを圧縮した1次元
時系列データとして出力する。
Next, the operation will be described. As shown in FIG. 4, one-dimensional time-series data to be compressed and its approximation accuracy value are input to input means 40a, and node candidate calculating means 10a outputs all the one-dimensional data constituting the one-dimensional time-series data. Among them, a node candidate is calculated, and a predetermined interpolation function passes through the node data to calculate a node candidate that can generate one-dimensional time series data approximating the original one-dimensional time series data, and optimizes the position of the node. In the means 10b, the node candidate is moved to optimize the position of the node. In the determination means 10c, the error between a predetermined interpolation curve passing through the optimized node candidate and the original one-dimensional time-series data is calculated. It is determined whether or not the value based on the value is within the range of the approximation accuracy value input by the input unit 40a. If the value is within the range of the approximation accuracy, the node position is immediately optimized by the output unit 40b. Node candidate is output as one-dimensional time series data obtained by compressing the index.

【0133】また、判定手段10cにおいて、近似精度
の範囲内に入らないことが判明すれば、節点数変更手段
10dにおいて、節点数を適宜増加あるいは減少して節
点数の最適化を行う。この節点数変更手段10dにより
節点数の変更を行った後に、節点候補算出手段10aに
戻って再度節点候補の算出を行い、以下同様の処理を繰
り返す。
If the judging means 10c finds out of the range of the approximation accuracy, the number of nodes changing means 10d optimizes the number of nodes by appropriately increasing or decreasing the number of nodes. After the number of nodes is changed by the node number changing means 10d, the process returns to the node candidate calculating means 10a to calculate the node candidates again, and the same processing is repeated thereafter.

【0134】図5は図4の1次元時系列データ圧縮装置
のより詳細な構成を示すものである。図において、40
aは外部よりデータ圧縮すべき1次元時系列データおよ
びその近似精度を入力するための入力手段、11はこの
1次元時系列データに対しインデックスを付加するイン
デックス付加手段、12はこの1次元時系列データを近
似する補間関数が通過する節点の初期の個数を算出する
初期節点数算出手段、13は補間関数が通過する節点の
候補を決定する節点候補決定手段、14はこの節点候補
を通る補間関数により節点候補の間にデータを補間する
補間実行手段、15はこの補間関数により得られた1次
元時系列データと元の1次元時系列データとの間の誤差
を算出する誤差算出手段、16はこの誤差の評価関数で
ある第1の目的関数値を算出する第1目的関数算出手
段、17はこの節点候補を適宜移動して準最適節点候補
を決定する準最適節点候補決定手段、18はこの準最適
節点候補を通る補間関数により準最適節点候補の間にデ
ータを補間する補間実行手段、19はこの補間関数によ
り得られた1次元時系列データと元の1次元時系列デー
タとの間の誤差を算出する誤差算出手段、20はこの誤
差の評価関数である第2の目的関数値を算出する第2目
的関数算出手段、21はこの第2目的関数の関数値が元
の1次元時系列の近似精度に応じた閾値を越えたか否か
を判定する閾値判定手段、22は第2目的関数の関数値
が元の1次元時系列データの近似精度に応じた閾値を越
えた場合に節点数を変更する節点数変更手段、40bは
この第2目的関数の関数値が元の1次元時系列データの
近似精度に応じた閾値を越えない場合に準最適節点候補
を元の1次元時系列データの圧縮データとして、インデ
ックスとともに出力する出力手段である。
FIG. 5 shows a more detailed configuration of the one-dimensional time-series data compression apparatus of FIG. In the figure, 40
a is input means for inputting one-dimensional time series data to be data-compressed from outside and its approximation accuracy; 11 is an index adding means for adding an index to the one-dimensional time series data; and 12 is this one-dimensional time series data. Initial node number calculating means for calculating the initial number of nodes passing by the interpolation function approximating the data, 13 is a node candidate determining means for determining candidates of nodes passing by the interpolation function, and 14 is an interpolation function passing through the node candidates Interpolation executing means for interpolating data between node candidates according to the following formula: 15 is an error calculating means for calculating an error between the one-dimensional time-series data obtained by the interpolation function and the original one-dimensional time-series data; A first objective function calculating means 17 for calculating a first objective function value, which is an evaluation function of the error, is a sub-optimal node for appropriately moving the node candidate to determine a sub-optimal node candidate. A candidate determining means 18 is an interpolation executing means for interpolating data between the sub-optimal node candidates by an interpolation function passing through the sub-optimal node candidates, and 19 is a one-dimensional time series data obtained by the interpolation function and an original one-dimensional data. Error calculating means for calculating an error between the time series data, 20 is a second objective function calculating means for calculating a second objective function value which is an evaluation function of the error, and 21 is a function value of the second objective function. Is a threshold value determining means for determining whether or not exceeds a threshold value according to the approximation accuracy of the original one-dimensional time series, and a threshold value 22 corresponding to the function value of the second objective function corresponding to the approximation accuracy of the original one-dimensional time series data A node number changing means 40b for changing the number of nodes when the value exceeds the threshold value, a sub-optimal node candidate is selected when the function value of the second objective function does not exceed a threshold value according to the approximation accuracy of the original one-dimensional time-series data. Compressed data of original one-dimensional time series data As an output means for outputting with the index.

【0135】次に動作について説明する。まず、入力手
段40aでは、データ圧縮すべき1次元時系列データ
と、これを近似する補間関数の近似精度値の入力を行な
う。インデックス付加手段11では1次元時系列データ
に対しその時刻の順にインデックスをつける。この時刻
としては1次元時系列データのサンプル時刻や発生時刻
や入力時刻等を用いることができる。なお、このインデ
ックスは時刻の代わりに順次増加するデータや順次減少
するデータを用いてもよい。初期節点数算出手段12で
は初期の節点数を算出する。その際に使用する節点数の
初期値は、補間関数の種類に応じて決まるため、予め、
その初期値を設定しておけばよく、従って、例えば、初
期のデータ数に対する比を予め決めておくことでこれを
算出することができる。ここでは、図2の場合と同様
に、使用する節点数の初期値として1次元時系列データ
全体の個数の1/a という形で(但し、a>0 とする)、初
期の節点数を算出するものとする。
Next, the operation will be described. First, the input means 40a inputs one-dimensional time-series data to be data-compressed and an approximation accuracy value of an interpolation function that approximates the data. The index adding means 11 adds an index to the one-dimensional time-series data in order of the time. As this time, a sample time, an occurrence time, an input time, or the like of the one-dimensional time-series data can be used. It should be noted that the index may use data that increases sequentially or data that decreases sequentially instead of the time. The initial node number calculation means 12 calculates the initial node number. The initial value of the number of nodes used at that time is determined according to the type of the interpolation function.
The initial value may be set, and therefore, for example, this can be calculated by previously determining the ratio to the initial number of data. Here, as in the case of FIG. 2, the initial number of nodes is calculated as an initial value of the number of nodes to be used in the form of 1 / a of the total number of one-dimensional time-series data (where a> 0). It shall be.

【0136】節点候補決定手段13では、データ圧縮す
べき1次元時系列データの中から、その始めと終りのデ
ータを必ず含み、かつ残りのデータについてはランダム
な間隔でデータを選択し、これらを合計すれば上述の算
出した節点数と同数となるように節点候補を決定する。
この操作は図13あるいは図14に示すものと同様に行
う。この節点候補決定手段13で行う操作は節点候補の
位置の初期値を決めるものであり、この種の問題には乱
数を用いるのが有効であることが知られているが、本実
施の形態2の場合でも、乱数を用いて節点位置を選択し
た方が近似等間隔で選択した場合よりも実験的に良い値
が得られている。
The node candidate determining means 13 always includes data at the beginning and end of the one-dimensional time-series data to be compressed, and selects data at random intervals for the remaining data. The node candidates are determined so that the total is equal to the calculated number of nodes.
This operation is performed in the same manner as that shown in FIG. 13 or FIG. The operation performed by the node candidate determining means 13 is to determine the initial value of the position of the node candidate, and it is known that it is effective to use random numbers for this kind of problem. Even in the case of, a better value is experimentally obtained when the node positions are selected using random numbers than when the nodes are selected at approximately equal intervals.

【0137】補間実行手段14ではインデックス番号を
独立変数とする補間関数により、各節点候補の間を補間
するデータを発生して、元の1次元時系列データを近似
する1次元時系列データを得、これと元の1次元時系列
データとの誤差を算出する。この補間関数は図2の場合
と同様、スプライン関数や離散フーリエ変換を用いた級
数展開表現、離散コサイン変換を用いた級数展開表現な
どを使用できる。
The interpolation executing means 14 generates data for interpolating between the node candidates by an interpolation function using the index number as an independent variable, and obtains one-dimensional time-series data approximating the original one-dimensional time-series data. , And an error between this and the original one-dimensional time-series data. As the interpolation function, a series expansion expression using a spline function or a discrete Fourier transform, a series expansion expression using a discrete cosine transform, or the like can be used as in the case of FIG.

【0138】誤差算出手段15では、図14のように、
節点候補以外の1次元時系列データと補間関数との誤差
を算出する。図14の場合、誤差の算出は絶対値誤差を
用いて行っているが、この誤差算出は2乗誤差などを用
いて行ってもよい。
In the error calculating means 15, as shown in FIG.
An error between the one-dimensional time-series data other than the node candidates and the interpolation function is calculated. In the case of FIG. 14, the calculation of the error is performed using the absolute value error, but the calculation of the error may be performed using a square error or the like.

【0139】第1目的関数算出手段16では、誤差算出
手段15で算出した誤差から、第1目的関数の値を算出
する。この第1目的関数は、誤差算出手段15で算出し
た誤差の最大値と誤差平均と誤差分散をまず求め、これ
らを重み付け加算して算出することができる。
The first objective function calculating means 16 calculates the value of the first objective function from the error calculated by the error calculating means 15. This first objective function can be calculated by first obtaining the maximum value of the error calculated by the error calculating means 15, the error average, and the error variance, and weighting and adding them.

【0140】準最適節点候補決定手段17では第1目的
関数の値が最小となるように節点候補の変更を繰り返し
行ない、準最適節点候補を決定するのであるが、これに
ついては、図2の場合と同様,図10に示した第1の方
法と図11に示した第2の方法の2通りがある。
The sub-optimal node candidate determining means 17 repeatedly changes the node candidates so that the value of the first objective function is minimized, and determines the sub-optimal node candidates. Similarly, there are two methods, the first method shown in FIG. 10 and the second method shown in FIG.

【0141】図10による第1の方法、または図11に
よる第2の方法によって、準最適節点候補が決定された
ならば、図5の補間実行手段18により、準最適節点候
補を前述の補間関数により、補間実行手段14と同様に
補間する。次に、誤差算出手段19によって、補間によ
り得られた1次元時系列データと元の1次元時系列デー
タとの誤差を誤差算出手段15と同様に算出する。
When the sub-optimal node candidates are determined by the first method according to FIG. 10 or the second method according to FIG. 11, the sub-optimal node candidates are replaced by the interpolation function Thus, interpolation is performed in the same manner as in the interpolation executing means 14. Next, the error calculator 19 calculates an error between the one-dimensional time-series data obtained by interpolation and the original one-dimensional time-series data in the same manner as the error calculator 15.

【0142】第2目的関数算出手段20では、誤差算出
手段19で算出した誤差から、この誤差の最大値と誤差
平均と誤差分散との重み付け加算で定義された第2目的
関数の値を算出する。この第2目的関数が本来の節点に
関する誤差の評価関数である。そしてその重みの値は、
例えば、誤差の最大値だけが問題となる時は、最大誤差
の重みを“1”、誤差平均と誤差分散については“0”
とすればよい。それ以外にも、第1目的関数算出手段1
6における第1目的関数の時と全く同様に、重みを最大
誤差、誤差平均、誤差分散について均等に割り振りたい
ときには、例えば各重みとそれらの値の積が全て等しく
なるように決めたり、最初から決めておく場合は、例え
ば重み係数の値を予め全て“1/3”とするなどのよう
に決めるようにすればよく、また、第1目的関数の時
の、各重みに対する割合などを基準として決定してもよ
い。
The second objective function calculating means 20 calculates, from the error calculated by the error calculating means 19, the value of the second objective function defined by weighted addition of the maximum value of the error, the error average and the error variance. . This second objective function is an evaluation function of the error relating to the original node. And the value of the weight is
For example, when only the maximum value of the error is a problem, the weight of the maximum error is “1”, and the error average and error variance are “0”.
And it is sufficient. In addition, the first objective function calculating means 1
In the same way as in the case of the first objective function in No. 6, when weights are to be equally allocated to the maximum error, the error average, and the error variance, for example, the product of each weight and their values may be determined to be equal, or from the beginning, When it is determined, the values of the weighting factors may be previously determined to be all "1/3", for example, and based on the ratio to each weight at the time of the first objective function. You may decide.

【0143】閾値判定手段21では、第2目的関数算出
手段20で求めた第2目的関数値に対する閾値判定を行
なう。例えば、最大誤差の重みを“1”、誤差平均と誤
差分散については“0”とした時には、入力手段40a
において、最初に入力した、近似精度誤差を閾値とすれ
ばよい。この場合は、全てのデータが近似精度以内か否
かの判定を行なっていることになる。閾値判定の結果、
閾値より大きいと判定されたときは節点数変更手段22
に移行し、そうでないときは、出力手段40bへと移行
する。
The threshold value judging means 21 makes a threshold value judgment for the second objective function value obtained by the second objective function calculating means 20. For example, when the weight of the maximum error is “1” and the error average and error variance are “0”, the input means 40a
In, the approximation accuracy error input first may be used as the threshold. In this case, it is determined whether all the data are within the approximation accuracy. As a result of the threshold judgment,
If it is determined that the value is larger than the threshold value, the number of nodes changing means 22
Otherwise, the process proceeds to the output means 40b.

【0144】節点数変更手段22では、節点数の変更を
元の節点数に増分を加算することで得る。その際の増分
量は、予め決めておく。そして、節点数を所定量増加さ
せると節点候補決定手段13に戻り、節点候補の決定以
降の一連の処理を行い、閾値判定手段21で第2目的関
数の値が閾値以下と判定されるまで、これらの一連の処
理を繰り返す。
The node number changing means 22 obtains the change in the node number by adding an increment to the original node number. The increment at that time is determined in advance. Then, when the number of nodes is increased by a predetermined amount, the process returns to the node candidate determining means 13, and a series of processes after the determination of the node candidates is performed. These series of processes are repeated.

【0145】そして閾値判定手段21で第2目的関数の
値が閾値以下と判定されると上述のように出力手段40
bに移行するが、出力手段40bでは、初期時刻と時間
間隔量、および、求まった節点候補のインデックス番号
とその時のデータ値を出力する。この場合の出力データ
の形式は、図16の(a) のようになる。
When the threshold value determining means 21 determines that the value of the second objective function is equal to or smaller than the threshold value, as described above, the output means 40
The output means 40b outputs the initial time and the amount of time interval, the index number of the obtained node candidate, and the data value at that time. The format of the output data in this case is as shown in FIG.

【0146】なお、インデックスの出力に関しては、節
点候補の個数が最初に入力した1次元時系列データの個
数の半分以下か、以上かによって切替えて出力する方法
もある。つまり、半分以下の時は、それを示す識別子と
節点候補のインデックス番号を出力し、以上の場合は、
それを示す識別子と節点候補以外のインデックスを列記
する。また、扱う1次元時系列データの初期時刻と時間
間隔が常に一定で、既知の場合は、出力手段40bでの
出力において、初期時刻と時間間隔を省略してもよい。
As for the output of the index, there is a method of switching and outputting depending on whether the number of node candidates is less than or equal to half or less than the number of one-dimensional time series data inputted first. In other words, when the number is less than half, the identifier indicating the number and the index number of the node candidate are output.
The identifiers and the indexes other than the node candidates are listed. When the initial time and the time interval of the one-dimensional time series data to be handled are always constant and known, the initial time and the time interval may be omitted in the output by the output unit 40b.

【0147】このように、本実施の形態2によれば、1
次元時系列データを構成する各データのなかから初期の
節点候補を決定し、補間関数を用いてこの初期の節点候
補から元の1次元時系列データを近似する1次元時系列
データを生成して、これらの誤差を算出,評価し、その
誤差評価が所期の範囲内に収まるように節点候補を移動
させて準最適な節点候補を算出し、この補間関数を用い
て準最適な節点候補から元の1次元時系列データを近似
する1次元時系列データを生成して、これらの誤差を算
出,評価し、その誤差評価が所期の範囲内に収まらない
ならば、節点数を増やして以上の処理を繰り返すことに
より、節点の位置と個数の両者に関して最適化を行い、
節点以外のデータについてはこれを伝送しないことによ
りデータを圧縮する処理を専用ハードウエアにより行う
ようにしたので、与えられた1次元時系列データの性質
に合わせた圧縮を迅速に行なうことができる。また、そ
のデータの圧縮率は近似精度によってコントロールされ
るので、伸長後の誤差は前もって把握することができ
る。
As described above, according to the second embodiment, 1
Initial node candidates are determined from among the data constituting the dimensional time-series data, and one-dimensional time-series data approximating the original one-dimensional time-series data is generated from the initial node candidates using an interpolation function. Calculate and evaluate these errors, move the node candidates so that the error evaluation falls within the expected range, calculate the sub-optimal node candidates, and use this interpolation function to calculate the sub-optimal node candidates. Generate one-dimensional time-series data that approximates the original one-dimensional time-series data, calculate and evaluate these errors, and if the error evaluation does not fall within the expected range, increase the number of nodes. By repeating the process of, optimization is performed on both the position and number of nodes,
Since data other than the nodes is not transmitted and the processing for compressing the data is performed by the dedicated hardware, the compression in accordance with the property of the given one-dimensional time-series data can be performed quickly. Further, since the compression ratio of the data is controlled by the approximation accuracy, the error after decompression can be grasped in advance.

【0148】実施の形態3.次に、本発明の実施の形態
3の1次元時系列データ圧縮方法について、図面を参照
しながら説明する。この実施の形態3は、実施の形態1
の1次元時系列データ圧縮方法において、いわゆる0
列、即ち、1次元時系列データの各データがほぼ0とみ
なし得る範囲内に収まるものが連続する場合に、その処
理を省略できるようにしたものである。
Embodiment 3 FIG. Next, a one-dimensional time-series data compression method according to the third embodiment of the present invention will be described with reference to the drawings. The third embodiment is different from the first embodiment.
In the one-dimensional time-series data compression method of
If a series of data, ie, one-dimensional time-series data that falls within a range that can be regarded as substantially zero, continues, the processing can be omitted.

【0149】図6は本発明の実施の形態3における1次
元時系列データ圧縮方法の処理の流れを示すものであ
る。この図6に示したように、全体の処理は図1に示し
たものと同様であるが、この実施の形態3では、入力処
理P4aの直後に判定処理P1fを設け、入力処理P4
aで入力された1次元時系列データが近似精度内におさ
まるものの場合は直ちに出力処理P4bに移行し、近似
精度内に収まらない場合のみ、図1と同様に、節点候補
の算出処理P1a等の処理を行うようにしたものであ
る。
FIG. 6 shows a processing flow of the one-dimensional time-series data compression method according to the third embodiment of the present invention. As shown in FIG. 6, the entire processing is the same as that shown in FIG.
If the one-dimensional time-series data input in step a is within the approximation accuracy, the process immediately proceeds to the output process P4b. The processing is performed.

【0150】図7は、図6の処理をより詳しく示すもの
で、この図7の処理は、例えば図3のコンピュータによ
り、第11段階S11から第20段階S20までで実行
される。この場合、図3のコンピュータのメインメモリ
3には、図7の処理に相当するプログラムが予め、ある
いはプログラム記録媒体からロードされる等して記憶さ
れている。第11段階S11は処理P21から処理P2
3までで、第12段階S12は処理P24で、第13段
階S13は処理P25で、第14段階S14は処理S2
6と処理S27とで、第15段階S15は処理P28
で、第16段階S16は処理P29で、第17段階S1
7は処理P30と処理P31とで、第18段階S18は
処理P32で、第19段階S19は処理P25から処理
P34までで、第20段階S20は処理P35で実行さ
れる。
FIG. 7 shows the processing of FIG. 6 in more detail. The processing of FIG. 7 is executed by, for example, the computer of FIG. 3 from the eleventh step S11 to the twentieth step S20. In this case, a program corresponding to the processing in FIG. 7 is stored in the main memory 3 of the computer in FIG. 3 in advance or by being loaded from a program recording medium or the like. The eleventh step S11 is performed from the processing P21 to the processing P2.
The twelfth step S12 is processing P24, the thirteenth step S13 is processing P25, and the fourteenth step S14 is processing S2.
6 and processing S27, the fifteenth stage S15 is processing P28
The sixteenth step S16 is a process P29, and the seventeenth step S1
7 is a process P30 and a process P31, an eighteenth stage S18 is a process P32, a nineteenth stage S19 is a process P25 to a process P34, and a twentieth stage S20 is a process P35.

【0151】以上のように構成された各処理について詳
細に説明する。処理P21から処理P23までの処理に
ついては、図2に示す,本発明の実施の形態1の処理P
1から処理P3までの処理と同様のものである。処理P
24については、与えられた1次元時系列データの全て
のデータ値の絶対値が、処理21において入力された近
似精度以下であるか否かについての判定を行なう。その
際、近似精度が入力された精度以下であると判定された
場合は、いわゆる0列に該当する場合であり、この場
合、本実施の形態3の情報圧縮方法では情報圧縮が行わ
れないので、直ちに処理P35に移行する。これに対
し、少なくとも1つのデータ値の絶対値が近似精度より
大きい場合は、処理P25に移行する。
Each processing configured as described above will be described in detail. The processing from processing P21 to processing P23 is the processing P of the first embodiment of the present invention shown in FIG.
The processing is the same as the processing from 1 to P3. Processing P
Regarding 24, it is determined whether or not the absolute values of all the data values of the given one-dimensional time-series data are lower than the approximation accuracy input in the process 21. At this time, when it is determined that the approximation accuracy is equal to or lower than the input accuracy, it corresponds to a so-called zero column. In this case, the information compression method of the third embodiment does not perform information compression. Then, the process immediately proceeds to the process P35. On the other hand, when the absolute value of at least one data value is greater than the approximation accuracy, the processing shifts to processing P25.

【0152】処理P25から処理P34までの処理につ
いては、図2における処理P4から処理P13までの処
理と同様である。処理P35については、第13段階S
13ないし第19段階S19を経て来たた場合には、本
発明の実施の形態1の処理P14と同様に図16(a) の
形式でデータを出力する。これに対し、処理P24によ
って直接処理P35に移行して来た場合には、図16に
おける(b) の形式で出力する。つまり、初期時刻と時間
間隔と、全てのデータ値が“0”である旨を示す識別子
を出力する。
The processing from processing P25 to processing P34 is the same as the processing from processing P4 to processing P13 in FIG. Regarding the process P35, the thirteenth stage S
If the process has passed through the thirteenth to nineteenth steps S19, the data is output in the format of FIG. On the other hand, when the process directly proceeds to the process P35 by the process P24, the output is performed in the format of (b) in FIG. That is, it outputs an initial time, a time interval, and an identifier indicating that all data values are “0”.

【0153】このように、本実施の形態3によれば、デ
ータが近似精度内で“0”とみなし得る範囲内に収まる
場合には、その圧縮処理を省略できるようにしたので、
“0”とみなせるデータが連続する場合にはその処理を
省略でき、特にその個数が多い場合にはより高速なデー
タ圧縮処理が可能となる効果がある。
As described above, according to the third embodiment, if the data falls within a range that can be regarded as “0” within the approximation accuracy, the compression processing can be omitted.
When data that can be regarded as “0” is continuous, the processing can be omitted. Particularly when the number of data is large, there is an effect that higher-speed data compression processing can be performed.

【0154】実施の形態4.実施の形態3では1次元時
系列データ圧縮処理をソフトウエアにより実現したが、
このデータ圧縮処理は専用のハードウエアにより実現し
てもよい。図8は図6の処理フローを専用ハード化した
1次元時系列データ圧縮装置を示すものであり、図にお
いて、図4と同一符号は同一または相当するものを示
す。10fは判定手段であり、入力手段40aと節点候
補算出手段10aとの間に設けられ、入力手段40aで
入力された1次元時系列データが近似精度内におさまる
ものの場合は直ちに出力手段40bに移行し、近似精度
内に収まらない場合のみ、図6と同様に、節点候補の算
出手段10aに移行し一連のデータ圧縮処理を行うよう
に、処理の切換制御を行うものである。
Embodiment 4 In the third embodiment, the one-dimensional time-series data compression processing is realized by software.
This data compression processing may be realized by dedicated hardware. FIG. 8 shows a one-dimensional time-series data compression apparatus in which the processing flow of FIG. 6 is implemented as dedicated hardware. In the figure, the same reference numerals as those in FIG. 4 denote the same or corresponding elements. Reference numeral 10f denotes a judgment means which is provided between the input means 40a and the node candidate calculating means 10a. Only when it does not fall within the approximation accuracy, similarly to FIG. 6, the processing shifts to the node candidate calculating means 10a, and processing switching control is performed so as to perform a series of data compression processing.

【0155】図9は図8の1次元時系列データ圧縮装置
のより詳細な構成を示すものであり、図において、図5
と同一符号は同一または相当するものを示す。23は入
力手段40aとインデックス付加手段11との間に設け
られた近似精度内判定手段であり、図8の判定手段10
fと同様、入力手段40aとインデックス付加手段11
との間に設けられている。
FIG. 9 shows a more detailed configuration of the one-dimensional time-series data compression apparatus shown in FIG.
The same reference numerals indicate the same or corresponding elements. Numeral 23 denotes an approximation accuracy determination means provided between the input means 40a and the index addition means 11, and the determination means 10 shown in FIG.
f, input means 40a and index adding means 11
And is provided between them.

【0156】次に図9の動作について説明する。この図
9の1次元時系列データ圧縮装置は、入力手段40aと
インデックス付加手段11との間に近似精度内判定手段
23を有しており、近似精度内判定手段23が、入力手
段40aで入力された1次元時系列データが近似精度内
におさまるか否かの判定を行い、近似精度内におさまる
場合は本1次元時系列データ圧縮装置によるデータ圧縮
動作が行われない場合であるので、直ちに出力手段40
bに移行し、近似精度内に収まらない場合のみ、図6と
同様に、インデックス付加手段11に移行し一連のデー
タ圧縮処理を行うように、処理の切換制御を行うもので
ある。
Next, the operation of FIG. 9 will be described. The one-dimensional time-series data compression device of FIG. 9 has an in-approximation-accuracy determining unit 23 between the input unit 40a and the index adding unit 11, and the in-approximation-in-determining unit 23 receives the input from the input unit 40a. It is determined whether or not the obtained one-dimensional time-series data falls within the approximation accuracy. If the one-dimensional time-series data falls within the approximation accuracy, the data compression operation by the present one-dimensional time-series data compression apparatus is not performed. Output means 40
Only when the processing shifts to b and does not fall within the approximation accuracy, similarly to FIG. 6, the processing shifts to the index adding means 11 and performs processing switching control so as to perform a series of data compression processing.

【0157】このように、本実施の形態4によれば、デ
ータが近似精度内で“0”とみなし得る範囲内に収まる
場合には、その圧縮処理を省略できるようにしたので、
“0”とみなせるデータが連続する場合にその処理を省
略でき、特にその個数が多い場合にはより高速なデータ
圧縮処理が可能となり、しかもこれらの処理を専用ハー
ドウエアにより行うようにしたので、より一層の高速化
が可能となる効果がある。
As described above, according to the fourth embodiment, when the data falls within a range that can be regarded as “0” within the approximation accuracy, the compression processing can be omitted.
When data that can be regarded as “0” is continuous, the processing can be omitted. Especially when the number of data is large, higher-speed data compression processing becomes possible, and these processings are performed by dedicated hardware. There is an effect that the speed can be further increased.

【0158】実施の形態5.以下では、実施の形態1ま
たは実施の形態3の圧縮方法によりデータ圧縮された1
次元時系列データを伸長する方法について説明する。こ
の実施の形態5では、まず、圧縮されたデータの伸長に
関して、図16の(a) の形式だけで圧縮されたデータが
供給されていることが保証されている場合について説明
する。
Embodiment 5 FIG. In the following, one data compressed by the compression method according to the first or third embodiment will be described.
A method for expanding the dimensional time-series data will be described. In the fifth embodiment, first, a description will be given of a case where it is guaranteed that compressed data is supplied only in the format of FIG.

【0159】図17は実施の形態1の圧縮方法によりデ
ータ圧縮された1次元時系列データ、即ち図16の(a)
の形式だけで圧縮されたデータが供給されている場合の
データの伸長方法を示すものである。この伸長方法は3
段階により構成されており、図において、P5aは実施
の形態1による1次元時系列データ圧縮方法で圧縮され
た圧縮データ等を入力する入力処理、P101aは補間
関数によって圧縮データを補間し伸長を行うデータ伸長
処理、P5bは伸長した1次元時系列データを出力する
出力処理である。
FIG. 17 shows one-dimensional time-series data compressed by the compression method according to the first embodiment, that is, FIG.
5 shows a method of decompressing data when compressed data is supplied only in the format of. This extension method is 3
In the figure, P5a is an input process for inputting compressed data or the like compressed by the one-dimensional time-series data compression method according to the first embodiment, and P101a interpolates and decompresses compressed data using an interpolation function. Data decompression processing, P5b, is output processing for outputting decompressed one-dimensional time-series data.

【0160】次にその処理方法について説明する。入力
処理P5aにおいて、実施の形態1による1次元時系列
データ圧縮方法で圧縮された圧縮データと、このデータ
を伸長した時に生成すべきデータの個数を入力する。次
に、データ伸長処理P101aにおいて、データを圧縮
する時に使用したのと同じ補間関数によって圧縮データ
を補間し伸長を行う。そして、出力処理P5bにおい
て、データ伸長処理P101aによって伸長された1次
元時系列データを出力する。
Next, the processing method will be described. In the input process P5a, the compressed data compressed by the one-dimensional time-series data compression method according to the first embodiment and the number of data to be generated when the data is expanded are input. Next, in the data decompression processing P101a, decompression is performed by interpolating the compressed data using the same interpolation function used when compressing the data. Then, in the output process P5b, the one-dimensional time-series data expanded by the data expansion process P101a is output.

【0161】図18はこの図17の伸長方法をより詳し
く示したものである。図において、第1段階S31は図
17の入力処理P5aと同様の入力処理P101から構
成されている。第2段階S32は圧縮データを補間する
データ補間処理P102,伸長したデータを算出するデ
ータ算出処理P103,伸長したデータに対応する時刻
を算出する時刻算出処理P104から構成されている。
第3段階S33は図17の出力処理P5bと同様の出力
処理P105から構成されている。
FIG. 18 shows the expansion method of FIG. 17 in more detail. In the figure, a first stage S31 is composed of an input process P101 similar to the input process P5a in FIG. The second stage S32 includes a data interpolation process P102 for interpolating compressed data, a data calculation process P103 for calculating decompressed data, and a time calculation process P104 for calculating a time corresponding to the decompressed data.
The third step S33 includes an output process P105 similar to the output process P5b in FIG.

【0162】この図18に詳細な処理が示された,図1
7の処理は、例えば、図3のコンピュータにより、第1
段階S31から第3段階S33までで実行される。この
場合、図3のコンピュータのメインメモリ3には、図1
7の処理に相当するプログラムが予め、あるいはプログ
ラム記録媒体からロードされる等して記憶されている。
FIG. 18 shows the detailed processing.
7 is performed by the computer shown in FIG.
The processing is performed in steps S31 to S33. In this case, the main memory 3 of the computer in FIG.
The program corresponding to the process of No. 7 is stored in advance or by being loaded from a program recording medium.

【0163】次にその伸長方法について説明する。ま
ず、その第1段階S31において、入力処理P101に
より、実施の形態1による1次元時系列データ圧縮方法
で圧縮された圧縮データと、このデータを伸長した時に
生成すべきデータの個数を入力する。
Next, the decompression method will be described. First, in the first step S31, the input data P101 is used to input the compressed data compressed by the one-dimensional time-series data compression method according to the first embodiment and the number of data to be generated when the data is expanded.

【0164】次に第2段階S32において、データ補間
処理P102により、データを圧縮する時に使用したの
と同じ補間関数によって圧縮データを補間し、データの
連続化を図り、データ算出処理P103により、その連
続化されたものから必要とする個数分のデータを算出
し、時刻算出処理P104により、初期時間と時間間隔
から時刻を必要とするデータの個数分だけ算出する。但
し、補間関数は、圧縮の時と同様にインデックスを独立
変数とする関数であり、圧縮データのインデックス列の
値を用いて補間関数を生成する。
Next, in the second step S32, the data interpolation processing P102 is used to interpolate the compressed data using the same interpolation function used when compressing the data, thereby achieving data continuity. The required number of data is calculated from the serialized data, and the time calculation process P104 calculates the number of data requiring the time from the initial time and the time interval. However, the interpolation function is a function that uses an index as an independent variable as in the case of compression, and generates an interpolation function using the value of the index sequence of the compressed data.

【0165】そして、第3段階S33において、出力処
理P105により、第2段階S32で算出したデータと
時刻を伸長した1次元時系列データとして出力する。以
上の伸長方法から分かるように、1次元時系列データを
復元する時には、データ数は元のものとは異なった個数
にも伸長できる。これは換言すると、1次元時系列デー
タの時間変更を行なうことが可能であることを意味して
おり、その制御は入力されるデータ数によって行なうこ
とが可能であることを意味している。
Then, in a third step S33, the data calculated in the second step S32 and the time are output as one-dimensional time-series data obtained by extending the time by the output process P105. As can be seen from the above expansion method, when restoring one-dimensional time-series data, the number of data can be expanded to a number different from the original one. In other words, it means that the time of the one-dimensional time-series data can be changed, and that the control can be performed by the number of input data.

【0166】このように、本実施の形態5によれば、実
施の形態1の方法により情報圧縮された1次元時系列デ
ータを伸長でき、しかもその伸長を行うにあたって生成
するデータの個数を元の1次元時系列データに対し任意
に増減でき、かつその際データの性質を損なうことなく
生成データの個数の増減を行うことができる1次元時系
列データの伸長方法が得られる効果がある。
As described above, according to the fifth embodiment, the one-dimensional time-series data compressed by the method of the first embodiment can be expanded. There is an effect that a one-dimensional time-series data decompression method can be obtained which can be arbitrarily increased or decreased with respect to the one-dimensional time-series data and in which case the number of generated data can be increased or decreased without deteriorating the properties of the data.

【0167】実施の形態6.実施の形態5では1次元時
系列データ伸長処理をソフトウエアにより実現したが、
このデータ伸長処理は専用のハードウエアにより実現し
てもよい。図19は図17の処理フローを専用ハード化
した1次元時系列データ伸長装置を示すものであり、実
施の形態2の圧縮装置によりデータ圧縮された1次元時
系列データ、即ち図16の(a) の形式だけで圧縮された
データが供給されている場合のデータの伸長装置を示す
ものである。図において、50aは実施の形態2による
1次元時系列データ圧縮装置で圧縮された圧縮データ等
を入力する入力手段、20aは補間関数によって圧縮デ
ータを補間し伸長を行うデータ伸長手段、50bは伸長
した1次元時系列データを出力する出力手段である。
Embodiment 6 FIG. In the fifth embodiment, the one-dimensional time-series data decompression processing is realized by software.
This data decompression processing may be realized by dedicated hardware. FIG. 19 shows a one-dimensional time-series data decompression device in which the processing flow of FIG. 17 is implemented as dedicated hardware. One-dimensional time-series data compressed by the compression device of the second embodiment, that is, (a) in FIG. 3) shows a data decompression device in the case where compressed data is supplied only in the format of (1). In the figure, 50a is input means for inputting compressed data or the like compressed by the one-dimensional time-series data compression apparatus according to the second embodiment, 20a is data expansion means for interpolating and expanding compressed data by an interpolation function, and 50b is expansion. Output means for outputting the obtained one-dimensional time-series data.

【0168】次にその動作について説明する。入力手段
50aにより、実施の形態2による1次元時系列データ
圧縮装置で圧縮された圧縮データと、このデータを伸長
した時に生成すべきデータの個数を入力する。次に、デ
ータ伸長手段20aにより、データを圧縮する時に使用
したのと同じ補間関数によって圧縮データを補間し伸長
を行う。そして、出力手段50bにより、データ伸長手
段20aによって伸長された1次元時系列データを出力
する。
Next, the operation will be described. The input means 50a inputs the compressed data compressed by the one-dimensional time-series data compression device according to the second embodiment and the number of data to be generated when the data is expanded. Next, the data decompression means 20a interpolates and decompresses the compressed data using the same interpolation function used when compressing the data. Then, the output means 50b outputs the one-dimensional time-series data expanded by the data expansion means 20a.

【0169】図20はこの図10の伸長装置の構成をよ
り詳しく示したものである。図において、50aは図1
9の入力手段50aと同様に構成された入力手段であ
る。21は入力されたデータに対しデータ補間処理を行
うデータ補間手段、22は補間されたデータから伸長さ
れたデータを算出するデータ算出手段、23はデータに
対応する時刻を算出する時刻算出手段である。50bは
図19の出力手段50bと同様に構成された出力手段で
ある。
FIG. 20 shows the configuration of the decompression device shown in FIG. 10 in more detail. In FIG.
Ninth input means 50a. Reference numeral 21 denotes data interpolation means for performing data interpolation processing on input data, reference numeral 22 denotes data calculation means for calculating decompressed data from the interpolated data, and reference numeral 23 denotes time calculation means for calculating a time corresponding to the data. . Reference numeral 50b denotes an output unit configured similarly to the output unit 50b of FIG.

【0170】次にその動作について説明する。まず、入
力手段50aにより、実施の形態2による1次元時系列
データ圧縮装置で圧縮された圧縮データと、このデータ
を伸長した時に生成すべきデータの個数を入力する。次
にデータ補間手段21により、データを圧縮する時に使
用したのと同じ補間関数によって圧縮データを補間し、
データの連続化を図り、データ算出手段22により、そ
の連続化されたものから必要とする個数分のデータを算
出し、時刻算出手段23により、初期時間と時間間隔か
ら時刻を必要とするデータの個数分だけ算出する。但
し、補間関数は、圧縮の時と同様にインデックスを独立
変数とする関数であり、圧縮データのインデックス列の
値を用いて補間関数を生成する。
Next, the operation will be described. First, the input means 50a inputs the compressed data compressed by the one-dimensional time-series data compression device according to the second embodiment and the number of data to be generated when the data is expanded. Next, the data interpolation means 21 interpolates the compressed data using the same interpolation function used when compressing the data,
The data continuity is calculated, the required number of data is calculated by the data calculation means 22 from the continuous data, and the time calculation means 23 converts the data requiring the time from the initial time and the time interval. Calculate for the number. However, the interpolation function is a function that uses an index as an independent variable as in the case of compression, and generates an interpolation function using the value of the index sequence of the compressed data.

【0171】そして、出力手段50bにより、算出した
データと時刻を、伸長した1次元時系列データとして出
力する。このように、本実施の形態6によれば、実施の
形態2の装置により情報圧縮された1次元時系列データ
を専用ハードにより高速に伸長でき、しかもその伸長を
行うにあたって生成するデータの個数を元の1次元時系
列データに対し任意に増減でき、かつその際データの性
質を損なうことなく生成データの個数の増減を行うこと
ができる効果がある。
Then, the output means 50b outputs the calculated data and time as expanded one-dimensional time-series data. As described above, according to the sixth embodiment, the one-dimensional time-series data information compressed by the apparatus according to the second embodiment can be decompressed at high speed by dedicated hardware. The original one-dimensional time-series data can be arbitrarily increased or decreased, and the number of generated data can be increased or decreased without deteriorating the properties of the data.

【0172】実施の形態7.次に、実施の形態3の圧縮
方法によりデータ圧縮された1次元時系列データを伸長
する方法について説明する。この実施の形態7では、図
16(a) の形式と図16(b) の形式のデータが混在して
供給されている場合について説明する。
Embodiment 7 Next, a method for expanding the one-dimensional time-series data compressed by the compression method according to the third embodiment will be described. In the seventh embodiment, a case will be described in which data of the format of FIG. 16A and data of the format of FIG.

【0173】図21は実施の形態3の圧縮方法によりデ
ータ圧縮された1次元時系列データ、即ち、図16(a)
の形式と図16(b) の形式が混在してデータが供給され
ている場合のデータの伸長方法を示すものである。この
伸長方法は4段階により構成されており、図において、
図17と同一符号は同一または相当するものを示す。P
101bは圧縮データの形式の判別を行なうデータ形式
判別処理、P101cは圧縮データが全て“0”である
と判別された場合にその伸長を行う0データ伸長処理で
ある。
FIG. 21 shows one-dimensional time-series data compressed by the compression method according to the third embodiment, that is, FIG.
16 and the format of FIG. 16 (b) are mixed and data is supplied. This stretching method is composed of four steps.
The same reference numerals as those in FIG. 17 indicate the same or corresponding components. P
101b is a data format discriminating process for discriminating the format of the compressed data, and P101c is a 0 data decompressing process for decompressing all the compressed data when it is discriminated to be "0".

【0174】次にその伸長方法について説明する。図1
6(a) の形式でデータが供給された場合、データ形式判
別処理P101bは、そのデータをデータ伸長処理P1
01aに渡し、以下、図17と同様にそのデータを伸長
し、出力処理P5bにより出力する。これに対し、図1
6(b) の形式でデータが供給された場合、データ形式判
別処理P101bは、そのデータを0データ伸長処理P
101cに渡し、所定の期間にわたって全てが“0”の
データを生成しこれを図17と同様に出力処理P5bに
より出力する。
Next, the decompression method will be described. FIG.
When the data is supplied in the format of FIG. 6 (a), the data format discrimination processing P101b converts the data into the data decompression processing P1.
01a, and thereafter decompresses the data in the same manner as in FIG. 17, and outputs the data through output processing P5b. In contrast, FIG.
When the data is supplied in the format of FIG. 6 (b), the data format discrimination processing P101b converts the data to the 0 data decompression processing P101b.
The data is passed to 101c, and all data of "0" is generated for a predetermined period, and is output by the output process P5b as in FIG.

【0175】図22はこの図21の伸長方法をより詳し
く示したものである。この図22に詳細が示された,図
21の処理は例えば図3のコンピュータにより実行され
る。この場合、図3のコンピュータには、図22の処理
に相当するプログラムが予め、あるいはプログラム記録
媒体からロードされる等して記憶されている。
FIG. 22 shows the expansion method of FIG. 21 in more detail. The processing of FIG. 21 whose details are shown in FIG. 22 is executed by, for example, the computer of FIG. In this case, a program corresponding to the processing in FIG. 22 is stored in the computer in FIG. 3 in advance or by being loaded from a program recording medium.

【0176】図において、第1段階S41は図18の入
力処理P101と同様の入力処理P101から構成され
ている。第2段階S42はデータ形式判別処理P10
6,0データ算出処理P107,時刻算出処理P108
から構成されている。第3段階S43は図18の第2段
階S32と同様、データ補間処理P102,データ算出
処理P103,時刻算出処理P104から構成されてい
る。第3段階S44は図18の出力処理P105と同様
の出力処理P105から構成されている。
In the figure, the first stage S41 comprises an input process P101 similar to the input process P101 of FIG. The second step S42 is a data format determination process P10
6,0 data calculation process P107, time calculation process P108
It is composed of The third step S43, like the second step S32 in FIG. 18, includes a data interpolation process P102, a data calculation process P103, and a time calculation process P104. The third step S44 includes an output process P105 similar to the output process P105 in FIG.

【0177】次にその伸長方法について説明する。ま
ず、第1段階S41において、入力処理P101によ
り、1次元時系列データ圧縮方法で圧縮された圧縮デー
タと伸長した時のデータ数を入力する。
Next, a description will be given of the extension method. First, in a first stage S41, the input data P101 is used to input the compressed data compressed by the one-dimensional time-series data compression method and the number of data when decompressed.

【0178】次に第2段階S42において、データ形式
判別処理P106において、圧縮データの形式の判別を
行ない、図16の(b) の形式の場合、つまり、圧縮デー
タが全て“0”であることを示す識別子の場合は、0デ
ータ算出処理P107により、そのデータ数と同数分の
“0”を算出し、時刻算出処理P108により、初期時
間と時間間隔から時刻をデータ数分だけ算出する。これ
ら算出された“0”データとその時刻は第4段階S44
における出力処理P105により1次元時系列データと
して出力される。
Next, in the second step S42, in the data format determination process P106, the format of the compressed data is determined, and in the case of the format shown in FIG. 16B, that is, the compressed data is all "0". In the case of the identifier indicating “0”, the same number of data “0” is calculated by the 0 data calculation process P107, and the time is calculated from the initial time and the time interval by the number of data by the time calculation process P108. The calculated "0" data and the time are stored in the fourth step S44.
Is output as one-dimensional time-series data by the output process P105.

【0179】これに対し、第3段階S43は、第2段階
S42で圧縮データが全て“0”であることを示す識別
子ではないと判別された場合、つまり図16の(a) の形
式の場合で、この時は、図18の第2段階S32と同様
に、圧縮する時に使用した補間関数によって圧縮データ
を補間し、データの連続化を図り、連続化されたものか
ら入力処理で指定した個数分のデータを算出し、初期時
間と時間間隔から時刻をデータと同数分だけ算出する。
但し、補間関数は、圧縮の時と同様にインデックスを独
立変数とする関数で、圧縮データのインデックス列の値
を用いて補間関数を生成する。
On the other hand, in the third step S43, when it is determined in the second step S42 that the compressed data is not an identifier indicating that all the data is "0", that is, in the case of the format shown in FIG. At this time, as in the second step S32 in FIG. 18, the compressed data is interpolated by the interpolation function used at the time of compression, the data is made continuous, and the number specified by the input processing from the continuous data is obtained. The data of the minute is calculated, and the time is calculated from the initial time and the time interval by the same number as the data.
However, the interpolation function is a function that uses an index as an independent variable, as in the case of compression, and generates an interpolation function using the value of the index sequence of the compressed data.

【0180】そして、第4段階S44において、図18
の第2段階S32と同様に、第2段階S42または第3
段階S43で算出したデータと時刻を、データ伸長した
1次元時系列データとして出力する。
Then, in a fourth step S44, FIG.
Of the second step S42 or the third step S42
The data and time calculated in step S43 are output as data-expanded one-dimensional time-series data.

【0181】以上の伸長方法から分かるように、1次元
時系列データを復元する時には、データ数は元のものと
は異なった個数にも伸長できる。これは換言すると、1
次元時系列データの時間変更を行なうことが可能である
ことを意味しており、その制御は入力されるデータ数に
よって行なうことが可能であることを意味している。
As can be seen from the above expansion method, when restoring one-dimensional time-series data, the number of data can be expanded to a number different from the original one. This is, in other words, 1
This means that the time of the dimensional time-series data can be changed, and that the control can be performed by the number of input data.

【0182】このように、本実施の形態7によれば、実
施の形態3の方法により情報圧縮された1次元時系列デ
ータを伸長でき、しかもその伸長を行うにあたって生成
するデータの個数を元の1次元時系列データに対し任意
に増減でき、かつその際データの性質を損なうことなく
生成データの個数の増減を行うことができる1次元時系
列データの伸長方法が得られる効果がある。
As described above, according to the seventh embodiment, the one-dimensional time-series data compressed by the method of the third embodiment can be expanded, and the number of data to be generated at the time of the expansion is reduced by the original number. There is an effect that a method of expanding one-dimensional time-series data can be obtained which can be arbitrarily increased or decreased with respect to the one-dimensional time-series data, and in which case the number of generated data can be increased or decreased without deteriorating the properties of the data.

【0183】実施の形態8.実施の形態7では1次元時
系列データ伸長処理をソフトウエアにより実現したが、
このデータ伸長処理は専用のハードウエアにより実現し
てもよい。図23は図21の処理フローを専用ハード化
した1次元時系列データ伸長装置を示すものであり、実
施の形態4の圧縮装置によりデータ圧縮された1次元時
系列データ、即ち、図16(a) の形式と図16(b) の形
式が混在してデータが供給されている場合のデータの伸
長装置を示すものである。図において、図19と同一符
号は同一または相当するものを示す。20bは圧縮デー
タの形式の判別を行なうデータ形式判別手段、20cは
圧縮データが全て“0”であると判別された場合にその
伸長を行う0データ伸長手段である。
Embodiment 8 FIG. In the seventh embodiment, the one-dimensional time-series data decompression processing is realized by software.
This data decompression processing may be realized by dedicated hardware. FIG. 23 shows a one-dimensional time-series data decompression device in which the processing flow of FIG. 21 is implemented as a dedicated hardware. One-dimensional time-series data compressed by the compression device of the fourth embodiment, that is, FIG. 16) and the format shown in FIG. 16 (b) are mixed and data is supplied. In the figure, the same reference numerals as those in FIG. 19 indicate the same or corresponding components. 20b is a data format discriminating means for discriminating the format of the compressed data, and 20c is a 0 data decompressing means for decompressing all the compressed data when it is discriminated to be "0".

【0184】次にその伸長動作について説明する。図1
6(a) の形式でデータが供給された場合、データ形式判
別手段20bは、そのデータをデータ伸長手段20aに
渡し、以下、図19と同様にそのデータを伸長し、出力
手段50bにより出力する。
Next, the expansion operation will be described. FIG.
When data is supplied in the format of FIG. 6 (a), the data format discriminating means 20b passes the data to the data decompressing means 20a, and thereafter decompresses the data as in FIG. 19 and outputs the data by the output means 50b. .

【0185】これに対し、図16(b) の形式でデータが
供給された場合、データ形式判別手段20bは、そのデ
ータを0データ伸長手段20cに渡し、所定の期間にわ
たって全てが“0”のデータを生成しこれを図19と同
様に出力手段50bにより出力する。
On the other hand, when data is supplied in the format shown in FIG. 16 (b), the data format discriminating means 20b passes the data to the 0 data decompressing means 20c, and all data of "0" are kept for a predetermined period. Data is generated and output by the output means 50b as in FIG.

【0186】図24はこの図23の伸長装置をより詳し
く示したものである。図において、図20と同一符号は
同一または相当する部分を示す。24は入力されたデー
タの形式を判別するデータ形式判別手段、25は“0”
データを算出する0データ算出手段、26は“0”デー
タに対応する時刻を算出する時刻算出手段である。次に
その伸長動作について説明する。まず、入力手段50a
により、1次元時系列データ圧縮装置で圧縮された圧縮
データと伸長した時のデータ数を入力する。
FIG. 24 shows the expansion device of FIG. 23 in more detail. In the figure, the same reference numerals as those in FIG. 20 indicate the same or corresponding parts. 24 is a data format determining means for determining the format of the input data, 25 is "0"
Numeral 0 data calculating means for calculating data, 26 is a time calculating means for calculating the time corresponding to the “0” data. Next, the decompression operation will be described. First, the input means 50a
Thus, the compressed data compressed by the one-dimensional time-series data compression device and the number of data when decompressed are input.

【0187】次に、データ形式判別手段24において、
圧縮データの形式の判別を行ない、図16の(b) の形式
の場合、つまり、圧縮データが全て“0”であることを
示す識別子の場合は、0データ算出手段25により、そ
のデータ数と同数分の“0”を算出し、時刻算出手段2
6により、初期時間と時間間隔から時刻をデータ数分だ
け算出する。これら算出された“0”データとその時刻
は出力手段50bにより1次元時系列データとして出力
される。
Next, in the data format determining means 24,
The format of the compressed data is determined. In the case of the format shown in FIG. 16B, that is, in the case of an identifier indicating that all the compressed data is “0”, the number of data The same number of “0” is calculated, and the time calculating means 2
According to 6, the time is calculated for the number of data from the initial time and the time interval. The calculated “0” data and the time are output as one-dimensional time-series data by the output unit 50b.

【0188】これに対し、データ形式判別手段24にお
いて、圧縮データが全て“0”であることを示す識別子
ではないと判別された場合、つまり図16の(a) の形式
のデータが入力された場合は、図20と同様に、圧縮す
る時に使用した補間関数によって圧縮データを補間し、
データの連続化を図り、連続化されたものから入力手段
50aによって指定された個数分のデータを算出し、初
期時間と時間間隔から時刻をデータと同数分だけ算出す
る。但し、補間関数は、圧縮の時と同様にインデックス
を独立変数とし、圧縮データのインデックス列の値を用
いて補間関数を生成する。そして、出力手段50bにお
いて、図20と同様に、算出したデータと時刻を、デー
タ伸長した1次元時系列データとして出力する。
On the other hand, when the data format determining means 24 determines that the compressed data is not an identifier indicating that all the data is "0", that is, the data in the format of FIG. In this case, similarly to FIG. 20, the compressed data is interpolated by the interpolation function used for compression,
The data is made continuous, the number of data specified by the input means 50a is calculated from the continuous data, and the time is calculated from the initial time and the time interval by the same number as the data. However, the interpolation function uses an index as an independent variable and generates an interpolation function using the value of the index sequence of the compressed data, as in the case of compression. Then, the output means 50b outputs the calculated data and time as one-dimensional time-series data obtained by expanding the data, as in FIG.

【0189】このように、本実施の形態8によれば、実
施の形態4の装置により情報圧縮された1次元時系列デ
ータを専用ハードウエアで高速に伸長でき、しかもその
伸長を行うにあたって生成するデータの個数を元の1次
元時系列データに対し任意に増減でき、かつその際デー
タの性質を損なうことなく生成データの個数の増減を行
うことができる効果がある。
As described above, according to the eighth embodiment, the one-dimensional time-series data compressed by the apparatus according to the fourth embodiment can be decompressed at high speed by dedicated hardware, and is generated when the decompression is performed. The number of data can be arbitrarily increased or decreased with respect to the original one-dimensional time-series data, and the number of generated data can be increased or decreased without deteriorating the properties of the data.

【0190】実施の形態9.なお、本発明は1次元の時
系列データにのみ適用できるものではなく、多次元の、
即ち複数の1次元時系列データに関する圧縮,伸長に対
しても、同様の圧縮,伸長方法や圧縮,伸長装置を適用
して実現できる。例えば、複数の1次元時系列データに
対する圧縮は、本発明の実施の形態1,3による圧縮方
法や実施の形態2,4による圧縮装置を繰り返し使用す
ることでこれを実行できる。
Embodiment 9 FIG. Note that the present invention is not only applicable to one-dimensional time-series data,
That is, compression and decompression of a plurality of one-dimensional time series data can be realized by applying the same compression and decompression methods and compression and decompression devices. For example, compression of a plurality of one-dimensional time-series data can be performed by repeatedly using the compression method according to the first or third embodiment of the present invention or the compression device according to the second or fourth embodiment.

【0191】本実施の形態9では、このような多次元の
時系列データに対しその圧縮を行う場合について、Moti
on Data Compression を例にとって説明する。このMoti
on Data Compression は既に述べたように、人を剛体多
関節物体とみなしてその動きを表現する場合に、人の動
きを表現する多次元時系列データのデータ量を圧縮する
ための手法である。
In the ninth embodiment, a case where such multidimensional time-series data is
This is explained using on Data Compression as an example. This Moti
As described above, on Data Compression is a method for compressing the amount of multidimensional time-series data expressing human motion when a human is regarded as a rigid articulated object and its motion is expressed.

【0192】Motion Data は人をモデルとする剛体多関
節物体の代表点位置の並進ベクトルと、姿勢ベクトルの
3次元空間の座標軸に対する回転量と、各ジョイント
(関節)の並進ベクトルと、局所座標系の各座標軸に対
する回転量で構成される。
Motion Data is a translation vector of a representative point position of a rigid articulated object modeled on a person, a rotation amount of a posture vector with respect to a coordinate axis in a three-dimensional space, a translation vector of each joint (joint), and a local coordinate system. Is constituted by the amount of rotation with respect to each coordinate axis.

【0193】つまり、剛体多関節物体のジョイント数を
m、時系列の長さをnとすると、Motion Data は {Mi =(Cxi,Cyi,Czi,θi Cx, θi Cy,
θi Cz, xi jt0,yi jt0,zi jt0i jtx0,
θi jty0, θi jtz0, …,xi jtm-1,yi jtm-1,zi
jtm-1i jtxm-1, θi jtym-1, θi jtzm-1)|i=
0,1,…,n−1} で与えられる。但し、この例では回転の順序をx軸,y
軸,z軸の順に設定しており、Cxi,Cyi,Czi はル
ート、即ち剛体上の位置の基準となるポイントの座標
値、θi Cx, θi Cy, θi Czはジョイントの姿勢制御
角、xi jt0,yi jt0,zi jt0 はジョイントのスライド
量、θi jtx0, θi jty0, θi jtz0, …,xi jtm-1,y
i jtm-1,zi jtm-1i jtxm-1, θi jtym-1, θi
jtzm-1はm個のジョイントのx軸,y軸,z軸回りの回
転角である。
[0193] That is, when a joint number of rigid articulated object m, the time series length and n, Motion Data is {M i = (Cx i, Cy i, Cz i, θ i Cx, θ i Cy,
θ i Cz , x i jt0 , y i jt0 , z i jt0 , θ i jtx0 ,
θ i jty0 , θ i jtz0 ,…, x i jtm-1 , y i jtm-1 , z i
jtm-1 , θ i jtxm-1 , θ i jtym-1 , θ i jtzm-1 ) | i =
0, 1,..., N−1}. However, in this example, the order of rotation is x axis, y
Axes, and set the order of z-axis, Cx i, Cy i, Cz i root, i.e. serving as a reference point of the coordinate values of the position on the rigid body, θ i Cx, θ i Cy , θ i Cz is the joint Attitude control angles, x i jt0 , y i jt0 , and z i jt0 are joint slide amounts, θ i jtx0 , θ i jty0 , θ i jtz0 , ..., x i jtm-1 , y
i jtm-1 , z i jtm-1 , θ i jtxm-1 , θ i jtym-1 , θ i
jtzm-1 is the rotation angle of the m joints about the x, y, and z axes.

【0194】図25はこのMotion Data の圧縮方法を示
すもので、図において、P200はMotion Data を入力
するMotion Data 入力処理、P201は多次元の時系列
データであるMotion Data を次元数と同数の1次元の時
系列データに分解する多次元時系列データ分解処理、P
202は分解された1次元の時系列データを実施の形態
1あるいは実施の形態3の圧縮方法を用いて圧縮する1
次元時系列データ圧縮処理、P203は次元数と同数の
1次元時系列データの圧縮が全て終了したか否かを判定
する判定処理、P204は圧縮された多次元の時系列デ
ータを出力する出力処理である。図25の処理は、例え
ば、図3のコンピュータにより、実行される。この場
合、図3のコンピュータのメインメモリ3には、図25
の処理に相当するプログラムが予め、あるいはプログラ
ム記録媒体からロードされる等して記憶されている。
FIG. 25 shows this Motion Data compression method. In FIG. 25, P200 represents Motion Data input processing for inputting Motion Data, and P201 represents Motion Data which is multidimensional time-series data as many as the number of dimensions. Multidimensional time-series data decomposition processing for decomposing into one-dimensional time-series data, P
A compression unit 202 compresses the decomposed one-dimensional time-series data using the compression method according to the first or third embodiment.
Dimensional time-series data compression processing, P203: determination processing for determining whether or not compression of all the one-dimensional time-series data having the same number of dimensions has been completed, and P204: output processing for outputting compressed multidimensional time-series data. It is. The processing in FIG. 25 is executed by, for example, the computer in FIG. In this case, the main memory 3 of the computer in FIG.
Is stored in advance or by loading from a program recording medium.

【0195】次にその処理について説明する。まず、入
力処理P200により、多次元時系列データとしてのMo
tion Data を入力する。次に、分解処理P201によ
り、Motion Data を要素毎の1次元の時系列データに分
解し、各1次元時系列データにインデックス番号を与え
る。
Next, the processing will be described. First, by input processing P200, Mo as multidimensional time-series data
Enter tion data. Next, in the decomposing process P201, the Motion Data is decomposed into one-dimensional time-series data for each element, and an index number is given to each one-dimensional time-series data.

【0196】この分解処理P201以降の処理は実施の
形態1または実施の形態3の1次元時系列データの圧縮
方法と同様のものである。即ち、分解処理P201の後
の1次元時系列データ圧縮処理P202により、実施の
形態1または実施の形態3と同様の圧縮方法により、分
解後の各々の1次元時系列データに対し圧縮処理を行
う。そして、判定処理P203により、全ての1次元時
系列データに対し圧縮処理を行ったと判定された時に、
出力処理P204により、圧縮された各々の1次元時系
列データ、即ち圧縮された,多次元のMotion Data を出
力する。
The processing after the decomposition processing P201 is the same as the one-dimensional time-series data compression method of the first or third embodiment. That is, in the one-dimensional time-series data compression process P202 after the decomposition process P201, the compression process is performed on each of the decomposed one-dimensional time-series data by the same compression method as in the first or third embodiment. . Then, when it is determined in the determination process P203 that compression processing has been performed on all the one-dimensional time-series data,
Through the output process P204, each compressed one-dimensional time-series data, that is, compressed multi-dimensional Motion Data is output.

【0197】このように、本実施の形態9によれば、多
次元時系列データを複数の1次元時系列データに圧縮し
て、各1次元時系列データ毎に実施の形態1または実施
の形態3と同様の圧縮方法を適用して圧縮を行うように
したので、或る1次元時系列データに関して、元の1次
元時系列データと補間関数との誤差が少なくデータの圧
縮が行われないような区間が存在したとしても、この区
間と同じ区間に関して残りの1次元時系列データのなか
にはデータ圧縮できるものが存在することが多いため、
多次元時系列データ全体として見れば、元の1/4ない
し1/5程度にデータ圧縮を行うことが可能となる。こ
の多次元時系列データとして、例えば、剛体多関節物
(人間)の関節角の時系列データを使用した場合に関す
る実験では、近似精度にも依存するが、圧縮率0.16
8ないし0.264を得ることができた。
As described above, according to the ninth embodiment, the multi-dimensional time-series data is compressed into a plurality of one-dimensional time-series data, and each of the one-dimensional time-series data is compressed according to the first or the first embodiment. Since the compression is performed by applying the same compression method as that of No. 3, the error between the original one-dimensional time-series data and the interpolation function is reduced with respect to certain one-dimensional time-series data so that the data is not compressed. Even if there is a simple section, since there is often a data that can be compressed among the remaining one-dimensional time-series data in the same section as this section,
As a whole, multi-dimensional time-series data can be compressed to about 1/4 to 1/5 of the original. As an example of the multidimensional time series data, in an experiment on the case where time series data of joint angles of a rigid articulated object (human) is used, the compression ratio depends on the approximation accuracy.
8 to 0.264 could be obtained.

【0198】なお、このような、剛体多関節の各関節角
の動作を表す1次元時系列データの場合には、誤差が動
作の先端に向かって累積していく。従って、近似精度を
一定にする場合には、そのような関係のない1次元時系
列データに対して用いた値より小さくする必要が生じる
が、この場合は、全体の圧縮率が低下することになる。
このような不具合を避けるためには、近似精度を一定と
せずに、剛体多関節物体の元の方の関節に関しては近似
精度を通常の場合より小さくとり、先頭に向かって近似
精度を順次増加させて用いることで、圧縮率の低下を、
近似精度を一定にしておく場合よりは防ぐことができ
る。また、時間に関して不等間隔な1次元時系列データ
に対しては、時間とデータの各々を独立した1次元のデ
ータとして本実施の形態9の多次元時系列データ圧縮方
法を適用し、各々を独立に圧縮すればよい。
In the case of such one-dimensional time-series data representing the motion of each joint angle of the rigid articulated joint, errors accumulate toward the tip of the motion. Therefore, when the approximation accuracy is kept constant, it is necessary to make the value smaller than the value used for the one-dimensional time-series data having no such relationship. In this case, however, the overall compression ratio decreases. Become.
In order to avoid such problems, the approximation accuracy is not fixed, but the approximation accuracy of the original joint of the rigid articulated object is set smaller than usual, and the approximation accuracy is gradually increased toward the beginning. To reduce the compression ratio,
This can be prevented more than the case where the approximation accuracy is kept constant. Also, for one-dimensional time-series data with unequal intervals with respect to time, the multi-dimensional time-series data compression method of the ninth embodiment is applied by using time and data as independent one-dimensional data. What is necessary is just to compress independently.

【0199】実施の形態10.実施の形態9は多次元の
時系列データの圧縮処理をソフトウエアにより実現した
が、このデータ圧縮処理は専用のハードウエアにより実
現してもよい。図26は図25の処理フローを専用ハー
ド化した多次元時系列データ圧縮装置を示すものであ
り、図において、100aはMotion Data を入力するMo
tion Data 入力手段、51は多次元の時系列データであ
るMotion Data をその次元と同数の1次元の時系列デー
タに分解する多次元時系列データ分解手段、52は分解
された1次元の時系列データを実施の形態2あるいは実
施の形態4の圧縮装置と同様の構成を用いて圧縮する1
次元時系列データ圧縮手段、53は次元数と同数の1次
元時系列データの圧縮が全て終了したか否かを判定する
判定手段、100bは圧縮された,多次元の時系列デー
タを出力する出力手段である。
Embodiment 10 FIG. In the ninth embodiment, the compression processing of multidimensional time-series data is realized by software, but this data compression processing may be realized by dedicated hardware. FIG. 26 shows a multi-dimensional time-series data compression apparatus in which the processing flow of FIG. 25 is implemented as dedicated hardware.
tion Data input means, 51 is a multidimensional time series data decomposing means for decomposing Motion Data, which is multidimensional time series data, into one-dimensional time series data of the same number as that dimension, and 52 is a decomposed one-dimensional time series. Compress data using a configuration similar to that of the compression apparatus of the second or fourth embodiment.
Dimensional time-series data compression means 53; determination means for determining whether or not compression of all the one-dimensional time-series data of the same number as the number of dimensions has been completed; 100b output for outputting compressed multi-dimensional time-series data Means.

【0200】次にその動作について説明する。まず、入
力手段100aにより、多次元時系列データとしてのMo
tion Data を入力する。次に、多次元時系列データ分解
手段51により、Motion Data を要素毎の1次元の時系
列データに分解し、各1次元時系列データにインデック
ス番号を与える。この分解手段51以降の動作は実施の
形態2または実施の形態4の1次元時系列データの圧縮
動作と同様のものである。即ち、分解手段51の後の1
次元時系列データ圧縮手段52により、実施の形態2ま
たは実施の形態4と同様の圧縮動作により、分解後の各
々の1次元時系列データに対し圧縮処理を行う。
Next, the operation will be described. First, Mo as multidimensional time series data is input by the input unit 100a.
Enter tion data. Next, the Motion Data is decomposed into one-dimensional time-series data for each element by the multidimensional time-series data decomposing means 51, and an index number is given to each one-dimensional time-series data. The operation after the decomposing unit 51 is the same as the operation of compressing the one-dimensional time-series data according to the second or fourth embodiment. That is, 1 after the disassembly means 51
The one-dimensional time-series data after decomposition is subjected to compression processing by the one-dimensional time-series data compression means 52 by the same compression operation as in the second or fourth embodiment.

【0201】そして、判定手段53により、全ての1次
元時系列データに対し圧縮処理を行ったと判定された時
に、出力手段100bにより、圧縮された各々の1次元
時系列データ、即ち圧縮された多次元のMotion Data を
出力する。
When the determining means 53 determines that the compression processing has been performed on all the one-dimensional time-series data, the output means 100b compresses each of the one-dimensional time-series data, that is, the compressed multi-dimensional time-series data. Output dimensional Motion Data.

【0202】このように、本実施の形態10によれば、
多次元時系列データを複数の1次元時系列データに圧縮
して、各1次元時系列データ毎に実施の形態2または実
施の形態4と同様の圧縮動作を適用して圧縮を行うよう
にしたので、専用ハードにより高速に圧縮動作を実行す
ることができ、しかも、或る1次元時系列データに関し
て、元の1次元時系列データと補間関数との誤差が少な
くデータの圧縮が行われないような区間が存在したとし
ても、この区間と同じ区間に関して残りの1次元時系列
データのなかにはデータ圧縮できるものが存在すること
が多いため、多次元時系列データ全体として見れば、元
の1/4ないし1/5程度にデータ圧縮を行うことが可
能となる。この多次元時系列データとして、例えば、剛
体多関節物(人間)の関節角の時系列データを使用した
場合に関する実験では、近似精度にも依存するが、圧縮
率0.168ないし0.264を得ることができた。
As described above, according to the tenth embodiment,
The multidimensional time-series data is compressed into a plurality of one-dimensional time-series data, and compression is performed by applying the same compression operation as in the second or fourth embodiment to each one-dimensional time-series data. Therefore, the compression operation can be performed at high speed by the dedicated hardware, and the error between the original one-dimensional time-series data and the interpolation function is so small that certain one-dimensional time-series data is not compressed. Even if there is a simple section, since there are many one-dimensional time-series data that can be data-compressed among the remaining one-dimensional time-series data in many cases with respect to the same section as this section, when viewed as a whole multi-dimensional time-series data, It becomes possible to perform data compression to about 1/5. In an experiment on the case where, for example, the time series data of the joint angles of a rigid articulated object (human) is used as the multidimensional time series data, the compression ratio is 0.168 to 0.264, although it depends on the approximation accuracy. I got it.

【0203】なお、このような、剛体多関節の各関節角
の動作を表す1次元時系列データの場合には、誤差が動
作の先端に向かって累積していく。従って、近似精度を
一定にする場合には、そのような関係のない1次元時系
列データに対して用いた値より小さくする必要が生じる
が、この場合は、全体の圧縮率が低下することになる。
このような不具合を避けるためには、近似精度を一定と
せずに、剛体多関節物体の元の方の関節に関しては近似
精度を通常の場合より小さくとり、先頭に向かって近似
精度を増加させて用いることで、圧縮率の低下を、近似
精度を一定にしておく場合よりは防ぐことができる。ま
た、時間に関して不等間隔な1次元時系列データに対し
ては、時間とデータの各々を独立した1次元のデータと
して本実施の形態10の多次元時系列データ圧縮装置を
適用し、各々を独立に圧縮すればよい。
In the case of such one-dimensional time-series data representing the motion of each joint angle of the rigid multi-joint, errors are accumulated toward the tip of the motion. Therefore, when the approximation accuracy is kept constant, it is necessary to make the value smaller than the value used for the one-dimensional time-series data having no such relationship. In this case, however, the overall compression ratio decreases. Become.
In order to avoid such inconveniences, the approximation accuracy should not be constant, but the approximation accuracy should be smaller for the original joint of the rigid articulated object than in the normal case, and the approximation accuracy should be increased toward the beginning. By using this, it is possible to prevent the compression ratio from lowering than when the approximation accuracy is kept constant. Further, for one-dimensional time-series data with unequal intervals with respect to time, the multidimensional time-series data compression apparatus of the tenth embodiment is applied by using time and data as independent one-dimensional data. What is necessary is just to compress independently.

【0204】実施の形態11.本実施の形態11では、
実施の形態9により圧縮された多次元時系列データの伸
長方法を扱うものである。図27は図25の圧縮方法に
より圧縮されたMotionData の伸長を例にとってその伸
長方法を示すもので、図において、P300は圧縮され
たMotion Data を入力する多次元圧縮データ入力処理、
P301は圧縮された多次元の時系列データを複数の,
圧縮された1次元の時系列データに分解する多次元圧縮
データ分解処理、P302は分解された1次元の時系列
データを実施の形態5あるいは実施の形態7の伸長方法
を用いて伸長する1次元時系列データ伸長処理、P30
3は一連の1次元時系列データの伸長が終了したか否か
を判定する判定処理、P304は伸長された一連の1次
元時系列データを出力する出力処理である。この図27
の処理は、例えば図3のコンピュータにより実行され
る。この場合、図3のコンピュータのメインメモリ3に
は、図27の処理に相当するプログラムが予め、あるい
はプログラム記録媒体からロードされる等して記憶され
ている。
Embodiment 11 FIG. In the eleventh embodiment,
This embodiment deals with a method for expanding multidimensional time-series data compressed according to the ninth embodiment. FIG. 27 shows an example of a method of decompressing MotionData compressed by the compression method of FIG. 25. In FIG. 27, P300 denotes a multidimensional compressed data input process for inputting the compressed Motion Data.
P301 converts the compressed multidimensional time-series data into a plurality of
A multidimensional compressed data decomposing process for decomposing into one-dimensional compressed time-series data. P302 is a one-dimensional one that decompresses the decomposed one-dimensional time-series data using the decompression method of the fifth or seventh embodiment. Time series data decompression processing, P30
Reference numeral 3 denotes a determination process for determining whether or not expansion of a series of one-dimensional time-series data has been completed, and reference numeral P304 denotes output processing for outputting a series of expanded one-dimensional time-series data. This FIG.
Is executed by the computer shown in FIG. 3, for example. In this case, a program corresponding to the processing in FIG. 27 is stored in the main memory 3 of the computer in FIG. 3 in advance or by being loaded from a program recording medium or the like.

【0205】次にその処理フローについて説明する。ま
ず、入力処理P300により、圧縮されたMotion Data
を入力する。次に、分解処理P301により、圧縮され
たMotion Data を要素毎の1次元の圧縮時系列データに
分解し、各圧縮1次元時系列データにインデックス番号
を与える。この分解処理P301以降の処理は実施の形
態5または実施の形態7の1次元時系列データの伸長方
法と同様のものである。即ち、分解処理P301の後の
1次元時系列データ伸長処理P302により、実施の形
態5または実施の形態7と同様の伸長方法により、分解
後の各々の1次元時系列データに対し伸長処理を行う。
Next, the processing flow will be described. First, by the input process P300, the compressed Motion Data
Enter Next, in the decomposing process P301, the compressed Motion Data is decomposed into one-dimensional compressed time-series data for each element, and an index number is given to each compressed one-dimensional time-series data. The processing after the decomposition processing P301 is the same as the one-dimensional time-series data expansion method of the fifth or seventh embodiment. That is, in the one-dimensional time-series data decompression process P302 after the decomposition process P301, the decompression process is performed on each of the decomposed one-dimensional time-series data by the same decompression method as in the fifth or seventh embodiment. .

【0206】そして、判定処理P303により、全ての
1次元時系列データに対し伸長処理を行ったと判定され
た時に、出力処理P304により、圧縮された各々の1
次元時系列データ、即ち伸長された多次元のMotion Dat
a を出力する。このように、本実施の形態11によれ
ば、圧縮された多次元時系列データを複数の1次元時系
列データに分解して、各1次元時系列データ毎に実施の
形態5または実施の形態7と同様の伸長方法を適用して
伸長を行うようにしたので、多次元の圧縮された時系列
データに対してもその伸長処理を行うことができる。
Then, when it is determined by the determining process P303 that the decompression process has been performed on all the one-dimensional time-series data, each of the compressed one-dimensional data is determined by the output process P304.
Dimensional time series data, that is, expanded multi-dimensional Motion Dat
Output a. As described above, according to the eleventh embodiment, the compressed multidimensional time-series data is decomposed into a plurality of one-dimensional time-series data, and each one-dimensional time-series data is used in the fifth or the fifth embodiment. Since decompression is performed by applying the same decompression method as in No. 7, the decompression process can be performed on multidimensional compressed time-series data.

【0207】そしてその伸長を行う際、生成するデータ
の個数は元のデータとは異なる個数に設定することが可
能なため、特にMotion Data を伸長する場合、元のデー
タに比べて生成するデータの個数を増すことにより、元
の剛体多関節物体よりも遅く動作する剛体多関節物体の
映像を生成したり、逆に生成するデータの個数を減らす
ことにより、元の剛体多関節物体よりも速く動作する剛
体多関節物体の映像を生成したりすることが可能であ
り、物体の動作の編集を容易に行うことが可能となる。
When the expansion is performed, the number of data to be generated can be set to a number different from the original data. In particular, in the case of expanding Motion Data, the number of generated data is larger than that of the original data. By increasing the number, an image of a rigid articulated object that moves slower than the original rigid articulated object is generated, or conversely, by reducing the number of generated data, it moves faster than the original rigid articulated object For example, it is possible to generate an image of a rigid articulated object, and to easily edit the motion of the object.

【0208】実施の形態12.実施の形態11は多次元
の時系列データの伸長処理をソフトウエアにより実現し
たが、このデータ伸長処理は専用のハードウエアにより
実現してもよい。図28は図27の処理フローを専用ハ
ード化した多次元時系列データ伸長装置を示すものであ
り、図において、200aは圧縮されたMotion Data を
入力する多次元圧縮データ入力手段、61は圧縮された
多次元の時系列データを複数の,圧縮された1次元の時
系列データに分解する多次元圧縮データ分解手段、62
は分解された1次元の時系列データを実施の形態6ある
いは実施の形態8の伸長装置と同様の構成を用いて伸長
する1次元時系列データ伸長手段、63は一連の1次元
時系列データの伸長が終了したか否かを判定する判定手
段、200bは伸長された一連の1次元時系列データを
出力する出力処理である。
Embodiment 12 FIG. In the eleventh embodiment, the expansion processing of the multidimensional time-series data is realized by software, but this data expansion processing may be realized by dedicated hardware. FIG. 28 shows a multi-dimensional time-series data decompression device in which the processing flow of FIG. 27 is made into a dedicated hardware. In the drawing, 200a is a multi-dimensional compressed data input means for inputting compressed Motion Data, and 61 is a compressed data. Means for decomposing the multidimensional time-series data into a plurality of compressed one-dimensional time-series data, 62
Is a one-dimensional time-series data decompression means for decompressing the decomposed one-dimensional time-series data using the same configuration as that of the decompression device of the sixth or eighth embodiment, and 63 is a series of one-dimensional time-series data. The determination means 200b for determining whether or not the expansion has been completed is output processing for outputting a series of expanded one-dimensional time-series data.

【0209】次にその動作について説明する。まず、入
力手段200aにより、圧縮されたMotion Data を入力
する。次に、分解手段61により、圧縮されたMotion D
ataを要素毎の1次元の圧縮時系列データに分解し、各
圧縮1次元時系列データにインデックス番号を与える。
この分解手段61以降の処理は実施の形態6または実施
の形態8の1次元時系列データの伸長装置と同様のもの
である。即ち、分解手段61の後の1次元時系列データ
伸長手段62により、実施の形態6または実施の形態8
と同様の伸長装置により、分解後の各々の1次元時系列
データに対し伸長処理を行う。
Next, the operation will be described. First, compressed Motion Data is input by the input means 200a. Next, the compressed Motion D
Ata is decomposed into one-dimensional compressed time-series data for each element, and an index number is given to each compressed one-dimensional time-series data.
The processing after this decomposing means 61 is the same as that of the one-dimensional time-series data decompression device of the sixth or eighth embodiment. That is, the one-dimensional time-series data decompression means 62 after the decomposing means 61 performs the processing in the sixth or eighth embodiment.
A decompression process is performed on each of the decomposed one-dimensional time-series data by the same decompression device.

【0210】そして、判定手段63により、全ての1次
元時系列データに対し伸長処理を行ったと判定された時
に、出力手段200bにより、圧縮された各々の1次元
時系列データ、即ち伸長された多次元のMotion Data を
出力する。このように、本実施の形態12によれば、圧
縮された多次元時系列データを複数の1次元時系列デー
タに分解して、各1次元時系列データ毎に実施の形態6
または実施の形態8と同様の伸長装置を適用して伸長を
行うようにしたので、多次元の圧縮された時系列データ
に対してもその伸長処理を専用ハードにより高速に行う
ことができる。
When it is determined by the determining means 63 that all the one-dimensional time-series data has been decompressed, the output means 200b compresses the compressed one-dimensional time-series data, that is, the expanded multi-dimensional time-series data. Outputs dimensional Motion Data. As described above, according to the twelfth embodiment, the compressed multidimensional time-series data is decomposed into a plurality of one-dimensional time-series data, and the sixth embodiment is performed for each one-dimensional time-series data.
Alternatively, since the same decompression device as in the eighth embodiment is applied to perform decompression, the decompression processing can be performed at high speed even on multidimensional compressed time-series data using dedicated hardware.

【0211】そしてその伸長を行う際、生成するデータ
の個数は元のデータとは異なる個数に設定することが可
能なため、特にMotion Data を伸長する場合、元のデー
タに比べて生成するデータの個数を増すことにより、元
の剛体多関節物体よりも遅く動作する剛体多関節物体の
映像を生成したり、逆に生成するデータの個数を減らす
ことにより、元の剛体多関節物体よりも速く動作する剛
体多関節物体の映像を生成したりすることが可能であ
り、物体の動作の編集を容易に行うことが可能となる。
When the data is expanded, the number of data to be generated can be set to a number different from the original data. In particular, when the Motion Data is expanded, the data to be generated is compared with the original data. By increasing the number, an image of a rigid articulated object that moves slower than the original rigid articulated object is generated, or conversely, by reducing the number of generated data, it operates faster than the original rigid articulated object For example, it is possible to generate an image of a rigid articulated object, and to easily edit the motion of the object.

【0212】[0212]

【発明の効果】以上のように、この発明の請求項1記載
の1次元時系列データ圧縮方法によれば、時間等間隔な
1次元時系列データの圧縮方法であって、前記1次元時
系列データとその近似精度の入力を行なう第1の工程
と、前記1次元時系列データを近似する補間関数の節点
候補を算出する第2の工程と、前記節点候補の位置を最
適化する第3の工程と、前記位置が最適化された節点候
補に基づき前記補間関数により発生した1次元時系列デ
ータと元の1次元時系列データとの誤差を判定する第4
の工程と、前記第4の工程により前記誤差が前記近似精
度に基づく値を越えると判断された場合に節点数を変更
し、前記第2の工程に戻る第5の工程と、前記第5の工
程により前記誤差が前記近似精度に基づく値を越えない
と判断された場合に当該節点候補のデータとこれに対応
する時刻のデータとを圧縮された情報として出力する第
6の工程とを含むようにしたので、与えられた1次元時
系列データの性質に合わせた圧縮が行なえ、圧縮率は近
似精度によってコントロールできるため、伸長後の誤差
を前もって把握することができる、1次元時系列データ
圧縮方法が得られる効果がある。
As described above, according to the method for compressing one-dimensional time-series data according to claim 1 of the present invention, a method for compressing one-dimensional time-series data at equal time intervals is provided. A first step of inputting data and an approximation accuracy thereof, a second step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data, and a third step of optimizing the position of the node candidate And a step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate whose position has been optimized.
A fifth step of changing the number of nodes when it is determined in the fourth step that the error exceeds a value based on the approximation accuracy, and returning to the second step; A sixth step of outputting, as compressed information, the data of the node candidate and the data of the time corresponding to the node candidate when it is determined in the step that the error does not exceed the value based on the approximation accuracy. Therefore, compression can be performed in accordance with the properties of given one-dimensional time-series data, and the compression rate can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. The effect is obtained.

【0213】また、この発明の請求項2記載の1次元時
系列データ圧縮方法によれば、時間等間隔な1次元時系
列データの圧縮方法であって、前記1次元時系列データ
とその近似精度の入力を行なう第1の工程と、前記1次
元時系列データに前記近似精度以内のデータが含まれて
いるか否かを判定する第2の工程と、前記第2の工程に
より前記1次元時系列データに前記近似精度以内のデー
タが含まれていないと判断された場合に前記1次元時系
列データを近似する補間関数の節点候補を算出する第3
の工程と、前記節点候補の位置を最適化する第4の工程
と、前記位置が最適化された節点候補に基づき前記補間
関数により発生した1次元時系列データと元の1次元時
系列データとの誤差を判定する第5の工程と、前記第5
の工程により前記誤差が前記近似精度に基づく値を越え
ると判断された場合に節点数を変更し、前記第3の工程
に戻る第6の工程と、前記第2の工程により前記1次元
時系列データに前記近似精度以内のデータが含まれてい
ると判断された場合に当該1次元時系列データが近似精
度以内のデータである旨の情報を出力し、前記第5の工
程により前記誤差が前記近似精度に基づく値を越えない
と判断された場合に当該節点候補のデータとこれに対応
する時刻のデータとを圧縮された情報として出力する第
7の工程とを含むようにしたので、与えられた1次元時
系列データの性質に合わせた圧縮が行なえ、圧縮率は近
似精度によってコントロールできるため、伸長後の誤差
を前もって把握することができ、しかも近似精度以内の
データに対してはその処理を省略できる、1次元時系列
データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the second aspect of the present invention, there is provided a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are A first step of inputting the one-dimensional time series; a second step of determining whether or not the one-dimensional time series data includes data within the approximation accuracy; Calculating a node candidate for an interpolation function that approximates the one-dimensional time-series data when it is determined that the data does not include data within the approximation accuracy;
And a fourth step of optimizing the position of the node candidate, and the one-dimensional time-series data and the original one-dimensional time-series data generated by the interpolation function based on the node candidate whose position has been optimized. A fifth step of determining an error of
A sixth step of changing the number of nodes and returning to the third step when it is determined that the error exceeds a value based on the approximation accuracy in the second step; When it is determined that the data includes data within the approximation accuracy, information that the one-dimensional time-series data is data within the approximation accuracy is output, and the error is reduced by the fifth step. The seventh step of outputting the data of the node candidate and the data of the corresponding time as compressed information when it is determined that the value does not exceed the value based on the approximation accuracy is given. Compression can be performed in accordance with the properties of the one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. Process can be omitted, and the effect of time-series data compression method 1D is obtained.

【0214】また、この発明の請求項3記載の1次元時
系列データ圧縮方法によれば、時間等間隔な1次元時系
列データの圧縮方法であって、前記1次元時系列データ
とその近似精度の入力を行ない、前記1次元時系列デー
タに対しその時刻の順にインデックスを付加し、前記1
次元時系列データを補間する補間関数の初期の節点数を
算出する第1の工程と、前記1次元時系列データの中か
ら、始めと終りのデータを必ず含み、かつランダムに前
記節点数個だけの節点候補を決定する第2の工程と、前
記節点候補をインデックス番号を独立変数とする補間関
数により補間して、元の1次元時系列データとの誤差を
算出する第3の工程と、前記誤差から、この誤差の最大
値と誤差平均と誤差分散との重み付け加算で定義された
第1目的関数の値を算出する第4の工程と、前記第1目
的関数の値が最小となるように節点候補の変更を繰り返
し行ない、準最適節点候補を決定する第5の工程と、前
記準最適節点候補を前記補間関数により補間して元の1
次元時系列データを近似する1次元時系列データを生成
し、この1次元時系列データと元の1次元時系列データ
との誤差を算出する第6の工程と、前記誤差から、この
誤差の最大値と誤差平均と誤差分散との重み付け加算で
定義された第2目的関数の値を算出する第7の工程と、
前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の工程から第7の工程までの処理を繰
り返す第8の工程と、前記第2目的関数の値が前記閾値
未満ならば、前記1次元時系列データの初期時刻と時間
間隔と、最終的に決定された節点候補のインデックス番
号と前記節点候補の値とで構成された圧縮データを出力
する第9の工程とを含むようにしたので、与えられた1
次元時系列データの性質に合わせた圧縮が行なえ、圧縮
率は近似精度によってコントロールできるため、伸長後
の誤差を前もって把握することができる、1次元時系列
データ圧縮方法が得られる効果がある。
According to a third aspect of the present invention, there is provided a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are obtained. And an index is added to the one-dimensional time-series data in the order of the time.
A first step of calculating the initial number of nodes of an interpolation function for interpolating the dimensional time-series data, and from the one-dimensional time-series data, always including start and end data, and randomly selecting only the number of the nodes. A second step of determining a nodal candidate, and a third step of interpolating the nodal candidate with an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data; A fourth step of calculating a value of a first objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance from the error, such that the value of the first objective function is minimized. A fifth step of repeatedly changing node candidates to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function to obtain an original 1
A sixth step of generating one-dimensional time-series data that approximates the one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating a value of the second objective function defined by weighted addition of the value, the error average, and the error variance;
If the value of the second objective function is equal to or greater than the threshold value corresponding to the approximation accuracy, the value obtained by adding an increment to the number of nodes is set as a new number of nodes, and the processing from the second step to the seventh step is repeated. Eighth step, if the value of the second objective function is less than the threshold, the initial time and time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the And a ninth step of outputting compressed data composed of the values
Since compression can be performed according to the properties of the dimensional time-series data and the compression ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression method can be obtained in which an error after expansion can be grasped in advance.

【0215】また、この発明の請求項4記載の1次元時
系列データ圧縮方法によれば、時間等間隔な1次元時系
列データの圧縮方法であって、前記1次元時系列データ
とその近似精度の入力を行ない、前記1次元時系列デー
タに対しその時刻の順にインデックスを付加し、前記1
次元時系列データを補間する補間関数の初期の節点数を
算出する第1の工程と、前記1次元時系列データの中か
ら、始めと終りのデータを必ず含み、かつ前記インデッ
クスに関して近似的に等間隔となるように前記節点数個
だけの節点候補を決定する第2の工程と、前記節点候補
をインデックス番号を独立変数とする補間関数により補
間して、元の1次元時系列データとの誤差を算出する第
3の工程と、前記誤差から、この誤差の最大値と誤差平
均と誤差分散との重み付け加算で定義された第1目的関
数の値を算出する第4の工程と、前記第1目的関数の値
が最小となるように節点候補の変更を繰り返し行ない、
準最適節点候補を決定する第5の工程と、前記準最適節
点候補を前記補間関数により補間して、元の1次元時系
列データを近似する1次元時系列データを生成し、この
1次元時系列データと元の1次元時系列データとの誤差
を算出する第6の工程と、前記誤差から、この誤差の最
大値と誤差平均と誤差分散との重み付け加算で定義され
た第2目的関数の値を算出する第7の工程と、前記第2
目的関数の値が前記近似精度に対応する閾値以上なら
ば、前記節点数に増分を加えたものを新たな節点数と
し、前記第2の工程から第7の工程の処理までを繰り返
す第8の工程と、前記第2目的関数の値が前記閾値未満
ならば、前記1次元時系列データの初期時刻と時間間隔
と、最終的に決定された節点候補のインデックス番号と
前記節点候補の値とで構成された圧縮データを出力する
第9の工程とを含むようにしたので、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができる1次元時系列データ
圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the fourth aspect of the present invention, there is provided a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are And an index is added to the one-dimensional time-series data in the order of the time.
A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and a step which always includes start and end data from the one-dimensional time-series data, and is approximately equal to the index. A second step of determining node candidates of only several nodes so as to form an interval; and interpolating the node candidates by an interpolation function using an index number as an independent variable to obtain an error from the original one-dimensional time-series data. A third step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; and Repeatedly change the node candidates so that the value of the objective function is minimized,
A fifth step of determining a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function to generate one-dimensional time series data approximating the original one-dimensional time series data; A sixth step of calculating an error between the series data and the original one-dimensional time-series data; and, from the error, a second objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. A seventh step of calculating a value;
If the value of the objective function is equal to or greater than the threshold value corresponding to the approximation accuracy, the value obtained by adding an increment to the number of nodes is set as a new number of nodes, and the processing from the second step to the seventh step is repeated. If the value of the second objective function is less than the threshold, the initial time and time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate Since the ninth step of outputting the composed compressed data is included, the compression can be performed in accordance with the property of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy. There is an effect that a one-dimensional time-series data compression method capable of grasping an error in advance can be obtained.

【0216】また、この発明の請求項5記載の1次元時
系列データ圧縮方法によれば、時間等間隔な1次元時系
列データの圧縮方法であって、前記1次元時系列データ
とその近似精度の入力を行ない、前記1次元時系列デー
タに時刻の順にインデックスを付加し、前記1次元時系
列データを補間する補間関数の初期の節点数を算出する
第1の工程と、前記1次元時系列データの絶対値が全て
前記近似精度以下か否かの判定を行ない、前記近似精度
以下の場合は全て0であることを示す識別子を出力して
終了し、そうでない場合は後述する第3の工程へと移行
する第2の工程と、前記1次元時系列データの中から、
始めと終りのデータを必ず含み、かつランダムに前記節
点数個だけの節点候補を決定する第3の工程と、前記節
点候補をインデックス番号を独立変数とする補間関数に
より補間して、元の1次元時系列データとの誤差を算出
する第4の工程と、前記誤差から、この誤差の最大値と
誤差平均と誤差分散との重み付け加算で定義された第1
目的関数の値を算出する第5の工程と、前記第1目的関
数の値が最小となるように節点候補の変更を繰り返し行
ない、準最適節点候補を決定する第6の工程と、前記準
最適節点候補を前記補間関数により補間して、元の1次
元時系列データを近似する1次元時系列データを生成
し、1次元時系列データと元の1次元時系列データとの
誤差を算出する第7の工程と、前記誤差から、この誤差
の最大値と誤差平均と誤差分散との重み付け加算で定義
された第2目的関数の値を算出する第8の工程と、前記
第2目的関数の値が前記近似精度に対応する閾値以上な
らば、前記節点数に増分を加えたものを新たな節点数と
し、前記第3の工程から第8の工程までの処理を繰り返
す第9の工程と、前記第2目的関数の値が前記閾値未満
ならば、前記1次元時系列データの初期時刻と時間間隔
と、最終的に決定された節点候補のインデックス番号と
前記節点候補の値とで構成された圧縮データを出力する
第10の工程とを含むようにしたので、与えられた1次
元時系列データの性質に合わせた圧縮が行なえ、圧縮率
は近似精度によってコントロールできるため、伸長後の
誤差を前もって把握することができ、しかも近似精度内
のデータに関してはその処理を省略できる1次元時系列
データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the fifth aspect of the present invention, there is provided a method of compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are A first step of adding an index to the one-dimensional time-series data in the order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not all the absolute values of the data are equal to or less than the approximation accuracy. If the absolute values are equal to or less than the approximation accuracy, an identifier indicating that they are all 0 is output, and the process is terminated. From the one-dimensional time-series data,
A third step of always including the start and end data and randomly determining only a few node candidates, and interpolating the node candidates by an interpolation function using an index number as an independent variable to obtain the original 1 A fourth step of calculating an error from the dimensional time-series data, and a first step defined by weighted addition of the maximum value of the error, the error average, and the error variance from the error.
A fifth step of calculating the value of the objective function, a sixth step of repeatedly changing node candidates so as to minimize the value of the first objective function, and determining a sub-optimal node candidate; A node candidate is interpolated by the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data, and an error between the one-dimensional time-series data and the original one-dimensional time-series data is calculated. A step of calculating a value of a second objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance from the error; and a value of the second objective function. Is greater than or equal to a threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes, and a ninth step of repeating the processing from the third step to the eighth step is provided. If the value of the second objective function is less than the threshold, the one-dimensional Since the method includes the tenth step of outputting compressed data composed of the initial time and time interval of the sequence data, the index number of the finally determined node candidate, and the value of the node candidate, Compression can be performed according to the properties of the obtained one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance, and the processing of data within approximation accuracy is omitted. There is an effect that a possible one-dimensional time-series data compression method can be obtained.

【0217】また、この発明の請求項6記載の1次元時
系列データ圧縮方法によれば、時間等間隔な1次元時系
列データの圧縮方法であって、前記1次元時系列データ
とその近似精度の入力を行ない、前記1次元時系列デー
タに時刻の順にインデックスを付加し、前記1次元時系
列データを補間する補間関数の初期の節点数を算出する
第1の工程と、前記1次元時系列データの絶対値が全て
前記近似精度以下か否かの判定を行ない、近似精度以下
の場合は全て0であることを示す識別子を出力して終了
し、そうでない場合は後述する第3の工程へと移行する
第2の工程と、前記1次元時系列データの中から、始め
と終りのデータを必ず含み、かつ前記インデックスに関
して近似的に等間隔となるように前記節点数個だけの節
点候補を決定する第3の工程と、前記節点候補をインデ
ックス番号を独立変数とする補間関数により補間して、
元の1次元時系列データとの誤差を算出する第4の工程
と、前記誤差から、この誤差の最大値と誤差平均と誤差
分散との重み付け加算で定義された第1目的関数の値を
算出する第5の工程と、前記第1目的関数の値が最小と
なるように節点候補の変更を繰り返し行ない、準最適節
点候補を決定する第6の工程と、前記準最適節点候補を
前記補間関数により補間して、元の1次元時系列データ
を近似する1次元時系列データを生成し、この1次元時
系列データと元の1次元時系列データとの誤差を算出す
る第7の工程と、前記誤差から、この誤差の最大値と誤
差平均と誤差分散との重み付け加算で定義された第2目
的関数の値を算出する第8の工程と、前記第2目的関数
の値が前記近似精度に対応する閾値以上ならば、前記節
点数に増分を加えたものを新たな節点数とし、前記第3
の工程から第8の工程までの処理を繰り返す第9の工程
と、前記第2目的関数の値が前記閾値未満ならば、前記
1次元時系列データの初期時刻と時間間隔と、最終的に
決定された節点候補のインデックス番号と前記節点候補
の値とで構成された圧縮データを出力する第10の工程
とを含むようにしたので、与えられた1次元時系列デー
タの性質に合わせた圧縮が行なえ、圧縮率は近似精度に
よってコントロールできるため、伸長後の誤差を前もっ
て把握することができ、しかも近似精度内のデータに関
してはその処理を省略できる1次元時系列データ圧縮方
法が得られる効果がある。
Further, according to the one-dimensional time-series data compression method of the present invention, there is provided a method for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are A first step of adding an index to the one-dimensional time-series data in the order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not all the absolute values of the data are less than or equal to the approximation accuracy. If the absolute values are less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. And a second step of shifting from the one-dimensional time-series data, including only the start and end data, and selecting only a few node candidates so as to be approximately equally spaced with respect to the index. decide A third step, by interpolating the interpolation function for the index number as an independent variable the node candidates,
A fourth step of calculating an error from the original one-dimensional time-series data, and calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance A fifth step of repeatedly changing node candidates so that the value of the first objective function is minimized, and determining a sub-optimal node candidate; and Generating a one-dimensional time-series data approximating the original one-dimensional time-series data, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; If above the corresponding threshold, add an increment to the number of nodes Things as a new number of nodes, the third
A ninth step of repeating the processing from the step to the eighth step, and if the value of the second objective function is less than the threshold value, the initial time and the time interval of the one-dimensional time-series data are finally determined. And a tenth step of outputting compressed data composed of the index numbers of the obtained node candidates and the values of the node candidates, so that the compression in accordance with the properties of the given one-dimensional time-series data can be performed. Since the compression ratio can be controlled by the approximation accuracy, an error after decompression can be grasped in advance, and there is an effect of obtaining a one-dimensional time-series data compression method that can omit the processing for data within the approximation accuracy. .

【0218】また、この発明の請求項7記載の1次元時
系列データ圧縮方法によれば、請求項3ないし6のいず
れかに記載の1次元時系列データ圧縮方法において、前
記準最適節点候補の算出は、前記節点候補のインデック
スに対して、これが小さい順に番号づけを行なったもの
をI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1
の関係が成り立つならば節点候補I(j)を節点候補I(j)-1
に交換した時の前記第1目的関数の値を算出し、前記第
1目的関数の値から元の第1目的関数の値を減じた値Δ
E(1-) を算出し、I(j-1)≧I(j)-1ならば前記ΔE(1-) を
0に設定し、I(j)+1 <I(j+1)の関係が成り立つならば前
記節点候補I(j)を節点候補I(j)+1に交換した時の前記第
1目的関数の値を算出し、前記第1目的関数の値から前
記元の第1目的関数の値を減じた値ΔE(1+) を算出し、
I(j)+1≧I(j+1)ならば前記ΔE(1+) を0に設定し、前記
ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)を前記節点候補I(j)-1に交換し、前
記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つな
らば前記節点候補I(j)を前記節点候補I(j)+1に交換し、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 か
つ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-)
が前記ΔE(1+) より大きいならば、前記節点候補I(j)を
前記節点候補I(j)+1に交換する操作を奇数のj について
は小さいものから大きいものの順、および偶数のj につ
いては大きいものから小さいものの順に行ない、これら
一連の処理が終了した時の第1目的関数の値が前記元の
第1目的関数の値から前記閾値を減じたもの以下なら
ば、前記操作を奇数のj については小さいものから大き
いものの順、および偶数のj については大きいものから
小さいものの順に再び行ない、前記節点候補の交換が全
く行なわれなかったか、前記第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたものより大きいな
らば、処理を終了することにより、行なうようにしたの
で、補間関数の準最適節点を求める処理を実現でき、与
えられた1次元時系列データの性質に合わせた圧縮が行
なえ、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができる1次
元時系列データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method according to claim 7 of the present invention, in the one-dimensional time-series data compression method according to any one of claims 3 to 6, in the one-dimensional time-series data compression method, The calculation is based on the index of the node candidate, which is given by I (j), 0 ≦ j ≦ m, where I (j−1) <I (j) −1
Is satisfied, the node candidate I (j) is converted to the node candidate I (j) -1.
Calculates the value of the first objective function at the time of replacement, and subtracts the original value of the first objective function from the value of the first objective function, Δ
E (1-) is calculated, and if I (j-1) ≧ I (j) -1, ΔE (1-) is set to 0, and I (j) +1 <I (j + 1) If the relationship holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first first function is calculated from the value of the first objective function. Calculate the value ΔE (1+) by subtracting the value of the objective function,
If I (j) + 1 ≧ I (j + 1), the ΔE (1+) is set to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, The node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j ) Is replaced with the node candidate I (j) +1,
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and the ΔE (1-)
Is larger than the ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is performed in the order of small to large for odd j, and even j for odd j. Are performed in the order from the largest to the smallest, and if the value of the first objective function at the end of the series of processing is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function, the operation is performed in an odd number. J is performed again in ascending order from the smallest to the largest j, and for even j, the order is changed from the largest to the smallest, and whether the node candidates are not exchanged at all or the value of the first objective function is If the value is larger than the value obtained by subtracting the threshold value from the value of one objective function, the processing is terminated to perform the processing. Therefore, the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the given one-dimensional time-series data Performing compression to match the properties, compression ratio because it can control the accuracy of approximation, one-dimensional time series data compression method that can recognizes in advance error after elongation is the effect obtained.

【0219】また、この発明の請求項8記載の1次元時
系列データ圧縮方法によれば、請求項3ないし6のいず
れかに記載の1次元時系列データ圧縮方法において、前
記準最適節点候補の算出は、前記節点候補のインデック
スに対して、これが小さい順に番号づけを行なったもの
をI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1
の関係が成り立つならば節点候補I(j)を節点候補I(j)-1
に交換した時の前記第1目的関数の値を算出し、前記第
1目的関数の値から元の第1目的関数の値を減じた値Δ
E(1-) を算出し、I(j-1)≧ I(j)-1 の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 < I(j+1) の関
係が成り立つならば前記節点候補I(j)を節点候補I(j)+1
に交換した時の前記第1目的関数の値を算出し、前記第
1目的関数の値から前記元の第1目的関数の値を減じた
値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つ
ならば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点候
補I(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)≧0 の関係が成り立つならば前記節
点候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ、前記ΔE(1-) が前
記ΔE(1+) 以下ならば、前記節点候補I(j)を前記節点候
補I(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ、前記ΔE(1-) の方が前記ΔE
(1+) より大きいならば、前記節点候補I(j)を前記節点
候補I(j)+1に交換する操作を奇数のj については大きい
ものから小さいものの順、および偶数のj については小
さいものから大きいものの順に行ない、これら一連の処
理が終了した時の第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたもの以下ならば、前記操作を
奇数のj については大きいものから小さいものの順、お
よび偶数のj については小さいものから大きいものの順
に再び行ない、節点候補の前記交換が全く行なわれなか
ったか、前記第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたものより大きいならば、処理を終
了することにより、行なうようにしたので、補間関数の
準最適節点を求める処理を実現でき、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができる1次元時系列データ
圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method according to the eighth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, in the one-dimensional time-series data compression method, The calculation is based on the index of the node candidate, which is given by I (j), 0 ≦ j ≦ m, where I (j−1) <I (j) −1
Is satisfied, the node candidate I (j) is converted to the node candidate I (j) -1.
Calculates the value of the first objective function at the time of replacement, and subtracts the original value of the first objective function from the value of the first objective function, Δ
E (1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and I (j) +1 <I (j +1), the node candidate I (j) is replaced by the node candidate I (j) +1
The value of the first objective function at the time of replacement is calculated, a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) If the relationship of + 1 ≧ I (j + 1) holds, set ΔE (1+) to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, Node candidate
I (j) is replaced with the node candidate I (j) -1, and ΔE (1-) ≧ 0
And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧
0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidates I (j) are not exchanged, and the relationships of ΔE (1-) <0 and ΔE (1 +) <0 hold. And, if the ΔE (1-) is not more than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and ΔE (1-) is greater than ΔE
If it is larger than (1+), the operation of exchanging the node candidate I (j) with the node candidate I (j) +1 is performed in the order from the largest to the smallest for the odd j, and smaller for the even j. If the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed for odd j. The order from the largest to the smallest one and the j of the even number are repeated again from the smallest to the largest one, and the exchange of the node candidates was not performed at all, or the value of the first objective function was changed to the value of the original first objective function. If the value is larger than the value obtained by subtracting the threshold value from the value, the process is terminated to terminate the process. Therefore, the process of obtaining the sub-optimal node of the interpolation function can be realized, and the process is performed according to the property of the given one-dimensional time-series data. Compression is performed, the compression ratio because it can control the accuracy of approximation, one-dimensional time series data compression method that can recognizes in advance error after elongation is the effect obtained.

【0220】また、この発明の請求項9記載の1次元時
系列データ圧縮方法によれば、請求項3ないし6のいず
れかに記載の1次元時系列データ圧縮方法において、前
記準最適節点候補の算出は、前記節点候補のインデック
スに対して、これが小さい順に番号づけを行なったもの
をI(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1
の関係が成り立つならば節点候補I(j)を節点候補I(j)-1
に交換した時の第1目的関数の値を算出し、前記第1目
的関数の値から元の第1目的関数の値を減じた値ΔE(1
-) を算出し、I(j-1)≧I(j)-1の関係が成り立つならば
前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成
り立つならば前記節点候補I(j)を節点候補I(j)+1に交換
した時の第1目的関数の値を算出し、前記第1目的関数
の値から前記元の第1目的関数の値を減じた値ΔE(1+)
を算出し、I(j)+1≧I(j+1)の関係が成り立つならば前記
ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1
+) ≧0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)-1に交換し、前記ΔE(1-) ≧ 0かつ前記
ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前
記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I
(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1
+) 以下ならば、前記節点候補I(j)を前記節点候補I(j)-
1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係
が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1+) より大
きいならば、前記節点候補I(j)を前記節点候補I(j)+1に
交換する操作をj=1 から[m/2 ]まで、およびj=m-1 か
ら[m/2 ]+1まで順に行ない、これら一連の処理が終了
した時の第1目的関数の値が前記元の第1目的関数の値
から前記閾値を減じたもの以下ならば、前記操作をj=1
から[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順
に再び行ない、節点候補の前記交換が全く行なわれなか
ったか、前記第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたものより大きいならば、処理を終
了することにより、行なうようにしたので、補間関数の
準最適節点を求める処理を実現でき、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができる1次元時系列データ
圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the ninth aspect of the present invention, in the one-dimensional time-series data compression method of any one of the third to sixth aspects, the quasi-optimal node candidate The calculation is performed by indexing the index of the node candidate in ascending order as I (j), 0 ≦ j ≦ m, where I (j−1) <I (j) −1
Is satisfied, the node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of replacement is calculated, and the value ΔE (1) obtained by subtracting the original value of the first objective function from the value of the first objective function is obtained.
-) Is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + 1) Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the first first objective function is calculated from the value of the first objective function. Value ΔE (1+) obtained by subtracting the value of the objective function
If the relationship of I (j) + 1 ≧ I (j + 1) holds, ΔE (1+) is set to 0, ΔE (1-) <0 and ΔE (1
+) ≧ 0, the node candidate I (j) is replaced with the node candidate I (j) -1, and the relationship ΔE (1-) ≧ 0 and ΔE (1 +) <0 is satisfied. Is satisfied, the node candidate I (j) is replaced with the node candidate I (j) + 1.If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 is satisfied, the node Candidate I
(j) is not exchanged, the ΔE (1-) <0 and the ΔE (1+)
<0, and ΔE (1-) is equal to ΔE (1
+) If below, the node candidate I (j) is replaced by the node candidate I (j)-
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is larger than the ΔE (1+), the node candidate The operation of exchanging I (j) for the node candidate I (j) +1 is performed in order from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1. If the value of the first objective function at the time when the processing of the above is completed is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function, the operation is performed by j = 1
To [m / 2] and j = m-1 to [m / 2] +1 again, and whether the exchange of the node candidates has not been performed at all or the value of the first objective function is the original If the value is larger than the value obtained by subtracting the threshold value from the value of the first objective function, the processing is terminated to perform the processing. Therefore, the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the given one-dimensional time series is obtained. Since compression can be performed in accordance with the characteristics of data and the compression ratio can be controlled by approximation accuracy, there is an effect that a one-dimensional time-series data compression method can be obtained in which errors after decompression can be grasped in advance.

【0221】また、この発明の請求項10記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、前記節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1
+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1
+) 以下ならば、前記節点候補I(j)を前記節点候補I(j)-
1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係
が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大き
いならば、前記節点候補I(j)を前記節点候補I(j)+1に交
換する操作をj=[m/2 ]から1 まで、およびj=[m/2 ]
+1からm-1 まで順に行ない、これら一連の処理が終了し
た時の第1目的関数の値が前記元の第1目的関数の値か
ら前記閾値を減じたもの以下ならば、前記操作をj=[m/
2 ]から1 まで、およびj=[m/2 ]+1からm-1 まで順に
再び行ない、節点候補の前記交換が全く行なわれなかっ
たか、前記第1目的関数の値が前記元の第1目的関数の
値から閾値を減じたものより大きいならば、処理を終了
することにより、行なうようにしたので、補間関数の準
最適節点を求める処理を実現でき、与えられた1次元時
系列データの性質に合わせた圧縮が行なえ、圧縮率は近
似精度によってコントロールできるため、伸長後の誤差
を前もって把握することができる1次元時系列データ圧
縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method according to the tenth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects,
The calculation of the quasi-optimal node candidate is as follows: when the index of the node candidate is numbered in ascending order and expressed as I (j), 0 ≦ j ≦ m, I (j−1) < I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, the ΔE (1-) ≧ 0 and the ΔE (1 +) < If the relation of 0 holds, the node candidate I (j)
Is replaced by the node candidate I (j) +1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without the exchange of I (j), ΔE (1-) <0 and ΔE (1
+) <0, and ΔE (1-) is equal to ΔE (1
+) If below, the node candidate I (j) is replaced by the node candidate I (j)-
If the relation of ΔE (1-) <0 and the relation of ΔE (1 +) <0 hold, and the ΔE (1-) is larger than the ΔE (1+), the node candidate I The operations for exchanging (j) for the node candidate I (j) +1 are from j = [m / 2] to 1, and j = [m / 2]
+1 to m−1 in order, and if the value of the first objective function at the time when these series of processes are completed is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = [M /
2] to 1 and j = [m / 2] +1 to m−1 again, and the exchange of the node candidates was not performed at all, or the value of the first objective function was changed to the original first value. If the value is larger than the value obtained by subtracting the threshold value from the value of the objective function, the process is terminated, so that the process for obtaining a sub-optimal node of the interpolation function can be realized. Since compression according to the characteristics can be performed and the compression ratio can be controlled by approximation accuracy, there is an effect that a one-dimensional time-series data compression method can be obtained in which an error after decompression can be grasped in advance.

【0222】また、この発明の請求項11記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、前記節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前
記ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ
前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補
I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1
+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1
+) 以下ならば、前記節点候補I(j)を前記節点候補I(j)-
1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係
が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大き
いならば、前記節点候補I(j)を前記節点候補I(j)+1に交
換する操作をj=1 からm-1 まで順に行ない、これら一連
の処理が終了した時の第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたもの以下ならば、前記操
作をj=1 からm-1 まで順に再び行ない、節点候補の前記
交換が全く行なわれなかったか、前記第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたものより
大きいならば、処理を終了することにより、行なうよう
にしたので、補間関数の準最適節点を求める処理を実現
でき、与えられた1次元時系列データの性質に合わせた
圧縮が行なえ、圧縮率は近似精度によってコントロール
できるため、伸長後の誤差を前もって把握することがで
きる1次元時系列データ圧縮方法が得られる効果があ
る。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method of any one of the third to sixth aspects,
The calculation of the quasi-optimal node candidate is as follows: when the index of the node candidate is numbered in ascending order and expressed as I (j), 0 ≦ j ≦ m, I (j−1) < I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, the ΔE (1-) ≧ 0 and the ΔE (1 +) < If the relation of 0 holds, the node candidate I (j)
Is replaced by the node candidate I (j) +1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate
Without the exchange of I (j), ΔE (1-) <0 and ΔE (1
+) <0, and ΔE (1-) is equal to ΔE (1
+) If below, the node candidate I (j) is replaced by the node candidate I (j)-
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1 in order from j = 1 to m−1, and the value of the first objective function at the time when these series of processing is completed is equal to the original first value.
If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the objective function, the above operation is performed again in order from j = 1 to m−1, and the exchange of the node candidates was not performed at all, or the value of the first objective function was If the value is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the process is terminated to terminate the process. Therefore, the process of obtaining the sub-optimal node of the interpolation function can be realized, and the given one-dimensional node can be realized. Since compression can be performed in accordance with the properties of time-series data and the compression ratio can be controlled by approximation accuracy, there is an effect that a one-dimensional time-series data compression method can be obtained in which errors after decompression can be grasped in advance.

【0223】また、この発明の請求項12記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6記載
のいずれかに1次元時系列データ圧縮方法において、前
記準最適節点候補の算出は、前記節点候補のインデック
スに対して、これが小さい順に番号づけを行なったもの
をI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1
の関係が成り立つならば節点候補I(j)を節点候補I(j)-1
に交換した時の第1目的関数の値を算出し、前記第1目
的関数の値から元の第1目的関数の値を減じた値ΔE(1
-) を算出し、I(j-1)≧I(j)-1の関係が成り立つならば
前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成
り立つならば前記節点候補I(j)を節点候補I(j)+1に交換
した時の第1目的関数の値を算出し、前記第1目的関数
の値から前記元の第1目的関数の値を減じた値ΔE(1+)
を算出し、I(j)+1≧I(j+1)の関係が成り立つならば前記
ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1
+) ≧0 の関係が成り立つならば前記節点候補I(j)を前
記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記
ΔE(1+)<0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前
記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I
(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1
に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
する操作をj=m-1 から1 まで順に行ない、これら一連の
処理が終了した時の第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたもの以下ならば、前記操作
をj=m-1 から1 まで順に再び行ない、節点候補の前記交
換が全く行なわれなかったか、前記第1目的関数の値が
前記元の第1目的関数の値から閾値を減じたものより大
きいならば、処理を終了することにより、行なうように
したので、補間関数の準最適節点を求める処理を実現で
き、与えられた1次元時系列データの性質に合わせた圧
縮が行なえ、圧縮率は近似精度によってコントロールで
きるため、伸長後の誤差を前もって把握することができ
る1次元時系列データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method according to the twelfth aspect of the present invention, in the one-dimensional time-series data compression method according to any one of the third to sixth aspects, the calculation of the sub-optimal node candidate is performed. Is expressed as I (j), 0 ≦ j ≦ m with respect to the indices of the node candidates in ascending order, and I (j−1) <I (j) −1
Is satisfied, the node candidate I (j) is converted to the node candidate I (j) -1.
The value of the first objective function at the time of replacement is calculated, and the value ΔE (1) obtained by subtracting the original value of the first objective function from the value of the first objective function is obtained.
-) Is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + 1) Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the first first objective function is calculated from the value of the first objective function. Value ΔE (1+) obtained by subtracting the value of the objective function
If the relationship of I (j) + 1 ≧ I (j + 1) holds, ΔE (1+) is set to 0, ΔE (1-) <0 and ΔE (1
+) ≧ 0, the node candidate I (j) is replaced with the node candidate I (j) -1, and the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 is satisfied. Is satisfied, the node candidate I (j) is replaced with the node candidate I (j) + 1.If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 is satisfied, the node Candidate I
(j) is not exchanged, the ΔE (1-) <0 and the ΔE (1+)
<0, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced by the node candidate I (j) -1.
When the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold and the ΔE (1-) is larger than the ΔE (1+), the node candidate I ( The operation of exchanging j) for the node candidate I (j) +1 is performed in order from j = m-1 to 1, and the value of the first objective function at the time when a series of these processes is completed is changed to the original first objective. If the value is equal to or less than the value obtained by subtracting the threshold from the value of the function, the above operation is performed again from j = m-1 to 1 in order, and whether the exchange of the node candidates has not been performed at all or the value of the first objective function is the original If the value is larger than the value obtained by subtracting the threshold value from the value of the first objective function, the process is terminated to terminate the process. Therefore, the process of obtaining a sub-optimal node of the interpolation function can be realized. Compression can be performed according to the characteristics of the series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression are known in advance The effect of time-series data compression method 1D, which may Rukoto is obtained.

【0224】また、この発明の請求項13記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、前記節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)
-1の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともにこの交換を行っ
た時の第1目的関数の値と前記元の第1目的関数の値の
交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の
関係が成り立つならば前記節点候補I(j)を前記節点候補
I(j)+1に交換するとともにこの交換を行った時の第1目
的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成
り立つならば前記節点候補I(j)の交換を行なわず、前記
ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ
前記ΔE(1-)が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともにこの交換
を行った時の第1目的関数の値と前記元の第1目的関数
の値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<
0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
より大きいならば、前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともにこの交換を行った時の第1の
目的関数の値と前記元の第1の目的関数の値の交換を行
なう操作を奇数のj については小さいものから大きいも
のの順、および偶数のj については大きいものから小さ
いものの順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から閾値
を減じたもの以下ならば、前記操作を奇数のj について
は小さいものから大きいものの順、および偶数のj につ
いては大きいものから小さいものの順に再び行ない、節
点候補の前記交換が全く行なわれなかったか、前記第1
目的関数の値が前記元の第1目的関数の値から閾値を減
じたものより大きいならば、処理を終了することによ
り、行なうようにしたので、補間関数の準最適節点を求
める処理を実現でき、与えられた1次元時系列データの
性質に合わせた圧縮が行なえ、圧縮率は近似精度によっ
てコントロールできるため、伸長後の誤差を前もって把
握することができる1次元時系列データ圧縮方法が得ら
れる効果がある。
According to the one-dimensional time-series data compression method according to the thirteenth aspect of the present invention, the one-dimensional time-series data compression method according to any one of the third to sixth aspects,
The calculation of the quasi-optimal node candidate is as follows: when the index of the node candidate is numbered in ascending order, I (j), 0 ≦ j ≦ m, I (j−1) < I (j)
If the relation of -1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the element The value of the first objective function is exchanged, and if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate
I (j) +1 and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged to obtain ΔE (1-) ≧ 0 and ΔE ( If the relationship of 1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE ( 1-) is equal to or less than the ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged. ) <0 and the ΔE (1 +) <
0 holds, and the ΔE (1-) is the ΔE (1+)
If greater, the node candidate I (j) is replaced with the node candidate I
(j) +1 and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of this exchange is performed for odd j, from small to large. The order and the even j are performed in ascending order from the largest to the smallest. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, The above operation is performed again in the order of small to large for the odd j, and in the order of large to small for the even j.
If the value of the objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the process is terminated, thereby performing the process of obtaining the sub-optimal node of the interpolation function. The compression can be performed in accordance with the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy. There is.

【0225】また、この発明の請求項14記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、節点候補のインデックス
に対して、これが小さい順に番号づけを行なったものを
I(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、 I(j)+1 <I(j+1) の関係が成り
立つならば前記節点候補I(j)を節点候補I(j)+1に交換し
た時の第1目的関数の値を算出し、前記第1目的関数の
値から前記元の第1目的関数の値を減じた値ΔE(1+) を
算出し、I(j)+1≧I(j+1)の関係が成り立つならば前記Δ
E(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0 の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともに、この交換した時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-)が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1の目的関数の値と
前記元の第1の目的関数の値の交換を行なう操作を奇数
のj については大きいものから小さいものの順、および
偶数のj については小さいものから大きいものの順に行
ない、これら一連の処理が終了した時の第1目的関数の
値が前記元の第1目的関数の値から閾値を減じたもの以
下ならば、前記操作を奇数のj については大きいものか
ら小さいものの順、および偶数のj については小さいも
のから大きいものの順に再び行ない、節点候補の前記交
換が全く行なわれなかったか、前記第1目的関数の値が
前記元の第1目的関数の値から閾値を減じたものより大
きいならば、処理を終了することにより、決定を行なう
ようにしたので、補間関数の準最適節点を求める処理を
実現でき、与えられた1次元時系列データの性質に合わ
せた圧縮が行なえ、圧縮率は近似精度によってコントロ
ールできるため、伸長後の誤差を前もって把握すること
ができる1次元時系列データ圧縮方法が得られる効果が
ある。
According to the one-dimensional time-series data compression method according to the fourteenth aspect of the present invention, the one-dimensional time-series data compression method according to any one of the third to sixth aspects,
The calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order.
When I (j), 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j) is changed to the node candidate I (j) -1. The value of the first objective function at the time of replacement is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1+), and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the above Δ
E (1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship of ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the original first objective function are Exchange values, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, replace the node candidate I (j) with the node candidate I (j) +1 The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE
If (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
-) Is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the values of the first objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+) For example, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the exchange of the value of the first objective function and the value of the original first objective function at the time of the exchange is performed. The operation to be performed is performed in the order of large to small for the odd j, and in the order of small to large for the even j, and the value of the first objective function when the series of processes is completed is changed to the original first value. If the value of the objective function is equal to or less than the value obtained by subtracting the threshold value, the above operation is performed in the order of large to small for odd j, and for even j. The process is performed again from the largest to the smallest, and if the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is performed. , The processing for obtaining the sub-optimal node of the interpolation function can be realized, the compression can be performed in accordance with the property of the given one-dimensional time-series data, and the compression ratio can be determined by the approximation accuracy. Since control is possible, there is an effect that a one-dimensional time-series data compression method can be obtained in which an error after decompression can be grasped in advance.

【0226】また、この発明の請求項15記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、節点候補のインデックス
に対して、これが小さい順に番号づけを行なったものを
I(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともに、この交換した時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1の目的関数の値と
前記元の第1の目的関数の値の交換を行なう操作をj=1
から[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順
に行ない、これら一連の処理が終了した時の第1目的関
数の値が前記元の第1目的関数の値から閾値を減じたも
の以下ならば、前記操作をj=1 から[m/2]まで、およ
びj=m-1 から[m/2 ]+1まで順に再び行ない、節点候補
の前記交換が全く行なわれなかったか、前記第1目的関
数の値が前記元の第1目的関数の値から閾値を減じたも
のより大きいならば、処理を終了することにより、決定
を行なうようにしたので、補間関数の準最適節点を求め
る処理を実現でき、与えられた1次元時系列データの性
質に合わせた圧縮が行なえ、圧縮率は近似精度によって
コントロールできるため、伸長後の誤差を前もって把握
することができる1次元時系列データ圧縮方法が得られ
る効果がある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method of any one of claims 3 to 6,
The calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order.
When I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is changed to the node candidate I (j) -1. The value of the first objective function at the time of replacement is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original first objective function are Exchange values, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, exchange the node candidate I (j) with the node candidate I (j) +1 The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE
If (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
-) Is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the values of the first objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), For example, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the exchange of the value of the first objective function and the value of the original first objective function at the time of the exchange is performed. J = 1
To [m / 2], and from j = m-1 to [m / 2] +1, and the value of the first objective function at the end of the series of processes is the value of the original first objective function. If the value is equal to or less than the value obtained by subtracting the threshold from the value, the above operation is performed again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1 again, and the exchange of the node candidates is performed. If not performed, or if the value of the first objective function is greater than the value of the original first objective function minus the threshold, the decision is made by terminating the process. A process for finding a suboptimal node of a function can be realized, compression can be performed according to the properties of given one-dimensional time-series data, and a compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a one-dimensional time-series data compression method can be obtained.

【0227】また、この発明の請求項16記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、節点候補のインデックス
に対して、これが小さい順に番号づけを行なったものを
I(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともに、この交換した時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1目的関数の値と前
記元の第1目的関数の値の交換を行なう操作をj=[m/2
]から1 まで、およびj=[m/2 ]+1からm-1 まで順に
行ない、これら一連の処理が終了した時の第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
以下ならば、前記操作をj=[m/2 ]から1 まで、および
j=[m/2 ]+1からm-1 まで順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
ようにしたので、補間関数の準最適節点を求める処理を
実現でき、与えられた1次元時系列データの性質に合わ
せた圧縮が行なえ、圧縮率は近似精度によってコントロ
ールできるため、伸長後の誤差を前もって把握すること
ができる1次元時系列データ圧縮方法が得られる効果が
ある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method of any one of claims 3 to 6,
The calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order.
When I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is changed to the node candidate I (j) -1. The value of the first objective function at the time of replacement is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original first objective function are Exchange values, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, exchange the node candidate I (j) with the node candidate I (j) +1 The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE
If (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
If-) is equal to or smaller than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the values of the first objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), For example, an operation of exchanging the node candidate I (j) with the node candidate I (j) +1 and exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange. To j = [m / 2
] To 1 and j = [m / 2] +1 to m-1 in order, and the value of the first objective function at the time when these series of processing is completed is determined by the threshold value from the value of the original first objective function. If not more than j = [m / 2] to 1, and
j = [m / 2] +1 to m−1 again in order, and the exchange of the node candidates is not performed at all, or the value of the first objective function is set to a threshold value from the value of the original first objective function. If it is larger than the reduced one, the processing is terminated to terminate the processing, so that processing for obtaining a sub-optimal node of the interpolation function can be realized, and compression can be performed according to the properties of the given one-dimensional time-series data. Since the compression ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression method can be obtained in which an error after decompression can be grasped in advance.

【0228】また、この発明の請求項17記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、節点候補のインデックス
に対して、これが小さい順に番号づけを行なったものを
I(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともに、この交換した時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1の目的関数の値と
前記元の第1の目的関数の値の交換を行なう操作をj=1
からm-1 まで順に行ない、これら一連の処理が終了した
時の第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたもの以下ならば、前記操作をj=1 からm-1
まで順に再び行ない、節点候補の前記交換が全く行なわ
れなかったか、前記第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたものより大きいならば、処
理を終了することにより、行なうようにしたので、補間
関数の準最適節点を求める処理を実現でき、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができる1次元時系列
データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method according to any one of claims 3 to 6,
The calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order.
When I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is changed to the node candidate I (j) -1. The value of the first objective function at the time of replacement is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original first objective function are Exchange values, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, exchange the node candidate I (j) with the node candidate I (j) +1 The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE
If (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
-) Is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the values of the first objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), For example, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the exchange of the value of the first objective function and the value of the original first objective function at the time of the exchange is performed. J = 1
To m−1, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed from j = 1. m-1
Until the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated. , The processing for obtaining the sub-optimal node of the interpolation function can be realized, the compression can be performed according to the property of the given one-dimensional time series data, and the compression ratio can be controlled by the approximation accuracy. There is an effect that a one-dimensional time-series data compression method can be obtained in which the error of (1) can be grasped in advance.

【0229】また、この発明の請求項18記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
前記準最適節点候補の算出は、節点候補のインデックス
に対して、これが小さい順に番号づけを行なったものを
I(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-1の
関係が成り立つならば節点候補I(j)を節点候補I(j)-1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から元の第1目的関数の値を減じた値ΔE(1-)
を算出し、I(j-1)≧I(j)-1の関係が成り立つならば前記
ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立
つならば前記節点候補I(j)を節点候補I(j)+1に交換した
時の第1目的関数の値を算出し、前記第1目的関数の値
から前記元の第1目的関数の値を減じた値ΔE(1+) を算
出し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE
(1+) を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+)
≧0の関係が成り立つならば前記節点候補I(j)を前記節
点候補I(j)-1に交換するとともに、この交換した時の第
1目的関数の値と前記元の第1目的関数の値の交換を行
ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換するとともに、この交換した時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つなら
ば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<0
かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1
-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を前
記節点候補I(j)-1に交換するとともに、この交換した時
の第1目的関数の値と前記元の第1目的関数の値の交換
を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が
成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
するとともに、この交換した時の第1の目的関数の値と
前記元の第1の目的関数の値の交換を行なう操作をj=m-
1 から1 まで順に行ない、これら一連の処理が終了した
時の第1目的関数の値が前記元の第1目的関数の値から
閾値を減じたもの以下ならば、前記操作をj=m-1 から1
まで順に再び行ない、節点候補の前記交換が全く行なわ
れなかったか、前記第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたものより大きいならば、処
理を終了することにより、行なうようにしたので、補間
関数の準最適節点を求める処理を実現でき、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができる1次元時系列
データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the eighteenth aspect of the present invention, in the one-dimensional time-series data compression method of any one of the third to sixth aspects,
The calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order.
When I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is changed to the node candidate I (j) -1. The value of the first objective function at the time of replacement is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function
If the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and the relationship of I (j) +1 <I (j + 1) is established. Is satisfied, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the original first objective function is calculated from the value of the first objective function. Is calculated by subtracting the value of ΔE (1 +). If the relationship of I (j) + 1 ≧ I (j + 1) holds,
(1+) is set to 0, ΔE (1-) <0 and ΔE (1+)
If the relationship ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original first objective function are Exchange values, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, exchange the node candidate I (j) with the node candidate I (j) +1 The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the ΔE
If (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0
And the relationship of ΔE (1 +) <0 holds, and ΔE (1+
If-) is equal to or smaller than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original If the values of the first objective function are exchanged and the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 hold, and the ΔE (1-) is greater than the ΔE (1+), For example, the node candidate I (j) is replaced with the node candidate I (j) +1, and the exchange of the value of the first objective function and the value of the original first objective function at the time of the exchange is performed. J = m-
Steps from 1 to 1 are performed in order. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j = m-1 From 1
Until the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated. , The processing for obtaining the sub-optimal node of the interpolation function can be realized, the compression can be performed according to the property of the given one-dimensional time series data, and the compression ratio can be controlled by the approximation accuracy. There is an effect that a one-dimensional time-series data compression method can be obtained in which the error of (1) can be grasped in advance.

【0230】また、この発明の請求項19記載の1次元
時系列データ圧縮方法によれば、請求項3ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
最終的に決定された節点候補数が、候補にならなかった
データの個数以下の場合は、節点候補を示す識別子と前
記最終的に決定された節点候補のインデックス番号と前
記節点候補の値とで構成された圧縮データを出力し、前
記最終的に決定された節点候補数が、前記候補にならな
かったデータの個数より大きい場合は、節点候補でない
識別子と前記節点候補にならなかったデータのインデッ
クス番号と前記節点候補の値とで構成された圧縮データ
を出力するようにしたので、与えられた1次元時系列デ
ータの性質に合わせた圧縮が行なえ、圧縮率は近似精度
によってコントロールできるため、伸長後の誤差を前も
って把握することができる1次元時系列データ圧縮方法
が得られる効果がある。
According to the one-dimensional time-series data compression method according to the nineteenth aspect of the present invention, the one-dimensional time-series data compression method according to any one of the third to sixth aspects,
If the finally determined number of node candidates is equal to or less than the number of data that is not a candidate, the identifier indicating the node candidate, the index number of the finally determined node candidate, and the value of the node candidate are used. Outputting the composed compressed data, if the finally determined number of node candidates is larger than the number of data that did not become the candidate, an identifier that is not a node candidate and an index of the data that did not become the node candidate Since the compressed data composed of the numbers and the values of the node candidates is output, the compression can be performed according to the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy. There is an effect that a one-dimensional time-series data compression method capable of grasping later errors in advance can be obtained.

【0231】また、この発明の請求項20記載の1次元
時系列データ圧縮方法によれば、請求項1ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
時間に関して不等間隔な1次元時系列データに対して
は、当該1次元時系列データ圧縮方法を時間とデータに
ついて各々独立に適用し、各々を独立に圧縮するように
したので、時間に関して不等間隔な1次元時系列データ
に対しても、与えられた1次元時系列データの性質に合
わせた圧縮が行なえ、圧縮率は近似精度によってコント
ロールできるため、伸長後の誤差を前もって把握するこ
とができる1次元時系列データ圧縮方法が得られる効果
がある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method according to any one of the first to sixth aspects,
For one-dimensional time-series data with unequal intervals in time, the one-dimensional time-series data compression method is applied independently to time and data, and each is compressed independently. Even for spaced one-dimensional time-series data, compression can be performed in accordance with the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a one-dimensional time-series data compression method can be obtained.

【0232】また、この発明の請求項21記載の1次元
時系列データ圧縮方法によれば、請求項1ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
多次元時系列データを構成する複数の1次元時系列デー
タの各々に対し、当該1次元時系列データ圧縮方法を繰
り返し適用することで、多次元時系列データの圧縮を行
なうようにしたので、多次元時系列データに対しても、
与えられた多次元時系列データを構成する各1次元時系
列データの性質に合わせた圧縮が行なえ、圧縮率は近似
精度によってコントロールできるため、伸長後の誤差を
前もって把握することができる1次元時系列データ圧縮
方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method of any one of the first to sixth aspects,
By repeatedly applying the one-dimensional time-series data compression method to each of a plurality of one-dimensional time-series data constituting the multi-dimensional time-series data, the multi-dimensional time-series data is compressed. For dimensional time series data,
Compression can be performed according to the properties of each one-dimensional time series data that constitutes given multi-dimensional time series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance There is an effect that a sequence data compression method can be obtained.

【0233】また、この発明の請求項22記載の1次元
時系列データ圧縮方法によれば、請求項1ないし6のい
ずれかに記載の1次元時系列データ圧縮方法において、
複数の誤差が伝搬する1次元時系列データに対して、伝
搬の源の1次元時系列データから順に近似精度値を大き
くし、当該1次元時系列データ圧縮方法を繰り返し適用
することで、全ての前記1次元時系列データの圧縮を行
なうようにしたので、誤差の伝搬を大きくすることな
く、与えられた1次元時系列データの性質に合わせた圧
縮が行なえ、圧縮率は近似精度によってコントロールで
きるため、伸長後の誤差を前もって把握することができ
る1次元時系列データ圧縮方法が得られる効果がある。
According to the one-dimensional time-series data compression method of the present invention, in the one-dimensional time-series data compression method according to any one of the first to sixth aspects,
For one-dimensional time-series data in which a plurality of errors propagate, the approximation accuracy value is increased in order from the one-dimensional time-series data of the propagation source, and the one-dimensional time-series data compression method is repeatedly applied. Since the one-dimensional time-series data is compressed, the compression can be performed in accordance with the properties of the given one-dimensional time-series data without increasing the propagation of error, and the compression ratio can be controlled by approximation accuracy. In addition, there is an effect that a one-dimensional time-series data compression method can be obtained in which an error after decompression can be grasped in advance.

【0234】また、この発明の請求項23記載の1次元
時系列データ伸長方法によれば、請求項1,3または4
のいずれかに記載の1次元時系列データ圧縮方法で圧縮
された圧縮データを伸長する方法であって、圧縮された
圧縮データとこれを伸長した時のデータ数を入力する第
1の工程と、圧縮の際に使用した補間関数と同じ補間関
数を使用して圧縮データを補間することで、前記データ
数と同数分のデータを算出し、初期時間と時間間隔から
時刻を前記データ数と同数分だけ算出する第2の工程
と、前記第2の工程で算出した前記データと前記時刻と
を出力する第3の工程とを含むようにしたので、伸長に
関しても、補間関数による連続化を用いるため、請求項
1,3または4のいずれかに記載の1次元時系列データ
圧縮方法で圧縮された圧縮データを伸長でき、しかも任
意数でのデータの伸長が可能となる1次元時系列データ
伸長方法が得られる効果がある。
According to the one-dimensional time-series data decompression method according to the twenty-third aspect of the present invention,
A method for expanding compressed data compressed by the one-dimensional time-series data compression method according to any one of the above, wherein a first step of inputting the compressed data and the number of data when the compressed data is expanded; By interpolating the compressed data using the same interpolation function as that used in the compression, the same number of data as the number of data is calculated, and the time is calculated from the initial time and the time interval by the same number as the number of data. Only, and the third step of outputting the data and the time calculated in the second step is included, so that the continuity using the interpolation function is also used for the decompression. A one-dimensional time-series data decompression method capable of decompressing the compressed data compressed by the one-dimensional time-series data compression method according to any one of claims 1, 3 and 4, and decompressing an arbitrary number of data. Is obtained There is a result.

【0235】また、この発明の請求項24記載の1次元
時系列データ伸長方法によれば、請求項2,5または6
のいずれかに記載の1次元時系列データ圧縮方法で圧縮
された圧縮データを伸長する方法であって、圧縮された
圧縮データとこれを伸長した時のデータ数を入力する第
1の工程と、前記圧縮データに該データが全て0である
ことを示す識別子が付与されている場合は、前記データ
数と同数分の0と、初期時間と時間間隔から時刻を前記
データ数と同数分だけ算出し、前記圧縮データに該デー
タが全て0であることを示す識別子が付与されていない
場合は、圧縮の際に使用した補間関数と同じ補間関数を
使用して圧縮データを補間することで、前記データ数と
同数分のデータを算出し、初期時間と時間間隔から時刻
を前記データ数と同数分だけ算出する第2の工程と、前
記第2の工程で算出した前記データと前記時刻とを出力
する第3の工程とを含むようにしたので、伸長に関して
も、補間関数による連続化を用いるため、請求項2,5
または6のいずれかに記載の1次元時系列データ圧縮方
法で圧縮された圧縮データを伸長でき、しかも任意数で
のデータの伸長が可能となる1次元時系列データ伸長方
法が得られる効果がある。
Further, according to the one-dimensional time series data decompression method according to claim 24 of the present invention, claim 2, 5 or 6
A method for expanding compressed data compressed by the one-dimensional time-series data compression method according to any one of the above, wherein a first step of inputting the compressed data and the number of data when the compressed data is expanded; When an identifier indicating that all the data is 0 is given to the compressed data, the time is calculated from the initial time and the time interval by the same number of 0s as the number of data, and 0 as the number of data. In the case where the compressed data is not provided with an identifier indicating that the data is all 0, the compressed data is interpolated using the same interpolation function as the interpolation function used in the compression. A second step of calculating the same number of data as the number and calculating the time from the initial time and the time interval by the same number as the data number; and outputting the data and the time calculated in the second step. The third step and Since to include, with respect to extension, for using the serialized by the interpolation function, claim 2,5
Or a one-dimensional time-series data decompression method capable of decompressing the compressed data compressed by the one-dimensional time-series data compression method according to any one of (6) and (4), and decompressing an arbitrary number of data. .

【0236】また、この発明の請求項25記載の1次元
時系列データ伸長方法によれば、請求項23または24
記載の1次元時系列データ伸長方法において、圧縮され
た多次元時系列データを構成する複数の圧縮された1次
元時系列データの各々に対し、当該1次元時系列データ
伸長方法を繰り返し適用することで、圧縮された多次元
時系列データの伸長を行なうようにしたので、多次元時
系列データの圧縮データに対しても、請求項23または
24記載の1次元時系列データ伸長方法を適用して各次
元のデータを伸長でき、しかも任意数でのデータの伸長
が可能となる1次元時系列データ伸長方法が得られる効
果がある。
According to the one-dimensional time series data decompression method of the twenty-fifth aspect of the present invention, the twenty-third or the twenty-fourth aspect of the present invention.
In the one-dimensional time-series data decompression method described above, the one-dimensional time-series data decompression method is repeatedly applied to each of a plurality of compressed one-dimensional time-series data constituting the compressed multi-dimensional time-series data. Since the compressed multi-dimensional time-series data is expanded, the one-dimensional time-series data expansion method according to claim 23 or 24 is applied to the compressed data of the multi-dimensional time-series data. There is an effect that a one-dimensional time-series data decompression method that can decompress data in each dimension and decompress data in an arbitrary number is obtained.

【0237】また、この発明の請求項26記載の1次元
時系列データ圧縮プログラム記録媒体によれば、時間等
間隔な1次元時系列データの圧縮プログラムを記録した
媒体であって、前記1次元時系列データとその近似精度
の入力を行なう第1の工程と、前記1次元時系列データ
を近似する補間関数の節点候補を算出する第2の工程
と、前記節点候補の位置を最適化する第3の工程と、前
記位置が最適化された節点候補に基づき前記補間関数に
より発生した1次元時系列データと元の1次元時系列デ
ータとの誤差を判定する第4の工程と、前記第4の工程
により前記誤差が前記近似精度に基づく値を越えると判
断された場合に前記第2の工程に戻る第5の工程と、前
記第5の工程により前記誤差が前記近似精度に基づく値
を越えないと判断された場合に当該節点候補のデータと
これに対応する時刻のデータとを圧縮された情報として
出力する第6の工程とを含む1次元時系列データ圧縮プ
ログラムを記録するようにしたので、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができる、プログラムを記録
した1次元時系列データ圧縮プログラム記録媒体が得ら
れる効果がある。
According to the one-dimensional time-series data compression program recording medium of the twenty-sixth aspect of the present invention, there is provided a medium for recording a one-dimensional time-series data compression program at a time equal interval, wherein the one-dimensional time-series data compression program is recorded. A first step of inputting sequence data and its approximation accuracy, a second step of calculating node candidates for an interpolation function that approximates the one-dimensional time-series data, and a third step of optimizing the positions of the node candidates And a fourth step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidates whose positions have been optimized; and A fifth step of returning to the second step when it is determined by the step that the error exceeds a value based on the approximation accuracy, and the error does not exceed a value based on the approximation accuracy by the fifth step. Judged In this case, a one-dimensional time-series data compression program including a sixth step of outputting the data of the node candidate and the data of the time corresponding thereto as compressed information is recorded. One-dimensional time-series data compression program recording media that records programs can perform compression according to the properties of one-dimensional time-series data and control the compression ratio with approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that can be obtained.

【0238】また、この発明の請求項27記載の1次元
時系列データ圧縮プログラム記録媒体によれば、時間等
間隔な1次元時系列データの圧縮プログラムを記録した
媒体であって、前記1次元時系列データとその近似精度
の入力を行なう第1の工程と、前記1次元時系列データ
に前記近似精度以内のデータが含まれているか否かを判
定する第2の工程と、前記第2の工程により前記1次元
時系列データに前記近似精度以内のデータが含まれてい
ないと判断された場合に前記1次元時系列データを近似
する補間関数の節点候補を算出する第3の工程と、前記
節点候補の位置を最適化する第4の工程と、前記位置が
最適化された節点候補に基づき前記補間関数により発生
した1次元時系列データと元の1次元時系列データとの
誤差を判定する第5の工程と、前記第5の工程により前
記誤差が前記近似精度に基づく値を越えると判断された
場合に前記第3の工程に戻る第6の工程と、前記第2の
工程により前記1次元時系列データに前記近似精度以内
のデータが含まれていると判断された場合に当該1次元
時系列データが近似精度以内のデータである旨の情報を
出力し、前記第5の工程により前記誤差が前記近似精度
に基づく値を越えないと判断された場合に当該節点候補
のデータとこれに対応する時刻のデータとを圧縮された
情報として出力する第7の工程とを含む1次元時系列デ
ータ圧縮プログラムを記録するようにしたので、与えら
れた1次元時系列データの性質に合わせた圧縮が行な
え、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができる、プ
ログラムを記録した1次元時系列データ圧縮プログラム
記録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 27 of the present invention, there is provided a medium recording a one-dimensional time-series data compression program at equal time intervals, comprising: A first step of inputting series data and its approximation accuracy, a second step of determining whether or not the one-dimensional time-series data includes data within the approximation accuracy, and the second step A third step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data when it is determined that the one-dimensional time-series data does not include data within the approximation accuracy; A fourth step of optimizing the position of the candidate, and determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the node candidate whose position has been optimized. A step of returning to the third step when it is determined by the fifth step that the error exceeds a value based on the approximation accuracy; and a step of returning to the one-dimensional time by the second step. When it is determined that the data within the approximation accuracy is included in the series data, information that the one-dimensional time-series data is data within the approximation accuracy is output, and the error is reduced by the fifth step. A seventh step of outputting the node candidate data and the corresponding time data as compressed information when it is determined that the value does not exceed the value based on the approximation accuracy. Because the program is recorded, compression can be performed according to the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. Can, the effect of one-dimensional time series data compression program recording medium recording a program can be obtained.

【0239】また、この発明の請求項28記載の1次元
時系列データ圧縮プログラム記録媒体によれば、時間等
間隔な1次元時系列データの圧縮プログラムを記録した
媒体であって、前記1次元時系列データとその近似精度
の入力を行ない、前記1次元時系列データに対しその時
刻の順にインデックスを付加し、前記1次元時系列デー
タを補間する補間関数の初期の節点数を算出する第1の
工程と、前記1次元時系列データの中から、始めと終り
のデータを必ず含み、かつランダムに前記節点数個だけ
の節点候補を決定する第2の工程と、前記節点候補をイ
ンデックス番号を独立変数とする補間関数により補間し
て、元の1次元時系列データとの誤差を算出する第3の
工程と、前記誤差から、この誤差の最大値と誤差平均と
誤差分散との重み付け加算で定義された第1目的関数の
値を算出する第4の工程と、前記第1目的関数の値が最
小となるように節点候補の変更を繰り返し行ない、準最
適節点候補を決定する第5の工程と、前記準最適節点候
補を前記補間関数により補間して元の1次元時系列デー
タを近似する1次元時系列データを生成し、この1次元
時系列データと元の1次元時系列データとの誤差を算出
する第6の工程と、前記誤差から、この誤差の最大値と
誤差平均と誤差分散との重み付け加算で定義された第2
目的関数の値を算出する第7の工程と、前記第2目的関
数の値が前記近似精度に対応する閾値以上ならば、前記
節点数に増分を加えたものを新たな節点数とし、前記第
2の工程から第7の工程までの処理を繰り返す第8の工
程と、前記第2目的関数の値が前記閾値未満ならば、前
記1次元時系列データの初期時刻と時間間隔と、最終的
に決定された節点候補のインデックス番号と前記節点候
補の値とで構成された圧縮データを出力する第9の工程
とを含む1次元時系列データ圧縮プログラムを記録する
ようにしたので、与えられた1次元時系列データの性質
に合わせた圧縮が行なえ、圧縮率は近似精度によってコ
ントロールできるため、伸長後の誤差を前もって把握す
ることができる、プログラムを記録した1次元時系列デ
ータ圧縮プログラム記録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 28 of the present invention, there is provided a medium recording a time-equally-spaced one-dimensional time-series data compression program, wherein the one-dimensional time-series data compression program is recorded. A first step of inputting sequence data and its approximation accuracy, adding an index to the one-dimensional time-series data in the order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data. A second step of determining the node candidates of only a few nodes, which always includes the beginning and end data from the one-dimensional time-series data, and independently determining the index numbers of the node candidates. A third step of calculating an error with respect to the original one-dimensional time-series data by interpolating using an interpolation function as a variable; A fourth step of calculating the value of the first objective function defined by the addition and repeating the change of the node candidate so that the value of the first objective function is minimized, and determining the sub-optimal node candidate. And generating the one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating the sub-optimal node candidates using the interpolation function. A sixth step of calculating an error with respect to the data, and a second step defined by weighted addition of the maximum value of the error, the average of the error, and the error variance from the error.
A seventh step of calculating a value of the objective function, and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes; An eighth step of repeating the processing from the second step to the seventh step, and if the value of the second objective function is less than the threshold, the initial time and the time interval of the one-dimensional time-series data, A one-dimensional time-series data compression program including a ninth step of outputting compressed data composed of the index number of the determined node candidate and the value of the node candidate is recorded. One-dimensional time-series data compression programs that record programs can be compressed according to the properties of one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. The effect of the recording medium is obtained.

【0240】また、この発明の請求項29記載の1次元
時系列データ圧縮プログラム記録媒体によれば、時間等
間隔な1次元時系列データの圧縮プログラムを記録した
媒体であって、前記1次元時系列データとその近似精度
の入力を行ない、前記1次元時系列データに対しその時
刻の順にインデックスを付加し、前記1次元時系列デー
タを補間する補間関数の初期の節点数を算出する第1の
工程と、前記1次元時系列データの中から、始めと終り
のデータを必ず含み、かつ前記インデックスに関して近
似的に等間隔となるように前記節点数個だけの節点候補
を決定する第2の工程と、前記節点候補をインデックス
番号を独立変数とする補間関数により補間して、元の1
次元時系列データとの誤差を算出する第3の工程と、前
記誤差から、この誤差の最大値と誤差平均と誤差分散と
の重み付け加算で定義された第1目的関数の値を算出す
る第4の工程と、前記第1目的関数の値が最小となるよ
うに節点候補の変更を繰り返し行ない、準最適節点候補
を決定する第5の工程と、前記準最適節点候補を前記補
間関数により補間して、元の1次元時系列データを近似
する1次元時系列データを生成し、この1次元時系列デ
ータと元の1次元時系列データとの誤差を算出する第6
の工程と、前記誤差から、この誤差の最大値と誤差平均
と誤差分散との重み付け加算で定義された第2目的関数
の値を算出する第7の工程と、前記第2目的関数の値が
前記近似精度に対応する閾値以上ならば、前記節点数に
増分を加えたものを新たな節点数とし、前記第2の工程
から第7の工程の処理までを繰り返す第8の工程と、前
記第2目的関数の値が前記閾値未満ならば、前記1次元
時系列データの初期時刻と時間間隔と、最終的に決定さ
れた節点候補のインデックス番号と前記節点候補の値と
で構成された圧縮データを出力する第9の工程とを含む
1次元時系列データ圧縮プログラムを記録するようにし
たので、与えられた1次元時系列データの性質に合わせ
た圧縮が行なえ、圧縮率は近似精度によってコントロー
ルできるため、伸長後の誤差を前もって把握することが
できる、プログラムを記録した1次元時系列データ圧縮
プログラム記録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 29 of the present invention, there is provided a medium recording a time-equally-spaced one-dimensional time-series data compression program, comprising: A first step of inputting sequence data and its approximation accuracy, adding an index to the one-dimensional time-series data in the order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data. And a second step of determining, from the one-dimensional time-series data, node candidates of only a few nodes so as to always include start and end data and to be approximately equally spaced with respect to the index. And interpolating the node candidate by an interpolation function using the index number as an independent variable,
A third step of calculating an error from the dimensional time-series data; and a fourth step of calculating a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance from the error. And a fifth step of repeatedly changing node candidates so as to minimize the value of the first objective function to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function. Then, one-dimensional time-series data that approximates the original one-dimensional time-series data is generated, and an error between the one-dimensional time-series data and the original one-dimensional time-series data is calculated.
And a seventh step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance. If the threshold value is equal to or greater than the threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes, and an eighth step of repeating the processing from the second step to the seventh step; (2) If the value of the objective function is less than the threshold value, the compressed data composed of the initial time and time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate And a ninth step of outputting the one-dimensional time-series data compression program, so that the compression can be performed in accordance with the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy. Because After the can recognizes in advance the error, the program has the effect of time-series data compression program recording medium 1 dimensional recorded is obtained a.

【0241】この発明の請求項30記載の1次元時系列
データ圧縮プログラム記録媒体によれば、時間等間隔な
1次元時系列データの圧縮プログラムを記録した媒体で
あって、前記1次元時系列データとその近似精度の入力
を行ない、前記1次元時系列データに時刻の順にインデ
ックスを付加し、前記1次元時系列データを補間する補
間関数の初期の節点数を算出する第1の工程と、前記1
次元時系列データの絶対値が全て前記近似精度以下か否
かの判定を行ない、前記近似精度以下の場合は全て0で
あることを示す識別子を出力して終了し、そうでない場
合は後述する第3の工程へと移行する第2の工程と、前
記1次元時系列データの中から、始めと終りのデータを
必ず含み、かつランダムに前記節点数個だけの節点候補
を決定する第3の工程と、前記節点候補をインデックス
番号を独立変数とする補間関数により補間して、元の1
次元時系列データとの誤差を算出する第4の工程と、前
記誤差から、この誤差の最大値と誤差平均と誤差分散と
の重み付け加算で定義された第1目的関数の値を算出す
る第5の工程と、前記第1目的関数の値が最小となるよ
うに節点候補の変更を繰り返し行ない、準最適節点候補
を決定する第6の工程と、前記準最適節点候補を前記補
間関数により補間して、元の1次元時系列データを近似
する1次元時系列データを生成し、1次元時系列データ
と元の1次元時系列データとの誤差を算出する第7の工
程と、前記誤差から、この誤差の最大値と誤差平均と誤
差分散との重み付け加算で定義された第2目的関数の値
を算出する第8の工程と、前記第2目的関数の値が前記
近似精度に対応する閾値以上ならば、前記節点数に増分
を加えたものを新たな節点数とし、前記第3の工程から
第8の工程までの処理を繰り返す第9の工程と、前記第
2目的関数の値が前記閾値未満ならば、前記1次元時系
列データの初期時刻と時間間隔と、最終的に決定された
節点候補のインデックス番号と前記節点候補の値とで構
成された圧縮データを出力する第10の工程とを含む1
次元時系列データ圧縮プログラムを記録するようにした
ので、与えられた1次元時系列データの性質に合わせた
圧縮が行なえ、圧縮率は近似精度によってコントロール
できるため、伸長後の誤差を前もって把握することがで
きる、しかも近似精度内のデータに関してはその処理を
省略できるプログラムを記録した1次元時系列データ圧
縮プログラム記録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 30 of the present invention, there is provided a medium in which a one-dimensional time-series data compression program at an equal time interval is recorded, wherein the one-dimensional time-series data compression program is recorded. And a first step of inputting an approximation accuracy thereof, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, 1
It is determined whether or not all the absolute values of the dimensional time-series data are less than or equal to the approximation accuracy. If the absolute value is less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. A second step of shifting to the third step, and a third step of randomly determining only a few node candidates including the start and end data from the one-dimensional time-series data. And interpolating the node candidate by an interpolation function using the index number as an independent variable,
A fourth step of calculating an error from the dimensional time-series data; and a fifth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. And a sixth step of repeatedly changing node candidates so as to minimize the value of the first objective function to determine a sub-optimal node candidate, and interpolating the sub-optimal node candidate by the interpolation function. A seventh step of generating one-dimensional time-series data approximating the original one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance, wherein the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy. Then, add the increment to the number of nodes A ninth step of repeating the processing from the third step to the eighth step, and an initial time of the one-dimensional time-series data if the value of the second objective function is less than the threshold. A tenth step of outputting compressed data composed of the time interval, the index number of the finally determined node candidate, and the value of the node candidate
Because a one-dimensional time-series data compression program is recorded, compression can be performed in accordance with the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. In addition, there is an effect that a one-dimensional time-series data compression program recording medium in which a program capable of omitting the processing for data within the approximation accuracy can be obtained.

【0242】また、この発明の請求項31記載の1次元
時系列データ圧縮プログラム記録媒体によれば、時間等
間隔な1次元時系列データの圧縮プログラムを記録した
媒体であって、前記1次元時系列データとその近似精度
の入力を行ない、前記1次元時系列データに時刻の順に
インデックスを付加し、前記1次元時系列データを補間
する補間関数の初期の節点数を算出する第1の工程と、
前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、近似精度以下の場合は全て0
であることを示す識別子を出力して終了し、そうでない
場合は後述する第3の工程へと移行する第2の工程と、
前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第3の工程と、前記節点候補をインデックス番号を独
立変数とする補間関数により補間して、元の1次元時系
列データとの誤差を算出する第4の工程と、前記誤差か
ら、この誤差の最大値と誤差平均と誤差分散との重み付
け加算で定義された第1目的関数の値を算出する第5の
工程と、前記第1目的関数の値が最小となるように節点
候補の変更を繰り返し行ない、準最適節点候補を決定す
る第6の工程と、前記準最適節点候補を前記補間関数に
より補間して、元の1次元時系列データを近似する1次
元時系列データを生成し、この1次元時系列データと元
の1次元時系列データとの誤差を算出する第7の工程
と、前記誤差から、この誤差の最大値と誤差平均と誤差
分散との重み付け加算で定義された第2目的関数の値を
算出する第8の工程と、前記第2目的関数の値が前記近
似精度に対応する閾値以上ならば、前記節点数に増分を
加えたものを新たな節点数とし、前記第3の工程から第
8の工程までの処理を繰り返す第9の工程と、前記第2
目的関数の値が前記閾値未満ならば、前記1次元時系列
データの初期時刻と時間間隔と、最終的に決定された節
点候補のインデックス番号と前記節点候補の値とで構成
された圧縮データを出力する第10の工程とを含む1次
元時系列データ圧縮プログラムを記録するようにしたの
で、与えられた1次元時系列データの性質に合わせた圧
縮が行なえ、圧縮率は近似精度によってコントロールで
きるため、伸長後の誤差を前もって把握することができ
る、しかも近似精度内のデータに関してはその処理を省
略できるプログラムを記録した1次元時系列データ圧縮
プログラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 31 of the present invention, there is provided a medium recording a one-dimensional time-series data compression program at equal time intervals, comprising: A first step of inputting sequence data and its approximation accuracy, adding an index to the one-dimensional time-series data in order of time, and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; ,
It is determined whether or not all the absolute values of the one-dimensional time-series data are less than or equal to the approximation accuracy.
A second step of outputting an identifier indicating that the processing is terminated, and otherwise, proceeding to a third step described below;
A third step of, among the one-dimensional time-series data, always including the start and end data and determining only a few node candidates so as to be approximately equally spaced with respect to the index; A fourth step of interpolating the node candidates by an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data; and, from the error, a maximum value of the error, an error average, and an error. A fifth step of calculating the value of the first objective function defined by the weighted addition with the variance, and repeatedly changing the node candidates so that the value of the first objective function is minimized; A sixth step of determining, and interpolating the sub-optimal node candidates using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data; One-dimensional time series data A seventh step of calculating an error from the data, and an eighth step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. If the value of the second objective function is equal to or larger than the threshold value corresponding to the approximation accuracy, the number obtained by adding an increment to the number of nodes is set as a new number of nodes, and the processing from the third step to the eighth step is performed. Repeating the ninth step and the second step
If the value of the objective function is less than the threshold, the compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate Since the one-dimensional time-series data compression program including the tenth step to output is recorded, compression can be performed according to the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. In addition, there is an effect that a one-dimensional time-series data compression program recording medium which records a program which can grasp the error after decompression in advance and which can omit the processing for data within the approximation accuracy can be obtained.

【0243】また、この発明の請求項32記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、I(j-1) < I(j)-1 の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の前
記第1目的関数の値を算出し、前記第1目的関数の値か
ら元の第1目的関数の値を減じた値ΔE(1-) を算出し、
I(j-1)≧I(j)-1ならば前記ΔE(1-) を0に設定し、I(j)
+1 <I(j+1)の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の前記第1目的関数の値を
算出し、前記第1目的関数の値から前記元の第1目的関
数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)な
らば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前
記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点候
補I(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧
0 かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節
点候補I(j)の交換を行なわず、前記ΔE(1-)<0かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記
ΔE(1+) 以下ならば、前記節点候補I(j)を前記節点候補
I(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より
大きいならば、前記節点候補I(j)を前記節点候補I(j)+1
に交換する操作を奇数のj については小さいものから大
きいものの順、および偶数のj については大きいものか
ら小さいものの順に行ない、これら一連の処理が終了し
た時の第1目的関数の値が前記元の第1目的関数の値か
ら前記閾値を減じたもの以下ならば、前記操作を奇数の
j については小さいものから大きいものの順、および偶
数のj については大きいものから小さいものの順に再び
行ない、前記節点候補の交換が全く行なわれなかった
か、前記第1目的関数の値が前記元の第1目的関数の値
から閾値を減じたものより大きいならば、処理を終了す
ることにより、行なうプログラムを記録するようにした
ので、補間関数の準最適節点を求める処理を実現でき、
与えられた1次元時系列データの性質に合わせた圧縮が
行なえ、圧縮率は近似精度によってコントロールできる
ため、伸長後の誤差を前もって把握することができるプ
ログラムを記録した1次元時系列データ圧縮プログラム
記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 32 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
When the relationship of I (j-1) <I (j) -1 holds, the first objective function of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Calculating a value, and calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function,
If I (j-1) ≧ I (j) -1, the ΔE (1-) is set to 0, and I (j)
If the relationship of +1 <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the objective function is calculated. If I (j) + 1 ≧ I (j + 1), the value ΔE (1+) is set to 0. If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I
(j) is replaced with the node candidate I (j) -1, and ΔE (1-) ≧ 0
And if the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧
0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, and the relationships of ΔE (1-) <0 and ΔE (1 +) <0 hold. And if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I (j) is replaced with the node candidate
I (j) -1 and if the relationship of the above ΔE (1-) <0 and the above ΔE (1 +) <0 holds, and if the above ΔE (1-) is larger than the above ΔE (1+) The node candidate I (j) is replaced with the node candidate I (j) +1
Are performed in order from small to large for odd j, and from large to small for even j, and the value of the first objective function at the time when these series of processing is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the operation is performed using an odd number.
j is performed in ascending order from the smallest to the largest, and for even j, the order is changed from the largest to the smallest, and whether the node candidates are not exchanged at all or the value of the first objective function is equal to the original first value. If the value is larger than the value obtained by subtracting the threshold value from the value of the objective function, the program to be executed is recorded by terminating the process, so that the process of obtaining the sub-optimal node of the interpolation function can be realized.
One-dimensional time-series data compression program recording that records a program that can perform compression according to the properties of given one-dimensional time-series data and can control the compression ratio by approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a medium can be obtained.

【0244】また、この発明の請求項33記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、I(j-1) < I(j)-1 の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の前
記第1目的関数の値を算出し、前記第1目的関数の値か
ら元の第1目的関数の値を減じた値ΔE(1-) を算出し、
I(j-1)≧ I(j)-1 の関係が成り立つならば前記ΔE(1-)
を0に設定し、I(j)+1 < I(j+1) の関係が成り立つなら
ば前記節点候補I(j)を節点候補I(j)+1に交換した時の前
記第1目的関数の値を算出し、前記第1目的関数の値か
ら前記元の第1目的関数の値を減じた値ΔE(1+) を算出
し、I(j)+1≧I(j+1)の関係が成り立つならば前記ΔE(1
+)を0に設定し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0
の関係が成り立つならば前記節点候補I(j)を前記節点候
補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<
0 の関係が成り立つならば前記節点候補I(j)を前記節点
候補I(j)+1に交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1
+) ≧0 の関係が成り立つならば前記節点候補I(j)の交
換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関
係が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ、前記ΔE(1-) の方が前記ΔE(1+) より大きい
ならば、前記節点候補I(j)を前記節点候補I(j)+1に交換
する操作を奇数のj については大きいものから小さいも
のの順、および偶数のj については小さいものから大き
いものの順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から閾値
を減じたもの以下ならば、前記操作を奇数のj について
は大きいものから小さいものの順、および偶数のj につ
いては小さいものから大きいものの順に再び行ない、節
点候補の前記交換が全く行なわれなかったか、前記第1
目的関数の値が前記元の第1目的関数の値から閾値を減
じたものより大きいならば、処理を終了することによ
り、行なうプログラムを記録するようにしたので、補間
関数の準最適節点を求める処理を実現でき、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができるプログラムを
記録した1次元時系列データ圧縮プログラム記録媒体が
得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 33 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
When the relationship of I (j-1) <I (j) -1 holds, the first objective function of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Calculating a value, and calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function,
If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-)
Is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the first object when the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the function is calculated, and a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I (j + 1) If the relationship holds, then ΔE (1
+) Is set to 0, and ΔE (1-) <0 and ΔE (1+) ≧ 0
If the relationship holds, the node candidate I (j) is replaced with the node candidate I (j) -1, the ΔE (1-) ≧ 0 and the ΔE (1 +) <
0, the node candidate I (j) is replaced with the node candidate I (j) +1, and ΔE (1-) ≧ 0 and ΔE (1
+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relations ΔE (1-) <0 and ΔE (1 +) <0 hold, and the ΔE ( If 1−) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) −1, the ΔE (1-) <0 and the ΔE (1+) <0, and if ΔE (1-) is greater than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 Are performed in the order of large to small for odd j, and in the order of small to large for even j, and the value of the first objective function at the time when a series of these processes is completed is equal to the original first objective function. If the threshold value is less than the value obtained by subtracting the threshold value from the above value, the above operation is performed again in the order of large to small for odd j and in the order of small to large for even j, and Whether the replacement of the complement was not performed at all,
If the value of the objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the program to be executed is recorded by terminating the process, so that a sub-optimal node of the interpolation function is obtained. Processing can be realized, compression can be performed according to the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. There is an effect that a series data compression program recording medium can be obtained.

【0245】また、この発明の請求項34記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、 I(j-1) < I(j)-1の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の第
1目的関数の値を算出し、前記第1目的関数の値から元
の第1目的関数の値を減じた値ΔE(1-) を算出し、I(j-
1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を0に
設定し、I(j)+1 <I(j+1)の関係が成り立つならば前記節
点候補I(j)を節点候補I(j)+1に交換した時の第1目的関
数の値を算出し、前記第1目的関数の値から前記元の第
1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧
I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-) ≧ 0かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係
が成り立つならば前記節点候補I(j)の交換を行なわず、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1
-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ、前
記ΔE(1-) が前記ΔE(1+) より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換する操作をj=1 か
ら[m/2 ]まで、およびj=m-1 から[m/2 ]+1まで順に
行ない、これら一連の処理が終了した時の第1目的関数
の値が前記元の第1目的関数の値から前記閾値を減じた
もの以下ならば、前記操作をj=1 から[m/2 ]まで、お
よびj=m-1 から[m/2 ]+1まで順に再び行ない、節点候
補の前記交換が全く行なわれなかったか、前記第1目的
関数の値が前記元の第1目的関数の値から閾値を減じた
ものより大きいならば、処理を終了することにより、行
なうプログラムを記録するようにしたので、補間関数の
準最適節点を求める処理を実現でき、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができるプログラムを記録し
た1次元時系列データ圧縮プログラム記録媒体が得られ
る効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 34 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
If the relation I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j−
1) If the relationship of ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+) and I (j) + 1 ≧
If the relationship of I (j + 1) holds, the ΔE (1+) is set to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced by the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). Exchange to the node candidate I (j) +1, if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, do not exchange the node candidate I (j),
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1
-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I The operation of exchanging for (j) +1 is performed in order from j = 1 to [m / 2], and from j = m-1 to [m / 2] +1. If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = 1 to [m / 2] and j = m-1 to [m / 2]. +1) in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold, the process is performed. By ending, the program to be executed is recorded, so that processing for obtaining a sub-optimal node of the interpolation function can be realized, compression can be performed in accordance with the properties of given one-dimensional time-series data, and compression can be performed. Since the rate can be controlled by the approximation accuracy, one-dimensional time series data compression program storage medium storing a program capable recognizes in advance error after elongation is the effect obtained.

【0246】また、この発明の請求項35記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、I(j-1) < I(j)-1 の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の第
1目的関数の値を算出し、前記第1目的関数の値から元
の第1目的関数の値を減じた値ΔE(1-) を算出し、I(j-
1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を0に
設定し、I(j)+1 <I(j+1)の関係が成り立つならば前記節
点候補I(j)を節点候補I(j)+1に交換した時の第1目的関
数の値を算出し、前記第1目的関数の値から前記元の第
1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧
I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係
が成り立つならば前記節点候補I(j)の交換を行なわず、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換する操作をj=[m/2 ]
から1 まで、およびj=[m/2 ]+1からm-1 まで順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から前記閾値を減じたもの
以下ならば、前記操作をj=[m/2 ]から1 まで、および
j=[m/2 ]+1からm-1 まで順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
プログラムを記録するようにしたので、補間関数の準最
適節点を求める処理を実現でき、与えられた1次元時系
列データの性質に合わせた圧縮が行なえ、圧縮率は近似
精度によってコントロールできるため、伸長後の誤差を
前もって把握することができるプログラムを記録した1
次元時系列データ圧縮プログラム記録媒体が得られる効
果がある。
According to the one-dimensional time-series data compression program recording medium of claim 35 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
If the relation of I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j−
1) If the relationship of ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+) and I (j) + 1 ≧
If the relationship of I (j + 1) holds, the ΔE (1+) is set to 0.If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node candidate I (j). Exchange to the node candidate I (j) +1, if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, do not exchange the node candidate I (j),
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
The operation of exchanging (j) for the node candidate I (j) +1 is j = [m / 2]
To 1 and j = [m / 2] +1 to m−1, and the value of the first objective function when these series of processes are completed is calculated from the value of the original first objective function by the threshold value. If not more than j = [m / 2] to 1, and
j = [m / 2] +1 to m−1 again in order, and whether the node candidates have not been exchanged at all or the value of the first objective function is set to a threshold value from the value of the original first objective function If it is larger than the subtracted one, the program to be executed is recorded by terminating the processing, so that the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the processing can be performed according to the properties of the given one-dimensional time-series data. In addition, since the compression rate can be controlled and the compression ratio can be controlled by the approximation accuracy, a program which can grasp the error after decompression in advance is recorded.
There is an effect that a dimensional time series data compression program recording medium can be obtained.

【0247】また、この発明の請求項36記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、I(j-1) < I(j)-1 の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の第
1目的関数の値を算出し、前記第1目的関数の値から元
の第1目的関数の値を減じた値ΔE(1-) を算出し、I(j-
1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を0に
設定し、I(j)+1 <I(j+1)の関係が成り立つならば前記節
点候補I(j)を節点候補I(j)+1に交換した時の第1目的関
数の値を算出し、前記第1目的関数の値から前記元の第
1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧
I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係
が成り立つならば前記節点候補I(j)の交換を行なわず、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換する操作をj=1 からm-1
まで順に行ない、これら一連の処理が終了した時の第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたもの以下ならば、前記操作をj=1 からm-1 まで順
に再び行ない、節点候補の前記交換が全く行なわれなか
ったか、前記第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたものより大きいならば、処理を終
了することにより、行なうプログラムを記録するように
したので、補間関数の準最適節点を求める処理を実現で
き、与えられた1次元時系列データの性質に合わせた圧
縮が行なえ、圧縮率は近似精度によってコントロールで
きるため、伸長後の誤差を前もって把握することができ
るプログラムを記録した1次元時系列データ圧縮プログ
ラム記録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 36 of the present invention, in the one-dimensional time-series data compression program recording medium according to any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
If the relation of I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j−
1) If the relationship of ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+) and I (j) + 1 ≧
If the relationship of I (j + 1) holds, the ΔE (1+) is set to 0.If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node candidate I (j). Exchange to the node candidate I (j) +1, if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, do not exchange the node candidate I (j),
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
The operation of replacing (j) with the node candidate I (j) +1 is from j = 1 to m-1
If the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed from j = 1 to m-1. Repeatedly in order, if the exchange of node candidates has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold, the process is terminated. Since the program to be executed is recorded, it is possible to realize processing for obtaining a sub-optimal node of the interpolation function, perform compression according to the properties of given one-dimensional time-series data, and control the compression ratio by approximation accuracy. In addition, there is an effect that a one-dimensional time-series data compression program recording medium in which a program capable of grasping the error after decompression in advance is recorded.

【0248】また、この発明の請求項37記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、I(j-1) < I(j)-1 の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の第
1目的関数の値を算出し、前記第1目的関数の値から元
の第1目的関数の値を減じた値ΔE(1-) を算出し、I(j-
1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を0に
設定し、I(j)+1 <I(j+1)の関係が成り立つならば前記節
点候補I(j)を節点候補I(j)+1に交換した時の第1目的関
数の値を算出し、前記第1目的関数の値から前記元の第
1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧
I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係
が成り立つならば前記節点候補I(j)の交換を行なわず、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換する操作をj=m-1 から1
まで順に行ない、これら一連の処理が終了した時の第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたもの以下ならば、前記操作をj=m-1 から1 まで順
に再び行ない、節点候補の前記交換が全く行なわれなか
ったか、前記第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたものより大きいならば、処理を終
了することにより、行なうプログラムを記録したので、
補間関数の準最適節点を求める処理を実現でき、与えら
れた1次元時系列データの性質に合わせた圧縮が行な
え、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができるプロ
グラムを記録した1次元時系列データ圧縮プログラム記
録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium according to claim 37 of the present invention, in the one-dimensional time-series data compression program recording medium according to any one of claims 28 to 31, The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
If the relation of I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j−
1) If the relationship of ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+) and I (j) + 1 ≧
If the relationship of I (j + 1) holds, the ΔE (1+) is set to 0.If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node candidate I (j). Exchange to the node candidate I (j) +1, if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, do not exchange the node candidate I (j),
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
The operation of exchanging (j) for the node candidate I (j) +1 is from j = m-1 to 1
If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed from j = m-1 to 1. Repeatedly in order, if the exchange of node candidates has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold, the process is terminated. Since I recorded the program to be run,
The process of finding the sub-optimal node of the interpolation function can be realized, the compression can be performed according to the properties of the given one-dimensional time series data, and the compression ratio can be controlled by the approximation accuracy, so that the error after decompression can be grasped in advance. There is an effect that a one-dimensional time-series data compression program recording medium on which a program that can be recorded is recorded can be obtained.

【0249】また、この発明の請求項38記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、前記節点候補のインデックスに対して、これ
が小さい順に番号づけを行なったものをI(j),0 ≦j≦m
と表記したとき、 I(j-1) < I(j)-1の関係が成り立つ
ならば節点候補I(j)を節点候補I(j)-1に交換した時の第
1目的関数の値を算出し、前記第1目的関数の値から元
の第1目的関数の値を減じた値ΔE(1-) を算出し、I(j-
1)≧I(j)-1の関係が成り立つならば前記ΔE(1-) を0に
設定し、I(j)+1 <I(j+1)の関係が成り立つならば前記節
点候補I(j)を節点候補I(j)+1に交換した時の第1目的関
数の値を算出し、前記第1目的関数の値から前記元の第
1目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧
I(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換するとともにこの交換を行った時の第1目的関数の値
と前記元の第1目的関数の値の交換を行ない、前記ΔE
(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換するとと
もにこの交換を行った時の第1目的関数の値と前記元の
第1目的関数の値の交換を行ない、前記ΔE(1-) ≧0 か
つ前記ΔE(1+) ≧0 の関係が成り立つならば前記節点候
補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE
(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE
(1+) 以下ならば、前記節点候補I(j)を前記節点候補I
(j)-1に交換するとともにこの交換を行った時の第1目
的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立
ち、かつ前記ΔE(1-) が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
とともにこの交換を行った時の第1の目的関数の値と前
記元の第1の目的関数の値の交換を行なう操作を奇数の
j については小さいものから大きいものの順、および偶
数のj については大きいものから小さいものの順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたもの以下
ならば、前記操作を奇数のj については小さいものから
大きいものの順、および偶数のj については大きいもの
から小さいものの順に再び行ない、節点候補の前記交換
が全く行なわれなかったか、前記第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたものより大き
いならば、処理を終了することにより、行なうプログラ
ムを記録するようにしたので、補間関数の準最適節点を
求める処理を実現でき、与えられた1次元時系列データ
の性質に合わせた圧縮が行なえ、圧縮率は近似精度によ
ってコントロールできるため、伸長後の誤差を前もって
把握することができるプログラムを記録した1次元時系
列データ圧縮プログラム記録媒体が得られる効果があ
る。
According to the one-dimensional time-series data compression program recording medium according to claim 38 of the present invention, in the one-dimensional time-series data compression program recording medium according to any one of claims 28 to 31, there is provided the one-dimensional time-series data compression program recording medium according to claim 28. The calculation of the optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j ≦ m.
If the relation I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 Is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j−
1) If the relationship of ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+) and I (j) + 1 ≧
If the relationship of I (j + 1) holds, the ΔE (1+) is set to 0, and if the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged.
(1-) ≧ 0 and the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and The value of one objective function and the value of the original first objective function are exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) Is not exchanged, the ΔE (1-) <0 and the ΔE (1-) <0
(1 +) <0 holds, and the ΔE (1-) is the ΔE
If (1+) or less, the node candidate I (j) is replaced with the node candidate I
(j) -1 and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and ΔE (1-) <0 and ΔE (1 +) <0, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1, and The operation of exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is an odd number.
j is performed in ascending order from small to large, and even j is performed in ascending order from large to small, and the value of the first objective function when these series of processes are completed is calculated from the value of the original first objective function. If the threshold value is less than or equal to the value, the operation is performed again in the order of small to large for odd j and in the order of large to small for even j, and whether the exchange of node candidates has not been performed at all. If the value of the first objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the program to be executed is recorded by terminating the processing. The processing to find the optimal node can be realized, and compression can be performed according to the properties of the given one-dimensional time-series data. The compression ratio can be controlled by approximation accuracy. Because, previously grasped one-dimensional time series data compression program recording medium recording a program capable of the error after the extension has an effect to be obtained.

【0250】また、この発明の請求項39記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、節点候補のインデックスに対して、これが小
さい順に番号づけを行なったものをI(j),0 ≦j ≦mと
表記したとき、 I(j-1) < I(j)-1の関係が成り立つなら
ば節点候補I(j)を節点候補I(j)-1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から元の第
1目的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧
I(j)-1の関係が成り立つならば前記ΔE(1-) を0に設定
し、 I(j)+1 <I(j+1) の関係が成り立つならば前記節点
候補I(j)を節点候補I(j)+1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+)を算出し、I(j)+1≧I(j
+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換するとともに、この交換した時の第1目的関数の値と
前記元の第1目的関数の値の交換を行ない、前記ΔE(1
-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前
記ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I
(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)
<0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
以下ならば、前記節点候補I(j)を前記節点候補I(j)-1
に交換するとともに、この交換した時の第1目的関数の
値と前記元の第1目的関数の値の交換を行ない、前記Δ
E(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) より大きいならば、前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1の目的関数の値と前記元の第1の目
的関数の値の交換を行なう操作を奇数のj については大
きいものから小さいものの順、および偶数のj について
は小さいものから大きいものの順に行ない、これら一連
の処理が終了した時の第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたもの以下ならば、前記操
作を奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に再び行ない、節点候補の前記交換が全く行なわ
れなかったか、前記第1目的関数の値が前記元の第1目
的関数の値から閾値を減じたものより大きいならば、処
理を終了することにより、決定を行なうプログラムを記
録するようにしたので、補間関数の準最適節点を求める
処理を実現でき、与えられた1次元時系列データの性質
に合わせた圧縮が行なえ、圧縮率は近似精度によってコ
ントロールできるため、伸長後の誤差を前もって把握す
ることができるプログラムを記録した1次元時系列デー
タ圧縮プログラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium according to claim 39 of the present invention, in the one-dimensional time-series data compression program recording medium according to any one of claims 28 to 31, The calculation of the optimal node candidate is performed by giving the index of the node candidate index in ascending order as I (j), 0 ≦ j ≦ m, where I (j−1) <I (j If the relationship of) -1 holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) -1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. 1 Calculate a value ΔE (1-) obtained by subtracting the value of the objective function, and calculate I (j-1) ≧
If the relationship of I (j) -1 holds, the ΔE (1-) is set to 0.If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) Is replaced with a node candidate I (j) +1, and the value of the first objective function is calculated.
A value ΔE (1+) obtained by subtracting the value of the objective function is calculated, and I (j) + 1 ≧ I (j
+1) is established, the above-mentioned ΔE (1+) is set to 0.If the above-mentioned ΔE (1-) <0 and the above-mentioned ΔE (1+) ≧ 0 are established, the node candidate I (j ) Is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange is exchanged with the value of the original first objective function to obtain the ΔE (1
-) ≧ 0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the first objective function at the time of the replacement is And the original first
The value of the objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I
(j) is not exchanged, the ΔE (1-) <0 and the ΔE (1+)
<0, and the ΔE (1-) is the ΔE (1+)
If below, the node candidate I (j) is replaced by the node candidate I (j) -1.
The value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged, and the Δ
If the relation of E (1-) <0 and the relation of ΔE (1 +) <0 hold, and the relation of ΔE (1-) is larger than the relation of ΔE (1+), the node candidate I (j) is set to the node The operation of exchanging for the candidate I (j) +1 and exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is from large to small for odd j. And the even j is performed in ascending order from the smallest to the largest, and the value of the first objective function at the time when a series of these processes is completed is changed to the original first value.
If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the objective function, the above operation is performed again in the order of large to small for the odd j and in the order of small to large for the even j, and the exchange of the node candidates is performed. If not, or if the value of the first objective function is greater than the original value of the first objective function minus a threshold value, then by ending the processing, a program for making the determination is recorded. As a result, it is possible to realize a process for finding a sub-optimal node of the interpolation function, perform compression according to the properties of the given one-dimensional time series data, and control the compression ratio with approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a one-dimensional time-series data compression program recording medium on which a program that can be performed is recorded is obtained.

【0251】また、この発明の請求項40記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、節点候補のインデックスに対して、これが小
さい順に番号づけを行なったものをI(j),0 ≦j ≦mと
表記したとき、I(j-1) < I(j)-1 の関係が成り立つなら
ば節点候補I(j)を節点候補I(j)-1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から元の第
1目的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧
I(j)-1の関係が成り立つならば前記ΔE(1-) を0に設定
し、I(j)+1 <I(j+1)の関係が成り立つならば前記節点候
補I(j)を節点候補I(j)+1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から前記元の第1目
的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+
1)の関係が成り立つならば前記ΔE(1+) を0に設定し、
前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
するとともに、この交換した時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともに、この交
換した時の第1の目的関数の値と前記元の第1の目的関
数の値の交換を行なう操作をj=1 から[m/2 ]まで、お
よびj=m-1 から[m/2 ]+1まで順に行ない、これら一連
の処理が終了した時の第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたもの以下ならば、前記操
作をj=1 から[m/2 ]まで、およびj=m-1 から[m/2 ]
+1まで順に再び行ない、節点候補の前記交換が全く行な
われなかったか、前記第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたものより大きいならば、
処理を終了することにより、決定を行なうプログラムを
記録するようにしたので、補間関数の準最適節点を求め
る処理を実現でき、与えられた1次元時系列データの性
質に合わせた圧縮が行なえ、圧縮率は近似精度によって
コントロールできるため、伸長後の誤差を前もって把握
することができるプログラムを記録した1次元時系列デ
ータ圧縮プログラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 40 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by indexing the index of the node candidate in ascending order as I (j), 0 ≤ j ≤ m, where I (j-1) <I (j ) -1 holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) -1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. 1 Calculate a value ΔE (1-) obtained by subtracting the value of the objective function, and calculate I (j-1) ≧
If the relationship of I (j) -1 holds, the ΔE (1-) is set to 0.If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) Is replaced with a node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function And I (j) + 1 ≧ I (j +
If the relationship of 1) is established, the above ΔE (1+) is set to 0,
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is exchanged for the node candidate I (j) -1, and at the time of this exchange. The value of the first objective function is exchanged with the value of the original first objective function, and ΔE (1-) ≧
0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the replacement is By exchanging the value of the original first objective function, ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE If (1-) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the The value of the original first objective function is exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) +1, and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is j = 1. To [m / 2], and from j = m-1 to [m / 2] +1, and the value of the first objective function at the end of these series of processes is the first first function.
If the value is equal to or less than the value of the objective function minus the threshold, the above operation is performed from j = 1 to [m / 2] and j = m−1 to [m / 2].
+1 in order until the node candidates have not been exchanged at all, or if the value of the first objective function is
If it is greater than the value of the objective function minus the threshold,
By ending the processing, a program for making a determination is recorded, so that processing for obtaining a sub-optimal node of the interpolation function can be realized, and compression can be performed according to the properties of given one-dimensional time-series data. Since the ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression program recording medium in which a program capable of grasping the error after expansion in advance is obtained.

【0252】また、この発明の請求項41記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、節点候補のインデックスに対して、これが小
さい順に番号づけを行なったものをI(j),0 ≦j ≦mと
表記したとき、I(j-1) < I(j)-1 の関係が成り立つなら
ば節点候補I(j)を節点候補I(j)-1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から元の第
1目的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧
I(j)-1の関係が成り立つならば前記ΔE(1-) を0に設定
し、I(j)+1 <I(j+1)の関係が成り立つならば前記節点候
補I(j)を節点候補I(j)+1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から前記元の第1目
的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+
1)の関係が成り立つならば前記ΔE(1+) を0に設定し、
前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
するとともに、この交換した時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行なう操作をj=[m/2 ]から1 まで、および
j=[m/2 ]+1からm-1 まで順に行ない、これら一連の処
理が終了した時の第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたもの以下ならば、前記操作を
j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1 ま
で順に再び行ない、節点候補の前記交換が全く行なわれ
なかったか、前記第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたものより大きいならば、処理
を終了することにより、行なうプログラムを記録するよ
うにしたので、補間関数の準最適節点を求める処理を実
現でき、与えられた1次元時系列データの性質に合わせ
た圧縮が行なえ、圧縮率は近似精度によってコントロー
ルできるため、伸長後の誤差を前もって把握することが
できるプログラムを記録した1次元時系列データ圧縮プ
ログラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 41 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by indexing the index of the node candidate in ascending order as I (j), 0 ≤ j ≤ m, where I (j-1) <I (j ) -1 holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) -1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. 1 Calculate a value ΔE (1-) obtained by subtracting the value of the objective function, and calculate I (j-1) ≧
If the relationship of I (j) -1 holds, the ΔE (1-) is set to 0.If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) Is replaced with a node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function And I (j) + 1 ≧ I (j +
If the relationship of 1) is established, the above ΔE (1+) is set to 0,
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is exchanged for the node candidate I (j) -1, and at the time of this exchange. The value of the first objective function is exchanged with the value of the original first objective function, and ΔE (1-) ≧
0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the replacement is By exchanging the value of the original first objective function, ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE If (1-) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the The value of the original first objective function is exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) +1, and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is j = [m / 2] to 1, and
j = [m / 2] +1 to m−1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function If you do
j = [m / 2] to 1 and j = [m / 2] +1 to m-1 again in order, and the exchange of the node candidates was not performed at all, or the value of the first objective function was If the value is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the process to be performed is recorded by terminating the process, so that the process of obtaining a sub-optimal node of the interpolation function can be realized. One-dimensional time-series data compression program recording that records a program that can perform compression according to the properties of given one-dimensional time-series data and can control the compression ratio with approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a medium can be obtained.

【0253】また、この発明の請求項42記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、節点候補のインデックスに対して、これが小
さい順に番号づけを行なったものをI(j),0 ≦j ≦mと
表記したとき、I(j-1) < I(j)-1 の関係が成り立つなら
ば節点候補I(j)を節点候補I(j)-1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から元の第
1目的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧
I(j)-1の関係が成り立つならば前記ΔE(1-) を0に設定
し、I(j)+1 <I(j+1)の関係が成り立つならば前記節点候
補I(j)を節点候補I(j)+1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から前記元の第1目
的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+
1)の関係が成り立つならば前記ΔE(1+) を0に設定し、
前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
するとともに、この交換した時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともに、この交
換した時の第1の目的関数の値と前記元の第1の目的関
数の値の交換を行なう操作をj=1 からm-1 まで順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたもの以下
ならば、前記操作をj=1 からm-1 まで順に再び行ない、
節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうプログラムを記録するようにしたので、補間
関数の準最適節点を求める処理を実現でき、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができるプログラムを
記録した1次元時系列データ圧縮プログラム記録媒体が
得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 42 of the present invention, in the one-dimensional time-series data compression program recording medium of any of claims 28 to 31, The calculation of the optimal node candidate is performed by indexing the index of the node candidate in ascending order as I (j), 0 ≤ j ≤ m, where I (j-1) <I (j ) -1 holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) -1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. 1 Calculate a value ΔE (1-) obtained by subtracting the value of the objective function, and calculate I (j-1) ≧
If the relationship of I (j) -1 holds, the ΔE (1-) is set to 0.If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) Is replaced with a node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function And I (j) + 1 ≧ I (j +
If the relationship of 1) is established, the above ΔE (1+) is set to 0,
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is exchanged for the node candidate I (j) -1, and at the time of this exchange. The value of the first objective function is exchanged with the value of the original first objective function, and ΔE (1-) ≧
0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the replacement is By exchanging the value of the original first objective function, ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE If (1-) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the The value of the original first objective function is exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) +1, and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is j = 1. To m−1, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed from j = 1. m-1 again
If the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the program to be executed is completed by terminating the processing. Since it is recorded, it is possible to realize a process of obtaining a sub-optimal node of the interpolation function, perform compression in accordance with the properties of given one-dimensional time series data, and control the compression ratio with approximation accuracy. There is an effect that a one-dimensional time-series data compression program recording medium in which a program capable of grasping an error in advance is recorded is obtained.

【0254】また、この発明の請求項43記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、前記準最適節点候補
の算出は、節点候補のインデックスに対して、これが小
さい順に番号づけを行なったものをI(j),0 ≦j ≦mと
表記したとき、I(j-1) < I(j)-1 の関係が成り立つなら
ば節点候補I(j)を節点候補I(j)-1に交換した時の第1目
的関数の値を算出し、前記第1目的関数の値から元の第
1目的関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧
I(j)-1の関係が成り立つならば前記ΔE(1-) を0に設定
し、I(j)+1 <I(j+1)の関係が成り立つならば前記節点候
補I(j)を節点候補I(j)+1に交換した時の第1目的関数の
値を算出し、前記第1目的関数の値から前記元の第1目
的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+
1)の関係が成り立つならば前記ΔE(1+) を0に設定し、
前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、前記ΔE(1-) ≧
0 かつ前記ΔE(1+)<0 の関係が成り立つならば前記節点
候補I(j)を前記節点候補I(j)+1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE
(1+) ≧0 の関係が成り立つならば前記節点候補I(j)の
交換を行なわず、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) 以下
ならば、前記節点候補I(j)を前記節点候補I(j)-1に交換
するとともに、この交換した時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換するとともに、この交
換した時の第1の目的関数の値と前記元の第1の目的関
数の値の交換を行なう操作をj=m-1 から1 まで順に行な
い、これら一連の処理が終了した時の第1目的関数の値
が前記元の第1目的関数の値から閾値を減じたもの以下
ならば、前記操作をj=m-1 から1 まで順に再び行ない、
節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうプログラムを記録するようにしたので、補間
関数の準最適節点を求める処理を実現でき、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができるプログラムを
記録した1次元時系列データ圧縮プログラム記録媒体が
得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 43 of the present invention, in the one-dimensional time-series data compression program recording medium of any one of claims 28 to 31, The calculation of the optimal node candidate is performed by indexing the index of the node candidate in ascending order as I (j), 0 ≤ j ≤ m, where I (j-1) <I (j ) -1 holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) -1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. 1 Calculate a value ΔE (1-) obtained by subtracting the value of the objective function, and calculate I (j-1) ≧
If the relationship of I (j) -1 holds, the ΔE (1-) is set to 0.If the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) Is replaced with a node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function And I (j) + 1 ≧ I (j +
If the relationship of 1) is established, the above ΔE (1+) is set to 0,
If the relationship of ΔE (1-) <0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is exchanged for the node candidate I (j) -1, and at the time of this exchange. The value of the first objective function is exchanged with the value of the original first objective function, and ΔE (1-) ≧
0 and the relationship ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the value of the first objective function at the time of the replacement is By exchanging the value of the original first objective function, ΔE (1-) ≧ 0 and ΔE
If the relationship of (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and the ΔE If (1-) is equal to or less than ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the The value of the original first objective function is exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
(j) is replaced with the node candidate I (j) +1, and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is j = m -1 to 1 in order, and if the value of the first objective function at the end of the series of processes is equal to or less than the original value of the first objective function minus the threshold, the operation is performed by j = m− Repeat from 1 to 1 again,
If the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the program to be executed is completed by terminating the processing. Since it is recorded, it is possible to realize a process of obtaining a sub-optimal node of the interpolation function, perform compression in accordance with the properties of given one-dimensional time series data, and control the compression ratio with approximation accuracy. There is an effect that a one-dimensional time-series data compression program recording medium in which a program capable of grasping an error in advance is recorded is obtained.

【0255】また、この発明の請求項44記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
28ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、最終的に決定された
節点候補数が、候補にならなかったデータの個数以下の
場合は、節点候補を示す識別子と前記最終的に決定され
た節点候補のインデックス番号と前記節点候補の値とで
構成された圧縮データを出力し、前記最終的に決定され
た節点候補数が、前記候補にならなかったデータの個数
より大きい場合は、節点候補でない識別子と前記節点候
補にならなかったデータのインデックス番号と前記節点
候補の値とで構成された圧縮データを出力するプログラ
ムを記録するようにしたので、与えられた1次元時系列
データの性質に合わせた圧縮が行なえ、圧縮率は近似精
度によってコントロールできるため、伸長後の誤差を前
もって把握することができるプログラムを記録した1次
元時系列データ圧縮プログラム記録媒体が得られる効果
がある。
According to the one-dimensional time-series data compression program recording medium according to claim 44 of the present invention, in the one-dimensional time-series data compression program recording medium according to any one of claims 28 to 31, the final If the determined number of node candidates is equal to or less than the number of data that was not a candidate, the number of node candidates is constituted by an identifier indicating the node candidate, the index number of the finally determined node candidate, and the value of the node candidate. Output the compressed data, and if the finally determined number of node candidates is larger than the number of data that did not become the candidate, an identifier that is not a node candidate and the index number of the data that did not become the node candidate Since a program for outputting compressed data composed of the values of the node candidates is recorded, it is suitable for the properties of given one-dimensional time-series data. Performing compression that has, compression ratio because it can control the accuracy of approximation, one-dimensional time series data compression program storage medium storing a program capable recognizes in advance error after elongation is the effect obtained.

【0256】また、この発明の請求項45記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
26ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、当該記録媒体は、時
間に関して不等間隔な1次元時系列データに対しては、
当該1次元時系列データ圧縮方法を時間とデータについ
て各々独立に適用し、各々を独立に圧縮するプログラム
を含むようにしたので、時間に関して不等間隔な1次元
時系列データに対しても、与えられた1次元時系列デー
タの性質に合わせた圧縮が行なえ、圧縮率は近似精度に
よってコントロールできるため、伸長後の誤差を前もっ
て把握することができるプログラムを記録した1次元時
系列データ圧縮プログラム記録媒体が得られる効果があ
る。
According to a one-dimensional time-series data compression program recording medium according to claim 45 of the present invention, the one-dimensional time-series data compression program recording medium according to any one of claims 26 to 31, The medium is for one-dimensional time-series data that is irregularly spaced with respect to time.
The one-dimensional time-series data compression method is applied independently to time and data, and a program for independently compressing each is included, so that even one-dimensional time-series data at irregular intervals in time can be given. One-dimensional time-series data compression program recording medium storing a program that can perform compression according to the properties of the obtained one-dimensional time-series data and control the compression ratio with approximation accuracy, so that errors after decompression can be grasped in advance. The effect is obtained.

【0257】また、この発明の請求項46記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
26ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、当該記録媒体は、多
次元時系列データを構成する複数の1次元時系列データ
の各々に対し、当該1次元時系列データ圧縮方法を繰り
返し適用することで、多次元時系列データの圧縮を行な
うプログラムを含むようにしたので、多次元時系列デー
タに対しても、与えられた多次元時系列データを構成す
る各1次元時系列データの性質に合わせた圧縮が行な
え、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができるプロ
グラムを記録した1次元時系列データ圧縮プログラム記
録媒体が得られる効果がある。
According to a one-dimensional time-series data compression program recording medium according to claim 46 of the present invention, the one-dimensional time-series data compression program recording medium according to any one of claims 26 to 31 is provided. The medium includes a program for compressing the multi-dimensional time-series data by repeatedly applying the one-dimensional time-series data compression method to each of a plurality of one-dimensional time-series data constituting the multi-dimensional time-series data. As a result, the multi-dimensional time-series data can be compressed according to the properties of each one-dimensional time-series data constituting the given multi-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. To obtain a one-dimensional time-series data compression program recording medium in which a program capable of grasping in advance the error after decompression is recorded. A.

【0258】また、この発明の請求項47記載の1次元
時系列データ圧縮プログラム記録媒体によれば、請求項
26ないし31のいずれかに記載の1次元時系列データ
圧縮プログラム記録媒体において、当該記録媒体は、複
数の誤差が伝搬する1次元時系列データに対して、伝搬
の源の1次元時系列データから順に近似精度値を大きく
し、当該1次元時系列データ圧縮方法を繰り返し適用す
ることで、全ての前記1次元時系列データの圧縮を行な
うプログラムを含むようにしたので、誤差の伝搬を大き
くすることなく、与えられた1次元時系列データの性質
に合わせた圧縮が行なえ、圧縮率は近似精度によってコ
ントロールできるため、伸長後の誤差を前もって把握す
ることができるプログラムを記録した1次元時系列デー
タ圧縮プログラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data compression program recording medium of claim 47 of the present invention, the one-dimensional time-series data compression program recording medium of any one of claims 26 to 31 is provided. The medium increases the approximation accuracy value in order from the one-dimensional time-series data of the propagation source to the one-dimensional time-series data in which a plurality of errors propagate, and repeatedly applies the one-dimensional time-series data compression method. Since a program for compressing all the one-dimensional time-series data is included, the compression can be performed in accordance with the properties of the given one-dimensional time-series data without increasing the propagation of error, and the compression ratio is reduced. A one-dimensional time-series data compression program that records a program that can be grasped in advance after decompression because it can be controlled by approximation accuracy. There is an effect that the recording medium can be obtained.

【0259】また、この発明の請求項48記載の1次元
時系列データ伸長プログラム記録媒体によれば、請求項
26,28または29のいずれかに記載の1次元時系列
データ圧縮プログラム記録媒体に記録されたプログラム
によって圧縮された圧縮データを伸長するプログラムを
記録した媒体であって、圧縮された圧縮データとこれを
伸長した時のデータ数を入力する第1の工程と、圧縮の
際に使用した補間関数と同じ補間関数を使用して圧縮デ
ータを補間することで、前記データ数と同数分のデータ
を算出し、初期時間と時間間隔から時刻を前記データ数
と同数分だけ算出する第2の工程と、前記第2の工程で
算出した前記データと前記時刻とを出力する第3の工程
とを含む1次元時系列データ伸長プログラムを記録する
ようにしたので、伸長に関しても、補間関数による連続
化を用いるため、請求項26,28または29のいずれ
かに記載の1次元時系列データ圧縮プログラム記録媒体
に記録されたプログラムによって圧縮された圧縮データ
を伸長でき、しかも任意数でのデータの伸長が可能とな
るプログラムを記録した1次元時系列データ伸長プログ
ラム記録媒体が得られる効果がある。
According to the one-dimensional time-series data decompression program recording medium of the forty-eighth aspect of the present invention, the one-dimensional time-series data compression program recording medium of any one of the twenty-sixth, twenty-eighth and twenty-ninth aspects of the present invention A medium storing a program for expanding compressed data compressed by a compressed program, comprising: a first step of inputting compressed compressed data and the number of data when the compressed data is expanded; By interpolating the compressed data using the same interpolation function as the interpolation function, the same number of data as the number of data is calculated, and the time is calculated from the initial time and the time interval by the same number as the number of data. Since a one-dimensional time-series data decompression program including a step and a third step of outputting the data and the time calculated in the second step is recorded, As for the length, since continuity using an interpolation function is used, compressed data compressed by a program recorded in the one-dimensional time-series data compression program recording medium according to claim 26 can be expanded, Moreover, there is an effect that a one-dimensional time-series data decompression program recording medium on which a program capable of decompressing an arbitrary number of data is recorded is obtained.

【0260】また、この発明の請求項49記載の1次元
時系列データ伸長プログラム記録媒体によれば、請求項
27,30または31のいずれかに記載の1次元時系列
データ圧縮プログラム記録媒体に記録されたプログラム
で圧縮された圧縮データを伸長するプログラムを記録し
た媒体であって、圧縮された圧縮データとこれを伸長し
た時のデータ数を入力する第1の工程と、前記圧縮デー
タに該データが全て0であることを示す識別子が付与さ
れている場合は、前記データ数と同数分の0と、初期時
間と時間間隔から時刻を前記データ数と同数分だけ算出
し、前記圧縮データに該データが全て0であることを示
す識別子が付与されていない場合は、圧縮の際に使用し
た補間関数と同じ補間関数を使用して圧縮データを補間
することで、前記データ数と同数分のデータを算出し、
初期時間と時間間隔から時刻を前記データ数と同数分だ
け算出する第2の工程と、前記第2の工程で算出した前
記データと前記時刻とを出力する第3の工程とを含む1
次元時系列データ伸長プログラムを記録するようにした
ので、伸長に関しても、補間関数による連続化を用いる
ため、請求項27,30または31のいずれかに記載の
1次元時系列データ圧縮プログラム記録媒体に記録され
たプログラムによって圧縮された圧縮データを伸長で
き、しかも任意数でのデータの伸長が可能となるプログ
ラムを記録した1次元時系列データ伸長プログラム記録
媒体が得られる効果がある。
According to the one-dimensional time-series data expansion program recording medium of claim 49 of the present invention, the program is recorded on the one-dimensional time-series data compression program recording medium of any one of claims 27, 30 and 31. A first step of inputting compressed compressed data and the number of data when the compressed data is decompressed, and a first step of inputting the compressed data and the number of data when decompressing the compressed data; If an identifier indicating that all are 0 is given, the same number of 0s as the number of data and a time equal to the number of data are calculated from the initial time and the time interval. If the identifier indicating that the data is all 0 is not given, the compressed data is interpolated using the same interpolation function as that used for compression, To calculate the data of over data the same number as the number fraction,
A second step of calculating a time from the initial time and the time interval by the same number as the number of data, and a third step of outputting the data and the time calculated in the second step;
The one-dimensional time-series data compression program recording medium according to claim 27, wherein the one-dimensional time-series data compression program according to any one of claims 27, 30, and 31, is configured to record the one-dimensional time-series data decompression program because the continuation by the interpolation function is used for the decompression. There is an effect that a one-dimensional time-series data decompression program recording medium in which a program capable of decompressing compressed data compressed by the recorded program and decompressing an arbitrary number of data is recorded can be obtained.

【0261】また、この発明の請求項50記載の1次元
時系列データ伸長プログラム記録媒体によれば、請求項
48または49記載の1次元時系列データ伸長プログラ
ム記録媒体において、当該媒体に記録されたプログラム
は、圧縮された多次元時系列データを構成する複数の圧
縮された1次元時系列データの各々に対し、当該1次元
時系列データ伸長方法を繰り返し適用することで、圧縮
された多次元時系列データの伸長を行なうプログラムを
含むようにしたので、多次元時系列データの圧縮データ
に対しても、請求項48または49記載の1次元時系列
データ伸長プログラム記録媒体に記録されたプログラム
を適用して各次元のデータを伸長でき、しかも任意数で
のデータの伸長が可能となるプログラムを記録した1次
元時系列データ伸長プログラム記録媒体が得られる効果
がある。
According to the one-dimensional time-series data expansion program recording medium of claim 50 of the present invention, in the one-dimensional time-series data expansion program recording medium of claim 48 or 49, the one-dimensional time-series data expansion program recording medium is recorded on the medium. The program repeatedly applies the one-dimensional time-series data decompression method to each of the plurality of compressed one-dimensional time-series data constituting the compressed multi-dimensional time-series data, thereby obtaining the compressed multi-dimensional time-series data. The program recorded on the one-dimensional time-series data decompression program recording medium according to claim 48 or 49 is applied to the compressed data of the multi-dimensional time-series data because the program for expanding the series data is included. One-dimensional time-series data expansion that records a program that can expand data in each dimension and expand data in an arbitrary number. The effect of the program recording medium is obtained.

【0262】また、この発明の請求項51記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮装置であって、前記1次元時系列デー
タとその近似精度の入力を行なう第1の手段と、前記1
次元時系列データを近似する補間関数の節点候補を算出
する第2の手段と、前記節点候補の位置を最適化する第
3の手段と、前記位置が最適化された節点候補に基づき
前記補間関数により発生した1次元時系列データと元の
1次元時系列データとの誤差を判定する第4の手段と、
前記第4の手段により前記誤差が前記近似精度に基づく
値を越えると判断された場合に節点数を変更し、前記第
2の手段に戻る第5の手段と、前記第5の手段により前
記誤差が前記近似精度に基づく値を越えないと判断され
た場合に当該節点候補のデータとこれに対応する時刻の
データとを圧縮された情報として出力する第6の手段と
を備えるようにしたので、与えられた1次元時系列デー
タの性質に合わせた圧縮が行なえ、圧縮率は近似精度に
よってコントロールできるため、伸長後の誤差を前もっ
て把握することができる、1次元時系列データ圧縮装置
が得られる効果がある。
According to a one-dimensional time-series data compression apparatus according to claim 51 of the present invention, there is provided an apparatus for compressing one-dimensional time-series data at equal intervals in time, wherein said one-dimensional time-series data and its approximation accuracy are First means for inputting the
Second means for calculating a node candidate of an interpolation function that approximates the dimensional time-series data, third means for optimizing the position of the node candidate, and the interpolation function based on the node candidate whose position has been optimized. Fourth means for determining an error between the one-dimensional time-series data generated by the above and the original one-dimensional time-series data;
Fifth means for changing the number of nodes when it is determined by the fourth means that the error exceeds a value based on the approximation accuracy, and returning to the second means; Since it is determined that the value does not exceed the value based on the approximation accuracy, the sixth unit that outputs the data of the node candidate and the data of the time corresponding thereto as compressed information is provided. Compression can be performed in accordance with the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. There is.

【0263】また、この発明の請求項52記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮装置であって、前記1次元時系列デー
タとその近似精度の入力を行なう第1の手段と、前記1
次元時系列データに前記近似精度以内のデータが含まれ
ているか否かを判定する第2の手段と、前記第2の手段
により前記1次元時系列データに前記近似精度以内のデ
ータが含まれていないと判断された場合に前記1次元時
系列データを近似する補間関数の節点候補を算出する第
3の手段と、前記節点候補の位置を最適化する第4の手
段と、前記位置が最適化された節点候補に基づき前記補
間関数により発生した1次元時系列データと元の1次元
時系列データとの誤差を判定する第5の手段と、前記第
5の手段により前記誤差が前記近似精度に基づく値を越
えると判断された場合に節点数を変更し前記第3の手段
に戻る第6の手段と、前記第2の手段により前記1次元
時系列データに前記近似精度以内のデータが含まれてい
ると判断された場合に当該1次元時系列データが近似精
度以内のデータである旨の情報を出力し、前記第5の手
段により前記誤差が前記近似精度に基づく値を越えない
と判断された場合に当該節点候補のデータとこれに対応
する時刻のデータとを圧縮された情報として出力する第
7の手段とを備えるようにしたので、与えられた1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができ、しかも近似精度以内
のデータに対してはその処理を省略できる、1次元時系
列データ圧縮装置が得られる効果がある。
According to a one-dimensional time-series data compression apparatus according to claim 52 of the present invention, there is provided an apparatus for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are First means for inputting the
Second means for determining whether or not data within the approximation accuracy is included in the one-dimensional time-series data; and data within the approximation accuracy is included in the one-dimensional time-series data by the second means. A third means for calculating a candidate node for an interpolation function that approximates the one-dimensional time-series data when it is determined that the one-dimensional time-series data is not included; a fourth means for optimizing the position of the candidate node; A fifth means for judging an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data based on the obtained node candidates; and the fifth means makes the error equal to the approximation accuracy. A sixth means for changing the number of nodes when it is determined to exceed the value based on the second means, and returning to the third means; and the one-dimensional time series data containing data within the approximation accuracy by the second means. Place that is judged to be And outputs information indicating that the one-dimensional time-series data is data within the approximation accuracy. If the fifth means determines that the error does not exceed the value based on the approximation accuracy, the node candidate Since the seventh means for outputting the data and the data at the corresponding time as compressed information is provided, the compression can be performed in accordance with the property of the given one-dimensional time-series data, and the compression ratio is reduced. Since the control can be performed by the approximation accuracy, an error after decompression can be grasped in advance, and furthermore, there is an effect of obtaining a one-dimensional time-series data compression device which can omit the processing for data within the approximation accuracy.

【0264】また、この発明の請求項53記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮手段であって、前記1次元時系列デー
タとその近似精度の入力を行ない、前記1次元時系列デ
ータに対しその時刻の順にインデックスを付加し、前記
1次元時系列データを補間する補間関数の初期の節点数
を算出する第1の手段と、前記1次元時系列データの中
から、始めと終りのデータを必ず含み、かつランダムに
前記節点数個だけの節点候補を決定する第2の手段と、
前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の手段と、前記誤差から、この誤差の最
大値と誤差平均と誤差分散との重み付け加算で定義され
た第1目的関数の値を算出する第4の手段と、前記第1
目的関数の値が最小となるように節点候補の変更を繰り
返し行ない、準最適節点候補を決定する第5の手段と、
前記準最適節点候補を前記補間関数により補間して元の
1次元時系列データを近似する1次元時系列データを生
成し、この1次元時系列データと元の1次元時系列デー
タとの誤差を算出する第6の手段と、前記誤差から、こ
の誤差の最大値と誤差平均と誤差分散との重み付け加算
で定義された第2目的関数の値を算出する第7の手段
と、前記第2目的関数の値が前記近似精度に対応する閾
値以上ならば、前記節点数に増分を加えたものを新たな
節点数とし、前記第2の手段から第7の手段までの処理
を繰り返す第8の手段と、前記第2目的関数の値が前記
閾値未満ならば、前記1次元時系列データの初期時刻と
時間間隔と、最終的に決定された節点候補のインデック
ス番号と前記節点候補の値とで構成された圧縮データを
出力する第9の手段とを備えるようにしたので、与えら
れた1次元時系列データの性質に合わせた圧縮が行な
え、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができる、1
次元時系列データ圧縮装置が得られる効果がある。
Further, according to the one-dimensional time-series data compression apparatus of claim 53 of the present invention, the means for compressing one-dimensional time-series data at equal time intervals comprises: A first means for calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data by adding an index to the one-dimensional time-series data in the order of the time; A second means for always including the start and end data from the time-series data, and randomly determining only a few node candidates of the nodes;
Third means for interpolating the node candidate by an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data; and, from the error, a maximum value of the error and an error average. Fourth means for calculating a value of a first objective function defined by weighted addition with an error variance;
Fifth means for repeatedly changing node candidates so as to minimize the value of the objective function and determining a sub-optimal node candidate;
The quasi-optimal node candidates are interpolated by the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data, and an error between the one-dimensional time-series data and the original one-dimensional time-series data is calculated. Sixth means for calculating, a seventh means for calculating, from the error, a value of a second objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance; and If the value of the function is equal to or greater than a threshold value corresponding to the approximation accuracy, an eighth means for repeating the processing from the second means to the seventh means by adding an increment to the number of nodes as a new number of nodes And if the value of the second objective function is less than the threshold, the initial time and the time interval of the one-dimensional time series data, the index number of the finally determined node candidate, and the value of the node candidate Ninth means for outputting compressed data Since such comprises, performed is tailored to the nature of the one-dimensional time series data given compression, the compression ratio can be controlled by the approximation accuracy can recognizes in advance errors after extension, 1
There is an effect that a dimensional time series data compression device can be obtained.

【0265】また、この発明の請求項54記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮装置であって、前記1次元時系列デー
タとその近似精度の入力を行ない、前記1次元時系列デ
ータに対しその時刻の順にインデックスを付加し、前記
1次元時系列データを補間する補間関数の初期の節点数
を算出する第1の手段と、前記1次元時系列データの中
から、始めと終りのデータを必ず含み、かつ前記インデ
ックスに関して近似的に等間隔となるように前記節点数
個だけの節点候補を決定する第2の手段と、前記節点候
補をインデックス番号を独立変数とする補間関数により
補間して、元の1次元時系列データとの誤差を算出する
第3の手段と、前記誤差から、この誤差の最大値と誤差
平均と誤差分散との重み付け加算で定義された第1目的
関数の値を算出する第4の手段と、前記第1目的関数の
値が最小となるように節点候補の変更を繰り返し行な
い、準最適節点候補を決定する第5の手段と、前記準最
適節点候補を前記補間関数により補間して、元の1次元
時系列データを近似する1次元時系列データを生成し、
この1次元時系列データと元の1次元時系列データとの
誤差を算出する第6の手段と、前記誤差から、この誤差
の最大値と誤差平均と誤差分散との重み付け加算で定義
された第2目的関数の値を算出する第7の手段と、前記
第2目的関数の値が前記近似精度に対応する閾値以上な
らば、前記節点数に増分を加えたものを新たな節点数と
し、前記第2の手段から第7の手段の処理までを繰り返
す第8の手段と、前記第2目的関数の値が前記閾値未満
ならば、前記1次元時系列データの初期時刻と時間間隔
と、最終的に決定された節点候補のインデックス番号と
前記節点候補の値とで構成された圧縮データを出力する
第9の手段とを備えるようにしたので、与えられた1次
元時系列データの性質に合わせた圧縮が行なえ、圧縮率
は近似精度によってコントロールできるため、伸長後の
誤差を前もって把握することができる、1次元時系列デ
ータ圧縮装置が得られる効果がある。
According to a one-dimensional time-series data compression apparatus according to claim 54 of the present invention, there is provided an apparatus for compressing one-dimensional time-series data at equal time intervals, wherein the one-dimensional time-series data and its approximation accuracy are A first means for calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data by adding an index to the one-dimensional time-series data in the order of the time; From the time-series data, the second means for always including the start and end data, and determining the node candidates of only the several nodes so as to be approximately equally spaced with respect to the index, and Third means for calculating an error from the original one-dimensional time-series data by interpolating with an interpolation function using an index number as an independent variable; A fourth means for calculating the value of the first objective function defined by the weighted addition; and a step of repeatedly changing the node candidates so as to minimize the value of the first objective function, and determining a sub-optimal node candidate. Means for generating the one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating the sub-optimal node candidates using the interpolation function;
Sixth means for calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data, and, based on the error, a sixth means defined by weighted addition of a maximum value of the error, an error average, and an error variance. Seventh means for calculating the value of the second objective function, and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, a value obtained by adding an increment to the number of nodes is set as a new number of nodes. Eighth means for repeating the processing from the second means to the seventh means, and if the value of the second objective function is less than the threshold value, the initial time and time interval of the one-dimensional time-series data; And the ninth means for outputting compressed data composed of the index numbers of the node candidates determined in (1) and the values of the node candidates, so as to match the properties of the given one-dimensional time-series data. Compression can be performed, and the compression ratio depends on the approximation accuracy. Because it controls, it is possible to advance grasp the error after stretching, the effect of one-dimensional time series data compression device can be obtained.

【0266】また、この発明の請求項55記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮装置であって、前記1次元時系列デー
タとその近似精度の入力を行ない、前記1次元時系列デ
ータに時刻の順にインデックスを付加し、前記1次元時
系列データを補間する補間関数の初期の節点数を算出す
る第1の手段と、前記1次元時系列データの絶対値が全
て前記近似精度以下か否かの判定を行ない、前記近似精
度以下の場合は全て0であることを示す識別子を出力し
て終了し、そうでない場合は後述する第3の手段へと移
行する第2の手段と、前記1次元時系列データの中か
ら、始めと終りのデータを必ず含み、かつランダムに前
記節点数個だけの節点候補を決定する第3の手段と、前
記節点候補をインデックス番号を独立変数とする補間関
数により補間して、元の1次元時系列データとの誤差を
算出する第4の手段と、前記誤差から、この誤差の最大
値と誤差平均と誤差分散との重み付け加算で定義された
第1目的関数の値を算出する第5の手段と、前記第1目
的関数の値が最小となるように節点候補の変更を繰り返
し行ない、準最適節点候補を決定する第6の手段と、前
記準最適節点候補を前記補間関数により補間して、元の
1次元時系列データを近似する1次元時系列データを生
成し、1次元時系列データと元の1次元時系列データと
の誤差を算出する第7の手段と、前記誤差から、この誤
差の最大値と誤差平均と誤差分散との重み付け加算で定
義された第2目的関数の値を算出する第8の手段と、前
記第2目的関数の値が前記近似精度に対応する閾値以上
ならば、前記節点数に増分を加えたものを新たな節点数
とし、前記第3の手段から第8の手段までの処理を繰り
返す第9の手段と、前記第2目的関数の値が前記閾値未
満ならば、前記1次元時系列データの初期時刻と時間間
隔と、最終的に決定された節点候補のインデックス番号
と前記節点候補の値とで構成された圧縮データを出力す
る第10の手段とを備えるようにしたので、与えられた
1次元時系列データの性質に合わせた圧縮が行なえ、圧
縮率は近似精度によってコントロールできるため、伸長
後の誤差を前もって把握することができ、しかも近似精
度内のデータに関してはその処理を省略できる1次元時
系列データ圧縮装置が得られる効果がある。
According to a one-dimensional time-series data compression apparatus according to claim 55 of the present invention, there is provided an apparatus for compressing one-dimensional time-series data at equal time intervals, comprising: First means for inputting an index to the one-dimensional time-series data in the order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not all the absolute values of the data are less than or equal to the approximation accuracy. If the absolute value is less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output and the process is terminated. A second means for moving to the first means, a third means for always including the data at the beginning and the end from the one-dimensional time-series data, and randomly determining only a few node candidates of the nodes, Indicate node candidates Fourth means for calculating an error from the original one-dimensional time-series data by interpolating using an interpolation function having the index number as an independent variable, and calculating the maximum value of the error, the error average, and the error variance from the error. Fifth means for calculating the value of the first objective function defined by weighted addition, and changing the node candidate repeatedly so that the value of the first objective function is minimized, and determining the sub-optimal node candidate And means for interpolating the suboptimal node candidates using the interpolation function to generate one-dimensional time-series data approximating the original one-dimensional time-series data, Seventh means for calculating an error from data, and eighth means for calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance. , The value of the second objective function is equal to the approximation accuracy. If it is equal to or greater than the corresponding threshold value, a value obtained by adding an increment to the number of nodes is set as a new number of nodes, and ninth means for repeating the processing from the third means to the eighth means, and the second objective function If the value is less than the threshold value, a compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate and the value of the node candidate is output. 10 means, the compression can be performed according to the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy, so that the error after decompression can be grasped in advance, In addition, there is an effect that a one-dimensional time-series data compression apparatus that can omit the processing for data within the approximation accuracy can be obtained.

【0267】また、この発明の請求項56記載の1次元
時系列データ圧縮装置によれば、時間等間隔な1次元時
系列データの圧縮装置であって、前記1次元時系列デー
タとその近似精度の入力を行ない、前記1次元時系列デ
ータに時刻の順にインデックスを付加し、前記1次元時
系列データを補間する補間関数の初期の節点数を算出す
る第1の手段と、前記1次元時系列データの絶対値が全
て前記近似精度以下か否かの判定を行ない、近似精度以
下の場合は全て0であることを示す識別子を出力して終
了し、そうでない場合は後述する第3の手段へと移行す
る第2の手段と、前記1次元時系列データの中から、始
めと終りのデータを必ず含み、かつ前記インデックスに
関して近似的に等間隔となるように前記節点数個だけの
節点候補を決定する第3の手段と、前記節点候補をイン
デックス番号を独立変数とする補間関数により補間し
て、元の1次元時系列データとの誤差を算出する第4の
手段と、前記誤差から、この誤差の最大値と誤差平均と
誤差分散との重み付け加算で定義された第1目的関数の
値を算出する第5の手段と、前記第1目的関数の値が最
小となるように節点候補の変更を繰り返し行ない、準最
適節点候補を決定する第6の手段と、前記準最適節点候
補を前記補間関数により補間して、元の1次元時系列デ
ータを近似する1次元時系列データを生成し、この1次
元時系列データと元の1次元時系列データとの誤差を算
出する第7の手段と、前記誤差から、この誤差の最大値
と誤差平均と誤差分散との重み付け加算で定義された第
2目的関数の値を算出する第8の手段と、前記第2目的
関数の値が前記近似精度に対応する閾値以上ならば、前
記節点数に増分を加えたものを新たな節点数とし、前記
第3の手段から第8の手段までの処理を繰り返す第9の
手段と、前記第2目的関数の値が前記閾値未満ならば、
前記1次元時系列データの初期時刻と時間間隔と、最終
的に決定された節点候補のインデックス番号と前記節点
候補の値とで構成された圧縮データを出力する第10の
手段とを備えるようにしたので、与えられた1次元時系
列データの性質に合わせた圧縮が行なえ、圧縮率は近似
精度によってコントロールできるため、伸長後の誤差を
前もって把握することができ、しかも近似精度内のデー
タに関してはその処理を省略できる1次元時系列データ
圧縮装置が得られる効果がある。
According to a one-dimensional time-series data compression apparatus according to claim 56 of the present invention, there is provided an apparatus for compressing one-dimensional time-series data at equal time intervals, comprising: First means for inputting an index to the one-dimensional time-series data in order of time and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; It is determined whether or not all the absolute values of the data are less than or equal to the approximation accuracy. If the absolute values are less than or equal to the approximation accuracy, an identifier indicating that they are all 0 is output, and the process is terminated. And the second means for shifting, and among the one-dimensional time series data, the node candidates including only the start and end data and including only a few node candidates so as to be approximately equally spaced with respect to the index. Decide A third means, a fourth means for interpolating the node candidate with an interpolation function using an index number as an independent variable, and calculating an error from the original one-dimensional time-series data; Fifth means for calculating a value of a first objective function defined by weighted addition of a maximum value, an error average, and an error variance, and repeatedly changing node candidates so that the value of the first objective function is minimized Sixth means for determining the sub-optimal node candidates and interpolating the sub-optimal node candidates by the interpolation function to generate one-dimensional time series data approximating the original one-dimensional time series data. Seventh means for calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data, and a second object defined by weighted addition of the maximum value of the error, the average of the error and the error variance from the error Eighth means for calculating a function value If the value of the second objective function is equal to or larger than a threshold value corresponding to the approximation accuracy, the number obtained by adding an increment to the number of nodes is set as a new number of nodes, and the processing from the third means to the eighth means is performed Ninth means to repeat, and if the value of the second objective function is less than the threshold,
A tenth means for outputting compressed data composed of an initial time and a time interval of the one-dimensional time-series data, an index number of a finally determined node candidate, and a value of the node candidate. As a result, compression can be performed in accordance with the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy, so that errors after decompression can be grasped in advance. There is an effect that a one-dimensional time-series data compression device that can omit the processing can be obtained.

【0268】また、この発明の請求項57記載の1次元
時系列データ圧縮装置によれば、請求項52ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、I(j-1) <I
(j)-1 の関係が成り立つならば節点候補I(j)を節点候補
I(j)-1に交換した時の前記第1目的関数の値を算出し、
前記第1目的関数の値から元の第1目的関数の値を減じ
た値ΔE(1-) を算出し、I(j-1)≧I(j)-1ならば前記ΔE
(1-) を0に設定し、I(j)+1 <I(j+1)の関係が成り立つ
ならば前記節点候補I(j)を節点候補I(j)+1に交換した時
の前記第1目的関数の値を算出し、前記第1目的関数の
値から前記元の第1目的関数の値を減じた値ΔE(1+) を
算出し、I(j)+1≧I(j+1)ならば前記ΔE(1+) を0に設定
し、前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り
立つならば前記節点候補I(j)を前記節点候補I(j)-1に交
換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成
り立つならば前記節点候補I(j)を前記節点候補I(j)+1に
交換し、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係
が成り立つならば前記節点候補I(j)の交換を行なわず、
前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前記ΔE
(1-) が前記ΔE(1+) より大きいならば、前記節点候補I
(j)を前記節点候補I(j)+1に交換する操作を奇数のj に
ついては小さいものから大きいものの順、および偶数の
j については大きいものから小さいものの順に行ない、
これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作を奇数のj については小さいものから
大きいものの順、および偶数のj については大きいもの
から小さいものの順に再び行ない、前記節点候補の交換
が全く行なわれなかったか、前記第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたものより大き
いならば、処理を終了することにより、行なうようにし
たので、補間関数の準最適節点を求める処理を実現で
き、与えられた1次元時系列データの性質に合わせた圧
縮が行なえ、圧縮率は近似精度によってコントロールで
きるため、伸長後の誤差を前もって把握することができ
る1次元時系列データ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 57 of the present invention, claims 52 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, node candidate I (j) is
Calculating the value of the first objective function when exchanged for I (j) -1,
A value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated. If I (j-1) ≧ I (j) -1, the ΔE (1-) is calculated.
(1-) is set to 0, and when the relationship of I (j) +1 <I (j + 1) holds, the node candidate I (j) is replaced with the node candidate I (j) +1 The value of the first objective function is calculated, a value ΔE (1+) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j) + 1 ≧ I ( j + 1), the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). +1, the node candidate I (j) is not exchanged if the relation of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds,
The relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if ΔE (1-) is equal to or smaller than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and the ΔE (1 +) <0
If (1-) is greater than ΔE (1+), the node candidate I
The operation of replacing (j) with the node candidate I (j) +1 is performed in the order of small to large for odd j, and for even j.
j is performed from the largest to the smallest, and
If the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operations are performed in the order of small to large for odd j. , And even j are performed again in ascending order from largest to smallest, and no exchange of the node candidates is performed, or the value of the first objective function is obtained by subtracting a threshold value from the value of the original first objective function. If it is larger than the one, the processing is terminated to terminate the processing, so that the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the compression can be performed according to the property of the given one-dimensional time series data. Since the ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0269】また、この発明の請求項58記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、I(j-1) <I
(j)-1 の関係が成り立つならば節点候補I(j)を節点候補
I(j)-1に交換した時の前記第1目的関数の値を算出し、
前記第1目的関数の値から元の第1目的関数の値を減じ
た値ΔE(1-) を算出し、I(j-1)≧ I(j)-1 の関係が成り
立つならば前記ΔE(1-) を0に設定し、I(j)+1 < I(j+
1) の関係が成り立つならば前記節点候補I(j)を節点候
補I(j)+1に交換した時の前記第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、前記ΔE
(1-)<0かつ前記ΔE(1+) ≧0 の関係が成り立つならば前
記節点候補I(j)を前記節点候補I(j)-1に交換し、前記Δ
E(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つならば
前記節点候補I(j)を前記節点候補I(j)+1に交換し、前記
ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立つな
らば前記節点候補I(j)の交換を行なわず、前記ΔE(1-)<
0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ、前記Δ
E(1-) が前記ΔE(1+) 以下ならば、前記節点候補I(j)を
前記節点候補I(j)-1に交換し、前記ΔE(1-)<0 かつ前記
ΔE(1+)<0 の関係が成り立ち、かつ、前記ΔE(1-) の方
が前記ΔE(1+) より大きいならば、前記節点候補I(j)を
前記節点候補I(j)+1に交換する操作を奇数のj について
は大きいものから小さいものの順、および偶数のj につ
いては小さいものから大きいものの順に行ない、これら
一連の処理が終了した時の第1目的関数の値が前記元の
第1目的関数の値から閾値を減じたもの以下ならば、前
記操作を奇数のj については大きいものから小さいもの
の順、および偶数のjについては小さいものから大きい
ものの順に再び行ない、節点候補の前記交換が全く行な
われなかったか、前記第1目的関数の値が前記元の第1
目的関数の値から閾値を減じたものより大きいならば、
処理を終了することにより、行なうようにしたので、補
間関数の準最適節点を求める処理を実現でき、与えられ
た1次元時系列データの性質に合わせた圧縮が行なえ、
圧縮率は近似精度によってコントロールできるため、伸
長後の誤差を前もって把握することができる1次元時系
列データ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compression device of the fifty-eighth aspect of the present invention,
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, node candidate I (j) is
Calculating the value of the first objective function when exchanged for I (j) -1,
A value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated. If the relationship of I (j-1) ≧ I (j) -1 holds, the value ΔE (1-) is obtained. (1-) is set to 0, and I (j) +1 <I (j +
If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is exchanged for the node candidate I (j) +1 is calculated, and the value of the first objective function is calculated from the value of the first objective function. Calculate a value ΔE (1+) obtained by subtracting the value of the first objective function of above, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, set the above ΔE (1+) to 0. , The ΔE
If (1-) <0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is replaced with the node candidate I (j) -1, and the Δ
If E (1-) ≧ 0 and the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <
0 and the relationship of ΔE (1 +) <0 holds, and
If E (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0, and if ΔE (1-) is larger than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1. Are performed in the order of large to small for odd j, and in the order of small to large for even j, and the value of the first objective function at the time when these series of processing is completed is equal to the original first value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the objective function, the above operation is performed again in the order of large to small for the odd j and in the order of small to large for the even j, and the exchange of the node candidates is performed Either nothing was done or the value of the first objective function was
If it is greater than the value of the objective function minus the threshold,
By ending the processing, the processing is performed, so that the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the compression according to the property of the given one-dimensional time-series data can be performed.
Since the compression ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0270】また、この発明の請求項59記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、 I(j-1)< I
(j)-1の関係が成り立つならば節点候補I(j)を節点候補I
(j)-1に交換した時の第1目的関数の値を算出し、前記
第1目的関数の値から元の第1目的関数の値を減じた値
ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係
が成り立つならば前記節点候補I(j)を節点候補I(j)+1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から前記元の第1目的関数の値を減じた値ΔE
(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つなら
ば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧ 0かつ
前記ΔE(1+)<0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節点
候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記Δ
E(1+)<0 の関係が成り立ち、かつ、前記ΔE(1-) が前記
ΔE(1+) 以下ならば、前記節点候補I(j)を前記節点候補
I(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ、前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換する操作をj=1 から[m/2]まで、およびj=m-1
から[m/2 ]+1まで順に行ない、これら一連の処理が
終了した時の第1目的関数の値が前記元の第1目的関数
の値から前記閾値を減じたもの以下ならば、前記操作を
j=1 から[m/2 ]まで、およびj=m-1 から[m/2 ]+1ま
で順に再び行ない、節点候補の前記交換が全く行なわれ
なかったか、前記第1目的関数の値が前記元の第1目的
関数の値から閾値を減じたものより大きいならば、処理
を終了することにより、行なうようにしたので、補間関
数の準最適節点を求める処理を実現でき、与えられた1
次元時系列データの性質に合わせた圧縮が行なえ、圧縮
率は近似精度によってコントロールできるため、伸長後
の誤差を前もって把握することができる1次元時系列デ
ータ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 59 of the present invention,
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, the node candidate I (j) is
(j) The value of the first objective function when exchanged for -1 is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function is calculated. If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. Value ΔE
(1+) is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0, and the ΔE If the relationship of (1+) ≧ 0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j)
(j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧ 0
And if the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the ΔE (1-) <0 and the Δ
If the relationship of E (1 +) <0 holds and the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate.
If I is replaced by I (j) -1, the relationship of ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds, and if the ΔE (1-) is larger than the ΔE (1+) For example, the node candidate I (j) is replaced with the node candidate I (j).
The operation to exchange for +1 is from j = 1 to [m / 2], and j = m-1
To [m / 2] +1, and if the value of the first objective function at the end of the series of processing is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed. To
j = 1 to [m / 2] and j = m-1 to [m / 2] +1 again in order, and whether the node candidates have not been exchanged at all or the value of the first objective function is If the value is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the process is terminated to perform the process. Therefore, the process of obtaining the sub-optimal node of the interpolation function can be realized.
Since compression can be performed in accordance with the properties of the dimensional time-series data and the compression ratio can be controlled with approximation accuracy, there is an effect that a one-dimensional time-series data compression apparatus capable of grasping in advance errors after decompression can be obtained.

【0271】また、この発明の請求項60記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、I(j-1) <I
(j)-1 の関係が成り立つならば節点候補I(j)を節点候補
I(j)-1に交換した時の第1目的関数の値を算出し、前記
第1目的関数の値から元の第1目的関数の値を減じた値
ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係
が成り立つならば前記節点候補I(j)を節点候補I(j)+1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から前記元の第1目的関数の値を減じた値ΔE
(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つなら
ば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ
前記ΔE(1+)<0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節点
候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記Δ
E(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記Δ
E(1+) 以下ならば、前記節点候補I(j)を前記節点候補I
(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より
大きいならば、前記節点候補I(j)を前記節点候補I(j)+1
に交換する操作をj=[m/2 ]から1 まで、およびj=[m/
2 ]+1からm-1 まで順に行ない、これら一連の処理が終
了した時の第1目的関数の値が前記元の第1目的関数の
値から前記閾値を減じたもの以下ならば、前記操作をj=
[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1 まで
順に再び行ない、節点候補の前記交換が全く行なわれな
かったか、前記第1目的関数の値が前記元の第1目的関
数の値から閾値を減じたものより大きいならば、処理を
終了することにより、行なうようにしたので、補間関数
の準最適節点を求める処理を実現でき、与えられた1次
元時系列データの性質に合わせた圧縮が行なえ、圧縮率
は近似精度によってコントロールできるため、伸長後の
誤差を前もって把握することができる1次元時系列デー
タ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 60 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, node candidate I (j) is
Calculating the value of the first objective function when exchanged for I (j) -1, calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original first objective function is subtracted from the value of the first objective function. Value ΔE
(1+) is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0, and the ΔE If the relationship of (1+) ≧ 0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧ 0
And if the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the ΔE (1-) <0 and the Δ
The relationship of E (1 +) <0 holds, and the ΔE (1-) is the Δ
If E (1+) or less, the node candidate I (j) is replaced with the node candidate I
(j) -1 and if the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and if the ΔE (1-) is larger than the ΔE (1+), The node candidate I (j) is replaced by the node candidate I (j) +1
To j = [m / 2] to 1 and j = [m /
2] In order from +1 to m−1, if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the above operation is performed. To j =
[M / 2] to 1 and j = [m / 2] +1 to m-1 again in order, and whether the exchange of the node candidates has not been performed at all or the value of the first objective function is the element If the value is larger than the value obtained by subtracting the threshold value from the value of the first objective function, the process is terminated to terminate the process. Therefore, the process of obtaining a sub-optimal node of the interpolation function can be realized. Since compression can be performed in accordance with the characteristics of the sequence data and the compression ratio can be controlled by approximation accuracy, there is an effect that a one-dimensional time-series data compression device capable of grasping in advance errors after decompression can be obtained.

【0272】また、この発明の請求項61記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、I(j-1) <I
(j)-1 の関係が成り立つならば節点候補I(j)を節点候補
I(j)-1に交換した時の第1目的関数の値を算出し、前記
第1目的関数の値から元の第1目的関数の値を減じた値
ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係
が成り立つならば前記節点候補I(j)を節点候補I(j)+1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から前記元の第1目的関数の値を減じた値ΔE
(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つなら
ば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ
前記ΔE(1+)<0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節点
候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記Δ
E(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記Δ
E(1+) 以下ならば、前記節点候補I(j)を前記節点候補I
(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より
大きいならば、前記節点候補I(j)を前記節点候補I(j)+1
に交換する操作をj=1 からm-1 まで順に行ない、これら
一連の処理が終了した時の第1目的関数の値が前記元の
第1目的関数の値から閾値を減じたもの以下ならば、前
記操作をj=1 からm-1 まで順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
ようにしたので、補間関数の準最適節点を求める処理を
実現でき、与えられた1次元時系列データの性質に合わ
せた圧縮が行なえ、圧縮率は近似精度によってコントロ
ールできるため、伸長後の誤差を前もって把握すること
ができる1次元時系列データ圧縮装置が得られる効果が
ある。
Also, according to the one-dimensional time-series data compression apparatus of claim 61 of the present invention, claims 53 to 56
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, node candidate I (j) is
Calculating the value of the first objective function when exchanged for I (j) -1, calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original first objective function is subtracted from the value of the first objective function. Value ΔE
(1+) is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0, and the ΔE If the relationship of (1+) ≧ 0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧ 0
And if the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the ΔE (1-) <0 and the Δ
The relationship of E (1 +) <0 holds, and the ΔE (1-) is the Δ
If E (1+) or less, the node candidate I (j) is replaced with the node candidate I
(j) -1 and if the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and if the ΔE (1-) is larger than the ΔE (1+), The node candidate I (j) is replaced by the node candidate I (j) +1
Is performed in order from j = 1 to m-1. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, The above operation was repeated again from j = 1 to m−1, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. If it is larger than the one, the processing is terminated to terminate the processing, so that the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the compression according to the property of the given one-dimensional time series data can be performed. Since the ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0273】また、この発明の請求項62記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
記載のいずれかに1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I
(j)-1 の関係が成り立つならば節点候補I(j)を節点候補
I(j)-1に交換した時の第1目的関数の値を算出し、前記
第1目的関数の値から元の第1目的関数の値を減じた値
ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つな
らば前記ΔE(1-)を0に設定し、I(j)+1 <I(j+1)の関係
が成り立つならば前記節点候補I(j)を節点候補I(j)+1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から前記元の第1目的関数の値を減じた値ΔE
(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つなら
ば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)-1に交換し、前記ΔE(1-) ≧0 かつ
前記ΔE(1+)<0 の関係が成り立つならば前記節点候補I
(j)を前記節点候補I(j)+1に交換し、前記ΔE(1-) ≧0
かつ前記ΔE(1+) ≧0 の関係が成り立つならば前記節点
候補I(j)の交換を行なわず、前記ΔE(1-)<0 かつ前記Δ
E(1+)<0 の関係が成り立ち、かつ前記ΔE(1-) が前記Δ
E(1+) 以下ならば、前記節点候補I(j)を前記節点候補I
(j)-1に交換し、前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の
関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) より
大きいならば、前記節点候補I(j)を前記節点候補I(j)+1
に交換する操作をj=m-1 から1 まで順に行ない、これら
一連の処理が終了した時の第1目的関数の値が前記元の
第1目的関数の値から閾値を減じたもの以下ならば、前
記操作をj=m-1 から1 まで順に再び行ない、節点候補の
前記交換が全く行なわれなかったか、前記第1目的関数
の値が前記元の第1目的関数の値から閾値を減じたもの
より大きいならば、処理を終了することにより、行なう
ようにしたので、補間関数の準最適節点を求める処理を
実現でき、与えられた1次元時系列データの性質に合わ
せた圧縮が行なえ、圧縮率は近似精度によってコントロ
ールできるため、伸長後の誤差を前もって把握すること
ができる1次元時系列データ圧縮装置が得られる効果が
ある。
According to the one-dimensional time-series data compressing apparatus of claim 62 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I
If the relationship (j) -1 holds, node candidate I (j) is
Calculating the value of the first objective function when exchanged for I (j) -1, calculating a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function, If the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and if the relationship of I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original first objective function is subtracted from the value of the first objective function. Value ΔE
(1+) is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0, and the ΔE If the relationship of (1+) ≧ 0 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, and the ΔE (1-) ≧ 0
And if the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed, the ΔE (1-) <0 and the Δ
The relationship of E (1 +) <0 holds, and the ΔE (1-) is the Δ
If E (1+) or less, the node candidate I (j) is replaced with the node candidate I
(j) -1 and if the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and if the ΔE (1-) is larger than the ΔE (1+), The node candidate I (j) is replaced by the node candidate I (j) +1
Is performed in order from j = m-1 to 1. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, The above operation was repeated again from j = m-1 to 1, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. If it is larger than the one, the processing is terminated to terminate the processing, so that the processing for obtaining the sub-optimal node of the interpolation function can be realized, and the compression according to the property of the given one-dimensional time series data can be performed. Since the ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0274】また、この発明の請求項63記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、前記節点候補のイン
デックスに対して、これが小さい順に番号づけを行なっ
たものをI(j),0 ≦j ≦m と表記したとき、 I(j-1)< I
(j)-1の関係が成り立つならば節点候補I(j)を節点候補I
(j)-1に交換した時の第1目的関数の値を算出し、前記
第1目的関数の値から元の第1目的関数の値を減じた値
ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つな
らば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係
が成り立つならば前記節点候補I(j)を節点候補I(j)+1に
交換した時の第1目的関数の値を算出し、前記第1目的
関数の値から前記元の第1目的関数の値を減じた値ΔE
(1+) を算出し、I(j)+1≧I(j+1)の関係が成り立つなら
ば前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記
ΔE(1+) ≧0 の関係が成り立つならば前記節点候補I(j)
を前記節点候補I(j)-1に交換するとともにこの交換を行
った時の第1目的関数の値と前記元の第1目的関数の値
の交換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0
の関係が成り立つならば前記節点候補I(j)を前記節点候
補I(j)+1に交換するとともにこの交換を行った時の第1
目的関数の値と前記元の第1目的関数の値の交換を行な
い、前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成
り立つならば前記節点候補I(j)の交換を行なわず、前記
ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ
前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補
I(j)を前記節点候補I(j)-1に交換するとともにこの交換
を行った時の第1目的関数の値と前記元の第1目的関数
の値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<
0 の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+)
より大きいならば、前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともにこの交換を行った時の第1の
目的関数の値と前記元の第1の目的関数の値の交換を行
なう操作を奇数のj については小さいものから大きいも
のの順、および偶数のj については大きいものから小さ
いものの順に行ない、これら一連の処理が終了した時の
第1目的関数の値が前記元の第1目的関数の値から閾値
を減じたもの以下ならば、前記操作を奇数のj について
は小さいものから大きいものの順、および偶数のj につ
いては大きいものから小さいものの順に再び行ない、節
点候補の前記交換が全く行なわれなかったか、前記第1
目的関数の値が前記元の第1目的関数の値から閾値を減
じたものより大きいならば、処理を終了することによ
り、行なうようにしたので、補間関数の準最適節点を求
める処理を実現でき、与えられた1次元時系列データの
性質に合わせた圧縮が行なえ、圧縮率は近似精度によっ
てコントロールできるため、伸長後の誤差を前もって把
握することができる1次元時系列データ圧縮装置が得ら
れる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 63 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate is performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ When j ≤ m, I (j-1) <I
If the relationship (j) -1 holds, the node candidate I (j) is
(j) The value of the first objective function when exchanged for -1 is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function is calculated. If the relationship (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and if the relationship I (j) +1 <I (j + 1) holds, The value of the first objective function when the node candidate I (j) was replaced with the node candidate I (j) +1 was calculated, and the value of the original first objective function was subtracted from the value of the first objective function. Value ΔE
(1+) is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0, and the ΔE If the relationship of (1+) ≧ 0 holds, the node candidate I (j)
Is exchanged for the node candidate I (j) -1 and the value of the first objective function at the time of this exchange is exchanged with the value of the original first objective function, and the ΔE (1-) ≧ 0 And ΔE (1 +) <0
Is satisfied, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first candidate at the time of this exchange is
The value of the objective function and the value of the original first objective function are exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) If no exchange is performed and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds, and if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate
I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and the ΔE (1 -) <0 and ΔE (1 +) <
0 holds, and the ΔE (1-) is the ΔE (1+)
If greater, the node candidate I (j) is replaced with the node candidate I
(j) +1 and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of this exchange is performed for odd j, from small to large. The order and the even j are performed in ascending order from the largest to the smallest. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, The above operation is performed again in the order of small to large for the odd j, and in the order of large to small for the even j.
If the value of the objective function is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, the process is terminated, thereby performing the process of obtaining the sub-optimal node of the interpolation function. Since the compression can be performed in accordance with the properties of the given one-dimensional time-series data and the compression ratio can be controlled by the approximation accuracy, an effect is obtained that a one-dimensional time-series data compression device capable of grasping the error after decompression in advance. There is.

【0275】また、この発明の請求項64記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、 I(j-1) < I(j)
-1の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともに、この交換した
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換するとともに、この交換した時の第1の目的関
数の値と前記元の第1の目的関数の値の交換を行なう操
作を奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に行ない、これら一連の処理が終了した時の第1
目的関数の値が前記元の第1目的関数の値から閾値を減
じたもの以下ならば、前記操作を奇数のj については大
きいものから小さいものの順、および偶数のj について
は小さいものから大きいものの順に再び行ない、節点候
補の前記交換が全く行なわれなかったか、前記第1目的
関数の値が前記元の第1目的関数の値から閾値を減じた
ものより大きいならば、処理を終了することにより、決
定を行なうようにしたので、補間関数の準最適節点を求
める処理を実現でき、与えられた1次元時系列データの
性質に合わせた圧縮が行なえ、圧縮率は近似精度によっ
てコントロールできるため、伸長後の誤差を前もって把
握することができる1次元時系列データ圧縮装置が得ら
れる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 64 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate may be performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I (j)
If the relation of -1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original The value of the first objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I
(j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j).
+1 and the operation of exchanging the value of the first objective function and the value of the original first objective function at the time of the exchange is performed in the order of the odd j from the largest to the smallest, and the even j J is performed in ascending order from the smallest to the largest, and when these series of processes are completed, the first
If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold value, the operation is performed in the order of large to small for odd j, and small to large for even j. Repeatedly in order, if the exchange of node candidates has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold, the process is terminated. , So that a process for finding a sub-optimal node of the interpolation function can be realized, compression can be performed according to the properties of given one-dimensional time-series data, and the compression ratio can be controlled by approximation accuracy. There is an effect that a one-dimensional time-series data compression device capable of grasping a later error in advance can be obtained.

【0276】また、この発明の請求項65記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともに、この交換した
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換するとともに、この交換した時の第1の目的関
数の値と前記元の第1の目的関数の値の交換を行なう操
作をj=1 から[m/2 ]まで、およびj=m-1 から[m/2]+
1まで順に行ない、これら一連の処理が終了した時の第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたもの以下ならば、前記操作をj=1 から[m/2 ]ま
で、およびj=m-1 から[m/2 ]+1まで順に再び行ない、
節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうようにしたものである。
According to the one-dimensional time-series data compressing apparatus of claim 65 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate may be performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original The value of the first objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I
(j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j).
+1 and the operation of exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function from j = 1 to [m / 2], and j = m-1 to [m / 2] +
1 is performed in order, and if the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = 1 to [m / 2], and again from j = m-1 to [m / 2] +1.
If the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the decision is made by terminating the process. It is like that.

【0277】また、この発明の請求項66記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともに、この交換した
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換するとともに、この交換した時の第1目的関数
の値と前記元の第1目的関数の値の交換を行なう操作を
j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1ま
で順に行ない、これら一連の処理が終了した時の第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たもの以下ならば、前記操作をj=[m/2 ]から1 まで、
およびj=[m/2 ]+1からm-1 まで順に再び行ない、節点
候補の前記交換が全く行なわれなかったか、前記第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たものより大きいならば、処理を終了することにより、
行なうようにしたので、補間関数の準最適節点を求める
処理を実現でき、与えられた1次元時系列データの性質
に合わせた圧縮が行なえ、圧縮率は近似精度によってコ
ントロールできるため、伸長後の誤差を前もって把握す
ることができる1次元時系列データ圧縮装置が得られる
効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 66 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate may be performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original The value of the first objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I
(j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j).
+1 and an operation of exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function.
j = [m / 2] to 1 and j = [m / 2] +1 to m−1 in order, and the value of the first objective function at the end of the series of processing is the first first function. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the objective function, the above operation is performed from j = [m / 2] to 1.
And j = [m / 2] +1 to m-1 in order, and whether the node candidates have not been exchanged at all or the value of the first objective function is a threshold value from the value of the original first objective function If the value is larger than the value obtained by subtracting, by ending the processing,
Since it is performed, it is possible to realize a process of finding a sub-optimal node of the interpolation function, perform compression in accordance with the properties of given one-dimensional time-series data, and control the compression ratio with approximation accuracy. Is obtained in order to obtain a one-dimensional time-series data compression apparatus capable of grasping in advance.

【0278】また、この発明の請求項67記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともに、この交換した
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換するとともに、この交換した時の第1の目的関
数の値と前記元の第1の目的関数の値の交換を行なう操
作をj=1 からm-1 まで順に行ない、これら一連の処理が
終了した時の第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたもの以下ならば、前記操作をj=1
からm-1 まで順に再び行ない、節点候補の前記交換が全
く行なわれなかったか、前記第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたものより大きいな
らば、処理を終了することにより、行なうようにしたの
で、補間関数の準最適節点を求める処理を実現でき、与
えられた1次元時系列データの性質に合わせた圧縮が行
なえ、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができる1次
元時系列データ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 67 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate may be performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original The value of the first objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I
(j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j).
In addition, the operation of exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is performed in order from j = 1 to m−1, and a series of these operations is performed. If the value of the first objective function at the end of the processing is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j = 1
To m-1 in order, and if the exchange of the node candidates has not been performed at all or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, , The processing for obtaining the sub-optimal node of the interpolation function can be realized, the compression can be performed according to the property of the given one-dimensional time series data, and the compression ratio can be controlled by the approximation accuracy. Therefore, there is an effect that a one-dimensional time-series data compression device capable of grasping in advance the error after decompression is obtained.

【0279】また、この発明の請求項68記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、前記準最適節点候補の算出は、節点候補のインデッ
クスに対して、これが小さい順に番号づけを行なったも
のをI(j),0 ≦j ≦m と表記したとき、I(j-1) < I(j)-
1 の関係が成り立つならば節点候補I(j)を節点候補I(j)
-1に交換した時の第1目的関数の値を算出し、前記第1
目的関数の値から元の第1目的関数の値を減じた値ΔE
(1-) を算出し、I(j-1)≧I(j)-1の関係が成り立つなら
ば前記ΔE(1-) を0に設定し、I(j)+1 <I(j+1)の関係が
成り立つならば前記節点候補I(j)を節点候補I(j)+1に交
換した時の第1目的関数の値を算出し、前記第1目的関
数の値から前記元の第1目的関数の値を減じた値ΔE(1
+) を算出し、I(j)+1≧I(j+1)の関係が成り立つならば
前記ΔE(1+) を0に設定し、前記ΔE(1-)<0 かつ前記Δ
E(1+)≧0 の関係が成り立つならば前記節点候補I(j)を
前記節点候補I(j)-1に交換するとともに、この交換した
時の第1目的関数の値と前記元の第1目的関数の値の交
換を行ない、前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関
係が成り立つならば前記節点候補I(j)を前記節点候補I
(j)+1に交換するとともに、この交換した時の第1目的
関数の値と前記元の第1目的関数の値の交換を行ない、
前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、前記ΔE
(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、かつ前
記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点候補I
(j)を前記節点候補I(j)-1に交換するとともに、この交
換した時の第1目的関数の値と前記元の第1目的関数の
値の交換を行ない、前記ΔE(1-)<0 かつ前記ΔE(1+)<0
の関係が成り立ち、かつ前記ΔE(1-) が前記ΔE(1+) よ
り大きいならば、前記節点候補I(j)を前記節点候補I(j)
+1に交換するとともに、この交換した時の第1の目的関
数の値と前記元の第1の目的関数の値の交換を行なう操
作をj=m-1 から1 まで順に行ない、これら一連の処理が
終了した時の第1目的関数の値が前記元の第1目的関数
の値から閾値を減じたもの以下ならば、前記操作をj=m-
1 から1 まで順に再び行ない、節点候補の前記交換が全
く行なわれなかったか、前記第1目的関数の値が前記元
の第1目的関数の値から閾値を減じたものより大きいな
らば、処理を終了することにより、行なうようにしたの
で、補間関数の準最適節点を求める処理を実現でき、与
えられた1次元時系列データの性質に合わせた圧縮が行
なえ、圧縮率は近似精度によってコントロールできるた
め、伸長後の誤差を前もって把握することができる1次
元時系列データ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 68 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, the calculation of the sub-optimal node candidate may be performed by numbering the index of the node candidate in ascending order of I (j), 0 ≦ j. ≤m, I (j-1) <I (j)-
If the relation of 1 holds, the node candidate I (j) is replaced with the node candidate I (j).
Calculate the value of the first objective function when the value is changed to -1, and
A value ΔE obtained by subtracting the value of the original first objective function from the value of the objective function
(1-) is calculated, and if the relationship of I (j-1) ≧ I (j) -1 holds, the ΔE (1-) is set to 0, and I (j) +1 <I (j + If the relationship of 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated, and the value of the original is calculated from the value of the first objective function. The value ΔE (1
+), And if the relationship of I (j) + 1 ≧ I (j + 1) holds, the ΔE (1+) is set to 0, the ΔE (1-) <0 and the Δ
If the relationship of E (1+) ≧ 0 holds, the node candidate I (j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the original The value of the first objective function is exchanged, and if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1 +) <0 hold, the node candidate I (j) is replaced with the node candidate I
(j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged.
If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE
(1-) <0 and the relationship of ΔE (1 +) <0 holds, and if ΔE (1-) is equal to or less than ΔE (1+), the node candidate I
(j) is exchanged for the node candidate I (j) -1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged to obtain the ΔE (1-) <0 and ΔE (1 +) <0
Holds, and if ΔE (1-) is greater than ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j).
+1, and the operation of exchanging the value of the first objective function at the time of the exchange and the value of the original first objective function is performed in order from j = m-1 to 1. If the value of the first objective function at the time when the processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j = m−
The processing is repeated again from 1 to 1, and if the exchange of the node candidates has not been performed at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is performed. By ending, the processing is performed to obtain a sub-optimal node of the interpolation function, the compression can be performed according to the properties of the given one-dimensional time-series data, and the compression ratio can be controlled by the approximation accuracy. Thus, there is an effect that a one-dimensional time-series data compression device capable of grasping in advance the error after decompression is obtained.

【0280】また、この発明の請求項69記載の1次元
時系列データ圧縮装置によれば、請求項53ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、最終的に決定された節点候補数が、候補にならなか
ったデータの個数以下の場合は、節点候補を示す識別子
と前記最終的に決定された節点候補のインデックス番号
と前記節点候補の値とで構成された圧縮データを出力
し、前記最終的に決定された節点候補数が、前記候補に
ならなかったデータの個数より大きい場合は、節点候補
でない識別子と前記節点候補にならなかったデータのイ
ンデックス番号と前記節点候補の値とで構成された圧縮
データを出力するようにしたので、与えられた1次元時
系列データの性質に合わせた圧縮が行なえ、圧縮率は近
似精度によってコントロールできるため、伸長後の誤差
を前もって把握することができる1次元時系列データ圧
縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 69 of the present invention, claims 53 to 56 are provided.
In the one-dimensional time-series data compression apparatus according to any one of the above, if the finally determined number of node candidates is equal to or less than the number of data that was not a candidate, the identifier indicating the node candidate and the finally determined Compressed data composed of the index number of the node candidate and the value of the node candidate, and if the number of finally determined node candidates is larger than the number of data that did not become the candidate, Since compressed data composed of an identifier that is not a node candidate, an index number of data that has not become a node candidate, and a value of the node candidate is output, it is adapted to the properties of given one-dimensional time-series data. Since compression can be performed and the compression ratio can be controlled with approximation accuracy, a one-dimensional time-series data compression device that can grasp errors after decompression in advance can be obtained. There is.

【0281】また、この発明の請求項70記載の1次元
時系列データ圧縮装置によれば、請求項51ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、時間に関して不等間隔な1次元時系列データに対し
ては、当該1次元時系列データ圧縮装置を時間とデータ
について各々独立に適用し、各々を独立に圧縮するよう
にしたので、時間に関して不等間隔な1次元時系列デー
タに対しても、与えられた1次元時系列データの性質に
合わせた圧縮が行なえ、圧縮率は近似精度によってコン
トロールできるため、伸長後の誤差を前もって把握する
ことができる1次元時系列データ圧縮装置が得られる効
果がある。
According to the one-dimensional time-series data compression apparatus of the seventy-ninth aspect of the present invention,
In the one-dimensional time-series data compression apparatus according to any of the above, for one-dimensional time-series data that is unequally spaced with respect to time, the one-dimensional time-series data compression apparatus is independently applied to time and data, Since each is compressed independently, it is possible to compress even one-dimensional time-series data with unequal intervals in time according to the properties of the given one-dimensional time-series data, and the compression ratio depends on the approximation accuracy. Since control can be performed, there is an effect that a one-dimensional time-series data compression device capable of grasping in advance an error after decompression is obtained.

【0282】また、この発明の請求項71記載の1次元
時系列データ圧縮装置によれば、請求項51ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、多次元時系列データを構成する複数の1次元時系列
データの各々に対し、当該1次元時系列データ圧縮装置
を繰り返し適用することで、多次元時系列データの圧縮
を行なうようにしたので、多次元時系列データに対して
も、与えられた多次元時系列データを構成する各1次元
時系列データの性質に合わせた圧縮が行なえ、圧縮率は
近似精度によってコントロールできるため、伸長後の誤
差を前もって把握することができる1次元時系列データ
圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compression apparatus of the seventeenth aspect of the present invention,
In the one-dimensional time-series data compression device according to any one of the above, by repeatedly applying the one-dimensional time-series data compression device to each of a plurality of one-dimensional time-series data constituting the multi-dimensional time-series data, Since the multidimensional time series data is compressed, the multidimensional time series data can be compressed according to the properties of each one-dimensional time series data constituting the given multidimensional time series data. Since the compression ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0283】また、この発明の請求項72記載の1次元
時系列データ圧縮装置によれば、請求項51ないし56
のいずれかに記載の1次元時系列データ圧縮装置におい
て、複数の誤差が伝搬する1次元時系列データに対し
て、伝搬の源の1次元時系列データから順に近似精度値
を大きくし、当該1次元時系列データ圧縮装置を繰り返
し適用することで、全ての前記1次元時系列データの圧
縮を行なうようにしたので、誤差の伝搬を大きくするこ
となく、与えられた1次元時系列の性質に合わせた圧縮
が行なえ、圧縮率は近似精度によってコントロールでき
るため、伸長後の誤差を前もって把握することができる
1次元時系列データ圧縮装置が得られる効果がある。
According to the one-dimensional time-series data compressing apparatus of claim 72 of the present invention, claims 51 to 56 are provided.
In the one-dimensional time-series data compression device according to any one of the above, for the one-dimensional time-series data in which a plurality of errors propagate, the approximation accuracy value is increased in order from the one-dimensional time-series data of the propagation source. By repeatedly applying the one-dimensional time series data compression apparatus, all the one-dimensional time series data are compressed, so that it is possible to adjust the characteristics of the given one-dimensional time series without increasing the error propagation. Since the compression can be performed and the compression ratio can be controlled by the approximation accuracy, there is an effect that a one-dimensional time-series data compression device that can grasp the error after decompression in advance is obtained.

【0284】また、この発明の請求項73記載の1次元
時系列データ伸長装置によれば、請求項51,53また
は54のいずれかに記載の1次元時系列データ圧縮装置
で圧縮された圧縮データを伸長する装置であって、圧縮
された圧縮データとこれを伸長した時のデータ数を入力
する第1の手段と、圧縮の際に使用した補間関数と同じ
補間関数を使用して圧縮データを補間することで、前記
データ数と同数分のデータを算出し、初期時間と時間間
隔から時刻を前記データ数と同数分だけ算出する第2の
手段と、前記第2の手段で算出した前記データと前記時
刻とを出力する第3の手段とを備えるようにしたので、
伸長に関しても、補間関数による連続化を用いるため、
請求項51,53または54のいずれかに記載の1次元
時系列データ圧縮装置で圧縮された圧縮データを伸長で
き、しかも任意数でのデータの伸長が可能となる1次元
時系列データ伸長装置が得られる効果がある。
According to the one-dimensional time-series data decompressing apparatus according to claim 73 of the present invention, the compressed data compressed by the one-dimensional time-series data compressing apparatus according to any one of claims 51, 53 and 54 is provided. A first means for inputting compressed compressed data and the number of data when the compressed data is decompressed, and compressing the compressed data using the same interpolation function as that used for compression. A second means for calculating the same number of data as the number of data by interpolation, and calculating a time from the initial time and the time interval by the same number as the number of data; and the data calculated by the second means. And the third means for outputting the time.
Regarding decompression, since continuity using an interpolation function is used,
A one-dimensional time-series data decompressing apparatus capable of decompressing compressed data compressed by the one-dimensional time-series data compressing apparatus according to any one of claims 51, 53, and 54, and capable of decompressing an arbitrary number of data. There is an effect that can be obtained.

【0285】また、この発明の請求項74記載の1次元
時系列データ伸長装置によれば、請求項52,55また
は56のいずれかに記載の1次元時系列データ圧縮装置
で圧縮された圧縮データを伸長する装置であって、圧縮
された圧縮データとこれを伸長した時のデータ数を入力
する第1の手段と、前記圧縮データに該データが全て0
であることを示す識別子が付与されている場合は、前記
データ数と同数分の0と、初期時間と時間間隔から時刻
を前記データ数と同数分だけ算出し、前記圧縮データに
該データが全て0であることを示す識別子が付与されて
いない場合は、圧縮の際に使用した補間関数と同じ補間
関数を使用して圧縮データを補間することで、前記デー
タ数と同数分のデータを算出し、初期時間と時間間隔か
ら時刻を前記データ数と同数分だけ算出する第2の手段
と、前記第2の手段で算出した前記データと前記時刻と
を出力する第3の手段とを備えるようにしたので、伸長
に関しても、補間関数による連続化を用いるため、請求
項52,55または56のいずれかに記載の1次元時系
列データ圧縮装置で圧縮された圧縮データを伸長でき、
しかも任意数でのデータの伸長が可能となる1次元時系
列データ伸長装置が得られる効果がある。
According to the one-dimensional time-series data decompressing apparatus of claim 74 of the present invention, the compressed data compressed by the one-dimensional time-series data compressing apparatus of any one of claims 52, 55 and 56 is provided. A first means for inputting compressed compressed data and the number of data when decompressing the compressed data;
If an identifier indicating that the number of data is equal to the number of data, the time is calculated from the initial time and the time interval by the same number of 0s as the number of data, and the same number of times as the number of data is calculated. When the identifier indicating 0 is not given, the same number of data as the data number is calculated by interpolating the compressed data using the same interpolation function as the interpolation function used at the time of compression. A second means for calculating a time from the initial time and the time interval by the same number as the number of data, and a third means for outputting the data and the time calculated by the second means. Since the continuity using the interpolation function is used for decompression, the compressed data compressed by the one-dimensional time-series data compression device according to claim 52, 55 or 56 can be decompressed.
In addition, there is an effect that a one-dimensional time-series data decompression device capable of decompressing an arbitrary number of data is obtained.

【0286】さらに、この発明の請求項75記載の1次
元時系列データ伸長装置によれば、請求項73または7
4記載の1次元時系列データ伸長装置において、圧縮さ
れた多次元時系列データを構成する複数の圧縮された1
次元時系列データの各々に対し、当該1次元時系列デー
タ伸長装置を繰り返し適用することで、圧縮された多次
元時系列データの伸長を行なうようにしたので、多次元
時系列データの圧縮データに対しても、請求項73また
は74記載の1次元時系列データ伸長装置を適用して各
次元のデータを伸長でき、しかも任意数でのデータの伸
長が可能となる1次元時系列データ伸長装置が得られる
効果がある。
Further, according to the one-dimensional time-series data decompression device according to claim 75 of the present invention, claim 73 or 7
4. The one-dimensional time-series data decompression device according to item 4, wherein a plurality of compressed one-dimensional data constituting the compressed multi-dimensional time-series data
By repeatedly applying the one-dimensional time-series data decompression device to each of the one-dimensional time-series data, the compressed multi-dimensional time-series data is expanded, so that the multi-dimensional time-series data can be compressed. On the other hand, a one-dimensional time-series data decompression device which can decompress data of each dimension by applying the one-dimensional time-series data decompression device according to claim 73 or 74 and can decompress data of an arbitrary number is provided. There is an effect that can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1における1次元時系列デ
ータ圧縮方法の処理構成図。
FIG. 1 is a processing configuration diagram of a one-dimensional time-series data compression method according to a first embodiment of the present invention.

【図2】本発明の実施の形態1における1次元時系列デ
ータ圧縮方法の処理構成図。
FIG. 2 is a processing configuration diagram of a one-dimensional time-series data compression method according to the first embodiment of the present invention.

【図3】本発明の各実施の形態における1次元時系列デ
ータ圧縮方法,1次元時系列データ伸長方法の実行に使
用するコンピュータを示す図。
FIG. 3 is a diagram showing a computer used for executing a one-dimensional time-series data compression method and a one-dimensional time-series data expansion method in each embodiment of the present invention.

【図4】本発明の実施の形態2における1次元時系列デ
ータ圧縮装置の構成図。
FIG. 4 is a configuration diagram of a one-dimensional time-series data compression device according to a second embodiment of the present invention.

【図5】本発明の実施の形態2における1次元時系列デ
ータ圧縮装置の構成図。
FIG. 5 is a configuration diagram of a one-dimensional time-series data compression device according to a second embodiment of the present invention.

【図6】本発明の実施の形態3における1次元時系列デ
ータ圧縮方法の処理構成図。
FIG. 6 is a processing configuration diagram of a one-dimensional time-series data compression method according to a third embodiment of the present invention.

【図7】本発明の実施の形態3における1次元時系列デ
ータ圧縮方法の処理構成図。
FIG. 7 is a processing configuration diagram of a one-dimensional time-series data compression method according to a third embodiment of the present invention.

【図8】本発明の実施の形態4における1次元時系列デ
ータ圧縮装置の構成図。
FIG. 8 is a configuration diagram of a one-dimensional time-series data compression device according to a fourth embodiment of the present invention.

【図9】本発明の実施の形態4における1次元時系列デ
ータ圧縮装置の構成図。
FIG. 9 is a configuration diagram of a one-dimensional time-series data compression device according to a fourth embodiment of the present invention.

【図10】準最適節点候補の第1の決定方法の説明図。FIG. 10 is an explanatory diagram of a first method of determining a sub-optimal node candidate.

【図11】準最適節点候補の第2の決定方法の説明図。FIG. 11 is an explanatory diagram of a second method of determining a sub-optimal node candidate.

【図12】1次元時系列データの説明図。FIG. 12 is an explanatory diagram of one-dimensional time-series data.

【図13】1次元時系列データの節点候補の説明図。FIG. 13 is an explanatory diagram of a node candidate of one-dimensional time-series data.

【図14】1次元時系列データの節点候補による補間の
説明図。
FIG. 14 is an explanatory diagram of interpolation of node candidates of one-dimensional time-series data.

【図15】準最適節点候補の選択方法の説明図。FIG. 15 is an explanatory diagram of a method of selecting a sub-optimal node candidate.

【図16】圧縮データ形式の説明図。FIG. 16 is an explanatory diagram of a compressed data format.

【図17】本発明の実施の形態5における1次元時系列
データ伸長方法の処理構成図。
FIG. 17 is a processing configuration diagram of a one-dimensional time-series data decompression method according to a fifth embodiment of the present invention.

【図18】本発明の実施の形態5における1次元時系列
データ伸長方法の処理構成図。
FIG. 18 is a processing configuration diagram of a one-dimensional time-series data expansion method according to a fifth embodiment of the present invention.

【図19】本発明の実施の形態6における1次元時系列
データ伸長装置の構成図。
FIG. 19 is a configuration diagram of a one-dimensional time-series data decompression device according to a sixth embodiment of the present invention.

【図20】本発明の実施の形態6における1次元時系列
データ伸長装置の構成図。
FIG. 20 is a configuration diagram of a one-dimensional time-series data decompression device according to a sixth embodiment of the present invention.

【図21】本発明の実施の形態7における1次元時系列
データ伸長方法の処理構成図。
FIG. 21 is a processing configuration diagram of a one-dimensional time-series data decompression method according to a seventh embodiment of the present invention.

【図22】本発明の実施の形態7における1次元時系列
データ伸長方法の処理構成図。
FIG. 22 is a processing configuration diagram of a one-dimensional time-series data decompression method according to a seventh embodiment of the present invention.

【図23】本発明の実施の形態8における1次元時系列
データ伸長装置の構成図。
FIG. 23 is a configuration diagram of a one-dimensional time-series data decompression device according to an eighth embodiment of the present invention.

【図24】本発明の実施の形態8における1次元時系列
データ伸長装置の構成図。
FIG. 24 is a configuration diagram of a one-dimensional time-series data decompression device according to an eighth embodiment of the present invention.

【図25】本発明の実施の形態9における多次元時系列
データ圧縮方法の処理構成図。
FIG. 25 is a processing configuration diagram of a multidimensional time-series data compression method according to the ninth embodiment of the present invention.

【図26】本発明の実施の形態10における多次元時系
列データ圧縮装置の構成図。
FIG. 26 is a configuration diagram of a multidimensional time-series data compression device according to a tenth embodiment of the present invention.

【図27】本発明の実施の形態11における多次元時系
列データ圧縮方法の処理構成図。
FIG. 27 is a processing configuration diagram of a multidimensional time-series data compression method according to the eleventh embodiment of the present invention.

【図28】本発明の実施の形態12における多次元時系
列データ圧縮方法の構成図。
FIG. 28 is a configuration diagram of a multidimensional time-series data compression method according to the twelfth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

P1a,P1b,P1c,P1d,P1e,P1f,P
4a,P5a,P4b,P5b,P1,P2,P3,P
4,P5,P6,P7,P8,P9,P10,P11,
P12,P13,P14,P21,P22,P23,P
24,P25,P26,P27,P28,P29,P3
0,P31,P32,P33,P34,P35,P4
1,P42,P43,P44,P45,P46,P4
7,P48,P49,P50,P51,P52,P5
3,P54,P55,P56,P57,P58,P5
9,P61,P62,P63,P64,P65,P6
6,P67,P68,P69,P70,P71,P7
2,P73,P74,P75,P76,P77,P7
8,P79,P101,P101a,P102,P10
3,P104,P105,P106,P107,P10
8,P200,P201,P202,P203,P20
4 処理、 S1,S2,S3,S4,S5,S6,S7,S8,S
9,S11,S12,S13,S14,S15,S1
6,S17,S18,S19,S20 段階 1 CPU 2 データメモリ 3 メインメモリ 4 入出力装置 5 バス 6 外部記憶装置 40a,50a 入力手段 10a 節点候補算出手段 10b 節点位置最適化手段 10c 判定手段 10d 節点数最適化手段 10e 判定手段 10f 判定手段 20a データ伸長手段 20b データ形式判別手段 20c 0データ伸長手段 21 データ補間手段 22 データ算出手段 23 時刻算出手段 24 データ形式判別手段 25 0データ算出手段 26 時刻算出手段 40b,50b 出力手段 11 インデックス付加手段 12 初期節点数算出手段 13 節点候補決定手段 14 補間手段 15 誤差算出手段 16 第1目的関数算出手段 17 準最適節点候補決定手段 18 補間実行手段 19 誤差算出手段 20 第2目的関数算出手段 21 閾値判定手段 22 節点数変更手段 23 近似精度内判定手段
P1a, P1b, P1c, P1d, P1e, P1f, P
4a, P5a, P4b, P5b, P1, P2, P3, P
4, P5, P6, P7, P8, P9, P10, P11,
P12, P13, P14, P21, P22, P23, P
24, P25, P26, P27, P28, P29, P3
0, P31, P32, P33, P34, P35, P4
1, P42, P43, P44, P45, P46, P4
7, P48, P49, P50, P51, P52, P5
3, P54, P55, P56, P57, P58, P5
9, P61, P62, P63, P64, P65, P6
6, P67, P68, P69, P70, P71, P7
2, P73, P74, P75, P76, P77, P7
8, P79, P101, P101a, P102, P10
3, P104, P105, P106, P107, P10
8, P200, P201, P202, P203, P20
4 Processing, S1, S2, S3, S4, S5, S6, S7, S8, S
9, S11, S12, S13, S14, S15, S1
6, S17, S18, S19, S20 Step 1 CPU 2 Data memory 3 Main memory 4 Input / output device 5 Bus 6 External storage device 40a, 50a Input means 10a Node candidate calculation means 10b Node position optimization means 10c Judgment means 10d Number of nodes Optimizing means 10e determining means 10f determining means 20a data decompressing means 20b data format discriminating means 20c 0 data decompressing means 21 data interpolating means 22 data calculating means 23 time calculating means 24 data format discriminating means 250 0 data calculating means 26 time calculating means 40b Output means 11 index adding means 12 initial node number calculating means 13 node candidate determining means 14 interpolation means 15 error calculating means 16 first objective function calculating means 17 suboptimal node candidate determining means 18 interpolation executing means 19 error calculating means 20 Second eye Function calculating means 21 threshold value determining means 22 number of nodes changing means 23 determination means within approximation accuracy

───────────────────────────────────────────────────── フロントページの続き (54)【発明の名称】 1次元時系列データ圧縮方法,1次元時系列データ伸長方法,1次元時系列データ圧縮プログラ ム記録媒体,1次元時系列データ伸長プログラム記録媒体,1次元時系列データ圧縮装置,およ び1次元時系列データ伸長装置 ──────────────────────────────────────────────────の Continuation of the front page (54) [Title of Invention] One-dimensional time-series data compression method, one-dimensional time-series data expansion method, one-dimensional time-series data compression program recording medium, one-dimensional time-series data expansion program recording Medium, one-dimensional time-series data compression device, and one-dimensional time-series data decompression device

Claims (75)

【特許請求の範囲】[Claims] 【請求項1】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の工程と、 前記1次元時系列データを近似する補間関数の節点候補
を算出する第2の工程と、 前記節点候補の位置を最適化する第3の工程と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第4の工程と、 前記第4の工程により前記誤差が前記近似精度に基づく
値を越えると判断された場合に節点数を変更し、前記第
2の工程に戻る第5の工程と、 前記第5の工程により前記誤差が前記近似精度に基づく
値を越えないと判断された場合に当該節点候補のデータ
とこれに対応する時刻のデータとを圧縮された情報とし
て出力する第6の工程とを含むことを特徴とする1次元
時系列データ圧縮方法。
1. A method for compressing one-dimensional time-series data at equal time intervals, comprising: a first step of inputting the one-dimensional time-series data and its approximation accuracy; and approximating the one-dimensional time-series data. A second step of calculating a node candidate of an interpolation function; a third step of optimizing the position of the node candidate; and a one-dimensional time series generated by the interpolation function based on the node candidate whose position is optimized. A fourth step of determining an error between the data and the original one-dimensional time-series data; and changing the number of nodes when it is determined in the fourth step that the error exceeds a value based on the approximation accuracy; A fifth step of returning to the second step; and if the error is determined not to exceed a value based on the approximation accuracy in the fifth step, data of the node candidate and data of a time corresponding thereto. And as compressed information Outputting a one-dimensional time-series data compression method.
【請求項2】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の工程と、 前記1次元時系列データに前記近似精度以内のデータが
含まれているか否かを判定する第2の工程と、 前記第2の工程により前記1次元時系列データに前記近
似精度以内のデータが含まれていないと判断された場合
に前記1次元時系列データを近似する補間関数の節点候
補を算出する第3の工程と、 前記節点候補の位置を最適化する第4の工程と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第5の工程と、 前記第5の工程により前記誤差が前記近似精度に基づく
値を越えると判断された場合に節点数を変更し、前記第
3の工程に戻る第6の工程と、 前記第2の工程により前記1次元時系列データに前記近
似精度以内のデータが含まれていると判断された場合に
当該1次元時系列データが近似精度以内のデータである
旨の情報を出力し、前記第5の工程により前記誤差が前
記近似精度に基づく値を越えないと判断された場合に当
該節点候補のデータとこれに対応する時刻のデータとを
圧縮された情報として出力する第7の工程とを含むこと
を特徴とする1次元時系列データ圧縮方法。
2. A method for compressing one-dimensional time-series data at equal time intervals, comprising: a first step of inputting the one-dimensional time-series data and its approximation accuracy; A second step of determining whether or not data within the accuracy is included; and a case where it is determined in the second step that the one-dimensional time-series data does not include data within the approximation accuracy. A third step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data; a fourth step of optimizing the position of the node candidate; and A fifth step of determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data; and the fifth step determines that the error exceeds a value based on the approximation accuracy. The number of nodes A sixth step of changing and returning to the third step; and determining that the one-dimensional time-series data includes data within the approximation accuracy by the second step. Outputting information indicating that the series data is data within the approximation accuracy, and when the fifth step determines that the error does not exceed the value based on the approximation accuracy, the data of the node candidate and the corresponding And outputting the data of the time to be performed as compressed information.
【請求項3】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第2の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
工程と、 前記準最適節点候補を前記補間関数により補間して元の
1次元時系列データを近似する1次元時系列データを生
成し、この1次元時系列データと元の1次元時系列デー
タとの誤差を算出する第6の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の工程から第7の工程までの処理を繰
り返す第8の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の工程とを含
むことを特徴とする1次元時系列データ圧縮方法。
3. A method for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and indexing the one-dimensional time-series data in the order of time. A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and always including start and end data among the one-dimensional time-series data, and randomly A second step of determining only a few node candidates; and a third step of interpolating the node candidates with an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data. And a fourth step of calculating, from the error, a value of a first objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance; and To be minimal A fifth step of repeatedly changing the point candidates to determine a sub-optimal node candidate; and interpolating the sub-optimal node candidate by the interpolation function to obtain one-dimensional time series data approximating the original one-dimensional time series data. A sixth step of generating and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; and defining, from the error, a weighted addition of a maximum value of the error, an error average, and an error variance. A seventh step of calculating the calculated value of the second objective function; and, if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, adding the increment to the number of nodes to the new number of nodes And an eighth step of repeating the processing from the second step to the seventh step; and if the value of the second objective function is less than the threshold, the initial time and the time interval of the one-dimensional time-series data , The final determined node candidate One-dimensional time series data compression method, which comprises a ninth step of outputting the compressed data constituted by box number and the value of the node candidates.
【請求項4】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第2の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第6の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の工程から第7の工程の処理までを繰
り返す第8の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の工程とを含
むことを特徴とする1次元時系列データ圧縮方法。
4. A method for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and indexing the one-dimensional time-series data in the order of time. A first step of calculating an initial number of nodes of an interpolation function for adding and interpolating the one-dimensional time-series data; and always including start and end data from the one-dimensional time-series data; A second step of determining node candidates of only a few nodes so as to be approximately equally spaced with respect to, and interpolating the node candidates by an interpolation function using an index number as an independent variable to obtain an original one-dimensional A third step of calculating an error from the series data; and a fourth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. When A fifth step of repeatedly changing node candidates so as to minimize the value of the first objective function, and determining a sub-optimal node candidate; and interpolating the sub-optimal node candidate by the interpolation function, A sixth step of generating one-dimensional time-series data that approximates the one-dimensional time-series data, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating the value of the second objective function defined by weighted addition of the maximum value, the error average, and the error variance; and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy, An eighth step of repeating the processing from the second step to the seventh step by adding an increment to the number of nodes as a new number of nodes; and if the value of the second objective function is less than the threshold value, , Initial time and time of the one-dimensional time-series data Septum and, finally determined ninth step and one-dimensional time series data compression method, which comprises an outputting compressed data constituted by the index number of the node candidates and the value of the node candidates.
【請求項5】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の工程と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、前記近似精度以下の場合は全
て0であることを示す識別子を出力して終了し、そうで
ない場合は後述する第3の工程へと移行する第2の工程
と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第3の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、1次元時系列データと元の1次元時系列データ
との誤差を算出する第7の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の工程から第8の工程までの処理を繰
り返す第9の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の工程とを
含むことを特徴とする1次元時系列データ圧縮方法。
5. A method for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and adding an index to the one-dimensional time-series data in order of time. A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and determining whether or not all absolute values of the one-dimensional time-series data are less than or equal to the approximation accuracy, If it is less than or equal to the approximation accuracy, an identifier indicating that it is all 0 is output and the process is terminated. If not, a second process is performed to proceed to a third process described later. A third step of always including the start and end data, and randomly determining only a few node candidates, and interpolating the node candidates by an interpolation function using an index number as an independent variable, One-dimensional time system A fourth step of calculating an error from the data; and a fifth step of calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance. A sixth step of repeatedly changing node candidates so as to minimize the value of the first objective function and determining a sub-optimal node candidate; and interpolating the sub-optimal node candidate by the interpolation function, A seventh step of generating one-dimensional time-series data that approximates the one-dimensional time-series data, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating the value of the second objective function defined by weighted addition of the maximum value, the error average, and the error variance; and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy, Add the number of nodes to the new node A ninth step of repeating the processing from the third step to the eighth step, and if the value of the second objective function is less than the threshold, the initial time and the time interval of the one-dimensional time-series data And a tenth step of outputting compressed data composed of the finally determined index number of the node candidate and the value of the node candidate.
【請求項6】 時間等間隔な1次元時系列データの圧縮
方法であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の工程と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、近似精度以下の場合は全て0
であることを示す識別子を出力して終了し、そうでない
場合は後述する第3の工程へと移行する第2の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第3の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第7の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の工程から第8の工程までの処理を繰
り返す第9の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の工程とを
含むことを特徴とする1次元時系列データ圧縮方法。
6. A method for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and adding an index to the one-dimensional time-series data in order of time. A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and determining whether or not all absolute values of the one-dimensional time-series data are less than or equal to the approximation accuracy. 0 if precision is less
A second step of outputting an identifier indicating that the processing is completed, and if not, a second step in which the processing shifts to a third step described later. A third step of determining the node candidates of only several nodes so as to be approximately equidistant with respect to the index, and interpolating the node candidates by an interpolation function using an index number as an independent variable, A fourth step of calculating an error from the original one-dimensional time-series data; and calculating a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance from the error. A fifth step of repeatedly changing node candidates so that the value of the first objective function is minimized, and determining a sub-optimal node candidate; and By interpolation A seventh step of generating one-dimensional time-series data approximating the original one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating the value of the second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy, For example, a ninth step of repeating the processes from the third step to the eighth step by adding an increment to the number of nodes as a new number of nodes, and a value of the second objective function being less than the threshold value Then, a tenth step of outputting compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate One-dimensional time-series data characterized by including Compression method.
【請求項7】 請求項3ないし6のいずれかに記載の1
次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1なら
ば前記ΔE(1-)を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)ならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
奇数のj については小さいものから大きいものの順、お
よび偶数のj については大きいものから小さいものの順
に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作を奇数のj については小さいものから
大きいものの順、および偶数のj については大きいもの
から小さいものの順に再び行ない、 前記節点候補の交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
7. The method according to claim 3, wherein
In the three-dimensional time-series data compression method, the calculation of the sub-optimal node candidate is performed when the index of the node candidate is numbered in ascending order as I (j), 0 ≦ j ≦ m. , I (j-1) <I (j) -1 if node relation I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If I (j-1) ≧ I (j) -1, set ΔE (1-) to 0, and if the relationship of I (j) +1 <I (j + 1) holds, Node candidate I
calculating the value of the first objective function when (j) is replaced with the node candidate I (j) +1, and calculating the original first value from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If (j + 1), the ΔE (1+) is set to 0, and if the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is set. The node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j ) +1, if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE (1-) < 0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is from small to large for odd j. The order of the objects and the even j are performed in ascending order from the largest to the smallest, and the value of the first objective function when these series of processes are completed is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function. Then, the above operation is performed again in the order of small to large for odd j, and in the order of large to small for even j, and whether the node candidates have not been exchanged at all or the first objective function Is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to perform the one-dimensional time-series data compression method.
【請求項8】 請求項3ないし6のいずれかに記載の1
次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧ I(j)-1 の
関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 < I(j+1) の関係が成り立つならば前記節点候補
I(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) の方が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作を奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする一次元時系列データ圧縮方
法。
8. The method according to claim 3, wherein
In the three-dimensional time-series data compression method, the calculation of the sub-optimal node candidate is performed when the index of the node candidate is numbered in ascending order as I (j), 0 ≦ j ≦ m. , I (j-1) <I (j) -1 if node relation I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is established. If the above holds, the node candidate
The value of the first objective function when I (j) is replaced with the node candidate I (j) +1 is calculated, and the first first objective function is calculated from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If the relationship (j + 1) holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and the ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the ΔE ( 1-) <0 and the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the operation of exchanging the node candidate I (j) with the node candidate I (j) +1 is larger for odd j. From the smallest to the largest, and for even j, the smallest to the largest j, the value of the first objective function at the end of the series of processes is obtained by subtracting the threshold value from the value of the original first objective function. If it is less than the above, the above operation is performed again in the order of large to small for odd j and in the order of small to large for even j. If the value of the objective function is larger than the value of the original first objective function minus the threshold, the process is terminated to perform the one-dimensional time-series data compression method.
【請求項9】 請求項3ないし6のいずれかに記載の1
次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧ 0かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) より大きいならば、
前記節点候補I(j)を前記節点候補I(j)+1に交換する操作
をj=1 から[m/2 ]まで、およびj=m-1 から[m/2 ]+1
まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=1 から[m/2 ]まで、およびj=m-
1 から[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
9. The method according to claim 3, wherein
In the three-dimensional time-series data compression method, the calculation of the sub-optimal node candidate is performed when the index of the node candidate is numbered in ascending order as I (j), 0 ≦ j ≦ m. If the relationship of I (j-1) <I (j) -1 holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) -1 is calculated, A value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated, and I (j-1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+),
The operations of exchanging the node candidate I (j) for the node candidate I (j) +1 are from j = 1 to [m / 2] and j = m-1 to [m / 2] +1.
If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = 1 to [m / 2] and j = m-
1 to [m / 2] +1 in order, and the node candidates are not exchanged at all, or the value of the first objective function is determined by subtracting a threshold value from the value of the original first objective function. If it is larger, the one-dimensional time-series data compression method is performed by terminating the processing.
【請求項10】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=[m/2 ]から1 まで、およびj=
[m/2 ]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
10. The one-dimensional time-series data compression method according to claim 3, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = [m / 2] to 1 and j = [m / 2] +1 to m−1 in order, and the value of the first objective function at the time when these series of processes are completed is the first original function. If the value of the objective function is equal to or less than the value obtained by subtracting the threshold, the operation is performed from j = [m / 2] to 1 and j =
[M / 2] +1 to m-1 in order, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. A one-dimensional time-series data compression method characterized by performing the processing by terminating the processing if it is larger than the one.
【請求項11】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=1 からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
11. The one-dimensional time-series data compression method according to claim 3, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = 1 to m-1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed. = 1 to m−1 again, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value , One-dimensional time-series data compression method performed by terminating the processing.
【請求項12】 請求項3ないし6記載のいずれかに1
次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=m-1 から1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
12. The method according to claim 3, wherein
In the three-dimensional time-series data compression method, the calculation of the sub-optimal node candidate is performed when the index of the node candidate is numbered in ascending order as I (j), 0 ≦ j ≦ m. , I (j-1) <I (j) -1 if node relation I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = m-1 to 1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed by j = m-1 to 1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value , One-dimensional time-series data compression method performed by terminating the processing.
【請求項13】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともにこの
交換を行った時の第1目的関数の値と前記元の第1目的
関数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
にこの交換を行った時の第1の目的関数の値と前記元の
第1の目的関数の値の交換を行なう操作を奇数のj につ
いては小さいものから大きいものの順、および偶数のj
については大きいものから小さいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については小さいものから大き
いものの順、および偶数のj については大きいものから
小さいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
13. The one-dimensional time-series data compression method according to claim 3, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. Are expressed as I (j), 0 ≤ j ≤ m, and if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j). −1, the value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function is calculated. 1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function and the value of the original first objective function at the time of performing the exchange, the ΔE (1-) ≧ 0 and the If the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of this exchange and the element If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1 and the first objective function when the exchange is performed. Is exchanged with the value of the original first objective function, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first when this exchange is performed. The operation of exchanging the value of the objective function and the value of the original first objective function is performed in the order of small to large for odd j, and for even j
Are performed in the order from the largest to the smallest. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function, the operation is performed in an odd number. j is performed again in ascending order from small to large, and for even j, in ascending order from large to small. Whether the node candidates have not been exchanged at all, or the value of the first objective function is equal to the original first value A method for compressing one-dimensional time-series data, characterized in that the processing is terminated when the value is larger than the value obtained by subtracting the threshold value from the value of the objective function.
【請求項14】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1の関係が成り立つならば節点候補I
(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1) の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作を奇数のj につい
ては大きいものから小さいものの順、および偶数のj に
ついては小さいものから大きいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうことを特徴とする1次元時系列データ
圧縮方法。
14. The one-dimensional time-series data compression method according to claim 3, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relationship is expressed as I (j), 0 ≤ j ≤ m, and if the relationship of I (j-1) <I (j) -1 holds, the node candidate I
The value of the first objective function when (j) is replaced with the node candidate I (j) -1 is calculated, and a value ΔE (1) obtained by subtracting the original value of the first objective function from the value of the first objective function is obtained. -), And if the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and I (j) +1
If the relationship <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the above ΔE (1+) is calculated. 0, the node candidate I (j) is exchanged for the node candidate I (j) -1 if the relationship of ΔE (1-) <0 and ΔE (1+) ≧ 0 holds. The value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, The node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged. 1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged. ΔE (1 -) <0 and the ΔE (1 +) <0 in relation holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in the order of large to small for the odd j and in the order of small to large for the even j. If the value of the first objective function at the end of is less than or equal to the value of the original first objective function minus the threshold value, the operation is performed in the order of odd j, from large to small, and even j. Is performed again in ascending order from the smallest to the largest. If the node candidates are not exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value , By ending the process One-dimensional time series data compression method and performing decision.
【請求項15】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 から[m/2
]まで、およびj=m-1 から[m/2 ]+1まで順に行な
い、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 から[m/2 ]まで、およびj=m-1 か
ら[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうことを特徴とする1次元時系列データ
圧縮方法。
15. The one-dimensional time-series data compression method according to claim 3, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is from j = 1 to [m / 2
] And j = m-1 to [m / 2] +1, and the value of the first objective function when these series of processes are completed is obtained by subtracting the threshold value from the value of the original first objective function. If not, the above operation is repeated again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and whether the exchange of the node candidates has not been performed at all. If the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated to make a decision. Method.
【請求項16】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行なう操作をj=[m/2 ]から1 ま
で、およびj=[m/2 ]+1からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=[m/2 ]から1 まで、およびj=[m/2
]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
16. The one-dimensional time-series data compression method according to claim 3, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. When the relation is expressed as I (j), 0 ≤ j ≤ m, if the relation of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1, and the first objective function at the time of the replacement is replaced. And the original first
The operation of exchanging the value of the objective function is performed in order from j = [m / 2] to 1 and from j = [m / 2] +1 to m−1. If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = [m / 2] to 1 and j = [m / 2
+1 to m−1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value For example, a one-dimensional time-series data compression method, which is performed by terminating processing.
【請求項17】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮方
法。
17. The one-dimensional time-series data compression method according to claim 3, wherein the sub-optimal node candidate calculation is performed by numbering the node candidate indexes in ascending order. When the relation is expressed as I (j), 0 ≤ j ≤ m, if the relation of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = 1 to m-1. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is repeated again from j = 1 to m-1. If is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to perform the one-dimensional time-series data compression method.
【請求項18】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=m-1 から1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、節点
候補の前記交換が全く行なわれなかったか、前記第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たものより大きいならば、処理を終了することにより、
行なうことを特徴とする1次元時系列データ圧縮方法。
18. The one-dimensional time-series data compression method according to claim 3, wherein the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order. When the relation is expressed as I (j), 0 ≤ j ≤ m, if the relation of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = m-1 to 1, and the value of the first objective function at the time when these series of processing is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is repeated again from j = m-1 to 1, and the exchange of the node candidates is not performed at all, or the value of the first objective function is determined. Is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, by terminating the process,
Performing a one-dimensional time-series data compression method.
【請求項19】 請求項3ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 最終的に決定された節点候補数が、候補にならなかった
データの個数以下の場合は、節点候補を示す識別子と前
記最終的に決定された節点候補のインデックス番号と前
記節点候補の値とで構成された圧縮データを出力し、前
記最終的に決定された節点候補数が、前記候補にならな
かったデータの個数より大きい場合は、節点候補でない
識別子と前記節点候補にならなかったデータのインデッ
クス番号と前記節点候補の値とで構成された圧縮データ
を出力することを特徴とする1次元時系列データ圧縮方
法。
19. The one-dimensional time-series data compression method according to claim 3, wherein when the finally determined number of node candidates is equal to or less than the number of non-candidate data, the node Compressed data composed of an identifier indicating a candidate, the index number of the finally determined node candidate, and the value of the node candidate is output, and if the finally determined number of node candidates is the candidate, If the number of the missing nodes is larger than the number of missing nodes, compressed data composed of an identifier that is not a node candidate, an index number of the data that did not become the node candidate, and the value of the node candidate is output. Series data compression method.
【請求項20】 請求項1ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 時間に関して不等間隔な1次元時系列データに対して
は、当該1次元時系列データ圧縮方法を時間とデータに
ついて各々独立に適用し、各々を独立に圧縮することを
特徴とする1次元時系列データ圧縮方法。
20. The one-dimensional time-series data compression method according to claim 1, wherein the one-dimensional time-series data compression method is applied to one-dimensional time-series data having unequal intervals in time. A one-dimensional time-series data compression method characterized by independently applying time and data and compressing each independently.
【請求項21】 請求項1ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 多次元時系列データを構成する複数の1次元時系列デー
タの各々に対し、当該1次元時系列データ圧縮方法を繰
り返し適用することで、多次元時系列データの圧縮を行
なうことを特徴とする1次元時系列データ圧縮方法。
21. The one-dimensional time-series data compression method according to claim 1, wherein each of the plurality of one-dimensional time-series data constituting the multi-dimensional time-series data is compared with the one-dimensional time-series data. A one-dimensional time-series data compression method, wherein multi-dimensional time-series data is compressed by repeatedly applying a data compression method.
【請求項22】 請求項1ないし6のいずれかに記載の
1次元時系列データ圧縮方法において、 複数の誤差が伝搬する1次元時系列データに対して、伝
搬の源の1次元時系列データから順に近似精度値を大き
くし、当該1次元時系列データ圧縮方法を繰り返し適用
することで、全ての前記1次元時系列データの圧縮を行
なうことを特徴とする1次元時系列データ圧縮方法。
22. The one-dimensional time-series data compression method according to claim 1, wherein the one-dimensional time-series data in which a plurality of errors propagate is obtained from the one-dimensional time-series data of a propagation source. A one-dimensional time-series data compression method characterized in that all the one-dimensional time-series data is compressed by sequentially increasing the approximation accuracy value and repeatedly applying the one-dimensional time-series data compression method.
【請求項23】 請求項1,3または4のいずれかに記
載の1次元時系列データ圧縮方法で圧縮された圧縮デー
タを伸長する方法であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の工程と、 圧縮の際に使用した補間関数と同じ補間関数を使用して
圧縮データを補間することで、前記データ数と同数分の
データを算出し、初期時間と時間間隔から時刻を前記デ
ータ数と同数分だけ算出する第2の工程と、 前記第2の工程で算出した前記データと前記時刻とを出
力する第3の工程とを含むことを特徴とする1次元時系
列データ伸長方法。
23. A method for decompressing compressed data compressed by the one-dimensional time-series data compression method according to claim 1, wherein the compressed data and the compressed data are decompressed. A first step of inputting the number of data, and interpolating the compressed data using the same interpolation function as used in the compression to calculate the same number of data as the number of data. And a second step of calculating a time from the time interval by the same number as the number of data, and a third step of outputting the data and the time calculated in the second step. One-dimensional time series data decompression method.
【請求項24】 請求項2,5または6のいずれかに記
載の1次元時系列データ圧縮方法で圧縮された圧縮デー
タを伸長する方法であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の工程と、 前記圧縮データに該データが全て0であることを示す識
別子が付与されている場合は、前記データ数と同数分の
0と、初期時間と時間間隔から時刻を前記データ数と同
数分だけ算出し、前記圧縮データに該データが全て0で
あることを示す識別子が付与されていない場合は、圧縮
の際に使用した補間関数と同じ補間関数を使用して圧縮
データを補間することで、前記データ数と同数分のデー
タを算出し、初期時間と時間間隔から時刻を前記データ
数と同数分だけ算出する第2の工程と、 前記第2の工程で算出した前記データと前記時刻とを出
力する第3の工程とを含むことを特徴とする1次元時系
列データ伸長方法。
24. A method for decompressing compressed data compressed by the one-dimensional time-series data compression method according to claim 2, wherein the compressed data and the compressed data are decompressed. A first step of inputting the number of data, and when an identifier indicating that the data is all 0 is added to the compressed data, 0, which is the same as the number of data, an initial time and a time interval Calculate the time by the same number as the number of data, and if the compressed data does not have an identifier indicating that the data is all 0, use the same interpolation function as that used in the compression. Interpolating the compressed data to calculate the same number of data as the number of data, and calculating the time from the initial time and the time interval by the same number as the number of data; and the second step The data calculated in And a third step of outputting the time and the time.
【請求項25】 請求項23または24記載の1次元時
系列データ伸長方法において、 圧縮された多次元時系列データを構成する複数の圧縮さ
れた1次元時系列データの各々に対し、当該1次元時系
列データ伸長方法を繰り返し適用することで、圧縮され
た多次元時系列データの伸長を行なうことを特徴とする
1次元時系列データ伸長方法。
25. The one-dimensional time-series data decompression method according to claim 23, wherein each of the plurality of compressed one-dimensional time-series data constituting the compressed multi-dimensional time-series data is subjected to the one-dimensional time-series data. A one-dimensional time-series data decompression method characterized in that compressed multi-dimensional time-series data is decompressed by repeatedly applying the time-series data decompression method.
【請求項26】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の工程と、 前記1次元時系列データを近似する補間関数の節点候補
を算出する第2の工程と、 前記節点候補の位置を最適化する第3の工程と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第4の工程と、 前記第4の工程により前記誤差が前記近似精度に基づく
値を越えると判断される場合に節点数を変更し、前記第
2の工程に戻る第5の工程と、 前記第5の工程により前記誤差が前記近似精度に基づく
値を越えないと判断された場合に当該節点候補のデータ
とこれに対応する時刻のデータとを圧縮された情報とし
て出力する第6の工程とを含む1次元時系列データ圧縮
プログラムを記録したことを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
26. A medium recording a program for compressing one-dimensional time-series data at equal time intervals, comprising: a first step of inputting the one-dimensional time-series data and its approximation accuracy; A second step of calculating a node candidate of an interpolation function that approximates data; a third step of optimizing the position of the node candidate; and a step in which the position is generated by the interpolation function based on the optimized node candidate. A fourth step of determining an error between the one-dimensional time-series data and the original one-dimensional time-series data; and a node number when the fourth step determines that the error exceeds a value based on the approximation accuracy. And returning to the second step. If the error is determined not to exceed the value based on the approximation accuracy in the fifth step, the data of the node candidate and the corresponding Time data and A one-dimensional time-series data compression program recording medium, comprising: a sixth step of outputting as a compressed information.
【請求項27】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の工程と、 前記1次元時系列データに前記近似精度以内のデータが
含まれているか否かを判定する第2の工程と、 前記第2の工程により前記1次元時系列データに前記近
似精度以内のデータが含まれていないと判断された場合
に前記1次元時系列データを近似する補間関数の節点候
補を算出する第3の工程と、 前記節点候補の位置を最適化する第4の工程と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第5の工程と、 前記第5の工程により前記誤差が前記近似精度に基づく
値を越えると判断された場合に節点数を変更し、前記第
3の工程に戻る第6の工程と、 前記第2の工程により前記1次元時系列データに前記近
似精度以内のデータが含まれていると判断された場合に
当該1次元時系列データが近似精度以内のデータである
旨の情報を出力し、前記第5の工程により前記誤差が前
記近似精度に基づく値を越えないと判断された場合に当
該節点候補のデータとこれに対応する時刻のデータとを
圧縮された情報として出力する第7の工程とを含む1次
元時系列データ圧縮プログラムを記録したことを特徴と
する1次元時系列データ圧縮プログラム記録媒体。
27. A medium recording a program for compressing one-dimensional time-series data at equal time intervals, comprising: a first step of inputting the one-dimensional time-series data and its approximation accuracy; A second step of determining whether or not data within the approximation accuracy is included in the data; and determining that the one-dimensional time-series data does not include data within the approximation accuracy by the second step. A third step of calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data in the case where the one-dimensional time-series data is approximated; a fourth step of optimizing a position of the node candidate; and a node whose position is optimized. A fifth step of determining an error between the one-dimensional time-series data generated by the interpolation function based on the candidate and the original one-dimensional time-series data; Over and over A sixth step of changing the number of nodes when the connection is cut off and returning to the third step; and judging that the one-dimensional time-series data includes data within the approximation accuracy by the second step. Output the information that the one-dimensional time-series data is within the approximation accuracy if the error is determined to not exceed the value based on the approximation accuracy in the fifth step. A one-dimensional time-series data compression program characterized by recording a one-dimensional time-series data compression program including a seventh step of outputting node candidate data and time data corresponding thereto as compressed information. recoding media.
【請求項28】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第2の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
工程と、 前記準最適節点候補を前記補間関数により補間して元の
1次元時系列データを近似する1次元時系列データを生
成し、この1次元時系列データと元の1次元時系列デー
タとの誤差を算出する第6の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の工程から第7の工程までの処理を繰
り返す第8の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の工程とを含
む1次元時系列データ圧縮プログラムを記録したことを
特徴とする1次元時系列データ圧縮プログラム記録媒
体。
28. A medium on which a program for compressing one-dimensional time-series data at equal time intervals is recorded, wherein the one-dimensional time-series data and its approximation accuracy are inputted, and the time of the one-dimensional time-series data is compared with the time. A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data by adding an index in the order of, and always includes data at the beginning and end of the one-dimensional time-series data. And a second step of randomly determining only a few node candidates, and interpolating the node candidates by an interpolation function using an index number as an independent variable, and calculating an error from the original one-dimensional time-series data. A third step of calculating; a fourth step of calculating, from the error, a value of a first objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance; function A fifth step of repeatedly changing node candidates so as to minimize the value and determining a sub-optimal node candidate; approximating the original one-dimensional time-series data by interpolating the sub-optimal node candidate using the interpolation function A sixth step of generating one-dimensional time-series data to be calculated, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating a value of a second objective function defined by weighted addition with variance; and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, add an increment to the number of nodes. An eighth step of repeating the processing from the second step to the seventh step using the calculated value as a new number of nodes; and if the value of the second objective function is less than the threshold value, the one-dimensional time-series data Final time and time interval, and finally decided One-dimensional time-series data compression program including a ninth step of outputting compressed data composed of the index numbers of the selected node candidates and the values of the node candidates. Compressed program recording medium.
【請求項29】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第2の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第6の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の工程から第7の工程の処理までを繰
り返す第8の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の工程とを含
む1次元時系列データ圧縮プログラムを記録したことを
特徴とする1次元時系列データ圧縮プログラム記録媒
体。
29. A medium in which a program for compressing one-dimensional time-series data at equal time intervals is recorded, wherein the one-dimensional time-series data and its approximation accuracy are inputted, and the time of the one-dimensional time-series data is compared with the time. A first step of calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data by adding an index in the order of, and always includes data at the beginning and end of the one-dimensional time-series data. And a second step of determining node candidates of only a few nodes so as to be approximately equally spaced with respect to the index; and interpolating the node candidates by an interpolation function using an index number as an independent variable. A third step of calculating an error with the one-dimensional time-series data of the following; and, from the error, a value of a first objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance A fourth step of calculating; a fifth step of repeatedly changing node candidates so as to minimize the value of the first objective function to determine a sub-optimal node candidate; and interpolating the sub-optimal node candidate. A sixth step of generating one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating using the function, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; If the value is equal to or more than the threshold value corresponding to the above, an eighth step of repeating the processing from the second step to the seventh step by adding the increment to the number of nodes as a new number of nodes, and the second objective function Is less than the threshold, the one-dimensional time series Ninth step of outputting compressed data composed of the initial time and time interval of the data, the index number of the finally determined node candidate, and the value of the node candidate. A one-dimensional time-series data compression program recording medium characterized by recording a program.
【請求項30】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の工程と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、前記近似精度以下の場合は全
て0であることを示す識別子を出力して終了し、そうで
ない場合は後述する第3の工程へと移行する第2の工程
と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第3の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、1次元時系列データと元の1次元時系列データ
との誤差を算出する第7の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の工程から第8の工程までの処理を繰
り返す第9の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の工程とを
含む1次元時系列データ圧縮プログラムを記録したこと
を特徴とする1次元時系列データ圧縮プログラム記録媒
体。
30. A medium in which a program for compressing one-dimensional time-series data at equal intervals of time is recorded, wherein the one-dimensional time-series data and its approximation accuracy are input, and the one-dimensional time-series data is input in the order of time. A first step of adding an index and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and determining whether or not all absolute values of the one-dimensional time-series data are below the approximation accuracy A second step of outputting an identifier indicating that the value is all 0 if the accuracy is less than the approximation accuracy, and terminating the processing; otherwise, moving to a third step described later; A third step of randomly determining node candidates of only a few nodes, including data at the beginning and end of data, and interpolating the node candidates by an interpolation function using an index number as an independent variable. A fourth step of calculating an error from the original one-dimensional time-series data; and, from the error, a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. A fifth step of calculating a value, a sixth step of repeatedly changing node candidates so as to minimize the value of the first objective function, and determining a sub-optimal node candidate, A seventh step of generating one-dimensional time-series data approximating the original one-dimensional time-series data by interpolating using the interpolation function and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data An eighth step of calculating, from the error, a value of a second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; If it is equal to or greater than the threshold value corresponding to the accuracy, the number of nodes is incremented. A ninth step of repeating the processing from the third step to the eighth step by using the added value as a new number of nodes; and, if the value of the second objective function is less than the threshold value, the one-dimensional time series A one-dimensional time-series data compression program including a tenth step of outputting compressed data composed of an initial time and a time interval of data, an index number of a finally determined node candidate, and a value of the node candidate A one-dimensional time-series data compression program recording medium characterized by recording a program.
【請求項31】 時間等間隔な1次元時系列データの圧
縮プログラムを記録した媒体であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の工程と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、近似精度以下の場合は全て0
であることを示す識別子を出力して終了し、そうでない
場合は後述する第3の工程へと移行する第2の工程と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第3の工程と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の工程と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
工程と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第7の工程と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の工程と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の工程から第8の工程までの処理を繰
り返す第9の工程と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の工程とを
含む1次元時系列データ圧縮プログラムを記録したこと
を特徴とする1次元時系列データ圧縮プログラム記録媒
体。
31. A medium on which a program for compressing one-dimensional time-series data at equal intervals of time is recorded, wherein the one-dimensional time-series data and its approximation accuracy are input, and the one-dimensional time-series data is input in the order of time. A first step of adding an index and calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and determining whether or not all absolute values of the one-dimensional time-series data are below the approximation accuracy. Is performed, and if the value is less than the approximation accuracy, all values are 0.
A second step of outputting an identifier indicating that the processing is completed, and if not, a second step in which the processing shifts to a third step described later. A third step of determining the node candidates of only several nodes so as to be approximately equidistant with respect to the index, and interpolating the node candidates by an interpolation function using an index number as an independent variable, A fourth step of calculating an error from the original one-dimensional time-series data; and calculating a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance from the error. A fifth step of repeatedly changing node candidates so that the value of the first objective function is minimized, and determining a sub-optimal node candidate; and By interpolation A seventh step of generating one-dimensional time-series data approximating the original one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; An eighth step of calculating the value of the second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance; and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy, For example, a ninth step of repeating the processing from the third step to the eighth step by adding an increment to the number of nodes to a new number of nodes, and the value of the second objective function being less than the threshold value Then, a tenth step of outputting compressed data composed of the initial time and the time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate is performed. Including a one-dimensional time series data compression program A one-dimensional time-series data compression program recording medium characterized by being recorded.
【請求項32】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1なら
ば前記ΔE(1-)を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)ならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
奇数のj については小さいものから大きいものの順、お
よび偶数のj については大きいものから小さいものの順
に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作を奇数のj については小さいものから
大きいものの順、および偶数のj については大きいもの
から小さいものの順に再び行ない、 前記節点候補の交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
32. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If I (j-1) ≧ I (j) -1, set ΔE (1-) to 0, and if the relationship of I (j) +1 <I (j + 1) holds, Node candidate I
calculating the value of the first objective function when (j) is replaced with the node candidate I (j) +1, and calculating the original first value from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If (j + 1), the ΔE (1+) is set to 0, and if the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is set. The node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j ) +1, if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE (1-) < 0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is from small to large for odd j. The order of the objects and the even j are performed in ascending order from the largest to the smallest, and the value of the first objective function at the end of the series of processes is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function. Then, the above operation is performed again in the order of small to large for the odd j, and in the order of large to small for the even j. Is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to perform the processing.
【請求項33】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧ I(j)-1 の
関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 < I(j+1) の関係が成り立つならば前記節点候補
I(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) の方が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作を奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
33. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is established. If the above holds, the node candidate
The value of the first objective function when I (j) is replaced with the node candidate I (j) +1 is calculated, and the first first objective function is calculated from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If the relationship (j + 1) holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and the ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the ΔE ( 1-) <0 and the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And, if ΔE (1-) is larger than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is larger for odd j. From the smallest to the largest, and for even j, the smallest to the largest j, the value of the first objective function at the end of the series of processes is obtained by subtracting the threshold value from the value of the original first objective function. If not, the above operation is performed again in the order of large to small for the odd j and in the order of small to large for the even j. If the value of the objective function is greater than the value obtained by subtracting the threshold value from the value of the original first objective function, the processing is terminated to execute the processing. .
【請求項34】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧ 0かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) より大きいならば、
前記節点候補I(j)を前記節点候補I(j)+1に交換する操作
をj=1 から[m/2 ]まで、およびj=m-1 から[m/2 ]+1
まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=1 から[m/2 ]まで、およびj=m-
1 から[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
34. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I ( j) The value of the first objective function when exchanged for -1 is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated. j-1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+),
The operations of exchanging the node candidate I (j) for the node candidate I (j) +1 are from j = 1 to [m / 2] and j = m-1 to [m / 2] +1.
If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = 1 to [m / 2] and j = m-
1 to [m / 2] +1 in order, and the exchange of the node candidates is not performed at all, or the value of the first objective function is determined by subtracting a threshold value from the value of the original first objective function. If it is larger, the one-dimensional time-series data compression program recording medium is to be executed by terminating the processing.
【請求項35】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=[m/2 ]から1 まで、およびj=
[m/2 ]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
35. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering the indexes of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = [m / 2] to 1 and j = [m / 2] +1 to m−1 in order, and the value of the first objective function at the time when these series of processes are completed is the first original function. If the value of the objective function is equal to or less than the value obtained by subtracting the threshold, the operation is performed from j = [m / 2] to 1 and j =
[M / 2] +1 to m-1 in order, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. A one-dimensional time-series data compression program recording medium characterized in that the processing is completed by terminating the processing if it is larger than the one.
【請求項36】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=1 からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
36. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering the indexes of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = 1 to m-1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the above operation is performed. = 1 to m−1 again, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value A one-dimensional time-series data compression program recording medium, which is executed by terminating processing.
【請求項37】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=m-1 から1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
37. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering the indexes of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relation of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = m-1 to 1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = m-1 to 1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value A one-dimensional time-series data compression program recording medium, which is executed by terminating processing.
【請求項38】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともにこの
交換を行った時の第1目的関数の値と前記元の第1目的
関数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
にこの交換を行った時の第1の目的関数の値と前記元の
第1の目的関数の値の交換を行なう操作を奇数のj につ
いては小さいものから大きいものの順、および偶数のj
については大きいものから小さいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については小さいものから大き
いものの順、および偶数のj については大きいものから
小さいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
38. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I ( j) The value of the first objective function when exchanged for -1 is calculated, and a value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is calculated. j-1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function and the value of the original first objective function at the time of performing the exchange, the ΔE (1-) ≧ 0 and the If the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of this exchange and the element If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1 and the first objective function when the exchange is performed. Is exchanged with the value of the original first objective function, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first when this exchange is performed. The operation of exchanging the value of the objective function and the value of the original first objective function is performed in the order of small to large for odd j, and for even j
Is performed in the order from the largest to the smallest. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold value from the value of the original first objective function, the operation is performed in an odd number. j is performed again in ascending order from small to large, and for even j, in ascending order from large to small. Whether the node candidates have not been exchanged at all or the value of the first objective function is equal to the original first value A one-dimensional time-series data compression program recording medium characterized in that the processing is completed by terminating the processing if it is larger than the value obtained by subtracting the threshold value from the value of the objective function.
【請求項39】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1の関係が成り立つならば節点候補I
(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1) の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作を奇数のj につい
ては大きいものから小さいものの順、および偶数のj に
ついては小さいものから大きいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうものであることを特徴とする1次元時
系列データ圧縮プログラム記録媒体。
39. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. When the result is expressed as I (j), 0 ≤ j ≤ m, if the relationship I (j-1) <I (j) -1 holds, the node candidate I
The value of the first objective function when (j) is replaced with the node candidate I (j) -1 is calculated, and a value ΔE (1) obtained by subtracting the original value of the first objective function from the value of the first objective function is obtained. -), And if the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and I (j) +1
If the relationship <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the above ΔE (1+) is calculated. 0, the node candidate I (j) is exchanged for the node candidate I (j) -1 if the relationship of ΔE (1-) <0 and ΔE (1+) ≧ 0 holds. The value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, The node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged. 1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged. ΔE (1 -) <0 and the ΔE (1 +) <0 in relation holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in the order of large to small for the odd j and in the order of small to large for the even j. If the value of the first objective function at the end of is less than or equal to the value of the original first objective function minus the threshold value, the operation is performed in the order of odd j, from large to small, and even j. Is performed again in ascending order from the smallest to the largest. If the node candidates are not exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value , By ending the process One-dimensional time series data compression program recording medium characterized in that to make a decision.
【請求項40】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 から[m/2
]まで、およびj=m-1 から[m/2 ]+1まで順に行な
い、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 から[m/2 ]まで、およびj=m-1 か
ら[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうものであることを特徴とする1次元時
系列データ圧縮プログラム記録媒体。
40. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order. When the result is expressed as I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is from j = 1 to [m / 2
] And j = m-1 to [m / 2] +1, and the value of the first objective function at the end of the series of processing is obtained by subtracting the threshold value from the value of the original first objective function. If not, the above operation is repeated again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and whether the exchange of the node candidates has not been performed at all. If the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated to make the determination. Serial data compression program recording medium.
【請求項41】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行なう操作をj=[m/2 ]から1 ま
で、およびj=[m/2 ]+1からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=[m/2 ]から1 まで、およびj=[m/2
]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
41. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. When the result is expressed as I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1, and the first objective function at the time of the replacement is replaced. And the original first
The operation of exchanging the value of the objective function is performed in order from j = [m / 2] to 1 and from j = [m / 2] +1 to m−1. If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = [m / 2] to 1 and j = [m / 2
+1 to m−1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value For example, a one-dimensional time-series data compression program recording medium, which is performed by terminating processing.
【請求項42】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうものであることを特徴とする1次元時系列デ
ータ圧縮プログラム記録媒体。
42. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the sub-optimal node candidate calculation is performed by numbering the node candidate index in ascending order. When the result is expressed as I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is An operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = 1 to m−1, and the value of the first objective function when these series of processes are completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is repeated again from j = 1 to m-1. Is larger than a value obtained by subtracting a threshold value from the original value of the first objective function, the processing is terminated to execute the processing.
【請求項43】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=m-1 から1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、節点
候補の前記交換が全く行なわれなかったか、前記第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たものより大きいならば、処理を終了することにより、
行なうものであることを特徴とする1次元時系列データ
圧縮プログラム記録媒体。
43. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidate in ascending order. When the result is expressed as I (j), 0 ≤ j ≤ m, if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = m-1 to 1, and the value of the first objective function at the time when these series of processing is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is repeated again from j = m-1 to 1, and the exchange of the node candidates is not performed at all, or the value of the first objective function is determined. Is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, by terminating the process,
A one-dimensional time-series data compression program recording medium, characterized in that:
【請求項44】 請求項28ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 最終的に決定された節点候補数が、候補にならなかった
データの個数以下の場合は、節点候補を示す識別子と前
記最終的に決定された節点候補のインデックス番号と前
記節点候補の値とで構成された圧縮データを出力し、前
記最終的に決定された節点候補数が、前記候補にならな
かったデータの個数より大きい場合は、節点候補でない
識別子と前記節点候補にならなかったデータのインデッ
クス番号と前記節点候補の値とで構成された圧縮データ
を出力することを特徴とする1次元時系列データ圧縮プ
ログラム記録媒体。
44. The one-dimensional time-series data compression program recording medium according to claim 28, wherein the finally determined number of node candidates is equal to or less than the number of non-candidate nodes. Output compressed data composed of an identifier indicating the node candidate, the index number of the finally determined node candidate, and the value of the node candidate, and the number of the finally determined node candidates is the candidate If the number of pieces of data is not larger than the number of pieces of unsatisfied nodes, compressed data composed of an identifier that is not a node candidate, an index number of the data that is not a pieces of the node candidates, and a value of the node candidate is output. Dimensional time series data compression program recording medium.
【請求項45】 請求項26ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 当該記録媒体は、時間に関して不等間隔な1次元時系列
データに対しては、当該1次元時系列データ圧縮方法を
時間とデータについて各々独立に適用し、各々を独立に
圧縮するプログラムを含むことを特徴とする1次元時系
列データ圧縮プログラム記録媒体。
45. The one-dimensional time-series data compression program recording medium according to claim 26, wherein said recording medium stores the one-dimensional time-series data compressed at irregular intervals with respect to time. A one-dimensional time-series data compression program recording medium, characterized by including a program for independently applying the one-dimensional time-series data compression method for time and data, and for independently compressing each.
【請求項46】 請求項26ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 当該記録媒体は、多次元時系列データを構成する複数の
1次元時系列データの各々に対し、当該1次元時系列デ
ータ圧縮方法を繰り返し適用することで、多次元時系列
データの圧縮を行なうプログラムを含むことを特徴とす
る1次元時系列データ圧縮プログラム記録媒体。
46. The one-dimensional time-series data compression program recording medium according to claim 26, wherein the recording medium stores a plurality of one-dimensional time-series data constituting multidimensional time-series data. On the other hand, a one-dimensional time-series data compression program recording medium characterized by including a program for compressing multi-dimensional time-series data by repeatedly applying the one-dimensional time-series data compression method.
【請求項47】 請求項26ないし31のいずれかに記
載の1次元時系列データ圧縮プログラム記録媒体におい
て、 当該記録媒体は、複数の誤差が伝搬する1次元時系列デ
ータに対して、伝搬の源の1次元時系列データから順に
近似精度値を大きくし、当該1次元時系列データ圧縮方
法を繰り返し適用することで、全ての前記1次元時系列
データの圧縮を行なうプログラムを含むことを特徴とす
る1次元時系列データ圧縮プログラム記録媒体。
47. The one-dimensional time-series data compression program recording medium according to any one of claims 26 to 31, wherein the recording medium is a transmission source for one-dimensional time-series data in which a plurality of errors propagate. And a program that compresses all the one-dimensional time-series data by sequentially increasing the approximation accuracy value from the one-dimensional time-series data and repeatedly applying the one-dimensional time-series data compression method. One-dimensional time-series data compression program recording medium.
【請求項48】 請求項26,28または29のいずれ
かに記載の1次元時系列データ圧縮プログラム記録媒体
に記録されたプログラムによって圧縮された圧縮データ
を伸長するプログラムを記録した媒体であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の工程と、 圧縮の際に使用した補間関数と同じ補間関数を使用して
圧縮データを補間することで、前記データ数と同数分の
データを算出し、初期時間と時間間隔から時刻を前記デ
ータ数と同数分だけ算出する第2の工程と、 前記第2の工程で算出した前記データと前記時刻とを出
力する第3の工程とを含む1次元時系列データ伸長プロ
グラムを記録したことを特徴とする1次元時系列データ
伸長プログラム記録媒体。
48. A medium storing a program for expanding compressed data compressed by a program recorded on the one-dimensional time-series data compression program recording medium according to claim 26, 28 or 29, A first step of inputting the compressed data and the number of data when the data is decompressed; and interpolating the compressed data using the same interpolation function as that used in the compression to obtain the data number. A second step of calculating the same number of data as the first time and calculating the time from the initial time and the time interval by the same number as the number of data; and a second step of outputting the data and the time calculated in the second step. A one-dimensional time-series data decompression program recording medium, which records a one-dimensional time-series data decompression program including the steps of:
【請求項49】 請求項27,30または31のいずれ
かに記載の1次元時系列データ圧縮プログラム記録媒体
に記録されたプログラムで圧縮された圧縮データを伸長
するプログラムを記録した媒体であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の工程と、 前記圧縮データに該データが全て0であることを示す識
別子が付与されている場合は、前記データ数と同数分の
0と、初期時間と時間間隔から時刻を前記データ数と同
数分だけ算出し、前記圧縮データに該データが全て0で
あることを示す識別子が付与されていない場合は、圧縮
の際に使用した補間関数と同じ補間関数を使用して圧縮
データを補間することで、前記データ数と同数分のデー
タを算出し、初期時間と時間間隔から時刻を前記データ
数と同数分だけ算出する第2の工程と、 前記第2の工程で算出した前記データと前記時刻とを出
力する第3の工程とを含む1次元時系列データ伸長プロ
グラムを記録したことを特徴とする1次元時系列データ
伸長プログラム記録媒体。
49. A medium on which a program for expanding compressed data compressed by a program recorded on the one-dimensional time-series data compression program recording medium according to claim 27, 30 or 31, is recorded. A first step of inputting the compressed data and the number of data when the data is decompressed; and, if the compressed data is provided with an identifier indicating that the data is all 0, the number of data and The time is calculated from the same number of 0s, the initial time and the time interval by the same number as the number of data, and when the compressed data is not provided with an identifier indicating that all the data is 0, the compression time By interpolating the compressed data using the same interpolation function as the interpolation function used, the same number of data as the number of data is calculated, and the time is calculated from the initial time and the time interval as the number of data. A one-dimensional time-series data decompression program including a second step of calculating minutes and a third step of outputting the data and the time calculated in the second step is recorded. Dimensional time series data expansion program recording medium.
【請求項50】 請求項48または49記載の1次元時
系列データ伸長プログラム記録媒体において、 当該媒体に記録されたプログラムは、圧縮された多次元
時系列データを構成する複数の圧縮された1次元時系列
データの各々に対し、当該1次元時系列データ伸長方法
を繰り返し適用することで、圧縮された多次元時系列デ
ータの伸長を行なうプログラムを含むことを特徴とする
1次元時系列データ伸長プログラム記録媒体。
50. The one-dimensional time-series data expansion program recording medium according to claim 48 or 49, wherein the program recorded on the medium is a plurality of compressed one-dimensional data constituting compressed multi-dimensional time-series data. A one-dimensional time-series data expansion program characterized by including a program for expanding compressed multi-dimensional time-series data by repeatedly applying the one-dimensional time-series data expansion method to each of the time-series data. recoding media.
【請求項51】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の手段と、 前記1次元時系列データを近似する補間関数の節点候補
を算出する第2の手段と、 前記節点候補の位置を最適化する第3の手段と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第4の手段と、 前記第4の手段により前記誤差が前記近似精度に基づく
値を越えると判断された場合に節点数を変更し、前記第
2の手段に戻る第5の手段と、 前記第5の手段により前記誤差が前記近似精度に基づく
値を越えないと判断された場合に当該節点候補のデータ
とこれに対応する時刻のデータとを圧縮された情報とし
て出力する第6の手段とを備えたことを特徴とする1次
元時系列データ圧縮装置。
51. An apparatus for compressing one-dimensional time-series data at equal time intervals, a first means for inputting the one-dimensional time-series data and its approximation accuracy, and approximating the one-dimensional time-series data. Second means for calculating a node candidate of an interpolation function; third means for optimizing the position of the node candidate; and a one-dimensional time series generated by the interpolation function based on the node candidate whose position is optimized. Fourth means for determining an error between the data and the original one-dimensional time-series data; and changing the number of nodes when the fourth means determines that the error exceeds a value based on the approximation accuracy; Fifth means returning to the second means, and data of the node candidate and data of time corresponding thereto when it is determined by the fifth means that the error does not exceed a value based on the approximation accuracy. And compressed information A one-dimensional time-series data compression apparatus, comprising:
【請求項52】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行なう
第1の手段と、 前記1次元時系列データに前記近似精度以内のデータが
含まれているか否かを判定する第2の手段と、 前記第2の手段により前記1次元時系列データに前記近
似精度以内のデータが含まれていないと判断された場合
に前記1次元時系列データを近似する補間関数の節点候
補を算出する第3の手段と、 前記節点候補の位置を最適化する第4の手段と、 前記位置が最適化された節点候補に基づき前記補間関数
により発生した1次元時系列データと元の1次元時系列
データとの誤差を判定する第5の手段と、 前記第5の手段により前記誤差が前記近似精度に基づく
値を越えると判断された場合に前記第3の手段に戻る第
7の手段と、 前記第2の手段により前記1次元時系列データに前記近
似精度以内のデータが含まれていると判断された場合に
当該1次元時系列データが近似精度以内のデータである
旨の情報を出力し、前記第5の手段により前記誤差が前
記近似精度に基づく値を越えないと判断された場合に当
該節点候補のデータとこれに対応する時刻のデータとを
圧縮された情報として出力する第7の手段とを含むこと
を特徴とする1次元時系列データ圧縮装置。
52. An apparatus for compressing one-dimensional time-series data at equal time intervals, comprising: first means for inputting the one-dimensional time-series data and its approximation accuracy; Second means for determining whether or not data within the accuracy is included; and when the second means determines that the data within the approximation accuracy is not included in the one-dimensional time-series data, Third means for calculating a node candidate of an interpolation function that approximates the one-dimensional time-series data; fourth means for optimizing the position of the node candidate; and Fifth means for determining an error between the one-dimensional time-series data generated by the interpolation function and the original one-dimensional time-series data, and the fifth means determines that the error exceeds a value based on the approximation accuracy. If the said A seventh means returning to the third means; and, if it is determined by the second means that the one-dimensional time-series data contains data within the approximation accuracy, the one-dimensional time-series data is converted to the approximation accuracy. Information indicating that the data is within the range, and when the fifth means determines that the error does not exceed the value based on the approximation accuracy, the data of the node candidate and the data of the time corresponding thereto are And a seventh unit for outputting the compressed information as compressed information.
【請求項53】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の手段と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第2の手段と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の手段と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
手段と、 前記準最適節点候補を前記補間関数により補間して元の
1次元時系列データを近似する1次元時系列データを生
成し、この1次元時系列データと元の1次元時系列デー
タとの誤差を算出する第6の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の手段と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の手段から第7の手段までの処理を繰
り返す第8の手段と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の手段とを備
えたことを特徴とする1次元時系列データ圧縮装置。
53. An apparatus for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and indexing the one-dimensional time-series data in the order of time. First means for calculating an initial number of nodes of an interpolation function for adding and interpolating the one-dimensional time-series data; and always including start and end data among the one-dimensional time-series data and randomly. A second means for determining node candidates of only a few nodes; and a third means for interpolating the node candidates with an interpolation function using an index number as an independent variable to calculate an error from the original one-dimensional time-series data. Means for calculating, from the error, a value of a first objective function defined by weighted addition of a maximum value of the error, an error average, and an error variance; and To be minimal Fifth means for repeatedly changing node candidates to determine sub-optimal node candidates, and interpolating the sub-optimal node candidates by the interpolation function to obtain one-dimensional time series data approximating the original one-dimensional time series data Sixth means for generating and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; and defining from the error a weighted addition of a maximum value of the error, an error average and an error variance. Seventh means for calculating the value of the calculated second objective function, and if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy, the value obtained by adding an increment to the number of nodes is used as the new number of nodes. Eighth means for repeating the processing from the second means to the seventh means, and if the value of the second objective function is less than the threshold value, the initial time and time interval of the one-dimensional time-series data , The final candidate node Time series data compression apparatus 1 dimensional, characterized in that a ninth means for outputting the compressed data made up of a box number and value of the node candidates.
【請求項54】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに対しその時刻の順にイン
デックスを付加し、前記1次元時系列データを補間する
補間関数の初期の節点数を算出する第1の手段と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第2の手段と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第3の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第4の手段と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第5の
手段と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第6の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第7の手段と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第2の手段から第7の手段の処理までを繰
り返す第8の手段と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第9の手段とを含
むことを特徴とする1次元時系列データ圧縮装置。
54. An apparatus for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and indexing the one-dimensional time-series data in the order of time. First means for calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and always including start and end data among the one-dimensional time-series data, and the index Second means for determining node candidates of only a few nodes so as to be approximately equally spaced with respect to, and interpolating the node candidates with an interpolation function using an index number as an independent variable to obtain an original one-dimensional A third means for calculating an error from the series data; and a fourth means for calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. Fifth means for repeatedly changing node candidates so as to minimize the value of the first objective function, and determining a sub-optimal node candidate; interpolating the sub-optimal node candidate by the interpolation function; Sixth means for generating one-dimensional time-series data approximating the one-dimensional time-series data, and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; A seventh means for calculating a value of a second objective function defined by weighted addition of the maximum value of the error average and the error variance of the second objective function; An eighth means for repeating the processing from the second means to the seventh means by adding a value obtained by adding an increment to the number of nodes to a new number of nodes; and if the value of the second objective function is less than the threshold value, For example, the initial time and time of the one-dimensional time series data Interval and, series data compression apparatus when one-dimensional, characterized in that it comprises a ninth means for outputting the compressed data made up of an index number of the last-determined node candidates and the value of the node candidates.
【請求項55】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の手段と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、前記近似精度以下の場合は全
て0であることを示す識別子を出力して終了し、そうで
ない場合は後述する第3の手段へと移行する第2の手段
と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつランダムに前記節点数個だけの節点候
補を決定する第3の手段と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の手段と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
手段と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、1次元時系列データと元の1次元時系列データ
との誤差を算出する第7の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の手段と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の手段から第8の手段までの処理を繰
り返す第9の手段と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の手段とを
備えたことを特徴とする1次元時系列データ圧縮装置。
55. An apparatus for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and adding an index to the one-dimensional time-series data in order of time. First means for calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data, and determining whether or not absolute values of the one-dimensional time-series data are all less than or equal to the approximation accuracy, If it is less than or equal to the approximation accuracy, an identifier indicating that it is all 0 is output and the process is terminated. If not, a second unit is shifted to a third unit to be described later. A third means for always including the start and end data, and randomly determining only a few node candidates; and interpolating the node candidates by an interpolation function using an index number as an independent variable, 1D time A fourth means for calculating an error from the column data; and a fifth means for calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. And sixth means for repeatedly changing node candidates so that the value of the first objective function is minimized to determine a sub-optimal node candidate; and interpolating the sub-optimal node candidate by the interpolation function, Seventh means for generating one-dimensional time-series data approximating the original one-dimensional time-series data and calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data; Eighth means for calculating a value of the second objective function defined by weighted addition of the maximum value of the error average and the error variance of the second objective function, and if the value of the second objective function is equal to or greater than a threshold corresponding to the approximation accuracy , Adding the increment to the number of nodes Ninth means for repeating the processing from the third means to the eighth means as a score, and if the value of the second objective function is less than the threshold value, the initial time and the time interval of the one-dimensional time-series data 10. A one-dimensional time-series data compression apparatus, comprising: tenth means for outputting compressed data composed of an index number of a node candidate finally determined and a value of the node candidate.
【請求項56】 時間等間隔な1次元時系列データの圧
縮装置であって、 前記1次元時系列データとその近似精度の入力を行な
い、前記1次元時系列データに時刻の順にインデックス
を付加し、前記1次元時系列データを補間する補間関数
の初期の節点数を算出する第1の手段と、 前記1次元時系列データの絶対値が全て前記近似精度以
下か否かの判定を行ない、近似精度以下の場合は全て0
であることを示す識別子を出力して終了し、そうでない
場合は後述する第3の手段へと移行する第2の手段と、 前記1次元時系列データの中から、始めと終りのデータ
を必ず含み、かつ前記インデックスに関して近似的に等
間隔となるように前記節点数個だけの節点候補を決定す
る第3の手段と、 前記節点候補をインデックス番号を独立変数とする補間
関数により補間して、元の1次元時系列データとの誤差
を算出する第4の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第1目的関数の値を算出
する第5の手段と、 前記第1目的関数の値が最小となるように節点候補の変
更を繰り返し行ない、準最適節点候補を決定する第6の
手段と、 前記準最適節点候補を前記補間関数により補間して、元
の1次元時系列データを近似する1次元時系列データを
生成し、この1次元時系列データと元の1次元時系列デ
ータとの誤差を算出する第7の手段と、 前記誤差から、この誤差の最大値と誤差平均と誤差分散
との重み付け加算で定義された第2目的関数の値を算出
する第8の手段と、 前記第2目的関数の値が前記近似精度に対応する閾値以
上ならば、前記節点数に増分を加えたものを新たな節点
数とし、前記第3の手段から第8の手段までの処理を繰
り返す第9の手段と、 前記第2目的関数の値が前記閾値未満ならば、前記1次
元時系列データの初期時刻と時間間隔と、最終的に決定
された節点候補のインデックス番号と前記節点候補の値
とで構成された圧縮データを出力する第10の手段とを
備えたことを特徴とする1次元時系列データ圧縮装置。
56. An apparatus for compressing one-dimensional time-series data at equal time intervals, comprising inputting the one-dimensional time-series data and its approximation accuracy, and adding an index to the one-dimensional time-series data in order of time. First means for calculating an initial number of nodes of an interpolation function for interpolating the one-dimensional time-series data; and determining whether or not all absolute values of the one-dimensional time-series data are less than or equal to the approximation accuracy. 0 if precision is less
A second means for outputting an identifier indicating that the processing is completed, and if not, a second means for shifting to a third means to be described later. Third means for determining the node candidates of only the few nodes so as to be approximately equally spaced with respect to the index, and interpolating the node candidates by an interpolation function using an index number as an independent variable, A fourth means for calculating an error from the original one-dimensional time-series data; and calculating, from the error, a value of a first objective function defined by weighted addition of the maximum value of the error, the error average, and the error variance. Fifth means for repeating the change of the node candidate so as to minimize the value of the first objective function, and determining a sub-optimal node candidate; and By interpolation Seventh means for generating one-dimensional time-series data approximating the original one-dimensional time-series data, calculating an error between the one-dimensional time-series data and the original one-dimensional time-series data, Eighth means for calculating the value of the second objective function defined by weighted addition of the maximum value of the error, the average of the error, and the error variance, if the value of the second objective function is equal to or greater than a threshold value corresponding to the approximation accuracy For example, ninth means for repeating the processing from the third means to the eighth means by adding an increment to the number of nodes as a new number of nodes, and the value of the second objective function being less than the threshold value Then, tenth means for outputting compressed data composed of the initial time and time interval of the one-dimensional time-series data, the index number of the finally determined node candidate, and the value of the node candidate One-dimensional time-series data characterized by having Data compression device.
【請求項57】 請求項52ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1なら
ば前記ΔE(1-)を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)ならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
奇数のj については小さいものから大きいものの順、お
よび偶数のj については大きいものから小さいものの順
に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作を奇数のj については小さいものから
大きいものの順、および偶数のj については大きいもの
から小さいものの順に再び行ない、 前記節点候補の交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
57. The one-dimensional time-series data compression device according to claim 52, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If I (j-1) ≧ I (j) -1, set ΔE (1-) to 0, and if the relationship of I (j) +1 <I (j + 1) holds, Node candidate I
calculating the value of the first objective function when (j) is replaced with the node candidate I (j) +1, and calculating the original first value from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If (j + 1), the ΔE (1+) is set to 0, and if the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is set. The node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j ) +1, if the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not exchanged, and the ΔE (1-) < 0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is from small to large for odd j. The order of the objects and the even j are performed in ascending order from the largest to the smallest, and the value of the first objective function at the end of the series of processes is the value obtained by subtracting the threshold from the value of the original first objective function. Then, the above operation is performed again in the order of small to large for the odd j and in the order of large to small for the even j, and whether the node candidates have not been exchanged at all or the first objective function If the value is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, the processing is terminated to perform the one-dimensional time-series data compression apparatus.
【請求項58】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の前記第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧ I(j)-1 の
関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 < I(j+1) の関係が成り立つならば前記節点候補
I(j)を節点候補I(j)+1に交換した時の前記第1目的関数
の値を算出し、前記第1目的関数の値から前記元の第1
目的関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I
(j+1)の関係が成り立つならば前記ΔE(1+) を0に設定
し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) の方が前記ΔE(1+) より大きいなら
ば、前記節点候補I(j)を前記節点候補I(j)+1に交換する
操作を奇数のj については大きいものから小さいものの
順、および偶数のj については小さいものから大きいも
のの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする一次元時系列データ圧縮装
置。
58. The one-dimensional time-series data compression apparatus according to claim 53, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m, and if the relationship I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with a node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is established. If the above holds, the node candidate
The value of the first objective function when I (j) is replaced with the node candidate I (j) +1 is calculated, and the first first objective function is calculated from the value of the first objective function.
Calculate a value ΔE (1+) obtained by subtracting the value of the objective function, and obtain I (j) + 1 ≧ I
If the relationship (j + 1) holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is replaced with the node candidate I (j) -1, and if the relationship of ΔE (1-) ≧ 0 and the ΔE (1 +) <0 holds, the node candidate I (j) is replaced by the node If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the ΔE ( 1-) <0 and the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And, if ΔE (1-) is larger than ΔE (1+), the operation of replacing the node candidate I (j) with the node candidate I (j) +1 is larger for odd j. From the smallest to the largest, and for even j, the smallest to the largest j, the value of the first objective function at the end of the series of processes is obtained by subtracting the threshold value from the value of the original first objective function. If it is less than the above, the above operation is performed again in the order of large to small for odd j and in the order of small to large for even j. If the value of the objective function is greater than the value obtained by subtracting the threshold value from the value of the original first objective function, the one-dimensional time-series data compression apparatus is performed by terminating the processing.
【請求項59】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧ 0かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節
点候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ、前記ΔE(1-) が前記ΔE(1+) より大きいならば、
前記節点候補I(j)を前記節点候補I(j)+1に交換する操作
をj=1 から[m/2 ]まで、およびj=m-1 から[m/2 ]+1
まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=1 から[m/2 ]まで、およびj=m-
1 から[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
59. The one-dimensional time-series data compression apparatus according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering the index of the node candidate in ascending order. Are expressed as I (j), 0 ≤ j ≤ m, and if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j). −1, the value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function is calculated. 1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And, if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the The relation of ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+),
The operations of exchanging the node candidate I (j) for the node candidate I (j) +1 are from j = 1 to [m / 2] and j = m-1 to [m / 2] +1.
If the value of the first objective function at the end of the series of processes is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = 1 to [m / 2] and j = m-
1 to [m / 2] +1 in order, and the node candidates are not exchanged at all, or the value of the first objective function is determined by subtracting a threshold value from the value of the original first objective function. A one-dimensional time-series data compression apparatus characterized in that the processing is completed by terminating the processing if it is larger.
【請求項60】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=[m/2 ]から1 まで、およびj=[m/2 ]+1からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から前記閾値を減じたもの以下
ならば、前記操作をj=[m/2 ]から1 まで、およびj=
[m/2 ]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
60. The one-dimensional time-series data compression apparatus according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = [m / 2] to 1 and j = [m / 2] +1 to m−1 in order, and the value of the first objective function at the time when these series of processes are completed is the first original function. If the value of the objective function is equal to or less than the value obtained by subtracting the threshold, the operation is performed from j = [m / 2] to 1 and j =
[M / 2] +1 to m-1 in order, and the exchange of the node candidates was not performed at all, or the value of the first objective function was obtained by subtracting a threshold value from the value of the original first objective function. A one-dimensional time-series data compression apparatus characterized in that the processing is terminated by completing the processing if it is larger than the one.
【請求項61】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=1 からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
61. The one-dimensional time-series data compression apparatus according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. Is expressed as I (j), 0 ≤ j ≤ m. If the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = 1 to m−1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = 1 to m-1 again, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value , A one-dimensional time-series data compression apparatus, which performs the processing by terminating the processing.
【請求項62】 請求項53ないし56記載のいずれか
に1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換
し、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換し、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換する操作を
j=m-1 から1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
62. The one-dimensional time-series data compression apparatus according to claim 53, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is If the relation of ΔE (1-) ≧ 0 and the relation of ΔE (1 +) <0 holds, the node candidate I (j) is replaced with the node candidate I (j). If the relationship ΔE (1-) ≧ 0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is not replaced, and the relationship ΔE (1-) <0 And the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the ΔE (1-) <0 and the ΔE (1 +) <0 holds,
If the ΔE (1-) is larger than the ΔE (1+), an operation of replacing the node candidate I (j) with the node candidate I (j) +1
j = m-1 to 1 in order, and if the value of the first objective function at the time when these series of processing is completed is equal to or less than the value of the original first objective function minus the threshold, the operation is performed by j = m-1 to 1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value , A one-dimensional time-series data compression apparatus, which performs the processing by terminating the processing.
【請求項63】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 前記節点候補のインデックスに対して、これが小さい順
に番号づけを行なったものをI(j),0 ≦j ≦m と表記し
たとき、I(j-1) < I(j)-1の関係が成り立つならば節点
候補I(j)を節点候補I(j)-1に交換した時の第1目的関数
の値を算出し、前記第1目的関数の値から元の第1目的
関数の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1
の関係が成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともにこの交換を行った時の第1目的関数の値と前
記元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともにこの
交換を行った時の第1目的関数の値と前記元の第1目的
関数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
にこの交換を行った時の第1の目的関数の値と前記元の
第1の目的関数の値の交換を行なう操作を奇数のj につ
いては小さいものから大きいものの順、および偶数のj
については大きいものから小さいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については小さいものから大き
いものの順、および偶数のj については大きいものから
小さいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
63. The one-dimensional time-series data compression apparatus according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. Are expressed as I (j), 0 ≤ j ≤ m, and if the relationship of I (j-1) <I (j) -1 holds, the node candidate I (j) is replaced with the node candidate I (j). −1, the value of the first objective function is calculated, and a value ΔE (1-) obtained by subtracting the original value of the first objective function from the value of the first objective function is calculated. 1) ≧ I (j) -1
If the relationship holds, ΔE (1-) is set to 0. If the relationship I (j) +1 <I (j + 1) holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function and the value of the original first objective function at the time of performing the exchange, the ΔE (1-) ≧ 0 and the If the relationship of ΔE (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of this exchange and the element If the relationship of ΔE (1-) ≧ 0 and ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged, and the ΔE (1-) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) -1 and the first objective function when the exchange is performed. Is exchanged with the value of the original first objective function, and the relationship of ΔE (1-) <0 and ΔE (1 +) <0 holds,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first when this exchange is performed. The operation of exchanging the value of the objective function and the value of the original first objective function is performed in the order of small to large for odd j, and for even j
Are performed in the order from the largest to the smallest. If the value of the first objective function at the time when these series of processing is completed is equal to or less than the value obtained by subtracting the threshold from the value of the original first objective function, the operation is performed in an odd number. j is performed again in ascending order from small to large, and for even j, in ascending order from large to small. Whether the node candidates have not been exchanged at all, or the value of the first objective function is equal to the original first value A one-dimensional time-series data compression apparatus characterized in that if the value is larger than the value obtained by subtracting the threshold value from the value of the objective function, the processing is terminated to perform the processing.
【請求項64】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、I(j-1) < I(j)-1の関係が成り立つならば節点候補I
(j)を節点候補I(j)-1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から元の第1目的関数
の値を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関
係が成り立つならば前記ΔE(1-) を0に設定し、I(j)+1
<I(j+1) の関係が成り立つならば前記節点候補I(j)を
節点候補I(j)+1に交換した時の第1目的関数の値を算出
し、前記第1目的関数の値から前記元の第1目的関数の
値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)の関係
が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作を奇数のj につい
ては大きいものから小さいものの順、および偶数のj に
ついては小さいものから大きいものの順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作を奇数のj については大きいものから小さ
いものの順、および偶数のj については小さいものから
大きいものの順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうことを特徴とする1次元時系列データ
圧縮装置。
64. The one-dimensional time-series data compression device according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. If the relationship is expressed as I (j), 0 ≤ j ≤ m, and if the relationship of I (j-1) <I (j) -1 holds, the node candidate I
The value of the first objective function when (j) is replaced with the node candidate I (j) -1 is calculated, and a value ΔE (1) obtained by subtracting the original value of the first objective function from the value of the first objective function is obtained. -), And if the relationship of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and I (j) +1
If the relationship <I (j + 1) holds, the value of the first objective function when the node candidate I (j) is replaced with the node candidate I (j) +1 is calculated. A value ΔE (1+) obtained by subtracting the value of the original first objective function from the value is calculated, and if the relationship of I (j) + 1 ≧ I (j + 1) holds, the above ΔE (1+) is calculated. 0, the node candidate I (j) is exchanged for the node candidate I (j) -1 if the relationship of ΔE (1-) <0 and ΔE (1+) ≧ 0 holds. The value of the first objective function at the time of this exchange and the value of the original first objective function are exchanged, and if the relationship of ΔE (1-) ≧ 0 and ΔE (1 +) <0 holds, The node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the value of the original first objective function are exchanged. 1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the node candidate I (j) is not exchanged. ΔE (1 -) <0 and the ΔE (1 +) <0 in relation holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in the order of large to small for the odd j and in the order of small to large for the even j. If the value of the first objective function at the end of is less than or equal to the value of the original first objective function minus the threshold value, the operation is performed in the order of odd j, from large to small, and even j. Is performed again in ascending order from the smallest to the largest. If the node candidates are not exchanged at all, or if the value of the first objective function is larger than the value of the original first objective function minus a threshold value , By ending the process Determined series data compression apparatus when one-dimensional and performing.
【請求項65】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 から[m/2
]まで、およびj=m-1 から[m/2 ]+1まで順に行な
い、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 から[m/2 ]まで、およびj=m-1 か
ら[m/2 ]+1まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、決定を行なうことを特徴とする1次元時系列データ
圧縮装置。
65. The one-dimensional time-series data compression apparatus according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is from j = 1 to [m / 2
] And j = m-1 to [m / 2] +1, and the value of the first objective function when these series of processes are completed is obtained by subtracting the threshold value from the value of the original first objective function. If not, the operation is repeated again from j = 1 to [m / 2] and from j = m-1 to [m / 2] +1, and whether the exchange of node candidates has not been performed at all. If the value of the first objective function is larger than the value of the original first objective function minus a threshold value, the processing is terminated to make a decision. apparatus.
【請求項66】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1目的関数の値と前記元の第1
目的関数の値の交換を行なう操作をj=[m/2 ]から1 ま
で、およびj=[m/2 ]+1からm-1 まで順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=[m/2 ]から1 まで、およびj=[m/2
]+1からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
66. The one-dimensional time-series data compression device according to claim 53, wherein the sub-optimal node candidate calculation is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) +1, and the first objective function at the time of the replacement is replaced. And the original first
The operation of exchanging the value of the objective function is performed in order from j = [m / 2] to 1 and from j = [m / 2] +1 to m−1. If the value of the objective function is equal to or less than the value of the original first objective function minus the threshold, the operation is performed from j = [m / 2] to 1 and j = [m / 2
+1 to m−1 in order, and if the node candidates have not been exchanged at all, or if the value of the first objective function is greater than the value of the original first objective function minus a threshold value For example, a one-dimensional time-series data compression apparatus characterized by performing the processing by terminating the processing.
【請求項67】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=1 からm-1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=1 からm-1 まで順に再び行ない、 節点候補の前記交換が全く行なわれなかったか、前記第
1目的関数の値が前記元の第1目的関数の値から閾値を
減じたものより大きいならば、処理を終了することによ
り、行なうことを特徴とする1次元時系列データ圧縮装
置。
67. The one-dimensional time-series data compression device according to any one of claims 53 to 56, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
If the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = 1 to m−1, and the value of the first objective function at the time when a series of these processes is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is performed again in order from j = 1 to m−1, and whether the exchange of the node candidates has not been performed at all or the value of the first objective function Is larger than the value obtained by subtracting the threshold value from the original value of the first objective function, by terminating the processing, thereby performing the one-dimensional time-series data compression apparatus.
【請求項68】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 前記準最適節点候補の算出は、 節点候補のインデックスに対して、これが小さい順に番
号づけを行なったものをI(j),0 ≦j ≦m と表記したと
き、 I(j-1) < I(j)-1 の関係が成り立つならば節点候補I(j)
を節点候補I(j)-1に交換した時の第1目的関数の値を算
出し、前記第1目的関数の値から元の第1目的関数の値
を減じた値ΔE(1-) を算出し、I(j-1)≧I(j)-1の関係が
成り立つならば前記ΔE(1-) を0に設定し、 I(j)+1 <I(j+1)の関係が成り立つならば前記節点候補I
(j)を節点候補I(j)+1に交換した時の第1目的関数の値
を算出し、前記第1目的関数の値から前記元の第1目的
関数の値を減じた値ΔE(1+) を算出し、I(j)+1≧I(j+1)
の関係が成り立つならば前記ΔE(1+) を0に設定し、 前記ΔE(1-)<0 かつ前記ΔE(1+) ≧0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)-1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+)<0 の関係が成り立つ
ならば前記節点候補I(j)を前記節点候補I(j)+1に交換す
るとともに、この交換した時の第1目的関数の値と前記
元の第1目的関数の値の交換を行ない、 前記ΔE(1-) ≧0 かつ前記ΔE(1+) ≧0 の関係が成り立
つならば前記節点候補I(j)の交換を行なわず、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) 以下ならば、前記節点
候補I(j)を前記節点候補I(j)-1に交換するとともに、こ
の交換した時の第1目的関数の値と前記元の第1目的関
数の値の交換を行ない、 前記ΔE(1-)<0 かつ前記ΔE(1+)<0 の関係が成り立ち、
かつ前記ΔE(1-) が前記ΔE(1+) より大きいならば、前
記節点候補I(j)を前記節点候補I(j)+1に交換するととも
に、この交換した時の第1の目的関数の値と前記元の第
1の目的関数の値の交換を行なう操作をj=m-1 から1 ま
で順に行ない、 これら一連の処理が終了した時の第1目的関数の値が前
記元の第1目的関数の値から閾値を減じたもの以下なら
ば、前記操作をj=m-1 から1 まで順に再び行ない、節点
候補の前記交換が全く行なわれなかったか、前記第1目
的関数の値が前記元の第1目的関数の値から閾値を減じ
たものより大きいならば、処理を終了することにより、
行なうことを特徴とする1次元時系列データ圧縮装置。
68. The one-dimensional time-series data compression apparatus according to claim 53, wherein the calculation of the sub-optimal node candidates is performed by numbering indices of the node candidates in ascending order. If the relation is expressed as I (j), 0 ≤ j ≤ m, then if the relation I (j-1) <I (j) -1 holds, the node candidate I (j)
Is replaced with the node candidate I (j) -1, the value of the first objective function is calculated, and the value ΔE (1-) obtained by subtracting the value of the original first objective function from the value of the first objective function is obtained. If the relation of I (j-1) ≧ I (j) -1 holds, the above ΔE (1-) is set to 0, and the relation of I (j) +1 <I (j + 1) is satisfied. If this holds, the node candidate I
(j) is replaced with the node candidate I (j) +1, the value of the first objective function is calculated, and the value ΔE ((E) is obtained by subtracting the value of the original first objective function from the value of the first objective function. 1+), and I (j) + 1 ≧ I (j + 1)
If the relationship holds, the ΔE (1+) is set to 0.If the relationship ΔE (1-) <0 and the relationship ΔE (1+) ≧ 0 hold, the node candidate I (j) is Exchange with the node candidate I (j) -1 and exchange of the value of the first objective function at the time of the exchange and the value of the original first objective function are performed, and the ΔE (1-) ≧ 0 and the ΔE If the relationship of (1 +) <0 holds, the node candidate I (j) is exchanged for the node candidate I (j) +1, and the value of the first objective function at the time of the exchange and the original (1) After exchanging the value of the objective function, if the relationship of ΔE (1-) ≧ 0 and the relationship of ΔE (1+) ≧ 0 holds, the exchange of the node candidate I (j) is not performed; -) <0 and the relationship of ΔE (1 +) <0 holds,
And if the ΔE (1-) is equal to or less than the ΔE (1+), the node candidate I (j) is replaced with the node candidate I (j) -1, and the first objective function at the time of the replacement is replaced. The value and the value of the original first objective function are exchanged, and the relations of ΔE (1-) <0 and ΔE (1 +) <0 hold,
And if the ΔE (1-) is larger than the ΔE (1+), the node candidate I (j) is exchanged for the node candidate I (j) +1, and the first object at the time of the exchange is The operation of exchanging the value of the function and the value of the original first objective function is performed in order from j = m-1 to 1, and the value of the first objective function at the time when these series of processing is completed is changed to the original value. If the value is equal to or less than the value obtained by subtracting the threshold value from the value of the first objective function, the above operation is repeated again from j = m-1 to 1, and the exchange of the node candidates is not performed at all, or the value of the first objective function is determined. Is larger than the value obtained by subtracting the threshold value from the value of the original first objective function, by terminating the process,
A one-dimensional time-series data compression apparatus.
【請求項69】 請求項53ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 最終的に決定された節点候補数が、候補にならなかった
データの個数以下の場合は、節点候補を示す識別子と前
記最終的に決定された節点候補のインデックス番号と前
記節点候補の値とで構成された圧縮データを出力し、前
記最終的に決定された節点候補数が、前記候補にならな
かったデータの個数より大きい場合は、節点候補でない
識別子と前記節点候補にならなかったデータのインデッ
クス番号と前記節点候補の値とで構成された圧縮データ
を出力することを特徴とする1次元時系列データ圧縮装
置。
69. The one-dimensional time-series data compression apparatus according to claim 53, wherein if the finally determined number of node candidates is equal to or less than the number of non-candidate data, the node Compressed data composed of an identifier indicating a candidate, the index number of the finally determined node candidate, and the value of the node candidate is output, and if the finally determined number of node candidates is the candidate, If the number of the missing nodes is larger than the number of missing nodes, compressed data composed of an identifier that is not a node candidate, an index number of the data that did not become the node candidate, and a value of the node candidate is output. Series data compression device.
【請求項70】 請求項51ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 時間に関して不等間隔な1次元時系列データに対して
は、当該1次元時系列データ圧縮装置を時間とデータに
ついて各々独立に適用し、各々を独立に圧縮することを
特徴とする1次元時系列データ圧縮装置。
70. The one-dimensional time-series data compression apparatus according to claim 51, wherein said one-dimensional time-series data compression apparatus is used for one-dimensional time-series data with unequal intervals in time. A one-dimensional time-series data compression apparatus characterized in that time and data are applied independently and each is compressed independently.
【請求項71】 請求項51ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 多次元時系列データを構成する複数の1次元時系列デー
タの各々に対し、当該1次元時系列データ圧縮装置を繰
り返し適用することで、多次元時系列データの圧縮を行
なうことを特徴とする1次元時系列データ圧縮装置。
71. The one-dimensional time-series data compression apparatus according to claim 51, wherein each of the plurality of one-dimensional time-series data constituting the multi-dimensional time-series data is compared with the one-dimensional time-series data. A one-dimensional time-series data compression apparatus characterized in that multi-dimensional time-series data is compressed by repeatedly applying a data compression apparatus.
【請求項72】 請求項51ないし56のいずれかに記
載の1次元時系列データ圧縮装置において、 複数の誤差が伝搬する1次元時系列データに対して、伝
搬の源の1次元時系列データから順に近似精度値を大き
くし、当該1次元時系列データ圧縮装置を繰り返し適用
することで、全ての前記1次元時系列データの圧縮を行
なうことを特徴とする1次元時系列データ圧縮装置。
72. The one-dimensional time-series data compression apparatus according to claim 51, wherein the one-dimensional time-series data in which a plurality of errors propagate is obtained from the one-dimensional time-series data of a propagation source. A one-dimensional time-series data compression apparatus characterized in that all the one-dimensional time-series data are compressed by sequentially increasing the approximation accuracy value and repeatedly applying the one-dimensional time-series data compression apparatus.
【請求項73】 請求項51,53または54のいずれ
かに記載の1次元時系列データ圧縮装置で圧縮された圧
縮データを伸長する装置であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の手段と、 圧縮の際に使用した補間関数と同じ補間関数を使用して
圧縮データを補間することで、前記データ数と同数分の
データを算出し、初期時間と時間間隔から時刻を前記デ
ータ数と同数分だけ算出する第2の手段と、 前記第2の手段で算出した前記データと前記時刻とを出
力する第3の手段とを備えたことを特徴とする1次元時
系列データ伸長装置。
73. An apparatus for decompressing compressed data compressed by the one-dimensional time-series data compression apparatus according to claim 51, wherein the compressed data and the decompressed compressed data are decompressed. First means for inputting the number of data of the compressed data and the same interpolation function as the interpolation function used for the compression are used to interpolate the compressed data to calculate the same number of data as the number of data. And second means for calculating a time from the time interval by the same number as the number of data, and third means for outputting the data and the time calculated by the second means. A one-dimensional time series data decompression device.
【請求項74】 請求項52,55または56のいずれ
かに記載の1次元時系列データ圧縮装置で圧縮された圧
縮データを伸長する装置であって、 圧縮された圧縮データとこれを伸長した時のデータ数を
入力する第1の手段と、 前記圧縮データに該データが全て0であることを示す識
別子が付与されている場合は、前記データ数と同数分の
0と、初期時間と時間間隔から時刻を前記データ数と同
数分だけ算出し、前記圧縮データに該データが全て0で
あることを示す識別子が付与されていない場合は、圧縮
の際に使用した補間関数と同じ補間関数を使用して圧縮
データを補間することで、前記データ数と同数分のデー
タを算出し、初期時間と時間間隔から時刻を前記データ
数と同数分だけ算出する第2の手段と、 前記第2の手段で算出した前記データと前記時刻とを出
力する第3の手段とを備えたことを特徴とする1次元時
系列データ伸長装置。
74. An apparatus for decompressing compressed data compressed by the one-dimensional time-series data compression apparatus according to claim 52, wherein the compressed data and the compressed data are decompressed. First means for inputting the number of data, and when an identifier indicating that the data is all 0 is added to the compressed data, 0 for the same number as the number of data, initial time and time interval From the same number as the number of data, and if the compressed data does not have an identifier indicating that the data is all 0, use the same interpolation function as that used for compression. Interpolating the compressed data to calculate the same number of data as the number of data, and calculating the time from the initial time and the time interval by the same number as the number of data, the second means, Before calculated by A one-dimensional time-series data decompression device, comprising: third means for outputting the data and the time.
【請求項75】 請求項73または74記載の1次元時
系列データ伸長装置において、 圧縮された多次元時系列データを構成する複数の圧縮さ
れた1次元時系列データの各々に対し、当該1次元時系
列データ伸長装置を繰り返し適用することで、圧縮され
た多次元時系列データの伸長を行なうことを特徴とする
1次元時系列データ伸長装置。
75. The one-dimensional time-series data decompression device according to claim 73, wherein each of the plurality of compressed one-dimensional time-series data forming the compressed multi-dimensional time-series data is subjected to the one-dimensional time-series data. A one-dimensional time-series data decompression apparatus characterized in that compressed multi-dimensional time-series data is decompressed by repeatedly applying a time-series data decompression apparatus.
JP20364597A 1996-07-29 1997-07-29 Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data Pending JPH10126275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20364597A JPH10126275A (en) 1996-07-29 1997-07-29 Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-198717 1996-07-29
JP19871796 1996-07-29
JP20364597A JPH10126275A (en) 1996-07-29 1997-07-29 Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006069863A Division JP4012557B2 (en) 1996-07-29 2006-03-14 Time-series data compression method, recording medium recording a time-series data compression program, and time-series data compression apparatus

Publications (1)

Publication Number Publication Date
JPH10126275A true JPH10126275A (en) 1998-05-15

Family

ID=26511129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20364597A Pending JPH10126275A (en) 1996-07-29 1997-07-29 Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data

Country Status (1)

Country Link
JP (1) JPH10126275A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999030483A1 (en) * 1997-12-05 1999-06-17 Force Technology Corp. Continuous gradation compression device and method, continuous gradation expansion device and method, data processor and device and memory medium in which programs for executing the programs
WO2001080430A1 (en) * 2000-04-14 2001-10-25 Sakai, Yasue Compression method and device, decompression method and device, compression/decompression system, and recorded medium
WO2001095496A1 (en) * 2000-06-06 2001-12-13 Sakai, Yasue Compression method and apparatus, expansion method and apparatus, compression and expansion system, recorded medium, program
WO2002071623A1 (en) * 2001-03-01 2002-09-12 Sakai, Yasue Method and apparatus for compression, method and apparatus for decompression, compression/decompression system, recored medium
US6785644B2 (en) 2001-04-16 2004-08-31 Yasue Sakai Alternate window compression/decompression method, apparatus, and system
JP2006186887A (en) * 2004-12-28 2006-07-13 Namco Bandai Games Inc Program, information storage medium, image compression system and image compression method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999030483A1 (en) * 1997-12-05 1999-06-17 Force Technology Corp. Continuous gradation compression device and method, continuous gradation expansion device and method, data processor and device and memory medium in which programs for executing the programs
US6795581B1 (en) 1997-12-05 2004-09-21 Force Technology Corp. Continuous gradation compression apparatus and method, continuous gradation expansion apparatus and method, data processing apparatus and electron device, and memory medium storing programs for executing said methods
WO2001080430A1 (en) * 2000-04-14 2001-10-25 Sakai, Yasue Compression method and device, decompression method and device, compression/decompression system, and recorded medium
US6657567B2 (en) 2000-04-14 2003-12-02 Yasue Sakai Compressing method and device, decompression method and device, compression/decompression system, and recorded medium
WO2001095496A1 (en) * 2000-06-06 2001-12-13 Sakai, Yasue Compression method and apparatus, expansion method and apparatus, compression and expansion system, recorded medium, program
WO2002071623A1 (en) * 2001-03-01 2002-09-12 Sakai, Yasue Method and apparatus for compression, method and apparatus for decompression, compression/decompression system, recored medium
US6791482B2 (en) 2001-03-01 2004-09-14 Yasue Sakai Method and apparatus for compression, method and apparatus for decompression, compression/decompression system, record medium
US6785644B2 (en) 2001-04-16 2004-08-31 Yasue Sakai Alternate window compression/decompression method, apparatus, and system
JP2006186887A (en) * 2004-12-28 2006-07-13 Namco Bandai Games Inc Program, information storage medium, image compression system and image compression method

Similar Documents

Publication Publication Date Title
KR100277004B1 (en) One-dimensional time series data compression method, one-dimensional time series data decompression method, recording medium for one-dimensional time series data compression program, recording medium for one-dimensional time series data decompression program, compression device for one-dimensional time series data, decompression device for one-dimensional time series data
Folk et al. Elastic strain produced by sudden application of pressure to one end of a cylindrical bar. I. Theory
JP2007518375A (en) Joint nonlinear delta-sigma modulator
Fitch Software and VLSI algorithms for generalized ranked order filtering
JP2003519945A (en) Efficient and reversible conversion for data transmission or storage
US4839844A (en) Orthogonal transformer and apparatus operational thereby
JPH10126275A (en) Compressing method and expanding method, compressing program recording medium and expanding program recording medium, and compressing device and expanding device for linear time-series data
JP4012557B2 (en) Time-series data compression method, recording medium recording a time-series data compression program, and time-series data compression apparatus
JP2509039B2 (en) Vector codebook quantizer
Boykin et al. Multirate sampled-data systems analysis via vector operators
JPH10233651A (en) Fuzzy filtering method and fuzzy filter
Weyer et al. The ASMOD algorithm: some new theoretical and experimental results
JP2000165252A (en) Data compression method and device
Hunt et al. Nonlinear AR modeling
JPH08123486A (en) Time-series signal filter and its learning method
Heredia et al. Piecewise Volterra filters based on the threshold decomposition operator
JP3808483B2 (en) Discrete signal processing apparatus and signal processing method
Delsarte et al. Generalized Schur representation of matrix-valued functions
JP3991629B2 (en) Data operation processing method and recording medium recording data operation processing program
JPH1013246A (en) Time series data compression decoding method and its device
EP0918398A1 (en) Signal processing apparatus
WO2022196308A1 (en) Data processing device, data processing method, and program
JPH10112858A (en) Data processing method and device therefor
JP3154293B2 (en) Audio signal band synthesis decoding device
KR100883715B1 (en) Discrete signal processing device and processing method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040722

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051025

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060314

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060329

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060421