cardinality constrained powerset, modification for unitary state failure mode sets
This commit is contained in:
parent
2469683b5d
commit
bb99fe83cd
16
fmmdset/Makefile
Normal file
16
fmmdset/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
#
|
||||
# Make the propositional logic diagram a paper
|
||||
#
|
||||
|
||||
|
||||
paper: paper.tex fmmdset_p.tex
|
||||
pdflatex paper.tex
|
||||
#dvipdf paper
|
||||
okular paper.pdf
|
||||
|
||||
|
||||
# Remove the need for referncing graphics in subdirectories
|
||||
#
|
||||
fmmdset_p.tex: fmmdset.tex
|
||||
cat fmmdset.tex | sed 's/fmmdset\///' > fmmdset_p.tex
|
@ -878,7 +878,45 @@ from $1$ to $cc$ thus
|
||||
% $$ {\sum}_{k = 1..cc} {\#S \choose k} = \frac{\#S!}{k!(\#S-k)!} $$
|
||||
%
|
||||
|
||||
$$ \#\mathcal{P}_{cc} S = \sum^{k}_{1..cc} \frac{\#S!}{k!(\#S-k)!} $$
|
||||
$$ \#\mathcal{P}_{cc} S = \sum^{k}_{1..cc} \frac{\#S!}{k!(\#S-k)!} $$
|
||||
|
||||
|
||||
|
||||
\subsection{Actual Number of combinations to check with Unitary State Fault mode sets}
|
||||
|
||||
Where all components analysed only have one fault mode, the cardinality constrained powerset
|
||||
calculation give the correct number of test case combinations to check.
|
||||
Because set of failure modes is constrained to be unitary state, the acual number will
|
||||
be less.
|
||||
|
||||
|
||||
What must actually be done is to subtract the number of component `internal combinations'
|
||||
from the cardinality constrain powerset number.
|
||||
|
||||
Thus were we to have a simple circuit with two components R and T, of which
|
||||
$FM(R) = {R_o, R_s}$ and $FM(T) = {T_o, T_s, T_h}$.
|
||||
For a cardinality constrained powerset of 2, because there are 5 error modes
|
||||
gives $\frac{5!}/{1!(5-1)!} + \frac{5!}{2!(5-2)!} = 15$. OK
|
||||
5 single fault modes, and ${2 \choose 5}$ ten double fault modes.
|
||||
However we know that the faults are mutually exclusive for a component.
|
||||
We must then subtract the number of `internal' component fault combinations.
|
||||
For component R there is only one internal component fault that cannot exist
|
||||
$R_o \wedge R_s$. As a combination ${2 \choose 2} = 1$ . For $T$ the component with
|
||||
three fault modes ${2 \choose 3} = 3$.
|
||||
Thus for $cc == 2$ we must subtract $(3+1)$.
|
||||
|
||||
Written as a general formula, where C is a set of the components (indexed by j where J
|
||||
is the set of componets under analyis) and $\#C$
|
||||
indicates the number of mutually exclusive fault modes the compoent has:-
|
||||
|
||||
%$$ \#\mathcal{P}_{cc} S = \sum^{k}_{1..cc} \frac{\#S!}{k!(\#S-k)!} $$
|
||||
|
||||
$$ \#\mathcal{P}_{cc} S = {\sum^{k}_{1..cc} \frac{\#S!}{k!(\#S-k)!}} - {\sum^{j}_{j \in J} {\#C_{j} \choose cc}} $$
|
||||
|
||||
|
||||
|
||||
%$$ \#\mathcal{P}_{cc} S = \sum^{k}_{1..cc} \big[ \frac{\#S!}{k!(\#S-k)!} - \sum_{j} (\#C_{j} \choose cc \big] $$
|
||||
|
||||
|
||||
\section{Future Ideas}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{tikz}
|
||||
\usepackage{amsfonts,amsmath}
|
||||
\input{style}
|
||||
\input{../style}
|
||||
|
||||
\begin{document}
|
||||
\pagestyle{fancy}
|
||||
|
@ -1,138 +0,0 @@
|
||||
%
|
||||
%============= Definition of {asyoulikeit} page style ======================*
|
||||
%
|
||||
% Jonathan Burch This is the terse form - expanded, formatted,
|
||||
% 20-Jan-1989 commented version in TEX$LATEX:ASYOULIKEIT.FULL
|
||||
%
|
||||
\catcode`\@=11\def\ps@asyoulikeit{\def\@oddhead{\hbox{}\lp@innerhead
|
||||
\lp@headfill\lp@middlehead\lp@headfill\lp@outerhead}\def\@evenhead
|
||||
{\hbox{}\lp@outerhead\lp@headfill\lp@middlehead\lp@headfill\lp@innerhead}
|
||||
\def\@oddfoot{\hbox{}\lp@innerfoot\lp@footfill\lp@middlefoot\lp@footfill
|
||||
\lp@outerfoot}\def\@evenfoot{\hbox{}\lp@outerfoot\lp@footfill\lp@middlefoot
|
||||
\lp@footfill\lp@innerfoot}\def\sectionmark##1{}\def\subsectionmark##1{}}
|
||||
\def\lp@innerhead{}\def\lp@middlehead{}\def\lp@outerhead{}\def\lp@innerfoot{}
|
||||
\def\lp@middlefoot{ {\thepage} }\def\lp@outerfoot{}\def\lp@headfill{\hfil}
|
||||
\def\lp@footfill{\hfil}\newcommand{\lp@linefill}{\leaders\hrule height 0.55ex
|
||||
depth -0.5ex\hfill}\newcommand{\innerhead}[1]{\def\lp@innerhead{#1}}
|
||||
\newcommand{\middlehead}[1]{\def\lp@middlehead{#1}}\newcommand{\outerhead}[1]
|
||||
{\def\lp@outerhead{#1}}\newcommand{\innerfoot}[1]{\def\lp@innerfoot{#1}}
|
||||
\newcommand{\middlefoot}[1]{\def\lp@middlefoot{#1}}\newcommand{\outerfoot}[1]
|
||||
{\def\lp@outerfoot{#1}}\newcommand{\lineheadfill}{\def\lp@headfill
|
||||
{\lp@linefill}}\newcommand{\linefootfill}{\def\lp@footfill{\lp@linefill}}
|
||||
\newcommand{\blankheadfill}{\def\lp@headfill{\hfill}}\newcommand
|
||||
{\blankfootfill}{\def\lp@footfill{\hfill}}\newcommand{\documentnumber}[1]
|
||||
{\def\lp@docno{#1}\outerhead{\lp@docno}}\def\lp@docno{}\def\@maketitlet
|
||||
{\newpage\null\vskip -14ex\hbox{}\hfill\lp@docno\vskip 13ex\begin{center}
|
||||
{\LARGE\@title\par}\vskip 1.5em{\large\lineskip .5em\begin{tabular}[t]{c}
|
||||
\@author\end{tabular}\par}\vskip 1em{\large\@date}\end{center}\par\vskip 3em}
|
||||
\def\abstract{\if@twocolumn\section*{Abstract}\else\small\begin{center}
|
||||
{\bf Abstract\vspace{-.5em}\vspace{0pt}}\end{center}\quotation\fi}\def
|
||||
\endabstract{\if@twocolumn\else\endquotation\fi}\ps@asyoulikeit\catcode`\@=12
|
||||
%
|
||||
%=========== End of {asyoulikeit} page style definition ====================*
|
||||
|
||||
\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
|
||||
\DeclareMathSymbol{\N}{\mathbin}{AMSb}{"4E}
|
||||
\DeclareMathSymbol{\Z}{\mathbin}{AMSb}{"5A}
|
||||
\DeclareMathSymbol{\R}{\mathbin}{AMSb}{"52}
|
||||
\DeclareMathSymbol{\Q}{\mathbin}{AMSb}{"51}
|
||||
\DeclareMathSymbol{\I}{\mathbin}{AMSb}{"49}
|
||||
\DeclareMathSymbol{\C}{\mathbin}{AMSb}{"43}
|
||||
|
||||
|
||||
% Page layout definitions to suit A4 paper
|
||||
\setcounter{secnumdepth}{3} \setcounter{tocdepth}{4}
|
||||
\setlength{\topmargin}{0mm}
|
||||
\setlength{\textwidth}{160mm} \setlength{\textheight}{220mm}
|
||||
\setlength{\oddsidemargin}{0mm} \setlength{\evensidemargin}{0mm}
|
||||
%
|
||||
% Local definitions
|
||||
% -----------------
|
||||
\newcommand{\eg}{{\it e.g.}}
|
||||
\newcommand{\etc}{{\it etc.}}
|
||||
\newcommand{\ie}{{\it i.e.}}
|
||||
\newcommand{\qv}{{\it q.v.}}
|
||||
\newcommand{\viz}{{\it viz.}}
|
||||
\newcommand{\degs}[1]{$#1^\circ$} % Degrees symbol
|
||||
\newcommand{\mins}[1]{$#1^{\scriptsize\prime}$} % Minutes symbol
|
||||
\newcommand{\secs}[1]{$#1^{\scriptsize\prime\prime}$} % Seconds symbol
|
||||
\newcommand{\key}[1]{\fbox{\sc#1}} % Box for keys
|
||||
\newcommand{\?}{\_\hspace{0.115em}} % Proper spacing for
|
||||
% underscore
|
||||
%----- Display example text (#1) in typewriter font
|
||||
|
||||
%\newcommand{\example}[1]{\\ \smallskip\hspace{1in}{\tt #1}\hfil\\
|
||||
% \smallskip\noindent}
|
||||
%
|
||||
%----- Enclose text (#2) in ruled box of given thickness (#1)
|
||||
|
||||
\def\boxit#1#2{\vbox{\hrule height #1pt\hbox{\vrule width #1pt\hskip 5pt
|
||||
\vbox{\vskip 5pt #2 \vskip 5pt}\hskip 5pt
|
||||
\vrule width #1pt}\hrule height #1pt}}
|
||||
|
||||
%----- Display boxed warning text (#1)
|
||||
|
||||
\def\warning#1{\bigskip
|
||||
\setbox1=\vbox{\tolerance=5000\parfillskip=0pt
|
||||
\hsize=3in\noindent#1}
|
||||
\centerline{\boxit{1.0}{\box1}}
|
||||
\bigskip}
|
||||
|
||||
%----- Definitions to aid display of help text
|
||||
% (modelled on \item and \itemitem)
|
||||
|
||||
\def\helpindent#1{\setbox2=\hbox to\parindent{{\it #1}\hfil}
|
||||
\indent\llap{\box2}\ignorespaces}
|
||||
\def\helpitem{\parindent=70pt\par\hang\helpindent}
|
||||
\def\helpitemitem{\parindent=70pt\par\indent \parindent=80pt
|
||||
\hangindent2\parindent \helpindent}
|
||||
|
||||
%----- Tables and footnotes to tables
|
||||
%
|
||||
\newcommand{\spacerA}{\rule{0mm}{4mm}}
|
||||
\newcommand{\spacerB}{\rule[-2mm]{0mm}{5mm}}
|
||||
\footnotesep=5mm
|
||||
\renewcommand{\footnoterule}{{\small Notes:}}
|
||||
|
||||
%% Robin 01AUG2008
|
||||
%%
|
||||
|
||||
\newcounter{examplec}
|
||||
\newcounter{definitionc}
|
||||
\newcounter{summaryc}
|
||||
|
||||
%\@addtoreset{examplec}{chapter}\renewcommand\theexamplec{\thechapter.arabic{examplec}}
|
||||
%\@addtoreset{definitionc}{chapter}
|
||||
%\@addtoreset{summaryc}{chapter}
|
||||
|
||||
%\renewcommand\examplec{\arabic{examplec}}
|
||||
|
||||
%\newenvironment{example}
|
||||
%{
|
||||
% \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:\normalfont\[{\arabic{chapter}.\arabic{examplec}}\]
|
||||
% \normalfont \begin{quote}}{\end{quote}\par}
|
||||
%\newenvironment{definition}
|
||||
%\newenvironment{example}
|
||||
%{
|
||||
% \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:\normalfont\[{\arabic{chapter}.\arabic{examplec}}\]
|
||||
% \normalfont \begin{quote}}{\end{quote}\par}
|
||||
\usepackage{amsthm}
|
||||
|
||||
\newtheorem{example}{Example:}[examplec]
|
||||
|
||||
\newtheorem{definition}{Definition:}[examplec]
|
||||
\newtheorem*{summary}{Summary:}
|
||||
|
||||
%\newenvironment{example}
|
||||
%{ \stepcounter{examplec} \vspace{10pt} \normalfont\bfseries Example:(\arabic{chapter}.\arabic{examplec})
|
||||
% \normalfont \begin{quote}}{\end{quote}\par}
|
||||
|
||||
%
|
||||
%\newenvironment{definition}
|
||||
%{ \stepcounter{definitionc} \vspace{10pt} \normalfont\bfseries Definition:(\arabic{chapter}.\arabic{definitionc})
|
||||
% \normalfont \begin{quote}}{\end{quote}\par}
|
||||
%
|
||||
%\newenvironment{summary}
|
||||
%{ \vspace{10pt} \normalfont\bfseries Summary:
|
||||
% \normalfont \begin{quote}}{\end{quote}\par}
|
||||
%
|
Loading…
Reference in New Issue
Block a user