org.mklab.tool.control.system.sink
クラス ExportSink

java.lang.Object
  上位を拡張 org.mklab.tool.control.system.SystemOperator
      上位を拡張 org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem
          上位を拡張 org.mklab.tool.control.system.sink.ContinuousSink
              上位を拡張 org.mklab.tool.control.system.sink.ExportSink
すべての実装されたインタフェース:
Cloneable, ArrayElement<SystemOperator>, GridElement<SystemOperator>, ContinuousAlgebraicSystem, ContinuousStaticSystem, ParameterUpdator, StringExternalizable, Exporter, StaticSystem
直系の既知のサブクラス:
FileSink, GnuplotSink, VariableSink

public abstract class ExportSink
extends ContinuousSink
implements Exporter, ParameterUpdator, StringExternalizable

信号のエキスポート先を表わすクラスです。

バージョン:
$Revision: 1.15 $
作成者:
koga

コンストラクタの概要
ExportSink()
          新しく生成されたExportSinkオブジェクトを初期化します。
 
メソッドの概要
 DoubleMatrix getData()
          データを返します。
 int getDataLength()
          データの長さを返します。
 String getString(String key)
          外部化された文字列を返します。
 void initialize()
          状態などの初期化を行います。
 boolean isExportable()
          エキスポート可能かを判定します。
 void open()
          出力器を開きます。
 Matrix outputEquation(double t, Matrix u)
          直達項をもつシステムの出力を返します。
 void setExportable(boolean exportable)
          エキスポート可能かを設定します。
 boolean updateWith(String parameter)
          パラメータ変更に伴う更新を行います。
 
クラス org.mklab.tool.control.system.sink.ContinuousSink から継承されたメソッド
setInputSize, setOutputSize
 
クラス org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem から継承されたメソッド
inputOutputEquation, outputEquation
 
クラス 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.sink.Exporter から継承されたメソッド
close, exportData, isActive
 

コンストラクタの詳細

ExportSink

public ExportSink()
新しく生成されたExportSinkオブジェクトを初期化します。

メソッドの詳細

initialize

public void initialize()
クラス SystemOperator の記述:
状態などの初期化を行います。

オーバーライド:
クラス BaseContinuousStaticSystem 内の initialize
関連項目:
BaseContinuousStaticSystem.initialize()

outputEquation

public Matrix outputEquation(double t,
                             Matrix u)
インタフェース StaticSystem の記述:
直達項をもつシステムの出力を返します。

出力方程式を表します。

定義:
インタフェース StaticSystem 内の outputEquation
オーバーライド:
クラス ContinuousSink 内の outputEquation
パラメータ:
t - 時刻
u - 入力
戻り値:
出力
関連項目:
ContinuousSink.outputEquation(double, org.mklab.nfc.matrix.Matrix)

open

public void open()
インタフェース Exporter の記述:
出力器を開きます。(初期処理を実行します)

定義:
インタフェース Exporter 内の open
関連項目:
Exporter.open()

getDataLength

public int getDataLength()
データの長さを返します。

戻り値:
データの長さ

getData

public DoubleMatrix getData()
データを返します。

戻り値:
データ

setExportable

public void setExportable(boolean exportable)
エキスポート可能かを設定します。

定義:
インタフェース Exporter 内の setExportable
パラメータ:
exportable - エキスポート可能ならばtrue、そうでなければfalse

isExportable

public boolean isExportable()
エキスポート可能かを判定します。

定義:
インタフェース Exporter 内の isExportable
戻り値:
エキスポート可能ならばtrue、そうでなければfalse

getString

public String getString(String key)
インタフェース StringExternalizable の記述:
外部化された文字列を返します。

定義:
インタフェース StringExternalizable 内の getString
パラメータ:
key - キー
戻り値:
外部化された文字列
関連項目:
StringExternalizable.getString(java.lang.String)

updateWith

public boolean updateWith(String parameter)
インタフェース ParameterUpdator の記述:
パラメータ変更に伴う更新を行います。

定義:
インタフェース ParameterUpdator 内の updateWith
パラメータ:
parameter - パラメータの名前
戻り値:
パラメータの設定が成功したならばtrue、そうでなければfalse
関連項目:
ParameterUpdator.updateWith(java.lang.String)