差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
最新のリビジョン両方とも次のリビジョン
r:maintenance:condition_monitoring_with_two_dimension_state [2019/01/07 09:43] – [状態遷移行列の組み合わせ] watalur:maintenance:condition_monitoring_with_two_dimension_state [2019/01/07 09:57] watalu
行 178: 行 178:
 </code> </code>
 この表示された行列の意味を少し確認すること。 この表示された行列の意味を少し確認すること。
- 
-=== 状態指定取替 P.Age === 
- 
-ある状態でのみ取替を実行し、他の状態では何もしない行動を定義しておく。 
-<code> 
-mmdp_create.age.replacement.matrix = function(S,T.ast) { 
-  R.S = max(S)-min(S) 
-  n.S = length(S) 
-  if( R.S != n.S-1 ) { 
-    stop("state space is not regular and/or does not begin with 0.") 
-  } 
-  P = diag(rep(1,n.S)) 
-  P[T.ast+1,1] = 1 
-  P[T.ast+1,T.ast+1] = 0 
-  rownames(P) = S 
-  colnames(P) = S 
-  return(P) 
-} 
-</code> 
- 
-これも状態空間が0から4の場合に実行してみておく。 
- 
-<code> 
-> mmdp_create.age.replacement.matrix(c(0:4),3) 
-  0 1 2 3 4 
-0 1 0 0 0 0 
-1 0 1 0 0 0 
-2 0 0 1 0 0 
-3 1 0 0 0 0 
-4 0 0 0 0 1 
-</code> 
- 
-この行動は、通常の状態監視保全では現れないことを注意しておく。 
  
 ==== 状態遷移行列の組み合わせ ==== ==== 状態遷移行列の組み合わせ ====