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

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

public class RampSource
extends ContinuousSource
implements ParameterUpdator, PiecewiseContinuousAlgebraicSystem, StringExternalizable

ランプを発生するシステムを表すクラスです。

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

コンストラクタの概要
RampSource()
          新しく生成されたRampSourceオブジェクトを初期化します。
RampSource(double slope)
          新しく生成されたRampSourceオブジェクトを初期化します。
RampSource(double offset, double slope, double delayTime)
          新しく生成されたRampSourceオブジェクトを初期化します。
 
メソッドの概要
 boolean equals(Object o)
           
 double getDelayTime()
          遅れ時間を返します。
 double getDiscontinuousPoint(double t1, Matrix u1, double t2, Matrix u2)
          指定された区間内([t1,t2]の不連続点の時刻を返します。
 double getOffset()
          オフセットを返します。
 List<Integer> getPiece(double t, Matrix u)
          区分の番号を返します。
 double getSlope()
          傾きを返します。
 String getString(String key)
          外部化された文字列を返します。
 int hashCode()
           
 Matrix outputEquation(double t)
          直達項をもたないシステムの出力を返します。
 void setDelayTime(double delayTime)
          遅れ時間を設定します。
 void setOffset(double offset)
          オフセットを設定します。
 void setSlope(double slope)
          傾きを設定します。
 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
 

コンストラクタの詳細

RampSource

public RampSource(double offset,
                  double slope,
                  double delayTime)
新しく生成されたRampSourceオブジェクトを初期化します。

パラメータ:
offset - オフセット
slope - 傾き
delayTime - 遅れ時間

RampSource

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

パラメータ:
slope - 傾き

RampSource

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

メソッドの詳細

outputEquation

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

出力方程式を表します。

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

setOffset

public void setOffset(double offset)
オフセットを設定します。

パラメータ:
offset - オフセット

getOffset

public double getOffset()
オフセットを返します。

戻り値:
オフセット

setSlope

public void setSlope(double slope)
傾きを設定します。

パラメータ:
slope - 傾き

getSlope

public double getSlope()
傾きを返します。

戻り値:
傾き

setDelayTime

public void setDelayTime(double delayTime)
遅れ時間を設定します。

パラメータ:
delayTime - 遅れ時間

getDelayTime

public double getDelayTime()
遅れ時間を返します。

戻り値:
遅れ時間

getPiece

public List<Integer> getPiece(double t,
                              Matrix u)
インタフェース PiecewiseContinuousAlgebraicSystem の記述:
区分の番号を返します。

定義:
インタフェース PiecewiseContinuousAlgebraicSystem 内の getPiece
パラメータ:
t - 時刻
u - 入力
戻り値:
区分の番号
関連項目:
PiecewiseContinuousAlgebraicSystem.getPiece(double, org.mklab.nfc.matrix.Matrix)

getDiscontinuousPoint

public double getDiscontinuousPoint(double t1,
                                    Matrix u1,
                                    double t2,
                                    Matrix u2)
インタフェース PiecewiseContinuousAlgebraicSystem の記述:
指定された区間内([t1,t2]の不連続点の時刻を返します。

定義:
インタフェース PiecewiseContinuousAlgebraicSystem 内の getDiscontinuousPoint
パラメータ:
t1 - 不連続点の前の時刻
u1 - 不連続点の前の入力
t2 - 不連続点の後の時刻
u2 - 不連続点の後の入力
戻り値:
指定された区間内([(t1,u1),(t2,u2)]の不連続点の時刻

区間内に不連続点がなければNaN

関連項目:
PiecewiseContinuousAlgebraicSystem.getDiscontinuousPoint(double, org.mklab.nfc.matrix.Matrix, double, org.mklab.nfc.matrix.Matrix)

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()

updateWith

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

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