org.mklab.tool.control.system.math
クラス UserDefinedConstantSystem

java.lang.Object
  上位を拡張 org.mklab.tool.control.system.SystemOperator
      上位を拡張 org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem
          上位を拡張 org.mklab.tool.control.system.math.ConstantSystem
              上位を拡張 org.mklab.tool.control.system.math.UserDefinedConstantSystem
すべての実装されたインタフェース:
Cloneable, ArrayElement<SystemOperator>, GridElement<SystemOperator>, ContinuousAlgebraicSystem, ReversePolishNotationOperand, ReversePolishNotationSymbol, ContinuousStaticSystem, LinearSystemOperator, StaticSystem, SymbolicOperator, UserDefinedSystem

public class UserDefinedConstantSystem
extends ConstantSystem
implements UserDefinedSystem

ユーザ定義定数システムを表すクラスです。

バージョン:
$Revision: 1.2 $, 2008/07/02
作成者:
koga

コンストラクタの概要
UserDefinedConstantSystem(int inputSize, int outputSize)
          新しく生成されたUserDefinedConstantSystemオブジェクトを初期化します。
UserDefinedConstantSystem(Matrix gain)
          新しく生成されたUserDefinedConstantSystemオブジェクトを初期化します。
 
メソッドの概要
 boolean containParameter(String name)
          指定した名前のパラメータをもつか判定します。
 Set<String> getParameterNames()
          システムパラメータの名前の集合を返します。
 Object getParameterValue(String name)
          パラメータの値を返します。
 Class<?> getSystemClass()
          システムを定義したクラスを返します。
 void setInitializeFunction(Method method)
          システムの初期化処理を定義したメソッドを設定します。
 void setParameterValue(String name, Object value)
          パラメータの値を設定します。
 void setSystemClass(Class<?> klass)
          システムを定義したクラスを設定します。
 void setUpdateFunction(Method method)
          システムの更新処理を定義したメソッドを設定します。
 void update()
          パラメータを更新します。
 
クラス org.mklab.tool.control.system.math.ConstantSystem から継承されたメソッド
add, add, add, add, addSymbol, addSymbols, clone, createNegativeUnitOperand, createOperand, createSymbolStack, createUnitOperand, equals, feedback, feedback, feedback, feedback, feedback, getA, getB, getC, getD, getExpression, getGain, getLinearSystem, getMultipliedSystem, getOperandValue, getParsedOperand, getSensitivityOfUnityFeedback, getSignedExpression, getStringOfSymbol, getSymbolStack, getTag, hashCode, hasVariableA, hasVariableB, hasVariableC, hasVariableD, inverse, invertSign, isNegative, isNegativeUnit, isNegativeUnitOperand, isRequiringABCD, isReversePolishNotationOperator, isSingleTerm, isUnit, isUnitOperand, isUnityFeedbackWellPosed, isVariable, isZeroOperand, multiply, multiply, multiply, multiply, outputEquation, setExpression, setGain, setHasVariableA, setHasVariableB, setHasVariableC, setHasVariableD, setLinearSystem, setNegative, setRequiringABCD, setSingleTerm, setSymbolStack, setTag, setUnaryMinusExpression, setVariable, subtract, subtract, subtract, unaryMinus, unityFeedback, unityFeedback, unityFeedback
 
クラス org.mklab.tool.control.system.continuous.BaseContinuousStaticSystem から継承されたメソッド
initialize, inputOutputEquation, outputEquation
 
クラス org.mklab.tool.control.system.SystemOperator から継承されたメソッド
compare, createArray, createArray, createGrid, createGrid, createZero, getInputSize, getOutputSize, getParameter, getParameters, getStateSize, hasDirectFeedthrough, isAutoSize, isDynamic, isForecdSystem, isInlet, isLinear, isOutlet, isSISO, isSizeDefined, isStatic, isTransformableFrom, isTransformableTo, isZero, resetAutoSize, setAutoSize, setDynamic, setForcedSystem, setHasDirectFeedthrough, setInlet, setInputSize, setLinear, setOutlet, setOutputSize, setParameter, setStateSize, setupParameters, toString, toString, transformFrom, transformTo
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

