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

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.ConstantSource
すべての実装されたインタフェース:
Cloneable, ArrayElement<SystemOperator>, GridElement<SystemOperator>, ContinuousAlgebraicSystem, ContinuousStaticSystem, ParameterUpdator, StringExternalizable, StaticSystem

public class ConstantSource
extends ContinuousSource
implements ParameterUpdator, StringExternalizable

定数信号を発生するシステムを表すクラスです。

バージョン:
$Revision: 1.6 $, 2005/06/15
作成者:
Koga Laboratory

コンストラクタの概要
ConstantSource()
          新しく生成されたConstantSourceオブジェクトを初期化します。
ConstantSource(Matrix constant)
          新しく生成されたConstantSourceオブジェクトを初期化します。
 
メソッドの概要
 boolean equals(Object o)
           
 Matrix getConstant()
          定数を返します。
 String getString(String key)
          外部化された文字列を返します。
 int hashCode()
           
 Matrix outputEquation(double t)
          直達項をもたないシステムの出力を返します。
 void setConstant(Matrix constant)
          定数を設定します。
 boolean updateWith(String parameter)
          パラメータ変更に伴う更新を行います。
 
クラス 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, getInputSize, getLinearSystem, getOutputSize, getParameter, getParameters, getStateSize, hasDirectFeedthrough, 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
 

コンストラクタの詳細

ConstantSource

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

パラメータ:
constant - 定数

ConstantSource

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

メソッドの詳細

outputEquation

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

出力方程式を表します。

定義:
インタフェース StaticSystem 内の outputEquation
オーバーライド:
クラス BaseContinuousStaticSystem 内の outputEquation
パラメータ:
t - 時刻
戻り値:
出力
関連項目:
StaticSystem.outputEquation(double)

setConstant

public void setConstant(Matrix constant)
定数を設定します。

パラメータ:
constant - 定数

getConstant

public Matrix getConstant()
定数を返します。

戻り値:
定数

updateWith

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

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

getString

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

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

equals

public boolean equals(Object o)
オーバーライド:
クラス SystemOperator 内の equals
関連項目:
SystemOperator.equals(java.lang.Object)

hashCode

public int hashCode()
オーバーライド:
クラス SystemOperator 内の hashCode
関連項目:
SystemOperator.hashCode()