

\documentclass[compress,red]{beamer}

% This file is a solution template for:

% - Talk at a conference/colloquium.
% - Talk length is about 20min.
% - Style is ornate.



% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice. 


\mode<presentation>
{
  %\usetheme{Madrid}
  \usetheme{Warsaw}
  % or ...
  %\usetheme{Berkeley}   % left bar
  %\usetheme{Antibes} % tree header
  %\usetheme{Boadilla}  % very plain
  %\usetheme{Warsaw}
  %\usetheme{Rochester} % I like
  %\usetheme{Goettingen}  % right bar
  %\usetheme{Ilmenau}

\usecolortheme{lily}

  %\usepackage{beamerouterthemeshadow}
  %\usepackage{beamerouterthemesmoothtree}
  \usepackage{beamercolorthemeorchid}
  %\usepackage{beamerinnerthemerounded}
  \usepackage{beamerthemeshadow}
  \setbeamercovered{transparent}
  % comment out to completely hide covered material



  %\setbeamercovered{transparent}
  % or whatever (possibly just delete it)
}

\usepackage{wmff}

\usepackage[english]{babel}
% or whatever

\usepackage[latin1]{inputenc}
% or whatever

\usepackage{times}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.


\title % (optional, use only with long paper titles)
{Object Oriented Simulation}

\subtitle
{Activity Diagrams}

\author%[Author, Another] % (optional, use only with lots of authors)
{Jos\'e M. Garrido C.}
% \inst{1} 
% \and S.~Another\inst{2}}
% - Give the names in the same order as the appear in the paper.
% - Use the \inst{?} command only if the authors have different
%   affiliation.

\institute[Kennesaw State University] % (optional, but mostly needed)
{
  %\inst{1}%
  Department of Computer Science\\
  Kennesaw State University
%  \and
%  \inst{2}%
%  Department of Theoretical Philosophy\\
%  University of Elsewhere
}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.

\date % (optional, should be abbreviation of conference name)
{Spring, 2017}
% - Either use conference name or its abbreviation.
% - Not really informative to the audience, more for people (including
%   yourself) who are reading the slides online

\subject{Applied Computer Science, Simulation}
% This is only inserted into the PDF information catalog. Can be left
% out. 



% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:

\pgfdeclareimage[height=0.17in]{university-logo}{ksu-1.png}
\logo{\pgfuseimage{university-logo}}



% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
%\AtBeginSubsection[]
%{
%  \begin{frame}<beamer>{Outline}
%    \tableofcontents[currentsection,currentsubsection]
%  \end{frame}
%}


% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 

%\beamerdefaultoverlayspecification{<+->}


\begin{document}

\begin{frame}
  \titlepage
\end{frame}

%\begin{frame}{Outline}
%  \tableofcontents
  % You might wish to add the option [pausesections]
%\end{frame}


% Structuring a talk is a difficult task and the following structure
% may not be suitable. Here are some rules that apply for this
% solution: 

% - Exactly two or three sections (other than the summary).
% - At *most* three subsections per section.
% - Talk about 30s to 2min per frame. So there should be between about
%   15 and 30 frames, all told.

% - A conference audience is likely to know very little of what you
%   are going to talk about. So *simplify*!
% - In a 20min talk, getting the main ideas across is hard
%   enough. Leave out details, even if it means being less precise than
%   you think necessary.
% - If you omit details that are vital to the proof/implementation,
%   just say so once. Everybody will be happy with that.



%\section{Our Results/Contribution}

%\subsection{Main Results}


%\subsection{Basic Ideas for Proofs/Implementation}



\section{Activity Diagrams}

\begin{frame}{Activity Diagrams}

\begin{block}{}
These diagrams help describe the operations of the processes involved and the synchronization\index{synchronization} that is present when processes interact with each other.
\end{block}
\pause
\begin{block}{}
Car processes enter a queue and transition to the idle state. The machine process removes a car process from the queue to service it. All queues are passive objects and are different from the processes.

\end{block}
\end{frame}


\begin{frame}{Activity Symbols}
\begin{block}{}
The flow of control in the diagram is composed of a sequence of symbols that denote different type of activities and synchronization actions, all joined by lines and arrows. 
\end{block}
\begin{block}{}
A general activity is represented by a rectangular box; the label in the box is the name of the activity. This activity symbol is usually called a {\em delay} because a finite interval elapses  while the activity is carried out and before the process can proceed to the next activity.  The arrows show the direction of the flow activity sequence.
\end{block}
\end{frame}

\begin{frame}{Activity Symbols}
\begin{figure}
\centereps{3.5in}{2.4in}{figs/symbad1.png}
%\caption{Activity symbols}
%\label{fig:sact1}
%\vskip\baselineskip
\end{figure}
\end{frame}



\begin{frame}{Activity Symbols}

\begin{block}{}
\begin{itemize}
  \item The lower semicircle with a bar below a
process name, indicates the start of a process life cycle. 
  \item The lower semicircle symbol also indicates reactivation of  the activity sequence; this symbol can also have an arrow in a non-vertical inclination that shows synchronization with another process.
  \item
The inverted form of this symbol indicates the termination of the process. 
  \item The upper semicircle indicates that the object enters its idle state
  \item a possible arrow in a non vertical inclination denotes the synchronization with another process.
\end{itemize}
\end{block}
\end{frame}


\begin{frame}{Interaction Symbols}
\begin{block}{}
\begin{itemize}
\item 
Process interaction symbols indicate signals and direct synchronization among processes. 
\item The {\em synchronization send} denotes when a signal is sent to a condition queue. 
\item This symbol can also denote an interrupt\index{interrupt} to another process.
\item This symbol can also be used to send an item to a queue. 
\item The {\em synchronization receive} indicates an item being received from a queue.
\end{itemize}
\end{block}
\end{frame}

\begin{frame}{Interaction Symbols (2)}
\begin{block}{}
\begin{itemize}
\item
The symbols for {\em cooperate} describe the effect of the cooperation among processes. 
\item The symbol for {\em schedule}\index{schedule} describe a process that schedules itself or another process after some time interval
\item This symbol can also denote the reactivation of another process.
\end{itemize}
\end{block}
\end{frame}


\begin{frame}{Interaction Symbols}
\begin{figure}
\centereps{3.0in}{2.93in}{figs/symbad2.png}
%\caption{Process interaction symbols}
%\label{fig:sact2}
%\vskip\baselineskip
\end{figure}
\end{frame}



\begin{frame}{Activity Diagram of the Carwash Model}
\begin{figure}
\centereps{2.25in}{3.0in}{figs/cwactd.png}
%\caption{Activity diagram of the Carwash model}
%\label{fig:cwactd}
%\vskip\baselineskip
\end{figure}
\end{frame}

\end{document}