UserDefinedConstantSystem

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

パラメータ:
inputSize - 入力数
outputSize - 出力数

UserDefinedConstantSystem

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

パラメータ:
gain - ゲイン行列
メソッドの詳細

getParameterValue

public Object getParameterValue(String name)
                         throws NoSuchParameterException
インタフェース UserDefinedSystem の記述:
パラメータの値を返します。

定義:
インタフェース UserDefinedSystem 内の getParameterValue
パラメータ:
name - パラメータの名前
戻り値:
パラメータの値
例外:
NoSuchParameterException - パラメータが存在しない場合、パラメータにアクセスできない場合
関連項目:
UserDefinedSystem.getParameterValue(java.lang.String)

getParameterNames

public Set<String> getParameterNames()
                              throws NoSuchParameterException
インタフェース UserDefinedSystem の記述:
システムパラメータの名前の集合を返します。

定義:
インタフェース UserDefinedSystem 内の getParameterNames
戻り値:
システムパラメータの名前の集合
例外:
NoSuchParameterException - パラメータにアクセスできない場合
関連項目:
UserDefinedSystem.getParameterNames()

containParameter

public boolean containParameter(String name)
インタフェース UserDefinedSystem の記述:
指定した名前のパラメータをもつか判定します。

定義:
インタフェース UserDefinedSystem 内の containParameter
パラメータ:
name - パラメータの名前
戻り値:
指定した名前のパラメータをもつならばtrue、そうでなければfalse
関連項目:
UserDefinedSystem.containParameter(java.lang.String)

getSystemClass

public Class<?> getSystemClass()
インタフェース UserDefinedSystem の記述:
システムを定義したクラスを返します。

定義:
インタフェース UserDefinedSystem 内の getSystemClass
戻り値:
システムを定義したクラス
関連項目:
UserDefinedSystem.getSystemClass()

setInitializeFunction

public void setInitializeFunction(Method method)
                           throws SecurityException
インタフェース UserDefinedSystem の記述:
システムの初期化処理を定義したメソッドを設定します。

定義:
インタフェース UserDefinedSystem 内の setInitializeFunction
パラメータ:
method - システムの初期化処理を定義したメソッド
例外:
SecurityException - メソッドにアクセスする権利が無い場合
関連項目:
UserDefinedSystem.setInitializeFunction(java.lang.reflect.Method)

setParameterValue

public void setParameterValue(String name,
                              Object value)
                       throws NoSuchParameterException
インタフェース UserDefinedSystem の記述:
パラメータの値を設定します。

定義:
インタフェース UserDefinedSystem 内の setParameterValue
パラメータ:
name - パラメータの名前
value - パラメータの値
例外:
NoSuchParameterException - パラメータが存在しない場合、パラメータにアクセスできない場合
関連項目:
UserDefinedSystem.setParameterValue(java.lang.String, java.lang.Object)

setSystemClass

public void setSystemClass(Class<?> klass)
インタフェース UserDefinedSystem の記述:
システムを定義したクラスを設定します。

定義:
インタフェース UserDefinedSystem 内の setSystemClass
パラメータ:
klass - システムを定義したクラス
関連項目:
UserDefinedSystem.setSystemClass(java.lang.Class)

setUpdateFunction

public void setUpdateFunction(Method method)
                       throws SecurityException
インタフェース UserDefinedSystem の記述:
システムの更新処理を定義したメソッドを設定します。

定義:
インタフェース UserDefinedSystem 内の setUpdateFunction
パラメータ:
method - システムの更新処理を定義したメソッド
例外:
SecurityException - メソッドにアクセスする権利が無い場合
関連項目:
UserDefinedSystem.setUpdateFunction(java.lang.reflect.Method)

update

public void update()
            throws ParameterException
インタフェース UserDefinedSystem の記述:
パラメータを更新します。

定義:
インタフェース UserDefinedSystem 内の update
例外:
ParameterException - パラメータに関する問題がある場合
関連項目:
UserDefinedSystem.update()