org.mklab.tool.control.system.source
クラス FixedRateAsynchronousSource

java.lang.Object
  上位を拡張 org.mklab.tool.control.system.SystemOperator
      上位を拡張 org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem
          上位を拡張 org.mklab.tool.control.system.source.ContinuousSource
              上位を拡張 org.mklab.tool.control.system.source.AsynchronousSource
                  上位を拡張 org.mklab.tool.control.system.source.FixedRateAsynchronousSource
すべての実装されたインタフェース:
Cloneable, ArrayElement<SystemOperator>, GridElement<SystemOperator>, ContinuousAlgebraicSystem, ContinuousStaticSystem, Importer, StaticSystem
直系の既知のサブクラス:
SoundLineSource

public abstract class FixedRateAsynchronousSource
extends AsynchronousSource

等間隔のサンプリングを行うソースです。

バージョン:
$Revision$, 2010/01/04
作成者:
Yuhi Ishikura

コンストラクタの概要
FixedRateAsynchronousSource(int size, double interval)
          FixedRateAsynchronousSourceオブジェクトを構築します。
 
メソッドの概要
protected  Matrix getOutput(double t)
          与えられた時間の入力を取得します。
protected  boolean isOutputDataFilled()
          出力データがいっぱいであるかを調べます。
protected  boolean isReadyFor(double t)
          与えられた時間の入力が準備できているか調べます。
protected  void publish(double output)
          出力を追加します。
 
クラス org.mklab.tool.control.system.source.AsynchronousSource から継承されたメソッド
bufferChanged, getThrown, importData, isActive, isDone, open, outputEquation, processImport, setThrown
 
クラス org.mklab.tool.control.system.source.ContinuousSource から継承されたメソッド
outputEquation, setInputSize, setOutputSize
 
クラス org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem から継承されたメソッド
initialize, inputOutputEquation
 
クラス org.mklab.tool.control.system.SystemOperator から継承されたメソッド
clone, compare, createArray, createArray, createGrid, createGrid, createZero, equals, getInputSize, getLinearSystem, getOutputSize, getParameter, getParameters, getStateSize, hasDirectFeedthrough, hashCode, isAutoSize, isDynamic, isForecdSystem, isInlet, isLinear, isOutlet, isSISO, isSizeDefined, isStatic, isTransformableFrom, isTransformableTo, isZero, resetAutoSize, setAutoSize, setDynamic, setForcedSystem, setHasDirectFeedthrough, setInlet, setLinear, setOutlet, setParameter, setStateSize, setupParameters, toString, toString, transformFrom, transformTo
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 
インタフェース org.mklab.tool.control.system.source.Importer から継承されたメソッド
close
 

コンストラクタの詳細

FixedRateAsynchronousSource

public FixedRateAsynchronousSource(int size,
                                   double interval)
FixedRateAsynchronousSourceオブジェクトを構築します。

パラメータ:
size - サイズ
interval - データの時間の間隔、サンプリングインターバル
メソッドの詳細

getOutput

protected final Matrix getOutput(double t)
クラス AsynchronousSource の記述:
与えられた時間の入力を取得します。

定義:
クラス AsynchronousSource 内の getOutput
パラメータ:
t - 取得する時間
戻り値:
出力
関連項目:
AsynchronousSource.getOutput(double)

isReadyFor

protected final boolean isReadyFor(double t)
クラス AsynchronousSource の記述:
与えられた時間の入力が準備できているか調べます。

定義:
クラス AsynchronousSource 内の isReadyFor
パラメータ:
t - 調べる時間
戻り値:
準備ができていればtrue,できていなければfalse
関連項目:
AsynchronousSource.isReadyFor(double)

isOutputDataFilled

protected final boolean isOutputDataFilled()
出力データがいっぱいであるかを調べます。

戻り値:
これ以上記録できない場合はtrue,そうでなければfalse

publish

protected final void publish(double output)
出力を追加します。

パラメータ:
output - 出力