diff --git a/branches/candidate/00Abstract.tex b/branches/candidate/00Abstract.tex new file mode 100644 index 0000000..1db8aed --- /dev/null +++ b/branches/candidate/00Abstract.tex @@ -0,0 +1,5 @@ +\begin{abstract} + +In a IoT environment, many devices will periodically transmit data. However, most of the data are redundant, but sensor itself may not have a good standard to decide to send or not. Some static rule maybe useful on specific scenario, and become ineffective when we change the usage of the sensor. Hence, we design an algorithm to solve the problem of data redundant for IoT devices. In the algorithm, we iteratively separate a data region into some smaller regions. Each round, choose a region with highest variability, and separate it into four regions. Finally, each region has different size and uses its average value to represent itself. If an area has more dynamical diverse data, the density of regions will be higher. In this paper, we present a method to reduce the file size of thermal sensor which can sense the temperature of a surface and outputs a two dimension gray scale image. In our evaluation result, we can reduce the file size to $50\%$ less than JPEG when $0.5\%$ of distortion is allowed, and up to $93\%$ less when $2\%$ of distortion is allowed. + +\end{abstract} diff --git a/branches/candidate/01Introduction.tex b/branches/candidate/01Introduction.tex new file mode 100644 index 0000000..375098d --- /dev/null +++ b/branches/candidate/01Introduction.tex @@ -0,0 +1,32 @@ +\section{Introduction} +\label{sec:introduction} + + + +Walking exercises the nervous, cardiovascular, pulmonary, musculoskeletal and hematologic systems because it requires more oxygen to contract the muscles. Hence, {\it gait velocity}, or called {\it walking speed}~\cite{Middleton2015}, has become a valid and important metric for senior populations~\cite{Middleton2015,studenski2011,Studenski03}. + +In 2011, Studenski et al~\cite{studenski2011} published a study that tracked gait velocity of over 34,000 seniors from 6 to 21 years in US. The study found that predicted survival rate based on age, sex, and gait velocity was as accurate as predicted based on age, sex, chronic conditions, smoking history, blood pressure, body mass index, and hospitalization. Consequently, it has motivated the industrial and academia communities to develop the methodology to track and assess the risk based on gait velocity. The following years have led to many papers that point to the importance of gait velocity as a predictor of degradation and exacerbation events associated with various chronic diseases including heart failure, COPD, kidney failure, stroke, etc~\cite{Studenski03, pulignano2016, Konthoraxjnl2015, kutner2015}. + +In the US, there are 13 million seniors who live alone at home~\cite{profile2015}. Gait velocity and stride length are particularly important in this case since they provide an assessment of fall risk, the ability to perform daily activities such as bathing and eating, and hence the potential for being independent. Assessment of gait velocity is recommended to instruct the subjects to walk back and forth in a 5, 8 or 10 meter walkway. Similar results were found in a study comparing a 3 meter walk test to the GAITRite electronic walkway in individuals with chronic stroke~\cite{Peters2013}. + +The above approaches are conducted either at the clinical institutes or designated locations. They are recommended by the physicians but are required to be conducted at limited time and location. Consequently, it is difficult to observe the change in long term. It is desirable for the elderly, their family members, and physicians to monitor gait velocity for the elderly all the time at any location. However, the assessment should take into account several factors, including accuracy, privacy, portability, robustness, and applicability. + +Shih and his colleagues~\cite{Shih17b} proposed a sensing system to be installed at home or nursing institute without revealing privacy and not using wearable devices. Given the proposed method, one may deploy several thermal sensors in his/her apartments as shown in Figure~\ref{fig:gaitVelocitySmartHome}. In this example, numbers of thermal sensors are deployed to increase the coverage of the sensing signals. In large spaces such as living room, there will be more than one sensor in one space; in small spaces such as corridor, there can be only one sensor. One fundamental question to ask is how many sensors should be deployed and how these sensors work together seamlessly to provide accurate gait velocity measurement. +\begin{figure}[ht] + \centering + \includegraphics[trim={1cm 3cm 2cm 2cm},clip,width=1\columnwidth]{figures/ThermalAtHome.pdf} + \caption{Gait Velocity Measurement at Smart Homes} + \label{fig:gaitVelocitySmartHome} +\end{figure} + +In a IoT environment, many devices will periodically transmit data. Some sensors are used for avoid accidents, so they will have very high sensing frequency. However, most of the data are redundant. Like a temperature sensor on a gas stove, the temperature value is the same as the value from air conditioner and does not change very frequently, but it will have dramatically difference when we are cooking. We can simply make a threshold that when temperature is higher or lower than some degrees, the data will be transmitted, and drop the data that we don't interest. This is a very easy solution if we only have a few devices, but when we have hundreds or thousands devices, it is impossible to manually configure all devices, and the setting may need to change in the winter and summer, or different location. + +In this paper, we study the data from Panasonic Grid-EYE, a $8 \times 8$ pixels infrared array sensor, and FLIR ONE PRO, a $480 \times 640$ pixels thermal camera. Both are setting on ceiling and taking a video of a person walking under the camera. + +In Figure~\ref{fig:gaitVelocitySmartHome}, there are fifteen thermal sensor in a house. If they are Panasonic Grid-EYE, it will have 2 bytes per pixel, 64 pixels per frame, 10 frames per second, and total need 1.7GB storage space per day. If they are FLIR ONE PRO, it generates 5 frames per second but needs about 45KB per frame, and it will need 291.6GB everyday. + +{\bf Contribution} The target of our work is to compress the thermal data retrieved from FLIR ONE PRO to targeted data size and keep the quality of data. Nearby pixels in a thermal data mostly have similar value, so we can easily separate an data region into several regions and use its average value to represent it but will not cause too much error. By the method we proposed, the size of file can reduce more than $50\%$ compare to using JPEG compression algorithm when both have $0.5\% (0.18^\circ C)$ of root-mean-square error. + +The remaining of this paper is organized as follow. Section~\ref{sec:bk_related} presents related works and background for developing the methods. Section~\ref{sec:design} presents the system architecture, challenges, and the developed mechanisms. Section~\ref{sec:eval} presents the evaluation results of proposed mechanism and Section~\ref{sec:conclusion} summaries our works. + + \ No newline at end of file diff --git a/branches/candidate/02Background.tex b/branches/candidate/02Background.tex new file mode 100644 index 0000000..b671e93 --- /dev/null +++ b/branches/candidate/02Background.tex @@ -0,0 +1,45 @@ +\section{Background and Related Works} +\label{sec:bk_related} + +\subsection{Panasonic Grid-EYE Thermal Sensor} +First, we study the sensor Panasonic Grid-EYE which is a thermal camera that can output $8 \times 8$ pixels thermal data with $2.5^\circ C$ accuracy and $0.25^\circ C$ resolution at $10$ frames per second. In normal mode, the current consumption is 4.5mA. It is a low resolution camera and infrared array sensor, so we install it in our house at ease without some privacy issue that may cause by a surveillance camera. + +When someone walks under a Grid-EYE sensor, we will see some pixels with higher temperature than others. Figure~\ref{fig:GridEye} shows an example of thermal from Grid-EYE sensor. The sensor signal will form a signal cone. The pixel sampling our head temperature will have the highest reading, body is lower, and leg is the lowest except background because when the distance from camera to our body is longer, the area covered by the camera will be wider and the ratio of background temperature in the pixel will increase, also our head does not cover by cloth, so the surface temperature will higher than other place. While we are walking in an area, the temperature of air in the area will become warmer, and the shape of human will be more difficult to recognize. + +\begin{figure}[htbp] + \centering + \includegraphics[width=\columnwidth]{figures/GridEye.pdf} + \caption{Walking under a Grid-EYE sensor} + \label{fig:GridEye} +\end{figure} + +Figure~\ref{fig:GridEyeData} shows an example output of Grid-EYE sensor. + +\begin{figure}[htbp] + \centering + \includegraphics[width=\columnwidth]{figures/GridEYEData.pdf} + \caption{Output Data from Grid-EYE} + \label{fig:GridEyeData} +\end{figure} + +\subsection{FLIR ONE PRO} + +FLIR ONE PRO is a thermal camera that can output $480 \times 640$ pixels thermal data with $3^\circ C$ accuracy and $0.01^\circ C$ resolution, and capture speed is about 5 frames per second. In picture taking mode, it can retrieve the precise data from the header of picture file. However, in the video taking mode, it only store a gray scale video and show the range of temperature on the monitor. Hence, we use the data from picture taking mode as our test object. The data form FLIR ONE PRO has about $5000$ times resolution compared to Grid-EYE. The shape of object is not just a cone. The temperature in a same object is similar, but an Obvious edge between different objects. Hence, we developed a method to compress the thermal data from FLIR PRO ONE. It can also treat as a normal image and be stored as jpeg, png, etc. + +\subsection{Raspberry Pi 3} + +We use Raspberry Pi 3 as our testing environment. It has a 1.2 GHz 64-bit quad-core ARM Cortex-A53 CPU, 1 GB memory, and 802.11n wireless network. We run a Debian-based Linux operating system on it. While it is idle and turning off WiFi, it will consume 240mA and while uploading data at 24Mbit/s, it will consume 400mA. + +\subsection{Simple Data Compressing} + +If we save a frame from Grid-EYE in a readable format, it will take about 380 bytes storage. However, the temperature range of indoor environment mostly from $5^\circ C$ to $40^\circ C$ and the resolution of Grid-EYE is $0.25^\circ C$, so we can easily represent each temperature by one byte. Hence, we only need $64$ bytes to store a frame. We can use different ways to compress the frame. + +\subsubsection{Huffman Coding} +Huffman coding is a lossless data compressing. In average, it can reduce the frame size from $64$ bytes to $40.7$ bytes with $6$ bytes standard deviation. + +\subsubsection{Z-score Threshold} +We can only send the pixels with higher temperature since thermal sensors are mostly used for detect heat source. Z-score is defined as $z = \frac{\chi - \mu}{\sigma}$ where $\chi$ is the value of the temperature, $\mu$ is the average of the temperature and $\sigma$ is the standard deviation of the temperature. In our earlier work~\cite{Shih17b}, we use Z-score instead of a static threshold to detect human because the background temperature may have a $10^\circ C$ difference between day and night, and when people walk through the sensing area the Grid-EYE, the temperature reading will only increase $2^\circ C$ to $3^\circ C$. Hence, it is impossible to use a static threshold to detect human. In~\cite{Shih17b}, the pixels with useful data only if the Z-score is higher than $2$, so we can reduce the frame size by dropping all pixels with Z-score lower than $2$. We can reduce the file size from $64$ bytes to $12.6$ bytes with $2.9$ bytes standard deviation by Z-score threshold $2$ and compress by Huffman coding. + +\subsubsection{Gaussian Function Fitting} +Since the temperature readings of human body in a thermal data from Grid-EYE looks like a signal cone, we may use a Gaussian function to fit the thermal data. A Gaussian function $y = Ae^{-(x-B)^2/2C^2}$ has three parameter $A$, $B$ and $C$. The parameter $A$ is the height of the cone, $B$ is the position of the cone's peak and $C$ controls the width of the cone. We use the pixel with highest temperature to be the peak of the cone, so we only need to adjust $A$ and $C$ to fit the thermal data. Guo~\cite{guo2011simple} provides a fast way to determine the fitting Gaussian function. In our testing, it will have $0.5^\circ C$ root-mean-square error in average, and only needs $5$ bytes to store the position of peak and two parameters. + diff --git a/branches/candidate/03Design.tex b/branches/candidate/03Design.tex new file mode 100644 index 0000000..2384ae6 --- /dev/null +++ b/branches/candidate/03Design.tex @@ -0,0 +1,129 @@ +\section{Data Size Decision Framework} +\label{sec:design} + +This section presents the proposed method to generate a data array that has less size compared to jpeg image when some of distortion is allowed. We use the thermal data from FLIR ONE PRO. + +The nearby pixels usually have similar values, except at the edge of objects. Hence, we can divide an image into several regions, and the pixels in a same region has similar value so we can use the average value to represent it and do not cause too much error. However, precisely divide an image into some polygon region needs a lot of computation power and difficult to describe the edge of each region. Also, determining the number of region is a challenge. Hence, to effectively describe regions we design that every region most be a rectangle, and every region can divide into 4 regions by cut in half at the middle of horizontal and vertical. The image will start from only contains one region, and 3 regions will be added per round since we divide a region into 4 pieces. + +Our method is shown in Figure~\ref{fig:SystemArchitecture}. Data structure initialization only needs to do once if the size of a frame doesn't change. A thermal data will be loaded into our data structure and divide into several regions. Finally, the compressed data will be encoded by Huffman coding, and transmitted to database. When users want to use the thermal data, they can restore the data from the encoded data in database. + +\begin{figure}[htbp] + \centering + \includegraphics[width=\columnwidth]{figures/SystemArchitecture.pdf} + \caption{System Architecture} + \label{fig:SystemArchitecture} +\end{figure} + +\subsection{Region Represent Grammar} + +For each frame, we can use a context-free language to represent it. +\begin{center} +\begin{tabular}{rl} + $S \rightarrow\ $ & $R$ \\ + $R \rightarrow\ $ & $\alpha$\\ + $R \rightarrow\ $ & $\beta RRRR$ +\end{tabular} +\end{center} + +$R$ refers to a region of frame, and it can either use the average $\alpha$ of the pixels in the region to represent the whole region or divide into four regions and left a remainder $\beta$. Dependence on size of compressed data, we can choose the amount of dividing regions. The context-free grammar starts from a region containing whole frame. For each $R$ we calculate a score based on the data the quality of data we can improve by dividing it into smaller regions. Figure~\ref{fig:pngImage} shows an example of thermal data which was took by FLIR ONE PRO. One of the possible outcome is Shown in Figure~\ref{fig:SeparateImage} if we divide the frame 6 times and it will have 19 regions. By this method, we can iteratively compress the thermal data until the number of regions reach our file size requirement or the error rate is less than the requirement. + + +\begin{figure}[ht] + \begin{minipage}[b]{0.45\linewidth} + \centering + \includegraphics[width=\linewidth]{figures/real.png} + \caption{PNG image, size = 46KB} + \label{fig:pngImage} + \end{minipage} + \hspace{0.05\linewidth} + \begin{minipage}[b]{0.45\linewidth} + \centering + \includegraphics[width=\linewidth]{figures/separate.png} + \caption{Region divided by our method} + \label{fig:SeparateImage} + \end{minipage} +\end{figure} + +\subsection{Data Structure and Region Selection Algorithm} + +To help us choose which region to be divided, we give every region a score, and put them into a heap. For each round, we pick the region with the highest score, and divide it into four subregions, calculate the score of subregions, and put them into the heap. We use the sum of square error of pixels in the region $R$ as the score of the region. + +\begin{center} +\begin{tabular}{rl} + $\mu = $ & $E(R)$\\ + $Score = $ & $\sum\limits_{X\in R} (X-\mu)^2$\\ + $= $ & $\sum\limits_{X\in R} X^2 - |R|\mu^2$ +\end{tabular} +\end{center} + +By the equation shown above, we just need to know the sum of square and the sum of all pixels in the region to calculate the score of the region. We use a 4-dimension segment tree as a container to store all possible regions and its scores. Since segment tree is a complete tree, the size of tree is less than 2 times the number if pixels. For each node of segment tree, it records the range on both width and height it covered, sum $\sum\limits_{X\in R} X$, and sum of square $\sum\limits_{X\in R} X^2$ of pixels in the region. The root of segment tree starts is node number $0$, and each node $i$ has four child from node number from $i\times 4+1$ to $i\times 4+4$. Hence, we only need to allocate a large array and recursively process all nodes form root. Algorithm~\ref{code:SegmentTreePreprocess} shows how we generate the tree and calculate the sum of square and the sum of all nodes. + +\begin{algorithm*}[h] + \caption{Segment Tree Preprocess} + \label{code:SegmentTreePreprocess} + \begin{algorithmic}[1] + \State $Tree = Array()$ + \Function{setTreeNode}{$x, left, right, top, bottom$} + \If {$left = right$ \and $top = bottom$} + \State $Tree[x].Sum = Frame[left][top]$ + \State $Tree[x].SquareSum = Frame[left][top]^2$ + \Else + \State $setTreeNode(4x+1, left, (left+right)/2, top, (top+bottom)/2)$ + \State $setTreeNode(4x+2, (left+right)/2, right, top, (top+bottom)/2)$ + \State $setTreeNode(4x+3, left, (left+right)/2, (top+bottom)/2, bottom)$ + \State $setTreeNode(4x+4, (left+right)/2, right, (top+bottom)/2, bottom)$ + \State $Tree[x].Sum = \sum\limits_{i = 4x+1}^{4x+4} Tree[i].sum $ + \State $Tree[x].SquareSum = \sum\limits_{i = 4x+1}^{4x+4} Tree[i].SquareSum$ + \EndIf + \State $Tree[x].SquaredError = Tree[x].SquareSum - \frac{Tree[x].Sum^2}{(right-left+1)\times(bottom-top+1)}$ + \EndFunction + \State $setTreeNode(0, 0, Frame.Width, 0, Frame.Height)$ + \end{algorithmic} +\end{algorithm*} + +For region selection, we use a priority queue to retrieve the region of considerate regions with highest score. The priority queue is made by heap, and start with only root of the segment tree. For each round the priority queue pop the item with highest score and push all its child in to the queue. + +The compressed data size is depended on how many iterations of dividing the regions. The compressed data size will be about the number of iterations times four bytes. Algorithm~\ref{code:RegionSpecifiedSize} shows how we divide regions until specified data size. + +\begin{algorithm*}[h] + \caption{Dividing regions depends on compressed data size} + \label{code:RegionSpecifiedSize} + \begin{algorithmic}[1] + \State $seperatedRegions = Array()$ + \State $PriorityQueue = Heap()$ + \State $PriorityQueue.Push(Tree[0].SquaredError, 0)$ + \For{$i = 0..NumberOfIterations$} + \State $value, x = PriorityQueue.Pop()$ + \State $seperatedRegions.push(x)$ + \For{$j = 1..4$} + \State $PriorityQueue.Push(Tree[4x+j].SquaredError, 4x+j)$ + \EndFor + \EndFor + \end{algorithmic} +\end{algorithm*} + +The error rate of the compressed data is the sum of the squared error of regions in priority queue. Algorithm~\ref{code:RegionSpecifiedError} shows how we divide regions until specified RMSE. + +\begin{algorithm*}[h] + \caption{Dividing regions depends on compressed data RMSE} + \label{code:RegionSpecifiedError} + \begin{algorithmic}[1] + \State $seperatedRegions = Array()$ + \State $PriorityQueue = Heap()$ + \State $PriorityQueue.Push(Tree[0].SquaredError, 0)$ + \State $SquaredError = Tree[0].SquaredError$ + \While{$\sqrt{(SquaredError/FrameSize)} > SpecifiedRMSE$} + \State $value, x = PriorityQueue.Pop()$ + \State $seperatedRegions.push(x)$ + \State $SquaredError$ -= $value$ + \For{$j = 1..4$} + \State $PriorityQueue.Push(Tree[4x+j].SquaredError, 4x+j)$ + \State $SquaredError$ += $Tree[4x+j].SquaredError$ + \EndFor + \EndWhile + \end{algorithmic} +\end{algorithm*} + +After the region dividing finished, we will generate the data string to be sent. The regions in $seperatedRegions$ will be replaced by a reminder for dividing and others in $PriorityQueue$ will be the average sensor reading in the region, and then compress the string by Huffman Coding. + +The complexity of our algorithm can be divided into 3 parts. First part is to initialize the segment tree. The size of segment is depends on the size of the frame. If the number of pixels is $N$, the height of segment tree is $O(Nlog(N))$, and the number of nodes will be $O(N)$. The time complexity of initialize is $O(N)$. Second part is loading the thermal data. It will need to traverse whole tree from leaf to root. Since segment tree can be stored in an array, it also takes $O(N)$ time to load the thermal data. Third part is to divide regions. For each round, we pop an element from heap and push four elements into heap. If there is $K$ iterations, the size of heap will be $3K+1$. Time complexity of pop and push will be $O(log(K))$, and do it $5K$ times will be $O(Klog(K))$. diff --git a/branches/candidate/04Evaluation.tex b/branches/candidate/04Evaluation.tex new file mode 100644 index 0000000..1b1c030 --- /dev/null +++ b/branches/candidate/04Evaluation.tex @@ -0,0 +1,50 @@ +\section{Performance Evaluation} +\label{sec:eval} + +To evaluate the effectiveness of the proposed method, we did the different ratios of compressing on a thermal data by our method compared to JPEG image using different quality and png image, a lossless bit map image. We set the camera at the ceiling and view direction is perpendicular to the ground, and the thermal data size is $480 \times 640$ pixels. The JPEG image is generated by OpenCV $3.3.0$ which is using libjpeg version 9 13-Jan-2013, and image quality from $1$ to $99$. + +Figure~\ref{fig:4KMy} and Figure~\ref{fig:4KJpeg} show the different of JPEG and our method. JPEG image id generated by image quality level $3$, and thermal data of our method does $1390$ rounds of separate and compressed by Huffman Coding. In this case, Huffman Coding can reduce $39\%$ of compressed data size. + +\begin{figure}[ht] + \begin{minipage}[b]{0.45\linewidth} + \centering + \includegraphics[width=\linewidth]{figures/my4000.png} + \caption{Data compressed by Proposed Method (4KB)} + \label{fig:4KMy} + \end{minipage} + \hspace{0.05\linewidth} + \begin{minipage}[b]{0.45\linewidth} + \centering + \includegraphics[width=\linewidth]{figures/quality3.jpg} + \caption{Data compressed by JPEG (4KB)} + \label{fig:4KJpeg} + \end{minipage} +\end{figure} + +Figure~\ref{fig:compareToJpeg} shows that the size of file can reduce more than $50\%$ compared to JPEG image when both have $0.5\% (0.18^\circ C)$ of root-mean-square error. Our method has $82\%$ less error rate when the compressed data size is $4KB$. The percentage of file size is compared to PNG image. + +\begin{figure}[ht] + \centering + \includegraphics[width=\columnwidth]{figures/compareToJpeg.pdf} + \caption{Proposed method and JPEG comparing} + \label{fig:compareToJpeg} +\end{figure} + +The computing time of a $480 \times 640$ thermal data on Raspberry Pi 3 is: +\subsubsection{Date Structure Initialize} +0.233997 second. +\subsubsection{Thermal Data Loading} +1.268126 second. +\subsubsection{Regions dividing} +About 4.6 microsecond per separation. Figure~\ref{fig:computeTime} shows the computation time of Region dividing. + +Total time is about 1.5 second. + +\begin{figure}[ht] + \centering + \includegraphics[width=\columnwidth]{figures/computeTime.pdf} + \caption{Computation Time of Regions Dividing} + \label{fig:computeTime} +\end{figure} + + \ No newline at end of file diff --git a/branches/candidate/05Conclusion.tex b/branches/candidate/05Conclusion.tex new file mode 100644 index 0000000..b46d76b --- /dev/null +++ b/branches/candidate/05Conclusion.tex @@ -0,0 +1,3 @@ +\section{Conclusion\label{sec:conclusion}} + +In this paper we present the design to reduce the data size of a two dimension thermal data. Nearby pixels in a thermal data mostly have similar value, so we can easily separate an data region into several regions and use its average value to represent it but will not cause too much error. The method we proposed can either choose the data size or error rate of compressed data. By giving every regions different resolutions, we can reduce the file size to $50\%$ less than JPEG when there is $0.5\%$ of distortion, and up to $93\%$ less when there is $2\%$ of distortion. \ No newline at end of file diff --git a/branches/candidate/06Acknowledge.tex b/branches/candidate/06Acknowledge.tex new file mode 100644 index 0000000..c64c80c --- /dev/null +++ b/branches/candidate/06Acknowledge.tex @@ -0,0 +1,2 @@ +\textbf{Acknowledgements} +This research was supported in part by the Ministry of Science and Technology of Taiwan (MOST 106-2633-E-002-001, MOST 106-2627-M-002-022-), National Taiwan University (NTU-106R104045), Intel Corporation, and Delta Electronics, and Advantech. diff --git a/branches/candidate/DIY Interface for Enhanced Service Customization of Remote IoT Devices- A CoAP Based Prototype.skim b/branches/candidate/DIY Interface for Enhanced Service Customization of Remote IoT Devices- A CoAP Based Prototype.skim new file mode 100644 index 0000000..acb9dfc Binary files /dev/null and b/branches/candidate/DIY Interface for Enhanced Service Customization of Remote IoT Devices- A CoAP Based Prototype.skim differ diff --git a/branches/candidate/ERICA.bib b/branches/candidate/ERICA.bib new file mode 100644 index 0000000..ae57d5b --- /dev/null +++ b/branches/candidate/ERICA.bib @@ -0,0 +1,232 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% http://bibdesk.sourceforge.net/ + + +%% Created for cshih at 2017-05-14 18:16:25 +0800 + + +%% Saved with string encoding Unicode (UTF-8) + + + +@inproceedings{YiWillemson13, + Author = {X. Yi and J. Willemson and F. Nait-Abdesselam}, + Booktitle = {2013 12th IEEE International Conference on Trust, Security and Privacy in Computing and Communications}, + Date-Added = {2017-05-14 07:47:40 +0000}, + Date-Modified = {2017-05-14 07:48:44 +0000}, + Keywords = {biomedical equipment;cryptography;medical computing;wireless sensor networks;Cybernetica;Sharemind system;advanced cryptographic techniques;attribute-based encryption;eavesdropping;input data;lightweight encryption algorithm;low-cost sensor nodes;low-power sensor nodes;open air;patient data privacy;patient database;privacy-preserving wireless medical sensor network;sensor node;spoofing;symmetric key cryptosystems;Communication system security;Cryptography;Medical services;Protocols;Servers;Wireless communication;Wireless sensor networks;Medical sensor network;SHA-3;Sharemind;privacy-preserving computation}, + Month = {July}, + Pages = {118-125}, + Title = {Privacy-Preserving Wireless Medical Sensor Network}, + Year = {2013}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QRlJlZmVyZW5jZXMvMjAxMy1Qcml2YWN5LVByZXNlcnZpbmcgV2lyZWxlc3MgTWVkaWNhbCBTZW5zb3IgTmV0d29yay5wZGbSFwsYGVdOUy5kYXRhTxECOAAAAAACOAACAAAFbm90ZXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1QlB8UgrAAAAFGlaHzIwMTMtUHJpdmFjeS1QcmVzZXJ2IzE0NkQxRC5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUbR3VPiyHAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA1QjRcQAAABEACAAA1T28BwAAAAEAFAAUaVoAFGkrAAeVLAAGrFcAA+utAAIAVG5vdGVzOm5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAMjAxMy1Qcml2YWN5LVByZXNlcnYjMTQ2RDFELnBkZgAOAHgAOwAyADAAMQAzAC0AUAByAGkAdgBhAGMAeQAtAFAAcgBlAHMAZQByAHYAaQBuAGcAIABXAGkAcgBlAGwAZQBzAHMAIABNAGUAZABpAGMAYQBsACAAUwBlAG4AcwBvAHIAIABOAGUAdAB3AG8AcgBrAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAZi9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy8yMDEzLVByaXZhY3ktUHJlc2VydmluZyBXaXJlbGVzcyBNZWRpY2FsIFNlbnNvciBOZXR3b3JrLnBkZgATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOANcA3ADkAyADIgMnAzIDOwNJA00DVANdA2IDbwNyA4QDhwOMAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAAA44=}} + +@inproceedings{JalalKamal14, + Author = {A. Jalal and S. Kamal and D. Kim}, + Booktitle = {Fifth International Conference on Computing, Communications and Networking Technologies (ICCCNT)}, + Date-Added = {2017-05-14 07:42:12 +0000}, + Date-Modified = {2017-05-14 07:43:07 +0000}, + Pages = {1-6}, + Title = {Depth map-based human activity tracking and recognition using body joints features and Self-Organized Map}, + Year = {2014}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QeFJlZmVyZW5jZXMvRGVwdGggTWFwLWJhc2VkIEh1bWFuIEFjdGl2aXR5IFRyYWNraW5nIGFuZCBSZWNvZ25pdGlvbiBVc2luZyBCb2R5IEpvaW50cyBGZWF0dXJlcyBhbmQgU2VsZi1Pcmdhbml6ZWQgTWFwLnBkZtIXCxgZV05TLmRhdGFPEQLOAAAAAALOAAIAAAVub3RlcwAAAAAAAAAAAAAAAAAAAAAAAAAAAADVCUHxSCsAAAAUaVofRGVwdGggTWFwLWJhc2VkIEh1bWEjMTQ2RDE1LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRtFdU+Ks4AAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADVCNFxAAAAEQAIAADVPbpOAAAAAQAUABRpWgAUaSsAB5UsAAasVwAD660AAgBUbm90ZXM6bm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgBEZXB0aCBNYXAtYmFzZWQgSHVtYSMxNDZEMTUucGRmAA4A3ABtAEQAZQBwAHQAaAAgAE0AYQBwAC0AYgBhAHMAZQBkACAASAB1AG0AYQBuACAAQQBjAHQAaQB2AGkAdAB5ACAAVAByAGEAYwBrAGkAbgBnACAAYQBuAGQAIABSAGUAYwBvAGcAbgBpAHQAaQBvAG4AIABVAHMAaQBuAGcAIABCAG8AZAB5ACAASgBvAGkAbgB0AHMAIABGAGUAYQB0AHUAcgBlAHMAIABhAG4AZAAgAFMAZQBsAGYALQBPAHIAZwBhAG4AaQB6AGUAZAAgAE0AYQBwAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAmC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9EZXB0aCBNYXAtYmFzZWQgSHVtYW4gQWN0aXZpdHkgVHJhY2tpbmcgYW5kIFJlY29nbml0aW9uIFVzaW5nIEJvZHkgSm9pbnRzIEZlYXR1cmVzIGFuZCBTZWxmLU9yZ2FuaXplZCBNYXAucGRmABMADi9Wb2x1bWVzL25vdGVz//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4BCQEOARYD6APqA+8D+gQDBBEEFQQcBCUEKgQ3BDoETARPBFQAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAEVg==}} + +@inproceedings{BodorJackson03, + Author = {Bodor, Robert and Jackson, Bennett and Papanikolopoulos, Nikolaos}, + Booktitle = {Proc. of the 11th Mediterranean Conf. on Control and Automation}, + Date-Added = {2017-05-14 07:40:29 +0000}, + Date-Modified = {2017-05-14 07:41:33 +0000}, + Title = {Vision-based human tracking and activity recognition}, + Volume = {1}, + Year = {2003}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QQ1JlZmVyZW5jZXMvVmlzaW9uLUJhc2VkIEh1bWFuIFRyYWNraW5nIGFuZCBBY3Rpdml0eSBSZWNvZ25pdGlvbi5wZGbSFwsYGVdOUy5kYXRhTxECMAAAAAACMAACAAAFbm90ZXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1QlB8UgrAAAAFGlaH1Zpc2lvbi1CYXNlZCBIdW1hbiBUIzE0NkQxMC5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUbRDVPirHAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA1QjRcQAAABEACAAA1T26RwAAAAEAFAAUaVoAFGkrAAeVLAAGrFcAA+utAAIAVG5vdGVzOm5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAVmlzaW9uLUJhc2VkIEh1bWFuIFQjMTQ2RDEwLnBkZgAOAHIAOABWAGkAcwBpAG8AbgAtAEIAYQBzAGUAZAAgAEgAdQBtAGEAbgAgAFQAcgBhAGMAawBpAG4AZwAgAGEAbgBkACAAQQBjAHQAaQB2AGkAdAB5ACAAUgBlAGMAbwBnAG4AaQB0AGkAbwBuAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAYy9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9WaXNpb24tQmFzZWQgSHVtYW4gVHJhY2tpbmcgYW5kIEFjdGl2aXR5IFJlY29nbml0aW9uLnBkZgAAEwAOL1ZvbHVtZXMvbm90ZXP//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgDUANkA4QMVAxcDHAMnAzADPgNCA0kDUgNXA2QDZwN5A3wDgQAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAOD}} + +@article{Fortino15, + Abstract = {Abstract Body Sensor Networks (BSNs) have emerged as the most effective technology enabling not only new e-Health methods and systems but also novel applications in human-centered areas such as electronic health care, fitness/welness systems, sport performance monitoring, interactive games, factory workers monitoring, and social physical interaction. Despite their enormous potential, they are currently mostly used only to monitor single individuals. Indeed, \{BSNs\} can proactively interact and collaborate to foster novel \{BSN\} applications centered on collaborative groups of individuals. In this paper, C-SPINE, a framework for Collaborative \{BSNs\} (CBSNs), is proposed. \{CBSNs\} are \{BSNs\} able to collaborate with each other to fulfill a common goal. They can support the development of novel smart wearable systems for cyberphysical pervasive computing environments. Collaboration therefore relies on interaction and synchronization among the \{CBSNs\} and on collaborative distributed computing atop the collaborating CBSNs. Specifically, collaboration is triggered upon \{CBSN\} proximity and relies on service-specific protocols allowing for managing services among the collaborating CBSNs. C-SPINE also natively supports multi-sensor data fusion among \{CBSNs\} to enable joint data analysis such as filtering, time-dependent data integration and classification. To demonstrate its effectiveness, C-SPINE is used to implement e-Shake, a collaborative \{CBSN\} system for the detection of emotions. The system is based on a multi-sensor data fusion schema to perform automatic detection of handshakes between two individuals and capture of possible heart-rate-based emotion reactions due to the individuals' meeting. }, + Author = {Giancarlo Fortino and Stefano Galzarano and Raffaele Gravina and Wenfeng Li}, + Date-Added = {2017-05-14 07:10:48 +0000}, + Date-Modified = {2017-05-14 07:23:10 +0000}, + Doi = {https://doi.org/10.1016/j.inffus.2014.03.005}, + Issn = {1566-2535}, + Journal = {Information Fusion}, + Keywords = {Handshake detection}, + Pages = {50 - 70}, + Title = {A framework for collaborative computing and multi-sensor data fusion in body sensor networks}, + Url = {http://www.sciencedirect.com/science/article/pii/S156625351400044X}, + Volume = {22}, + Year = {2015}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S156625351400044X}, + Bdsk-Url-2 = {https://doi.org/10.1016/j.inffus.2014.03.005}} + +@inproceedings{Bourke16, + Author = {Bourke, Alan K and Ihlen, Espen AF and Van de Ven, Pepijn and Nelson, John and Helbostad, Jorunn L}, + Booktitle = {Engineering in Medicine and Biology Society (EMBC), 2016 IEEE 38th Annual International Conference of the}, + Date-Added = {2017-05-13 14:39:15 +0000}, + Date-Modified = {2017-05-14 07:44:51 +0000}, + Organization = {IEEE}, + Pages = {4881--4884}, + Title = {Video analysis validation of a real-time physical activity detection algorithm based on a single waist mounted tri-axial accelerometer sensor}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QnFJlZmVyZW5jZXMvVmlkZW8gQW5hbHlzaXMgVmFsaWRhdGlvbiBvZiBhIFJlYWwtdGltZSBQaHlzaWNhbCBBY3Rpdml0eSBEZXRlY3Rpb24gQWxnb3JpdGhtIGJhc2VkIG9uIGEgU2luZ2xlIFdhaXN0IE1vdW50ZWQgVHJpLWF4aWFsIEFjY2VsZXJvbWV0ZXIgU2Vuc29yLnBkZtIXCxgZV05TLmRhdGFPEQM6AAAAAAM6AAIAAAVub3RlcwAAAAAAAAAAAAAAAAAAAAAAAAAAAADVCUHxSCsAAAAUaVofVmlkZW8gQW5hbHlzaXMgVmFsaWQjMTQ2QTQ2LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRqRtU94jQAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADVCNFxAAAAEQAIAADVPXG0AAAAAQAUABRpWgAUaSsAB5UsAAasVwAD660AAgBUbm90ZXM6bm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgBWaWRlbyBBbmFseXNpcyBWYWxpZCMxNDZBNDYucGRmAA4BJACRAFYAaQBkAGUAbwAgAEEAbgBhAGwAeQBzAGkAcwAgAFYAYQBsAGkAZABhAHQAaQBvAG4AIABvAGYAIABhACAAUgBlAGEAbAAtAHQAaQBtAGUAIABQAGgAeQBzAGkAYwBhAGwAIABBAGMAdABpAHYAaQB0AHkAIABEAGUAdABlAGMAdABpAG8AbgAgAEEAbABnAG8AcgBpAHQAaABtACAAYgBhAHMAZQBkACAAbwBuACAAYQAgAFMAaQBuAGcAbABlACAAVwBhAGkAcwB0ACAATQBvAHUAbgB0AGUAZAAgAFQAcgBpAC0AYQB4AGkAYQBsACAAQQBjAGMAZQBsAGUAcgBvAG0AZQB0AGUAcgAgAFMAZQBuAHMAbwByAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAvC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9WaWRlbyBBbmFseXNpcyBWYWxpZGF0aW9uIG9mIGEgUmVhbC10aW1lIFBoeXNpY2FsIEFjdGl2aXR5IERldGVjdGlvbiBBbGdvcml0aG0gYmFzZWQgb24gYSBTaW5nbGUgV2Fpc3QgTW91bnRlZCBUcmktYXhpYWwgQWNjZWxlcm9tZXRlciBTZW5zb3IucGRmABMADi9Wb2x1bWVzL25vdGVz//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4BLQEyAToEeAR6BH8EigSTBKEEpQSsBLUEugTHBMoE3ATfBOQAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAE5g==}} + +@inproceedings{Gheid16, + Author = {Gheid, Zakaria and Challal, Yacine}, + Booktitle = {13th International Conference on Ubiquitous Intelligence and Computing (UIC 2016)}, + Date-Added = {2017-05-13 14:39:11 +0000}, + Date-Modified = {2017-05-14 07:46:54 +0000}, + Title = {Novel Efficient and Privacy-Preserving Protocols For Sensor-Based Human Activity Recognition}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8Qa1JlZmVyZW5jZXMvTm92ZWwgRWZmaWNpZW50IGFuZCBQcml2YWN5LVByZXNlcnZpbmcgUHJvdG9jb2xzIEZvciBTZW5zb3ItQmFzZWQgSHVtYW4gQWN0aXZpdHkgUmVjb2duaXRpb24ucGRm0hcLGBlXTlMuZGF0YU8RAqgAAAAAAqgAAgAABW5vdGVzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANUJQfFIKwAAABRpWh9Ob3ZlbCBFZmZpY2llbnQgYW5kICMxNDZBMTkucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFGoZ1T3iNAAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANUI0XEAAAARAAgAANU9cbQAAAABABQAFGlaABRpKwAHlSwABqxXAAPrrQACAFRub3Rlczpub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6AE5vdmVsIEVmZmljaWVudCBhbmQgIzE0NkExOS5wZGYADgDCAGAATgBvAHYAZQBsACAARQBmAGYAaQBjAGkAZQBuAHQAIABhAG4AZAAgAFAAcgBpAHYAYQBjAHkALQBQAHIAZQBzAGUAcgB2AGkAbgBnACAAUAByAG8AdABvAGMAbwBsAHMAIABGAG8AcgAgAFMAZQBuAHMAbwByAC0AQgBhAHMAZQBkACAASAB1AG0AYQBuACAAQQBjAHQAaQB2AGkAdAB5ACAAUgBlAGMAbwBnAG4AaQB0AGkAbwBuAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAiy9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9Ob3ZlbCBFZmZpY2llbnQgYW5kIFByaXZhY3ktUHJlc2VydmluZyBQcm90b2NvbHMgRm9yIFNlbnNvci1CYXNlZCBIdW1hbiBBY3Rpdml0eSBSZWNvZ25pdGlvbi5wZGYAABMADi9Wb2x1bWVzL25vdGVz//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4A/AEBAQkDtQO3A7wDxwPQA94D4gPpA/ID9wQEBAcEGQQcBCEAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAEIw==}} + +@article{LuFu09, + Author = {Lu, C. H. and Fu, L. C.}, + Date-Added = {2017-05-13 07:27:06 +0000}, + Date-Modified = {2017-05-13 07:28:17 +0000}, + Doi = {10.1109/TASE.2009.2021981}, + Issn = {1545-5955}, + Journal = {IEEE Transactions on Automation Science and Engineering}, + Keywords = {belief networks;home automation;mobile computing;telecommunication network reliability;wireless sensor networks;Bayesian network fusion;ambient intelligence applications;attentive home pilot project;context-aware attentive services;device failure;robust location-aware activity recognition;smart home;wireless sensor network;Location-aware activity recognition;ambient-intelligence compliant object (AICO);attentive home;wireless sensor network}, + Month = {Oct}, + Number = {4}, + Pages = {598-609}, + Title = {Robust Location-Aware Activity Recognition Using Wireless Sensor Network in an Attentive Home}, + Volume = {6}, + Year = {2009}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QbFJlZmVyZW5jZXMvUm9idXN0IExvY2F0aW9uLUF3YXJlIEFjdGl2aXR5IFJlY29nbml0aW9uIFVzaW5nIFdpcmVsZXNzIFNlbnNvciBOZXR3b3JrIGluIGFuIEF0dGVudGl2ZSBIb21lLnBkZtIXCxgZV05TLmRhdGFPEQKqAAAAAAKqAAIAAAVub3RlcwAAAAAAAAAAAAAAAAAAAAAAAAAAAADVCUHxSCsAAAAUaVofUm9idXN0IExvY2F0aW9uLUF3YXIjMTQ2OUJCLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRpu9U94jMAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADVCNFxAAAAEQAIAADVPXGzAAAAAQAUABRpWgAUaSsAB5UsAAasVwAD660AAgBUbm90ZXM6bm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgBSb2J1c3QgTG9jYXRpb24tQXdhciMxNDY5QkIucGRmAA4AxABhAFIAbwBiAHUAcwB0ACAATABvAGMAYQB0AGkAbwBuAC0AQQB3AGEAcgBlACAAQQBjAHQAaQB2AGkAdAB5ACAAUgBlAGMAbwBnAG4AaQB0AGkAbwBuACAAVQBzAGkAbgBnACAAVwBpAHIAZQBsAGUAcwBzACAAUwBlAG4AcwBvAHIAIABOAGUAdAB3AG8AcgBrACAAaQBuACAAYQBuACAAQQB0AHQAZQBuAHQAaQB2AGUAIABIAG8AbQBlAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAjC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9Sb2J1c3QgTG9jYXRpb24tQXdhcmUgQWN0aXZpdHkgUmVjb2duaXRpb24gVXNpbmcgV2lyZWxlc3MgU2Vuc29yIE5ldHdvcmsgaW4gYW4gQXR0ZW50aXZlIEhvbWUucGRmABMADi9Wb2x1bWVzL25vdGVz//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4A/QECAQoDuAO6A78DygPTA+ED5QPsA/UD+gQHBAoEHAQfBCQAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAEJg==}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/TASE.2009.2021981}} + +@article{Yick20082292, + Abstract = {A wireless sensor network (WSN) has important applications such as remote environmental monitoring and target tracking. This has been enabled by the availability, particularly in recent years, of sensors that are smaller, cheaper, and intelligent. These sensors are equipped with wireless interfaces with which they can communicate with one another to form a network. The design of a \{WSN\} depends significantly on the application, and it must consider factors such as the environment, the application's design objectives, cost, hardware, and system constraints. The goal of our survey is to present a comprehensive review of the recent literature since the publication of [I.F. Akyildiz, W. Su, Y. Sankarasubramaniam, E. Cayirci, A survey on sensor networks, \{IEEE\} Communications Magazine, 2002]. Following a top-down approach, we give an overview of several new applications and then review the literature on various aspects of WSNs. We classify the problems into three different categories: (1) internal platform and underlying operating system, (2) communication protocol stack, and (3) network services, provisioning, and deployment. We review the major development in these three categories and outline new challenges. }, + Author = {Jennifer Yick and Biswanath Mukherjee and Dipak Ghosal}, + Date-Added = {2017-05-13 06:59:55 +0000}, + Date-Modified = {2017-05-13 06:59:55 +0000}, + Doi = {https://doi.org/10.1016/j.comnet.2008.04.002}, + Issn = {1389-1286}, + Journal = {Computer Networks}, + Keywords = {Survey}, + Number = {12}, + Pages = {2292 - 2330}, + Title = {Wireless sensor network survey}, + Url = {http://www.sciencedirect.com/science/article/pii/S1389128608001254}, + Volume = {52}, + Year = {2008}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QRFJlZmVyZW5jZXMvV2lyZWxlc3Mtc2Vuc29yLW5ldHdvcmstc3VydmV5XzIwMDhfQ29tcHV0ZXItTmV0d29ya3MucGRm0hcLGBlXTlMuZGF0YU8RAjIAAAAAAjIAAgAABW5vdGVzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANUJQfFIKwAAABRpWh9XaXJlbGVzcy1zZW5zb3ItbmV0dyMxNDY5Q0IucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFGnL1T3iMwAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANUI0XEAAAARAAgAANU9cbMAAAABABQAFGlaABRpKwAHlSwABqxXAAPrrQACAFRub3Rlczpub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6AFdpcmVsZXNzLXNlbnNvci1uZXR3IzE0NjlDQi5wZGYADgB0ADkAVwBpAHIAZQBsAGUAcwBzAC0AcwBlAG4AcwBvAHIALQBuAGUAdAB3AG8AcgBrAC0AcwB1AHIAdgBlAHkAXwAyADAAMAA4AF8AQwBvAG0AcAB1AHQAZQByAC0ATgBlAHQAdwBvAHIAawBzAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAZC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaXJlbGVzcy1zZW5zb3ItbmV0d29yay1zdXJ2ZXlfMjAwOF9Db21wdXRlci1OZXR3b3Jrcy5wZGYAEwAOL1ZvbHVtZXMvbm90ZXP//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgDVANoA4gMYAxoDHwMqAzMDQQNFA0wDVQNaA2cDagN8A38DhAAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAOG}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S1389128608001254}, + Bdsk-Url-2 = {https://doi.org/10.1016/j.comnet.2008.04.002}} + +@article{Milenkovic20062521, + Abstract = {Recent technological advances in sensors, low-power integrated circuits, and wireless communications have enabled the design of low-cost, miniature, lightweight, and intelligent physiological sensor nodes. These nodes, capable of sensing, processing, and communicating one or more vital signs, can be seamlessly integrated into wireless personal or body networks (WPANs or WBANs) for health monitoring. These networks promise to revolutionize health care by allowing inexpensive, non-invasive, continuous, ambulatory health monitoring with almost real-time updates of medical records via the Internet. Though a number of ongoing research efforts are focusing on various technical, economic, and social issues, many technical hurdles still need to be resolved in order to have flexible, reliable, secure, and power-efficient \{WBANs\} suitable for medical applications. This paper discusses implementation issues and describes the authors' prototype sensor network for health monitoring that utilizes off-the-shelf 802.15.4 compliant network nodes and custom-built motion and heart activity sensors. The paper presents system architecture and hardware and software organization, as well as the authors' solutions for time synchronization, power management, and on-chip signal processing. }, + Author = {Aleksandar Milenkovi{\'c} and Chris Otto and Emil Jovanov}, + Date-Added = {2017-05-13 06:58:37 +0000}, + Date-Modified = {2017-05-13 06:58:37 +0000}, + Doi = {https://doi.org/10.1016/j.comcom.2006.02.011}, + Issn = {0140-3664}, + Journal = {Computer Communications}, + Note = {Wirelsess Senson Networks and Wired/Wireless Internet Communications}, + Number = {13--14}, + Pages = {2521 - 2533}, + Title = {Wireless sensor networks for personal health monitoring: Issues and an implementation}, + Url = {http://www.sciencedirect.com/science/article/pii/S0140366406000508}, + Volume = {29}, + Year = {2006}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QgFJlZmVyZW5jZXMvV2lyZWxlc3Mtc2Vuc29yLW5ldHdvcmtzLWZvci1wZXJzb25hbC1oZWFsdGgtbW9uaXRvcmluZy1Jc3N1ZXMtYW5kLWFuLWltcGxlbWVudGF0aW9uXzIwMDZfQ29tcHV0ZXItQ29tbXVuaWNhdGlvbnMucGRm0hcLGBlXTlMuZGF0YU8RAuYAAAAAAuYAAgAABW5vdGVzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANUJQfFIKwAAABRpWh9XaXJlbGVzcy1zZW5zb3ItbmV0dyMxNDY5QjkucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFGm51T3iMwAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANUI0XEAAAARAAgAANU9cbMAAAABABQAFGlaABRpKwAHlSwABqxXAAPrrQACAFRub3Rlczpub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6AFdpcmVsZXNzLXNlbnNvci1uZXR3IzE0NjlCOS5wZGYADgDsAHUAVwBpAHIAZQBsAGUAcwBzAC0AcwBlAG4AcwBvAHIALQBuAGUAdAB3AG8AcgBrAHMALQBmAG8AcgAtAHAAZQByAHMAbwBuAGEAbAAtAGgAZQBhAGwAdABoAC0AbQBvAG4AaQB0AG8AcgBpAG4AZwAtAEkAcwBzAHUAZQBzAC0AYQBuAGQALQBhAG4ALQBpAG0AcABsAGUAbQBlAG4AdABhAHQAaQBvAG4AXwAyADAAMAA2AF8AQwBvAG0AcAB1AHQAZQByAC0AQwBvAG0AbQB1AG4AaQBjAGEAdABpAG8AbgBzAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAoC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaXJlbGVzcy1zZW5zb3ItbmV0d29ya3MtZm9yLXBlcnNvbmFsLWhlYWx0aC1tb25pdG9yaW5nLUlzc3Vlcy1hbmQtYW4taW1wbGVtZW50YXRpb25fMjAwNl9Db21wdXRlci1Db21tdW5pY2F0aW9ucy5wZGYAEwAOL1ZvbHVtZXMvbm90ZXP//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgERARYBHgQIBAoEDwQaBCMEMQQ1BDwERQRKBFcEWgRsBG8EdAAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAR2}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0140366406000508}, + Bdsk-Url-2 = {https://doi.org/10.1016/j.comcom.2006.02.011}} + +@article{Gravina16, + Abstract = {Abstract This paper proposes Activity as a Service (Activity-aaService), a full-fledged cyber--physical framework to support community, on-line and off-line human activity recognition and monitoring in mobility. Activity-aaService is able to address the current lack of Cloud-Assisted Body Area Networks platforms and applications supporting monitoring and analysis of human activity for single individuals and communities. Activity-aaService is built atop the BodyCloud platform so enabling efficient BSN-based sensor data collection and local processing (Body-side), high performance computing of collected sensor data and data storing on the Cloud (Cloud-side), workflow-based programming of data analysis (Analyst-side), and advanced visualization of results (Viewer-side). Specifically, it provides specific, powerful and flexible programming abstractions for the rapid prototyping of efficient human activity-oriented applications. The effectiveness of the proposed framework has been demonstrated through the development of several prototypes related to physical activity monitoring, step counting, physical energy estimation, automatic fall detection, and smart wheelchair support. Finally, performance evaluation of the proposed framework at the Body-side of the activity classification has been carried out by analyzing processing load, data transmission time, \{CPU\} usage, memory footprint, and battery consumption using four heterogeneous mobile devices representing low, medium and high performance mobile platforms. }, + Author = {Raffaele Gravina and Congcong Ma and Pasquale Pace and Gianluca Aloi and Wilma Russo and Wenfeng Li and Giancarlo Fortino}, + Date-Added = {2017-05-13 03:20:32 +0000}, + Date-Modified = {2017-05-13 06:52:28 +0000}, + Doi = {https://doi.org/10.1016/j.future.2016.09.006}, + Issn = {0167-739X}, + Journal = {Future Generation Computer Systems}, + Keywords = {Software as a service}, + Month = {September}, + Title = {Cloud-based Activity-aaService cyber--physical framework for human activity monitoring in mobility}, + Url = {http://www.sciencedirect.com/science/article/pii/S0167739X16303016}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YW8QcABSAGUAZgBlAHIAZQBuAGMAZQBzAC8AQwBsAG8AdQBkAC0AYgBhAHMAZQBkACAAQQBjAHQAaQB2AGkAdAB5AC0AYQBhAFMAZQByAHYAaQBjAGUAIABjAHkAYgBlAHIgEwBwAGgAeQBzAGkAYwBhAGwAIABmAHIAYQBtAGUAdwBvAHIAawAgAGYAbwByACAAaAB1AG0AYQBuACAAYQBjAHQAaQB2AGkAdAB5ACAAbQBvAG4AaQB0AG8AcgBpAG4AZwAgAGkAbgAgAG0AbwBiAGkAbABpAHQAeQAuAHAAZABm0hcLGBlXTlMuZGF0YU8RArgAAAAAArgAAgAABW5vdGVzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANUJQfFIKwAAABRpWh9DbG91ZC1iYXNlZCBBY3Rpdml0eSMxNDZBNDQucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFGpE1T3iNAAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANUI0XEAAAARAAgAANU9cbQAAAABABQAFGlaABRpKwAHlSwABqxXAAPrrQACAFRub3Rlczpub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6AENsb3VkLWJhc2VkIEFjdGl2aXR5IzE0NkE0NC5wZGYADgDMAGUAQwBsAG8AdQBkAC0AYgBhAHMAZQBkACAAQQBjAHQAaQB2AGkAdAB5AC0AYQBhAFMAZQByAHYAaQBjAGUAIABjAHkAYgBlAHIgEwBwAGgAeQBzAGkAYwBhAGwAIABmAHIAYQBtAGUAdwBvAHIAawAgAGYAbwByACAAaAB1AG0AYQBuACAAYQBjAHQAaQB2AGkAdAB5ACAAbQBvAG4AaQB0AG8AcgBpAG4AZwAgAGkAbgAgAG0AbwBiAGkAbABpAHQAeQAuAHAAZABmAA8ADAAFAG4AbwB0AGUAcwASAJIvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvQ2xvdWQtYmFzZWQgQWN0aXZpdHktYWFTZXJ2aWNlIGN5YmVy4oCTcGh5c2ljYWwgZnJhbWV3b3JrIGZvciBodW1hbiBhY3Rpdml0eSBtb25pdG9yaW5nIGluIG1vYmlsaXR5LnBkZgATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOAXEBdgF+BDoEPARBBEwEVQRjBGcEbgR3BHwEiQSMBJ4EoQSmAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABKg=}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0167739X16303016}, + Bdsk-Url-2 = {https://doi.org/10.1016/j.future.2016.09.006}} + +@article{WangWu17, + Abstract = {Injuries that are caused by falls have been regarded as one of the major health threats to the independent living for the elderly. Conventional fall detection systems have various limitations. In this work, we first look for the correlations between different radio signal variations and activities by analyzing radio propagation model. Based on our observation, we propose WiFall, a truly unobtrusive fall detection system. WiFall employs physical layer Channel State Information (CSI) as the indicator of activities. It can detect fall of the human without hardware modification, extra environmental setup, or any wearable device. We implement WiFall on desktops equipped with commodity 802.11n NIC, and evaluate the performance in three typical indoor scenarios with several layouts of transmitter-receiver (Tx-Rx) links. In our area of interest, WiFall can achieve fall detection for a single person with high accuracy. As demonstrated by the experimental results, WiFall yields 90 percent detection precision with a false alarm rate of 15 percent on average using a one-class SVM classifier in all testing scenarios. It can also achieve average 94 percent fall detection precisions with 13 percent false alarm using Random Forest algorithm.}, + Annote = {http://ieeexplore.ieee.org/abstract/document/7458186/}, + Author = {Y. Wang and K. Wu and L. M. Ni}, + Date-Added = {2017-05-13 03:19:27 +0000}, + Date-Modified = {2017-05-13 06:50:32 +0000}, + Doi = {10.1109/TMC.2016.2557792}, + Issn = {1536-1233}, + Journal = {IEEE Transactions on Mobile Computing}, + Keywords = {biomedical communication;decision trees;geriatrics;indoor radio;medical computing;pattern classification;radio links;radio receivers;radio transmitters;support vector machines;wireless LAN;wireless sensor networks;802.11n NIC;WiFall;device-free fall detection;false alarm rate;health threats;indoor scenarios;one-class SVM classifier;physical layer channel state information;radio propagation model;radio signal;random forest algorithm;transmitter-receiver links;wireless networks;Channel state information;IEEE 802.11 Standard;Motion detection;Senior citizens;Sensors;Wireless communication;Wireless sensor networks;Wireless;channel state information;device-free;fall detection;machine learning}, + Month = {Feb}, + Number = {2}, + Pages = {581-594}, + Title = {WiFall: Device-Free Fall Detection by Wireless Networks}, + Volume = {16}, + Year = {2017}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QRlJlZmVyZW5jZXMvV2lGYWxsLSBEZXZpY2UtRnJlZSBGYWxsIERldGVjdGlvbiBieSBXaXJlbGVzcyBOZXR3b3Jrcy5wZGbSFwsYGVdOUy5kYXRhTxECOAAAAAACOAACAAAFbm90ZXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1QlB8UgrAAAAFGlaH1dpRmFsbC0gRGV2aWNlLUZyZWUgIzE0NkEyMy5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUaiPVPeI0AAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA1QjRcQAAABEACAAA1T1xtAAAAAEAFAAUaVoAFGkrAAeVLAAGrFcAA+utAAIAVG5vdGVzOm5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAV2lGYWxsLSBEZXZpY2UtRnJlZSAjMTQ2QTIzLnBkZgAOAHgAOwBXAGkARgBhAGwAbAAtACAARABlAHYAaQBjAGUALQBGAHIAZQBlACAARgBhAGwAbAAgAEQAZQB0AGUAYwB0AGkAbwBuACAAYgB5ACAAVwBpAHIAZQBsAGUAcwBzACAATgBlAHQAdwBvAHIAawBzAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAZi9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaUZhbGwtIERldmljZS1GcmVlIEZhbGwgRGV0ZWN0aW9uIGJ5IFdpcmVsZXNzIE5ldHdvcmtzLnBkZgATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOANcA3ADkAyADIgMnAzIDOwNJA00DVANdA2IDbwNyA4QDhwOMAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAAA44=}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/TMC.2016.2557792}} + +@article{Prabhu17, + Abstract = {Engineers have created WSN applications for areas including health care, utilities, and remote monitoring. In health care, wireless devices make less invasive patient monitoring and health care possible. For utilities such as the electricity grid, streetlights, and water municipals, wireless sensors offer a lower-cost method for collecting system health data to reduce energy usage and better manage resources. Remote monitoring covers a wide range of applications where wireless systems can complement wired systems by reducing wiring costs and allowing new types of measurement applications. The most well-liked principle for distributed clustering methodology is to choose cluster heads with more residual energy and to rotate them occasionally. Sensors at very heavy traffic locations rapidly deplete their energy resources and die in advance, before the network to collapse. The use of these sensors and the probability of organizing them into networks have discovered many research issues and have highlighted innovative ways to cope with certain problems. Here, the view of distributed clustering mechanism has been elaborated elegantly and different areas where such distributed clustering methodology could be put to use in emerging real world wireless sensor network applications have been compiled and discussed.}, + Annote = {https://ssrn.com/abstract=2909105}, + Author = {Prabhu, Boselin and Balakumar, N and Antony, A Johnson}, + Date-Added = {2017-05-13 03:15:40 +0000}, + Date-Modified = {2017-05-13 06:50:20 +0000}, + Journal = {INTERNATIONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY}, + Keywords = {Wireless Sensor Network, Sensor Node, Distributed Clustering, Energy Utilization, Real World Applications}, + Month = {Jan.}, + Number = {8}, + Title = {Wireless Sensor Network Based Smart Environment Applications}, + Volume = {3}, + Year = {2017}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QS1JlZmVyZW5jZXMvV2lyZWxlc3MgU2Vuc29yIE5ldHdvcmsgQmFzZWQgU21hcnQgRW52aXJvbm1lbnQgQXBwbGljYXRpb25zLnBkZtIXCxgZV05TLmRhdGFPEQJIAAAAAAJIAAIAAAVub3RlcwAAAAAAAAAAAAAAAAAAAAAAAAAAAADVCUHxSCsAAAAUaVofV2lyZWxlc3MgU2Vuc29yIE5ldHcjMTQ2OUMzLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRpw9U94jMAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADVCNFxAAAAEQAIAADVPXGzAAAAAQAUABRpWgAUaSsAB5UsAAasVwAD660AAgBUbm90ZXM6bm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgBXaXJlbGVzcyBTZW5zb3IgTmV0dyMxNDY5QzMucGRmAA4AggBAAFcAaQByAGUAbABlAHMAcwAgAFMAZQBuAHMAbwByACAATgBlAHQAdwBvAHIAawAgAEIAYQBzAGUAZAAgAFMAbQBhAHIAdAAgAEUAbgB2AGkAcgBvAG4AbQBlAG4AdAAgAEEAcABwAGwAaQBjAGEAdABpAG8AbgBzAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAay9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaXJlbGVzcyBTZW5zb3IgTmV0d29yayBCYXNlZCBTbWFydCBFbnZpcm9ubWVudCBBcHBsaWNhdGlvbnMucGRmAAATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOANwA4QDpAzUDNwM8A0cDUANeA2IDaQNyA3cDhAOHA5kDnAOhAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAAA6M=}} + +@article{LeeChung09, + Abstract = {The smart shirt which measures electrocardiogram (ECG) and acceleration signals for continuous and real time health monitoring is designed and developed. The shirt mainly consists of sensors for continuous monitoring the health data and conductive fabrics to get the body signal as electrodes. The measured physiological \{ECG\} data and physical activity data are transmitted in an ad-hoc network in \{IEEE\} 802.15.4 communication standard to a base-station and server \{PC\} for remote monitoring. The wearable sensor devices are designed to fit well into shirt with small size and low power consumption to reduce the battery size. The adaptive filtering method to cancel artifact noise from conductive fabric electrodes in a shirt is also designed and tested to get clear \{ECG\} signal even though during running or physical exercise of a person. }, + Author = {Young-Dong Lee and Wan-Young Chung}, + Date-Added = {2017-05-13 03:14:52 +0000}, + Date-Modified = {2017-05-13 06:53:06 +0000}, + Doi = {https://doi.org/10.1016/j.snb.2009.04.040}, + Issn = {0925-4005}, + Journal = {Sensors and Actuators B: Chemical}, + Month = {July}, + Number = 2, + Pages = {390 - 395}, + Title = {Wireless sensor network based wearable smart shirt for ubiquitous health and activity monitoring}, + Url = {http://www.sciencedirect.com/science/article/pii/S0925400509003724}, + Volume = 140, + Year = 2009, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8Qb1JlZmVyZW5jZXMvV2lyZWxlc3Mgc2Vuc29yIG5ldHdvcmsgYmFzZWQgd2VhcmFibGUgc21hcnQgc2hpcnQgZm9yIHViaXF1aXRvdXMgaGVhbHRoIGFuZCBhY3Rpdml0eSBtb25pdG9yaW5nLnBkZtIXCxgZV05TLmRhdGFPEQK0AAAAAAK0AAIAAAVub3RlcwAAAAAAAAAAAAAAAAAAAAAAAAAAAADVCUHxSCsAAAAUaVofV2lyZWxlc3Mgc2Vuc29yIG5ldHcjMTQ2QTExLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRqEdU94jQAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADVCNFxAAAAEQAIAADVPXG0AAAAAQAUABRpWgAUaSsAB5UsAAasVwAD660AAgBUbm90ZXM6bm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgBXaXJlbGVzcyBzZW5zb3IgbmV0dyMxNDZBMTEucGRmAA4AygBkAFcAaQByAGUAbABlAHMAcwAgAHMAZQBuAHMAbwByACAAbgBlAHQAdwBvAHIAawAgAGIAYQBzAGUAZAAgAHcAZQBhAHIAYQBiAGwAZQAgAHMAbQBhAHIAdAAgAHMAaABpAHIAdAAgAGYAbwByACAAdQBiAGkAcQB1AGkAdABvAHUAcwAgAGgAZQBhAGwAdABoACAAYQBuAGQAIABhAGMAdABpAHYAaQB0AHkAIABtAG8AbgBpAHQAbwByAGkAbgBnAC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAjy9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaXJlbGVzcyBzZW5zb3IgbmV0d29yayBiYXNlZCB3ZWFyYWJsZSBzbWFydCBzaGlydCBmb3IgdWJpcXVpdG91cyBoZWFsdGggYW5kIGFjdGl2aXR5IG1vbml0b3JpbmcucGRmAAATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOAQABBQENA8UDxwPMA9cD4APuA/ID+QQCBAcEFAQXBCkELAQxAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABDM=}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0925400509003724}} + +@article{AlemdarErsoy10, + Abstract = {Becoming mature enough to be used for improving the quality of life, wireless sensor network technologies are considered as one of the key research areas in computer science and healthcare application industries. The pervasive healthcare systems provide rich contextual information and alerting mechanisms against odd conditions with continuous monitoring. This minimizes the need for caregivers and helps the chronically ill and elderly to survive an independent life, besides provides quality care for the babies and little children whose both parents have to work. Although having significant benefits, the area has still major challenges which are investigated in this paper. We provide several state of the art examples together with the design considerations like unobtrusiveness, scalability, energy efficiency, security and also provide a comprehensive analysis of the benefits and challenges of these systems. }, + Author = {Hande Alemdar and Cem Ersoy}, + Date-Modified = {2017-05-13 06:52:42 +0000}, + Doi = {https://doi.org/10.1016/j.comnet.2010.05.003}, + Issn = {1389-1286}, + Journal = {Computer Networks}, + Keywords = {Children and chronically ill}, + Month = {October}, + Number = {15}, + Pages = {2688 - 2710}, + Title = {Wireless sensor networks for healthcare: A survey}, + Url = {http://www.sciencedirect.com/science/article/pii/S1389128610001398}, + Volume = {54}, + Year = {2010}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QQFJlZmVyZW5jZXMvV2lyZWxlc3Mgc2Vuc29yIG5ldHdvcmtzIGZvciBoZWFsdGhjYXJlLSBBIHN1cnZleS5wZGbSFwsYGVdOUy5kYXRhTxECJgAAAAACJgACAAAFbm90ZXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1QlB8UgrAAAAFGlaH1dpcmVsZXNzIHNlbnNvciBuZXR3IzE0NjlCNS5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUabXVPeIzAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA1QjRcQAAABEACAAA1T1xswAAAAEAFAAUaVoAFGkrAAeVLAAGrFcAA+utAAIAVG5vdGVzOm5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAV2lyZWxlc3Mgc2Vuc29yIG5ldHcjMTQ2OUI1LnBkZgAOAGwANQBXAGkAcgBlAGwAZQBzAHMAIABzAGUAbgBzAG8AcgAgAG4AZQB0AHcAbwByAGsAcwAgAGYAbwByACAAaABlAGEAbAB0AGgAYwBhAHIAZQAtACAAQQAgAHMAdQByAHYAZQB5AC4AcABkAGYADwAMAAUAbgBvAHQAZQBzABIAYC9ub3Rlcy9QdWJsaWNhdGlvbnMvMjAxNy9SQUNTMTcvUmVmZXJlbmNlcy9XaXJlbGVzcyBzZW5zb3IgbmV0d29ya3MgZm9yIGhlYWx0aGNhcmUtIEEgc3VydmV5LnBkZgATAA4vVm9sdW1lcy9ub3Rlc///AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOANEA1gDeAwgDCgMPAxoDIwMxAzUDPANFA0oDVwNaA2wDbwN0AAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAAA3Y=}, + Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S1389128610001398}, + Bdsk-Url-2 = {https://doi.org/10.1016/j.comnet.2010.05.003}} + +@webpage{Zscore, + Date-Added = {2017-06-12 10:16:21 +0000}, + Date-Modified = {2017-06-12 10:16:44 +0000}, + Lastchecked = {Monday, 12 June 2017}, + Title = {Standard score - Wikipedia}, + Url = {https://en.wikipedia.org/wiki/Standard_score}, + Bdsk-Url-1 = {https://en.wikipedia.org/wiki/Standard_score} +} + diff --git a/branches/candidate/IEEEtran.bst b/branches/candidate/IEEEtran.bst new file mode 100644 index 0000000..90acb4c --- /dev/null +++ b/branches/candidate/IEEEtran.bst @@ -0,0 +1,2425 @@ +%% +%% IEEEtran.bst +%% BibTeX Bibliography Style file for IEEE Journals and Conferences (unsorted) +%% Version 1.13 (2008/09/30) +%% +%% Copyright (c) 2003-2008 Michael Shell +%% +%% Original starting code base and algorithms obtained from the output of +%% Patrick W. Daly's makebst package as well as from prior versions of +%% IEEE BibTeX styles: +%% +%% 1. Howard Trickey and Oren Patashnik's ieeetr.bst (1985/1988) +%% 2. Silvano Balemi and Richard H. Roy's IEEEbib.bst (1993) +%% +%% Support sites: +%% http://www.michaelshell.org/tex/ieeetran/ +%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ +%% and/or +%% http://www.ieee.org/ +%% +%% For use with BibTeX version 0.99a or later +%% +%% This is a numerical citation style. +%% +%%************************************************************************* +%% Legal Notice: +%% This code is offered as-is without any warranty either expressed or +%% implied; without even the implied warranty of MERCHANTABILITY or +%% FITNESS FOR A PARTICULAR PURPOSE! +%% User assumes all risk. +%% In no event shall IEEE or any contributor to this code be liable for +%% any damages or losses, including, but not limited to, incidental, +%% consequential, or any other damages, resulting from the use or misuse +%% of any information contained here. +%% +%% All comments are the opinions of their respective authors and are not +%% necessarily endorsed by the IEEE. +%% +%% This work is distributed under the LaTeX Project Public License (LPPL) +%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, +%% distributed and modified. A copy of the LPPL, version 1.3, is included +%% in the base LaTeX documentation of all distributions of LaTeX released +%% 2003/12/01 or later. +%% Retain all contribution notices and credits. +%% ** Modified files should be clearly indicated as such, including ** +%% ** renaming them and changing author support contact information. ** +%% +%% File list of work: IEEEabrv.bib, IEEEfull.bib, IEEEexample.bib, +%% IEEEtran.bst, IEEEtranS.bst, IEEEtranSA.bst, +%% IEEEtranN.bst, IEEEtranSN.bst, IEEEtran_bst_HOWTO.pdf +%%************************************************************************* +% +% +% Changelog: +% +% 1.00 (2002/08/13) Initial release +% +% 1.10 (2002/09/27) +% 1. Corrected minor bug for improperly formed warning message when a +% book was not given a title. Thanks to Ming Kin Lai for reporting this. +% 2. Added support for CTLname_format_string and CTLname_latex_cmd fields +% in the BST control entry type. +% +% 1.11 (2003/04/02) +% 1. Fixed bug with URLs containing underscores when using url.sty. Thanks +% to Ming Kin Lai for reporting this. +% +% 1.12 (2007/01/11) +% 1. Fixed bug with unwanted comma before "et al." when an entry contained +% more than two author names. Thanks to Pallav Gupta for reporting this. +% 2. Fixed bug with anomalous closing quote in tech reports that have a +% type, but without a number or address. Thanks to Mehrdad Mirreza for +% reporting this. +% 3. Use braces in \providecommand in begin.bib to better support +% latex2html. TeX style length assignments OK with recent versions +% of latex2html - 1.71 (2002/2/1) or later is strongly recommended. +% Use of the language field still causes trouble with latex2html. +% Thanks to Federico Beffa for reporting this. +% 4. Added IEEEtran.bst ID and version comment string to .bbl output. +% 5. Provide a \BIBdecl hook that allows the user to execute commands +% just prior to the first entry. +% 6. Use default urlstyle (is using url.sty) of "same" rather than rm to +% better work with a wider variety of bibliography styles. +% 7. Changed month abbreviations from Sept., July and June to Sep., Jul., +% and Jun., respectively, as IEEE now does. Thanks to Moritz Borgmann +% for reporting this. +% 8. Control entry types should not be considered when calculating longest +% label width. +% 9. Added alias www for electronic/online. +% 10. Added CTLname_url_prefix control entry type. +% +% 1.13 (2008/09/30) +% 1. Fixed bug with edition number to ordinal conversion. Thanks to +% Michael Roland for reporting this and correcting the algorithm. + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% DEFAULTS FOR THE CONTROLS OF THE BST STYLE %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% These are the defaults for the user adjustable controls. The values used +% here can be overridden by the user via IEEEtranBSTCTL entry type. + +% NOTE: The recommended LaTeX command to invoke a control entry type is: +% +%\makeatletter +%\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}} +%\def\@bstctlcite[#1]#2{\@bsphack +% \@for\@citeb:=#2\do{% +% \edef\@citeb{\expandafter\@firstofone\@citeb}% +% \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}% +% \@esphack} +%\makeatother +% +% It is called at the start of the document, before the first \cite, like: +% \bstctlcite{IEEEexample:BSTcontrol} +% +% IEEEtran.cls V1.6 and later does provide this command. + + + +% #0 turns off the display of the number for articles. +% #1 enables +FUNCTION {default.is.use.number.for.article} { #1 } + + +% #0 turns off the display of the paper and type fields in @inproceedings. +% #1 enables +FUNCTION {default.is.use.paper} { #1 } + + +% #0 turns off the forced use of "et al." +% #1 enables +FUNCTION {default.is.forced.et.al} { #0 } + +% The maximum number of names that can be present beyond which an "et al." +% usage is forced. Be sure that num.names.shown.with.forced.et.al (below) +% is not greater than this value! +% Note: There are many instances of references in IEEE journals which have +% a very large number of authors as well as instances in which "et al." is +% used profusely. +FUNCTION {default.max.num.names.before.forced.et.al} { #10 } + +% The number of names that will be shown with a forced "et al.". +% Must be less than or equal to max.num.names.before.forced.et.al +FUNCTION {default.num.names.shown.with.forced.et.al} { #1 } + + +% #0 turns off the alternate interword spacing for entries with URLs. +% #1 enables +FUNCTION {default.is.use.alt.interword.spacing} { #1 } + +% If alternate interword spacing for entries with URLs is enabled, this is +% the interword spacing stretch factor that will be used. For example, the +% default "4" here means that the interword spacing in entries with URLs can +% stretch to four times normal. Does not have to be an integer. Note that +% the value specified here can be overridden by the user in their LaTeX +% code via a command such as: +% "\providecommand\BIBentryALTinterwordstretchfactor{1.5}" in addition to +% that via the IEEEtranBSTCTL entry type. +FUNCTION {default.ALTinterwordstretchfactor} { "4" } + + +% #0 turns off the "dashification" of repeated (i.e., identical to those +% of the previous entry) names. IEEE normally does this. +% #1 enables +FUNCTION {default.is.dash.repeated.names} { #1 } + + +% The default name format control string. +FUNCTION {default.name.format.string}{ "{f.~}{vv~}{ll}{, jj}" } + + +% The default LaTeX font command for the names. +FUNCTION {default.name.latex.cmd}{ "" } + + +% The default URL prefix. +FUNCTION {default.name.url.prefix}{ "[Online]. Available:" } + + +% Other controls that cannot be accessed via IEEEtranBSTCTL entry type. + +% #0 turns off the terminal startup banner/completed message so as to +% operate more quietly. +% #1 enables +FUNCTION {is.print.banners.to.terminal} { #1 } + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% FILE VERSION AND BANNER %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION{bst.file.version} { "1.13" } +FUNCTION{bst.file.date} { "2008/09/30" } +FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" } + +FUNCTION {banner.message} +{ is.print.banners.to.terminal + { "-- IEEEtran.bst version" " " * bst.file.version * + " (" * bst.file.date * ") " * "by Michael Shell." * + top$ + "-- " bst.file.website * + top$ + "-- See the " quote$ * "IEEEtran_bst_HOWTO.pdf" * quote$ * " manual for usage information." * + top$ + } + { skip$ } + if$ +} + +FUNCTION {completed.message} +{ is.print.banners.to.terminal + { "" + top$ + "Done." + top$ + } + { skip$ } + if$ +} + + + + +%%%%%%%%%%%%%%%%%%%%%% +%% STRING CONSTANTS %% +%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {bbl.and}{ "and" } +FUNCTION {bbl.etal}{ "et~al." } +FUNCTION {bbl.editors}{ "eds." } +FUNCTION {bbl.editor}{ "ed." } +FUNCTION {bbl.edition}{ "ed." } +FUNCTION {bbl.volume}{ "vol." } +FUNCTION {bbl.of}{ "of" } +FUNCTION {bbl.number}{ "no." } +FUNCTION {bbl.in}{ "in" } +FUNCTION {bbl.pages}{ "pp." } +FUNCTION {bbl.page}{ "p." } +FUNCTION {bbl.chapter}{ "ch." } +FUNCTION {bbl.paper}{ "paper" } +FUNCTION {bbl.part}{ "pt." } +FUNCTION {bbl.patent}{ "Patent" } +FUNCTION {bbl.patentUS}{ "U.S." } +FUNCTION {bbl.revision}{ "Rev." } +FUNCTION {bbl.series}{ "ser." } +FUNCTION {bbl.standard}{ "Std." } +FUNCTION {bbl.techrep}{ "Tech. Rep." } +FUNCTION {bbl.mthesis}{ "Master's thesis" } +FUNCTION {bbl.phdthesis}{ "Ph.D. dissertation" } +FUNCTION {bbl.st}{ "st" } +FUNCTION {bbl.nd}{ "nd" } +FUNCTION {bbl.rd}{ "rd" } +FUNCTION {bbl.th}{ "th" } + + +% This is the LaTeX spacer that is used when a larger than normal space +% is called for (such as just before the address:publisher). +FUNCTION {large.space} { "\hskip 1em plus 0.5em minus 0.4em\relax " } + +% The LaTeX code for dashes that are used to represent repeated names. +% Note: Some older IEEE journals used something like +% "\rule{0.275in}{0.5pt}\," which is fairly thick and runs right along +% the baseline. However, IEEE now uses a thinner, above baseline, +% six dash long sequence. +FUNCTION {repeated.name.dashes} { "------" } + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% PREDEFINED STRING MACROS %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +MACRO {jan} {"Jan."} +MACRO {feb} {"Feb."} +MACRO {mar} {"Mar."} +MACRO {apr} {"Apr."} +MACRO {may} {"May"} +MACRO {jun} {"Jun."} +MACRO {jul} {"Jul."} +MACRO {aug} {"Aug."} +MACRO {sep} {"Sep."} +MACRO {oct} {"Oct."} +MACRO {nov} {"Nov."} +MACRO {dec} {"Dec."} + + + +%%%%%%%%%%%%%%%%%% +%% ENTRY FIELDS %% +%%%%%%%%%%%%%%%%%% + +ENTRY + { address + assignee + author + booktitle + chapter + day + dayfiled + edition + editor + howpublished + institution + intype + journal + key + language + month + monthfiled + nationality + note + number + organization + pages + paper + publisher + school + series + revision + title + type + url + volume + year + yearfiled + CTLuse_article_number + CTLuse_paper + CTLuse_forced_etal + CTLmax_names_forced_etal + CTLnames_show_etal + CTLuse_alt_spacing + CTLalt_stretch_factor + CTLdash_repeated_names + CTLname_format_string + CTLname_latex_cmd + CTLname_url_prefix + } + {} + { label } + + + + +%%%%%%%%%%%%%%%%%%%%%%% +%% INTEGER VARIABLES %% +%%%%%%%%%%%%%%%%%%%%%%% + +INTEGERS { prev.status.punct this.status.punct punct.std + punct.no punct.comma punct.period + prev.status.space this.status.space space.std + space.no space.normal space.large + prev.status.quote this.status.quote quote.std + quote.no quote.close + prev.status.nline this.status.nline nline.std + nline.no nline.newblock + status.cap cap.std + cap.no cap.yes} + +INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames } + +INTEGERS { is.use.number.for.article + is.use.paper + is.forced.et.al + max.num.names.before.forced.et.al + num.names.shown.with.forced.et.al + is.use.alt.interword.spacing + is.dash.repeated.names} + + +%%%%%%%%%%%%%%%%%%%%%% +%% STRING VARIABLES %% +%%%%%%%%%%%%%%%%%%%%%% + +STRINGS { bibinfo + longest.label + oldname + s + t + ALTinterwordstretchfactor + name.format.string + name.latex.cmd + name.url.prefix} + + + + +%%%%%%%%%%%%%%%%%%%%%%%%% +%% LOW LEVEL FUNCTIONS %% +%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {initialize.controls} +{ default.is.use.number.for.article 'is.use.number.for.article := + default.is.use.paper 'is.use.paper := + default.is.forced.et.al 'is.forced.et.al := + default.max.num.names.before.forced.et.al 'max.num.names.before.forced.et.al := + default.num.names.shown.with.forced.et.al 'num.names.shown.with.forced.et.al := + default.is.use.alt.interword.spacing 'is.use.alt.interword.spacing := + default.is.dash.repeated.names 'is.dash.repeated.names := + default.ALTinterwordstretchfactor 'ALTinterwordstretchfactor := + default.name.format.string 'name.format.string := + default.name.latex.cmd 'name.latex.cmd := + default.name.url.prefix 'name.url.prefix := +} + + +% This IEEEtran.bst features a very powerful and flexible mechanism for +% controlling the capitalization, punctuation, spacing, quotation, and +% newlines of the formatted entry fields. (Note: IEEEtran.bst does not need +% or use the newline/newblock feature, but it has been implemented for +% possible future use.) The output states of IEEEtran.bst consist of +% multiple independent attributes and, as such, can be thought of as being +% vectors, rather than the simple scalar values ("before.all", +% "mid.sentence", etc.) used in most other .bst files. +% +% The more flexible and complex design used here was motivated in part by +% IEEE's rather unusual bibliography style. For example, IEEE ends the +% previous field item with a period and large space prior to the publisher +% address; the @electronic entry types use periods as inter-item punctuation +% rather than the commas used by the other entry types; and URLs are never +% followed by periods even though they are the last item in the entry. +% Although it is possible to accommodate these features with the conventional +% output state system, the seemingly endless exceptions make for convoluted, +% unreliable and difficult to maintain code. +% +% IEEEtran.bst's output state system can be easily understood via a simple +% illustration of two most recently formatted entry fields (on the stack): +% +% CURRENT_ITEM +% "PREVIOUS_ITEM +% +% which, in this example, is to eventually appear in the bibliography as: +% +% "PREVIOUS_ITEM," CURRENT_ITEM +% +% It is the job of the output routine to take the previous item off of the +% stack (while leaving the current item at the top of the stack), apply its +% trailing punctuation (including closing quote marks) and spacing, and then +% to write the result to BibTeX's output buffer: +% +% "PREVIOUS_ITEM," +% +% Punctuation (and spacing) between items is often determined by both of the +% items rather than just the first one. The presence of quotation marks +% further complicates the situation because, in standard English, trailing +% punctuation marks are supposed to be contained within the quotes. +% +% IEEEtran.bst maintains two output state (aka "status") vectors which +% correspond to the previous and current (aka "this") items. Each vector +% consists of several independent attributes which track punctuation, +% spacing, quotation, and newlines. Capitalization status is handled by a +% separate scalar because the format routines, not the output routine, +% handle capitalization and, therefore, there is no need to maintain the +% capitalization attribute for both the "previous" and "this" items. +% +% When a format routine adds a new item, it copies the current output status +% vector to the previous output status vector and (usually) resets the +% current (this) output status vector to a "standard status" vector. Using a +% "standard status" vector in this way allows us to redefine what we mean by +% "standard status" at the start of each entry handler and reuse the same +% format routines under the various inter-item separation schemes. For +% example, the standard status vector for the @book entry type may use +% commas for item separators, while the @electronic type may use periods, +% yet both entry handlers exploit many of the exact same format routines. +% +% Because format routines have write access to the output status vector of +% the previous item, they can override the punctuation choices of the +% previous format routine! Therefore, it becomes trivial to implement rules +% such as "Always use a period and a large space before the publisher." By +% pushing the generation of the closing quote mark to the output routine, we +% avoid all the problems caused by having to close a quote before having all +% the information required to determine what the punctuation should be. +% +% The IEEEtran.bst output state system can easily be expanded if needed. +% For instance, it is easy to add a "space.tie" attribute value if the +% bibliography rules mandate that two items have to be joined with an +% unbreakable space. + +FUNCTION {initialize.status.constants} +{ #0 'punct.no := + #1 'punct.comma := + #2 'punct.period := + #0 'space.no := + #1 'space.normal := + #2 'space.large := + #0 'quote.no := + #1 'quote.close := + #0 'cap.no := + #1 'cap.yes := + #0 'nline.no := + #1 'nline.newblock := +} + +FUNCTION {std.status.using.comma} +{ punct.comma 'punct.std := + space.normal 'space.std := + quote.no 'quote.std := + nline.no 'nline.std := + cap.no 'cap.std := +} + +FUNCTION {std.status.using.period} +{ punct.period 'punct.std := + space.normal 'space.std := + quote.no 'quote.std := + nline.no 'nline.std := + cap.yes 'cap.std := +} + +FUNCTION {initialize.prev.this.status} +{ punct.no 'prev.status.punct := + space.no 'prev.status.space := + quote.no 'prev.status.quote := + nline.no 'prev.status.nline := + punct.no 'this.status.punct := + space.no 'this.status.space := + quote.no 'this.status.quote := + nline.no 'this.status.nline := + cap.yes 'status.cap := +} + +FUNCTION {this.status.std} +{ punct.std 'this.status.punct := + space.std 'this.status.space := + quote.std 'this.status.quote := + nline.std 'this.status.nline := +} + +FUNCTION {cap.status.std}{ cap.std 'status.cap := } + +FUNCTION {this.to.prev.status} +{ this.status.punct 'prev.status.punct := + this.status.space 'prev.status.space := + this.status.quote 'prev.status.quote := + this.status.nline 'prev.status.nline := +} + + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ { skip$ } + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + { skip$ } + if$ +} + + +% convert the strings "yes" or "no" to #1 or #0 respectively +FUNCTION {yes.no.to.int} +{ "l" change.case$ duplicate$ + "yes" = + { pop$ #1 } + { duplicate$ "no" = + { pop$ #0 } + { "unknown boolean " quote$ * swap$ * quote$ * + " in " * cite$ * warning$ + #0 + } + if$ + } + if$ +} + + +% pushes true if the single char string on the stack is in the +% range of "0" to "9" +FUNCTION {is.num} +{ chr.to.int$ + duplicate$ "0" chr.to.int$ < not + swap$ "9" chr.to.int$ > not and +} + +% multiplies the integer on the stack by a factor of 10 +FUNCTION {bump.int.mag} +{ #0 'multiresult := + { duplicate$ #0 > } + { #1 - + multiresult #10 + + 'multiresult := + } + while$ +pop$ +multiresult +} + +% converts a single character string on the stack to an integer +FUNCTION {char.to.integer} +{ duplicate$ + is.num + { chr.to.int$ "0" chr.to.int$ - } + {"noninteger character " quote$ * swap$ * quote$ * + " in integer field of " * cite$ * warning$ + #0 + } + if$ +} + +% converts a string on the stack to an integer +FUNCTION {string.to.integer} +{ duplicate$ text.length$ 'namesleft := + #1 'nameptr := + #0 'numnames := + { nameptr namesleft > not } + { duplicate$ nameptr #1 substring$ + char.to.integer numnames bump.int.mag + + 'numnames := + nameptr #1 + + 'nameptr := + } + while$ +pop$ +numnames +} + + + + +% The output routines write out the *next* to the top (previous) item on the +% stack, adding punctuation and such as needed. Since IEEEtran.bst maintains +% the output status for the top two items on the stack, these output +% routines have to consider the previous output status (which corresponds to +% the item that is being output). Full independent control of punctuation, +% closing quote marks, spacing, and newblock is provided. +% +% "output.nonnull" does not check for the presence of a previous empty +% item. +% +% "output" does check for the presence of a previous empty item and will +% remove an empty item rather than outputing it. +% +% "output.warn" is like "output", but will issue a warning if it detects +% an empty item. + +FUNCTION {output.nonnull} +{ swap$ + prev.status.punct punct.comma = + { "," * } + { skip$ } + if$ + prev.status.punct punct.period = + { add.period$ } + { skip$ } + if$ + prev.status.quote quote.close = + { "''" * } + { skip$ } + if$ + prev.status.space space.normal = + { " " * } + { skip$ } + if$ + prev.status.space space.large = + { large.space * } + { skip$ } + if$ + write$ + prev.status.nline nline.newblock = + { newline$ "\newblock " write$ } + { skip$ } + if$ +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.warn} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +% "fin.entry" is the output routine that handles the last item of the entry +% (which will be on the top of the stack when "fin.entry" is called). + +FUNCTION {fin.entry} +{ this.status.punct punct.no = + { skip$ } + { add.period$ } + if$ + this.status.quote quote.close = + { "''" * } + { skip$ } + if$ +write$ +newline$ +} + + +FUNCTION {is.last.char.not.punct} +{ duplicate$ + "}" * add.period$ + #-1 #1 substring$ "." = +} + +FUNCTION {is.multiple.pages} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {capitalize}{ "u" change.case$ "t" change.case$ } + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "\emph{" swap$ * "}" * } + if$ +} + +FUNCTION {do.name.latex.cmd} +{ name.latex.cmd + empty$ + { skip$ } + { name.latex.cmd "{" * swap$ * "}" * } + if$ +} + +% IEEEtran.bst uses its own \BIBforeignlanguage command which directly +% invokes the TeX hyphenation patterns without the need of the Babel +% package. Babel does a lot more than switch hyphenation patterns and +% its loading can cause unintended effects in many class files (such as +% IEEEtran.cls). +FUNCTION {select.language} +{ duplicate$ empty$ 'pop$ + { language empty$ 'skip$ + { "\BIBforeignlanguage{" language * "}{" * swap$ * "}" * } + if$ + } + if$ +} + +FUNCTION {tie.or.space.prefix} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ +} + +FUNCTION {get.bbl.editor} +{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } + +FUNCTION {space.word}{ " " swap$ * " " * } + + +% Field Conditioners, Converters, Checkers and External Interfaces + +FUNCTION {empty.field.to.null.string} +{ duplicate$ empty$ + { pop$ "" } + { skip$ } + if$ +} + +FUNCTION {either.or.check} +{ empty$ + { pop$ } + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {empty.entry.warn} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ url empty$ + and and and and and and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + + +% The bibinfo system provides a way for the electronic parsing/acquisition +% of a bibliography's contents as is done by ReVTeX. For example, a field +% could be entered into the bibliography as: +% \bibinfo{volume}{2} +% Only the "2" would show up in the document, but the LaTeX \bibinfo command +% could do additional things with the information. IEEEtran.bst does provide +% a \bibinfo command via "\providecommand{\bibinfo}[2]{#2}". However, it is +% currently not used as the bogus bibinfo functions defined here output the +% entry values directly without the \bibinfo wrapper. The bibinfo functions +% themselves (and the calls to them) are retained for possible future use. +% +% bibinfo.check avoids acting on missing fields while bibinfo.warn will +% issue a warning message if a missing field is detected. Prior to calling +% the bibinfo functions, the user should push the field value and then its +% name string, in that order. + +FUNCTION {bibinfo.check} +{ swap$ duplicate$ missing$ + { pop$ pop$ "" } + { duplicate$ empty$ + { swap$ pop$ } + { swap$ pop$ } + if$ + } + if$ +} + +FUNCTION {bibinfo.warn} +{ swap$ duplicate$ missing$ + { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ "" } + { duplicate$ empty$ + { swap$ "empty " swap$ * " in " * cite$ * warning$ } + { swap$ pop$ } + if$ + } + if$ +} + + +% IEEE separates large numbers with more than 4 digits into groups of +% three. IEEE uses a small space to separate these number groups. +% Typical applications include patent and page numbers. + +% number of consecutive digits required to trigger the group separation. +FUNCTION {large.number.trigger}{ #5 } + +% For numbers longer than the trigger, this is the blocksize of the groups. +% The blocksize must be less than the trigger threshold, and 2 * blocksize +% must be greater than the trigger threshold (can't do more than one +% separation on the initial trigger). +FUNCTION {large.number.blocksize}{ #3 } + +% What is actually inserted between the number groups. +FUNCTION {large.number.separator}{ "\," } + +% So as to save on integer variables by reusing existing ones, numnames +% holds the current number of consecutive digits read and nameptr holds +% the number that will trigger an inserted space. +FUNCTION {large.number.separate} +{ 't := + "" + #0 'numnames := + large.number.trigger 'nameptr := + { t empty$ not } + { t #-1 #1 substring$ is.num + { numnames #1 + 'numnames := } + { #0 'numnames := + large.number.trigger 'nameptr := + } + if$ + t #-1 #1 substring$ swap$ * + t #-2 global.max$ substring$ 't := + numnames nameptr = + { duplicate$ #1 nameptr large.number.blocksize - substring$ swap$ + nameptr large.number.blocksize - #1 + global.max$ substring$ + large.number.separator swap$ * * + nameptr large.number.blocksize - 'numnames := + large.number.blocksize #1 + 'nameptr := + } + { skip$ } + if$ + } + while$ +} + +% Converts all single dashes "-" to double dashes "--". +FUNCTION {n.dashify} +{ large.number.separate + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + + +% This function detects entries with names that are identical to that of +% the previous entry and replaces the repeated names with dashes (if the +% "is.dash.repeated.names" user control is nonzero). +FUNCTION {name.or.dash} +{ 's := + oldname empty$ + { s 'oldname := s } + { s oldname = + { is.dash.repeated.names + { repeated.name.dashes } + { s 'oldname := s } + if$ + } + { s 'oldname := s } + if$ + } + if$ +} + +% Converts the number string on the top of the stack to +% "numerical ordinal form" (e.g., "7" to "7th"). There is +% no artificial limit to the upper bound of the numbers as the +% two least significant digits determine the ordinal form. +FUNCTION {num.to.ordinal} +{ duplicate$ #-2 #1 substring$ "1" = + { bbl.th * } + { duplicate$ #-1 #1 substring$ "1" = + { bbl.st * } + { duplicate$ #-1 #1 substring$ "2" = + { bbl.nd * } + { duplicate$ #-1 #1 substring$ "3" = + { bbl.rd * } + { bbl.th * } + if$ + } + if$ + } + if$ + } + if$ +} + +% If the string on the top of the stack begins with a number, +% (e.g., 11th) then replace the string with the leading number +% it contains. Otherwise retain the string as-is. s holds the +% extracted number, t holds the part of the string that remains +% to be scanned. +FUNCTION {extract.num} +{ duplicate$ 't := + "" 's := + { t empty$ not } + { t #1 #1 substring$ + t #2 global.max$ substring$ 't := + duplicate$ is.num + { s swap$ * 's := } + { pop$ "" 't := } + if$ + } + while$ + s empty$ + 'skip$ + { pop$ s } + if$ +} + +% Converts the word number string on the top of the stack to +% Arabic string form. Will be successful up to "tenth". +FUNCTION {word.to.num} +{ duplicate$ "l" change.case$ 's := + s "first" = + { pop$ "1" } + { skip$ } + if$ + s "second" = + { pop$ "2" } + { skip$ } + if$ + s "third" = + { pop$ "3" } + { skip$ } + if$ + s "fourth" = + { pop$ "4" } + { skip$ } + if$ + s "fifth" = + { pop$ "5" } + { skip$ } + if$ + s "sixth" = + { pop$ "6" } + { skip$ } + if$ + s "seventh" = + { pop$ "7" } + { skip$ } + if$ + s "eighth" = + { pop$ "8" } + { skip$ } + if$ + s "ninth" = + { pop$ "9" } + { skip$ } + if$ + s "tenth" = + { pop$ "10" } + { skip$ } + if$ +} + + +% Converts the string on the top of the stack to numerical +% ordinal (e.g., "11th") form. +FUNCTION {convert.edition} +{ duplicate$ empty$ 'skip$ + { duplicate$ #1 #1 substring$ is.num + { extract.num + num.to.ordinal + } + { word.to.num + duplicate$ #1 #1 substring$ is.num + { num.to.ordinal } + { "edition ordinal word " quote$ * edition * quote$ * + " may be too high (or improper) for conversion" * " in " * cite$ * warning$ + } + if$ + } + if$ + } + if$ +} + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% LATEX BIBLIOGRAPHY CODE %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {start.entry} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + initialize.prev.this.status +} + +% Here we write out all the LaTeX code that we will need. The most involved +% code sequences are those that control the alternate interword spacing and +% foreign language hyphenation patterns. The heavy use of \providecommand +% gives users a way to override the defaults. Special thanks to Javier Bezos, +% Johannes Braams, Robin Fairbairns, Heiko Oberdiek, Donald Arseneau and all +% the other gurus on comp.text.tex for their help and advice on the topic of +% \selectlanguage, Babel and BibTeX. +FUNCTION {begin.bib} +{ "% Generated by IEEEtran.bst, version: " bst.file.version * " (" * bst.file.date * ")" * + write$ newline$ + preamble$ empty$ 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * + write$ newline$ + "\providecommand{\url}[1]{#1}" + write$ newline$ + "\csname url@samestyle\endcsname" + write$ newline$ + "\providecommand{\newblock}{\relax}" + write$ newline$ + "\providecommand{\bibinfo}[2]{#2}" + write$ newline$ + "\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}" + write$ newline$ + "\providecommand{\BIBentryALTinterwordstretchfactor}{" + ALTinterwordstretchfactor * "}" * + write$ newline$ + "\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus " + write$ newline$ + "\BIBentryALTinterwordstretchfactor\fontdimen3\font minus \fontdimen4\font\relax}" + write$ newline$ + "\providecommand{\BIBforeignlanguage}[2]{{%" + write$ newline$ + "\expandafter\ifx\csname l@#1\endcsname\relax" + write$ newline$ + "\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%" + write$ newline$ + "\typeout{** loaded for the language `#1'. Using the pattern for}%" + write$ newline$ + "\typeout{** the default language instead.}%" + write$ newline$ + "\else" + write$ newline$ + "\language=\csname l@#1\endcsname" + write$ newline$ + "\fi" + write$ newline$ + "#2}}" + write$ newline$ + "\providecommand{\BIBdecl}{\relax}" + write$ newline$ + "\BIBdecl" + write$ newline$ +} + +FUNCTION {end.bib} +{ newline$ "\end{thebibliography}" write$ newline$ } + +FUNCTION {if.url.alt.interword.spacing} +{ is.use.alt.interword.spacing + {url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$} + { skip$ } + if$ +} + +FUNCTION {if.url.std.interword.spacing} +{ is.use.alt.interword.spacing + {url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$} + { skip$ } + if$ +} + + + + +%%%%%%%%%%%%%%%%%%%%%%%% +%% LONGEST LABEL PASS %% +%%%%%%%%%%%%%%%%%%%%%%%% + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ type$ "ieeetranbstctl" = + { skip$ } + { number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + { skip$ } + if$ + } + if$ +} + + + + +%%%%%%%%%%%%%%%%%%%%% +%% FORMAT HANDLERS %% +%%%%%%%%%%%%%%%%%%%%% + +%% Lower Level Formats (used by higher level formats) + +FUNCTION {format.address.org.or.pub.date} +{ 't := + "" + year empty$ + { "empty year in " cite$ * warning$ } + { skip$ } + if$ + address empty$ t empty$ and + year empty$ and month empty$ and + { skip$ } + { this.to.prev.status + this.status.std + cap.status.std + address "address" bibinfo.check * + t empty$ + { skip$ } + { punct.period 'prev.status.punct := + space.large 'prev.status.space := + address empty$ + { skip$ } + { ": " * } + if$ + t * + } + if$ + year empty$ month empty$ and + { skip$ } + { t empty$ address empty$ and + { skip$ } + { ", " * } + if$ + month empty$ + { year empty$ + { skip$ } + { year "year" bibinfo.check * } + if$ + } + { month "month" bibinfo.check * + year empty$ + { skip$ } + { " " * year "year" bibinfo.check * } + if$ + } + if$ + } + if$ + } + if$ +} + + +FUNCTION {format.names} +{ 'bibinfo := + duplicate$ empty$ 'skip$ { + this.to.prev.status + this.status.std + 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + name.format.string + format.name$ + bibinfo bibinfo.check + 't := + nameptr #1 > + { nameptr num.names.shown.with.forced.et.al #1 + = + numnames max.num.names.before.forced.et.al > + is.forced.et.al and and + { "others" 't := + #1 'namesleft := + } + { skip$ } + if$ + namesleft #1 > + { ", " * t do.name.latex.cmd * } + { s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { " " * bbl.etal emphasize * } + { numnames #2 > + { "," * } + { skip$ } + if$ + bbl.and + space.word * t do.name.latex.cmd * + } + if$ + } + if$ + } + { t do.name.latex.cmd } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ + cap.status.std + } if$ +} + + + + +%% Higher Level Formats + +%% addresses/locations + +FUNCTION {format.address} +{ address duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + } + if$ +} + + + +%% author/editor names + +FUNCTION {format.authors}{ author "author" format.names } + +FUNCTION {format.editors} +{ editor "editor" format.names duplicate$ empty$ 'skip$ + { ", " * + get.bbl.editor + capitalize + * + } + if$ +} + + + +%% date + +FUNCTION {format.date} +{ + month "month" bibinfo.check duplicate$ empty$ + year "year" bibinfo.check duplicate$ empty$ + { swap$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + "there's a month but no year in " cite$ * warning$ } + if$ + * + } + { this.to.prev.status + this.status.std + cap.status.std + swap$ 'skip$ + { + swap$ + " " * swap$ + } + if$ + * + } + if$ +} + +FUNCTION {format.date.electronic} +{ month "month" bibinfo.check duplicate$ empty$ + year "year" bibinfo.check duplicate$ empty$ + { swap$ + { pop$ } + { "there's a month but no year in " cite$ * warning$ + pop$ ")" * "(" swap$ * + this.to.prev.status + punct.no 'this.status.punct := + space.normal 'this.status.space := + quote.no 'this.status.quote := + cap.yes 'status.cap := + } + if$ + } + { swap$ + { swap$ pop$ ")" * "(" swap$ * } + { "(" swap$ * ", " * swap$ * ")" * } + if$ + this.to.prev.status + punct.no 'this.status.punct := + space.normal 'this.status.space := + quote.no 'this.status.quote := + cap.yes 'status.cap := + } + if$ +} + + + +%% edition/title + +% Note: IEEE considers the edition to be closely associated with +% the title of a book. So, in IEEEtran.bst the edition is normally handled +% within the formatting of the title. The format.edition function is +% retained here for possible future use. +FUNCTION {format.edition} +{ edition duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + convert.edition + status.cap + { "t" } + { "l" } + if$ change.case$ + "edition" bibinfo.check + "~" * bbl.edition * + cap.status.std + } + if$ +} + +% This is used to format the booktitle of a conference proceedings. +% Here we use the "intype" field to provide the user a way to +% override the word "in" (e.g., with things like "presented at") +% Use of intype stops the emphasis of the booktitle to indicate that +% we no longer mean the written conference proceedings, but the +% conference itself. +FUNCTION {format.in.booktitle} +{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + select.language + intype missing$ + { emphasize + bbl.in " " * + } + { intype " " * } + if$ + swap$ * + cap.status.std + } + if$ +} + +% This is used to format the booktitle of collection. +% Here the "intype" field is not supported, but "edition" is. +FUNCTION {format.in.booktitle.edition} +{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + select.language + emphasize + edition empty$ 'skip$ + { ", " * + edition + convert.edition + "l" change.case$ + * "~" * bbl.edition * + } + if$ + bbl.in " " * swap$ * + cap.status.std + } + if$ +} + +FUNCTION {format.article.title} +{ title duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + "t" change.case$ + } + if$ + "title" bibinfo.check + duplicate$ empty$ 'skip$ + { quote.close 'this.status.quote := + is.last.char.not.punct + { punct.std 'this.status.punct := } + { punct.no 'this.status.punct := } + if$ + select.language + "``" swap$ * + cap.status.std + } + if$ +} + +FUNCTION {format.article.title.electronic} +{ title duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + "t" change.case$ + } + if$ + "title" bibinfo.check + duplicate$ empty$ + { skip$ } + { select.language } + if$ +} + +FUNCTION {format.book.title.edition} +{ title "title" bibinfo.check + duplicate$ empty$ + { "empty title in " cite$ * warning$ } + { this.to.prev.status + this.status.std + select.language + emphasize + edition empty$ 'skip$ + { ", " * + edition + convert.edition + status.cap + { "t" } + { "l" } + if$ + change.case$ + * "~" * bbl.edition * + } + if$ + cap.status.std + } + if$ +} + +FUNCTION {format.book.title} +{ title "title" bibinfo.check + duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + select.language + emphasize + } + if$ +} + + + +%% journal + +FUNCTION {format.journal} +{ journal duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + select.language + emphasize + } + if$ +} + + + +%% how published + +FUNCTION {format.howpublished} +{ howpublished duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + } + if$ +} + + + +%% institutions/organization/publishers/school + +FUNCTION {format.institution} +{ institution duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + } + if$ +} + +FUNCTION {format.organization} +{ organization duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + } + if$ +} + +FUNCTION {format.address.publisher.date} +{ publisher "publisher" bibinfo.warn format.address.org.or.pub.date } + +FUNCTION {format.address.publisher.date.nowarn} +{ publisher "publisher" bibinfo.check format.address.org.or.pub.date } + +FUNCTION {format.address.organization.date} +{ organization "organization" bibinfo.check format.address.org.or.pub.date } + +FUNCTION {format.school} +{ school duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + cap.status.std + } + if$ +} + + + +%% volume/number/series/chapter/pages + +FUNCTION {format.volume} +{ volume empty.field.to.null.string + duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + bbl.volume + status.cap + { capitalize } + { skip$ } + if$ + swap$ tie.or.space.prefix + "volume" bibinfo.check + * * + cap.status.std + } + if$ +} + +FUNCTION {format.number} +{ number empty.field.to.null.string + duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + status.cap + { bbl.number capitalize } + { bbl.number } + if$ + swap$ tie.or.space.prefix + "number" bibinfo.check + * * + cap.status.std + } + if$ +} + +FUNCTION {format.number.if.use.for.article} +{ is.use.number.for.article + { format.number } + { "" } + if$ +} + +% IEEE does not seem to tie the series so closely with the volume +% and number as is done in other bibliography styles. Instead the +% series is treated somewhat like an extension of the title. +FUNCTION {format.series} +{ series empty$ + { "" } + { this.to.prev.status + this.status.std + bbl.series " " * + series "series" bibinfo.check * + cap.status.std + } + if$ +} + + +FUNCTION {format.chapter} +{ chapter empty$ + { "" } + { this.to.prev.status + this.status.std + type empty$ + { bbl.chapter } + { type "l" change.case$ + "type" bibinfo.check + } + if$ + chapter tie.or.space.prefix + "chapter" bibinfo.check + * * + cap.status.std + } + if$ +} + + +% The intended use of format.paper is for paper numbers of inproceedings. +% The paper type can be overridden via the type field. +% We allow the type to be displayed even if the paper number is absent +% for things like "postdeadline paper" +FUNCTION {format.paper} +{ is.use.paper + { paper empty$ + { type empty$ + { "" } + { this.to.prev.status + this.status.std + type "type" bibinfo.check + cap.status.std + } + if$ + } + { this.to.prev.status + this.status.std + type empty$ + { bbl.paper } + { type "type" bibinfo.check } + if$ + " " * paper + "paper" bibinfo.check + * + cap.status.std + } + if$ + } + { "" } + if$ +} + + +FUNCTION {format.pages} +{ pages duplicate$ empty$ 'skip$ + { this.to.prev.status + this.status.std + duplicate$ is.multiple.pages + { + bbl.pages swap$ + n.dashify + } + { + bbl.page swap$ + } + if$ + tie.or.space.prefix + "pages" bibinfo.check + * * + cap.status.std + } + if$ +} + + + +%% technical report number + +FUNCTION {format.tech.report.number} +{ number "number" bibinfo.check + this.to.prev.status + this.status.std + cap.status.std + type duplicate$ empty$ + { pop$ + bbl.techrep + } + { skip$ } + if$ + "type" bibinfo.check + swap$ duplicate$ empty$ + { pop$ } + { tie.or.space.prefix * * } + if$ +} + + + +%% note + +FUNCTION {format.note} +{ note empty$ + { "" } + { this.to.prev.status + this.status.std + punct.period 'this.status.punct := + note #1 #1 substring$ + duplicate$ "{" = + { skip$ } + { status.cap + { "u" } + { "l" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * "note" bibinfo.check + cap.yes 'status.cap := + } + if$ +} + + + +%% patent + +FUNCTION {format.patent.date} +{ this.to.prev.status + this.status.std + year empty$ + { monthfiled duplicate$ empty$ + { "monthfiled" bibinfo.check pop$ "" } + { "monthfiled" bibinfo.check } + if$ + dayfiled duplicate$ empty$ + { "dayfiled" bibinfo.check pop$ "" * } + { "dayfiled" bibinfo.check + monthfiled empty$ + { "dayfiled without a monthfiled in " cite$ * warning$ + * + } + { " " swap$ * * } + if$ + } + if$ + yearfiled empty$ + { "no year or yearfiled in " cite$ * warning$ } + { yearfiled "yearfiled" bibinfo.check + swap$ + duplicate$ empty$ + { pop$ } + { ", " * swap$ * } + if$ + } + if$ + } + { month duplicate$ empty$ + { "month" bibinfo.check pop$ "" } + { "month" bibinfo.check } + if$ + day duplicate$ empty$ + { "day" bibinfo.check pop$ "" * } + { "day" bibinfo.check + month empty$ + { "day without a month in " cite$ * warning$ + * + } + { " " swap$ * * } + if$ + } + if$ + year "year" bibinfo.check + swap$ + duplicate$ empty$ + { pop$ } + { ", " * swap$ * } + if$ + } + if$ + cap.status.std +} + +FUNCTION {format.patent.nationality.type.number} +{ this.to.prev.status + this.status.std + nationality duplicate$ empty$ + { "nationality" bibinfo.warn pop$ "" } + { "nationality" bibinfo.check + duplicate$ "l" change.case$ "united states" = + { pop$ bbl.patentUS } + { skip$ } + if$ + " " * + } + if$ + type empty$ + { bbl.patent "type" bibinfo.check } + { type "type" bibinfo.check } + if$ + * + number duplicate$ empty$ + { "number" bibinfo.warn pop$ } + { "number" bibinfo.check + large.number.separate + swap$ " " * swap$ * + } + if$ + cap.status.std +} + + + +%% standard + +FUNCTION {format.organization.institution.standard.type.number} +{ this.to.prev.status + this.status.std + organization duplicate$ empty$ + { pop$ + institution duplicate$ empty$ + { "institution" bibinfo.warn } + { "institution" bibinfo.warn " " * } + if$ + } + { "organization" bibinfo.warn " " * } + if$ + type empty$ + { bbl.standard "type" bibinfo.check } + { type "type" bibinfo.check } + if$ + * + number duplicate$ empty$ + { "number" bibinfo.check pop$ } + { "number" bibinfo.check + large.number.separate + swap$ " " * swap$ * + } + if$ + cap.status.std +} + +FUNCTION {format.revision} +{ revision empty$ + { "" } + { this.to.prev.status + this.status.std + bbl.revision + revision tie.or.space.prefix + "revision" bibinfo.check + * * + cap.status.std + } + if$ +} + + +%% thesis + +FUNCTION {format.master.thesis.type} +{ this.to.prev.status + this.status.std + type empty$ + { + bbl.mthesis + } + { + type "type" bibinfo.check + } + if$ +cap.status.std +} + +FUNCTION {format.phd.thesis.type} +{ this.to.prev.status + this.status.std + type empty$ + { + bbl.phdthesis + } + { + type "type" bibinfo.check + } + if$ +cap.status.std +} + + + +%% URL + +FUNCTION {format.url} +{ url empty$ + { "" } + { this.to.prev.status + this.status.std + cap.yes 'status.cap := + name.url.prefix " " * + "\url{" * url * "}" * + punct.no 'this.status.punct := + punct.period 'prev.status.punct := + space.normal 'this.status.space := + space.normal 'prev.status.space := + quote.no 'this.status.quote := + } + if$ +} + + + + +%%%%%%%%%%%%%%%%%%%% +%% ENTRY HANDLERS %% +%%%%%%%%%%%%%%%%%%%% + + +% Note: In many journals, IEEE (or the authors) tend not to show the number +% for articles, so the display of the number is controlled here by the +% switch "is.use.number.for.article" +FUNCTION {article} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.journal "journal" bibinfo.check "journal" output.warn + format.volume output + format.number.if.use.for.article output + format.pages output + format.date "year" output.warn + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {book} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + author empty$ + { format.editors "author and editor" output.warn } + { format.authors output.nonnull } + if$ + name.or.dash + format.book.title.edition output + format.series output + author empty$ + { skip$ } + { format.editors output } + if$ + format.address.publisher.date output + format.volume output + format.number output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {booklet} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.article.title "title" output.warn + format.howpublished "howpublished" bibinfo.check output + format.organization "organization" bibinfo.check output + format.address "address" bibinfo.check output + format.date output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {electronic} +{ std.status.using.period + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.date.electronic output + format.article.title.electronic output + format.howpublished "howpublished" bibinfo.check output + format.organization "organization" bibinfo.check output + format.address "address" bibinfo.check output + format.note output + format.url output + fin.entry + empty.entry.warn + if.url.std.interword.spacing +} + +FUNCTION {inbook} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + author empty$ + { format.editors "author and editor" output.warn } + { format.authors output.nonnull } + if$ + name.or.dash + format.book.title.edition output + format.series output + format.address.publisher.date output + format.volume output + format.number output + format.chapter output + format.pages output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {incollection} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.in.booktitle.edition "booktitle" output.warn + format.series output + format.editors output + format.address.publisher.date.nowarn output + format.volume output + format.number output + format.chapter output + format.pages output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {inproceedings} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.in.booktitle "booktitle" output.warn + format.series output + format.editors output + format.volume output + format.number output + publisher empty$ + { format.address.organization.date output } + { format.organization "organization" bibinfo.check output + format.address.publisher.date output + } + if$ + format.paper output + format.pages output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {manual} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.book.title.edition "title" output.warn + format.howpublished "howpublished" bibinfo.check output + format.organization "organization" bibinfo.check output + format.address "address" bibinfo.check output + format.date output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {mastersthesis} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.master.thesis.type output.nonnull + format.school "school" bibinfo.warn output + format.address "address" bibinfo.check output + format.date "year" output.warn + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {misc} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.article.title output + format.howpublished "howpublished" bibinfo.check output + format.organization "organization" bibinfo.check output + format.address "address" bibinfo.check output + format.pages output + format.date output + format.note output + format.url output + fin.entry + empty.entry.warn + if.url.std.interword.spacing +} + +FUNCTION {patent} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.article.title output + format.patent.nationality.type.number output + format.patent.date output + format.note output + format.url output + fin.entry + empty.entry.warn + if.url.std.interword.spacing +} + +FUNCTION {periodical} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.editors output + name.or.dash + format.book.title "title" output.warn + format.series output + format.volume output + format.number output + format.organization "organization" bibinfo.check output + format.date "year" output.warn + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {phdthesis} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.phd.thesis.type output.nonnull + format.school "school" bibinfo.warn output + format.address "address" bibinfo.check output + format.date "year" output.warn + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {proceedings} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.editors output + name.or.dash + format.book.title "title" output.warn + format.series output + format.volume output + format.number output + publisher empty$ + { format.address.organization.date output } + { format.organization "organization" bibinfo.check output + format.address.publisher.date output + } + if$ + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {standard} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors output + name.or.dash + format.book.title "title" output.warn + format.howpublished "howpublished" bibinfo.check output + format.organization.institution.standard.type.number output + format.revision output + format.date output + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {techreport} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.howpublished "howpublished" bibinfo.check output + format.institution "institution" bibinfo.warn output + format.address "address" bibinfo.check output + format.tech.report.number output.nonnull + format.date "year" output.warn + format.note output + format.url output + fin.entry + if.url.std.interword.spacing +} + +FUNCTION {unpublished} +{ std.status.using.comma + start.entry + if.url.alt.interword.spacing + format.authors "author" output.warn + name.or.dash + format.article.title "title" output.warn + format.date output + format.note "note" output.warn + format.url output + fin.entry + if.url.std.interword.spacing +} + + +% The special entry type which provides the user interface to the +% BST controls +FUNCTION {IEEEtranBSTCTL} +{ is.print.banners.to.terminal + { "** IEEEtran BST control entry " quote$ * cite$ * quote$ * " detected." * + top$ + } + { skip$ } + if$ + CTLuse_article_number + empty$ + { skip$ } + { CTLuse_article_number + yes.no.to.int + 'is.use.number.for.article := + } + if$ + CTLuse_paper + empty$ + { skip$ } + { CTLuse_paper + yes.no.to.int + 'is.use.paper := + } + if$ + CTLuse_forced_etal + empty$ + { skip$ } + { CTLuse_forced_etal + yes.no.to.int + 'is.forced.et.al := + } + if$ + CTLmax_names_forced_etal + empty$ + { skip$ } + { CTLmax_names_forced_etal + string.to.integer + 'max.num.names.before.forced.et.al := + } + if$ + CTLnames_show_etal + empty$ + { skip$ } + { CTLnames_show_etal + string.to.integer + 'num.names.shown.with.forced.et.al := + } + if$ + CTLuse_alt_spacing + empty$ + { skip$ } + { CTLuse_alt_spacing + yes.no.to.int + 'is.use.alt.interword.spacing := + } + if$ + CTLalt_stretch_factor + empty$ + { skip$ } + { CTLalt_stretch_factor + 'ALTinterwordstretchfactor := + "\renewcommand{\BIBentryALTinterwordstretchfactor}{" + ALTinterwordstretchfactor * "}" * + write$ newline$ + } + if$ + CTLdash_repeated_names + empty$ + { skip$ } + { CTLdash_repeated_names + yes.no.to.int + 'is.dash.repeated.names := + } + if$ + CTLname_format_string + empty$ + { skip$ } + { CTLname_format_string + 'name.format.string := + } + if$ + CTLname_latex_cmd + empty$ + { skip$ } + { CTLname_latex_cmd + 'name.latex.cmd := + } + if$ + CTLname_url_prefix + missing$ + { skip$ } + { CTLname_url_prefix + 'name.url.prefix := + } + if$ + + + num.names.shown.with.forced.et.al max.num.names.before.forced.et.al > + { "CTLnames_show_etal cannot be greater than CTLmax_names_forced_etal in " cite$ * warning$ + max.num.names.before.forced.et.al 'num.names.shown.with.forced.et.al := + } + { skip$ } + if$ +} + + +%%%%%%%%%%%%%%%%%%% +%% ENTRY ALIASES %% +%%%%%%%%%%%%%%%%%%% +FUNCTION {conference}{inproceedings} +FUNCTION {online}{electronic} +FUNCTION {internet}{electronic} +FUNCTION {webpage}{electronic} +FUNCTION {www}{electronic} +FUNCTION {default.type}{misc} + + + +%%%%%%%%%%%%%%%%%% +%% MAIN PROGRAM %% +%%%%%%%%%%%%%%%%%% + +READ + +EXECUTE {initialize.controls} +EXECUTE {initialize.status.constants} +EXECUTE {banner.message} + +EXECUTE {initialize.longest.label} +ITERATE {longest.label.pass} + +EXECUTE {begin.bib} +ITERATE {call.type$} +EXECUTE {end.bib} + +EXECUTE{completed.message} + + +%% That's all folks, mds. diff --git a/branches/candidate/IEEEtran.cls b/branches/candidate/IEEEtran.cls new file mode 100644 index 0000000..5681714 --- /dev/null +++ b/branches/candidate/IEEEtran.cls @@ -0,0 +1,4702 @@ +%% +%% IEEEtran.cls 2007/03/05 version V1.7a +%% +%% +%% This is the official IEEE LaTeX class for authors of the Institute of +%% Electrical and Electronics Engineers (IEEE) Transactions journals and +%% conferences. +%% +%% Support sites: +%% http://www.michaelshell.org/tex/ieeetran/ +%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ +%% and +%% http://www.ieee.org/ +%% +%% Based on the original 1993 IEEEtran.cls, but with many bug fixes +%% and enhancements (from both JVH and MDS) over the 1996/7 version. +%% +%% +%% Contributors: +%% Gerry Murray (1993), Silvano Balemi (1993), +%% Jon Dixon (1996), Peter N"uchter (1996), +%% Juergen von Hagen (2000), and Michael Shell (2001-2007) +%% +%% +%% Copyright (c) 1993-2000 by Gerry Murray, Silvano Balemi, +%% Jon Dixon, Peter N"uchter, +%% Juergen von Hagen +%% and +%% Copyright (c) 2001-2007 by Michael Shell +%% +%% Current maintainer (V1.3 to V1.7): Michael Shell +%% See: +%% http://www.michaelshell.org/ +%% for current contact information. +%% +%% Special thanks to Peter Wilson (CUA) and Donald Arseneau +%% for allowing the inclusion of the \@ifmtarg command +%% from their ifmtarg LaTeX package. +%% +%%************************************************************************* +%% Legal Notice: +%% This code is offered as-is without any warranty either expressed or +%% implied; without even the implied warranty of MERCHANTABILITY or +%% FITNESS FOR A PARTICULAR PURPOSE! +%% User assumes all risk. +%% In no event shall IEEE or any contributor to this code be liable for +%% any damages or losses, including, but not limited to, incidental, +%% consequential, or any other damages, resulting from the use or misuse +%% of any information contained here. +%% +%% All comments are the opinions of their respective authors and are not +%% necessarily endorsed by the IEEE. +%% +%% This work is distributed under the LaTeX Project Public License (LPPL) +%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, +%% distributed and modified. A copy of the LPPL, version 1.3, is included +%% in the base LaTeX documentation of all distributions of LaTeX released +%% 2003/12/01 or later. +%% Retain all contribution notices and credits. +%% ** Modified files should be clearly indicated as such, including ** +%% ** renaming them and changing author support contact information. ** +%% +%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, +%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex +%% +%% Major changes to the user interface should be indicated by an +%% increase in the version numbers. If a version is a beta, it will +%% be indicated with a BETA suffix, i.e., 1.4 BETA. +%% Small changes can be indicated by appending letters to the version +%% such as "IEEEtran_v14a.cls". +%% In all cases, \Providesclass, any \typeout messages to the user, +%% \IEEEtransversionmajor and \IEEEtransversionminor must reflect the +%% correct version information. +%% The changes should also be documented via source comments. +%%************************************************************************* +%% +% +% Available class options +% e.g., \documentclass[10pt,conference]{IEEEtran} +% +% *** choose only one from each category *** +% +% 9pt, 10pt, 11pt, 12pt +% Sets normal font size. The default is 10pt. +% +% conference, journal, technote, peerreview, peerreviewca +% determines format mode - conference papers, journal papers, +% correspondence papers (technotes), or peer review papers. The user +% should also select 9pt when using technote. peerreview is like +% journal mode, but provides for a single-column "cover" title page for +% anonymous peer review. The paper title (without the author names) is +% repeated at the top of the page after the cover page. For peer review +% papers, the \IEEEpeerreviewmaketitle command must be executed (will +% automatically be ignored for non-peerreview modes) at the place the +% cover page is to end, usually just after the abstract (keywords are +% not normally used with peer review papers). peerreviewca is like +% peerreview, but allows the author names to be entered and formatted +% as with conference mode so that author affiliation and contact +% information can be easily seen on the cover page. +% The default is journal. +% +% draft, draftcls, draftclsnofoot, final +% determines if paper is formatted as a widely spaced draft (for +% handwritten editor comments) or as a properly typeset final version. +% draftcls restricts draft mode to the class file while all other LaTeX +% packages (i.e., \usepackage{graphicx}) will behave as final - allows +% for a draft paper with visible figures, etc. draftclsnofoot is like +% draftcls, but does not display the date and the word "DRAFT" at the foot +% of the pages. If using one of the draft modes, the user will probably +% also want to select onecolumn. +% The default is final. +% +% letterpaper, a4paper +% determines paper size: 8.5in X 11in or 210mm X 297mm. CHANGING THE PAPER +% SIZE WILL NOT ALTER THE TYPESETTING OF THE DOCUMENT - ONLY THE MARGINS +% WILL BE AFFECTED. In particular, documents using the a4paper option will +% have reduced side margins (A4 is narrower than US letter) and a longer +% bottom margin (A4 is longer than US letter). For both cases, the top +% margins will be the same and the text will be horizontally centered. +% For final submission to IEEE, authors should use US letter (8.5 X 11in) +% paper. Note that authors should ensure that all post-processing +% (ps, pdf, etc.) uses the same paper specificiation as the .tex document. +% Problems here are by far the number one reason for incorrect margins. +% IEEEtran will automatically set the default paper size under pdflatex +% (without requiring a change to pdftex.cfg), so this issue is more +% important to dvips users. Fix config.ps, config.pdf, or ~/.dvipsrc for +% dvips, or use the dvips -t papersize option instead as needed. See the +% testflow documentation +% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/testflow +% for more details on dvips paper size configuration. +% The default is letterpaper. +% +% oneside, twoside +% determines if layout follows single sided or two sided (duplex) +% printing. The only notable change is with the headings at the top of +% the pages. +% The default is oneside. +% +% onecolumn, twocolumn +% determines if text is organized into one or two columns per page. One +% column mode is usually used only with draft papers. +% The default is twocolumn. +% +% compsoc +% Use the format of the IEEE Computer Society. +% +% romanappendices +% Use the "Appendix I" convention when numbering appendices. IEEEtran.cls +% now defaults to Alpha "Appendix A" convention - the opposite of what +% v1.6b and earlier did. +% +% captionsoff +% disables the display of the figure/table captions. Some IEEE journals +% request that captions be removed and figures/tables be put on pages +% of their own at the end of an initial paper submission. The endfloat +% package can be used with this class option to achieve this format. +% +% nofonttune +% turns off tuning of the font interword spacing. Maybe useful to those +% not using the standard Times fonts or for those who have already "tuned" +% their fonts. +% The default is to enable IEEEtran to tune font parameters. +% +% +%---------- +% Available CLASSINPUTs provided (all are macros unless otherwise noted): +% \CLASSINPUTbaselinestretch +% \CLASSINPUTinnersidemargin +% \CLASSINPUToutersidemargin +% \CLASSINPUTtoptextmargin +% \CLASSINPUTbottomtextmargin +% +% Available CLASSINFOs provided: +% \ifCLASSINFOpdf (TeX if conditional) +% \CLASSINFOpaperwidth (macro) +% \CLASSINFOpaperheight (macro) +% \CLASSINFOnormalsizebaselineskip (length) +% \CLASSINFOnormalsizeunitybaselineskip (length) +% +% Available CLASSOPTIONs provided: +% all class option flags (TeX if conditionals) unless otherwise noted, +% e.g., \ifCLASSOPTIONcaptionsoff +% point size options provided as a single macro: +% \CLASSOPTIONpt +% which will be defined as 9, 10, 11, or 12 depending on the document's +% normalsize point size. +% also, class option peerreviewca implies the use of class option peerreview +% and classoption draft implies the use of class option draftcls + + + + + +\ProvidesClass{IEEEtran}[2007/03/05 V1.7a by Michael Shell] +\typeout{-- See the "IEEEtran_HOWTO" manual for usage information.} +\typeout{-- http://www.michaelshell.org/tex/ieeetran/} +\NeedsTeXFormat{LaTeX2e} + +% IEEEtran.cls version numbers, provided as of V1.3 +% These values serve as a way a .tex file can +% determine if the new features are provided. +% The version number of this IEEEtrans.cls can be obtained from +% these values. i.e., V1.4 +% KEEP THESE AS INTEGERS! i.e., NO {4a} or anything like that- +% (no need to enumerate "a" minor changes here) +\def\IEEEtransversionmajor{1} +\def\IEEEtransversionminor{7} + +% These do nothing, but provide them like in article.cls +\newif\if@restonecol +\newif\if@titlepage + + +% class option conditionals +\newif\ifCLASSOPTIONonecolumn \CLASSOPTIONonecolumnfalse +\newif\ifCLASSOPTIONtwocolumn \CLASSOPTIONtwocolumntrue + +\newif\ifCLASSOPTIONoneside \CLASSOPTIONonesidetrue +\newif\ifCLASSOPTIONtwoside \CLASSOPTIONtwosidefalse + +\newif\ifCLASSOPTIONfinal \CLASSOPTIONfinaltrue +\newif\ifCLASSOPTIONdraft \CLASSOPTIONdraftfalse +\newif\ifCLASSOPTIONdraftcls \CLASSOPTIONdraftclsfalse +\newif\ifCLASSOPTIONdraftclsnofoot \CLASSOPTIONdraftclsnofootfalse + +\newif\ifCLASSOPTIONpeerreview \CLASSOPTIONpeerreviewfalse +\newif\ifCLASSOPTIONpeerreviewca \CLASSOPTIONpeerreviewcafalse + +\newif\ifCLASSOPTIONjournal \CLASSOPTIONjournaltrue +\newif\ifCLASSOPTIONconference \CLASSOPTIONconferencefalse +\newif\ifCLASSOPTIONtechnote \CLASSOPTIONtechnotefalse + +\newif\ifCLASSOPTIONnofonttune \CLASSOPTIONnofonttunefalse + +\newif\ifCLASSOPTIONcaptionsoff \CLASSOPTIONcaptionsofffalse + +\newif\ifCLASSOPTIONcompsoc \CLASSOPTIONcompsocfalse + +\newif\ifCLASSOPTIONromanappendices \CLASSOPTIONromanappendicesfalse + + +% class info conditionals + +% indicates if pdf (via pdflatex) output +\newif\ifCLASSINFOpdf \CLASSINFOpdffalse + + +% V1.6b internal flag to show if using a4paper +\newif\if@IEEEusingAfourpaper \@IEEEusingAfourpaperfalse + + + +% IEEEtran class scratch pad registers +% dimen +\newdimen\@IEEEtrantmpdimenA +\newdimen\@IEEEtrantmpdimenB +% count +\newcount\@IEEEtrantmpcountA +\newcount\@IEEEtrantmpcountB +% token list +\newtoks\@IEEEtrantmptoksA + +% we use \CLASSOPTIONpt so that we can ID the point size (even for 9pt docs) +% as well as LaTeX's \@ptsize to retain some compatability with some +% external packages +\def\@ptsize{0} +% LaTeX does not support 9pt, so we set \@ptsize to 0 - same as that of 10pt +\DeclareOption{9pt}{\def\CLASSOPTIONpt{9}\def\@ptsize{0}} +\DeclareOption{10pt}{\def\CLASSOPTIONpt{10}\def\@ptsize{0}} +\DeclareOption{11pt}{\def\CLASSOPTIONpt{11}\def\@ptsize{1}} +\DeclareOption{12pt}{\def\CLASSOPTIONpt{12}\def\@ptsize{2}} + + + +\DeclareOption{letterpaper}{\setlength{\paperheight}{11in}% + \setlength{\paperwidth}{8.5in}% + \@IEEEusingAfourpaperfalse + \def\CLASSOPTIONpaper{letter}% + \def\CLASSINFOpaperwidth{8.5in}% + \def\CLASSINFOpaperheight{11in}} + + +\DeclareOption{a4paper}{\setlength{\paperheight}{297mm}% + \setlength{\paperwidth}{210mm}% + \@IEEEusingAfourpapertrue + \def\CLASSOPTIONpaper{a4}% + \def\CLASSINFOpaperwidth{210mm}% + \def\CLASSINFOpaperheight{297mm}} + +\DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse + \CLASSOPTIONonesidetrue\CLASSOPTIONtwosidefalse} +\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue + \CLASSOPTIONtwosidetrue\CLASSOPTIONonesidefalse} + +\DeclareOption{onecolumn}{\CLASSOPTIONonecolumntrue\CLASSOPTIONtwocolumnfalse} +\DeclareOption{twocolumn}{\CLASSOPTIONtwocolumntrue\CLASSOPTIONonecolumnfalse} + +% If the user selects draft, then this class AND any packages +% will go into draft mode. +\DeclareOption{draft}{\CLASSOPTIONdrafttrue\CLASSOPTIONdraftclstrue + \CLASSOPTIONdraftclsnofootfalse} +% draftcls is for a draft mode which will not affect any packages +% used by the document. +\DeclareOption{draftcls}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclstrue + \CLASSOPTIONdraftclsnofootfalse} +% draftclsnofoot is like draftcls, but without the footer. +\DeclareOption{draftclsnofoot}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclstrue + \CLASSOPTIONdraftclsnofoottrue} +\DeclareOption{final}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclsfalse + \CLASSOPTIONdraftclsnofootfalse} + +\DeclareOption{journal}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse + \CLASSOPTIONjournaltrue\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} + +\DeclareOption{conference}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse + \CLASSOPTIONjournalfalse\CLASSOPTIONconferencetrue\CLASSOPTIONtechnotefalse} + +\DeclareOption{technote}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse + \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotetrue} + +\DeclareOption{peerreview}{\CLASSOPTIONpeerreviewtrue\CLASSOPTIONpeerreviewcafalse + \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} + +\DeclareOption{peerreviewca}{\CLASSOPTIONpeerreviewtrue\CLASSOPTIONpeerreviewcatrue + \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} + +\DeclareOption{nofonttune}{\CLASSOPTIONnofonttunetrue} + +\DeclareOption{captionsoff}{\CLASSOPTIONcaptionsofftrue} + +\DeclareOption{compsoc}{\CLASSOPTIONcompsoctrue} + +\DeclareOption{romanappendices}{\CLASSOPTIONromanappendicestrue} + + +% default to US letter paper, 10pt, twocolumn, one sided, final, journal +\ExecuteOptions{letterpaper,10pt,twocolumn,oneside,final,journal} +% overrride these defaults per user requests +\ProcessOptions + + + +% Computer Society conditional execution command +\long\def\@IEEEcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\relax#1\relax\fi\relax} +% inverse +\long\def\@IEEEnotcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\else\relax#1\relax\fi\relax} +% compsoc conference +\long\def\@IEEEcompsocconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\relax#1\relax\fi\fi\relax} +% compsoc not conference +\long\def\@IEEEcompsocnotconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\else\relax#1\relax\fi\fi\relax} + + +% IEEE uses Times Roman font, so we'll default to Times. +% These three commands make up the entire times.sty package. +\renewcommand{\sfdefault}{phv} +\renewcommand{\rmdefault}{ptm} +\renewcommand{\ttdefault}{pcr} + +\@IEEEcompsoconly{\typeout{-- Using IEEE Computer Society mode.}} + +% V1.7 compsoc nonconference papers, use Palatino/Palladio as the main text font, +% not Times Roman. +\@IEEEcompsocnotconfonly{\renewcommand{\rmdefault}{ppl}} + +% enable Times/Palatino main text font +\normalfont\selectfont + + + + + +% V1.7 conference notice message hook +\def\@IEEEconsolenoticeconference{\typeout{}% +\typeout{** Conference Paper **}% +\typeout{Before submitting the final camera ready copy, remember to:}% +\typeout{}% +\typeout{ 1. Manually equalize the lengths of two columns on the last page}% +\typeout{ of your paper;}% +\typeout{}% +\typeout{ 2. Ensure that any PostScript and/or PDF output post-processing}% +\typeout{ uses only Type 1 fonts and that every step in the generation}% +\typeout{ process uses the appropriate paper size.}% +\typeout{}} + + +% we can send console reminder messages to the user here +\AtEndDocument{\ifCLASSOPTIONconference\@IEEEconsolenoticeconference\fi} + + +% warn about the use of single column other than for draft mode +\ifCLASSOPTIONtwocolumn\else% + \ifCLASSOPTIONdraftcls\else% + \typeout{** ATTENTION: Single column mode is not typically used with IEEE publications.}% + \fi% +\fi + + +% V1.7 improved paper size setting code. +% Set pdfpage and dvips paper sizes. Conditional tests are similar to that +% of ifpdf.sty. Retain within {} to ensure tested macros are never altered, +% even if only effect is to set them to \relax. +% if \pdfoutput is undefined or equal to relax, output a dvips special +{\@ifundefined{pdfoutput}{\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}}{% +% pdfoutput is defined and not equal to \relax +% check for pdfpageheight existence just in case someone sets pdfoutput +% under non-pdflatex. If exists, set them regardless of value of \pdfoutput. +\@ifundefined{pdfpageheight}{\relax}{\global\pdfpagewidth\paperwidth +\global\pdfpageheight\paperheight}% +% if using \pdfoutput=0 under pdflatex, send dvips papersize special +\ifcase\pdfoutput +\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}% +\else +% we are using pdf output, set CLASSINFOpdf flag +\global\CLASSINFOpdftrue +\fi}} + +% let the user know the selected papersize +\typeout{-- Using \CLASSINFOpaperwidth\space x \CLASSINFOpaperheight\space +(\CLASSOPTIONpaper)\space paper.} + +\ifCLASSINFOpdf +\typeout{-- Using PDF output.} +\else +\typeout{-- Using DVI output.} +\fi + + +% The idea hinted here is for LaTeX to generate markleft{} and markright{} +% automatically for you after you enter \author{}, \journal{}, +% \journaldate{}, journalvol{}, \journalnum{}, etc. +% However, there may be some backward compatibility issues here as +% well as some special applications for IEEEtran.cls and special issues +% that may require the flexible \markleft{}, \markright{} and/or \markboth{}. +% We'll leave this as an open future suggestion. +%\newcommand{\journal}[1]{\def\@journal{#1}} +%\def\@journal{} + + + +% pointsize values +% used with ifx to determine the document's normal size +\def\@IEEEptsizenine{9} +\def\@IEEEptsizeten{10} +\def\@IEEEptsizeeleven{11} +\def\@IEEEptsizetwelve{12} + + + +% FONT DEFINITIONS (No sizexx.clo file needed) +% V1.6 revised font sizes, displayskip values and +% revised normalsize baselineskip to reduce underfull vbox problems +% on the 58pc = 696pt = 9.5in text height we want +% normalsize #lines/column baselineskip (aka leading) +% 9pt 63 11.0476pt (truncated down) +% 10pt 58 12pt (exact) +% 11pt 52 13.3846pt (truncated down) +% 12pt 50 13.92pt (exact) +% + +% we need to store the nominal baselineskip for the given font size +% in case baselinestretch ever changes. +% this is a dimen, so it will not hold stretch or shrink +\newdimen\@IEEEnormalsizeunitybaselineskip +\@IEEEnormalsizeunitybaselineskip\baselineskip + +\ifx\CLASSOPTIONpt\@IEEEptsizenine +\typeout{-- This is a 9 point document.} +\def\normalsize{\@setfontsize{\normalsize}{9}{11.0476pt}}% +\setlength{\@IEEEnormalsizeunitybaselineskip}{11.0476pt}% +\normalsize +\abovedisplayskip 1.5ex plus3pt minus1pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus3pt% +\belowdisplayshortskip 1.5ex plus3pt minus1pt +\def\small{\@setfontsize{\small}{8.5}{10pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} +\def\tiny{\@setfontsize{\tiny}{5}{6pt}} +% sublargesize is the same as large - 10pt +\def\sublargesize{\@setfontsize{\sublargesize}{10}{12pt}} +\def\large{\@setfontsize{\large}{10}{12pt}} +\def\Large{\@setfontsize{\Large}{12}{14pt}} +\def\LARGE{\@setfontsize{\LARGE}{14}{17pt}} +\def\huge{\@setfontsize{\huge}{17}{20pt}} +\def\Huge{\@setfontsize{\Huge}{20}{24pt}} +\fi + + +% Check if we have selected 10 points +\ifx\CLASSOPTIONpt\@IEEEptsizeten +\typeout{-- This is a 10 point document.} +\def\normalsize{\@setfontsize{\normalsize}{10}{12.00pt}}% +\setlength{\@IEEEnormalsizeunitybaselineskip}{12pt}% +\normalsize +\abovedisplayskip 1.5ex plus4pt minus2pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus4pt% +\belowdisplayshortskip 1.5ex plus4pt minus2pt +\def\small{\@setfontsize{\small}{9}{10pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} +\def\tiny{\@setfontsize{\tiny}{5}{6pt}} +% sublargesize is a tad smaller than large - 11pt +\def\sublargesize{\@setfontsize{\sublargesize}{11}{13.4pt}} +\def\large{\@setfontsize{\large}{12}{14pt}} +\def\Large{\@setfontsize{\Large}{14}{17pt}} +\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}} +\def\huge{\@setfontsize{\huge}{20}{24pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% Check if we have selected 11 points +\ifx\CLASSOPTIONpt\@IEEEptsizeeleven +\typeout{-- This is an 11 point document.} +\def\normalsize{\@setfontsize{\normalsize}{11}{13.3846pt}}% +\setlength{\@IEEEnormalsizeunitybaselineskip}{13.3846pt}% +\normalsize +\abovedisplayskip 1.5ex plus5pt minus3pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus5pt% +\belowdisplayshortskip 1.5ex plus5pt minus3pt +\def\small{\@setfontsize{\small}{10}{12pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} +\def\tiny{\@setfontsize{\tiny}{6}{7pt}} +% sublargesize is the same as large - 12pt +\def\sublargesize{\@setfontsize{\sublargesize}{12}{14pt}} +\def\large{\@setfontsize{\large}{12}{14pt}} +\def\Large{\@setfontsize{\Large}{14}{17pt}} +\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}} +\def\huge{\@setfontsize{\huge}{20}{24pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% Check if we have selected 12 points +\ifx\CLASSOPTIONpt\@IEEEptsizetwelve +\typeout{-- This is a 12 point document.} +\def\normalsize{\@setfontsize{\normalsize}{12}{13.92pt}}% +\setlength{\@IEEEnormalsizeunitybaselineskip}{13.92pt}% +\normalsize +\abovedisplayskip 1.5ex plus6pt minus4pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus6pt% +\belowdisplayshortskip 1.5ex plus6pt minus4pt +\def\small{\@setfontsize{\small}{10}{12pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} +\def\tiny{\@setfontsize{\tiny}{6}{7pt}} +% sublargesize is the same as large - 14pt +\def\sublargesize{\@setfontsize{\sublargesize}{14}{17pt}} +\def\large{\@setfontsize{\large}{14}{17pt}} +\def\Large{\@setfontsize{\Large}{17}{20pt}} +\def\LARGE{\@setfontsize{\LARGE}{20}{24pt}} +\def\huge{\@setfontsize{\huge}{22}{26pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% V1.6 The Computer Modern Fonts will issue a substitution warning for +% 24pt titles (24.88pt is used instead) increase the substitution +% tolerance to turn off this warning +\def\fontsubfuzz{.9pt} +% However, the default (and correct) Times font will scale exactly as needed. + + +% warn the user in case they forget to use the 9pt option with +% technote +\ifCLASSOPTIONtechnote% + \ifx\CLASSOPTIONpt\@IEEEptsizenine\else% + \typeout{** ATTENTION: Technotes are normally 9pt documents.}% + \fi% +\fi + + +% V1.7 +% Improved \textunderscore to provide a much better fake _ when used with +% OT1 encoding. Under OT1, detect use of pcr or cmtt \ttfamily and use +% available true _ glyph for those two typewriter fonts. +\def\@IEEEstringptm{ptm} % Times Roman family +\def\@IEEEstringppl{ppl} % Palatino Roman family +\def\@IEEEstringphv{phv} % Helvetica Sans Serif family +\def\@IEEEstringpcr{pcr} % Courier typewriter family +\def\@IEEEstringcmtt{cmtt} % Computer Modern typewriter family +\DeclareTextCommandDefault{\textunderscore}{\leavevmode +\ifx\f@family\@IEEEstringpcr\string_\else +\ifx\f@family\@IEEEstringcmtt\string_\else +\ifx\f@family\@IEEEstringptm\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else +\ifx\f@family\@IEEEstringppl\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else +\ifx\f@family\@IEEEstringphv\kern -0.03em\vbox{\hrule\@width 0.62em\@height 0.52pt\kern -0.33ex}\kern -0.03em\else +\kern 0.09em\vbox{\hrule\@width 0.6em\@height 0.44pt\kern -0.63pt\kern -0.42ex}\kern 0.09em\fi\fi\fi\fi\fi\relax} + + + + +% set the default \baselinestretch +\def\baselinestretch{1} +\ifCLASSOPTIONdraftcls + \def\baselinestretch{1.5}% default baselinestretch for draft modes +\fi + + +% process CLASSINPUT baselinestretch +\ifx\CLASSINPUTbaselinestretch\@IEEEundefined +\else + \edef\baselinestretch{\CLASSINPUTbaselinestretch} % user CLASSINPUT override + \typeout{** ATTENTION: Overriding \string\baselinestretch\space to + \baselinestretch\space via \string\CLASSINPUT.} +\fi + +\normalsize % make \baselinestretch take affect + + + + +% store the normalsize baselineskip +\newdimen\CLASSINFOnormalsizebaselineskip +\CLASSINFOnormalsizebaselineskip=\baselineskip\relax +% and the normalsize unity (baselinestretch=1) baselineskip +% we could save a register by giving the user access to +% \@IEEEnormalsizeunitybaselineskip. However, let's protect +% its read only internal status +\newdimen\CLASSINFOnormalsizeunitybaselineskip +\CLASSINFOnormalsizeunitybaselineskip=\@IEEEnormalsizeunitybaselineskip\relax +% store the nominal value of jot +\newdimen\IEEEnormaljot +\IEEEnormaljot=0.25\baselineskip\relax + +% set \jot +\jot=\IEEEnormaljot\relax + + + + +% V1.6, we are now going to fine tune the interword spacing +% The default interword glue for Times under TeX appears to use a +% nominal interword spacing of 25% (relative to the font size, i.e., 1em) +% a maximum of 40% and a minimum of 19%. +% For example, 10pt text uses an interword glue of: +% +% 2.5pt plus 1.49998pt minus 0.59998pt +% +% However, IEEE allows for a more generous range which reduces the need +% for hyphenation, especially for two column text. Furthermore, IEEE +% tends to use a little bit more nominal space between the words. +% IEEE's interword spacing percentages appear to be: +% 35% nominal +% 23% minimum +% 50% maximum +% (They may even be using a tad more for the largest fonts such as 24pt.) +% +% for bold text, IEEE increases the spacing a little more: +% 37.5% nominal +% 23% minimum +% 55% maximum + +% here are the interword spacing ratios we'll use +% for medium (normal weight) +\def\@IEEEinterspaceratioM{0.35} +\def\@IEEEinterspaceMINratioM{0.23} +\def\@IEEEinterspaceMAXratioM{0.50} + +% for bold +\def\@IEEEinterspaceratioB{0.375} +\def\@IEEEinterspaceMINratioB{0.23} +\def\@IEEEinterspaceMAXratioB{0.55} + + +% command to revise the interword spacing for the current font under TeX: +% \fontdimen2 = nominal interword space +% \fontdimen3 = interword stretch +% \fontdimen4 = interword shrink +% since all changes to the \fontdimen are global, we can enclose these commands +% in braces to confine any font attribute or length changes +\def\@@@IEEEsetfontdimens#1#2#3{{% +\setlength{\@IEEEtrantmpdimenB}{\f@size pt}% grab the font size in pt, could use 1em instead. +\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% +\fontdimen2\font=\@IEEEtrantmpdimenA\relax +\addtolength{\@IEEEtrantmpdimenA}{-#2\@IEEEtrantmpdimenB}% +\fontdimen3\font=-\@IEEEtrantmpdimenA\relax +\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% +\addtolength{\@IEEEtrantmpdimenA}{-#3\@IEEEtrantmpdimenB}% +\fontdimen4\font=\@IEEEtrantmpdimenA\relax}} + +% revise the interword spacing for each font weight +\def\@@IEEEsetfontdimens{{% +\mdseries +\@@@IEEEsetfontdimens{\@IEEEinterspaceratioM}{\@IEEEinterspaceMAXratioM}{\@IEEEinterspaceMINratioM}% +\bfseries +\@@@IEEEsetfontdimens{\@IEEEinterspaceratioB}{\@IEEEinterspaceMAXratioB}{\@IEEEinterspaceMINratioB}% +}} + +% revise the interword spacing for each font shape +% \slshape is not often used for IEEE work and is not altered here. The \scshape caps are +% already a tad too large in the free LaTeX fonts (as compared to what IEEE uses) so we +% won't alter these either. +\def\@IEEEsetfontdimens{{% +\normalfont +\@@IEEEsetfontdimens +\normalfont\itshape +\@@IEEEsetfontdimens +}} + +% command to revise the interword spacing for each font size (and shape +% and weight). Only the \rmfamily is done here as \ttfamily uses a +% fixed spacing and \sffamily is not used as the main text of IEEE papers. +\def\@IEEEtunefonts{{\selectfont\rmfamily +\tiny\@IEEEsetfontdimens +\scriptsize\@IEEEsetfontdimens +\footnotesize\@IEEEsetfontdimens +\small\@IEEEsetfontdimens +\normalsize\@IEEEsetfontdimens +\sublargesize\@IEEEsetfontdimens +\large\@IEEEsetfontdimens +\LARGE\@IEEEsetfontdimens +\huge\@IEEEsetfontdimens +\Huge\@IEEEsetfontdimens}} + +% if the nofonttune class option is not given, revise the interword spacing +% now - in case IEEEtran makes any default length measurements, and make +% sure all the default fonts are loaded +\ifCLASSOPTIONnofonttune\else +\@IEEEtunefonts +\fi + +% and again at the start of the document in case the user loaded different fonts +\AtBeginDocument{\ifCLASSOPTIONnofonttune\else\@IEEEtunefonts\fi} + + + +% V1.6 +% LaTeX is a little to quick to use hyphenations +% So, we increase the penalty for their use and raise +% the badness level that triggers an underfull hbox +% warning. The author may still have to tweak things, +% but the appearance will be much better "right out +% of the box" than that under V1.5 and prior. +% TeX default is 50 +\hyphenpenalty=750 +% If we didn't adjust the interword spacing, 2200 might be better. +% The TeX default is 1000 +\hbadness=1350 +% IEEE does not use extra spacing after punctuation +\frenchspacing + +% V1.7 increase this a tad to discourage equation breaks +\binoppenalty=1000 % default 700 +\relpenalty=800 % default 500 + + +% margin note stuff +\marginparsep 10pt +\marginparwidth 20pt +\marginparpush 25pt + + +% if things get too close, go ahead and let them touch +\lineskip 0pt +\normallineskip 0pt +\lineskiplimit 0pt +\normallineskiplimit 0pt + +% The distance from the lower edge of the text body to the +% footline +\footskip 0.4in + +% normally zero, should be relative to font height. +% put in a little rubber to help stop some bad breaks (underfull vboxes) +\parskip 0ex plus 0.2ex minus 0.1ex + +\parindent 1.0em + +\topmargin -49.0pt +\headheight 12pt +\headsep 0.25in + +% use the normal font baselineskip +% so that \topskip is unaffected by changes in \baselinestretch +\topskip=\@IEEEnormalsizeunitybaselineskip +\textheight 58pc % 9.63in, 696pt +% Tweak textheight to a perfect integer number of lines/page. +% The normal baselineskip for each document point size is used +% to determine these values. +\ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=63\@IEEEnormalsizeunitybaselineskip\fi % 63 lines/page +\ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=58\@IEEEnormalsizeunitybaselineskip\fi % 58 lines/page +\ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=52\@IEEEnormalsizeunitybaselineskip\fi % 52 lines/page +\ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=50\@IEEEnormalsizeunitybaselineskip\fi % 50 lines/page + + +\columnsep 1pc +\textwidth 43pc % 2 x 21pc + 1pc = 43pc + + +% the default side margins are equal +\if@IEEEusingAfourpaper +\oddsidemargin 14.32mm +\evensidemargin 14.32mm +\else +\oddsidemargin 0.680in +\evensidemargin 0.680in +\fi +% compensate for LaTeX's 1in offset +\addtolength{\oddsidemargin}{-1in} +\addtolength{\evensidemargin}{-1in} + + + +% adjust margins for conference mode +\ifCLASSOPTIONconference + \topmargin -0.25in + % we retain the reserved, but unused space for headers + \addtolength{\topmargin}{-\headheight} + \addtolength{\topmargin}{-\headsep} + \textheight 9.25in % The standard for conferences (668.4975pt) + % Tweak textheight to a perfect integer number of lines/page. + \ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=61\@IEEEnormalsizeunitybaselineskip\fi % 61 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=56\@IEEEnormalsizeunitybaselineskip\fi % 56 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=50\@IEEEnormalsizeunitybaselineskip\fi % 50 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=48\@IEEEnormalsizeunitybaselineskip\fi % 48 lines/page +\fi + + +% compsoc conference +\ifCLASSOPTIONcompsoc +\ifCLASSOPTIONconference + % compsoc conference use a larger value for columnsep + \columnsep 0.375in + % compsoc conferences want 1in top margin, 1.125in bottom margin + \topmargin 0in + \addtolength{\topmargin}{-6pt}% we tweak this a tad to better comply with top of line stuff + % we retain the reserved, but unused space for headers + \addtolength{\topmargin}{-\headheight} + \addtolength{\topmargin}{-\headsep} + \textheight 8.875in % (641.39625pt) + % Tweak textheight to a perfect integer number of lines/page. + \ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=58\@IEEEnormalsizeunitybaselineskip\fi % 58 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=53\@IEEEnormalsizeunitybaselineskip\fi % 53 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=48\@IEEEnormalsizeunitybaselineskip\fi % 48 lines/page + \ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=46\@IEEEnormalsizeunitybaselineskip\fi % 46 lines/page + \textwidth 6.5in + % the default side margins are equal + \if@IEEEusingAfourpaper + \oddsidemargin 22.45mm + \evensidemargin 22.45mm + \else + \oddsidemargin 1in + \evensidemargin 1in + \fi + % compensate for LaTeX's 1in offset + \addtolength{\oddsidemargin}{-1in} + \addtolength{\evensidemargin}{-1in} +\fi\fi + + + +% draft mode settings override that of all other modes +% provides a nice 1in margin all around the paper and extra +% space between the lines for editor's comments +\ifCLASSOPTIONdraftcls + % want 1in from top of paper to text + \setlength{\topmargin}{-\headsep}% + \addtolength{\topmargin}{-\headheight}% + % we want 1in side margins regardless of paper type + \oddsidemargin 0in + \evensidemargin 0in + % set the text width + \setlength{\textwidth}{\paperwidth}% + \addtolength{\textwidth}{-2.0in}% + \setlength{\textheight}{\paperheight}% + \addtolength{\textheight}{-2.0in}% + % digitize textheight to be an integer number of lines. + % this may cause the bottom margin to be off a tad + \addtolength{\textheight}{-1\topskip}% + \divide\textheight by \baselineskip% + \multiply\textheight by \baselineskip% + \addtolength{\textheight}{\topskip}% +\fi + + + +% process CLASSINPUT inner/outer margin +% if inner margin defined, but outer margin not, set outer to inner. +\ifx\CLASSINPUTinnersidemargin\@IEEEundefined +\else + \ifx\CLASSINPUToutersidemargin\@IEEEundefined + \edef\CLASSINPUToutersidemargin{\CLASSINPUTinnersidemargin} + \fi +\fi + +\ifx\CLASSINPUToutersidemargin\@IEEEundefined +\else + % if outer margin defined, but inner margin not, set inner to outer. + \ifx\CLASSINPUTinnersidemargin\@IEEEundefined + \edef\CLASSINPUTinnersidemargin{\CLASSINPUToutersidemargin} + \fi + \setlength{\oddsidemargin}{\CLASSINPUTinnersidemargin} + \ifCLASSOPTIONtwoside + \setlength{\evensidemargin}{\CLASSINPUToutersidemargin} + \else + \setlength{\evensidemargin}{\CLASSINPUTinnersidemargin} + \fi + \addtolength{\oddsidemargin}{-1in} + \addtolength{\evensidemargin}{-1in} + \setlength{\textwidth}{\paperwidth} + \addtolength{\textwidth}{-\CLASSINPUTinnersidemargin} + \addtolength{\textwidth}{-\CLASSINPUToutersidemargin} + \typeout{** ATTENTION: Overriding inner side margin to \CLASSINPUTinnersidemargin\space and + outer side margin to \CLASSINPUToutersidemargin\space via \string\CLASSINPUT.} +\fi + + + +% process CLASSINPUT top/bottom text margin +% if toptext margin defined, but bottomtext margin not, set bottomtext to toptext margin +\ifx\CLASSINPUTtoptextmargin\@IEEEundefined +\else + \ifx\CLASSINPUTbottomtextmargin\@IEEEundefined + \edef\CLASSINPUTbottomtextmargin{\CLASSINPUTtoptextmargin} + \fi +\fi + +\ifx\CLASSINPUTbottomtextmargin\@IEEEundefined +\else + % if bottomtext margin defined, but toptext margin not, set toptext to bottomtext margin + \ifx\CLASSINPUTtoptextmargin\@IEEEundefined + \edef\CLASSINPUTtoptextmargin{\CLASSINPUTbottomtextmargin} + \fi + \setlength{\topmargin}{\CLASSINPUTtoptextmargin} + \addtolength{\topmargin}{-1in} + \addtolength{\topmargin}{-\headheight} + \addtolength{\topmargin}{-\headsep} + \setlength{\textheight}{\paperheight} + \addtolength{\textheight}{-\CLASSINPUTtoptextmargin} + \addtolength{\textheight}{-\CLASSINPUTbottomtextmargin} + % in the default format we use the normal baselineskip as topskip + % we only need 0.7 of this to clear typical top text and we need + % an extra 0.3 spacing at the bottom for descenders. This will + % correct for both. + \addtolength{\topmargin}{-0.3\@IEEEnormalsizeunitybaselineskip} + \typeout{** ATTENTION: Overriding top text margin to \CLASSINPUTtoptextmargin\space and + bottom text margin to \CLASSINPUTbottomtextmargin\space via \string\CLASSINPUT.} +\fi + + + + + + + +% LIST SPACING CONTROLS + +% Controls the amount of EXTRA spacing +% above and below \trivlist +% Both \list and IED lists override this. +% However, \trivlist will use this as will most +% things built from \trivlist like the \center +% environment. +\topsep 0.5\baselineskip + +% Controls the additional spacing around lists preceded +% or followed by blank lines. IEEE does not increase +% spacing before or after paragraphs so it is set to zero. +% \z@ is the same as zero, but faster. +\partopsep \z@ + +% Controls the spacing between paragraphs in lists. +% IEEE does not increase spacing before or after paragraphs +% so this is also zero. +% With IEEEtran.cls, global changes to +% this value DO affect lists (but not IED lists). +\parsep \z@ + +% Controls the extra spacing between list items. +% IEEE does not put extra spacing between items. +% With IEEEtran.cls, global changes to this value DO affect +% lists (but not IED lists). +\itemsep \z@ + +% \itemindent is the amount to indent the FIRST line of a list +% item. It is auto set to zero within the \list environment. To alter +% it, you have to do so when you call the \list. +% However, IEEE uses this for the theorem environment +% There is an alternative value for this near \leftmargini below +\itemindent -1em + +% \leftmargin, the spacing from the left margin of the main text to +% the left of the main body of a list item is set by \list. +% Hence this statement does nothing for lists. +% But, quote and verse do use it for indention. +\leftmargin 2em + +% we retain this stuff from the older IEEEtran.cls so that \list +% will work the same way as before. However, itemize, enumerate and +% description (IED) could care less about what these are as they +% all are overridden. +\leftmargini 2em +%\itemindent 2em % Alternative values: sometimes used. +%\leftmargini 0em +\leftmarginii 1em +\leftmarginiii 1.5em +\leftmarginiv 1.5em +\leftmarginv 1.0em +\leftmarginvi 1.0em +\labelsep 0.5em +\labelwidth \z@ + + +% The old IEEEtran.cls behavior of \list is retained. +% However, the new V1.3 IED list environments override all the +% @list stuff (\@listX is called within \list for the +% appropriate level just before the user's list_decl is called). +% \topsep is now 2pt as IEEE puts a little extra space around +% lists - used by those non-IED macros that depend on \list. +% Note that \parsep and \itemsep are not redefined as in +% the sizexx.clo \@listX (which article.cls uses) so global changes +% of these values DO affect \list +% +\def\@listi{\leftmargin\leftmargini \topsep 2pt plus 1pt minus 1pt} +\let\@listI\@listi +\def\@listii{\leftmargin\leftmarginii\labelwidth\leftmarginii% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listiii{\leftmargin\leftmarginiii\labelwidth\leftmarginiii% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listiv{\leftmargin\leftmarginiv\labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listv{\leftmargin\leftmarginv\labelwidth\leftmarginv% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listvi{\leftmargin\leftmarginvi\labelwidth\leftmarginvi% + \advance\labelwidth-\labelsep \topsep 2pt} + + +% IEEE uses 5) not 5. +\def\labelenumi{\theenumi)} \def\theenumi{\arabic{enumi}} + +% IEEE uses a) not (a) +\def\labelenumii{\theenumii)} \def\theenumii{\alph{enumii}} + +% IEEE uses iii) not iii. +\def\labelenumiii{\theenumiii)} \def\theenumiii{\roman{enumiii}} + +% IEEE uses A) not A. +\def\labelenumiv{\theenumiv)} \def\theenumiv{\Alph{enumiv}} + +% exactly the same as in article.cls +\def\p@enumii{\theenumi} +\def\p@enumiii{\theenumi(\theenumii)} +\def\p@enumiv{\p@enumiii\theenumiii} + +% itemized list label styles +\def\labelitemi{$\scriptstyle\bullet$} +\def\labelitemii{\textbf{--}} +\def\labelitemiii{$\ast$} +\def\labelitemiv{$\cdot$} + + + +% **** V1.3 ENHANCEMENTS **** +% Itemize, Enumerate and Description (IED) List Controls +% *************************** +% +% +% IEEE seems to use at least two different values by +% which ITEMIZED list labels are indented to the right +% For The Journal of Lightwave Technology (JLT) and The Journal +% on Selected Areas in Communications (JSAC), they tend to use +% an indention equal to \parindent. For Transactions on Communications +% they tend to indent ITEMIZED lists a little more--- 1.3\parindent. +% We'll provide both values here for you so that you can choose +% which one you like in your document using a command such as: +% setlength{\IEEEilabelindent}{\IEEEilabelindentB} +\newdimen\IEEEilabelindentA +\IEEEilabelindentA \parindent + +\newdimen\IEEEilabelindentB +\IEEEilabelindentB 1.3\parindent +% However, we'll default to using \parindent +% which makes more sense to me +\newdimen\IEEEilabelindent +\IEEEilabelindent \IEEEilabelindentA + + +% This controls the default amount the enumerated list labels +% are indented to the right. +% Normally, this is the same as the paragraph indention +\newdimen\IEEEelabelindent +\IEEEelabelindent \parindent + +% This controls the default amount the description list labels +% are indented to the right. +% Normally, this is the same as the paragraph indention +\newdimen\IEEEdlabelindent +\IEEEdlabelindent \parindent + +% This is the value actually used within the IED lists. +% The IED environments automatically set its value to +% one of the three values above, so global changes do +% not have any effect +\newdimen\IEEElabelindent +\IEEElabelindent \parindent + +% The actual amount labels will be indented is +% \IEEElabelindent multiplied by the factor below +% corresponding to the level of nesting depth +% This provides a means by which the user can +% alter the effective \IEEElabelindent for deeper +% levels +% There may not be such a thing as correct "standard IEEE" +% values. What IEEE actually does may depend on the specific +% circumstances. +% The first list level almost always has full indention. +% The second levels I've seen have only 75% of the normal indentation +% Three level or greater nestings are very rare. I am guessing +% that they don't use any indentation. +\def\IEEElabelindentfactori{1.0} % almost always one +\def\IEEElabelindentfactorii{0.75} % 0.0 or 1.0 may be used in some cases +\def\IEEElabelindentfactoriii{0.0} % 0.75? 0.5? 0.0? +\def\IEEElabelindentfactoriv{0.0} +\def\IEEElabelindentfactorv{0.0} +\def\IEEElabelindentfactorvi{0.0} + +% value actually used within IED lists, it is auto +% set to one of the 6 values above +% global changes here have no effect +\def\IEEElabelindentfactor{1.0} + +% This controls the default spacing between the end of the IED +% list labels and the list text, when normal text is used for +% the labels. +\newdimen\IEEEiednormlabelsep +\IEEEiednormlabelsep 0.6em + +% This controls the default spacing between the end of the IED +% list labels and the list text, when math symbols are used for +% the labels (nomenclature lists). IEEE usually increases the +% spacing in these cases +\newdimen\IEEEiedmathlabelsep +\IEEEiedmathlabelsep 1.2em + +% This controls the extra vertical separation put above and +% below each IED list. IEEE usually puts a little extra spacing +% around each list. However, this spacing is barely noticeable. +\newskip\IEEEiedtopsep +\IEEEiedtopsep 2pt plus 1pt minus 1pt + + +% This command is executed within each IED list environment +% at the beginning of the list. You can use this to set the +% parameters for some/all your IED list(s) without disturbing +% global parameters that affect things other than lists. +% i.e., renewcommand{\IEEEiedlistdecl}{\setlength{\labelsep}{5em}} +% will alter the \labelsep for the next list(s) until +% \IEEEiedlistdecl is redefined. +\def\IEEEiedlistdecl{\relax} + +% This command provides an easy way to set \leftmargin based +% on the \labelwidth, \labelsep and the argument \IEEElabelindent +% Usage: \IEEEcalcleftmargin{width-to-indent-the-label} +% output is in the \leftmargin variable, i.e., effectively: +% \leftmargin = argument + \labelwidth + \labelsep +% Note controlled spacing here, shield end of lines with % +\def\IEEEcalcleftmargin#1{\setlength{\leftmargin}{#1}% +\addtolength{\leftmargin}{\labelwidth}% +\addtolength{\leftmargin}{\labelsep}} + +% This command provides an easy way to set \labelwidth to the +% width of the given text. It is the same as +% \settowidth{\labelwidth}{label-text} +% and useful as a shorter alternative. +% Typically used to set \labelwidth to be the width +% of the longest label in the list +\def\IEEEsetlabelwidth#1{\settowidth{\labelwidth}{#1}} + +% When this command is executed, IED lists will use the +% IEEEiedmathlabelsep label separation rather than the normal +% spacing. To have an effect, this command must be executed via +% the \IEEEiedlistdecl or within the option of the IED list +% environments. +\def\IEEEusemathlabelsep{\setlength{\labelsep}{\IEEEiedmathlabelsep}} + +% A flag which controls whether the IED lists automatically +% calculate \leftmargin from \IEEElabelindent, \labelwidth and \labelsep +% Useful if you want to specify your own \leftmargin +% This flag must be set (\IEEEnocalcleftmargintrue or \IEEEnocalcleftmarginfalse) +% via the \IEEEiedlistdecl or within the option of the IED list +% environments to have an effect. +\newif\ifIEEEnocalcleftmargin +\IEEEnocalcleftmarginfalse + +% A flag which controls whether \IEEElabelindent is multiplied by +% the \IEEElabelindentfactor for each list level. +% This flag must be set via the \IEEEiedlistdecl or within the option +% of the IED list environments to have an effect. +\newif\ifIEEEnolabelindentfactor +\IEEEnolabelindentfactorfalse + + +% internal variable to indicate type of IED label +% justification +% 0 - left; 1 - center; 2 - right +\def\@IEEEiedjustify{0} + + +% commands to allow the user to control IED +% label justifications. Use these commands within +% the IED environment option or in the \IEEEiedlistdecl +% Note that changing the normal list justifications +% is nonstandard and IEEE may not like it if you do so! +% I include these commands as they may be helpful to +% those who are using these enhanced list controls for +% other non-IEEE related LaTeX work. +% itemize and enumerate automatically default to right +% justification, description defaults to left. +\def\IEEEiedlabeljustifyl{\def\@IEEEiedjustify{0}}%left +\def\IEEEiedlabeljustifyc{\def\@IEEEiedjustify{1}}%center +\def\IEEEiedlabeljustifyr{\def\@IEEEiedjustify{2}}%right + + + + +% commands to save to and restore from the list parameter copies +% this allows us to set all the list parameters within +% the list_decl and prevent \list (and its \@list) +% from overriding any of our parameters +% V1.6 use \edefs instead of dimen's to conserve dimen registers +% Note controlled spacing here, shield end of lines with % +\def\@IEEEsavelistparams{\edef\@IEEEiedtopsep{\the\topsep}% +\edef\@IEEEiedlabelwidth{\the\labelwidth}% +\edef\@IEEEiedlabelsep{\the\labelsep}% +\edef\@IEEEiedleftmargin{\the\leftmargin}% +\edef\@IEEEiedpartopsep{\the\partopsep}% +\edef\@IEEEiedparsep{\the\parsep}% +\edef\@IEEEieditemsep{\the\itemsep}% +\edef\@IEEEiedrightmargin{\the\rightmargin}% +\edef\@IEEEiedlistparindent{\the\listparindent}% +\edef\@IEEEieditemindent{\the\itemindent}} + +% Note controlled spacing here +\def\@IEEErestorelistparams{\topsep\@IEEEiedtopsep\relax% +\labelwidth\@IEEEiedlabelwidth\relax% +\labelsep\@IEEEiedlabelsep\relax% +\leftmargin\@IEEEiedleftmargin\relax% +\partopsep\@IEEEiedpartopsep\relax% +\parsep\@IEEEiedparsep\relax% +\itemsep\@IEEEieditemsep\relax% +\rightmargin\@IEEEiedrightmargin\relax% +\listparindent\@IEEEiedlistparindent\relax% +\itemindent\@IEEEieditemindent\relax} + + +% v1.6b provide original LaTeX IED list environments +% note that latex.ltx defines \itemize and \enumerate, but not \description +% which must be created by the base classes +% save original LaTeX itemize and enumerate +\let\LaTeXitemize\itemize +\let\endLaTeXitemize\enditemize +\let\LaTeXenumerate\enumerate +\let\endLaTeXenumerate\endenumerate + +% provide original LaTeX description environment from article.cls +\newenvironment{LaTeXdescription} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep + \normalfont\bfseries #1} + + +% override LaTeX's default IED lists +\def\itemize{\@IEEEitemize} +\def\enditemize{\@endIEEEitemize} +\def\enumerate{\@IEEEenumerate} +\def\endenumerate{\@endIEEEenumerate} +\def\description{\@IEEEdescription} +\def\enddescription{\@endIEEEdescription} + +% provide the user with aliases - may help those using packages that +% override itemize, enumerate, or description +\def\IEEEitemize{\@IEEEitemize} +\def\endIEEEitemize{\@endIEEEitemize} +\def\IEEEenumerate{\@IEEEenumerate} +\def\endIEEEenumerate{\@endIEEEenumerate} +\def\IEEEdescription{\@IEEEdescription} +\def\endIEEEdescription{\@endIEEEdescription} + + +% V1.6 we want to keep the IEEEtran IED list definitions as our own internal +% commands so they are protected against redefinition +\def\@IEEEitemize{\@ifnextchar[{\@@IEEEitemize}{\@@IEEEitemize[\relax]}} +\def\@IEEEenumerate{\@ifnextchar[{\@@IEEEenumerate}{\@@IEEEenumerate[\relax]}} +\def\@IEEEdescription{\@ifnextchar[{\@@IEEEdescription}{\@@IEEEdescription[\relax]}} +\def\@endIEEEitemize{\endlist} +\def\@endIEEEenumerate{\endlist} +\def\@endIEEEdescription{\endlist} + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran itemized list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEitemize[#1]{% + \ifnum\@itemdepth>3\relax\@toodeep\else% + \ifnum\@listdepth>5\relax\@toodeep\else% + \advance\@itemdepth\@ne% + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@IEEEiedjustify{2}% right justified labels are default + % set other defaults + \IEEEnocalcleftmarginfalse% + \IEEEnolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \IEEElabelindent\IEEEilabelindent% + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % calculate the label width + % the user can override this later if + % they specified a \labelwidth + \settowidth{\labelwidth}{\csname labelitem\romannumeral\the\@itemdepth\endcsname}% + \@IEEEsavelistparams% save our list parameters + \list{\csname\@itemitem\endcsname}{% + \@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \IEEEiedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % labelindent factor, don't revise \labelindent + \ifIEEEnolabelindentfactor\relax% + \else\IEEElabelindent=\IEEElabelindentfactor\labelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \IEEElabelindent, \labelwidth and + % \labelsep + \ifIEEEnocalcleftmargin\relax% + \else\IEEEcalcleftmargin{\IEEElabelindent}% + \fi}\fi\fi}% + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran enumerate list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEenumerate[#1]{% + \ifnum\@enumdepth>3\relax\@toodeep\else% + \ifnum\@listdepth>5\relax\@toodeep\else% + \advance\@enumdepth\@ne% + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@IEEEiedjustify{2}% right justified labels are default + % set other defaults + \IEEEnocalcleftmarginfalse% + \IEEEnolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \IEEElabelindent\IEEEelabelindent% + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % calculate the label width + % We'll set it to the width suitable for all labels using + % normalfont 1) to 9) + % The user can override this later + \settowidth{\labelwidth}{9)}% + \@IEEEsavelistparams% save our list parameters + \list{\csname label\@enumctr\endcsname}{\usecounter{\@enumctr}% + \@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \IEEEiedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % IEEElabelindent factor, don't revise \IEEElabelindent + \ifIEEEnolabelindentfactor\relax% + \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \IEEElabelindent, \labelwidth and + % \labelsep + \ifIEEEnocalcleftmargin\relax% + \else\IEEEcalcleftmargin{\IEEElabelindent}% + \fi}\fi\fi}% + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran description list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEdescription[#1]{% + \ifnum\@listdepth>5\relax\@toodeep\else% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@IEEEiedjustify{0}% left justified labels are default + % set other defaults + \IEEEnocalcleftmarginfalse% + \IEEEnolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \IEEElabelindent\IEEEdlabelindent% + % assume normal labelsep + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % Bogus label width in case the user forgets + % to set it. + % TIP: If you want to see what a variable's width is you + % can use the TeX command \showthe\width-variable to + % display it on the screen during compilation + % (This might be helpful to know when you need to find out + % which label is the widest) + \settowidth{\labelwidth}{Hello}% + \@IEEEsavelistparams% save our list parameters + \list{}{\@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \IEEEiedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % labelindent factor, don't revise \IEEElabelindent + \ifIEEEnolabelindentfactor\relax% + \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \IEEElabelindent, \labelwidth and + % \labelsep + \ifIEEEnocalcleftmargin\relax% + \else\IEEEcalcleftmargin{\IEEElabelindent}\relax% + \fi}\fi} + +% v1.6b we use one makelabel that does justification as needed. +\def\@IEEEiedmakelabel#1{\relax\if\@IEEEiedjustify 0\relax +\makebox[\labelwidth][l]{\normalfont #1}\else +\if\@IEEEiedjustify 1\relax +\makebox[\labelwidth][c]{\normalfont #1}\else +\makebox[\labelwidth][r]{\normalfont #1}\fi\fi} + + +% VERSE and QUOTE +% V1.7 define environments with newenvironment +\newenvironment{verse}{\let\\=\@centercr + \list{}{\itemsep\z@ \itemindent -1.5em \listparindent \itemindent + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item\relax} + {\endlist} +\newenvironment{quotation}{\list{}{\listparindent 1.5em \itemindent\listparindent + \rightmargin\leftmargin \parsep 0pt plus 1pt}\item\relax} + {\endlist} +\newenvironment{quote}{\list{}{\rightmargin\leftmargin}\item\relax} + {\endlist} + + +% \titlepage +% provided only for backward compatibility. \maketitle is the correct +% way to create the title page. +\newif\if@restonecol +\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn + \else \newpage \fi \thispagestyle{empty}\c@page\z@} +\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi} + +% standard values from article.cls +\arraycolsep 5pt +\arrayrulewidth .4pt +\doublerulesep 2pt + +\tabcolsep 6pt +\tabbingsep 0.5em + + +%% FOOTNOTES +% +%\skip\footins 10pt plus 4pt minus 2pt +% V1.6 respond to changes in font size +% space added above the footnotes (if present) +\skip\footins 0.9\baselineskip plus 0.4\baselineskip minus 0.2\baselineskip + +% V1.6, we need to make \footnotesep responsive to changes +% in \baselineskip or strange spacings will result when in +% draft mode. Here is a little LaTeX secret - \footnotesep +% determines the height of an invisible strut that is placed +% *above* the baseline of footnotes after the first. Since +% LaTeX considers the space for characters to be 0.7/baselineskip +% above the baseline and 0.3/baselineskip below it, we need to +% use 0.7/baselineskip as a \footnotesep to maintain equal spacing +% between all the lines of the footnotes. IEEE often uses a tad +% more, so use 0.8\baselineskip. This slightly larger value also helps +% the text to clear the footnote marks. Note that \thanks in IEEEtran +% uses its own value of \footnotesep which is set in \maketitle. +{\footnotesize +\global\footnotesep 0.8\baselineskip} + + +\skip\@mpfootins = \skip\footins +\fboxsep = 3pt +\fboxrule = .4pt +% V1.6 use 1em, then use LaTeX2e's \@makefnmark +% Note that IEEE normally *left* aligns the footnote marks, so we don't need +% box resizing tricks here. +\long\def\@makefntext#1{\parindent 1em\indent\hbox{\@makefnmark}#1}% V1.6 use 1em +% V1.7 compsoc does not use superscipts for footnote marks +\ifCLASSOPTIONcompsoc +\def\@IEEEcompsocmakefnmark{\hbox{\normalfont\@thefnmark.\ }} +\long\def\@makefntext#1{\parindent 1em\indent\hbox{\@IEEEcompsocmakefnmark}#1} +\fi + +% IEEE does not use footnote rules +\def\footnoterule{} + +% V1.7 for compsoc, IEEE uses a footnote rule only for \thanks. We devise a "one-shot" +% system to implement this. +\newif\if@IEEEenableoneshotfootnoterule +\@IEEEenableoneshotfootnoterulefalse +\ifCLASSOPTIONcompsoc +\def\footnoterule{\relax\if@IEEEenableoneshotfootnoterule +\kern-5pt +\hbox to \columnwidth{\hfill\vrule width 0.5\columnwidth height 0.4pt\hfill} +\kern4.6pt +\global\@IEEEenableoneshotfootnoterulefalse +\else +\relax +\fi} +\fi + +% V1.6 do not allow LaTeX to break a footnote across multiple pages +\interfootnotelinepenalty=10000 + +% V1.6 discourage breaks within equations +% Note that amsmath normally sets this to 10000, +% but LaTeX2e normally uses 100. +\interdisplaylinepenalty=2500 + +% default allows section depth up to /paragraph +\setcounter{secnumdepth}{4} + +% technotes do not allow /paragraph +\ifCLASSOPTIONtechnote + \setcounter{secnumdepth}{3} +\fi +% neither do compsoc conferences +\@IEEEcompsocconfonly{\setcounter{secnumdepth}{3}} + + +\newcounter{section} +\newcounter{subsection}[section] +\newcounter{subsubsection}[subsection] +\newcounter{paragraph}[subsubsection] + +% used only by IEEEtran's IEEEeqnarray as other packages may +% have their own, different, implementations +\newcounter{IEEEsubequation}[equation] + +% as shown when called by user from \ref, \label and in table of contents +\def\theequation{\arabic{equation}} % 1 +\def\theIEEEsubequation{\theequation\alph{IEEEsubequation}} % 1a (used only by IEEEtran's IEEEeqnarray) +\ifCLASSOPTIONcompsoc +% compsoc is all arabic +\def\thesection{\arabic{section}} +\def\thesubsection{\thesection.\arabic{subsection}} +\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} +\def\theparagraph{\thesubsubsection.\arabic{paragraph}} +\else +\def\thesection{\Roman{section}} % I +% V1.7, \mbox prevents breaks around - +\def\thesubsection{\mbox{\thesection-\Alph{subsection}}} % I-A +% V1.7 use I-A1 format used by IEEE rather than I-A.1 +\def\thesubsubsection{\thesubsection\arabic{subsubsection}} % I-A1 +\def\theparagraph{\thesubsubsection\alph{paragraph}} % I-A1a +\fi + +% From Heiko Oberdiek. Because of the \mbox in \thesubsection, we need to +% tell hyperref to disable the \mbox command when making PDF bookmarks. +% This done already with hyperref.sty version 6.74o and later, but +% it will not hurt to do it here again for users of older versions. +\@ifundefined{pdfstringdefPreHook}{\let\pdfstringdefPreHook\@empty}{}% +\g@addto@macro\pdfstringdefPreHook{\let\mbox\relax} + + +% Main text forms (how shown in main text headings) +% V1.6, using \thesection in \thesectiondis allows changes +% in the former to automatically appear in the latter +\ifCLASSOPTIONcompsoc + \ifCLASSOPTIONconference% compsoc conference + \def\thesectiondis{\thesection.} + \def\thesubsectiondis{\thesectiondis\arabic{subsection}.} + \def\thesubsubsectiondis{\thesubsectiondis\arabic{subsubsection}.} + \def\theparagraphdis{\thesubsubsectiondis\arabic{paragraph}.} + \else% compsoc not conferencs + \def\thesectiondis{\thesection} + \def\thesubsectiondis{\thesectiondis.\arabic{subsection}} + \def\thesubsubsectiondis{\thesubsectiondis.\arabic{subsubsection}} + \def\theparagraphdis{\thesubsubsectiondis.\arabic{paragraph}} + \fi +\else% not compsoc + \def\thesectiondis{\thesection.} % I. + \def\thesubsectiondis{\Alph{subsection}.} % B. + \def\thesubsubsectiondis{\arabic{subsubsection})} % 3) + \def\theparagraphdis{\alph{paragraph})} % d) +\fi + +% just like LaTeX2e's \@eqnnum +\def\theequationdis{{\normalfont \normalcolor (\theequation)}}% (1) +% IEEEsubequation used only by IEEEtran's IEEEeqnarray +\def\theIEEEsubequationdis{{\normalfont \normalcolor (\theIEEEsubequation)}}% (1a) +% redirect LaTeX2e's equation number display and all that depend on +% it, through IEEEtran's \theequationdis +\def\@eqnnum{\theequationdis} + + + +% V1.7 provide string macros as article.cls does +\def\contentsname{Contents} +\def\listfigurename{List of Figures} +\def\listtablename{List of Tables} +\def\refname{References} +\def\indexname{Index} +\def\figurename{Fig.} +\def\tablename{TABLE} +\@IEEEcompsocconfonly{\def\figurename{Figure}\def\tablename{Table}} +\def\partname{Part} +\def\appendixname{Appendix} +\def\abstractname{Abstract} +% IEEE specific names +\def\IEEEkeywordsname{Index Terms} +\def\IEEEproofname{Proof} + + +% LIST OF FIGURES AND TABLES AND TABLE OF CONTENTS +% +\def\@pnumwidth{1.55em} +\def\@tocrmarg{2.55em} +\def\@dotsep{4.5} +\setcounter{tocdepth}{3} + +% adjusted some spacings here so that section numbers will not easily +% collide with the section titles. +% VIII; VIII-A; and VIII-A.1 are usually the worst offenders. +% MDS 1/2001 +\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}} +\def\l@section#1#2{\addpenalty{\@secpenalty}\addvspace{1.0em plus 1pt}% + \@tempdima 2.75em \begingroup \parindent \z@ \rightskip \@pnumwidth% + \parfillskip-\@pnumwidth {\bfseries\leavevmode #1}\hfil\hbox to\@pnumwidth{\hss #2}\par% + \endgroup} +% argument format #1:level, #2:labelindent,#3:labelsep +\def\l@subsection{\@dottedtocline{2}{2.75em}{3.75em}} +\def\l@subsubsection{\@dottedtocline{3}{6.5em}{4.5em}} +% must provide \l@ defs for ALL sublevels EVEN if tocdepth +% is such as they will not appear in the table of contents +% these defs are how TOC knows what level these things are! +\def\l@paragraph{\@dottedtocline{4}{6.5em}{5.5em}} +\def\l@subparagraph{\@dottedtocline{5}{6.5em}{6.5em}} +\def\listoffigures{\section*{\listfigurename}\@starttoc{lof}} +\def\l@figure{\@dottedtocline{1}{0em}{2.75em}} +\def\listoftables{\section*{\listtablename}\@starttoc{lot}} +\let\l@table\l@figure + + +%% Definitions for floats +%% +%% Normal Floats +\floatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip +\textfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip +\@fptop 0pt plus 1fil +\@fpsep 0.75\baselineskip plus 2fil +\@fpbot 0pt plus 1fil +\def\topfraction{0.9} +\def\bottomfraction{0.4} +\def\floatpagefraction{0.8} +% V1.7, let top floats approach 90% of page +\def\textfraction{0.1} + +%% Double Column Floats +\dblfloatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip + +\dbltextfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip +% Note that it would be nice if the rubber here actually worked in LaTeX2e. +% There is a long standing limitation in LaTeX, first discovered (to the best +% of my knowledge) by Alan Jeffrey in 1992. LaTeX ignores the stretchable +% portion of \dbltextfloatsep, and as a result, double column figures can and +% do result in an non-integer number of lines in the main text columns with +% underfull vbox errors as a consequence. A post to comp.text.tex +% by Donald Arseneau confirms that this had not yet been fixed in 1998. +% IEEEtran V1.6 will fix this problem for you in the titles, but it doesn't +% protect you from other double floats. Happy vspace'ing. + +\@dblfptop 0pt plus 1fil +\@dblfpsep 0.75\baselineskip plus 2fil +\@dblfpbot 0pt plus 1fil +\def\dbltopfraction{0.8} +\def\dblfloatpagefraction{0.8} +\setcounter{dbltopnumber}{4} + +\intextsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip +\setcounter{topnumber}{2} +\setcounter{bottomnumber}{2} +\setcounter{totalnumber}{4} + + + +% article class provides these, we should too. +\newlength\abovecaptionskip +\newlength\belowcaptionskip +% but only \abovecaptionskip is used above figure captions and *below* table +% captions +\setlength\abovecaptionskip{0.5\baselineskip} +\setlength\belowcaptionskip{0pt} +% V1.6 create hooks in case the caption spacing ever needs to be +% overridden by a user +\def\@IEEEfigurecaptionsepspace{\vskip\abovecaptionskip\relax}% +\def\@IEEEtablecaptionsepspace{\vskip\abovecaptionskip\relax}% + + +% 1.6b revise caption system so that \@makecaption uses two arguments +% as with LaTeX2e. Otherwise, there will be problems when using hyperref. +\def\@IEEEtablestring{table} + +\ifCLASSOPTIONcompsoc +% V1.7 compsoc \@makecaption +\ifCLASSOPTIONconference% compsoc conference +\long\def\@makecaption#1#2{% +% test if is a for a figure or table +\ifx\@captype\@IEEEtablestring% +% if a table, do table caption +\normalsize\begin{center}{\normalfont\sffamily\normalsize {#1.}~ #2}\end{center}% +\@IEEEtablecaptionsepspace +% if not a table, format it as a figure +\else +\@IEEEfigurecaptionsepspace +\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}% +\ifdim \wd\@tempboxa >\hsize% +% if caption is longer than a line, let it wrap around +\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }% +\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}% +% if caption is shorter than a line, center +\else% +\hbox to\hsize{\normalfont\sffamily\normalsize\hfil\box\@tempboxa\hfil}% +\fi\fi} +\else% nonconference compsoc +\long\def\@makecaption#1#2{% +% test if is a for a figure or table +\ifx\@captype\@IEEEtablestring% +% if a table, do table caption +\normalsize\begin{center}{\normalfont\sffamily\normalsize #1}\\{\normalfont\sffamily\normalsize #2}\end{center}% +\@IEEEtablecaptionsepspace +% if not a table, format it as a figure +\else +\@IEEEfigurecaptionsepspace +\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}% +\ifdim \wd\@tempboxa >\hsize% +% if caption is longer than a line, let it wrap around +\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }% +\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}% +% if caption is shorter than a line, left justify +\else% +\hbox to\hsize{\normalfont\sffamily\normalsize\box\@tempboxa\hfil}% +\fi\fi} +\fi + +\else% traditional noncompsoc \@makecaption +\long\def\@makecaption#1#2{% +% test if is a for a figure or table +\ifx\@captype\@IEEEtablestring% +% if a table, do table caption +\footnotesize\begin{center}{\normalfont\footnotesize #1}\\{\normalfont\footnotesize\scshape #2}\end{center}% +\@IEEEtablecaptionsepspace +% if not a table, format it as a figure +\else +\@IEEEfigurecaptionsepspace +% 3/2001 use footnotesize, not small; use two nonbreaking spaces, not one +\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ #2}% +\ifdim \wd\@tempboxa >\hsize% +% if caption is longer than a line, let it wrap around +\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ }% +\parbox[t]{\hsize}{\normalfont\footnotesize\noindent\unhbox\@tempboxa#2}% +% if caption is shorter than a line, center if conference, left justify otherwise +\else% +\ifCLASSOPTIONconference \hbox to\hsize{\normalfont\footnotesize\hfil\box\@tempboxa\hfil}% +\else \hbox to\hsize{\normalfont\footnotesize\box\@tempboxa\hfil}% +\fi\fi\fi} +\fi + + + +% V1.7 disable captions class option, do so in a way that retains operation of \label +% within \caption +\ifCLASSOPTIONcaptionsoff +\long\def\@makecaption#1#2{\vspace*{2em}\footnotesize\begin{center}{\footnotesize #1}\end{center}% +\let\@IEEEtemporiglabeldefsave\label +\let\@IEEEtemplabelargsave\relax +\def\label##1{\gdef\@IEEEtemplabelargsave{##1}}% +\setbox\@tempboxa\hbox{#2}% +\let\label\@IEEEtemporiglabeldefsave +\ifx\@IEEEtemplabelargsave\relax\else\label{\@IEEEtemplabelargsave}\fi} +\fi + + +% V1.7 define end environments with \def not \let so as to work OK with +% preview-latex +\newcounter{figure} +\def\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{\figurename~\thefigure} +\def\figure{\@float{figure}} +\def\endfigure{\end@float} +\@namedef{figure*}{\@dblfloat{figure}} +\@namedef{endfigure*}{\end@dblfloat} +\newcounter{table} +\ifCLASSOPTIONcompsoc +\def\thetable{\arabic{table}} +\else +\def\thetable{\@Roman\c@table} +\fi +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{\tablename~\thetable} +% V1.6 IEEE uses 8pt text for tables +% to default to footnotesize, we hack into LaTeX2e's \@floatboxreset and pray +\def\table{\def\@floatboxreset{\reset@font\footnotesize\@setminipage}\@float{table}} +\def\endtable{\end@float} +% v1.6b double column tables need to default to footnotesize as well. +\@namedef{table*}{\def\@floatboxreset{\reset@font\footnotesize\@setminipage}\@dblfloat{table}} +\@namedef{endtable*}{\end@dblfloat} + + + + +%% +%% START OF IEEEeqnarry DEFINITIONS +%% +%% Inspired by the concepts, examples, and previous works of LaTeX +%% coders and developers such as Donald Arseneau, Fred Bartlett, +%% David Carlisle, Tony Liu, Frank Mittelbach, Piet van Oostrum, +%% Roland Winkler and Mark Wooding. +%% I don't make the claim that my work here is even near their calibre. ;) + + +% hook to allow easy changeover to IEEEtran.cls/tools.sty error reporting +\def\@IEEEclspkgerror{\ClassError{IEEEtran}} + +\newif\if@IEEEeqnarraystarform% flag to indicate if the environment was called as the star form +\@IEEEeqnarraystarformfalse + +\newif\if@advanceIEEEeqncolcnt% tracks if the environment should advance the col counter +% allows a way to make an \IEEEeqnarraybox that can be used within an \IEEEeqnarray +% used by IEEEeqnarraymulticol so that it can work properly in both +\@advanceIEEEeqncolcnttrue + +\newcount\@IEEEeqnnumcols % tracks how many IEEEeqnarray cols are defined +\newcount\@IEEEeqncolcnt % tracks how many IEEEeqnarray cols the user actually used + + +% The default math style used by the columns +\def\IEEEeqnarraymathstyle{\displaystyle} +% The default text style used by the columns +% default to using the current font +\def\IEEEeqnarraytextstyle{\relax} + +% like the iedlistdecl but for \IEEEeqnarray +\def\IEEEeqnarraydecl{\relax} +\def\IEEEeqnarrayboxdecl{\relax} + +% \yesnumber is the opposite of \nonumber +% a novel concept with the same def as the equationarray package +% However, we give IEEE versions too since some LaTeX packages such as +% the MDWtools mathenv.sty redefine \nonumber to something else. +\providecommand{\yesnumber}{\global\@eqnswtrue} +\def\IEEEyesnumber{\global\@eqnswtrue} +\def\IEEEnonumber{\global\@eqnswfalse} + + +\def\IEEEyessubnumber{\global\@IEEEissubequationtrue\global\@eqnswtrue% +\if@IEEEeqnarrayISinner% only do something inside an IEEEeqnarray +\if@IEEElastlinewassubequation\addtocounter{equation}{-1}\else\setcounter{IEEEsubequation}{1}\fi% +\def\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\fi} + +% flag to indicate that an equation is a sub equation +\newif\if@IEEEissubequation% +\@IEEEissubequationfalse + +% allows users to "push away" equations that get too close to the equation numbers +\def\IEEEeqnarraynumspace{\hphantom{\if@IEEEissubequation\theIEEEsubequationdis\else\theequationdis\fi}} + +% provides a way to span multiple columns within IEEEeqnarray environments +% will consider \if@advanceIEEEeqncolcnt before globally advancing the +% column counter - so as to work within \IEEEeqnarraybox +% usage: \IEEEeqnarraymulticol{number cols. to span}{col type}{cell text} +\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}% +% check if column is defined +\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined% +\csname @IEEEeqnarraycolPRE#2\endcsname#3\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST#2\endcsname% +\else% if not, error and use default type +\@IEEEclspkgerror{Invalid column type "#2" in \string\IEEEeqnarraymulticol.\MessageBreak +Using a default centering column instead}% +{You must define IEEEeqnarray column types before use.}% +\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname#3\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname% +\fi% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by #1\relax\fi} + +% like \omit, but maintains track of the column counter for \IEEEeqnarray +\def\IEEEeqnarrayomit{\omit\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by 1\relax\fi} + + +% provides a way to define a letter referenced column type +% usage: \IEEEeqnarraydefcol{col. type letter/name}{pre insertion text}{post insertion text} +\def\IEEEeqnarraydefcol#1#2#3{\expandafter\def\csname @IEEEeqnarraycolPRE#1\endcsname{#2}% +\expandafter\def\csname @IEEEeqnarraycolPOST#1\endcsname{#3}% +\expandafter\def\csname @IEEEeqnarraycolDEF#1\endcsname{1}} + + +% provides a way to define a numerically referenced inter-column glue types +% usage: \IEEEeqnarraydefcolsep{col. glue number}{glue definition} +\def\IEEEeqnarraydefcolsep#1#2{\expandafter\def\csname @IEEEeqnarraycolSEP\romannumeral #1\endcsname{#2}% +\expandafter\def\csname @IEEEeqnarraycolSEPDEF\romannumeral #1\endcsname{1}} + + +\def\@IEEEeqnarraycolisdefined{1}% just a macro for 1, used for checking undefined column types + + +% expands and appends the given argument to the \@IEEEtrantmptoksA token list +% used to build up the \halign preamble +\def\@IEEEappendtoksA#1{\edef\@@IEEEappendtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA #1}}% +\@@IEEEappendtoksA} + +% also appends to \@IEEEtrantmptoksA, but does not expand the argument +% uses \toks8 as a scratchpad register +\def\@IEEEappendNOEXPANDtoksA#1{\toks8={#1}% +\edef\@@IEEEappendNOEXPANDtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA\the\toks8}}% +\@@IEEEappendNOEXPANDtoksA} + +% define some common column types for the user +% math +\IEEEeqnarraydefcol{l}{$\IEEEeqnarraymathstyle}{$\hfil} +\IEEEeqnarraydefcol{c}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} +\IEEEeqnarraydefcol{r}{\hfil$\IEEEeqnarraymathstyle}{$} +\IEEEeqnarraydefcol{L}{$\IEEEeqnarraymathstyle{}}{{}$\hfil} +\IEEEeqnarraydefcol{C}{\hfil$\IEEEeqnarraymathstyle{}}{{}$\hfil} +\IEEEeqnarraydefcol{R}{\hfil$\IEEEeqnarraymathstyle{}}{{}$} +% text +\IEEEeqnarraydefcol{s}{\IEEEeqnarraytextstyle}{\hfil} +\IEEEeqnarraydefcol{t}{\hfil\IEEEeqnarraytextstyle}{\hfil} +\IEEEeqnarraydefcol{u}{\hfil\IEEEeqnarraytextstyle}{} + +% vertical rules +\IEEEeqnarraydefcol{v}{}{\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{vv}{\vrule width\arrayrulewidth\hfil}{\hfil\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{V}{}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{VV}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth\hfil}% +{\hfil\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} + +% horizontal rules +\IEEEeqnarraydefcol{h}{}{\leaders\hrule height\arrayrulewidth\hfil} +\IEEEeqnarraydefcol{H}{}{\leaders\vbox{\hrule width\arrayrulewidth\vskip\doublerulesep\hrule width\arrayrulewidth}\hfil} + +% plain +\IEEEeqnarraydefcol{x}{}{} +\IEEEeqnarraydefcol{X}{$}{$} + +% the default column type to use in the event a column type is not defined +\IEEEeqnarraydefcol{@IEEEdefault}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} + + +% a zero tabskip (used for "-" col types) +\def\@IEEEeqnarraycolSEPzero{0pt plus 0pt minus 0pt} +% a centering tabskip (used for "+" col types) +\def\@IEEEeqnarraycolSEPcenter{1000pt plus 0pt minus 1000pt} + +% top level default tabskip glues for the start, end, and inter-column +% may be reset within environments not always at the top level, e.g., \IEEEeqnarraybox +\edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPcenter}% default start glue +\edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPcenter}% default end glue +\edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue + + + +% creates a vertical rule that extends from the bottom to the top a a cell +% Provided in case other packages redefine \vline some other way. +% usage: \IEEEeqnarrayvrule[rule thickness] +% If no argument is provided, \arrayrulewidth will be used for the rule thickness. +\newcommand\IEEEeqnarrayvrule[1][\arrayrulewidth]{\vrule\@width#1\relax} + +% creates a blank separator row +% usage: \IEEEeqnarrayseprow[separation length][font size commands] +% default is \IEEEeqnarrayseprow[0.25\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers +\def\IEEEeqnarrayseprow{\relax\@ifnextchar[{\@IEEEeqnarrayseprow}{\@IEEEeqnarrayseprow[0.25\normalbaselineskip]}} +\def\@IEEEeqnarrayseprow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprow[#1]}{\@@IEEEeqnarrayseprow[#1][\relax]}} +\def\@@IEEEeqnarrayseprow[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% +\ifx\@IEEEeqnarrayseprowARGONE\@empty% +% get the skip value, based on the font commands +% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 +% assign within a bogus box to confine the font changes +{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% +\else% +{\setbox0=\hbox{#2\relax\global\skip5=#1}}% +\fi% +\@IEEEeqnarrayhoptolastcolumn\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} + +% creates a blank separator row, but omits all the column templates +% usage: \IEEEeqnarrayseprowcut[separation length][font size commands] +% default is \IEEEeqnarrayseprowcut[0.25\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers +\def\IEEEeqnarrayseprowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarrayseprowcut}{\@IEEEeqnarrayseprowcut[0.25\normalbaselineskip]}} +\def\@IEEEeqnarrayseprowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprowcut[#1]}{\@@IEEEeqnarrayseprowcut[#1][\relax]}} +\def\@@IEEEeqnarrayseprowcut[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% +\ifx\@IEEEeqnarrayseprowARGONE\@empty% +% get the skip value, based on the font commands +% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 +% assign within a bogus box to confine the font changes +{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% +\else% +{\setbox0=\hbox{#2\relax\global\skip5=#1}}% +\fi% +\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} + + + +% draws a single rule across all the columns optional +% argument determines the rule width, \arrayrulewidth is the default +% updates column counter as needed and turns off struts +% usage: \IEEEeqnarrayrulerow[rule line thickness] +\def\IEEEeqnarrayrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarrayrulerow}{\@IEEEeqnarrayrulerow[\arrayrulewidth]}} +\def\@IEEEeqnarrayrulerow[#1]{\leaders\hrule height#1\hfil\relax% put in our rule +% turn off any struts +\IEEEeqnarraystrutsize{0pt}{0pt}[\relax]\relax} + + +% draws a double rule by using a single rule row, a separator row, and then +% another single rule row +% first optional argument determines the rule thicknesses, \arrayrulewidth is the default +% second optional argument determines the rule spacing, \doublerulesep is the default +% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] +\def\IEEEeqnarraydblrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarraydblrulerow}{\@IEEEeqnarraydblrulerow[\arrayrulewidth]}} +\def\@IEEEeqnarraydblrulerow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerow[#1]}% +{\@@IEEEeqnarraydblrulerow[#1][\doublerulesep]}} +\def\@@IEEEeqnarraydblrulerow[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% +% we allow the user to say \IEEEeqnarraydblrulerow[][] +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]\relax% +\fi% +\def\@IEEEeqnarraydblrulerowARG{#2}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\\\IEEEeqnarrayseprow[\doublerulesep][\relax]% +\else% +\\\IEEEeqnarrayseprow[#2][\relax]% +\fi% +\\\multispan{\@IEEEeqnnumcols}% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\def\@IEEEeqnarraydblrulerowARG{#1}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +} + +% draws a double rule by using a single rule row, a separator (cutting) row, and then +% another single rule row +% first optional argument determines the rule thicknesses, \arrayrulewidth is the default +% second optional argument determines the rule spacing, \doublerulesep is the default +% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] +\def\IEEEeqnarraydblrulerowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarraydblrulerowcut}{\@IEEEeqnarraydblrulerowcut[\arrayrulewidth]}} +\def\@IEEEeqnarraydblrulerowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerowcut[#1]}% +{\@@IEEEeqnarraydblrulerowcut[#1][\doublerulesep]}} +\def\@@IEEEeqnarraydblrulerowcut[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% +% we allow the user to say \IEEEeqnarraydblrulerow[][] +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +\def\@IEEEeqnarraydblrulerowARG{#2}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\\\IEEEeqnarrayseprowcut[\doublerulesep][\relax]% +\else% +\\\IEEEeqnarrayseprowcut[#2][\relax]% +\fi% +\\\multispan{\@IEEEeqnnumcols}% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\def\@IEEEeqnarraydblrulerowARG{#1}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +} + + + +% inserts a full row's worth of &'s +% relies on \@IEEEeqnnumcols to provide the correct number of columns +% uses \@IEEEtrantmptoksA, \count0 as scratch registers +\def\@IEEEeqnarrayhoptolastcolumn{\@IEEEtrantmptoksA={}\count0=1\relax% +\loop% add cols if the user did not use them all +\ifnum\count0<\@IEEEeqnnumcols\relax% +\@IEEEappendtoksA{&}% +\advance\count0 by 1\relax% update the col count +\repeat% +\the\@IEEEtrantmptoksA%execute the &'s +} + + + +\newif\if@IEEEeqnarrayISinner % flag to indicate if we are within the lines +\@IEEEeqnarrayISinnerfalse % of an IEEEeqnarray - after the IEEEeqnarraydecl + +\edef\@IEEEeqnarrayTHEstrutheight{0pt} % height and depth of IEEEeqnarray struts +\edef\@IEEEeqnarrayTHEstrutdepth{0pt} + +\edef\@IEEEeqnarrayTHEmasterstrutheight{0pt} % default height and depth of +\edef\@IEEEeqnarrayTHEmasterstrutdepth{0pt} % struts within an IEEEeqnarray + +\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{0pt} % saved master strut height +\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{0pt} % and depth + +\newif\if@IEEEeqnarrayusemasterstrut % flag to indicate that the master strut value +\@IEEEeqnarrayusemasterstruttrue % is to be used + + + +% saves the strut height and depth of the master strut +\def\@IEEEeqnarraymasterstrutsave{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% save values +\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{\the\dimen2}} + +% restores the strut height and depth of the master strut +\def\@IEEEeqnarraymasterstrutrestore{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutHSAVE\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutDSAVE\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% restore values +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}} + + +% globally restores the strut height and depth to the +% master values and sets the master strut flag to true +\def\@IEEEeqnarraystrutreset{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% restore values +\xdef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\xdef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\global\@IEEEeqnarrayusemasterstruttrue} + + +% if the master strut is not to be used, make the current +% values of \@IEEEeqnarrayTHEstrutheight, \@IEEEeqnarrayTHEstrutdepth +% and the use master strut flag, global +% this allows user strut commands issued in the last column to be carried +% into the isolation/strut column +\def\@IEEEeqnarrayglobalizestrutstatus{\relax% +\if@IEEEeqnarrayusemasterstrut\else% +\xdef\@IEEEeqnarrayTHEstrutheight{\@IEEEeqnarrayTHEstrutheight}% +\xdef\@IEEEeqnarrayTHEstrutdepth{\@IEEEeqnarrayTHEstrutdepth}% +\global\@IEEEeqnarrayusemasterstrutfalse% +\fi} + + + +% usage: \IEEEeqnarraystrutsize{height}{depth}[font size commands] +% If called outside the lines of an IEEEeqnarray, sets the height +% and depth of both the master and local struts. If called inside +% an IEEEeqnarray line, sets the height and depth of the local strut +% only and sets the flag to indicate the use of the local strut +% values. If the height or depth is left blank, 0.7\normalbaselineskip +% and 0.3\normalbaselineskip will be used, respectively. +% The optional argument can be used to evaluate the lengths under +% a different font size and styles. If none is specified, the current +% font is used. +% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 +\def\IEEEeqnarraystrutsize#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsize{#1}{#2}}{\@IEEEeqnarraystrutsize{#1}{#2}[\relax]}} +\def\@IEEEeqnarraystrutsize#1#2[#3]{\def\@IEEEeqnarraystrutsizeARG{#1}% +\ifx\@IEEEeqnarraystrutsizeARG\@empty% +{\setbox0=\hbox{#3\relax\global\skip3=0.7\normalbaselineskip}}% +\skip0=\skip3\relax% +\else% arg one present +{\setbox0=\hbox{#3\relax\global\skip3=#1\relax}}% +\skip0=\skip3\relax% +\fi% if null arg +\def\@IEEEeqnarraystrutsizeARG{#2}% +\ifx\@IEEEeqnarraystrutsizeARG\@empty% +{\setbox0=\hbox{#3\relax\global\skip3=0.3\normalbaselineskip}}% +\skip2=\skip3\relax% +\else% arg two present +{\setbox0=\hbox{#3\relax\global\skip3=#2\relax}}% +\skip2=\skip3\relax% +\fi% if null arg +% remove stretchability, just to be safe +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +\if@IEEEeqnarrayISinner% inner does not touch master strut size +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstrutfalse% do not use master +\else% outer, have to set master strut too +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstruttrue% use master strut +\fi} + + +% usage: \IEEEeqnarraystrutsizeadd{added height}{added depth}[font size commands] +% If called outside the lines of an IEEEeqnarray, adds the given height +% and depth to both the master and local struts. +% If called inside an IEEEeqnarray line, adds the given height and depth +% to the local strut only and sets the flag to indicate the use +% of the local strut values. +% In both cases, if a height or depth is left blank, 0pt is used instead. +% The optional argument can be used to evaluate the lengths under +% a different font size and styles. If none is specified, the current +% font is used. +% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 +\def\IEEEeqnarraystrutsizeadd#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsizeadd{#1}{#2}}{\@IEEEeqnarraystrutsizeadd{#1}{#2}[\relax]}} +\def\@IEEEeqnarraystrutsizeadd#1#2[#3]{\def\@IEEEeqnarraystrutsizearg{#1}% +\ifx\@IEEEeqnarraystrutsizearg\@empty% +\skip0=0pt\relax% +\else% arg one present +{\setbox0=\hbox{#3\relax\global\skip3=#1}}% +\skip0=\skip3\relax% +\fi% if null arg +\def\@IEEEeqnarraystrutsizearg{#2}% +\ifx\@IEEEeqnarraystrutsizearg\@empty% +\skip2=0pt\relax% +\else% arg two present +{\setbox0=\hbox{#3\relax\global\skip3=#2}}% +\skip2=\skip3\relax% +\fi% if null arg +% remove stretchability, just to be safe +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +\if@IEEEeqnarrayISinner% inner does not touch master strut size +% get local strut size +\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% +% add it to the user supplied values +\advance\dimen0 by \skip0\relax% +\advance\dimen2 by \skip2\relax% +% update the local strut size +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstrutfalse% do not use master +\else% outer, have to set master strut too +% get master strut size +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% add it to the user supplied values +\advance\dimen0 by \skip0\relax% +\advance\dimen2 by \skip2\relax% +% update the local and master strut sizes +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstruttrue% use master strut +\fi} + + +% allow user a way to see the struts +\newif\ifIEEEvisiblestruts +\IEEEvisiblestrutsfalse + +% inserts an invisible strut using the master or local strut values +% uses scratch registers \skip0, \skip2, \dimen0, \dimen2 +\def\@IEEEeqnarrayinsertstrut{\relax% +\if@IEEEeqnarrayusemasterstrut +% get master strut size +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +\else% +% get local strut size +\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% +\fi% +% remove stretchability, probably not needed +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +% allow user to see struts if desired +\ifIEEEvisiblestruts% +\vrule width0.2pt height\dimen0 depth\dimen2\relax% +\else% +\vrule width0pt height\dimen0 depth\dimen2\relax\fi} + + +% creates an invisible strut, useable even outside \IEEEeqnarray +% if \IEEEvisiblestrutstrue, the strut will be visible and 0.2pt wide. +% usage: \IEEEstrut[height][depth][font size commands] +% default is \IEEEstrut[0.7\normalbaselineskip][0.3\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \dimen0, \dimen2, \skip0, \skip2 +\def\IEEEstrut{\relax\@ifnextchar[{\@IEEEstrut}{\@IEEEstrut[0.7\normalbaselineskip]}} +\def\@IEEEstrut[#1]{\relax\@ifnextchar[{\@@IEEEstrut[#1]}{\@@IEEEstrut[#1][0.3\normalbaselineskip]}} +\def\@@IEEEstrut[#1][#2]{\relax\@ifnextchar[{\@@@IEEEstrut[#1][#2]}{\@@@IEEEstrut[#1][#2][\relax]}} +\def\@@@IEEEstrut[#1][#2][#3]{\mbox{#3\relax% +\def\@IEEEstrutARG{#1}% +\ifx\@IEEEstrutARG\@empty% +\skip0=0.7\normalbaselineskip\relax% +\else% +\skip0=#1\relax% +\fi% +\def\@IEEEstrutARG{#2}% +\ifx\@IEEEstrutARG\@empty% +\skip2=0.3\normalbaselineskip\relax% +\else% +\skip2=#2\relax% +\fi% +% remove stretchability, probably not needed +\dimen0\skip0\relax% +\dimen2\skip2\relax% +\ifIEEEvisiblestruts% +\vrule width0.2pt height\dimen0 depth\dimen2\relax% +\else% +\vrule width0.0pt height\dimen0 depth\dimen2\relax\fi}} + + +% enables strut mode by setting a default strut size and then zeroing the +% \baselineskip, \lineskip, \lineskiplimit and \jot +\def\IEEEeqnarraystrutmode{\IEEEeqnarraystrutsize{0.7\normalbaselineskip}{0.3\normalbaselineskip}[\relax]% +\baselineskip=0pt\lineskip=0pt\lineskiplimit=0pt\jot=0pt} + + + +\def\IEEEeqnarray{\@IEEEeqnarraystarformfalse\@IEEEeqnarray} +\def\endIEEEeqnarray{\end@IEEEeqnarray} + +\@namedef{IEEEeqnarray*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarray} +\@namedef{endIEEEeqnarray*}{\end@IEEEeqnarray} + + +% \IEEEeqnarray is an enhanced \eqnarray. +% The star form defaults to not putting equation numbers at the end of each row. +% usage: \IEEEeqnarray[decl]{cols} +\def\@IEEEeqnarray{\relax\@ifnextchar[{\@@IEEEeqnarray}{\@@IEEEeqnarray[\relax]}} +\def\@@IEEEeqnarray[#1]#2{% + % default to showing the equation number or not based on whether or not + % the star form was involked + \if@IEEEeqnarraystarform\global\@eqnswfalse + \else% not the star form + \global\@eqnswtrue + \fi% if star form + \@IEEEissubequationfalse% default to no subequations + \@IEEElastlinewassubequationfalse% assume last line is not a sub equation + \@IEEEeqnarrayISinnerfalse% not yet within the lines of the halign + \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default + \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise + \IEEEvisiblestrutsfalse% diagnostic mode defaults to off + % no extra space unless the user specifically requests it + \lineskip=0pt\relax + \lineskiplimit=0pt\relax + \baselineskip=\normalbaselineskip\relax% + \jot=\IEEEnormaljot\relax% + \mathsurround\z@\relax% no extra spacing around math + \@advanceIEEEeqncolcnttrue% advance the col counter for each col the user uses, + % used in \IEEEeqnarraymulticol and in the preamble build + \stepcounter{equation}% advance equation counter before first line + \setcounter{IEEEsubequation}{0}% no subequation yet + \def\@currentlabel{\p@equation\theequation}% redefine the ref label + \IEEEeqnarraydecl\relax% allow a way for the user to make global overrides + #1\relax% allow user to override defaults + \let\\\@IEEEeqnarraycr% replace newline with one that can put in eqn. numbers + \global\@IEEEeqncolcnt\z@% col. count = 0 for first line + \@IEEEbuildpreamble #2\end\relax% build the preamble and put it into \@IEEEtrantmptoksA + % put in the column for the equation number + \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first + \toks0={##}% + % advance the \@IEEEeqncolcnt for the isolation col, this helps with error checking + \@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}% + % add the isolation column + \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% + % advance the \@IEEEeqncolcnt for the equation number col, this helps with error checking + \@IEEEappendtoksA{&\global\advance\@IEEEeqncolcnt by 1\relax}% + % add the equation number col to the preamble + \@IEEEappendtoksA{\tabskip\z@skip\hb@xt@\z@\bgroup\hss\the\toks0\egroup}% + % note \@IEEEeqnnumcols does not count the equation col or isolation col + % set the starting tabskip glue as determined by the preamble build + \tabskip=\@IEEEBPstartglue\relax + % begin the display alignment + \@IEEEeqnarrayISinnertrue% commands are now within the lines + $$\everycr{}\halign to\displaywidth\bgroup + % "exspand" the preamble + \span\the\@IEEEtrantmptoksA\cr} + +% enter isolation/strut column (or the next column if the user did not use +% every column), record the strut status, complete the columns, do the strut if needed, +% restore counters to correct values and exit +\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup% +\if@IEEElastlinewassubequation\global\advance\c@IEEEsubequation\m@ne\fi% +\global\advance\c@equation\m@ne% +$$\@ignoretrue} + +% need a way to remember if last line is a subequation +\newif\if@IEEElastlinewassubequation% +\@IEEElastlinewassubequationfalse + +% IEEEeqnarray uses a modifed \\ instead of the plain \cr to +% end rows. This allows for things like \\*[vskip amount] +% This "cr" macros are modified versions those for LaTeX2e's eqnarray +% the {\ifnum0=`} braces must be kept away from the last column to avoid +% altering spacing of its math, so we use & to advance to the next column +% as there is an isolation/strut column after the user's columns +\def\@IEEEeqnarraycr{\@IEEEeqnarrayglobalizestrutstatus&% save strut status and advance to next column + {\ifnum0=`}\fi + \@ifstar{% + \global\@eqpen\@M\@IEEEeqnarrayYCR + }{% + \global\@eqpen\interdisplaylinepenalty \@IEEEeqnarrayYCR + }% +} + +\def\@IEEEeqnarrayYCR{\@testopt\@IEEEeqnarrayXCR\z@skip} + +\def\@IEEEeqnarrayXCR[#1]{% + \ifnum0=`{\fi}% + \@@IEEEeqnarraycr + \noalign{\penalty\@eqpen\vskip\jot\vskip #1\relax}}% + +\def\@@IEEEeqnarraycr{\@IEEEtrantmptoksA={}% clear token register + \advance\@IEEEeqncolcnt by -1\relax% adjust col count because of the isolation column + \ifnum\@IEEEeqncolcnt>\@IEEEeqnnumcols\relax + \@IEEEclspkgerror{Too many columns within the IEEEeqnarray\MessageBreak + environment}% + {Use fewer \string &'s or put more columns in the IEEEeqnarry column\MessageBreak + specifications.}\relax% + \else + \loop% add cols if the user did not use them all + \ifnum\@IEEEeqncolcnt<\@IEEEeqnnumcols\relax + \@IEEEappendtoksA{&}% + \advance\@IEEEeqncolcnt by 1\relax% update the col count + \repeat + % this number of &'s will take us the the isolation column + \fi + % execute the &'s + \the\@IEEEtrantmptoksA% + % handle the strut/isolation column + \@IEEEeqnarrayinsertstrut% do the strut if needed + \@IEEEeqnarraystrutreset% reset the strut system for next line or IEEEeqnarray + &% and enter the equation number column + % is this line needs an equation number, display it and advance the + % (sub)equation counters, record what type this line was + \if@eqnsw% + \if@IEEEissubequation\theIEEEsubequationdis\addtocounter{equation}{1}\stepcounter{IEEEsubequation}% + \global\@IEEElastlinewassubequationtrue% + \else% display a standard equation number, initialize the IEEEsubequation counter + \theequationdis\stepcounter{equation}\setcounter{IEEEsubequation}{0}% + \global\@IEEElastlinewassubequationfalse\fi% + \fi% + % reset the eqnsw flag to indicate default preference of the display of equation numbers + \if@IEEEeqnarraystarform\global\@eqnswfalse\else\global\@eqnswtrue\fi + \global\@IEEEissubequationfalse% reset the subequation flag + % reset the number of columns the user actually used + \global\@IEEEeqncolcnt\z@\relax + % the real end of the line + \cr} + + + + + +% \IEEEeqnarraybox is like \IEEEeqnarray except the box form puts everything +% inside a vtop, vbox, or vcenter box depending on the letter in the second +% optional argument (t,b,c). Vbox is the default. Unlike \IEEEeqnarray, +% equation numbers are not displayed and \IEEEeqnarraybox can be nested. +% \IEEEeqnarrayboxm is for math mode (like \array) and does not put the vbox +% within an hbox. +% \IEEEeqnarrayboxt is for text mode (like \tabular) and puts the vbox within +% a \hbox{$ $} construct. +% \IEEEeqnarraybox will auto detect whether to use \IEEEeqnarrayboxm or +% \IEEEeqnarrayboxt depending on the math mode. +% The third optional argument specifies the width this box is to be set to - +% natural width is the default. +% The * forms do not add \jot line spacing +% usage: \IEEEeqnarraybox[decl][pos][width]{cols} +\def\IEEEeqnarrayboxm{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} +\def\endIEEEeqnarrayboxm{\end@IEEEeqnarraybox} +\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarrayboxm*}{\end@IEEEeqnarraybox} + +\def\IEEEeqnarrayboxt{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} +\def\endIEEEeqnarrayboxt{\end@IEEEeqnarraybox} +\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarrayboxt*}{\end@IEEEeqnarraybox} + +\def\IEEEeqnarraybox{\@IEEEeqnarraystarformfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% +\@IEEEeqnarraybox} +\def\endIEEEeqnarraybox{\end@IEEEeqnarraybox} + +\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarraystarformtrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% +\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarraybox*}{\end@IEEEeqnarraybox} + +% flag to indicate if the \IEEEeqnarraybox needs to put things into an hbox{$ $} +% for \vcenter in non-math mode +\newif\if@IEEEeqnarrayboxHBOXSW% +\@IEEEeqnarrayboxHBOXSWfalse + +\def\@IEEEeqnarraybox{\relax\@ifnextchar[{\@@IEEEeqnarraybox}{\@@IEEEeqnarraybox[\relax]}} +\def\@@IEEEeqnarraybox[#1]{\relax\@ifnextchar[{\@@@IEEEeqnarraybox[#1]}{\@@@IEEEeqnarraybox[#1][b]}} +\def\@@@IEEEeqnarraybox[#1][#2]{\relax\@ifnextchar[{\@@@@IEEEeqnarraybox[#1][#2]}{\@@@@IEEEeqnarraybox[#1][#2][\relax]}} + +% #1 = decl; #2 = t,b,c; #3 = width, #4 = col specs +\def\@@@@IEEEeqnarraybox[#1][#2][#3]#4{\@IEEEeqnarrayISinnerfalse % not yet within the lines of the halign + \@IEEEeqnarraymasterstrutsave% save current master strut values + \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default + \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise + \IEEEvisiblestrutsfalse% diagnostic mode defaults to off + % no extra space unless the user specifically requests it + \lineskip=0pt\relax% + \lineskiplimit=0pt\relax% + \baselineskip=\normalbaselineskip\relax% + \jot=\IEEEnormaljot\relax% + \mathsurround\z@\relax% no extra spacing around math + % the default end glues are zero for an \IEEEeqnarraybox + \edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPzero}% default start glue + \edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPzero}% default end glue + \edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue + \@advanceIEEEeqncolcntfalse% do not advance the col counter for each col the user uses, + % used in \IEEEeqnarraymulticol and in the preamble build + \IEEEeqnarrayboxdecl\relax% allow a way for the user to make global overrides + #1\relax% allow user to override defaults + \let\\\@IEEEeqnarrayboxcr% replace newline with one that allows optional spacing + \@IEEEbuildpreamble #4\end\relax% build the preamble and put it into \@IEEEtrantmptoksA + % add an isolation column to the preamble to stop \\'s {} from getting into the last col + \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first + \toks0={##}% + % add the isolation column to the preamble + \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% + % set the starting tabskip glue as determined by the preamble build + \tabskip=\@IEEEBPstartglue\relax + % begin the alignment + \everycr{}% + % use only the very first token to determine the positioning + % this stops some problems when the user uses more than one letter, + % but is probably not worth the effort + % \noindent is used as a delimiter + \def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% + \@IEEEgrabfirstoken#2\relax\relax\noindent + % \@IEEEgrabbedfirstoken has the first token, the rest are discarded + % if we need to put things into and hbox and go into math mode, do so now + \if@IEEEeqnarrayboxHBOXSW \leavevmode \hbox \bgroup $\fi% + % use the appropriate vbox type + \if\@IEEEgrabbedfirstoken t\relax\vtop\else\if\@IEEEgrabbedfirstoken c\relax% + \vcenter\else\vbox\fi\fi\bgroup% + \@IEEEeqnarrayISinnertrue% commands are now within the lines + \ifx#3\relax\halign\else\halign to #3\relax\fi% + \bgroup + % "exspand" the preamble + \span\the\@IEEEtrantmptoksA\cr} + +% carry strut status and enter the isolation/strut column, +% exit from math mode if needed, and exit +\def\end@IEEEeqnarraybox{\@IEEEeqnarrayglobalizestrutstatus% carry strut status +&% enter isolation/strut column +\@IEEEeqnarrayinsertstrut% do strut if needed +\@IEEEeqnarraymasterstrutrestore% restore the previous master strut values +% reset the strut system for next IEEEeqnarray +% (sets local strut values back to previous master strut values) +\@IEEEeqnarraystrutreset% +% ensure last line, exit from halign, close vbox +\crcr\egroup\egroup% +% exit from math mode and close hbox if needed +\if@IEEEeqnarrayboxHBOXSW $\egroup\fi} + + + +% IEEEeqnarraybox uses a modifed \\ instead of the plain \cr to +% end rows. This allows for things like \\[vskip amount] +% This "cr" macros are modified versions those for LaTeX2e's eqnarray +% For IEEEeqnarraybox, \\* is the same as \\ +% the {\ifnum0=`} braces must be kept away from the last column to avoid +% altering spacing of its math, so we use & to advance to the isolation/strut column +% carry strut status into isolation/strut column +\def\@IEEEeqnarrayboxcr{\@IEEEeqnarrayglobalizestrutstatus% carry strut status +&% enter isolation/strut column +\@IEEEeqnarrayinsertstrut% do strut if needed +% reset the strut system for next line or IEEEeqnarray +\@IEEEeqnarraystrutreset% +{\ifnum0=`}\fi% +\@ifstar{\@IEEEeqnarrayboxYCR}{\@IEEEeqnarrayboxYCR}} + +% test and setup the optional argument to \\[] +\def\@IEEEeqnarrayboxYCR{\@testopt\@IEEEeqnarrayboxXCR\z@skip} + +% IEEEeqnarraybox does not automatically increase line spacing by \jot +\def\@IEEEeqnarrayboxXCR[#1]{\ifnum0=`{\fi}% +\cr\noalign{\if@IEEEeqnarraystarform\else\vskip\jot\fi\vskip#1\relax}} + + + +% starts the halign preamble build +\def\@IEEEbuildpreamble{\@IEEEtrantmptoksA={}% clear token register +\let\@IEEEBPcurtype=u%current column type is not yet known +\let\@IEEEBPprevtype=s%the previous column type was the start +\let\@IEEEBPnexttype=u%next column type is not yet known +% ensure these are valid +\def\@IEEEBPcurglue={0pt plus 0pt minus 0pt}% +\def\@IEEEBPcurcolname{@IEEEdefault}% name of current column definition +% currently acquired numerically referenced glue +% use a name that is easier to remember +\let\@IEEEBPcurnum=\@IEEEtrantmpcountA% +\@IEEEBPcurnum=0% +% tracks number of columns in the preamble +\@IEEEeqnnumcols=0% +% record the default end glues +\edef\@IEEEBPstartglue{\@IEEEeqnarraycolSEPdefaultstart}% +\edef\@IEEEBPendglue{\@IEEEeqnarraycolSEPdefaultend}% +% now parse the user's column specifications +\@@IEEEbuildpreamble} + + +% parses and builds the halign preamble +\def\@@IEEEbuildpreamble#1#2{\let\@@nextIEEEbuildpreamble=\@@IEEEbuildpreamble% +% use only the very first token to check the end +% \noindent is used as a delimiter as \end can be present here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +\ifx\@IEEEgrabbedfirstoken\end\let\@@nextIEEEbuildpreamble=\@@IEEEfinishpreamble\else% +% identify current and next token type +\@IEEEgetcoltype{#1}{\@IEEEBPcurtype}{1}% current, error on invalid +\@IEEEgetcoltype{#2}{\@IEEEBPnexttype}{0}% next, no error on invalid next +% if curtype is a glue, get the glue def +\if\@IEEEBPcurtype g\@IEEEgetcurglue{#1}{\@IEEEBPcurglue}\fi% +% if curtype is a column, get the column def and set the current column name +\if\@IEEEBPcurtype c\@IEEEgetcurcol{#1}\fi% +% if curtype is a numeral, acquire the user defined glue +\if\@IEEEBPcurtype n\@IEEEprocessNcol{#1}\fi% +% process the acquired glue +\if\@IEEEBPcurtype g\@IEEEprocessGcol\fi% +% process the acquired col +\if\@IEEEBPcurtype c\@IEEEprocessCcol\fi% +% ready prevtype for next col spec. +\let\@IEEEBPprevtype=\@IEEEBPcurtype% +% be sure and put back the future token(s) as a group +\fi\@@nextIEEEbuildpreamble{#2}} + + +% executed just after preamble build is completed +% warn about zero cols, and if prevtype type = u, put in end tabskip glue +\def\@@IEEEfinishpreamble#1{\ifnum\@IEEEeqnnumcols<1\relax +\@IEEEclspkgerror{No column specifiers declared for IEEEeqnarray}% +{At least one column type must be declared for each IEEEeqnarray.}% +\fi%num cols less than 1 +%if last type undefined, set default end tabskip glue +\if\@IEEEBPprevtype u\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue}\fi} + + +% Identify and return the column specifier's type code +\def\@IEEEgetcoltype#1#2#3{% +% use only the very first token to determine the type +% \noindent is used as a delimiter as \end can be present here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +% \@IEEEgrabfirstoken has the first token, the rest are discarded +% n = number +% g = glue (any other char in catagory 12) +% c = letter +% e = \end +% u = undefined +% third argument: 0 = no error message, 1 = error on invalid char +\let#2=u\relax% assume invalid until know otherwise +\ifx\@IEEEgrabbedfirstoken\end\let#2=e\else +\ifcat\@IEEEgrabbedfirstoken\relax\else% screen out control sequences +\if0\@IEEEgrabbedfirstoken\let#2=n\else +\if1\@IEEEgrabbedfirstoken\let#2=n\else +\if2\@IEEEgrabbedfirstoken\let#2=n\else +\if3\@IEEEgrabbedfirstoken\let#2=n\else +\if4\@IEEEgrabbedfirstoken\let#2=n\else +\if5\@IEEEgrabbedfirstoken\let#2=n\else +\if6\@IEEEgrabbedfirstoken\let#2=n\else +\if7\@IEEEgrabbedfirstoken\let#2=n\else +\if8\@IEEEgrabbedfirstoken\let#2=n\else +\if9\@IEEEgrabbedfirstoken\let#2=n\else +\ifcat,\@IEEEgrabbedfirstoken\let#2=g\relax +\else\ifcat a\@IEEEgrabbedfirstoken\let#2=c\relax\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi +\if#2u\relax +\if0\noexpand#3\relax\else\@IEEEclspkgerror{Invalid character in column specifications}% +{Only letters, numerals and certain other symbols are allowed \MessageBreak +as IEEEeqnarray column specifiers.}\fi\fi} + + +% identify the current letter referenced column +% if invalid, use a default column +\def\@IEEEgetcurcol#1{\expandafter\ifx\csname @IEEEeqnarraycolDEF#1\endcsname\@IEEEeqnarraycolisdefined% +\def\@IEEEBPcurcolname{#1}\else% invalid column name +\@IEEEclspkgerror{Invalid column type "#1" in column specifications.\MessageBreak +Using a default centering column instead}% +{You must define IEEEeqnarray column types before use.}% +\def\@IEEEBPcurcolname{@IEEEdefault}\fi} + + +% identify and return the predefined (punctuation) glue value +\def\@IEEEgetcurglue#1#2{% +% ! = \! (neg small) -0.16667em (-3/18 em) +% , = \, (small) 0.16667em ( 3/18 em) +% : = \: (med) 0.22222em ( 4/18 em) +% ; = \; (large) 0.27778em ( 5/18 em) +% ' = \quad 1em +% " = \qquad 2em +% . = 0.5\arraycolsep +% / = \arraycolsep +% ? = 2\arraycolsep +% * = 1fil +% + = \@IEEEeqnarraycolSEPcenter +% - = \@IEEEeqnarraycolSEPzero +% Note that all em values are referenced to the math font (textfont2) fontdimen6 +% value for 1em. +% +% use only the very first token to determine the type +% this prevents errant tokens from getting in the main text +% \noindent is used as a delimiter here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +% get the math font 1em value +% LaTeX2e's NFSS2 does not preload the fonts, but \IEEEeqnarray needs +% to gain access to the math (\textfont2) font's spacing parameters. +% So we create a bogus box here that uses the math font to ensure +% that \textfont2 is loaded and ready. If this is not done, +% the \textfont2 stuff here may not work. +% Thanks to Bernd Raichle for his 1997 post on this topic. +{\setbox0=\hbox{$\displaystyle\relax$}}% +% fontdimen6 has the width of 1em (a quad). +\@IEEEtrantmpdimenA=\fontdimen6\textfont2\relax% +% identify the glue value based on the first token +% we discard anything after the first +\if!\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=-0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if,\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if:\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.22222\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if;\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.27778\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if'\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=1\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if"\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if.\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.5\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else +\if/\@IEEEgrabbedfirstoken\edef#2{\the\arraycolsep}\else +\if?\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else +\if *\@IEEEgrabbedfirstoken\edef#2{0pt plus 1fil minus 0pt}\else +\if+\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPcenter}\else +\if-\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPzero}\else +\edef#2{\@IEEEeqnarraycolSEPzero}% +\@IEEEclspkgerror{Invalid predefined inter-column glue type "#1" in\MessageBreak +column specifications. Using a default value of\MessageBreak +0pt instead}% +{Only !,:;'"./?*+ and - are valid predefined glue types in the\MessageBreak +IEEEeqnarray column specifications.}\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + + + +% process a numerical digit from the column specification +% and look up the corresponding user defined glue value +% can transform current type from n to g or a as the user defined glue is acquired +\def\@IEEEprocessNcol#1{\if\@IEEEBPprevtype g% +\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak +specifications. Ignoring consecutive glue specifiers\MessageBreak +after the first}% +{You cannot have two or more glue types next to each other\MessageBreak +in the IEEEeqnarray column specifications.}% +\let\@IEEEBPcurtype=a% abort this glue, future digits will be discarded +\@IEEEBPcurnum=0\relax% +\else% if we previously aborted a glue +\if\@IEEEBPprevtype a\@IEEEBPcurnum=0\let\@IEEEBPcurtype=a%maintain digit abortion +\else%acquire this number +% save the previous type before the numerical digits started +\if\@IEEEBPprevtype n\else\let\@IEEEBPprevsavedtype=\@IEEEBPprevtype\fi% +\multiply\@IEEEBPcurnum by 10\relax% +\advance\@IEEEBPcurnum by #1\relax% add in number, \relax is needed to stop TeX's number scan +\if\@IEEEBPnexttype n\else%close acquisition +\expandafter\ifx\csname @IEEEeqnarraycolSEPDEF\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname\@IEEEeqnarraycolisdefined% +\edef\@IEEEBPcurglue{\csname @IEEEeqnarraycolSEP\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname}% +\else%user glue not defined +\@IEEEclspkgerror{Invalid user defined inter-column glue type "\number\@IEEEBPcurnum" in\MessageBreak +column specifications. Using a default value of\MessageBreak +0pt instead}% +{You must define all IEEEeqnarray numerical inter-column glue types via\MessageBreak +\string\IEEEeqnarraydefcolsep \space before they are used in column specifications.}% +\edef\@IEEEBPcurglue{\@IEEEeqnarraycolSEPzero}% +\fi% glue defined or not +\let\@IEEEBPcurtype=g% change the type to reflect the acquired glue +\let\@IEEEBPprevtype=\@IEEEBPprevsavedtype% restore the prev type before this number glue +\@IEEEBPcurnum=0\relax%ready for next acquisition +\fi%close acquisition, get glue +\fi%discard or acquire number +\fi%prevtype glue or not +} + + +% process an acquired glue +% add any acquired column/glue pair to the preamble +\def\@IEEEprocessGcol{\if\@IEEEBPprevtype a\let\@IEEEBPcurtype=a%maintain previous glue abortions +\else +% if this is the start glue, save it, but do nothing else +% as this is not used in the preamble, but before +\if\@IEEEBPprevtype s\edef\@IEEEBPstartglue{\@IEEEBPcurglue}% +\else%not the start glue +\if\@IEEEBPprevtype g%ignore if back to back glues +\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak +specifications. Ignoring consecutive glue specifiers\MessageBreak +after the first}% +{You cannot have two or more glue types next to each other\MessageBreak +in the IEEEeqnarray column specifications.}% +\let\@IEEEBPcurtype=a% abort this glue +\else% not a back to back glue +\if\@IEEEBPprevtype c\relax% if the previoustype was a col, add column/glue pair to preamble +\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi +\toks0={##}% +% make preamble advance col counter if this environment needs this +\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi +% insert the column defintion into the preamble, being careful not to expand +% the column definition +\@IEEEappendtoksA{\tabskip=\@IEEEBPcurglue}% +\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname}% +\@IEEEappendtoksA{\the\toks0}% +\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\endgroup}% +\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble +\else% error: non-start glue with no pending column +\@IEEEclspkgerror{Inter-column glue specifier without a prior column\MessageBreak +type in the column specifications. Ignoring this glue\MessageBreak +specifier}% +{Except for the first and last positions, glue can be placed only\MessageBreak +between column types.}% +\let\@IEEEBPcurtype=a% abort this glue +\fi% previous was a column +\fi% back-to-back glues +\fi% is start column glue +\fi% prev type not a +} + + +% process an acquired letter referenced column and, if necessary, add it to the preamble +\def\@IEEEprocessCcol{\if\@IEEEBPnexttype g\else +\if\@IEEEBPnexttype n\else +% we have a column followed by something other than a glue (or numeral glue) +% so we must add this column to the preamble now +\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi%col separator for those after the first +\if\@IEEEBPnexttype e\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue\relax}\else%put in end glue +\@IEEEappendtoksA{\tabskip=\@IEEEeqnarraycolSEPdefaultmid\relax}\fi% or default mid glue +\toks0={##}% +% make preamble advance col counter if this environment needs this +\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi +% insert the column definition into the preamble, being careful not to expand +% the column definition +\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname}% +\@IEEEappendtoksA{\the\toks0}% +\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\endgroup}% +\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble +\fi%next type not numeral +\fi%next type not glue +} + + +%% +%% END OF IEEEeqnarry DEFINITIONS +%% + + + + +% set up the running headings, this complex because of all the different +% modes IEEEtran supports +\if@twoside + \ifCLASSOPTIONtechnote + \def\ps@headings{% + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \ifCLASSOPTIONdraftcls + \ifCLASSOPTIONdraftclsnofoot + \def\@oddfoot{}\def\@evenfoot{}% + \else + \def\@oddfoot{\scriptsize\@date\hfil DRAFT} + \def\@evenfoot{\scriptsize DRAFT\hfil\@date} + \fi + \else + \def\@oddfoot{}\def\@evenfoot{} + \fi} + \else % not a technote + \def\ps@headings{% + \ifCLASSOPTIONconference + \def\@oddhead{} + \def\@evenhead{} + \else + \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \fi + \ifCLASSOPTIONdraftcls + \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \ifCLASSOPTIONdraftclsnofoot + \def\@oddfoot{}\def\@evenfoot{}% + \else + \def\@oddfoot{\scriptsize\@date\hfil DRAFT} + \def\@evenfoot{\scriptsize DRAFT\hfil\@date} + \fi + \else + \def\@oddfoot{}\def\@evenfoot{}% + \fi} + \fi +\else % single side +\def\ps@headings{% + \ifCLASSOPTIONconference + \def\@oddhead{} + \def\@evenhead{} + \else + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{} + \fi + \ifCLASSOPTIONdraftcls + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{} + \ifCLASSOPTIONdraftclsnofoot + \def\@oddfoot{} + \else + \def\@oddfoot{\scriptsize \@date \hfil DRAFT} + \fi + \else + \def\@oddfoot{} + \fi + \def\@evenfoot{}} +\fi + + +% title page style +\def\ps@IEEEtitlepagestyle{\def\@oddfoot{}\def\@evenfoot{}% +\ifCLASSOPTIONconference + \def\@oddhead{}% + \def\@evenhead{}% +\else + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% +\fi +\ifCLASSOPTIONdraftcls + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% + \ifCLASSOPTIONdraftclsnofoot\else + \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% + \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% + \fi +\else + % all non-draft mode footers + \if@IEEEusingpubid + % for title pages that are using a pubid + % do not repeat pubid if using peer review option + \ifCLASSOPTIONpeerreview + \else + \footskip 0pt% + \ifCLASSOPTIONcompsoc + \def\@oddfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% + \def\@evenfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% + \else + \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% + \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% + \fi + \fi + \fi +\fi} + + +% peer review cover page style +\def\ps@IEEEpeerreviewcoverpagestyle{% +\def\@oddhead{}\def\@evenhead{}% +\def\@oddfoot{}\def\@evenfoot{}% +\ifCLASSOPTIONdraftcls + \ifCLASSOPTIONdraftclsnofoot\else + \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% + \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% + \fi +\else + % non-draft mode footers + \if@IEEEusingpubid + \footskip 0pt% + \ifCLASSOPTIONcompsoc + \def\@oddfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% + \def\@evenfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% + \else + \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% + \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% + \fi + \fi +\fi} + + +% start with empty headings +\def\rightmark{}\def\leftmark{} + + +%% Defines the command for putting the header. \footernote{TEXT} is the same +%% as \markboth{TEXT}{TEXT}. +%% Note that all the text is forced into uppercase, if you have some text +%% that needs to be in lower case, for instance et. al., then either manually +%% set \leftmark and \rightmark or use \MakeLowercase{et. al.} within the +%% arguments to \markboth. +\def\markboth#1#2{\def\leftmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#1}}% +\def\rightmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#2}}} +\def\footernote#1{\markboth{#1}{#1}} + +\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\day, \number\year} + + + + +%% CITATION AND BIBLIOGRAPHY COMMANDS +%% +%% V1.6 no longer supports the older, nonstandard \shortcite and \citename setup stuff +% +% +% Modify Latex2e \@citex to separate citations with "], [" +\def\@citex[#1]#2{% + \let\@citea\@empty + \@cite{\@for\@citeb:=#2\do + {\@citea\def\@citea{], [}% + \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% + \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi + \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning + {Citation `\@citeb' on page \thepage \space undefined}}% + {\hbox{\csname b@\@citeb\endcsname}}}}{#1}} + +% V1.6 we create hooks for the optional use of Donald Arseneau's +% cite.sty package. cite.sty is "smart" and will notice that the +% following format controls are already defined and will not +% redefine them. The result will be the proper sorting of the +% citation numbers and auto detection of 3 or more entry "ranges" - +% all in IEEE style: [1], [2], [5]--[7], [12] +% This also allows for an optional note, i.e., \cite[mynote]{..}. +% If the \cite with note has more than one reference, the note will +% be applied to the last of the listed references. It is generally +% desired that if a note is given, only one reference is listed in +% that \cite. +% Thanks to Mr. Arseneau for providing the required format arguments +% to produce the IEEE style. +\def\citepunct{], [} +\def\citedash{]--[} + +% V1.7 default to using same font for urls made by url.sty +\AtBeginDocument{\csname url@samestyle\endcsname} + +% V1.6 class files should always provide these +\def\newblock{\hskip .11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty + + +% Provide support for the control entries of IEEEtran.bst V1.00 and later. +% V1.7 optional argument allows for a different aux file to be specified in +% order to handle multiple bibliographies. For example, with multibib.sty: +% \newcites{sec}{Secondary Literature} +% \bstctlcite[@auxoutsec]{BSTcontrolhak} +\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}} +\def\@bstctlcite[#1]#2{\@bsphack + \@for\@citeb:=#2\do{% + \edef\@citeb{\expandafter\@firstofone\@citeb}% + \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}% + \@esphack} + +% V1.6 provide a way for a user to execute a command just before +% a given reference number - used to insert a \newpage to balance +% the columns on the last page +\edef\@IEEEtriggerrefnum{0} % the default of zero means that + % the command is not executed +\def\@IEEEtriggercmd{\newpage} + +% allow the user to alter the triggered command +\long\def\IEEEtriggercmd#1{\long\def\@IEEEtriggercmd{#1}} + +% allow user a way to specify the reference number just before the +% command is executed +\def\IEEEtriggeratref#1{\@IEEEtrantmpcountA=#1% +\edef\@IEEEtriggerrefnum{\the\@IEEEtrantmpcountA}}% + +% trigger command at the given reference +\def\@IEEEbibitemprefix{\@IEEEtrantmpcountA=\@IEEEtriggerrefnum\relax% +\advance\@IEEEtrantmpcountA by -1\relax% +\ifnum\c@enumiv=\@IEEEtrantmpcountA\relax\@IEEEtriggercmd\relax\fi} + + +\def\@biblabel#1{[#1]} + +% compsoc journals left align the reference numbers +\@IEEEcompsocnotconfonly{\def\@biblabel#1{[#1]\hfill}} + +% controls bib item spacing +\def\IEEEbibitemsep{0pt plus .5pt} + +\@IEEEcompsocconfonly{\def\IEEEbibitemsep{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}} + + +\def\thebibliography#1{\section*{\refname}% + \addcontentsline{toc}{section}{\refname}% + % V1.6 add some rubber space here and provide a command trigger + \footnotesize\@IEEEcompsocconfonly{\small}\vskip 0.3\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep\relax + \itemsep \IEEEbibitemsep\relax + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \let\@IEEElatexbibitem\bibitem% + \def\bibitem{\@IEEEbibitemprefix\@IEEElatexbibitem}% +\def\newblock{\hskip .11em plus .33em minus .07em}% +% originally: +% \sloppy\clubpenalty4000\widowpenalty4000% +% by adding the \interlinepenalty here, we make it more +% difficult, but not impossible, for LaTeX to break within a reference. +% IEEE almost never breaks a reference (but they do it more often with +% technotes). You may get an underfull vbox warning around the bibliography, +% but the final result will be much more like what IEEE will publish. +% MDS 11/2000 +\ifCLASSOPTIONtechnote\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty100% +\else\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty500\fi% + \sfcode`\.=1000\relax} +\let\endthebibliography=\endlist + + + + +% TITLE PAGE COMMANDS +% +% +% \IEEEmembership is used to produce the sublargesize italic font used to indicate author +% IEEE membership. compsoc uses a large size sans slant font +\def\IEEEmembership#1{{\@IEEEnotcompsoconly{\sublargesize}\normalfont\@IEEEcompsoconly{\sffamily}\textit{#1}}} + + +% \IEEEauthorrefmark{} produces a footnote type symbol to indicate author affiliation. +% When given an argument of 1 to 9, \IEEEauthorrefmark{} follows the standard LaTeX footnote +% symbol sequence convention. However, for arguments 10 and above, \IEEEauthorrefmark{} +% reverts to using lower case roman numerals, so it cannot overflow. Do note that you +% cannot use \footnotemark[] in place of \IEEEauthorrefmark{} within \author as the footnote +% symbols will have been turned off to prevent \thanks from creating footnote marks. +% \IEEEauthorrefmark{} produces a symbol that appears to LaTeX as having zero vertical +% height - this allows for a more compact line packing, but the user must ensure that +% the interline spacing is large enough to prevent \IEEEauthorrefmark{} from colliding +% with the text above. +% V1.7 make this a robust command +\DeclareRobustCommand*{\IEEEauthorrefmark}[1]{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or% + \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger% + \or \ddagger\ddagger \else\textsuperscript{\expandafter\romannumeral#1}\fi}}}} + + +% FONT CONTROLS AND SPACINGS FOR CONFERENCE MODE AUTHOR NAME AND AFFILIATION BLOCKS +% +% The default font styles for the author name and affiliation blocks (confmode) +\def\@IEEEauthorblockNstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\sublargesize\@IEEEcompsocconfonly{\large}} +\def\@IEEEauthorblockAstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\@IEEEcompsocconfonly{\itshape}\normalsize\@IEEEcompsocconfonly{\large}} +% The default if the user does not use an author block +\def\@IEEEauthordefaulttextstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\sublargesize} + +% spacing from title (or special paper notice) to author name blocks (confmode) +% can be negative +\def\@IEEEauthorblockconfadjspace{-0.25em} +% compsoc conferences need more space here +\@IEEEcompsocconfonly{\def\@IEEEauthorblockconfadjspace{0.75\@IEEEnormalsizeunitybaselineskip}} + +% spacing between name and affiliation blocks (confmode) +% This can be negative. +% IEEE doesn't want any added spacing here, but I will leave these +% controls in place in case they ever change their mind. +% Personally, I like 0.75ex. +%\def\@IEEEauthorblockNtopspace{0.75ex} +%\def\@IEEEauthorblockAtopspace{0.75ex} +\def\@IEEEauthorblockNtopspace{0.0ex} +\def\@IEEEauthorblockAtopspace{0.0ex} +% baseline spacing within name and affiliation blocks (confmode) +% must be positive, spacings below certain values will make +% the position of line of text sensitive to the contents of the +% line above it i.e., whether or not the prior line has descenders, +% subscripts, etc. For this reason it is a good idea to keep +% these above 2.6ex +\def\@IEEEauthorblockNinterlinespace{2.6ex} +\def\@IEEEauthorblockAinterlinespace{2.75ex} + +% This tracks the required strut size. +% See the \@IEEEauthorhalign command for the actual default value used. +\def\@IEEEauthorblockXinterlinespace{2.7ex} + +% variables to retain font size and style across groups +% values given here have no effect as they will be overwritten later +\gdef\@IEEESAVESTATEfontsize{10} +\gdef\@IEEESAVESTATEfontbaselineskip{12} +\gdef\@IEEESAVESTATEfontencoding{OT1} +\gdef\@IEEESAVESTATEfontfamily{ptm} +\gdef\@IEEESAVESTATEfontseries{m} +\gdef\@IEEESAVESTATEfontshape{n} + +% saves the current font attributes +\def\@IEEEcurfontSAVE{\global\let\@IEEESAVESTATEfontsize\f@size% +\global\let\@IEEESAVESTATEfontbaselineskip\f@baselineskip% +\global\let\@IEEESAVESTATEfontencoding\f@encoding% +\global\let\@IEEESAVESTATEfontfamily\f@family% +\global\let\@IEEESAVESTATEfontseries\f@series% +\global\let\@IEEESAVESTATEfontshape\f@shape} + +% restores the saved font attributes +\def\@IEEEcurfontRESTORE{\fontsize{\@IEEESAVESTATEfontsize}{\@IEEESAVESTATEfontbaselineskip}% +\fontencoding{\@IEEESAVESTATEfontencoding}% +\fontfamily{\@IEEESAVESTATEfontfamily}% +\fontseries{\@IEEESAVESTATEfontseries}% +\fontshape{\@IEEESAVESTATEfontshape}% +\selectfont} + + +% variable to indicate if the current block is the first block in the column +\newif\if@IEEEprevauthorblockincol \@IEEEprevauthorblockincolfalse + + +% the command places a strut with height and depth = \@IEEEauthorblockXinterlinespace +% we use this technique to have complete manual control over the spacing of the lines +% within the halign environment. +% We set the below baseline portion at 30%, the above +% baseline portion at 70% of the total length. +% Responds to changes in the document's \baselinestretch +\def\@IEEEauthorstrutrule{\@IEEEtrantmpdimenA\@IEEEauthorblockXinterlinespace% +\@IEEEtrantmpdimenA=\baselinestretch\@IEEEtrantmpdimenA% +\rule[-0.3\@IEEEtrantmpdimenA]{0pt}{\@IEEEtrantmpdimenA}} + + +% blocks to hold the authors' names and affilations. +% Makes formatting easy for conferences +% +% use real definitions in conference mode +% name block +\def\IEEEauthorblockN#1{\relax\@IEEEauthorblockNstyle% set the default text style +\gdef\@IEEEauthorblockXinterlinespace{0pt}% disable strut for spacer row +% the \expandafter hides the \cr in conditional tex, see the array.sty docs +% for details, probably not needed here as the \cr is in a macro +% do a spacer row if needed +\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockNtopspaceline\fi +\global\@IEEEprevauthorblockincoltrue% we now have a block in this column +%restore the correct strut value +\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockNinterlinespace}% +% input the author names +#1% +% end the row if the user did not already +\crcr} +% spacer row for names +\def\@IEEEauthorblockNtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockNtopspace}} +% +% affiliation block +\def\IEEEauthorblockA#1{\relax\@IEEEauthorblockAstyle% set the default text style +\gdef\@IEEEauthorblockXinterlinespace{0pt}%disable strut for spacer row +% the \expandafter hides the \cr in conditional tex, see the array.sty docs +% for details, probably not needed here as the \cr is in a macro +% do a spacer row if needed +\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockAtopspaceline\fi +\global\@IEEEprevauthorblockincoltrue% we now have a block in this column +%restore the correct strut value +\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockAinterlinespace}% +% input the author affiliations +#1% +% end the row if the user did not already +\crcr} +% spacer row for affiliations +\def\@IEEEauthorblockAtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockAtopspace}} + + +% allow papers to compile even if author blocks are used in modes other +% than conference or peerreviewca. For such cases, we provide dummy blocks. +\ifCLASSOPTIONconference +\else + \ifCLASSOPTIONpeerreviewca\else + % not conference or peerreviewca mode + \def\IEEEauthorblockN#1{#1}% + \def\IEEEauthorblockA#1{#1}% + \fi +\fi + + + +% we provide our own halign so as not to have to depend on tabular +\def\@IEEEauthorhalign{\@IEEEauthordefaulttextstyle% default text style + \lineskip=0pt\relax% disable line spacing + \lineskiplimit=0pt\relax% + \baselineskip=0pt\relax% + \@IEEEcurfontSAVE% save the current font + \mathsurround\z@\relax% no extra spacing around math + \let\\\@IEEEauthorhaligncr% replace newline with halign friendly one + \tabskip=0pt\relax% no column spacing + \everycr{}% ensure no problems here + \@IEEEprevauthorblockincolfalse% no author blocks yet + \def\@IEEEauthorblockXinterlinespace{2.7ex}% default interline space + \vtop\bgroup%vtop box + \halign\bgroup&\relax\hfil\@IEEEcurfontRESTORE\relax ##\relax + \hfil\@IEEEcurfontSAVE\@IEEEauthorstrutrule\cr} + +% ensure last line, exit from halign, close vbox +\def\end@IEEEauthorhalign{\crcr\egroup\egroup} + +% handle bogus star form +\def\@IEEEauthorhaligncr{{\ifnum0=`}\fi\@ifstar{\@@IEEEauthorhaligncr}{\@@IEEEauthorhaligncr}} + +% test and setup the optional argument to \\[] +\def\@@IEEEauthorhaligncr{\@testopt\@@@IEEEauthorhaligncr\z@skip} + +% end the line and do the optional spacer +\def\@@@IEEEauthorhaligncr[#1]{\ifnum0=`{\fi}\cr\noalign{\vskip#1\relax}} + + + +% flag to prevent multiple \and warning messages +\newif\if@IEEEWARNand +\@IEEEWARNandtrue + +% if in conference or peerreviewca modes, we support the use of \and as \author is a +% tabular environment, otherwise we warn the user that \and is invalid +% outside of conference or peerreviewca modes. +\def\and{\relax} % provide a bogus \and that we will then override + +\renewcommand{\and}[1][\relax]{\if@IEEEWARNand\typeout{** WARNING: \noexpand\and is valid only + when in conference or peerreviewca}\typeout{modes (line \the\inputlineno).}\fi\global\@IEEEWARNandfalse} + +\ifCLASSOPTIONconference% +\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% +\fi +\ifCLASSOPTIONpeerreviewca +\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% +\fi + + +% page clearing command +% based on LaTeX2e's \cleardoublepage, but allows different page styles +% for the inserted blank pages +\def\@IEEEcleardoublepage#1{\clearpage\if@twoside\ifodd\c@page\else +\hbox{}\thispagestyle{#1}\newpage\if@twocolumn\hbox{}\thispagestyle{#1}\newpage\fi\fi\fi} + + +% user command to invoke the title page +\def\maketitle{\par% + \begingroup% + \normalfont% + \def\thefootnote{}% the \thanks{} mark type is empty + \def\footnotemark{}% and kill space from \thanks within author + \let\@makefnmark\relax% V1.7, must *really* kill footnotemark to remove all \textsuperscript spacing as well. + \footnotesize% equal spacing between thanks lines + \footnotesep 0.7\baselineskip%see global setting of \footnotesep for more info + % V1.7 disable \thanks note indention for compsoc + \@IEEEcompsoconly{\long\def\@makefntext##1{\parindent 1em\noindent\hbox{\@makefnmark}##1}}% + \normalsize% + \ifCLASSOPTIONpeerreview + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \thispagestyle{IEEEpeerreviewcoverpagestyle}\@thanks% + \else + \if@twocolumn% + \ifCLASSOPTIONtechnote% + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \else + \twocolumn[\@maketitle\@IEEEdynamictitlevspace\@IEEEaftertitletext]% + \fi + \else + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \fi + \thispagestyle{IEEEtitlepagestyle}\@thanks% + \fi + % pullup page for pubid if used. + \if@IEEEusingpubid + \enlargethispage{-\@IEEEpubidpullup}% + \fi + \endgroup + \setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax + \gdef\@thanks{}% + % v1.6b do not clear these as we will need the title again for peer review papers + % \gdef\@author{}\gdef\@title{}% + \let\thanks\relax} + + + +% V1.7 parbox to format \@IEEEcompsoctitleabstractindextext +\long\def\@IEEEcompsoctitleabstractindextextbox#1{\parbox{0.915\textwidth}{#1}} + +% formats the Title, authors names, affiliations and special paper notice +% THIS IS A CONTROLLED SPACING COMMAND! Do not allow blank lines or unintentional +% spaces to enter the definition - use % at the end of each line +\def\@maketitle{\newpage +\begin{center}% +\ifCLASSOPTIONtechnote% technotes + {\bfseries\large\@IEEEcompsoconly{\sffamily}\@title\par}\vskip 1.3em{\lineskip .5em\@IEEEcompsoconly{\sffamily}\@author + \@IEEEspecialpapernotice\par{\@IEEEcompsoconly{\vskip 1.5em\relax + \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par + \hfill\@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax +\else% not a technote + \vskip0.2em{\Huge\@IEEEcompsoconly{\sffamily}\@IEEEcompsocconfonly{\normalfont\normalsize\vskip 2\@IEEEnormalsizeunitybaselineskip + \bfseries\Large}\@title\par}\vskip1.0em\par% + % V1.6 handle \author differently if in conference mode + \ifCLASSOPTIONconference% + {\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% + \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par}\relax + \else% peerreviewca, peerreview or journal + \ifCLASSOPTIONpeerreviewca + % peerreviewca handles author names just like conference mode + {\@IEEEcompsoconly{\sffamily}\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% + \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par + {\@IEEEcompsoconly{\vskip 1.5em\relax + \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill + \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax + \else% journal or peerreview + {\lineskip.5em\@IEEEcompsoconly{\sffamily}\sublargesize\@author\@IEEEspecialpapernotice\par + {\@IEEEcompsoconly{\vskip 1.5em\relax + \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill + \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax + \fi + \fi +\fi\end{center}} + + + +% V1.7 Computer Society "diamond line" which follows index terms for nonconference papers +\def\@IEEEcompsocdiamondline{\vrule depth 0pt height 0.5pt width 4cm\hspace{7.5pt}% +\raisebox{-3.5pt}{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\fontsize{11}{12}\selectfont\char70}% +\hspace{7.5pt}\vrule depth 0pt height 0.5pt width 4cm\relax} + +% V1.7 standard LateX2e \thanks, but with \itshape under compsoc. Also make it a \long\def +% We also need to trigger the one-shot footnote rule +\def\@IEEEtriggeroneshotfootnoterule{\global\@IEEEenableoneshotfootnoteruletrue} + + +\long\def\thanks#1{\footnotemark + \protected@xdef\@thanks{\@thanks + \protect\footnotetext[\the\c@footnote]{\@IEEEcompsoconly{\itshape + \protect\@IEEEtriggeroneshotfootnoterule\relax}\ignorespaces#1}}} +\let\@thanks\@empty + +% V1.7 allow \author to contain \par's. This is needed to allow \thanks to contain \par. +\long\def\author#1{\gdef\@author{#1}} + + +% in addition to setting up IEEEitemize, we need to remove a baselineskip space above and +% below it because \list's \pars introduce blank lines because of the footnote struts. +\def\@IEEEsetupcompsocitemizelist{\def\labelitemi{$\bullet$}% +\setlength{\IEEElabelindent}{0pt}\setlength{\parskip}{0pt}% +\setlength{\partopsep}{0pt}\setlength{\topsep}{0.5\baselineskip}\vspace{-1\baselineskip}\relax} + + +% flag for fake non-compsoc \IEEEcompsocthanksitem - prevents line break on very first item +\newif\if@IEEEbreakcompsocthanksitem \@IEEEbreakcompsocthanksitemfalse + +\ifCLASSOPTIONcompsoc +% V1.7 compsoc bullet item \thanks +% also, we need to redefine this to destroy the argument in \@IEEEdynamictitlevspace +\long\def\IEEEcompsocitemizethanks#1{\relax\@IEEEbreakcompsocthanksitemfalse\footnotemark + \protected@xdef\@thanks{\@thanks + \protect\footnotetext[\the\c@footnote]{\itshape\protect\@IEEEtriggeroneshotfootnoterule + {\let\IEEEiedlistdecl\relax\protect\begin{IEEEitemize}[\protect\@IEEEsetupcompsocitemizelist]\ignorespaces#1\relax + \protect\end{IEEEitemize}}\protect\vspace{-1\baselineskip}}}} +\DeclareRobustCommand*{\IEEEcompsocthanksitem}{\item} +\else +% non-compsoc, allow for dual compilation via rerouting to normal \thanks +\long\def\IEEEcompsocitemizethanks#1{\thanks{#1}} +% redirect to "pseudo-par" \hfil\break\indent after swallowing [] from \IEEEcompsocthanksitem[] +\DeclareRobustCommand{\IEEEcompsocthanksitem}{\@ifnextchar [{\@IEEEthanksswallowoptionalarg}% +{\@IEEEthanksswallowoptionalarg[\relax]}} +% be sure and break only after first item, be sure and ignore spaces after optional argument +\def\@IEEEthanksswallowoptionalarg[#1]{\relax\if@IEEEbreakcompsocthanksitem\hfil\break +\indent\fi\@IEEEbreakcompsocthanksitemtrue\ignorespaces} +\fi + + +% V1.6b define the \IEEEpeerreviewmaketitle as needed +\ifCLASSOPTIONpeerreview +\def\IEEEpeerreviewmaketitle{\@IEEEcleardoublepage{empty}% +\ifCLASSOPTIONtwocolumn +\twocolumn[\@IEEEpeerreviewmaketitle\@IEEEdynamictitlevspace] +\else +\newpage\@IEEEpeerreviewmaketitle\@IEEEstatictitlevskip +\fi +\thispagestyle{IEEEtitlepagestyle}} +\else +% \IEEEpeerreviewmaketitle does nothing if peer review option has not been selected +\def\IEEEpeerreviewmaketitle{\relax} +\fi + +% peerreview formats the repeated title like the title in journal papers. +\def\@IEEEpeerreviewmaketitle{\begin{center}\@IEEEcompsoconly{\sffamily}% +\normalfont\normalsize\vskip0.2em{\Huge\@title\par}\vskip1.0em\par +\end{center}} + + + +% V1.6 +% this is a static rubber spacer between the title/authors and the main text +% used for single column text, or when the title appears in the first column +% of two column text (technotes). +\def\@IEEEstatictitlevskip{{\normalfont\normalsize +% adjust spacing to next text +% v1.6b handle peer review papers +\ifCLASSOPTIONpeerreview +% for peer review papers, the same value is used for both title pages +% regardless of the other paper modes + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip +\else + \ifCLASSOPTIONconference% conference + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip% + \else% + \ifCLASSOPTIONtechnote% technote + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip% + \else% journal uses more space + \vskip 2.5\baselineskip plus 0.75\baselineskip minus 0.375\baselineskip% + \fi + \fi +\fi}} + + +% V1.6 +% This is a dynamically determined rigid spacer between the title/authors +% and the main text. This is used only for single column titles over two +% column text (most common) +% This is bit tricky because we have to ensure that the textheight of the +% main text is an integer multiple of \baselineskip +% otherwise underfull vbox problems may develop in the second column of the +% text on the titlepage +% The possible use of \IEEEpubid must also be taken into account. +\def\@IEEEdynamictitlevspace{{% + % we run within a group so that all the macros can be forgotten when we are done + \long\def\thanks##1{\relax}%don't allow \thanks to run when we evaluate the vbox height + \long\def\IEEEcompsocitemizethanks##1{\relax}%don't allow \IEEEcompsocitemizethanks to run when we evaluate the vbox height + \normalfont\normalsize% we declare more descriptive variable names + \let\@IEEEmaintextheight=\@IEEEtrantmpdimenA%height of the main text columns + \let\@IEEEINTmaintextheight=\@IEEEtrantmpdimenB%height of the main text columns with integer # lines + % set the nominal and minimum values for the title spacer + % the dynamic algorithm will not allow the spacer size to + % become less than \@IEEEMINtitlevspace - instead it will be + % lengthened + % default to journal values + \def\@IEEENORMtitlevspace{2.5\baselineskip}% + \def\@IEEEMINtitlevspace{2\baselineskip}% + % conferences and technotes need tighter spacing + \ifCLASSOPTIONconference%conference + \def\@IEEENORMtitlevspace{1\baselineskip}% + \def\@IEEEMINtitlevspace{0.75\baselineskip}% + \fi + \ifCLASSOPTIONtechnote%technote + \def\@IEEENORMtitlevspace{1\baselineskip}% + \def\@IEEEMINtitlevspace{0.75\baselineskip}% + \fi% + % get the height that the title will take up + \ifCLASSOPTIONpeerreview + \settoheight{\@IEEEmaintextheight}{\vbox{\hsize\textwidth \@IEEEpeerreviewmaketitle}}% + \else + \settoheight{\@IEEEmaintextheight}{\vbox{\hsize\textwidth \@maketitle}}% + \fi + \@IEEEmaintextheight=-\@IEEEmaintextheight% title takes away from maintext, so reverse sign + % add the height of the page textheight + \advance\@IEEEmaintextheight by \textheight% + % correct for title pages using pubid + \ifCLASSOPTIONpeerreview\else + % peerreview papers use the pubid on the cover page only. + % And the cover page uses a static spacer. + \if@IEEEusingpubid\advance\@IEEEmaintextheight by -\@IEEEpubidpullup\fi + \fi% + % subtract off the nominal value of the title bottom spacer + \advance\@IEEEmaintextheight by -\@IEEENORMtitlevspace% + % \topskip takes away some too + \advance\@IEEEmaintextheight by -\topskip% + % calculate the column height of the main text for lines + % now we calculate the main text height as if holding + % an integer number of \normalsize lines after the first + % and discard any excess fractional remainder + % we subtracted the first line, because the first line + % is placed \topskip into the maintext, not \baselineskip like the + % rest of the lines. + \@IEEEINTmaintextheight=\@IEEEmaintextheight% + \divide\@IEEEINTmaintextheight by \baselineskip% + \multiply\@IEEEINTmaintextheight by \baselineskip% + % now we calculate how much the title spacer height will + % have to be reduced from nominal (\@IEEEREDUCEmaintextheight is always + % a positive value) so that the maintext area will contain an integer + % number of normal size lines + % we change variable names here (to avoid confusion) as we no longer + % need \@IEEEINTmaintextheight and can reuse its dimen register + \let\@IEEEREDUCEmaintextheight=\@IEEEINTmaintextheight% + \advance\@IEEEREDUCEmaintextheight by -\@IEEEmaintextheight% + \advance\@IEEEREDUCEmaintextheight by \baselineskip% + % this is the calculated height of the spacer + % we change variable names here (to avoid confusion) as we no longer + % need \@IEEEmaintextheight and can reuse its dimen register + \let\@IEEECOMPENSATElen=\@IEEEmaintextheight% + \@IEEECOMPENSATElen=\@IEEENORMtitlevspace% set the nominal value + % we go with the reduced length if it is smaller than an increase + \ifdim\@IEEEREDUCEmaintextheight < 0.5\baselineskip\relax% + \advance\@IEEECOMPENSATElen by -\@IEEEREDUCEmaintextheight% + % if the resulting spacer is too small back out and go with an increase instead + \ifdim\@IEEECOMPENSATElen<\@IEEEMINtitlevspace\relax% + \advance\@IEEECOMPENSATElen by \baselineskip% + \fi% + \else% + % go with an increase because it is closer to the nominal than a decrease + \advance\@IEEECOMPENSATElen by -\@IEEEREDUCEmaintextheight% + \advance\@IEEECOMPENSATElen by \baselineskip% + \fi% + % set the calculated rigid spacer + \vspace{\@IEEECOMPENSATElen}}} + + + +% V1.6 +% we allow the user access to the last part of the title area +% useful in emergencies such as when a different spacing is needed +% This text is NOT compensated for in the dynamic sizer. +\let\@IEEEaftertitletext=\relax +\long\def\IEEEaftertitletext#1{\def\@IEEEaftertitletext{#1}} + +% V1.7 provide a way for users to enter abstract and keywords +% into the onecolumn title are. This text is compensated for +% in the dynamic sizer. +\let\@IEEEcompsoctitleabstractindextext=\relax +\long\def\IEEEcompsoctitleabstractindextext#1{\def\@IEEEcompsoctitleabstractindextext{#1}} +% V1.7 provide a way for users to get the \@IEEEcompsoctitleabstractindextext if +% not in compsoc journal mode - this way abstract and keywords can be placed +% in their conventional position if not in compsoc mode. +\def\IEEEdisplaynotcompsoctitleabstractindextext{% +\ifCLASSOPTIONcompsoc% display if compsoc conf +\ifCLASSOPTIONconference\@IEEEcompsoctitleabstractindextext\fi +\else% or if not compsoc +\@IEEEcompsoctitleabstractindextext\fi} + + +% command to allow alteration of baselinestretch, but only if the current +% baselineskip is unity. Used to tweak the compsoc abstract and keywords line spacing. +\def\@IEEEtweakunitybaselinestretch#1{{\def\baselinestretch{1}\selectfont +\global\@tempskipa\baselineskip}\ifnum\@tempskipa=\baselineskip% +\def\baselinestretch{#1}\selectfont\fi\relax} + + +% abstract and keywords are in \small, except +% for 9pt docs in which they are in \footnotesize +% Because 9pt docs use an 8pt footnotesize, \small +% becomes a rather awkward 8.5pt +\def\@IEEEabskeysecsize{\small} +\ifx\CLASSOPTIONpt\@IEEEptsizenine + \def\@IEEEabskeysecsize{\footnotesize} +\fi + +% compsoc journals use \footnotesize, compsoc conferences use normalsize +\@IEEEcompsoconly{\def\@IEEEabskeysecsize{\footnotesize}} +\@IEEEcompsocconfonly{\def\@IEEEabskeysecsize{\normalsize}} + + + + +% V1.6 have abstract and keywords strip leading spaces, pars and newlines +% so that spacing is more tightly controlled. +\def\abstract{\normalfont + \if@twocolumn + \@IEEEabskeysecsize\bfseries\textit{\abstractname}---\relax + \else + \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize + \fi\@IEEEgobbleleadPARNLSP} +% V1.6 IEEE wants only 1 pica from end of abstract to introduction heading when in +% conference mode (the heading already has this much above it) +\def\endabstract{\relax\ifCLASSOPTIONconference\vspace{0ex}\else\vspace{1.34ex}\fi\par\if@twocolumn\else\endquotation\fi + \normalfont\normalsize} + +\def\IEEEkeywords{\normalfont + \if@twocolumn + \@IEEEabskeysecsize\bfseries\textit{\IEEEkeywordsname}---\relax + \else + \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize + \fi\@IEEEgobbleleadPARNLSP} +\def\endIEEEkeywords{\relax\ifCLASSOPTIONtechnote\vspace{1.34ex}\else\vspace{0.67ex}\fi + \par\if@twocolumn\else\endquotation\fi% + \normalfont\normalsize} + +% V1.7 compsoc keywords index terms +\ifCLASSOPTIONcompsoc + \ifCLASSOPTIONconference% compsoc conference +\def\abstract{\normalfont + \begin{center}\@IEEEabskeysecsize\textbf{\large\abstractname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip + \if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize% + \par\@IEEEgobbleleadPARNLSP} +\def\IEEEkeywords{\normalfont\vskip 1.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip + \begin{center}\@IEEEabskeysecsize\textbf{\large\IEEEkeywordsname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip + \if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize% + \par\@IEEEgobbleleadPARNLSP} + \else% compsoc not conference +\def\abstract{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\sffamily + \if@twocolumn + \@IEEEabskeysecsize\noindent\textbf{\abstractname}---\relax + \else + \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize% + \fi\@IEEEgobbleleadPARNLSP} +\def\IEEEkeywords{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\sffamily + \if@twocolumn + \@IEEEabskeysecsize\vskip 0.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip\noindent + \textbf{\IEEEkeywordsname}---\relax + \else + \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize% + \fi\@IEEEgobbleleadPARNLSP} + \fi +\fi + + + +% gobbles all leading \, \\ and \par, upon finding first token that +% is not a \ , \\ or a \par, it ceases and returns that token +% +% used to strip leading \, \\ and \par from the input +% so that such things in the beginning of an environment will not +% affect the formatting of the text +\long\def\@IEEEgobbleleadPARNLSP#1{\let\@IEEEswallowthistoken=0% +\let\@IEEEgobbleleadPARNLSPtoken#1% +\let\@IEEEgobbleleadPARtoken=\par% +\let\@IEEEgobbleleadNLtoken=\\% +\let\@IEEEgobbleleadSPtoken=\ % +\def\@IEEEgobbleleadSPMACRO{\ }% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadPARtoken% +\let\@IEEEswallowthistoken=1% +\fi% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadNLtoken% +\let\@IEEEswallowthistoken=1% +\fi% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPtoken% +\let\@IEEEswallowthistoken=1% +\fi% +% a control space will come in as a macro +% when it is the last one on a line +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPMACRO% +\let\@IEEEswallowthistoken=1% +\fi% +% if we have to swallow this token, do so and taste the next one +% else spit it out and stop gobbling +\ifx\@IEEEswallowthistoken 1\let\@IEEEnextgobbleleadPARNLSP=\@IEEEgobbleleadPARNLSP\else% +\let\@IEEEnextgobbleleadPARNLSP=#1\fi% +\@IEEEnextgobbleleadPARNLSP}% + + + + +% TITLING OF SECTIONS +\def\@IEEEsectpunct{:\ \,} % Punctuation after run-in section heading (headings which are + % part of the paragraphs), need little bit more than a single space + % spacing from section number to title +% compsoc conferences use regular period/space punctuation +\ifCLASSOPTIONcompsoc +\ifCLASSOPTIONconference +\def\@IEEEsectpunct{.\ } +\fi\fi + + +\def\@seccntformat#1{\csname the#1dis\endcsname\hskip 0.5em\relax} + +\ifCLASSOPTIONcompsoc +% compsoc journals need extra spacing +\ifCLASSOPTIONconference\else +\def\@seccntformat#1{\csname the#1dis\endcsname\hskip 1em\relax} +\fi\fi + +%v1.7 put {} after #6 to allow for some types of user font control +%and use \@@par rather than \par +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + % load section label and spacer into \@svsec + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi% + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@% tempskipa determines whether is treated as a high + \begingroup #6{\relax% or low level heading + \noindent % subsections are NOT indented + % print top level headings. \@svsec is label, #8 is heading title + % IEEE does not block indent the section title text, it flows like normal + {\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\@@par}}% + \endgroup + \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else + \protect\numberline{\csname the#1\endcsname}\fi#7}% + \else % printout low level headings + % svsechd seems to swallow the trailing space, protect it with \mbox{} + % got rid of sectionmark stuff + \def\@svsechd{#6{\hskip #3\relax\@svsec #8\@IEEEsectpunct\mbox{}}% + \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else + \protect\numberline{\csname the#1\endcsname}\fi#7}}% + \fi%skip down + \@xsect{#5}} + + +% section* handler +%v1.7 put {} after #4 to allow for some types of user font control +%and use \@@par rather than \par +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + %\begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup + % IEEE does not block indent the section title text, it flows like normal + \begingroup \noindent #4{\relax{\hskip #1}{\interlinepenalty \@M #5\@@par}}\endgroup + % svsechd swallows the trailing space, protect it with \mbox{} + \else \def\@svsechd{#4{\hskip #1\relax #5\@IEEEsectpunct\mbox{}}}\fi + \@xsect{#3}} + + +%% SECTION heading spacing and font +%% +% arguments are: #1 - sectiontype name +% (for \@sect) #2 - section level +% #3 - section heading indent +% #4 - top separation (absolute value used, neg indicates not to indent main text) +% If negative, make stretch parts negative too! +% #5 - (absolute value used) positive: bottom separation after heading, +% negative: amount to indent main text after heading +% Both #4 and #5 negative means to indent main text and use negative top separation +% #6 - font control +% You've got to have \normalfont\normalsize in the font specs below to prevent +% trouble when you do something like: +% \section{Note}{\ttfamily TT-TEXT} is known to ... +% IEEE sometimes REALLY stretches the area before a section +% heading by up to about 0.5in. However, it may not be a good +% idea to let LaTeX have quite this much rubber. +\ifCLASSOPTIONconference% +% IEEE wants section heading spacing to decrease for conference mode +\def\section{\@startsection{section}{1}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% +{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape}}% +\def\subsection{\@startsection{subsection}{2}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% +{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}% +\else % for journals +\def\section{\@startsection{section}{1}{\z@}{3.0ex plus 1.5ex minus 1.5ex}% V1.6 3.0ex from 3.5ex +{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape}}% +\def\subsection{\@startsection{subsection}{2}{\z@}{3.5ex plus 1.5ex minus 1.5ex}% +{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}% +\fi + +% for both journals and conferences +% decided to put in a little rubber above the section, might help somebody +\def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{0ex plus 0.1ex minus 0.1ex}% +{0ex}{\normalfont\normalsize\itshape}}% +\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{0ex plus 0.1ex minus 0.1ex}% +{0ex}{\normalfont\normalsize\itshape}}% + + +% compsoc +\ifCLASSOPTIONcompsoc +\ifCLASSOPTIONconference +% compsoc conference +\def\section{\@startsection{section}{1}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% +{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}{\normalfont\large\bfseries}}% +\def\subsection{\@startsection{subsection}{2}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% +{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}{\normalfont\sublargesize\bfseries}}% +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% +{0ex}{\normalfont\normalsize\bfseries}}% +\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{0ex plus 0.1ex minus 0.1ex}% +{0ex}{\normalfont\normalsize}}% +\else% compsoc journals +% use negative top separation as compsoc journals do not indent paragraphs after section titles +\def\section{\@startsection{section}{1}{\z@}{-3ex plus -2ex minus -1.5ex}% +{0.7ex plus 1ex minus 0ex}{\normalfont\large\sffamily\bfseries\scshape}}% +% Note that subsection and smaller may not be correct for the Computer Society, +% I have to look up an example. +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.5ex plus -1.5ex minus -1.5ex}% +{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\sffamily\bfseries}}% +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex plus -1ex minus -1ex}% +{0.5ex plus 0.5ex minus 0ex}{\normalfont\normalsize\sffamily\itshape}}% +\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{-0ex plus -0.1ex minus -0.1ex}% +{0ex}{\normalfont\normalsize}}% +\fi\fi + + + + +%% ENVIRONMENTS +% "box" symbols at end of proofs +\def\IEEEQEDclosed{\mbox{\rule[0pt]{1.3ex}{1.3ex}}} % for a filled box +% V1.6 some journals use an open box instead that will just fit around a closed one +\def\IEEEQEDopen{{\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.2pt}\fbox{\rule[0pt]{0pt}{1.3ex}\rule[0pt]{1.3ex}{0pt}}}} +\ifCLASSOPTIONcompsoc +\def\IEEEQED{\IEEEQEDopen} % default to open for compsoc +\else +\def\IEEEQED{\IEEEQEDclosed} % otherwise default to closed +\fi + +% v1.7 name change to avoid namespace collision with amsthm. Also add support +% for an optional argument. +\def\IEEEproof{\@ifnextchar[{\@IEEEproof}{\@IEEEproof[\IEEEproofname]}} +\def\@IEEEproof[#1]{\par\noindent\hspace{2em}{\itshape #1: }} +\def\endIEEEproof{\hspace*{\fill}~\IEEEQED\par} + + +%\itemindent is set to \z@ by list, so define new temporary variable +\newdimen\@IEEEtmpitemindent +\def\@begintheorem#1#2{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily\trivlist% + \item[\hskip \labelsep{\indent\itshape #1\ #2:}]\itemindent\@IEEEtmpitemindent} +\def\@opargbegintheorem#1#2#3{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily \trivlist% +% V1.6 IEEE is back to using () around theorem names which are also in italics +% Thanks to Christian Peel for reporting this. + \item[\hskip\labelsep{\indent\itshape #1\ #2\ (#3):}]\itemindent\@IEEEtmpitemindent} +% V1.7 remove bogus \unskip that caused equations in theorems to collide with +% lines below. +\def\@endtheorem{\endtrivlist} + +% V1.6 +% display command for the section the theorem is in - so that \thesection +% is not used as this will be in Roman numerals when we want arabic. +% LaTeX2e uses \def\@thmcounter#1{\noexpand\arabic{#1}} for the theorem number +% (second part) display and \def\@thmcountersep{.} as a separator. +% V1.7 intercept calls to the section counter and reroute to \@IEEEthmcounterinsection +% to allow \appendix(ices} to override as needed. +% +% special handler for sections, allows appendix(ices) to override +\gdef\@IEEEthmcounterinsection#1{\arabic{#1}} +% string macro +\edef\@IEEEstringsection{section} + +% redefine the #1#2[#3] form of newtheorem to use a hook to \@IEEEthmcounterinsection +% if section in_counter is used +\def\@xnthm#1#2[#3]{% + \expandafter\@ifdefinable\csname #1\endcsname + {\@definecounter{#1}\@newctr{#1}[#3]% + \edef\@IEEEstringtmp{#3} + \ifx\@IEEEstringtmp\@IEEEstringsection + \expandafter\xdef\csname the#1\endcsname{% + \noexpand\@IEEEthmcounterinsection{#3}\@thmcountersep + \@thmcounter{#1}}% + \else + \expandafter\xdef\csname the#1\endcsname{% + \expandafter\noexpand\csname the#3\endcsname \@thmcountersep + \@thmcounter{#1}}% + \fi + \global\@namedef{#1}{\@thm{#1}{#2}}% + \global\@namedef{end#1}{\@endtheorem}}} + + + +%% SET UP THE DEFAULT PAGESTYLE +\ps@headings +\pagenumbering{arabic} + +% normally the page counter starts at 1 +\setcounter{page}{1} +% however, for peerreview the cover sheet is page 0 or page -1 +% (for duplex printing) +\ifCLASSOPTIONpeerreview + \if@twoside + \setcounter{page}{-1} + \else + \setcounter{page}{0} + \fi +\fi + +% standard book class behavior - let bottom line float up and down as +% needed when single sided +\ifCLASSOPTIONtwoside\else\raggedbottom\fi +% if two column - turn on twocolumn, allow word spacings to stretch more and +% enforce a rigid position for the last lines +\ifCLASSOPTIONtwocolumn +% the peer review option delays invoking twocolumn + \ifCLASSOPTIONpeerreview\else + \twocolumn + \fi +\sloppy +\flushbottom +\fi + + + + +% \APPENDIX and \APPENDICES definitions + +% This is the \@ifmtarg command from the LaTeX ifmtarg package +% by Peter Wilson (CUA) and Donald Arseneau +% \@ifmtarg is used to determine if an argument to a command +% is present or not. +% For instance: +% \@ifmtarg{#1}{\typeout{empty}}{\typeout{has something}} +% \@ifmtarg is used with our redefined \section command if +% \appendices is invoked. +% The command \section will behave slightly differently depending +% on whether the user specifies a title: +% \section{My appendix title} +% or not: +% \section{} +% This way, we can eliminate the blank lines where the title +% would be, and the unneeded : after Appendix in the table of +% contents +\begingroup +\catcode`\Q=3 +\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil} +\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4} +\endgroup +% end of \@ifmtarg defs + + +% V1.7 +% command that allows the one time saving of the original definition +% of section to \@IEEEappendixsavesection for \appendix or \appendices +% we don't save \section here as it may be redefined later by other +% packages (hyperref.sty, etc.) +\def\@IEEEsaveoriginalsectiononce{\let\@IEEEappendixsavesection\section +\let\@IEEEsaveoriginalsectiononce\relax} + +% neat trick to grab and process the argument from \section{argument} +% we process differently if the user invoked \section{} with no +% argument (title) +% note we reroute the call to the old \section* +\def\@IEEEprocessthesectionargument#1{% +\@ifmtarg{#1}{% +\@IEEEappendixsavesection*{\appendixname~\thesectiondis}% +\addcontentsline{toc}{section}{\appendixname~\thesection}}{% +\@IEEEappendixsavesection*{\appendixname~\thesectiondis \\* #1}% +\addcontentsline{toc}{section}{\appendixname~\thesection: #1}}} + +% we use this if the user calls \section{} after +% \appendix-- which has no meaning. So, we ignore the +% command and its argument. Then, warn the user. +\def\@IEEEdestroythesectionargument#1{\typeout{** WARNING: Ignoring useless +\protect\section\space in Appendix (line \the\inputlineno).}} + + +% remember \thesection forms will be displayed in \ref calls +% and in the Table of Contents. +% The \sectiondis form is used in the actual heading itself + +% appendix command for one single appendix +% normally has no heading. However, if you want a +% heading, you can do so via the optional argument: +% \appendix[Optional Heading] +\def\appendix{\relax} +\renewcommand{\appendix}[1][]{\@IEEEsaveoriginalsectiononce\par + % v1.6 keep hyperref's identifiers unique + \gdef\theHsection{Appendix.A}% + % v1.6 adjust hyperref's string name for the section + \xdef\Hy@chapapp{appendix}% + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \setcounter{subsubsection}{0}% + \setcounter{paragraph}{0}% + \gdef\thesection{A}% + \gdef\thesectiondis{}% + \gdef\thesubsection{\Alph{subsection}}% + \gdef\@IEEEthmcounterinsection##1{A} + \refstepcounter{section}% update the \ref counter + \@ifmtarg{#1}{\@IEEEappendixsavesection*{\appendixname}% + \addcontentsline{toc}{section}{\appendixname}}{% + \@IEEEappendixsavesection*{\appendixname~\\* #1}% + \addcontentsline{toc}{section}{\appendixname: #1}}% + % redefine \section command for appendix + % leave \section* as is + \def\section{\@ifstar{\@IEEEappendixsavesection*}{% + \@IEEEdestroythesectionargument}}% throw out the argument + % of the normal form +} + + + +% appendices command for multiple appendices +% user then calls \section with an argument (possibly empty) to +% declare the individual appendices +\def\appendices{\@IEEEsaveoriginalsectiononce\par + % v1.6 keep hyperref's identifiers unique + \gdef\theHsection{Appendix.\Alph{section}}% + % v1.6 adjust hyperref's string name for the section + \xdef\Hy@chapapp{appendix}% + \setcounter{section}{-1}% we want \refstepcounter to use section 0 + \setcounter{subsection}{0}% + \setcounter{subsubsection}{0}% + \setcounter{paragraph}{0}% + \ifCLASSOPTIONromanappendices% + \gdef\thesection{\Roman{section}}% + \gdef\thesectiondis{\Roman{section}}% + \@IEEEcompsocconfonly{\gdef\thesectiondis{\Roman{section}.}}% + \gdef\@IEEEthmcounterinsection##1{A\arabic{##1}} + \else% + \gdef\thesection{\Alph{section}}% + \gdef\thesectiondis{\Alph{section}}% + \@IEEEcompsocconfonly{\gdef\thesectiondis{\Alph{section}.}}% + \gdef\@IEEEthmcounterinsection##1{\Alph{##1}} + \fi% + \refstepcounter{section}% update the \ref counter + \setcounter{section}{0}% NEXT \section will be the FIRST appendix + % redefine \section command for appendices + % leave \section* as is + \def\section{\@ifstar{\@IEEEappendixsavesection*}{% process the *-form + \refstepcounter{section}% or is a new section so, + \@IEEEprocessthesectionargument}}% process the argument + % of the normal form +} + + + +% \IEEEPARstart +% Definition for the big two line drop cap letter at the beginning of the +% first paragraph of journal papers. The first argument is the first letter +% of the first word, the second argument is the remaining letters of the +% first word which will be rendered in upper case. +% In V1.6 this has been completely rewritten to: +% +% 1. no longer have problems when the user begins an environment +% within the paragraph that uses \IEEEPARstart. +% 2. auto-detect and use the current font family +% 3. revise handling of the space at the end of the first word so that +% interword glue will now work as normal. +% 4. produce correctly aligned edges for the (two) indented lines. +% +% We generalize things via control macros - playing with these is fun too. +% +% V1.7 added more control macros to make it easy for IEEEtrantools.sty users +% to change the font style. +% +% the number of lines that are indented to clear it +% may need to increase if using decenders +\def\@IEEEPARstartDROPLINES{2} +% minimum number of lines left on a page to allow a \@IEEEPARstart +% Does not take into consideration rubber shrink, so it tends to +% be overly cautious +\def\@IEEEPARstartMINPAGELINES{2} +% V1.7 the height of the drop cap is adjusted to match the height of this text +% in the current font (when \IEEEPARstart is called). +\def\@IEEEPARstartHEIGHTTEXT{T} +% the depth the letter is lowered below the baseline +% the height (and size) of the letter is determined by the sum +% of this value and the height of the \@IEEEPARstartHEIGHTTEXT in the current +% font. It is a good idea to set this value in terms of the baselineskip +% so that it can respond to changes therein. +\def\@IEEEPARstartDROPDEPTH{1.1\baselineskip} +% V1.7 the font the drop cap will be rendered in, +% can take zero or one argument. +\def\@IEEEPARstartFONTSTYLE{\bfseries} +% V1.7 any additional, non-font related commands needed to modify +% the drop cap letter, can take zero or one argument. +\def\@IEEEPARstartCAPSTYLE{\MakeUppercase} +% V1.7 the font that will be used to render the rest of the word, +% can take zero or one argument. +\def\@IEEEPARstartWORDFONTSTYLE{\relax} +% V1.7 any additional, non-font related commands needed to modify +% the rest of the word, can take zero or one argument. +\def\@IEEEPARstartWORDCAPSTYLE{\MakeUppercase} +% This is the horizontal separation distance from the drop letter to the main text. +% Lengths that depend on the font (e.g., ex, em, etc.) will be referenced +% to the font that is active when \IEEEPARstart is called. +\def\@IEEEPARstartSEP{0.15em} +% V1.7 horizontal offset applied to the left of the drop cap. +\def\@IEEEPARstartHOFFSET{0em} +% V1.7 Italic correction command applied at the end of the drop cap. +\def\@IEEEPARstartITLCORRECT{\/} + +% V1.7 compoc uses nonbold drop cap and small caps word style +\ifCLASSOPTIONcompsoc +\def\@IEEEPARstartFONTSTYLE{\mdseries} +\def\@IEEEPARstartWORDFONTSTYLE{\scshape} +\def\@IEEEPARstartWORDCAPSTYLE{\relax} +\fi + +% definition of \IEEEPARstart +% THIS IS A CONTROLLED SPACING AREA, DO NOT ALLOW SPACES WITHIN THESE LINES +% +% The token \@IEEEPARstartfont will be globally defined after the first use +% of \IEEEPARstart and will be a font command which creates the big letter +% The first argument is the first letter of the first word and the second +% argument is the rest of the first word(s). +\def\IEEEPARstart#1#2{\par{% +% if this page does not have enough space, break it and lets start +% on a new one +\@IEEEtranneedspace{\@IEEEPARstartMINPAGELINES\baselineskip}{\relax}% +% V1.7 move this up here in case user uses \textbf for \@IEEEPARstartFONTSTYLE +% which uses command \leavevmode which causes an unwanted \indent to be issued +\noindent +% calculate the desired height of the big letter +% it extends from the top of \@IEEEPARstartHEIGHTTEXT in the current font +% down to \@IEEEPARstartDROPDEPTH below the current baseline +\settoheight{\@IEEEtrantmpdimenA}{\@IEEEPARstartHEIGHTTEXT}% +\addtolength{\@IEEEtrantmpdimenA}{\@IEEEPARstartDROPDEPTH}% +% extract the name of the current font in bold +% and place it in \@IEEEPARstartFONTNAME +\def\@IEEEPARstartGETFIRSTWORD##1 ##2\relax{##1}% +{\@IEEEPARstartFONTSTYLE{\selectfont\edef\@IEEEPARstartFONTNAMESPACE{\fontname\font\space}% +\xdef\@IEEEPARstartFONTNAME{\expandafter\@IEEEPARstartGETFIRSTWORD\@IEEEPARstartFONTNAMESPACE\relax}}}% +% define a font based on this name with a point size equal to the desired +% height of the drop letter +\font\@IEEEPARstartsubfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenA\relax% +% save this value as a counter (integer) value (sp points) +\@IEEEtrantmpcountA=\@IEEEtrantmpdimenA% +% now get the height of the actual letter produced by this font size +\settoheight{\@IEEEtrantmpdimenB}{\@IEEEPARstartsubfont\@IEEEPARstartCAPSTYLE{#1}}% +% If something bogus happens like the first argument is empty or the +% current font is strange, do not allow a zero height. +\ifdim\@IEEEtrantmpdimenB=0pt\relax% +\typeout{** WARNING: IEEEPARstart drop letter has zero height! (line \the\inputlineno)}% +\typeout{ Forcing the drop letter font size to 10pt.}% +\@IEEEtrantmpdimenB=10pt% +\fi% +% and store it as a counter +\@IEEEtrantmpcountB=\@IEEEtrantmpdimenB% +% Since a font size doesn't exactly correspond to the height of the capital +% letters in that font, the actual height of the letter, \@IEEEtrantmpcountB, +% will be less than that desired, \@IEEEtrantmpcountA +% we need to raise the font size, \@IEEEtrantmpdimenA +% by \@IEEEtrantmpcountA / \@IEEEtrantmpcountB +% But, TeX doesn't have floating point division, so we have to use integer +% division. Hence the use of the counters. +% We need to reduce the denominator so that the loss of the remainder will +% have minimal affect on the accuracy of the result +\divide\@IEEEtrantmpcountB by 200% +\divide\@IEEEtrantmpcountA by \@IEEEtrantmpcountB% +% Then reequalize things when we use TeX's ability to multiply by +% floating point values +\@IEEEtrantmpdimenB=0.005\@IEEEtrantmpdimenA% +\multiply\@IEEEtrantmpdimenB by \@IEEEtrantmpcountA% +% \@IEEEPARstartfont is globaly set to the calculated font of the big letter +% We need to carry this out of the local calculation area to to create the +% big letter. +\global\font\@IEEEPARstartfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenB% +% Now set \@IEEEtrantmpdimenA to the width of the big letter +% We need to carry this out of the local calculation area to set the +% hanging indent +\settowidth{\global\@IEEEtrantmpdimenA}{\@IEEEPARstartfont +\@IEEEPARstartCAPSTYLE{#1\@IEEEPARstartITLCORRECT}}}% +% end of the isolated calculation environment +% add in the extra clearance we want +\advance\@IEEEtrantmpdimenA by \@IEEEPARstartSEP\relax% +% add in the optional offset +\advance\@IEEEtrantmpdimenA by \@IEEEPARstartHOFFSET\relax% +% V1.7 don't allow negative offsets to produce negative hanging indents +\@IEEEtrantmpdimenB\@IEEEtrantmpdimenA +\ifnum\@IEEEtrantmpdimenB < 0 \@IEEEtrantmpdimenB 0pt\fi +% \@IEEEtrantmpdimenA has the width of the big letter plus the +% separation space and \@IEEEPARstartfont is the font we need to use +% Now, we make the letter and issue the hanging indent command +% The letter is placed in a box of zero width and height so that other +% text won't be displaced by it. +\hangindent\@IEEEtrantmpdimenB\hangafter=-\@IEEEPARstartDROPLINES% +\makebox[0pt][l]{\hspace{-\@IEEEtrantmpdimenA}% +\raisebox{-\@IEEEPARstartDROPDEPTH}[0pt][0pt]{\hspace{\@IEEEPARstartHOFFSET}% +\@IEEEPARstartfont\@IEEEPARstartCAPSTYLE{#1\@IEEEPARstartITLCORRECT}% +\hspace{\@IEEEPARstartSEP}}}% +{\@IEEEPARstartWORDFONTSTYLE{\@IEEEPARstartWORDCAPSTYLE{\selectfont#2}}}} + + + + + + +% determines if the space remaining on a given page is equal to or greater +% than the specified space of argument one +% if not, execute argument two (only if the remaining space is greater than zero) +% and issue a \newpage +% +% example: \@IEEEtranneedspace{2in}{\vfill} +% +% Does not take into consideration rubber shrinkage, so it tends to +% be overly cautious +% Based on an example posted by Donald Arseneau +% Note this macro uses \@IEEEtrantmpdimenB internally for calculations, +% so DO NOT PASS \@IEEEtrantmpdimenB to this routine +% if you need a dimen register, import with \@IEEEtrantmpdimenA instead +\def\@IEEEtranneedspace#1#2{\penalty-100\begingroup%shield temp variable +\@IEEEtrantmpdimenB\pagegoal\advance\@IEEEtrantmpdimenB-\pagetotal% space left +\ifdim #1>\@IEEEtrantmpdimenB\relax% not enough space left +\ifdim\@IEEEtrantmpdimenB>\z@\relax #2\fi% +\newpage% +\fi\endgroup} + + + +% IEEEbiography ENVIRONMENT +% Allows user to enter biography leaving place for picture (adapts to font size) +% As of V1.5, a new optional argument allows you to have a real graphic! +% V1.5 and later also fixes the "colliding biographies" which could happen when a +% biography's text was shorter than the space for the photo. +% MDS 7/2001 +% V1.6 prevent multiple biographies from making multiple TOC entries +\newif\if@IEEEbiographyTOCentrynotmade +\global\@IEEEbiographyTOCentrynotmadetrue + +% biography counter so hyperref can jump directly to the biographies +% and not just the previous section +\newcounter{IEEEbiography} +\setcounter{IEEEbiography}{0} + +% photo area size +\def\@IEEEBIOphotowidth{1.0in} % width of the biography photo area +\def\@IEEEBIOphotodepth{1.25in} % depth (height) of the biography photo area +% area cleared for photo +\def\@IEEEBIOhangwidth{1.14in} % width cleared for the biography photo area +\def\@IEEEBIOhangdepth{1.25in} % depth cleared for the biography photo area + % actual depth will be a multiple of + % \baselineskip, rounded up +\def\@IEEEBIOskipN{4\baselineskip}% nominal value of the vskip above the biography + +\newenvironment{IEEEbiography}[2][]{\normalfont\@IEEEcompsoconly{\sffamily}\footnotesize% +\unitlength 1in\parskip=0pt\par\parindent 1em\interlinepenalty500% +% we need enough space to support the hanging indent +% the nominal value of the spacer +% and one extra line for good measure +\@IEEEtrantmpdimenA=\@IEEEBIOhangdepth% +\advance\@IEEEtrantmpdimenA by \@IEEEBIOskipN% +\advance\@IEEEtrantmpdimenA by 1\baselineskip% +% if this page does not have enough space, break it and lets start +% with a new one +\@IEEEtranneedspace{\@IEEEtrantmpdimenA}{\relax}% +% nominal spacer can strech, not shrink use 1fil so user can out stretch with \vfill +\vskip \@IEEEBIOskipN plus 1fil minus 0\baselineskip% +% the default box for where the photo goes +\def\@IEEEtempbiographybox{{\setlength{\fboxsep}{0pt}\framebox{% +\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}\centering PLACE\\ PHOTO\\ HERE \end{minipage}}}}% +% +% detect if the optional argument was supplied, this requires the +% \@ifmtarg command as defined in the appendix section above +% and if so, override the default box with what they want +\@ifmtarg{#1}{\relax}{\def\@IEEEtempbiographybox{\mbox{\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}% +\centering% +#1% +\end{minipage}}}}% end if optional argument supplied +% Make an entry into the table of contents only if we have not done so before +\if@IEEEbiographyTOCentrynotmade% +% link labels to the biography counter so hyperref will jump +% to the biography, not the previous section +\setcounter{IEEEbiography}{-1}% +\refstepcounter{IEEEbiography}% +\addcontentsline{toc}{section}{Biographies}% +\global\@IEEEbiographyTOCentrynotmadefalse% +\fi% +% one more biography +\refstepcounter{IEEEbiography}% +% Make an entry for this name into the table of contents +\addcontentsline{toc}{subsection}{#2}% +% V1.6 properly handle if a new paragraph should occur while the +% hanging indent is still active. Do this by redefining \par so +% that it will not start a new paragraph. (But it will appear to the +% user as if it did.) Also, strip any leading pars, newlines, or spaces. +\let\@IEEEBIOORGparCMD=\par% save the original \par command +\edef\par{\hfil\break\indent}% the new \par will not be a "real" \par +\settoheight{\@IEEEtrantmpdimenA}{\@IEEEtempbiographybox}% get height of biography box +\@IEEEtrantmpdimenB=\@IEEEBIOhangdepth% +\@IEEEtrantmpcountA=\@IEEEtrantmpdimenB% countA has the hang depth +\divide\@IEEEtrantmpcountA by \baselineskip% calculates lines needed to produce the hang depth +\advance\@IEEEtrantmpcountA by 1% ensure we overestimate +% set the hanging indent +\hangindent\@IEEEBIOhangwidth% +\hangafter-\@IEEEtrantmpcountA% +% reference the top of the photo area to the top of a capital T +\settoheight{\@IEEEtrantmpdimenB}{\mbox{T}}% +% set the photo box, give it zero width and height so as not to disturb anything +\noindent\makebox[0pt][l]{\hspace{-\@IEEEBIOhangwidth}\raisebox{\@IEEEtrantmpdimenB}[0pt][0pt]{% +\raisebox{-\@IEEEBIOphotodepth}[0pt][0pt]{\@IEEEtempbiographybox}}}% +% now place the author name and begin the bio text +\noindent\textbf{#2\ }\@IEEEgobbleleadPARNLSP}{\relax\let\par=\@IEEEBIOORGparCMD\par% +% 7/2001 V1.5 detect when the biography text is shorter than the photo area +% and pad the unused area - preventing a collision from the next biography entry +% MDS +\ifnum \prevgraf <\@IEEEtrantmpcountA\relax% detect when the biography text is shorter than the photo + \advance\@IEEEtrantmpcountA by -\prevgraf% calculate how many lines we need to pad + \advance\@IEEEtrantmpcountA by -1\relax% we compensate for the fact that we indented an extra line + \@IEEEtrantmpdimenA=\baselineskip% calculate the length of the padding + \multiply\@IEEEtrantmpdimenA by \@IEEEtrantmpcountA% + \noindent\rule{0pt}{\@IEEEtrantmpdimenA}% insert an invisible support strut +\fi% +\par\normalfont} + + + +% V1.6 +% added biography without a photo environment +\newenvironment{IEEEbiographynophoto}[1]{% +% Make an entry into the table of contents only if we have not done so before +\if@IEEEbiographyTOCentrynotmade% +% link labels to the biography counter so hyperref will jump +% to the biography, not the previous section +\setcounter{IEEEbiography}{-1}% +\refstepcounter{IEEEbiography}% +\addcontentsline{toc}{section}{Biographies}% +\global\@IEEEbiographyTOCentrynotmadefalse% +\fi% +% one more biography +\refstepcounter{IEEEbiography}% +% Make an entry for this name into the table of contents +\addcontentsline{toc}{subsection}{#1}% +\normalfont\@IEEEcompsoconly{\sffamily}\footnotesize\interlinepenalty500% +\vskip 4\baselineskip plus 1fil minus 0\baselineskip% +\parskip=0pt\par% +\noindent\textbf{#1\ }\@IEEEgobbleleadPARNLSP}{\relax\par\normalfont} + + +% provide the user with some old font commands +% got this from article.cls +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} + + +% SPECIAL PAPER NOTICE COMMANDS +% +% holds the special notice text +\def\@IEEEspecialpapernotice{\relax} + +% for special papers, like invited papers, the user can do: +% \IEEEspecialpapernotice{(Invited Paper)} before \maketitle +\def\IEEEspecialpapernotice#1{\ifCLASSOPTIONconference% +\def\@IEEEspecialpapernotice{{\sublargesize\textit{#1}\vspace*{1em}}}% +\else% +\def\@IEEEspecialpapernotice{{\\*[1.5ex]\sublargesize\textit{#1}}\vspace*{-2ex}}% +\fi} + + + + +% PUBLISHER ID COMMANDS +% to insert a publisher's ID footer +% V1.6 \IEEEpubid has been changed so that the change in page size and style +% occurs in \maketitle. \IEEEpubid must now be issued prior to \maketitle +% use \IEEEpubidadjcol as before - in the second column of the title page +% These changes allow \maketitle to take the reduced page height into +% consideration when dynamically setting the space between the author +% names and the maintext. +% +% the amount the main text is pulled up to make room for the +% publisher's ID footer +% IEEE uses about 1.3\baselineskip for journals, +% dynamic title spacing will clean up the fraction +\def\@IEEEpubidpullup{1.3\baselineskip} +\ifCLASSOPTIONtechnote +% for technotes it must be an integer of baselineskip as there can be no +% dynamic title spacing for two column mode technotes (the title is in the +% in first column) and we should maintain an integer number of lines in the +% second column +% There are some examples (such as older issues of "Transactions on +% Information Theory") in which IEEE really pulls the text off the ID for +% technotes - about 0.55in (or 4\baselineskip). We'll use 2\baselineskip +% and call it even. +\def\@IEEEpubidpullup{2\baselineskip} +\fi + +% V1.7 compsoc does not use a pullup +\ifCLASSOPTIONcompsoc +\def\@IEEEpubidpullup{0pt} +\fi + +% holds the ID text +\def\@IEEEpubid{\relax} + +% flag so \maketitle can tell if \IEEEpubid was called +\newif\if@IEEEusingpubid +\global\@IEEEusingpubidfalse +% issue this command in the page to have the ID at the bottom +% V1.6 use before \maketitle +\def\IEEEpubid#1{\def\@IEEEpubid{#1}\global\@IEEEusingpubidtrue} + + +% command which will pull up (shorten) the column it is executed in +% to make room for the publisher ID. Place in the second column of +% the title page when using \IEEEpubid +% Is smart enough not to do anything when in single column text or +% if the user hasn't called \IEEEpubid +% currently needed in for the second column of a page with the +% publisher ID. If not needed in future releases, please provide this +% command and define it as \relax for backward compatibility +% v1.6b do not allow command to operate if the peer review option has been +% selected because \IEEEpubidadjcol will not be on the cover page. +% V1.7 do nothing if compsoc +\def\IEEEpubidadjcol{\ifCLASSOPTIONcompsoc\else\ifCLASSOPTIONpeerreview\else +\if@twocolumn\if@IEEEusingpubid\enlargethispage{-\@IEEEpubidpullup}\fi\fi\fi\fi} + +% Special thanks to Peter Wilson, Daniel Luecking, and the other +% gurus at comp.text.tex, for helping me to understand how best to +% implement the IEEEpubid command in LaTeX. + + + +%% Lockout some commands under various conditions + +% general purpose bit bucket +\newsavebox{\@IEEEtranrubishbin} + +% flags to prevent multiple warning messages +\newif\if@IEEEWARNthanks +\newif\if@IEEEWARNIEEEPARstart +\newif\if@IEEEWARNIEEEbiography +\newif\if@IEEEWARNIEEEbiographynophoto +\newif\if@IEEEWARNIEEEpubid +\newif\if@IEEEWARNIEEEpubidadjcol +\newif\if@IEEEWARNIEEEmembership +\newif\if@IEEEWARNIEEEaftertitletext +\@IEEEWARNthankstrue +\@IEEEWARNIEEEPARstarttrue +\@IEEEWARNIEEEbiographytrue +\@IEEEWARNIEEEbiographynophototrue +\@IEEEWARNIEEEpubidtrue +\@IEEEWARNIEEEpubidadjcoltrue +\@IEEEWARNIEEEmembershiptrue +\@IEEEWARNIEEEaftertitletexttrue + + +%% Lockout some commands when in various modes, but allow them to be restored if needed +%% +% save commands which might be locked out +% so that the user can later restore them if needed +\let\@IEEESAVECMDthanks\thanks +\let\@IEEESAVECMDIEEEPARstart\IEEEPARstart +\let\@IEEESAVECMDIEEEbiography\IEEEbiography +\let\@IEEESAVECMDendIEEEbiography\endIEEEbiography +\let\@IEEESAVECMDIEEEbiographynophoto\IEEEbiographynophoto +\let\@IEEESAVECMDendIEEEbiographynophoto\endIEEEbiographynophoto +\let\@IEEESAVECMDIEEEpubid\IEEEpubid +\let\@IEEESAVECMDIEEEpubidadjcol\IEEEpubidadjcol +\let\@IEEESAVECMDIEEEmembership\IEEEmembership +\let\@IEEESAVECMDIEEEaftertitletext\IEEEaftertitletext + + +% disable \IEEEPARstart when in draft mode +% This may have originally been done because the pre-V1.6 drop letter +% algorithm had problems with a non-unity baselinestretch +% At any rate, it seems too formal to have a drop letter in a draft +% paper. +\ifCLASSOPTIONdraftcls +\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** ATTENTION: \noexpand\IEEEPARstart + is disabled in draft mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} +\fi +% and for technotes +\ifCLASSOPTIONtechnote +\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** WARNING: \noexpand\IEEEPARstart + is locked out for technotes (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} +\fi + + +% lockout unneeded commands when in conference mode +\ifCLASSOPTIONconference +% when locked out, \thanks, \IEEEbiography, \IEEEbiographynophoto, \IEEEpubid, +% \IEEEmembership and \IEEEaftertitletext will all swallow their given text. +% \IEEEPARstart will output a normal character instead +% warn the user about these commands only once to prevent the console screen +% from filling up with redundant messages +\def\thanks#1{\if@IEEEWARNthanks\typeout{** WARNING: \noexpand\thanks + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNthanksfalse} +\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** WARNING: \noexpand\IEEEPARstart + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} + + +% LaTeX treats environments and commands with optional arguments differently. +% the actual ("internal") command is stored as \\commandname +% (accessed via \csname\string\commandname\endcsname ) +% the "external" command \commandname is a macro with code to determine +% whether or not the optional argument is presented and to provide the +% default if it is absent. So, in order to save and restore such a command +% we would have to save and restore \\commandname as well. But, if LaTeX +% ever changes the way it names the internal names, the trick would break. +% Instead let us just define a new environment so that the internal +% name can be left undisturbed. +\newenvironment{@IEEEbogusbiography}[2][]{\if@IEEEWARNIEEEbiography\typeout{** WARNING: \noexpand\IEEEbiography + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEbiographyfalse% +\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} +% and make biography point to our bogus biography +\let\IEEEbiography=\@IEEEbogusbiography +\let\endIEEEbiography=\end@IEEEbogusbiography + +\renewenvironment{IEEEbiographynophoto}[1]{\if@IEEEWARNIEEEbiographynophoto\typeout{** WARNING: \noexpand\IEEEbiographynophoto + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEbiographynophotofalse% +\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} + +\def\IEEEpubid#1{\if@IEEEWARNIEEEpubid\typeout{** WARNING: \noexpand\IEEEpubid + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEpubidfalse} +\def\IEEEpubidadjcol{\if@IEEEWARNIEEEpubidadjcol\typeout{** WARNING: \noexpand\IEEEpubidadjcol + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEpubidadjcolfalse} +\def\IEEEmembership#1{\if@IEEEWARNIEEEmembership\typeout{** WARNING: \noexpand\IEEEmembership + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEmembershipfalse} +\def\IEEEaftertitletext#1{\if@IEEEWARNIEEEaftertitletext\typeout{** WARNING: \noexpand\IEEEaftertitletext + is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEaftertitletextfalse} +\fi + + +% provide a way to restore the commands that are locked out +\def\IEEEoverridecommandlockouts{% +\typeout{** ATTENTION: Overriding command lockouts (line \the\inputlineno).}% +\let\thanks\@IEEESAVECMDthanks% +\let\IEEEPARstart\@IEEESAVECMDIEEEPARstart% +\let\IEEEbiography\@IEEESAVECMDIEEEbiography% +\let\endIEEEbiography\@IEEESAVECMDendIEEEbiography% +\let\IEEEbiographynophoto\@IEEESAVECMDIEEEbiographynophoto% +\let\endIEEEbiographynophoto\@IEEESAVECMDendIEEEbiographynophoto% +\let\IEEEpubid\@IEEESAVECMDIEEEpubid% +\let\IEEEpubidadjcol\@IEEESAVECMDIEEEpubidadjcol% +\let\IEEEmembership\@IEEESAVECMDIEEEmembership% +\let\IEEEaftertitletext\@IEEESAVECMDIEEEaftertitletext} + + + +% need a backslash character for typeout output +{\catcode`\|=0 \catcode`\\=12 +|xdef|@IEEEbackslash{\}} + + +% hook to allow easy disabling of all legacy warnings +\def\@IEEElegacywarn#1#2{\typeout{** ATTENTION: \@IEEEbackslash #1 is deprecated (line \the\inputlineno). +Use \@IEEEbackslash #2 instead.}} + + +% provide for legacy commands +\def\authorblockA{\@IEEElegacywarn{authorblockA}{IEEEauthorblockA}\IEEEauthorblockA} +\def\authorblockN{\@IEEElegacywarn{authorblockN}{IEEEauthorblockN}\IEEEauthorblockN} +\def\authorrefmark{\@IEEElegacywarn{authorrefmark}{IEEEauthorrefmark}\IEEEauthorrefmark} +\def\PARstart{\@IEEElegacywarn{PARstart}{IEEEPARstart}\IEEEPARstart} +\def\pubid{\@IEEElegacywarn{pubid}{IEEEpubid}\IEEEpubid} +\def\pubidadjcol{\@IEEElegacywarn{pubidadjcol}{IEEEpubidadjcol}\IEEEpubidadjcol} +\def\QED{\@IEEElegacywarn{QED}{IEEEQED}\IEEEQED} +\def\QEDclosed{\@IEEElegacywarn{QEDclosed}{IEEEQEDclosed}\IEEEQEDclosed} +\def\QEDopen{\@IEEElegacywarn{QEDopen}{IEEEQEDopen}\IEEEQEDopen} +\def\specialpapernotice{\@IEEElegacywarn{specialpapernotice}{IEEEspecialpapernotice}\IEEEspecialpapernotice} + + + +% provide for legacy environments +\def\biography{\@IEEElegacywarn{biography}{IEEEbiography}\IEEEbiography} +\def\biographynophoto{\@IEEElegacywarn{biographynophoto}{IEEEbiographynophoto}\IEEEbiographynophoto} +\def\keywords{\@IEEElegacywarn{keywords}{IEEEkeywords}\IEEEkeywords} +\def\endbiography{\endIEEEbiography} +\def\endbiographynophoto{\endIEEEbiographynophoto} +\def\endkeywords{\endIEEEkeywords} + + +% provide for legacy IED commands/lengths when possible +\let\labelindent\IEEElabelindent +\def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin} +\def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth} +\def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep} +\def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc} +\def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl} +\def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr} + + + +% let \proof use the IEEEtran version even after amsthm is loaded +% \proof is now deprecated in favor of \IEEEproof +\AtBeginDocument{\def\proof{\@IEEElegacywarn{proof}{IEEEproof}\IEEEproof}\def\endproof{\endIEEEproof}} + +% V1.7 \overrideIEEEmargins is no longer supported. +\def\overrideIEEEmargins{% +\typeout{** WARNING: \string\overrideIEEEmargins \space no longer supported (line \the\inputlineno).}% +\typeout{** Use the \string\CLASSINPUTinnersidemargin, \string\CLASSINPUToutersidemargin \space controls instead.}} + + +\endinput + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of IEEEtran.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% +% That's all folks! + diff --git a/branches/candidate/Main.aux b/branches/candidate/Main.aux new file mode 100644 index 0000000..f85080c --- /dev/null +++ b/branches/candidate/Main.aux @@ -0,0 +1,78 @@ +\relax +\abx@aux@refcontext{none/global//global/global} +\abx@aux@cite{Middleton2015} +\abx@aux@segm{0}{0}{Middleton2015} +\abx@aux@segm{0}{0}{Middleton2015} +\abx@aux@cite{studenski2011} +\abx@aux@segm{0}{0}{studenski2011} +\abx@aux@cite{Studenski03} +\abx@aux@segm{0}{0}{Studenski03} +\abx@aux@segm{0}{0}{studenski2011} +\abx@aux@segm{0}{0}{Studenski03} +\abx@aux@cite{pulignano2016} +\abx@aux@segm{0}{0}{pulignano2016} +\abx@aux@cite{Konthoraxjnl2015} +\abx@aux@segm{0}{0}{Konthoraxjnl2015} +\abx@aux@cite{kutner2015} +\abx@aux@segm{0}{0}{kutner2015} +\abx@aux@cite{profile2015} +\abx@aux@segm{0}{0}{profile2015} +\abx@aux@cite{Peters2013} +\abx@aux@segm{0}{0}{Peters2013} +\@writefile{toc}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax } +\@writefile{lof}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax } +\@writefile{lot}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax } +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {section}{\numberline {I}Introduction}{1}} +\newlabel{sec:introduction}{{I}{1}} +\abx@aux@cite{Shih17b} +\abx@aux@segm{0}{0}{Shih17b} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Gait Velocity Measurement at Smart Homes}}{3}} +\newlabel{fig:gaitVelocitySmartHome}{{1}{3}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {section}{\numberline {II}Background and Related Works}{4}} +\newlabel{sec:bk_related}{{II}{4}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-A}}Panasonic Grid-EYE Thermal Sensor}{4}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Walking under a Grid-EYE sensor}}{4}} +\newlabel{fig:GridEye}{{2}{4}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Output Data from Grid-EYE}}{5}} +\newlabel{fig:GridEyeData}{{3}{5}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-B}}FLIR ONE PRO}{5}} +\abx@aux@segm{0}{0}{Shih17b} +\abx@aux@segm{0}{0}{Shih17b} +\abx@aux@cite{guo2011simple} +\abx@aux@segm{0}{0}{guo2011simple} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-C}}Raspberry Pi 3}{6}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-D}}Simple Data Compressing}{6}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {II-D}1}Huffman Coding}{6}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {II-D}2}Z-score Threshold}{6}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {II-D}3}Gaussian Function Fitting}{7}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {section}{\numberline {III}Data Size Decision Framework}{7}} +\newlabel{sec:design}{{III}{7}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {III-A}}Region Represent Grammar}{7}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces System Architecture}}{8}} +\newlabel{fig:SystemArchitecture}{{4}{8}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {III-B}}Data Structure and Region Selection Algorithm}{8}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces PNG image, size = 46KB}}{9}} +\newlabel{fig:pngImage}{{5}{9}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces Region divided by our method}}{9}} +\newlabel{fig:SeparateImage}{{6}{9}} +\@writefile{loa}{\defcounter {refsection}{0}\relax }\@writefile{loa}{\contentsline {algorithm}{\numberline {1}{\ignorespaces Segment Tree Preprocess}}{10}} +\newlabel{code:SegmentTreePreprocess}{{1}{10}} +\@writefile{loa}{\defcounter {refsection}{0}\relax }\@writefile{loa}{\contentsline {algorithm}{\numberline {2}{\ignorespaces Dividing regions depends on compressed data size}}{10}} +\newlabel{code:RegionSpecifiedSize}{{2}{10}} +\@writefile{loa}{\defcounter {refsection}{0}\relax }\@writefile{loa}{\contentsline {algorithm}{\numberline {3}{\ignorespaces Dividing regions depends on compressed data RMSE}}{11}} +\newlabel{code:RegionSpecifiedError}{{3}{11}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {section}{\numberline {IV}Performance Evaluation}{11}} +\newlabel{sec:eval}{{IV}{11}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {IV-}1}Date Structure Initialize}{11}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {IV-}2}Thermal Data Loading}{11}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {subsubsection}{\numberline {\unhbox \voidb@x \hbox {IV-}3}Regions dividing}{11}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Data compressed by Proposed Method (4KB)}}{12}} +\newlabel{fig:4KMy}{{7}{12}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {8}{\ignorespaces Data compressed by JPEG (4KB)}}{12}} +\newlabel{fig:4KJpeg}{{8}{12}} +\newlabel{sec:conclusion}{{V}{12}} +\@writefile{toc}{\defcounter {refsection}{0}\relax }\@writefile{toc}{\contentsline {section}{\numberline {V}Conclusion}{12}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {9}{\ignorespaces Proposed method and JPEG comparing}}{13}} +\newlabel{fig:compareToJpeg}{{9}{13}} +\@writefile{lof}{\defcounter {refsection}{0}\relax }\@writefile{lof}{\contentsline {figure}{\numberline {10}{\ignorespaces Computation Time of Regions Dividing}}{13}} +\newlabel{fig:computeTime}{{10}{13}} diff --git a/branches/candidate/Main.bcf b/branches/candidate/Main.bcf new file mode 100644 index 0000000..2a29f61 --- /dev/null +++ b/branches/candidate/Main.bcf @@ -0,0 +1,2108 @@ + + + + + + output_encoding + ascii + + + input_encoding + ascii + + + debug + 0 + + + mincrossrefs + 2 + + + minxrefs + 2 + + + sortcase + 1 + + + sortgiveninits + 0 + + + sortupper + 1 + + + + + + + alphaothers + + + + + labelalpha + 0 + + + labelnamespec + shortauthor + author + shorteditor + editor + translator + + + labeltitle + 0 + + + labeltitlespec + shorttitle + title + + + labeltitleyear + 0 + + + labeldate + 0 + + + labeldatespec + date + eventdate + origdate + urldate + nodate + + + maxalphanames + 3 + + + maxbibnames + 3 + + + maxcitenames + 3 + + + maxitems + 3 + + + minalphanames + 1 + + + minbibnames + 1 + + + mincitenames + 1 + + + minitems + 1 + + + singletitle + 0 + + + sortalphaothers + + + + + sortlocale + english + + + sortscheme + none + + + uniquelist + 0 + + + uniquename + 0 + + + uniqueprimaryauthor + 0 + + + uniquetitle + 0 + + + useprefix + 0 + + + useafterword + 1 + + + useannotator + 1 + + + useauthor + 1 + + + usebookauthor + 1 + + + usecommentator + 1 + + + useeditor + 1 + + + useeditora + 1 + + + useeditorb + 1 + + + useeditorc + 1 + + + useforeword + 1 + + + useholder + 1 + + + useintroduction + 1 + + + usenamea + 1 + + + usenameb + 1 + + + usenamec + 1 + + + usetranslator + 0 + + + useshortauthor + 1 + + + useshorteditor + 1 + + + + + datamodel + labelalphatemplate + inheritance + translit + sortingnamekey + sortscheme + labelnamespec + labeltitlespec + labeldatespec + controlversion + alphaothers + sortalphaothers + presort + texencoding + bibencoding + sorting + sortlos + sortlocale + language + babel + autolang + backrefsetstyle + block + datelabel + date + eventdate + origdate + urldate + alldates + autocite + notetype + refsection + refsegment + citereset + backrefstyle + arxiv + useafterword + useannotator + useauthor + usebookauthor + usecommentator + useeditor + useeditora + useeditorb + useeditorc + useforeword + useholder + useintroduction + usenamea + usenameb + usenamec + usetranslator + useshortauthor + useshorteditor + debug + loadfiles + safeinputenc + sortcase + sortupper + terseinits + firstinits + sortfirstinits + giveninits + sortgiveninits + abbreviate + dateabbrev + clearlang + indexing + sortcites + hyperref + backref + pagetracker + citecounter + citetracker + ibidtracker + idemtracker + opcittracker + loccittracker + parentracker + datezeros + autopunct + punctfont + labelnumber + labelalpha + labeltitle + labeltitleyear + labeldate + labelyear + uniquelist + uniquename + singletitle + uniquetitle + uniqueprimaryauthor + defernumbers + bibwarn + useprefix + defernums + isbn + url + doi + eprint + related + subentry + mincrossrefs + minxrefs + maxnames + minnames + maxbibnames + minbibnames + maxcitenames + mincitenames + maxitems + minitems + maxalphanames + minalphanames + maxparens + + + alphaothers + sortalphaothers + presort + useafterword + useannotator + useauthor + usebookauthor + usecommentator + useeditor + useeditora + useeditorb + useeditorc + useforeword + useholder + useintroduction + usenamea + usenameb + usenamec + usetranslator + useshortauthor + useshorteditor + indexing + labelnumber + labelalpha + labeltitle + labeltitleyear + labeldate + labelyear + uniquelist + uniquename + singletitle + uniquetitle + useprefix + skipbib + skiplos + skipbiblist + skiplab + dataonly + labelalphatemplate + translit + sortexclusion + labelnamespec + labeltitlespec + labeldatespec + maxnames + minnames + maxbibnames + minbibnames + maxcitenames + mincitenames + maxitems + minitems + maxalphanames + minalphanames + + + noinherit + sortnamekeyscheme + presort + useafterword + useannotator + useauthor + usebookauthor + usecommentator + useeditor + useeditora + useeditorb + useeditorc + useforeword + useholder + useintroduction + usenamea + usenameb + usenamec + usetranslator + useshortauthor + useshorteditor + indexing + uniquelist + uniquename + useprefix + skipbib + skiplos + skipbiblist + skiplab + dataonly + maxnames + minnames + maxbibnames + minbibnames + maxcitenames + mincitenames + maxitems + minitems + maxalphanames + minalphanames + + + sortnamekeyscheme + useprefix + + + sortnamekeyscheme + useprefix + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + shorthand + label + labelname + labelname + + + year + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + prefix + + + family + + + given + + + suffix + + + prefix + + + + + mm + + citeorder + + + + + + sf,sm,sn,pf,pm,pn,pp + prefix,family,suffix,given + boolean,integer,string,xml + + + article + artwork + audio + bibnote + book + bookinbook + booklet + collection + commentary + customa + customb + customc + customd + custome + customf + inbook + incollection + inproceedings + inreference + image + jurisdiction + legal + legislation + letter + manual + misc + movie + music + mvcollection + mvreference + mvproceedings + mvbook + online + patent + performance + periodical + proceedings + reference + report + review + set + software + standard + suppbook + suppcollection + thesis + unpublished + video + xdata + + + abstract + addendum + annotation + booksubtitle + booktitle + booktitleaddon + chapter + edition + eid + entrysubtype + eprintclass + eprinttype + eventtitle + eventtitleaddon + gender + howpublished + indexsorttitle + indextitle + isan + isbn + ismn + isrn + issn + issue + issuesubtitle + issuetitle + iswc + journalsubtitle + journaltitle + label + langid + langidopts + library + mainsubtitle + maintitle + maintitleaddon + nameaddon + note + number + origtitle + pagetotal + part + relatedstring + relatedtype + reprinttitle + series + shorthandintro + subtitle + title + titleaddon + usera + userb + userc + userd + usere + userf + venue + version + volume + volumes + shorthand + shortjournal + shortseries + shorttitle + sorttitle + sortshorthand + sortyear + sortkey + presort + institution + lista + listb + listc + listd + liste + listf + location + organization + origlocation + origpublisher + publisher + afterword + annotator + author + bookauthor + commentator + editor + editora + editorb + editorc + foreword + holder + introduction + namea + nameb + namec + translator + shortauthor + shorteditor + sortname + authortype + editoratype + editorbtype + editorctype + editortype + bookpagination + nameatype + namebtype + namectype + origlanguage + pagination + pubstate + type + language + crossref + xref + date + endyear + year + month + day + endmonth + endday + eventdate + eventendyear + eventyear + eventmonth + eventday + eventendmonth + eventendday + origdate + origendyear + origyear + origmonth + origday + origendmonth + origendday + urldate + urlendyear + urlyear + urlmonth + urlday + urlendmonth + urlendday + doi + eprint + file + verba + verbb + verbc + url + xdata + ids + entryset + related + keywords + options + relatedoptions + pages + execute + + + abstract + annotation + authortype + bookpagination + crossref + entryset + entrysubtype + execute + file + gender + ids + indextitle + indexsorttitle + isan + ismn + iswc + keywords + label + langid + langidopts + library + lista + listb + listc + listd + liste + listf + nameaddon + options + origday + origendday + origendmonth + origendyear + origmonth + origyear + origlocation + origpublisher + origtitle + pagination + presort + related + relatedoptions + relatedstring + relatedtype + shortauthor + shorteditor + shorthand + shorthandintro + shortjournal + shortseries + shorttitle + sortkey + sortname + sortshorthand + sorttitle + sortyear + usera + userb + userc + userd + usere + userf + verba + verbb + verbc + xdata + xref + + + set + entryset + crossref + + + article + author + journaltitle + title + day + endday + endmonth + endyear + month + year + addendum + annotator + commentator + doi + editor + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eid + eprint + eprintclass + eprinttype + issn + issue + issuetitle + issuesubtitle + journalsubtitle + language + note + number + origlanguage + pages + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + volume + + + bibnote + note + + + book + author + title + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + chapter + commentator + doi + edition + editor + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + maintitle + maintitleaddon + mainsubtitle + note + number + origlanguage + pages + pagetotal + part + publisher + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + mvbook + author + title + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + commentator + doi + edition + editor + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + note + number + origlanguage + pagetotal + publisher + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + inbook + bookinbook + suppbook + author + title + booktitle + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + bookauthor + booksubtitle + booktitleaddon + chapter + commentator + doi + edition + editor + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + mainsubtitle + maintitle + maintitleaddon + note + number + origlanguage + part + publisher + pages + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + booklet + author + editor + editortype + title + day + endday + endmonth + endyear + month + year + addendum + chapter + doi + eprint + eprintclass + eprinttype + howpublished + language + location + note + pages + pagetotal + pubstate + subtitle + titleaddon + type + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + + + collection + reference + editor + title + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + chapter + commentator + doi + edition + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + mainsubtitle + maintitle + maintitleaddon + note + number + origlanguage + pages + pagetotal + part + publisher + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + mvcollection + mvreference + author + title + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + commentator + doi + edition + editor + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + note + number + origlanguage + publisher + pubstate + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + incollection + suppcollection + inreference + author + editor + title + booktitle + day + endday + endmonth + endyear + month + year + addendum + afterword + annotator + booksubtitle + booktitleaddon + chapter + commentator + doi + edition + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + foreword + introduction + isbn + language + location + mainsubtitle + maintitle + maintitleaddon + note + number + origlanguage + pages + part + publisher + pubstate + series + subtitle + titleaddon + translator + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + volumes + + + manual + title + day + endday + endmonth + endyear + month + year + addendum + author + chapter + doi + edition + editor + editortype + eprint + eprintclass + eprinttype + isbn + language + location + note + number + organization + pages + pagetotal + publisher + pubstate + series + subtitle + titleaddon + type + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + + + misc + title + day + endday + endmonth + endyear + day + endday + endmonth + endyear + month + year + addendum + author + doi + editor + editortype + eprint + eprintclass + eprinttype + howpublished + language + location + note + organization + pubstate + subtitle + titleaddon + type + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + + + online + title + url + addendum + author + editor + editortype + language + month + note + organization + pubstate + subtitle + titleaddon + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + year + + + patent + author + title + number + day + endday + endmonth + endyear + month + year + addendum + doi + eprint + eprintclass + eprinttype + holder + location + note + pubstate + subtitle + titleaddon + type + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + + + periodical + editor + title + day + endday + endmonth + endyear + month + year + addendum + doi + editora + editorb + editorc + editortype + editoratype + editorbtype + editorctype + eprint + eprintclass + eprinttype + issn + issue + issuesubtitle + issuetitle + language + note + number + pubstate + series + subtitle + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + volume + + + mvproceedings + editor + editortype + title + day + endday + endmonth + endyear + month + year + addendum + doi + eprint + eprintclass + eprinttype + eventday + eventendday + eventendmonth + eventendyear + eventmonth + eventyear + eventtitle + eventtitleaddon + isbn + language + location + note + number + organization + pagetotal + publisher + pubstate + series + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + venue + volumes + + + proceedings + editor + editortype + title + day + endday + endmonth + endyear + month + year + addendum + chapter + doi + eprint + eprintclass + eprinttype + eventday + eventendday + eventendmonth + eventendyear + eventmonth + eventyear + eventtitle + eventtitleaddon + isbn + language + location + mainsubtitle + maintitle + maintitleaddon + note + number + organization + pages + pagetotal + part + publisher + pubstate + series + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + venue + volume + volumes + + + inproceedings + author + editor + editortype + title + booktitle + day + endday + endmonth + endyear + month + year + addendum + booksubtitle + booktitleaddon + chapter + doi + eprint + eprintclass + eprinttype + eventday + eventendday + eventendmonth + eventendyear + eventmonth + eventyear + eventtitle + eventtitleaddon + isbn + language + location + mainsubtitle + maintitle + maintitleaddon + note + number + organization + pages + part + publisher + pubstate + series + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + venue + volume + volumes + + + report + author + title + type + institution + day + endday + endmonth + endyear + month + year + addendum + chapter + doi + eprint + eprintclass + eprinttype + isrn + language + location + note + number + pages + pagetotal + pubstate + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + version + + + thesis + author + title + type + institution + day + endday + endmonth + endyear + month + year + addendum + chapter + doi + eprint + eprintclass + eprinttype + language + location + note + pages + pagetotal + pubstate + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + + + unpublished + author + title + day + endday + endmonth + endyear + month + year + addendum + howpublished + language + location + note + pubstate + subtitle + titleaddon + url + urlday + urlendday + urlendmonth + urlendyear + urlmonth + urlyear + + + article + book + inbook + bookinbook + suppbook + booklet + collection + incollection + suppcollection + manual + misc + mvbook + mvcollection + online + patent + periodical + suppperiodical + proceedings + inproceedings + reference + inreference + report + set + thesis + unpublished + + + date + year + + + + + set + + entryset + crossref + + + + article + + author + journaltitle + title + + + + book + mvbook + mvcollection + mvreference + + author + title + + + + inbook + bookinbook + suppbook + + author + title + booktitle + + + + booklet + + + author + editor + + title + + + + collection + reference + + editor + title + + + + incollection + suppcollection + inreference + + author + editor + title + booktitle + + + + manual + + title + + + + misc + + title + + + + online + + title + url + + + + patent + + author + title + number + + + + periodical + + editor + title + + + + proceedings + mvproceedings + + editor + title + + + + inproceedings + + author + title + booktitle + + + + report + + author + title + type + institution + + + + thesis + + author + title + type + institution + + + + unpublished + + author + title + + + + + isbn + + + issn + + + ismn + + + date + eventdate + origdate + urldate + + + gender + + + + + + + SOCA17.bib + + + Middleton2015 + Middleton2015 + studenski2011 + Studenski03 + studenski2011 + Studenski03 + pulignano2016 + Konthoraxjnl2015 + kutner2015 + profile2015 + Peters2013 + Shih17b + Shih17b + Shih17b + guo2011simple + + + + + citeorder + + + + diff --git a/branches/candidate/Main.dvi b/branches/candidate/Main.dvi new file mode 100644 index 0000000..6905ff3 Binary files /dev/null and b/branches/candidate/Main.dvi differ diff --git a/branches/candidate/Main.log b/branches/candidate/Main.log new file mode 100644 index 0000000..ac414d0 --- /dev/null +++ b/branches/candidate/Main.log @@ -0,0 +1,1133 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2018.3.9) 16 MAR 2018 00:22 +entering extended mode +**./Main.tex +(Main.tex +LaTeX2e <2017/01/01> patch level 3 +Babel <3.9r> and hyphenation patterns for 75 language(s) loaded. +(IEEEtran.cls + +LaTeX Warning: You have requested document class `./IEEEtran', + but the document class provides `IEEEtran'. + +Document Class: IEEEtran 2007/03/05 V1.7a by Michael Shell +-- See the "IEEEtran_HOWTO" manual for usage information. +-- http://www.michaelshell.org/tex/ieeetran/ +\@IEEEtrantmpdimenA=\dimen102 +\@IEEEtrantmpdimenB=\dimen103 +\@IEEEtrantmpcountA=\count79 +\@IEEEtrantmpcountB=\count80 +\@IEEEtrantmptoksA=\toks14 +LaTeX Font Info: Try loading font information for OT1+ptm on input line 366. + +("C:\Program Files\MiKTeX 2.9\tex\latex\psnfss\ot1ptm.fd" +File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. +) +** ATTENTION: Single column mode is not typically used with IEEE publications. +-- Using 210mm x 297mm (a4) paper. +-- Using PDF output. +\@IEEEnormalsizeunitybaselineskip=\dimen104 +-- This is a 12 point document. +\CLASSINFOnormalsizebaselineskip=\dimen105 +\CLASSINFOnormalsizeunitybaselineskip=\dimen106 +\IEEEnormaljot=\dimen107 +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <6> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <8> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <9> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <10> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <12> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <14> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <14> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <20> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <20> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <22> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <22> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <24> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. +LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <24> not available +(Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. +\IEEEilabelindentA=\dimen108 +\IEEEilabelindentB=\dimen109 +\IEEEilabelindent=\dimen110 +\IEEEelabelindent=\dimen111 +\IEEEdlabelindent=\dimen112 +\IEEElabelindent=\dimen113 +\IEEEiednormlabelsep=\dimen114 +\IEEEiedmathlabelsep=\dimen115 +\IEEEiedtopsep=\skip41 +\c@section=\count81 +\c@subsection=\count82 +\c@subsubsection=\count83 +\c@paragraph=\count84 +\c@IEEEsubequation=\count85 +\abovecaptionskip=\skip42 +\belowcaptionskip=\skip43 +\c@figure=\count86 +\c@table=\count87 +\@IEEEeqnnumcols=\count88 +\@IEEEeqncolcnt=\count89 +\@IEEEtmpitemindent=\dimen116 +\c@IEEEbiography=\count90 +\@IEEEtranrubishbin=\box26 +) (ntu_techrpt_cover.sty +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty" +Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) + +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty" +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks15 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty" +Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR) + +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty" +Package: trig 2016/01/03 v1.10 sin cos tan (DPC) +) +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\graphics.cfg" +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 99. + +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\pdftex.def" +File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty" +Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty" +Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count91 +)) +\Gin@req@height=\dimen117 +\Gin@req@width=\dimen118 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\eso-pic\eso-pic.sty" +Package: eso-pic 2015/07/21 v2.0g eso-pic (RN) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\atbegshi.sty" +Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty" +Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch +)) +("C:\Program Files\MiKTeX 2.9\tex\latex\xcolor\xcolor.sty" +Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK) + +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\color.cfg" +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 225. +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352. +Package xcolor Info: Model `RGB' extended on input line 1364. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371. +)) +-- This is defined for a4paper cover. +-- This is defined for a4paper cover. +) ("C:\Program Files\MiKTeX 2.9\tex\latex\lipsum\lipsum.sty" +Package: lipsum 2014/07/27 v1.3 150 paragraphs of Lorem Ipsum dummy text +\c@lips@count=\count92 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\psnfss\times.sty" +Package: times 2005/04/12 PSNFSS-v9.2a (SPQR) +) +("C:\Program Files\MiKTeX 2.9\tex\latex\psfrag\psfrag.sty" +Package: psfrag 1998/04/11 v3.04 PSfrag (MCG) +\pfg@pcount=\count93 +\pfg@scount=\count94 +\pfg@temp=\write3 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\setspace\setspace.sty" +Package: setspace 2011/12/19 v6.7a set line spacing +) +("C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.sty" +\lst@mode=\count95 +\lst@gtempboxa=\box27 +\lst@token=\toks16 +\lst@length=\count96 +\lst@currlwidth=\dimen119 +\lst@column=\count97 +\lst@pos=\count98 +\lst@lostspace=\dimen120 +\lst@width=\dimen121 +\lst@newlines=\count99 +\lst@lineno=\count100 +\lst@maxwidth=\dimen122 + +("C:\Program Files\MiKTeX 2.9\tex\latex\listings\lstmisc.sty" +File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz) +\c@lstnumber=\count101 +\lst@skipnumbers=\count102 +\lst@framebox=\box28 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.cfg" +File: listings.cfg 2015/06/04 1.6 listings configuration +)) +Package: listings 2015/06/04 1.6 (Carsten Heinz) + +("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\epsfig.sty" +Package: epsfig 1999/02/16 v1.7a (e)psfig emulation (SPQR) +\epsfxsize=\dimen123 +\epsfysize=\dimen124 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\tools\longtable.sty" +Package: longtable 2014/10/28 v4.11 Multi-page Table package (DPC) +\LTleft=\skip44 +\LTright=\skip45 +\LTpre=\skip46 +\LTpost=\skip47 +\LTchunksize=\count103 +\LTcapwidth=\dimen125 +\LT@head=\box29 +\LT@firsthead=\box30 +\LT@foot=\box31 +\LT@lastfoot=\box32 +\LT@cols=\count104 +\LT@rows=\count105 +\c@LT@tables=\count106 +\c@LT@chunks=\count107 +\LT@p@ftn=\toks17 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\cases\cases.sty" +Package: cases 2002/05/02 ver 2.5 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\preprint\balance.sty" +Package: balance 1999/02/23 4.3 (PWD) +\oldvsize=\dimen126 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\algorithms\algorithm.sty" +Package: algorithm 2009/08/24 v0.1 Document Style `algorithm' - floating enviro +nment + +("C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty" +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count108 +\float@exts=\toks18 +\float@box=\box33 +\@float@everytoks=\toks19 +\@floatcapt=\box34 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty" +Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC) +) +\@float@every@algorithm=\toks20 +\c@algorithm=\count109 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\algorithmicx\algpseudocode.sty" +Package: algpseudocode + +("C:\Program Files\MiKTeX 2.9\tex\latex\algorithmicx\algorithmicx.sty" +Package: algorithmicx 2005/04/27 v1.2 Algorithmicx + +Document Style algorithmicx 1.2 - a greatly improved `algorithmic' style +\c@ALG@line=\count110 +\c@ALG@rem=\count111 +\c@ALG@nested=\count112 +\ALG@tlm=\skip48 +\ALG@thistlm=\skip49 +\c@ALG@Lnr=\count113 +\c@ALG@blocknr=\count114 +\c@ALG@storecount=\count115 +\c@ALG@tmpcounter=\count116 +\ALG@tmplength=\skip50 +) +Document Style - pseudocode environments for use with the `algorithmicx' style +) (svn-multi.sty ("C:\Program Files\MiKTeX 2.9\tex\latex\svn-prov\svn-prov.sty" +Package: svn-prov 2010/04/24 v3.1862 Package Date/Version from SVN Keywords +) +Package: svn-multi 2010/07/19 v2.3 SVN Keywords for multi-file LaTeX documents + ("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty" +Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty" +Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty" +Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty" +Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +))) (Main.svn)) (prelim2e.sty +Package: prelim2e 2009/05/29 v1.3 prelim2e Package (MS) + ("C:\Program Files\MiKTeX 2.9\tex\latex\ms\everyshi.sty" +Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS) +)) +("C:\Program Files\MiKTeX 2.9\tex\latex\soul\soul.sty" +Package: soul 2003/11/17 v2.4 letterspacing/underlining (mf) +\SOUL@word=\toks21 +\SOUL@lasttoken=\toks22 +\SOUL@cmds=\toks23 +\SOUL@buffer=\toks24 +\SOUL@token=\toks25 +\SOUL@spaceskip=\skip51 +\SOUL@ttwidth=\dimen127 +\SOUL@uldp=\dimen128 +\SOUL@ulht=\dimen129 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\preprint\authblk.sty" +Package: authblk 2001/02/27 1.3 (PWD) +\affilsep=\skip52 +\@affilsep=\skip53 +\c@Maxaffil=\count117 +\c@authors=\count118 +\c@affil=\count119 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty" +Package: biblatex 2018/03/04 v3.11 programmable bibliographies (PK/MW) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty" +Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +("C:\Program Files\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty" +Package: etoolbox 2018/02/11 v2.5e e-TeX tools for LaTeX (JAW) +\etb@tempcnta=\count120 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.sty" +Package: logreq 2010/08/04 v1.0 xml request logger +\lrq@indent=\count121 + +("C:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.def" +File: logreq.def 2010/08/04 v1.0 logreq spec v1.0 +)) +("C:\Program Files\MiKTeX 2.9\tex\latex\url\url.sty" +\Urlmuskip=\muskip10 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +("C:\Program Files\MiKTeX 2.9\tex\latex\xstring\xstring.sty" +("C:\Program Files\MiKTeX 2.9\tex\generic\xstring\xstring.tex" +\@xs@message=\write4 +\integerpart=\count122 +\decimalpart=\count123 +) +Package: xstring 2013/10/13 v1.7c String manipulations (C Tellechea) +) +\c@tabx@nest=\count124 +\c@listtotal=\count125 +\c@listcount=\count126 +\c@liststart=\count127 +\c@liststop=\count128 +\c@citecount=\count129 +\c@citetotal=\count130 +\c@multicitecount=\count131 +\c@multicitetotal=\count132 +\c@instcount=\count133 +\c@maxnames=\count134 +\c@minnames=\count135 +\c@maxitems=\count136 +\c@minitems=\count137 +\c@citecounter=\count138 +\c@savedcitecounter=\count139 +\c@uniquelist=\count140 +\c@uniquename=\count141 +\c@refsection=\count142 +\c@refsegment=\count143 +\c@maxextratitle=\count144 +\c@maxextratitleyear=\count145 +\c@maxextradate=\count146 +\c@maxextraalpha=\count147 +\c@abbrvpenalty=\count148 +\c@highnamepenalty=\count149 +\c@lownamepenalty=\count150 +\c@maxparens=\count151 +\c@parenlevel=\count152 +\blx@tempcnta=\count153 +\blx@tempcntb=\count154 +\blx@tempcntc=\count155 +\blx@maxsection=\count156 +\blx@maxsegment@0=\count157 +\blx@notetype=\count158 +\blx@parenlevel@text=\count159 +\blx@parenlevel@foot=\count160 +\blx@sectionciteorder@0=\count161 +\labelnumberwidth=\skip54 +\labelalphawidth=\skip55 +\biblabelsep=\skip56 +\bibitemsep=\skip57 +\bibnamesep=\skip58 +\bibinitsep=\skip59 +\bibparsep=\skip60 +\bibhang=\skip61 +\blx@bcfin=\read1 +\blx@bcfout=\write5 +\c@mincomprange=\count162 +\c@maxcomprange=\count163 +\c@mincompwidth=\count164 +Package biblatex Info: Trying to load biblatex default data model... +Package biblatex Info: ... file 'blx-dm.def' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def" +File: blx-dm.def 2018/03/04 v3.11 biblatex localization (PK/MW) +) +Package biblatex Info: Trying to load biblatex style data model... +Package biblatex Info: ... file 'numeric-comp.dbx' not found. +Package biblatex Info: Trying to load biblatex custom data model... +Package biblatex Info: ... file 'biblatex-dm.cfg' not found. +\c@afterword=\count165 +\c@savedafterword=\count166 +\c@annotator=\count167 +\c@savedannotator=\count168 +\c@author=\count169 +\c@savedauthor=\count170 +\c@bookauthor=\count171 +\c@savedbookauthor=\count172 +\c@commentator=\count173 +\c@savedcommentator=\count174 +\c@editor=\count175 +\c@savededitor=\count176 +\c@editora=\count177 +\c@savededitora=\count178 +\c@editorb=\count179 +\c@savededitorb=\count180 +\c@editorc=\count181 +\c@savededitorc=\count182 +\c@foreword=\count183 +\c@savedforeword=\count184 +\c@holder=\count185 +\c@savedholder=\count186 +\c@introduction=\count187 +\c@savedintroduction=\count188 +\c@namea=\count189 +\c@savednamea=\count190 +\c@nameb=\count191 +\c@savednameb=\count192 +\c@namec=\count193 +\c@savednamec=\count194 +\c@translator=\count195 +\c@savedtranslator=\count196 +\c@shortauthor=\count197 +\c@savedshortauthor=\count198 +\c@shorteditor=\count199 +\c@savedshorteditor=\count266 +\c@labelname=\count267 +\c@savedlabelname=\count268 +\c@institution=\count269 +\c@savedinstitution=\count270 +\c@lista=\count271 +\c@savedlista=\count272 +\c@listb=\count273 +\c@savedlistb=\count274 +\c@listc=\count275 +\c@savedlistc=\count276 +\c@listd=\count277 +\c@savedlistd=\count278 +\c@liste=\count279 +\c@savedliste=\count280 +\c@listf=\count281 +\c@savedlistf=\count282 +\c@location=\count283 +\c@savedlocation=\count284 +\c@organization=\count285 +\c@savedorganization=\count286 +\c@origlocation=\count287 +\c@savedoriglocation=\count288 +\c@origpublisher=\count289 +\c@savedorigpublisher=\count290 +\c@publisher=\count291 +\c@savedpublisher=\count292 +\c@language=\count293 +\c@savedlanguage=\count294 +\c@origlanguage=\count295 +\c@savedoriglanguage=\count296 +\c@pageref=\count297 +\c@savedpageref=\count298 +\shorthandwidth=\skip62 +\shortjournalwidth=\skip63 +\shortserieswidth=\skip64 +\shorttitlewidth=\skip65 +\shortauthorwidth=\skip66 +\shorteditorwidth=\skip67 +\locallabelnumberwidth=\skip68 +\locallabelalphawidth=\skip69 +\localshorthandwidth=\skip70 +\localshortjournalwidth=\skip71 +\localshortserieswidth=\skip72 +\localshorttitlewidth=\skip73 +\localshortauthorwidth=\skip74 +\localshorteditorwidth=\skip75 +Package biblatex Info: Trying to load compatibility code... +Package biblatex Info: ... file 'blx-compat.def' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def" +File: blx-compat.def 2018/03/04 v3.11 biblatex compatibility (PK/MW) +) +Package biblatex Info: Trying to load generic definitions... +Package biblatex Info: ... file 'biblatex.def' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.def" +File: biblatex.def 2018/03/04 v3.11 biblatex compatibility (PK/MW) +\c@textcitecount=\count299 +\c@textcitetotal=\count300 +\c@textcitemaxnames=\count301 +\c@biburlnumpenalty=\count302 +\c@biburlucpenalty=\count303 +\c@biburllcpenalty=\count304 +\c@smartand=\count305 +) +Package biblatex Info: Trying to load bibliography style 'numeric-comp'... +Package biblatex Info: ... file 'numeric-comp.bbx' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\numeric-comp.bbx" +File: numeric-comp.bbx 2018/03/04 v3.11 biblatex bibliography style (PK/MW) +Package biblatex Info: Trying to load bibliography style 'numeric'... +Package biblatex Info: ... file 'numeric.bbx' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\numeric.bbx" +File: numeric.bbx 2018/03/04 v3.11 biblatex bibliography style (PK/MW) +Package biblatex Info: Trying to load bibliography style 'standard'... +Package biblatex Info: ... file 'standard.bbx' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx" +File: standard.bbx 2018/03/04 v3.11 biblatex bibliography style (PK/MW) +\c@bbx:relatedcount=\count306 +\c@bbx:relatedtotal=\count307 +))) +Package biblatex Info: Trying to load citation style 'numeric-comp'... +Package biblatex Info: ... file 'numeric-comp.cbx' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\cbx\numeric-comp.cbx" +File: numeric-comp.cbx 2018/03/04 v3.11 biblatex citation style (PK/MW) +\c@cbx@tempcnta=\count308 +\c@cbx@tempcntb=\count309 +Package biblatex Info: Redefining '\cite'. +Package biblatex Info: Redefining '\parencite'. +Package biblatex Info: Redefining '\footcite'. +Package biblatex Info: Redefining '\footcitetext'. +Package biblatex Info: Redefining '\smartcite'. +Package biblatex Info: Redefining '\supercite'. +Package biblatex Info: Redefining '\textcite'. +Package biblatex Info: Redefining '\textcites'. +Package biblatex Info: Redefining '\cites'. +Package biblatex Info: Redefining '\parencites'. +Package biblatex Info: Redefining '\smartcites'. +) +Package biblatex Info: Trying to load configuration file... +Package biblatex Info: ... file 'biblatex.cfg' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg" +File: biblatex.cfg +)) (MySetting.tex +\c@prop=\count310 +\c@plain_definition=\count311 +\c@theorem=\count312 +\c@lemma=\count313 +\timehh=\count314 +\timemm=\count315 +(myColor.sty ("C:\Program Files\MiKTeX 2.9\tex\latex\tools\calc.sty" +Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ) +\calc@Acount=\count316 +\calc@Bcount=\count317 +\calc@Adimen=\dimen130 +\calc@Bdimen=\dimen131 +\calc@Askip=\skip76 +\calc@Bskip=\skip77 +LaTeX Info: Redefining \setlength on input line 80. +LaTeX Info: Redefining \addtolength on input line 81. +\calc@Ccount=\count318 +\calc@Cskip=\skip78 +) +Package: myColor 2000/10/26 v1.0 LaTeX package for colored paragraphs. +) +(mycolor.cfg) ("C:\Program Files\MiKTeX 2.9\tex\latex\todonotes\todonotes.sty" +Package: todonotes 2015/07/09 .dtx Todonotes source and documentation. +Package: todonotes 2012/07/25 + +("C:\Program Files\MiKTeX 2.9\tex\latex\xkeyval\xkeyval.sty" +Package: xkeyval 2014/12/03 v2.7a package option processing (HA) + +("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkeyval.tex" +("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkvutils.tex" +\XKV@toks=\toks26 +\XKV@tempa@toks=\toks27 +) +\XKV@depth=\count319 +File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) +)) +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\frontendlayer\tikz.sty" +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\basiclayer\pgf.sty" +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\utilities\pgfrcs.sty" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfutil-common.tex" +\pgfutil@everybye=\toks28 +\pgfutil@tempdima=\dimen132 +\pgfutil@tempdimb=\dimen133 + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfutil-common-lists.te +x")) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfutil-latex.def" +\pgfutil@abb=\box35 +) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfrcs.code.tex" +Package: pgfrcs 2015/08/07 v3.0.1a (rcs-revision 1.31) +)) +Package: pgf 2015/08/07 v3.0.1a (rcs-revision 1.15) + +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\basiclayer\pgfcore.sty" +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\systemlayer\pgfsys.sty" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgfsys.code.tex" +Package: pgfsys 2014/07/09 v3.0.1a (rcs-revision 1.48) + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfkeys.code.tex" +\pgfkeys@pathtoks=\toks29 +\pgfkeys@temptoks=\toks30 + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfkeysfiltered.code.te +x" +\pgfkeys@tmptoks=\toks31 +)) +\pgf@x=\dimen134 +\pgf@y=\dimen135 +\pgf@xa=\dimen136 +\pgf@ya=\dimen137 +\pgf@xb=\dimen138 +\pgf@yb=\dimen139 +\pgf@xc=\dimen140 +\pgf@yc=\dimen141 +\w@pgf@writea=\write6 +\r@pgf@reada=\read2 +\c@pgf@counta=\count320 +\c@pgf@countb=\count321 +\c@pgf@countc=\count322 +\c@pgf@countd=\count323 +\t@pgf@toka=\toks32 +\t@pgf@tokb=\toks33 +\t@pgf@tokc=\toks34 + ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgf.cfg" +File: pgf.cfg 2008/05/14 (rcs-revision 1.7) +) +Driver file for pgf: pgfsys-pdftex.def + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgfsys-pdftex.def" +File: pgfsys-pdftex.def 2014/10/11 (rcs-revision 1.35) + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgfsys-common-pdf.def +" +File: pgfsys-common-pdf.def 2013/10/10 (rcs-revision 1.13) +))) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgfsyssoftpath.code.t +ex" +File: pgfsyssoftpath.code.tex 2013/09/09 (rcs-revision 1.9) +\pgfsyssoftpath@smallbuffer@items=\count324 +\pgfsyssoftpath@bigbuffer@items=\count325 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\systemlayer\pgfsysprotocol.code.t +ex" +File: pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4) +)) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcore.code.tex" +Package: pgfcore 2010/04/11 v3.0.1a (rcs-revision 1.7) + ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmath.code.tex" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathcalc.code.tex" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathutil.code.tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathparser.code.tex" +\pgfmath@dimen=\dimen142 +\pgfmath@count=\count326 +\pgfmath@box=\box36 +\pgfmath@toks=\toks35 +\pgfmath@stack@operand=\toks36 +\pgfmath@stack@operation=\toks37 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.code.tex" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.basic.code. +tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.trigonometr +ic.code.tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.random.code +.tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.comparison. +code.tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.base.code.t +ex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.round.code. +tex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.misc.code.t +ex") +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.integerarit +hmetics.code.tex"))) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfloat.code.tex" +\c@pgfmathroundto@lastzeros=\count327 +)) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorepoints.code.tex +" +File: pgfcorepoints.code.tex 2013/10/07 (rcs-revision 1.27) +\pgf@picminx=\dimen143 +\pgf@picmaxx=\dimen144 +\pgf@picminy=\dimen145 +\pgf@picmaxy=\dimen146 +\pgf@pathminx=\dimen147 +\pgf@pathmaxx=\dimen148 +\pgf@pathminy=\dimen149 +\pgf@pathmaxy=\dimen150 +\pgf@xx=\dimen151 +\pgf@xy=\dimen152 +\pgf@yx=\dimen153 +\pgf@yy=\dimen154 +\pgf@zx=\dimen155 +\pgf@zy=\dimen156 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorepathconstruct.c +ode.tex" +File: pgfcorepathconstruct.code.tex 2013/10/07 (rcs-revision 1.29) +\pgf@path@lastx=\dimen157 +\pgf@path@lasty=\dimen158 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorepathusage.code. +tex" +File: pgfcorepathusage.code.tex 2014/11/02 (rcs-revision 1.24) +\pgf@shorten@end@additional=\dimen159 +\pgf@shorten@start@additional=\dimen160 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorescopes.code.tex +" +File: pgfcorescopes.code.tex 2015/05/08 (rcs-revision 1.46) +\pgfpic=\box37 +\pgf@hbox=\box38 +\pgf@layerbox@main=\box39 +\pgf@picture@serial@count=\count328 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoregraphicstate.co +de.tex" +File: pgfcoregraphicstate.code.tex 2014/11/02 (rcs-revision 1.12) +\pgflinewidth=\dimen161 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoretransformations +.code.tex" +File: pgfcoretransformations.code.tex 2015/08/07 (rcs-revision 1.20) +\pgf@pt@x=\dimen162 +\pgf@pt@y=\dimen163 +\pgf@pt@temp=\dimen164 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorequick.code.tex" +File: pgfcorequick.code.tex 2008/10/09 (rcs-revision 1.3) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoreobjects.code.te +x" +File: pgfcoreobjects.code.tex 2006/10/11 (rcs-revision 1.2) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorepathprocessing. +code.tex" +File: pgfcorepathprocessing.code.tex 2013/09/09 (rcs-revision 1.9) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorearrows.code.tex +" +File: pgfcorearrows.code.tex 2015/05/14 (rcs-revision 1.43) +\pgfarrowsep=\dimen165 +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoreshade.code.tex" +File: pgfcoreshade.code.tex 2013/07/15 (rcs-revision 1.15) +\pgf@max=\dimen166 +\pgf@sys@shading@range@num=\count329 +) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoreimage.code.te +x" +File: pgfcoreimage.code.tex 2013/07/15 (rcs-revision 1.18) + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoreexternal.code.t +ex" +File: pgfcoreexternal.code.tex 2014/07/09 (rcs-revision 1.21) +\pgfexternal@startupbox=\box40 +)) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorelayers.code.tex +" +File: pgfcorelayers.code.tex 2013/07/18 (rcs-revision 1.7) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcoretransparency.co +de.tex" +File: pgfcoretransparency.code.tex 2013/09/30 (rcs-revision 1.5) +) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\basiclayer\pgfcorepatterns.code.t +ex" +File: pgfcorepatterns.code.tex 2013/11/07 (rcs-revision 1.5) +))) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\modules\pgfmoduleshapes.code.tex" +File: pgfmoduleshapes.code.tex 2014/03/21 (rcs-revision 1.35) +\pgfnodeparttextbox=\box41 +) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\modules\pgfmoduleplot.code.tex" +File: pgfmoduleplot.code.tex 2015/08/03 (rcs-revision 1.13) +) +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\compatibility\pgfcomp-version-0-65. +sty" +Package: pgfcomp-version-0-65 2007/07/03 v3.0.1a (rcs-revision 1.7) +\pgf@nodesepstart=\dimen167 +\pgf@nodesepend=\dimen168 +) +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\compatibility\pgfcomp-version-1-18. +sty" +Package: pgfcomp-version-1-18 2007/07/23 v3.0.1a (rcs-revision 1.1) +)) ("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\utilities\pgffor.sty" +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\utilities\pgfkeys.sty" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfkeys.code.tex")) +("C:\Program Files\MiKTeX 2.9\tex\latex\pgf\math\pgfmath.sty" +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmath.code.tex")) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgffor.code.tex" +Package: pgffor 2013/12/13 v3.0.1a (rcs-revision 1.25) + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmath.code.tex") +\pgffor@iter=\dimen169 +\pgffor@skip=\dimen170 +\pgffor@stack=\toks38 +\pgffor@toks=\toks39 +)) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\frontendlayer\tikz\tikz.code.tex" +Package: tikz 2015/08/07 v3.0.1a (rcs-revision 1.151) + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\libraries\pgflibraryplothandlers. +code.tex" +File: pgflibraryplothandlers.code.tex 2013/08/31 v3.0.1a (rcs-revision 1.20) +\pgf@plot@mark@count=\count330 +\pgfplotmarksize=\dimen171 +) +\tikz@lastx=\dimen172 +\tikz@lasty=\dimen173 +\tikz@lastxsaved=\dimen174 +\tikz@lastysaved=\dimen175 +\tikzleveldistance=\dimen176 +\tikzsiblingdistance=\dimen177 +\tikz@figbox=\box42 +\tikz@figbox@bg=\box43 +\tikz@tempbox=\box44 +\tikz@tempbox@bg=\box45 +\tikztreelevel=\count331 +\tikznumberofchildren=\count332 +\tikznumberofcurrentchild=\count333 +\tikz@fig@count=\count334 + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\modules\pgfmodulematrix.code.tex" +File: pgfmodulematrix.code.tex 2013/09/17 (rcs-revision 1.8) +\pgfmatrixcurrentrow=\count335 +\pgfmatrixcurrentcolumn=\count336 +\pgf@matrix@numberofcolumns=\count337 +) +\tikz@expandcount=\count338 + +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\frontendlayer\tikz\libraries\tikz +librarytopaths.code.tex" +File: tikzlibrarytopaths.code.tex 2008/06/17 v3.0.1a (rcs-revision 1.2) +))) +("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\frontendlayer\tikz\libraries\tikz +librarypositioning.code.tex" +File: tikzlibrarypositioning.code.tex 2008/10/06 v3.0.1a (rcs-revision 1.7) +) +\c@@todonotes@numberoftodonotes=\count339 +)) +Package biblatex Info: Trying to load language 'english'... +Package biblatex Info: ... file 'english.lbx' found. + +("C:\Program Files\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx" +File: english.lbx 2018/03/04 v3.11 biblatex localization (PK/MW) +) +\@quotelevel=\count340 +\@quotereset=\count341 + (Main.aux) +\openout1 = `Main.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 105. +LaTeX Font Info: ... okay on input line 105. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 105. +LaTeX Font Info: ... okay on input line 105. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 105. +LaTeX Font Info: ... okay on input line 105. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 105. +LaTeX Font Info: ... okay on input line 105. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 105. +LaTeX Font Info: ... okay on input line 105. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 105. +LaTeX Font Info: ... okay on input line 105. + +("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii" +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count342 +\scratchdimen=\dimen178 +\scratchbox=\box46 +\nofMPsegments=\count343 +\nofMParguments=\count344 +\everyMPshowfont=\toks40 +\MPscratchCnt=\count345 +\MPscratchDim=\dimen179 +\MPnumerator=\count346 +\makeMPintoPDFobject=\count347 +\everyMPtoPDFconversion=\toks41 +) ("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\epstopdf-base.sty" +Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf + +("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\grfext.sty" +Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO) + +("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvdefinekeys.sty" +Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO) +)) +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +38. +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 456. +) +\AtBeginShipoutBox=\box47 +\c@lstlisting=\count348 + +ABD: EveryShipout initializing macros +Package biblatex Info: No input encoding detected. +(biblatex) Assuming 'ascii'. +Package biblatex Info: Automatic encoding selection. +(biblatex) Assuming data encoding 'ascii'. +\openout5 = `Main.bcf'. + +Package biblatex Info: Trying to load bibliographic data... +Package biblatex Info: ... file 'Main.bbl' found. + (Main.bbl) +Package biblatex Info: Reference section=0 on input line 105. +Package biblatex Info: Reference segment=0 on input line 105. + (00Abstract.tex +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <7> on input line 3. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 3. +) +(01Introduction.tex + +LaTeX Warning: Citation 'Middleton2015' on page 1 undefined on input line 6. + + +LaTeX Warning: Citation 'Middleton2015' on page 1 undefined on input line 6. + + +LaTeX Warning: Citation 'studenski2011' on page 1 undefined on input line 6. + + +LaTeX Warning: Citation 'Studenski03' on page 1 undefined on input line 6. + + +Overfull \hbox (49.3852pt too wide) in paragraph at lines 6--7 +\OT1/ptm/m/n/12 cause it re-quires more oxy-gen to con-tract the mus-cles. Henc +e, \OT1/ptm/m/it/12 gait ve-loc-ity\OT1/ptm/m/n/12 , or called \OT1/ptm/m/it/12 + walk-ing speed \OT1/ptm/m/n/12 [[]], + [] + + +Overfull \hbox (23.1505pt too wide) in paragraph at lines 6--7 +\OT1/ptm/m/n/12 has be-come a valid and im-por-tant met-ric for se-nior pop-u-l +a-tions [[], [], []]. + [] + + +LaTeX Warning: Citation 'studenski2011' on page 1 undefined on input line 8. + + +LaTeX Warning: Citation 'Studenski03' on page 1 undefined on input line 8. + + +LaTeX Warning: Citation 'pulignano2016' on page 1 undefined on input line 8. + + +LaTeX Warning: Citation 'Konthoraxjnl2015' on page 1 undefined on input line 8. + + + +LaTeX Warning: Citation 'kutner2015' on page 1 undefined on input line 8. + + +LaTeX Warning: Citation 'profile2015' on page 1 undefined on input line 10. + + +LaTeX Warning: Citation 'Peters2013' on page 1 undefined on input line 10. + +[1 +Non-PDF special ignored!{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] + +LaTeX Warning: Citation 'Shih17b' on page 2 undefined on input line 14. + + + +pdfTeX warning: pdflatex (file ./figures/ThermalAtHome.pdf): PDF inclusion: fou +nd PDF version <1.7>, but at most version <1.5> allowed + +File: figures/ThermalAtHome.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/ThermalAtHome.pdf used on input line 17. +(pdftex.def) Requested size: 516.0pt x 343.26186pt. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 24. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 24. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 24. + [2]) (02Background.tex [3 <./figures/ThermalAtHome.pdf>] + +pdfTeX warning: pdflatex (file ./figures/GridEye.pdf): PDF inclusion: found PDF + version <1.7>, but at most version <1.5> allowed + +File: figures/GridEye.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/GridEye.pdf used on input line 11. +(pdftex.def) Requested size: 516.0pt x 280.6471pt. + + +pdfTeX warning: pdflatex (file ./figures/GridEYEData.pdf): PDF inclusion: found + PDF version <1.7>, but at most version <1.5> allowed + +File: figures/GridEYEData.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/GridEYEData.pdf used on input line 20. +(pdftex.def) Requested size: 516.0pt x 516.13908pt. + [4 <./figures/GridEye.pdf>] [5 <./figures/GridEYEData.pdf>] + +LaTeX Warning: Citation 'Shih17b' on page 6 undefined on input line 41. + + +LaTeX Warning: Citation 'Shih17b' on page 6 undefined on input line 41. + + +LaTeX Warning: Citation 'guo2011simple' on page 6 undefined on input line 44. + +[6]) (03Design.tex + +pdfTeX warning: pdflatex (file ./figures/SystemArchitecture.pdf): PDF inclusion +: found PDF version <1.7>, but at most version <1.5> allowed + +File: figures/SystemArchitecture.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/SystemArchitecture.pdf used on input line 12. +(pdftex.def) Requested size: 516.0pt x 290.26419pt. + [7] + +File: figures/real.png Graphic file (type png) + +Package pdftex.def Info: figures/real.png used on input line 34. +(pdftex.def) Requested size: 232.19843pt x 309.59338pt. + + +File: figures/separate.png Graphic file (type png) + +Package pdftex.def Info: figures/separate.png used on input line 41. +(pdftex.def) Requested size: 232.19843pt x 309.59338pt. + +[8 <./figures/SystemArchitecture.pdf>] +** WARNING: \and is valid only when in conference or peerreviewca +modes (line 67). + +LaTeX Warning: `h' float specifier changed to `ht'. + +[9 <./figures/real.png (PNG copy)> <./figures/separate.png (PNG copy)>] + +LaTeX Warning: `h' float specifier changed to `ht'. + + +Overfull \hbox (28.18843pt too wide) in paragraph at lines 127--128 +[]\OT1/ptm/m/n/12 After the re-gion di-vid-ing fin-ished, we will gen-er-ate th +e data string to be sent. The re-gions in $\OML/cmm/m/it/12 seperatedRegions$ + [] + +) (04Evaluation.tex [10] +File: figures/my4000.png Graphic file (type png) + + +Package pdftex.def Info: figures/my4000.png used on input line 11. +(pdftex.def) Requested size: 232.19843pt x 309.59338pt. + +File: figures/quality3.jpg Graphic file (type jpg) + + +Package pdftex.def Info: figures/quality3.jpg used on input line 18. +(pdftex.def) Requested size: 232.19843pt x 309.59338pt. + + +File: figures/compareToJpeg.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/compareToJpeg.pdf used on input line 28. +(pdftex.def) Requested size: 516.0pt x 309.61102pt. + + +File: figures/computeTime.pdf Graphic file (type pdf) + + +Package pdftex.def Info: figures/computeTime.pdf used on input line 45. +(pdftex.def) Requested size: 516.0pt x 309.61102pt. + [11]) (05Conclusion.tex) + +LaTeX Warning: Empty bibliography on input line 143. + +\svn@write=\write7 +\openout7 = `Main.svn'. + +[12 <./figures/my4000.png (PNG copy)> <./figures/quality3.jpg>] [13 <./figures/ +compareToJpeg.pdf> <./figures/computeTime.pdf + +pdfTeX warning: pdflatex (file ./figures/computeTime.pdf): PDF inclusion: multi +ple pdfs with page group included in a single page +>] (Main.aux) + +LaTeX Warning: There were undefined references. + + +Package biblatex Warning: Please (re)run Biber on the file: +(biblatex) Main +(biblatex) and rerun LaTeX afterwards. + +Package logreq Info: Writing requests to 'Main.run.xml'. +\openout1 = `Main.run.xml'. + + ) +Here is how much of TeX's memory you used: + 22522 strings out of 493333 + 425548 string characters out of 3139189 + 930167 words of memory out of 3000000 + 25633 multiletter control sequences out of 15000+200000 + 37218 words of font info for 72 fonts, out of 3000000 for 9000 + 1141 hyphenation exceptions out of 8191 + 64i,8n,56p,1118b,1282s stack positions out of 5000i,500n,10000p,200000b,50000s +{C:/Program Files/MiKTeX 2.9/fonts/enc/dvips/base/8r.enc} + +Output written on Main.pdf (13 pages, 657391 bytes). +PDF statistics: + 167 PDF objects out of 1000 (max. 8388607) + 0 named destinations out of 1000 (max. 500000) + 69 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/branches/candidate/Main.pdf b/branches/candidate/Main.pdf new file mode 100644 index 0000000..766824c Binary files /dev/null and b/branches/candidate/Main.pdf differ diff --git a/branches/candidate/Main.run.xml b/branches/candidate/Main.run.xml new file mode 100644 index 0000000..dde9cb8 --- /dev/null +++ b/branches/candidate/Main.run.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + latex + + Main.bcf + + + Main.bbl + + + blx-dm.def + blx-compat.def + biblatex.def + numeric-comp.bbx + numeric.bbx + standard.bbx + numeric-comp.cbx + biblatex.cfg + english.lbx + + + + biber + + biber + Main + + + Main.bcf + + + Main.bbl + + + Main.bbl + + + Main.bcf + + + SOCA17.bib + + + diff --git a/branches/candidate/Main.svn b/branches/candidate/Main.svn new file mode 100644 index 0000000..6e82348 --- /dev/null +++ b/branches/candidate/Main.svn @@ -0,0 +1,20 @@ +% SVN Keyword cache + +% Global values: +\def \svnrev {2459} +\let \ifsvnmodified \@secondoftwo +\def \svndate {2017-10-13 23:28:44 +0800 (週五, 13 å月 2017)} +\def \svnauthor {cshih} +\def \svnyear {2017} +\def \svnmonth {10} +\def \svnday {13} +\def \svnhour {23} +\def \svnminute {28} +\def \svnsecond {44} +\def \svntimezonehour {+08} +\def \svntimezoneminute {00} +\svn@gdefverb \svnurl {http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA17/trunk/Main.tex} +\svn@gdefverb \svnfname {Main.tex} + + + diff --git a/branches/candidate/Main.synctex.gz b/branches/candidate/Main.synctex.gz new file mode 100644 index 0000000..59dc391 Binary files /dev/null and b/branches/candidate/Main.synctex.gz differ diff --git a/branches/candidate/Main.tex b/branches/candidate/Main.tex new file mode 100644 index 0000000..5664238 --- /dev/null +++ b/branches/candidate/Main.tex @@ -0,0 +1,144 @@ +% Final Submission +%\documentclass[10pt,conference,a4paper,twocolumn]{./IEEEtran} +%\documentclass[10pt,a4paper,twocolumn]{ieeeconf} +% Draft +%\documentclass[10pt,a4paper,onecolumn]{ieeeconf} +\documentclass[12pt,a4paper,onecolumn]{./IEEEtran} + +%PAPER PAGE LIMIT: +% +%Regular Papers: 8 pages, including all figures, tables, and references. +%Short Papers: 6 pages, including all figures, tables, and references. +%http://www.ieeeconfpublishing.org/cpir/authorKit.asp?Facility=CPS_Nov&ERoom=SOCA+2017 + +\usepackage{ntu_techrpt_cover} +\usepackage{lipsum} +\usepackage{graphicx} +\usepackage{times} +\usepackage{psfrag} +%\usepackage[tight]{subfigure} +\usepackage{setspace} +\usepackage{listings} +\usepackage{epsfig} +\usepackage{longtable} +\usepackage{cases} +%\usepackage{subfig} +\usepackage{balance} +\usepackage{algorithm} +%\usepackage{algorithmic} +\usepackage[noend]{algpseudocode} + +%% % To add svn version number in Latex +\usepackage{svn-multi} +% \usepackage[draft,scrtime]{prelim2e} +\usepackage[final]{prelim2e} +\usepackage{soul} +\usepackage{authblk} + +% Add svn keyword for all the tex files +% svn ps svn:keywords 'Id HeadURL LastChangedDate LastChangedBy LastChangedRevision' *.tex +\svnidlong{$HeadURL: http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA17/trunk/Main.tex $} {$LastChangedDate: 2017-10-13 23:28:44 +0800 (週五, 13 å月 2017) $} {$LastChangedRevision: 2459 $} {$LastChangedBy: cshih $} +\svnid{$Id: Main.tex 2459 2017-10-13 15:28:44Z cshih $} + +% to show SVN version number +%% \renewcommand{\PrelimWords}{Rev: \svnrev\ (\svnfilerev) \svnyear/\svnmonth/\svnday/\svnhour:\svnminute} + +\renewcommand{\PrelimWords}{The draft is made at \thistime.} + +% Commented out for article +% \numberwithin{algorithm}{section} + +% \setstretch{0.83} + +\usepackage[backend=biber,style=numeric-comp,sorting=none]{biblatex} +\DeclareSourcemap{ + \maps[datatype=bibtex]{ + \map{ + \step[fieldsource=url, + match=\regexp{http://(ieeexplore.ieee.org/|dx.doi.org/|dl.acm.org/)}, + final] + \step[fieldset=url, null] + \step[fieldset=urldate, null] + \step[fieldset=doi, null] + \step[fieldset=ISBN, null] + } + } +} + +\renewcommand*{\bibfont}{\footnotesize} +%% \addbibresource{Conference.bib} +%%\addbibresource{bibliography.bib} +%%\addbibresource{IEEEabrv.bib} +\addbibresource{SOCA17.bib} +%%\addbibresource{ERICA.bib} + +%%%%%%%%%%%%%%%%% +\input{MySetting} + +%\author{ +% \IEEEauthorblockN{Jyun-Jhe \textsc{Chou}\IEEEauthorrefmark{1}, Chi-Sheng \textsc{Shih}\IEEEauthorrefmark{1}, Wei-Dean \textsc{Wang}\IEEEauthorrefmark{2}, and Kuo-Chin \textsc{Huang}\IEEEauthorrefmark{3}} +% \IEEEauthorblockA{\IEEEauthorrefmark{1}\small{Embedded Systems and Wireless Networking Lab}\\ +% \small{Graduate Institute of Networking and Multimedia}\\ +% \small{Department of Computer Science and Information Engineering}\\ +% \small{NTU IoX Research Center}\\ +% \small{National Taiwan University} +% \\\{cshih\}@csie.ntu.edu.tw} +% \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Medical Education and Bioethics,\\NTU} +% \IEEEauthorblockA{\IEEEauthorrefmark{3}Department of Family Medicine, \\NTU Hospital} +%} +\author{Jyun-Jhe Chou} +\affil{\small{Graduate Institute of Networking and Multimedia}\\ + \small{Department of Computer Science and Information Engineering}\\ + \small{NTU IoX Research Center}\\ + \small{National Taiwan University} \vspace{1.5ex}} + +\title{Parameterized Data Reduction Framework for IoT Devices} + +% \setlength{\topmargin}{-0.5in} +%\setlength{\textheight}{10.1in} + +%\reportyear{2017} +%\reportmonth{November} +%\reportnumber{0009} + +\pagestyle{empty} +\begin{document} + +%% To make report cover +%\thispagestyle{empty} +%\makecover +%\newpage + +%% To add revision log +%\thispagestyle{empty} +%\onecolumn +%\input{log} +%\newpage +%% \input{todos} +%% \newpage +%% \twocolumn +\maketitle +\thispagestyle{empty} + +\IEEEpeerreviewmaketitle +\setcounter{page}{1} + +% Double space for draft +\doublespacing +\input{00Abstract} +\input{01Introduction} + % Related works +\input{02Background} + % Architecture, formal model, and problem definition + % Proposed solution +\input{03Design} + % Evaluation +\input{04Evaluation} + % Conclusion +\input{05Conclusion} + % Acknowledgement +%\input{06Acknowledge} + +\balance +\printbibliography +\end{document} diff --git a/branches/candidate/Makefile b/branches/candidate/Makefile new file mode 100644 index 0000000..f7d5fcc --- /dev/null +++ b/branches/candidate/Makefile @@ -0,0 +1,302 @@ +# LaTeX Makefile for dvi, ps, and pdf file creation. +# MAGMA - Laboratoire Leibniz 13-12-2004 + +# The LATEX variable contains the latex command to use, using LATEXFLAGS +# you can specify additional flags to pass. +TEXPATH = /usr/local/texlive/latest/bin/universal-darwin +LATEX = pdflatex +LATEXFLAGS= -interaction=scrollmode +PDFLATEX = pdflatex +#PDFLATEXFLAGS= --jobname=$(OUTFILE) +PDFLATEXFLAGS= +MAKEINDEX = makeindex + +# Specifies the bibliography generation program. +BIBTEX = biber +BIBTEXFLAGS= + +# These options are used for generating PostScript files from DVI files. +DVIPS = dvips +DVIPSFLAGSPDF = -P pdf +PS2PDF = ps2pdf +PS2PDFFLAGS = + +# Commands for images convertion +FIG2DEV = /usr/bin/fig2dev +GIFTOPNM = giftopnm +PNMTOPNG = pnmtopng + +# Useful commands +EGREP = egrep +ECHO = echo + +# The variable USEPDFLATEX must equal 1 to use pdflatex for generating pdf file. +USEPDFLATEX = 1 + +# Tex directory +TEX_DIR = . + +# Figures directory for fig to eps or pdf convertion +FIGURE_DIR = figures + +# Contain those LaTeX input files which will be passed directly to LaTeX, i.e. +# no include files. +MAIN_TEX_FILES= Main.tex + + +# Contains include tex file +TEX_FILES= $(wildcard *.tex) \ +$(wildcard ./$(TEX_DIR)/*.tex) + +# Contains the names of all DVI files to be generated when using the target<.dvi> +# target. Defaults to all files from $(MAIN_TEX_FILES) with their +# extensions changed to target<.dvi>. +DVI_FILES= $(MAIN_TEX_FILES:.tex=.dvi) + +# Contains the names of all PostScript resp. PDF files to be generated when +# using the target<.ps> or target<.pdf>. +PS_FILES= $(DVI_FILES:.dvi=.ps) +CMR_FILES= $(DVI_FILES:.dvi=_CMR.pdf) +PDF_FILES= $(DVI_FILES:.dvi=.pdf) + +# Contains the names of all eps resp. eps images to be generated when +# using target<.dvi> or target<.ps> or target<.pdf>. +EPSFIGURES = $(patsubst %.fig,%.eps,$(wildcard ./$(FIGURE_DIR)/*.fig)) $(patsubst %.tex,%.eps,$(wildcard ./$(FIGURE_DIR)/*.tex)) +PDFFIGURES = $(patsubst %.fig,%.pdf,$(wildcard ./$(FIGURE_DIR)/*.fig)) + +TODAY= $(shell date +"%Y%m%d_%H%M") +TODAY= $(shell date +"%Y%m%d") +OUTFILE=$(shell basename $(CURDIR))_$(TODAY) + +# Contains the names of all configuration and styles to be linked +# from the configuration directory +LINKS_FILES = bibliography.bib MySetting.tex latex8.bst latex8.sty latex8_unsrt.bst myColor.sty ntu_techrpt_cover.sty mycolor.cfg coverart.eps svn-multi.sty prelim2e.sty ieeeconf.cls IEEEtran.cls +#LINKS_FILES = mycolor.cfg myColor.sty +LN = ln -sf +HOME = /Users/cshih +# Target definition + +#all: $(EPSFIGURES) $(PDFFIGURE) +all: link $(EPSFIGURES) $(PDFFIGURE) + @$(ECHO) "Home directory is $(HOME)" + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "EPSFIGURES: $(EPSFIGURES)." + @$(ECHO) "PDFFIGURES: $(PDFFIGURES)." + @$(ECHO) "OUTFILE: $(OUTFILE)." + @$(ECHO) "----------------------------------------------------------------" +# $(MAKE) $(DVI_FILES) $(PS_FILES) +# ./svnlog-gen.sh http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA12 log.tex +# $(MAKE) $(DVI_FILES) $(PS_FILES) $(PDF_FILES) + $(MAKE) $(DVI_FILES) $(PDF_FILES) + +%.dvi %.log %.aux %.toc : $(EPSFIGURES) $(TEX_FILES) + $(MAKE) $< + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Running $(LATEX) $* for the first time" + @$(ECHO) "----------------------------------------------------------------" + $(TEXPATH)/$(LATEX) $(LsATEXFLAGS) $* $(LATEXSTDOUT) +# Path beamer to be sure to have navigation bar + @if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to include navigation bar"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ +# end beamer + @if $(EGREP) -q "Rerun to get .*references right" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to get references right"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT) ; \ + fi + @if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Making Bibliography using $(BIBTEX)"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \ + if [ -f $*.bbl ]; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to include bibliography"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + fi + @-count=5;\ + while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Rerunning $(LATEX), max. $$count times left"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \ + count=`expr $$count - 1`; \ + done + +# Generate pdf file with pdflatex +ifdef USEPDFLATEX +%.pdf : $(TEX_FILES) + $(MAKE) $< + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Running $(PDFLATEX) for the first time..." + @$(ECHO) "----------------------------------------------------------------" + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT) + # Path beamer to be sure to have navigation bar + @if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to include navigation bar"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + # end beamer + @if $(EGREP) -q "Rerun to get .*references right" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to get references right"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT) ; \ + fi + @if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Making Bibliography using $(BIBTEX)"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \ + if [ -f $*.bbl ]; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to include bibliography"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + fi + @-count=5; \ + while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Rerunning $(PDFLATEX), max. $$count times left"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + count=`expr $$count - 1`; \ + done; \ + cp -f $(PDF_FILES) ~/Dropbox/2Reads/$(OUTFILE).pdf; \ + $(ECHO) "-------- DONE --------" +# Generate pdf file with dvi and dvips +else +%.pdf : %.ps + @if [ -s $< ] ; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Generating PDF file $@"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PS2PDF) $(PS2PDFFLAGS) $< $@; \ + else \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Skipped creating $@: $< does not exist or is empty"; \ + $(ECHO) "----------------------------------------------------------------"; \ + fi +endif + +%.ps : %.dvi + @if [ -s $< ] ; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Generating PS file $@"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(DVIPS) $(DVIPSFLAGSPDF) $< -o $*.ps ; \ +else \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Skipped creating $@: $< does not exist or is empty"; \ + $(ECHO) "----------------------------------------------------------------"; \ +fi + +cmr: $(PDF_FILES) + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Make CMR Ready for IEEE" + @$(ECHO) "----------------------------------------------------------------" + gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -dSubsetFonts=true -sOutputFile=$(CMR_FILES) -f $(PDF_FILES) + # ps2pdf14 -dPDFSETTINGS=/prepress $(PDF_FILES) $(CMR_FILES) + +cleanepsfig: + -rm -f $(FIGURE_DIR)/*.eps $(FIGURE_DIR)/*.bak + +cleanpdffig: + -rm -f $(FIGURE_DIR)/*.pdf $(FIGURE_DIR)/*.bak + +#cleanfig: cleanepsfig cleanpdffig +cleanfig: + -rm -f $(PDFFIGURES) $(EPSFIGURES) + +cleanbiber: + rm -rf `biber --cache` + +clean: cleanfig cleanbiber + rsync -Cuavz $(PDF_FILES) ~/Dropbox/2Reads/$(OUTFILE).pdf + -rm -f $(TEX_DIR)/*.aux + -rm -f *.dvi *.ps *.pdf + -rm -f *.aux *.log *.toc *.out + -rm -f *.lof *.lot *.loa *.lol + -rm -f *.nav *.snm *.vrb + -rm -f *.idx *.ind *.ilg *.glo *.gls *.bbl *.blg + -rm -f $(LINKS_FILES) + +%.eps : %.fig + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Convert $*.fig to $*.eps and $*.pdf" + @$(ECHO) "----------------------------------------------------------------" + $(FIG2DEV) -L eps $*.fig $*.eps + @if [ -f $*.pdf ]; then \ + $(ECHO) "$*.pdf is there"; \ + rm -f $*.pdf; \ + fi + epstopdf $*.eps + +%.pdf : %.fig %.eps + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Convert $*.eps to $*.pdf" + @$(ECHO) "----------------------------------------------------------------" + if [ -f $*.eps ]; then \ + epstopdf $*.eps \ + else \ + $(FIG2DEV) -L pdf -P $*.fig $*.pdf \ + fi + +help: + @$(ECHO) "Usage: make [.dvi,.ps,.pdf]" + @$(ECHO) "Options:" + @$(ECHO) " - make help display this message" + @$(ECHO) " - make clean remove all intermediate generated file" + @$(ECHO) " - make cleanfig remove all intermediate figures" + +link: $(LINKS_FILES) + +bibliography.bib: + $(LN) $(HOME)/notes/bibDB/bibliography.bib . + +MySetting.tex: + $(LN) $(HOME)/notes/tex_config/MySetting.tex . + +latex8.bst: + $(LN) $(HOME)/notes/tex_config/latex8.bst . + +latex8.sty: + $(LN) $(HOME)/notes/tex_config/latex8.sty . + +latex8_unsrt.bst: + $(LN) $(HOME)/notes/tex_config/latex8_unsrt.bst . + +myColor.sty: + $(LN) $(HOME)/notes/tex_config/myColor.sty . + +svn-multi.sty: + $(LN) $(HOME)/notes/tex_config/svn-multi.sty . + +prelim2e.sty: + $(LN) $(HOME)/notes/tex_config/prelim2e.sty . + +mycolor.cfg: + $(LN) $(HOME)/notes/tex_config/mycolor.cfg . + +ntu_techrpt_cover.sty: + $(LN) $(HOME)/notes/tex_config/ntu_techrpt_cover.sty . + +coverart.eps: + $(LN) $(HOME)/notes/tex_config/figures/coverart.eps ./figures/. + +ieeeconf.cls: + $(LN) $(HOME)/notes/tex_config/ieeeconf.cls . + +IEEEtran.cls: + $(LN) $(HOME)/notes/tex_config/IEEEtran.cls . + diff --git a/branches/candidate/Makefile.RACS b/branches/candidate/Makefile.RACS new file mode 100644 index 0000000..afe335c --- /dev/null +++ b/branches/candidate/Makefile.RACS @@ -0,0 +1,325 @@ +# LaTeX Makefile for dvi, ps, and pdf file creation. +# MAGMA - Laboratoire Leibniz 13-12-2004 + +# The LATEX variable contains the latex command to use, using LATEXFLAGS +# you can specify additional flags to pass. +TEXPATH = /usr/local/texlive/latest/bin/universal-darwin +LATEX = latex +LATEXFLAGS= -interaction=scrollmode +PDFLATEX = pdflatex +PDFLATEXFLAGS= +MAKEINDEX = makeindex +WD = notes +#WD = Work + +# Specifies the bibliography generation program. +# BIBTEX = bibtex +BIBTEX = biber +BIBTEXFLAGS= + +# These options are used for generating PostScript files from DVI files. +DVIPS = dvips +DVIPSFLAGSPDF = -P pdf +PS2PDF = ps2pdf +PS2PDFFLAGS = + +# Commands for images convertion +FIG2DEV = /usr/bin/fig2dev +SVG2DEV = /Applications/Inkscape.app/Contents/Resources/bin/inkscape +GIFTOPNM = giftopnm +PNMTOPNG = pnmtopng + +# Useful commands +EGREP = egrep +ECHO = echo + +# The variable USEPDFLATEX must equal 1 to use pdflatex for generating pdf file. +USEPDFLATEX = 1 + +# Tex directory +TEX_DIR = . + +# Figures directory for fig to eps or pdf convertion +FIGURE_DIR = figures + +# Contain those LaTeX input files which will be passed directly to LaTeX, i.e. +# no include files. +# MAIN_TEX_FILES= $(wildcard *.tex) +MAIN_TEX_FILES = main.tex + + +# Contains include tex file +TEX_FILES= $(wildcard *.tex) \ +$(wildcard ./$(TEX_DIR)/*.tex) + +# Contains the names of all DVI files to be generated when using the target<.dvi> +# target. Defaults to all files from $(MAIN_TEX_FILES) with their +# extensions changed to target<.dvi>. +DVI_FILES= $(MAIN_TEX_FILES:.tex=.dvi) + +# Contains the names of all PostScript resp. PDF files to be generated when +# using the target<.ps> or target<.pdf>. +PS_FILES= $(DVI_FILES:.dvi=.ps) +CMR_FILES= $(DVI_FILES:.dvi=_CMR.pdf) +PDF_FILES= $(DVI_FILES:.dvi=.pdf) + +# Contains the names of all eps resp. eps images to be generated when +# using target<.dvi> or target<.ps> or target<.pdf>. +EPSFIGURES = $(patsubst %.fig,%.eps,$(wildcard ./$(FIGURE_DIR)/*.fig)) $(patsubst %.tex,%.eps,$(wildcard ./$(FIGURE_DIR)/*.tex)) +PDFFIGURES = $(patsubst %.fig,%.pdf,$(wildcard ./$(FIGURE_DIR)/*.fig)) + +# Contains the names of all configuration and styles to be linked +# from the configuration directory +LINKS_FILES = bibliography.bib MySetting.tex latex8.bst latex8.sty latex8_unsrt.bst myColor.sty ntu_techrpt_cover_acm.sty mycolor.cfg svn-multi.sty prelim2e.sty ieeeconf.cls IEEEtran.cls IEEEtran.bst +#LINKS_FILES = mycolor.cfg myColor.sty +LN = ln -sf +LN = ln +HOME = /Users/cshih +# Target definition + +all: link $(EPSFIGURES) $(PDFFIGURE) + @$(ECHO) "Home directory is $(HOME)" + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "EPSFIGURES: $(EPSFIGURES)." + @$(ECHO) "PDFFIGURES: $(PDFFIGURES)." + @$(ECHO) "----------------------------------------------------------------" +# $(MAKE) $(DVI_FILES) $(PS_FILES) +# svn propset svn:keywords "Id Rev URL Date Author" MetaRoutingforMobileIOTDevices.tex +# ./svnlog-gen.sh http://cshih@newslabx.csie.ntu.edu.tw/svn/R_Publications/ICCAD16 log.tex + $(MAKE) $(DVI_FILES) $(PS_FILES) $(PDF_FILES) + +%.dvi %.log %.aux %.toc : $(EPSFIGURES) $(TEX_FILES) + $(MAKE) $< +# Generate pdf file with pdflatex +ifdef USEPDFLATEX +%.pdf : $(TEX_FILES) + $(MAKE) $< + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Running $(PDFLATEX) for the first time..." + @$(ECHO) "----------------------------------------------------------------" + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT) + # Path beamer to be sure to have navigation bar + @if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to include navigation bar"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + # end beamer + @if $(EGREP) -q "Rerun to get .*references right" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to get references right"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT) ; \ + fi + # Commented out by Daniel + # @if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \ + # + @if $(EGREP) -q 'cite' $*.aux; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Making Bibliography using $(BIBTEX)"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \ + if [ -f $*.blg ]; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(PDFLATEX) again to include bibliography"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + fi + @if $(EGREP) -q "run Biber" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Rerun $(BIBTEX)"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \ + fi + @-count=5; \ + while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Rerunning $(PDFLATEX), max. $$count times left"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \ + count=`expr $$count - 1`; \ + done +else +# Generate pdf file with dvi and dvips +%.pdf : %.ps + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Running $(LATEX) $* for the first time" + @$(ECHO) "----------------------------------------------------------------" + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT) +# Path beamer to be sure to have navigation bar + @if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to include navigation bar"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ +# end beamer + @if $(EGREP) -q "Rerun to get .*references right" $*.log; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to get references right"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT) ; \ + fi + # Commented out by Daniel + # @if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \ + # + @if $(EGREP) -q 'cite' $*.aux; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Making Bibliography using $(BIBTEX)"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \ + if [ -f $*.blg ]; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Running $(LATEX) again to include bibliography"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \ + fi; \ + fi + @-count=5;\ + while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Rerunning $(LATEX), max. $$count times left"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \ + count=`expr $$count - 1`; \ + done + + @if [ -s $< ] ; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Generating PDF file $@"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(PS2PDF) $(PS2PDFFLAGS) $< $@; \ + else \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Skipped creating $@: $< does not exist or is empty"; \ + $(ECHO) "----------------------------------------------------------------"; \ + fi +endif + +%.ps : %.dvi + @if [ -s $< ] ; then \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Generating PS file $@"; \ + $(ECHO) "----------------------------------------------------------------"; \ + $(TEXPATH)/$(DVIPS) $(DVIPSFLAGSPDF) $< -o $*.ps ; \ +else \ + $(ECHO) "----------------------------------------------------------------"; \ + $(ECHO) "Skipped creating $@: $< does not exist or is empty"; \ + $(ECHO) "----------------------------------------------------------------"; \ +fi + +cmr: $(PDF_FILES) + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Make CMR Ready for IEEE" + @$(ECHO) "----------------------------------------------------------------" + # gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -dSubsetFonts=true -sOutputFile=$(CMR_FILES) -f $(PDF_FILES) + ps2pdf14 -dPDFSETTINGS=/prepress $(PDF_FILES) $(CMR_FILES) + +cleanepsfig: + -rm -f $(FIGURE_DIR)/*.eps $(FIGURE_DIR)/*.bak + +cleanpdffig: + -rm -f $(FIGURE_DIR)/*.pdf $(FIGURE_DIR)/*.bak + +#cleanfig: cleanepsfig cleanpdffig +cleanfig: + -rm -f $(PDFFIGURES) $(EPSFIGURES) + +cleanbiber: + -rm -rf `biber --cache` + +clean: cleanfig cleanbiber + -rm -f $(TEX_DIR)/*.aux + -rm -f *.dvi *.ps *.pdf + -rm -f *.aux *.log *.toc *.out + -rm -f *.lof *.lot *.loa *.lol + -rm -f *.nav *.snm *.vrb + -rm -f *.idx *.ind *.ilg *.glo *.gls *.bbl *.blg *.bcf *.run.xml +# -rm -f $(LINKS_FILES) + +%.eps : %.svg + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Convert $*.svg to $*.eps and $*.pdf" + @$(ECHO) "----------------------------------------------------------------" + $(SVG2DEV) -F $*.fig -E $*.eps + @if [ -f $*.pdf ]; then \ + $(ECHO) "$*.pdf is there"; \ + rm -f $*.pdf; \ + fi + epstopdf $*.eps + + +%.eps : %.fig + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Convert $*.fig to $*.eps and $*.pdf" + @$(ECHO) "----------------------------------------------------------------" + $(FIG2DEV) -L eps $*.fig $*.eps + @if [ -f $*.pdf ]; then \ + $(ECHO) "$*.pdf is there"; \ + rm -f $*.pdf; \ + fi + epstopdf $*.eps + +%.pdf : %.fig %.eps + @$(ECHO) "----------------------------------------------------------------" + @$(ECHO) "Convert $*.eps to $*.pdf" + @$(ECHO) "----------------------------------------------------------------" + if [ -f $*.eps ]; then \ + epstopdf $*.eps \ + else \ + $(FIG2DEV) -L pdf -P $*.fig $*.pdf \ + fi + +help: + @$(ECHO) "Usage: make [.dvi,.ps,.pdf]" + @$(ECHO) "Options:" + @$(ECHO) " - make help display this message" + @$(ECHO) " - make clean remove all intermediate generated file" + @$(ECHO) " - make cleanfig remove all intermediate figures" + +link: $(LINKS_FILES) + +bibliography.bib: + $(LN) $(HOME)/$(WD)/bibDB/bibliography.bib . + +MySetting.tex: + $(LN) $(HOME)/$(WD)/tex_config/MySetting.tex . + +latex8.bst: + $(LN) $(HOME)/$(WD)/tex_config/latex8.bst . + +IEEEtran.bst: + $(LN) $(HOME)/$(WD)/tex_config/IEEEtran.bst . + +latex8.sty: + $(LN) $(HOME)/$(WD)/tex_config/latex8.sty . + +latex8_unsrt.bst: + $(LN) $(HOME)/$(WD)/tex_config/latex8_unsrt.bst . + +myColor.sty: + $(LN) $(HOME)/$(WD)/tex_config/myColor.sty . + +svn-multi.sty: + $(LN) $(HOME)/$(WD)/tex_config/svn-multi.sty . + +prelim2e.sty: + $(LN) $(HOME)/$(WD)/tex_config/prelim2e.sty . + +mycolor.cfg: + $(LN) $(HOME)/$(WD)/tex_config/mycolor.cfg . + +ntu_techrpt_cover_acm.sty: + $(LN) $(HOME)/$(WD)/tex_config/ntu_techrpt_cover_acm.sty . + +coverart.eps: + $(LN) $(HOME)/$(WD)/tex_config/figures/coverart.eps ./figures/. + +ieeeconf.cls: + $(LN) $(HOME)/$(WD)/tex_config/ieeeconf.cls . + +IEEEtran.cls: + $(LN) $(HOME)/$(WD)/tex_config/IEEEtran.cls . + diff --git a/branches/candidate/MetaRoutingforMobileIOTDevices.bib b/branches/candidate/MetaRoutingforMobileIOTDevices.bib new file mode 100644 index 0000000..5d38abc --- /dev/null +++ b/branches/candidate/MetaRoutingforMobileIOTDevices.bib @@ -0,0 +1,177 @@ +@misc{zigbee, + title = {{ZigBee}}, + howpublished = {http://www.zigbee.org/}, +} +@misc{zwave, +title = {Z-Wave Technology}, +url = {http://www.z-wavealliance.org/technology}, +note = {Last accessed on January 17th, 2015} +} +@misc{wifi, + title = {{WI-FI}}, + howpublished = {http://www.wi-fi.org/}, +} + +@misc{m2m-1, + title = {{What is M2M}}, + howpublished = {http://whatis.techtarget.com/definition/machine-to-machine-M2M}, +} + +@misc{m2m-2, + title = {{Introduction of M2M}}, + howpublished = {http://iknow.stpi.narl.org.tw/Post/Read.aspx?PostID=3056}, +} + + +@article{wukong, + title= {{Design of an intelligent middleware for flexible sensor configuration in M2M systems}}, + author={{Niels Reijers} and {Kwei-Jay Lin} and {Yu-Chung Wang} and {Chi-Sheng Shih} and {Jane Y. Hsu}}, + journal={SENSORNETS 2013, Barcelona, Spain}, + volume={}, + number={}, + pages={41-46}, + year={2013}, + publisher={} +} + +@article{SPEED, + title= {{SPEED: A stateless protocol for real-time communication in sensor networks}}, + author={{Tian He} and {John A Stankovic} and {Chenyang Lu} and {Tarek Abdelzaher}}, + journal={In Proceedings of 23rd International Conference on Distributed Computing Systems}, + volume={}, + number={}, + pages={46-55}, + year={2003}, + publisher={} +} + +@article{MMSPEED, + title= {{MMSPEED: multipath Multi-SPEED protocol for QoS guarantee of reliability and Timeliness in wireless sensor networks}}, + author={{Emad Felemban} and {Chang-Gun Lee} and {Eylem Ekici}}, + journal={ Mobile Computing, IEEE Transactions}, + volume={5}, + number={}, + pages={738-754}, + year={2006}, + publisher={} +} + +@article{energyaware, + title= {{An energy-aware QoS routing protocol for wireless sensor network}}, + author={{Kemal Akkaya} and {Mohamed Younis}}, + journal={In Proceedings of the Workshops in the 23rd International Conference on Distributed Computing Systems}, + volume={}, + number={}, + pages={710-715}, + year={2003}, + publisher={} +} + +@article{qos-survey-1, + title= {{QoS in Wireless Sensor Networks: survey and approach}}, + author={{Jos{e}-F Mart{i}nez} and {Ana-B Garc{i}a} and {Iv{a}n Corredor} and {Lourdes L{o}pez} and {Vicente Hern{a}ndez} and {Antonio Dasilva}}, + journal={EATIS '07 Proceedings of the 2007 Euro American conference on Telematics and information systems}, + volume={}, + number={}, + pages={}, + year={2007}, + publisher={} +} + +@article{qos-survey-2, + title= {{Real-time QoS support in wireless sensor networks: a survey}}, + author={{Yanjun Li} and {Chung Shue Chen} and {Ye-Qiong Song} and {Zhi Wang}}, + journal={Proc of 7th IFAC Int Conf on Fieldbuses and Networks in Industrial and Embedded Systems, Toulouse, France}, + volume={}, + number={}, + pages={}, + year={2007}, + publisher={} +} + +@inproceedings{ShihWu2015, + author = {Shih, Chi-Sheng and Wu, Guan-Fan}, + title = {Distributed Meta-routing over Heterogeneous Networks for M2M/IoT Systems}, + booktitle = {Proceedings of the 2015 Conference on Research in Adaptive and Convergent Systems}, + series = {RACS}, + year = {2015}, + isbn = {978-1-4503-3738-0}, + location = {Prague, Czech Republic}, + pages = {443--450}, + numpages = {8}, + url = {http://doi.acm.org/10.1145/2811411.2811532}, + doi = {10.1145/2811411.2811532}, + acmid = {2811532}, + publisher = {ACM}, + address = {New York, NY, USA}, + keywords = {reliability, synchronous/asynchronous operation}, +} + +@inproceedings{ShihWu2014, + author = {Shih, Chi-Sheng and Wu, Guan-Fan}, + title = {Meta-routing over Heterogeneous Networks in M2M Systems}, + booktitle = {Proceedings of the 2014 Conference on Research in Adaptive and Convergent Systems}, + series = {RACS '14}, + year = {2014}, + isbn = {978-1-4503-3060-2}, + location = {Towson, Maryland}, + pages = {166--173}, + numpages = {8}, + url = {http://doi.acm.org/10.1145/2663761.2666033}, + doi = {10.1145/2663761.2666033}, + acmid = {2666033}, + publisher = {ACM}, + address = {New York, NY, USA}, + keywords = {reliability, synchronous/asynchronous operation[input/output and data communications]}, +} + +@inproceedings{martin2014, + title={An ibeacon primer for indoor localization: demo abstract}, + author={{Martin, Paul} and {Ho, Bo-Jhang} and {Grupen, Nicholas} and {Munoz, Samuel} and {Srivastava, Mani}}, + booktitle={Proceedings of the 1st ACM Conference on Embedded Systems for Energy-Efficient Buildings}, + pages={190--191}, + year={2014}, + organization={ACM} +} + +@article{omre2010, + title={Bluetooth low energy: wireless connectivity for medical monitoring}, + author={Omre, Alf Helge and Keeping, Steven}, + journal={Journal of diabetes science and technology}, + volume={4}, + number={2}, + pages={457--463}, + year={2010}, + publisher={SAGE Publications} +} + + +@misc{BLE, + publisher = {Bluetooth {SIG}}, + title = {Bluetooth SIG Extends Bluetooth Brand, Introduces Bluetooth Smart Marks}, + url = {https://web.archive.org/web/20150203053330/http://www.bluetooth.com/Pages/Press-Releases-Detail.aspx?ItemID=138}, + year = {2011}, + month = {October}, + date = {24}, + note = {Retrieved 2016-01-31} +} + +@misc{LongRangeWiFi, + publisher = {Incisive Media}, + author = {Matt Chapman}, + title = {Wi-Fi world record set at 304km}, + url = {http://www.v3.co.uk/v3-uk/news/1984314/wi-fi-world-record-set-304km|}, + year = {2007}, + month = {August}, + date = {23}, + note = {Retrieved 2016-01-31} +} + +@Misc{PTC, + author = {IEEE 802.15 WPAN Task Group}, + title = {IEEE 802.15.4p Positive Train Control}, + url = {http://www.ieee802.org/15/pub/TG4p.html}, + month = {March}, + year = {2012} +} + diff --git a/branches/candidate/MixedPublicPrivate_IOT.svn b/branches/candidate/MixedPublicPrivate_IOT.svn new file mode 100644 index 0000000..5daf9bd --- /dev/null +++ b/branches/candidate/MixedPublicPrivate_IOT.svn @@ -0,0 +1,20 @@ +% SVN Keyword cache + +% Global values: +\def \svnrev {1734} +\let \ifsvnmodified \@secondoftwo +\def \svndate {2016-06-26 18:21:49 +0800 (æ—¥, 26 6 2016)} +\def \svnauthor {cshih} +\def \svnyear {2016} +\def \svnmonth {06} +\def \svnday {26} +\def \svnhour {18} +\def \svnminute {21} +\def \svnsecond {49} +\def \svntimezonehour {+08} +\def \svntimezoneminute {00} +\svn@gdefverb \svnurl {http://cshih@newslabx.csie.ntu.edu.tw/svn/R_Publications/WFIoT16/MixedPublicPrivate_IoT.tex} +\svn@gdefverb \svnfname {MixedPublicPrivate_IoT.tex} + + + diff --git a/branches/candidate/MixedPublicPrivate_IOT.tdo b/branches/candidate/MixedPublicPrivate_IOT.tdo new file mode 100644 index 0000000..e69de29 diff --git a/branches/candidate/MixedPublicPrivate_IoT.tex b/branches/candidate/MixedPublicPrivate_IoT.tex new file mode 100644 index 0000000..e2cd9b1 --- /dev/null +++ b/branches/candidate/MixedPublicPrivate_IoT.tex @@ -0,0 +1,142 @@ +\documentclass[conference]{./IEEEtran} +\usepackage{ntu_techrpt_cover} + +%% \documentclass{sig-alternate-05-2015} +\pdfpagewidth=8.5truein +\pdfpageheight=11truein +%% \usepackage{ntu_techrpt_cover_acm} +\usepackage{algorithm} +\usepackage[noend]{algorithmic} +\usepackage{graphicx} +\usepackage{times} +\usepackage{psfrag} +\usepackage[tight]{subfigure} +\usepackage{setspace} +\usepackage{listings} +\usepackage{epsfig} +\usepackage{multirow} +\usepackage{flushend} +\usepackage{longtable} + +\usepackage{amsmath} +\usepackage{amsfonts} +\usepackage{amssymb} + +\usepackage{url} + +\setstretch{0.88} +\usepackage{tabularx} + +\usepackage[backend=biber,sorting=none]{biblatex} +\DeclareSourcemap{ + \maps[datatype=bibtex]{ + \map{ + \step[fieldsource=url, match=\regexp{http://(ieeexplore.ieee.org/|dx.doi.org/|dl.acm.org/)}, final] + \step[fieldset=url, null] + \step[fieldset=urldate, null] + \step[fieldset=doi, null] + \step[fieldset=ISBN, null] + } + } +} + +\renewcommand*{\bibfont}{\footnotesize} +%% \renewcommand*{\bibfont}{\small} +\addbibresource{MetaRoutingforMobileIOTDevices.bib} +\addbibresource{MultiNetwork.bib} +\addbibresource{RACS15-MetaRouting.bib} +\addbibresource{WFIoT.bib} + + +\usepackage{tikz} +\newcommand*\circled[1]{\tikz[baseline=(char.base)]{ + \node[shape=circle,draw,inner sep=1pt] (char) {#1};}} + +\input{MySetting} + +\pdfpagewidth=8.5truein +\pdfpageheight=11truein + +\submission{IEEE CPSNA} + +%% % To add svn version number in Latex +\usepackage{svn-multi} +%\usepackage[draft,scrtime,time]{prelim2e} +\usepackage[final]{prelim2e} +\usepackage{lastpage} + +\svnidlong {$HeadURL: http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA17/trunk/MixedPublicPrivate_IoT.tex $} {$LastChangedDate: 2017-09-17 11:30:53 +0800 (週日, 17 ä¹æœˆ 2017) $} {$LastChangedRevision: 2418 $} {$LastChangedBy: cshih $} +\svnid {$Id: MixedPublicPrivate_IoT.tex 2418 2017-09-17 03:30:53Z cshih $} + +\reportyear{\svnyear} +\reportmonth{\svnmonth} +\reportnumber{0004} + +\renewcommand{\PrelimWords}{Prepared for WFIoT 2016 -- + Last Changed Date:{\svnfiledate} -- Rev: {\svnrev} -- + Page:{\thepage} of {\pageref{LastPage}}} + +\begin{document} + +\title{Federating Public and Private Intelligent Services for IoT + Applications} + +%% \author{ +%% \\ +%% \small{} \\ +%% \small{} \\ +%% \small{} +%% } + + +%% \author{\IEEEauthorblockN{Sen Zhou\IEEEauthorrefmark{1}, Kwei-Jay Lin\IEEEauthorrefmark{1} and Chi-Sheng Shih\IEEEauthorrefmark{2}} \\ +%% %\institute{ +%% \IEEEauthorblockA{\IEEEauthorrefmark{1}Department of EECS, University of California, Irvine, USA} +%% \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Computer Science, National Taiwan University, Taiwan} +%% %\textit{\{senz, klin\}@uci.edu}\\ +%% } + +\author{ + \small{{Chi-Sheng Shih}}\\ + \small{\tt cshih@csie.ntu.edu.tw}\\ + \small{Embedded Systems and Wireless Networking Lab}\\ + \small{Graduate Institute of Networking and Multimedia}\\ + \small{NTU IoX Research Center}\\ + \small{Department of Computer Science and Information Engineering}\\ + \small{National Taiwan University, Taipei, Taiwan} +} + +%% %% To make report cover +\thispagestyle{empty} +\makecover +\newpage + +%% %% To add revision log +%% \thispagestyle{empty} +%% \onecolumn +%% \input{log} +%% \newpage +% \input{todos} +\onecolumn +\todototoc +\listoftodos +\twocolumn +\newpage +\setcounter{table}{0} +\setcounter{page}{0} +\twocolumn + +\maketitle + +\input{00Abstract} +\input{01Introduction} +\input{02Background} +\input{03Design} +\input{04Evaluation} +\input{05Conclusion} +%% \input{Acknowledge} + +%% \bibliographystyle{ieeetr} +%% \bibliography{ImpreciseComputationOverCloud} +\printbibliography +\end{document} diff --git a/branches/candidate/MultiNetwork.bib b/branches/candidate/MultiNetwork.bib new file mode 100644 index 0000000..cae18a2 --- /dev/null +++ b/branches/candidate/MultiNetwork.bib @@ -0,0 +1,102 @@ +@INPROCEEDINGS{DSDV1994, + author = {Perkins, Charles E. and Bhagwat, Pravin }, + title = {Highly Dynamic Destination-Sequenced Distance-Vector Routing (DSDV) for Mobile Computers}, + booktitle = {SIGCOMM '94 Proceedings of the conference on Communications architectures, protocols and applications}, + year = {1994}, + pages = {234--244} +} + +@INPROCEEDINGS{AODV1999, +author={Perkins, C.E. and Royer, E.M.}, +booktitle={Mobile Computing Systems and Applications, + 1999. Proceedings. WMCSA '99. Second IEEE Workshop + on}, +title={Ad-hoc on-demand distance vector routing}, +year={1999}, +pages={90--100}, +doi={10.1109/dMCSA.1999.749281}} + +@INPROCEEDINGS{WUKONG2013, +author = {Reijers, Niels and Lin, Kwei-Jay and Wang, Yu-Chung and + Shih, Chi-Sheng and Hsu, Jane Y}, +title = {Design of an Intelligent Middleware for Flexible Sensor + Configuration in M2M Systems}, +booktitle = {Proceedings of the 2nd International Conference on Sensor + Networks (SENSORNETS)}, +year = {2013}, +pages = {1--6}, +month = {Feb.} +} + +@article{MULTROUT2010, + author = {Yoon, Wonyong and Vaidya, Nitin}, + title = {Routing exploiting multiple heterogeneous wireless + interfaces: A TCP performance study}, + journal = {Computer Communicatoins}, + issue_date = {January, 2010}, + volume = {33}, + number = {1}, + month = {January}, + year = {2010}, + issn = {0140-3664}, + pages = {23--34}, + numpages = {12}, + url = {http://dx.doi.org/10.1016/j.comcom.2009.07.012}, + doi = {10.1016/j.comcom.2009.07.012}, + acmid = {1660344}, + publisher = {Elsevier Science Publishers B. V.}, + address = {Amsterdam, The Netherlands, The Netherlands} +} + +@Misc{POWER_MONITOR, +title = {MonSoon Power Monitor}, +url = {http://msoon.github.io/powermonitor/}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{REF_ARDUINO, +title = {Arduino}, +url = {http://www.arduino.cc/}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{REF_KONTRON, +title = {Kontron}, +url={http://cn.kontron.com/}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{IPV41981, +author = {J. Postel}, +title = {Internet Protocol: DARPA Internet Program Protocol Specification (RFC 791)}, +url={https://tools.ietf.org/html/rfc791}, +year = {1981}, +month = {September} +} + +@Misc{ZB802154, +author = {Gasco'n, David}, +title = {{Security in 802.15.4 and ZigBee networks}}, +url = {http://www.libelium.com/es/security-802-15-4-zigbee/}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{REFZW, +title = {Z-Wave Technology}, +url = {http://www.z-wavealliance.org/technology}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{REFWIFI, +title = {Wi-Fi Alliance}, +url = {http://www.wi-fi.org/}, +note = {Last accessed on January 17th, 2015} +} + +@Misc{LoRA, +title = {LoRa Alliance - Wide Area networks for IoT}, +url = {http://lora-alliance.org/}, +note = {Last accessed on May 15th, 2015} +} + + diff --git a/branches/candidate/MySetting.tex b/branches/candidate/MySetting.tex new file mode 100644 index 0000000..5534ffb --- /dev/null +++ b/branches/candidate/MySetting.tex @@ -0,0 +1,117 @@ +% theorem-like environments +% \newtheorem{thm}{Theorem}[section] +% \newtheorem{cor}[thm]{Corollary} +% \newtheorem{lem}[thm]{Lemma} +% \newtheorem{definition}[thm]{Definition} + +\newtheorem{prop}{Proposition} + +% Definitions for old versions +%% \newtheorem*{algorithm}{Algorithm} +%% \theoremstyle{remark} +%% \newtheorem*{rmk}{Remark} +%% \newtheorem*{ToJane}{To Jane} +%% \newtheorem*{ToDaniel}{To Daniel} +%% \theoremstyle{plain} +%% \newtheorem*{rd_algorithm}{Reference Deadline Algorithm} +%% \newtheorem*{edf_rd}{EDF-RD Algorithm} +%% \newtheorem*{PSA}{Period Synthesis Algorithm} +%% \newtheorem*{priority_boosting_edf}{Priority-Boosting EDF Algorithm} +%% % Using symbole as the footnote mark +%% %\renewcommand{\thefootnote}{\fnsymbol{footnote}} + +\newtheorem{plain_definition}{Definition} + +%% \def\singlespace{\baselineskip=11pt plus 2pt} +%% \def\oneandonehalfspace{\baselineskip=17pt plus 4pt} +%% \def\doublespace{\baselineskip=22pt plus 4pt} +% \def\doublespace{\baselineskip=26pt plus 4pt} + +\newtheorem{theorem}{Theorem} +\newtheorem{lemma}{Lemma} + +\def\slug{\hbox to 6pt{\hfill}\hfill\llap{\vrule height 6pt width 6pt depth 0pt}} +\def\proof{\futurelet\next{\bf Proof:}} +%\def\endproof{\hfill\slug} +\def\endproof{\slug} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\appear#1{\def\@appear{#1}} +\appear{Conference of Fun} + +\newcount\timehh\newcount\timemm +\timehh=\time \divide\timehh by 60 +\timemm=\time \count255=\timehh \multiply\count255 by -60 \advance\timemm by \count255 +\def\paperdraftheadertime{Draft of \today\ at \ifnum\timehh<10 0\fi\number\timehh\,:\,\ifnum\timemm<10 0\fi\number\timemm}% + +\def\paperdraftheaderday{\footnotesize Draft of \today\ for \@appear.\ }% + +\def\paperdraftheader{\paperdraftheaderday} + +\newcommand{\draft}{\pagestyle{myheadings}\markboth{\paperdraftheader\hfil}{\paperdraftheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}} + +\def\submission#1{\def\@submission{#1}} +\submission{Conference of Fun} + +\def\submitheaderday{\footnotesize Submitted to \@appear.\ }% + +\def\submitheader{\submitheaderday} + +\newcommand{\submit}{\pagestyle{myheadings}\markboth{\submitheader\hfil}{\submitheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}} + +\def\appearinheaderday{\footnotesize Appeared in \@appear.\ } + +\def\appearinheader{\appearinheaderday} + +\newcommand{\appearin}{\pagestyle{myheadings}\markboth{\appearinheader\hfil}{\appearinheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}} + +\def\u#1{\underline{#1}} + +\newcommand{\good}{\ding{51}} +\newcommand{\bad}{\ding{55}} +\font\tenhv = phvb at 10pt +\def\easycaption#1{\vskip 10pt \centerline{\tenhv #1}} +\font\tenhvs = phvb at 8pt + +% ---- OPERATORS (requires amsmath) ---- +\def\aff{\operatorname{aff}} % (\Line is better!) +\def\area{\operatorname{area}} +\def\argmax{\operatornamewithlimits{arg\,max}} +\def\argmin{\operatornamewithlimits{arg\,min}} +\def\Aut{\operatorname{Aut}} % Automorphism group +\def\card{\operatorname{card}} % cardinality, deprecated for \abs +\def\conv{\operatorname{conv}} % (\overline is better!) +\def\E{\operatorname{E}} % Expectation: $\E[X]$ (like \Pr) +\def\EE{\operatornamewithlimits{E}} +\def\Hom{\operatorname{Hom}} % Homomorphism group +\def\id{\operatorname{id}} % identity +\def\im{\operatorname{im}} % image +\def\lcm{\operatorname{lcm}} +\def\lfs{\operatorname{lfs}} % local feature size +\def\poly{\operatorname{poly}} +\def\polylog{\operatorname{polylog}} +\def\rank{\operatorname{rank}} +\def\rel{\operatorname{rel\,}} % relative (interior, boundary, etc.) +\def\sgn{\operatorname{sgn}} +\def\vol{\operatorname{vol}} % volume + +\def\fp#1{^{\underline{#1}}} % falling powers: $n\fp{d}$ +\def\rp#1{^{\overline{#1}}} % rising powers: $n\rp{d}$ + +\usepackage{color,soul} +\usepackage{myColor} +\input{mycolor.cfg} + +\newcommand{\ap}{\ding{51}} +\newcommand{\nap}{\ding{55}} + +\usepackage[colorinlistoftodos]{todonotes} +%% \usepackage{easyReview} +\newcommand{\add}[1]{\todo[color=red!40,inline]{#1}} +\newcommand{\rewrite}[1]{\todo[color=green!40,inline]{#1}} + + +% +% +% \newcommand{\argmax}{\mathop}{\mathrm{argmax}}} diff --git a/branches/candidate/SOCA17.bib b/branches/candidate/SOCA17.bib new file mode 100644 index 0000000..b23a1e8 --- /dev/null +++ b/branches/candidate/SOCA17.bib @@ -0,0 +1,457 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% http://bibdesk.sourceforge.net/ + + +%% Created for Chi-Sheng Shih at 2017-10-03 10:19:18 +0800 + + +%% Saved with string encoding Unicode (UTF-8) + +@conference{Shih17b, + Address = {Krakow, Poland}, + Author = { Shih, Chi-Sheng and Chou, Jyun-Jhe and Chuang, Ching-Chi and Wang, Tim-Yuao and Chuang, Ze-Yu and Lin, Kwei-Jay and Wang, Wei-Dean and Huang, Kuo-Chin}, + Booktitle = { 2017 International Conference on Research in Adaptive and Convergent Systems (RACS 2017) }, + Date-Added = {2017-10-03 02:17:16 +0000}, + Date-Modified = {2017-10-03 02:18:39 +0000}, + Month = {September}, + Publisher = {ACM}, + Title = {Collaborative Sensing for Privacy Preserving Gait Tracking Using IoT Middleware}, + Year = {2017}} + +@article{guo2011simple, + title={A simple algorithm for fitting a gaussian function [DSP tips and tricks]}, + author={Guo, Hongwei}, + journal={IEEE Signal Processing Magazine}, + volume={28}, + number={5}, + pages={134--137}, + year={2011}, + publisher={IEEE} +} + + +@inproceedings{DSDV1994, + Author = {Perkins, Charles E. and Bhagwat, Pravin}, + Booktitle = {SIGCOMM '94 Proceedings of the conference on Communications architectures, protocols and applications}, + Pages = {234--244}, + Title = {Highly Dynamic Destination-Sequenced Distance-Vector Routing (DSDV) for Mobile Computers}, + Year = {1994}} + +@inproceedings{AODV1999, + Author = {Perkins, C.E. and Royer, E.M.}, + Booktitle = {Mobile Computing Systems and Applications, 1999. Proceedings. WMCSA '99. Second IEEE Workshop on}, + Doi = {10.1109/dMCSA.1999.749281}, + Pages = {90--100}, + Title = {Ad-hoc on-demand distance vector routing}, + Year = {1999}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/dMCSA.1999.749281}} + +@article{MULTROUT2010, + Acmid = {1660344}, + Address = {Amsterdam, The Netherlands, The Netherlands}, + Author = {Yoon, Wonyong and Vaidya, Nitin}, + Doi = {10.1016/j.comcom.2009.07.012}, + Issn = {0140-3664}, + Issue_Date = {January, 2010}, + Journal = {Computer Communicatoins}, + Month = {January}, + Number = {1}, + Numpages = {12}, + Pages = {23--34}, + Publisher = {Elsevier Science Publishers B. V.}, + Title = {Routing exploiting multiple heterogeneous wireless interfaces: A TCP performance study}, + Url = {http://dx.doi.org/10.1016/j.comcom.2009.07.012}, + Volume = {33}, + Year = {2010}, + Bdsk-Url-1 = {http://dx.doi.org/10.1016/j.comcom.2009.07.012}} + +@inproceedings{ShihLin2014, + Abstract = {Self-Management of services and devices in Internet of Things (IoT) systems and Machine-to-Machine (M2M) systems is a fundamental challenge due to the large number of devices and context-aware services. In this paper, we present the mechanism to automatically manage the services and devices according to context of the system and location of the devices. The developed mechanism is parts of WuKong middleware, which is a middleware for distributed and autonomous IoT/M2M systems. To support autonomous service management, we develop the device identification mechanism, the mechanism for device status monitoring, device management, and service reconfiguration. This paper presents the location and context-aware service configuration mechanism in WuKong middleware. The mechanism includes the services to manage the devices, to manage the radio interfaces on devices, to learn the location of devices, to load the service remotely and dynamically. The developed mechanisms are implemented and experimented on Arduino-compatible devices to evaluate its performance.}, + Author = {Shih, Chi-Sheng and Lin, Kwei-Jay and Chou, Jyun-Jhe and Chuang, Ching-Chi}, + Booktitle = {2014 IEEE 7th International Conference on Service-Oriented Computing and Applications}, + Doi = {10.1109/SOCA.2014.10}, + Isbn = {978-1-4799-6833-6}, + Month = {Novemer}, + Pages = {246--251}, + Publisher = {IEEE}, + Shorttitle = {Service-Oriented Computing and Applications (SOCA)}, + Title = {{Autonomous Service Management for Location and Context Aware Service}}, + Url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6978617}, + Year = {2014}, + Bdsk-Url-1 = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6978617}, + Bdsk-Url-2 = {http://dx.doi.org/10.1109/SOCA.2014.10}} + +@inproceedings{LiangHsu2014, + Address = {Matsue, Japan}, + Author = {Liang, Che Wei and Hsu, Jane Yung-Jen and Lin, Kwei-Jay}, + Booktitle = {IEEE International Workshop on Internet of Things Services}, + Title = {{Auction-Based Resource Access Protocols in IoT Service Systems}}, + Year = {2014}} + +@inproceedings{Su2014, + Abstract = {Failover for service-oriented distributed networks is a prerequisite to enabling Internet-of-Things (IoT) in the sense of deploy-once, run forever. Resource reconfiguration is required to achieve failover mechanisms upon replacement of devices or failure of services. It can be particularly challenging when services in applications have more than end-to-end transmissions between devices that are heterogeneous or versatile, for which duplications can be costly and redundant. Specifically, a device with a failed service shall be taken over by another service peer without users', including developers and installers, involvement. We develop the fault tolerance mechanism for IoT, which is distributed and takes into account the dynamics within IoT. Strip is introduced to store a list of duplicated services, and, each service peer maintains a consistent view of duplicated services in the strip. In combination with the heartbeat protocol, recovery from failure can be achieved by manipulating strips in a distributed manner. Experiments using Arduino Mega 2560 compatible devices show that our approach is capable of failover in small networks, whereas experiments in larger networks are underway. The results show that the faulures can be recovered within few seconds without administrator or developers in the loop.}, + Author = {Su, Penn H. and Shih, Chi-Sheng and Hsu, Jane Yung-Jen and Lin, Kwei-Jay and Wang, Yu-Chung}, + Booktitle = {2014 IEEE World Forum on Internet of Things (WF-IoT)}, + Doi = {10.1109/WF-IoT.2014.6803115}, + Isbn = {978-1-4799-3459-1}, + Keywords = {Biomedical monitoring,Fault tolerance,Heart beat,Internet of Things,Internet-of-Things,Middleware,Monitoring,Sensors,Strips,decentralized fault tolerance mechanism,duplicated services,end-to-end transmissions,failover mechanisms,heartbeat protocol,intelligent IoT-M2M middleware,middleware,resource reconfiguration,service-oriented architecture,service-oriented distributed networks}, + Month = {March}, + Pages = {45--50}, + Publisher = {IEEE}, + Shorttitle = {Internet of Things (WF-IoT), 2014 IEEE World Forum}, + Title = {{Decentralized fault tolerance mechanism for intelligent IoT/M2M middleware}}, + Url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6803115}, + Year = {2014}, + Bdsk-Url-1 = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6803115}, + Bdsk-Url-2 = {http://dx.doi.org/10.1109/WF-IoT.2014.6803115}} + +@inproceedings{Shih14a, + Address = {Taipei, Taiwan}, + Author = {Shih, Chi-Sheng and Chou, Chun-Ting and Lin, Kwei-Jay and Tsai, Bo-Lun and Lee, Chen-Husan and Cheng, Doug and Chou, Jyun-Jhe}, + Booktitle = {the IEEE International Conference on Cyber-Physical-Social Computing}, + Month = {September}, + Publisher = {IEEE Xplore}, + Title = {Out-of-box Device Management for Large Scale Cyber-Physical Systems}, + Year = {2014}} + +@inproceedings{Wu2014, + Abstract = {Most of existing commercial IoT devices do not collaborate with one another yet, and it is also challenging to develop intelligent care services (ICS) to satisfy user needs while minimizing user inconvenience due to multiple sources of changing contexts. In this study, we demonstrate our concept of IoT-based collaborative context reasoning in a setting of a smart kitchen environment, where a smart kitchen cabinet providing ICS is designed. We prototyped a smart kitchen stand deployed with sensors and actuators controlled by Intel Galileo boards. Based on a flexible M2M platform, i.e., WuKong, an IoT-based service application was composed. Results show that our system can correctly infer contexts through collaborative sensors and according to these contexts proactively react to enable/disable actuators to ensure kitchen safety or provide occupants convenience based on provided usage model of occupants.}, + Author = {Wu, Chao-Lin and You, Chuang-Wen and Chen, Chun-Yuan and Chuang, Ching-Chi and Chiang, Tsung-Chi}, + Booktitle = {2014 IEEE 7th International Conference on Service-Oriented Computing and Applications}, + Doi = {10.1109/SOCA.2014.18}, + Isbn = {978-1-4799-6833-6}, + Keywords = {Conferences,ICS,Intel Galileo boards,Internet of Things,Internet of Things (IoT),IoT based intelligent care services,IoT-based collaborative context reasoning,Wukong,actuators,assisted living,commercial IoT devices,context reasoning,flexible M2M platform,inference mechanisms,kitchen safety,logical sensors,microcomputers,occupant usage model,sensors,smart kitchen environment,smart kitchen stand}, + Month = nov, + Pages = {241--245}, + Publisher = {IEEE}, + Shorttitle = {Service-Oriented Computing and Applications (SOCA)}, + Title = {{Exploring the Collaborative Context Reasoning in IoT Based Intelligent Care Services}}, + Url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6978616}, + Year = {2014}, + Bdsk-Url-1 = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6978616}, + Bdsk-Url-2 = {http://dx.doi.org/10.1109/SOCA.2014.18}} + +@misc{REFWIFI, + Note = {Last accessed on January 17th, 2015}, + Title = {Wi-Fi Alliance}, + Url = {http://www.wi-fi.org/}, + Bdsk-Url-1 = {http://www.wi-fi.org/}} + +@misc{LoRA, + Note = {Last accessed on May 15th, 2015}, + Title = {LoRa Alliance - Wide Area networks for IoT}, + Url = {http://lora-alliance.org/}, + Bdsk-Url-1 = {http://lora-alliance.org/}} + +@misc{REFZW, + Note = {Last accessed on January 17th, 2015}, + Title = {Z-Wave Technology}, + Url = {http://www.z-wavealliance.org/technology}, + Bdsk-Url-1 = {http://www.z-wavealliance.org/technology}} + +@misc{ZB802154, + Author = {Gasco'n, David}, + Note = {Last accessed on January 17th, 2015}, + Title = {{Security in 802.15.4 and ZigBee networks}}, + Url = {http://www.libelium.com/es/security-802-15-4-zigbee/}, + Bdsk-Url-1 = {http://www.libelium.com/es/security-802-15-4-zigbee/}} + +@webpage{Zscore, + Date-Added = {2017-06-12 10:16:21 +0000}, + Date-Modified = {2017-06-12 10:16:44 +0000}, + Lastchecked = {Monday, 12 June 2017}, + Title = {Standard score - Wikipedia}, + Url = {https://en.wikipedia.org/wiki/Standard_score}, + Bdsk-Url-1 = {https://en.wikipedia.org/wiki/Standard_score}} + +@webpage{USRPN210, + Date-Added = {2017-06-12 09:37:49 +0000}, + Date-Modified = {2017-06-12 09:38:14 +0000}, + Lastchecked = {Monday, 12 June 2017}, + Title = {USRP N210 Software Defined Radio (SDR) - Ettus Research}, + Url = {https://www.ettus.com/product/details/UN210-KIT}, + Bdsk-Url-1 = {https://www.ettus.com/product/details/UN210-KIT}} + +@article{Peters2013, + Author = {Denise M. Peters and Addie Middleton and Jonathan W. Donley and Erika L. Blanck and Stacy L. Fritz}, + Date-Added = {2017-06-12 06:54:13 +0000}, + Date-Modified = {2017-06-12 06:54:30 +0000}, + Doi = {10.3109/09593985.2013.845805}, + Eprint = {http://dx.doi.org/10.3109/09593985.2013.845805}, + Journal = {Physiotherapy Theory and Practice}, + Number = {3}, + Pages = {183-188}, + Title = {Concurrent validity of walking speed values calculated via the GAITRite electronic walkway and 3 meter walk test in the chronic stroke population}, + Url = {http://dx.doi.org/10.3109/09593985.2013.845805}, + Volume = {30}, + Year = {2014}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QsS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTMgLSBDb25jdXJyZW50IHZhbGlkaXR5IG9mIHdhbGtpbmcgc3BlZWQgdmFsdWVzIGNhbGN1bGF0ZWQgdmlhIHRoZSBHQUlUUml0ZSBlbGVjdHJvbmljIHdhbGt3YXkgYW5kIDMgbWV0ZXIgd2FsayB0ZXN0IGluIHRoZSBjaHJvbmljIHN0cm9rZSBwb3B1bGF0aW9uLnBkZtIXCxgZV05TLmRhdGFPEQN0AAAAAAN0AAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxMyAtIENvbmN1cnJlbnQgdiMzQzFEM0EzLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTo9Wu65gAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsYAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTMgLSBDb25jdXJyZW50IHYjM0MxRDNBMy5wZGYAAA4BOgCcADIAMAAxADMAIAAtACAAQwBvAG4AYwB1AHIAcgBlAG4AdAAgAHYAYQBsAGkAZABpAHQAeQAgAG8AZgAgAHcAYQBsAGsAaQBuAGcAIABzAHAAZQBlAGQAIAB2AGEAbAB1AGUAcwAgAGMAYQBsAGMAdQBsAGEAdABlAGQAIAB2AGkAYQAgAHQAaABlACAARwBBAEkAVABSAGkAdABlACAAZQBsAGUAYwB0AHIAbwBuAGkAYwAgAHcAYQBsAGsAdwBhAHkAIABhAG4AZAAgADMAIABtAGUAdABlAHIAIAB3AGEAbABrACAAdABlAHMAdAAgAGkAbgAgAHQAaABlACAAYwBoAHIAbwBuAGkAYwAgAHMAdAByAG8AawBlACAAcABvAHAAdQBsAGEAdABpAG8AbgAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAM0vY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxMyAtIENvbmN1cnJlbnQgdmFsaWRpdHkgb2Ygd2Fsa2luZyBzcGVlZCB2YWx1ZXMgY2FsY3VsYXRlZCB2aWEgdGhlIEdBSVRSaXRlIGVsZWN0cm9uaWMgd2Fsa3dheSBhbmQgMyBtZXRlciB3YWxrIHRlc3QgaW4gdGhlIGNocm9uaWMgc3Ryb2tlIHBvcHVsYXRpb24ucGRmAAATAA4vVm9sdW1lcy9Vc2VycwAVAAIAFP//AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOAUIBRwFPBMcEyQTOBNkE4gTwBPQE+wUEBQkFFgUZBSsFLgUzAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABTU=}, + Bdsk-Url-1 = {http://dx.doi.org/10.3109/09593985.2013.845805}} + +@article{Studenski03, + Author = {Studenski, Stephanie and Perera, Subashan and Wallace, Dennis and Chandler, Julie M. and Duncan, Pamela W. and Rooney, Earl and Fox, Michael and Guralnik, Jack M.}, + Date-Added = {2017-06-12 06:50:23 +0000}, + Date-Modified = {2017-06-12 06:50:49 +0000}, + Doi = {10.1046/j.1532-5415.2003.51104.x}, + Issn = {1532-5415}, + Journal = {Journal of the American Geriatrics Society}, + Keywords = {geriatric assessment, risk assessment, locomotion, health maintenance organizations, hospitalization, activities of daily living}, + Number = {3}, + Pages = {314--322}, + Publisher = {Blackwell Science Inc}, + Title = {Physical Performance Measures in the Clinical Setting}, + Url = {http://dx.doi.org/10.1046/j.1532-5415.2003.51104.x}, + Volume = {51}, + Year = {2003}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QVS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMDMgLSBQaHlzaWNhbCBQZXJmb3JtYW5jZSBNZWFzdXJlcyBpbiB0aGUgQ2xpbmljYWwgU2V0dGluZy5wZGbSFwsYGVdOUy5kYXRhTxECYAAAAAACYAACAAAFVXNlcnMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0WUO7UgrAAADcearHzIwMDMgLSBQaHlzaWNhbCBQZXIjM0MxRDNBMS5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPB06HVruuYAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA0WSebQAAABEACAAA1a57GAAAAAEAGANx5qsDcVnMArO/ogAkJ5IAIQFcAAAAYwACAFtVc2Vyczpjc2hpaDoAbm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgAyMDAzIC0gUGh5c2ljYWwgUGVyIzNDMUQzQTEucGRmAAAOAIIAQAAyADAAMAAzACAALQAgAFAAaAB5AHMAaQBjAGEAbAAgAFAAZQByAGYAbwByAG0AYQBuAGMAZQAgAE0AZQBhAHMAdQByAGUAcwAgAGkAbgAgAHQAaABlACAAQwBsAGkAbgBpAGMAYQBsACAAUwBlAHQAdABpAG4AZwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAHEvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAwMyAtIFBoeXNpY2FsIFBlcmZvcm1hbmNlIE1lYXN1cmVzIGluIHRoZSBDbGluaWNhbCBTZXR0aW5nLnBkZgAAEwAOL1ZvbHVtZXMvVXNlcnMAFQACABT//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgDmAOsA8wNXA1kDXgNpA3IDgAOEA4sDlAOZA6YDqQO7A74DwwAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAPF}, + Bdsk-Url-1 = {http://dx.doi.org/10.1046/j.1532-5415.2003.51104.x}} + +@book{profile2015, + Author = {United States. Administration on Aging and U.S. Census Bureau}, + Date-Added = {2017-06-11 08:58:11 +0000}, + Date-Modified = {2017-06-11 08:58:11 +0000}, + Publisher = {U.S. Department of Health and Human Services, Administration on Aging}, + Title = {A Profile of Older Americans : 2015}, + Url = {https://books.google.com.tw/books?id=B4hEnQAACAAJ}, + Year = {2015}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QPC4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTUgLSBBIFByb2ZpbGUgb2YgT2xkZXIgQW1lcmljYW5zLnBkZtIXCxgZV05TLmRhdGFPEQIUAAAAAAIUAAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNSAtIEEgUHJvZmlsZSBvZiMzQzFEM0E3LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTp9Wu65gAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsYAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTUgLSBBIFByb2ZpbGUgb2YjM0MxRDNBNy5wZGYAAA4AUAAnADIAMAAxADUAIAAtACAAQQAgAFAAcgBvAGYAaQBsAGUAIABvAGYAIABPAGwAZABlAHIAIABBAG0AZQByAGkAYwBhAG4AcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAFgvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNSAtIEEgUHJvZmlsZSBvZiBPbGRlciBBbWVyaWNhbnMucGRmABMADi9Wb2x1bWVzL1VzZXJzABUAAgAU//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4AzQDSANoC8gL0AvkDBAMNAxsDHwMmAy8DNANBA0QDVgNZA14AAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAADYA==}, + Bdsk-Url-1 = {https://books.google.com.tw/books?id=B4hEnQAACAAJ}} + +@article{kutner2015, + Author = {Kutner, Nancy G and Zhang, Rebecca and Huang, Yijian and Painter, Patricia}, + Date-Added = {2017-06-11 08:42:32 +0000}, + Date-Modified = {2017-06-11 08:42:32 +0000}, + Journal = {American Journal of Kidney Diseases}, + Number = {2}, + Pages = {297--304}, + Publisher = {Elsevier}, + Title = {Gait Speed and Mortality, Hospitalization, and Functional Status Change Among Hemodialysis Patients: A US Renal Data System Special Study}, + Volume = {66}, + Year = {2015}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8Qii4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTUgLSBHYWl0IHNwZWVkIGFuZCByZWFkbWlzc2lvbiBmb2xsb3dpbmcgaG9zcGl0YWxpc2F0aW9uIGZvciBhY3V0ZSBleGFjZXJiYXRpb25zIG9mIENPUEQgLSBhIHByb3NwZWN0aXZlIHN0dWR5LnBkZtIXCxgZV05TLmRhdGFPEQL+AAAAAAL+AAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNSAtIEdhaXQgc3BlZWQgYSMzQzFEM0E5LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTqdWu65kAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsZAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTUgLSBHYWl0IHNwZWVkIGEjM0MxRDNBOS5wZGYAAA4A7AB1ADIAMAAxADUAIAAtACAARwBhAGkAdAAgAHMAcABlAGUAZAAgAGEAbgBkACAAcgBlAGEAZABtAGkAcwBzAGkAbwBuACAAZgBvAGwAbABvAHcAaQBuAGcAIABoAG8AcwBwAGkAdABhAGwAaQBzAGEAdABpAG8AbgAgAGYAbwByACAAYQBjAHUAdABlACAAZQB4AGEAYwBlAHIAYgBhAHQAaQBvAG4AcwAgAG8AZgAgAEMATwBQAEQAIAAtACAAYQAgAHAAcgBvAHMAcABlAGMAdABpAHYAZQAgAHMAdAB1AGQAeQAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAKYvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNSAtIEdhaXQgc3BlZWQgYW5kIHJlYWRtaXNzaW9uIGZvbGxvd2luZyBob3NwaXRhbGlzYXRpb24gZm9yIGFjdXRlIGV4YWNlcmJhdGlvbnMgb2YgQ09QRCAtIGEgcHJvc3BlY3RpdmUgc3R1ZHkucGRmABMADi9Wb2x1bWVzL1VzZXJzABUAAgAU//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4BGwEgASgEKgQsBDEEPARFBFMEVwReBGcEbAR5BHwEjgSRBJYAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAEmA==}} + +@article{Konthoraxjnl2015, + Abstract = {Background Hospitalisation for acute exacerbations of COPD is associated with high risk of readmission. However, no tool has been validated to stratify patients at discharge for risk of readmission.Aim To evaluate the ability of the 4 m gait speed (4MGS), a surrogate marker of frailty, to predict risk of future readmission in hospitalised patients with an acute exacerbation of COPD (AECOPD).Methods 213 patients hospitalised with an AECOPD were recruited prospectively. 4MGS was measured on day of discharge. Logistic regression models were used to assess the association between 4MGS and readmission at 90 days after discharge.Results Baseline characteristics of the cohort: 52\% men; mean age 72 years; median FEV1 35\%predicted. Mean (SD) 4MGS at hospital discharge was 0.61 (0.26) ms-1. Significant increased rates of all-cause readmission at 90 days were seen across quartiles of decreasing 4MGS (Q4 fastest: 11.5\%; Q3: 20.4\%; Q2: 30.2\%; Q1 slowest: 48.2\%; ptrend\<0.001). Compared with Q4, those in the slowest 4MGS quartile had unadjusted ORs (95\% CIs) for 90-day readmission of 7.12 (2.61 to 19.44) for the whole cohort and 11.56 (3.08 to 43.35) in those aged 65 or over. A multivariate model incorporating 4MGS, Charlson Index, hospital admission in past year, FEV1\%predicted and number of exacerbations in past year in those aged 65 or over predicted 90-day readmission with a C-statistic of 0.86.Conclusions The 4MGS, a surrogate marker of physical frailty, independently predicts the risk of readmission in older patients hospitalised for acute exacerbation of COPD.Trial registration number NCT01507415.}, + Author = {Kon, Samantha S C and Jones, Sarah E and Schofield, Susie J and Banya, Winston and Dickson, Mandy J and Canavan, Jane L and Nolan, Claire M and Haselden, Brigitte M and Polkey, Michael I and Cullinan, Paul and Man, William D-C}, + Date-Added = {2017-06-11 08:38:45 +0000}, + Date-Modified = {2017-06-11 08:38:45 +0000}, + Doi = {10.1136/thoraxjnl-2015-207046}, + Eprint = {http://thorax.bmj.com/content/early/2015/08/17/thoraxjnl-2015-207046.full.pdf}, + Issn = {0040-6376}, + Journal = {Thorax}, + Publisher = {BMJ Publishing Group Ltd}, + Title = {Gait speed and readmission following hospitalisation for acute exacerbations of COPD: a prospective study}, + Url = {http://thorax.bmj.com/content/early/2015/08/17/thoraxjnl-2015-207046}, + Year = {2015}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8Qii4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTUgLSBHYWl0IHNwZWVkIGFuZCByZWFkbWlzc2lvbiBmb2xsb3dpbmcgaG9zcGl0YWxpc2F0aW9uIGZvciBhY3V0ZSBleGFjZXJiYXRpb25zIG9mIENPUEQgLSBhIHByb3NwZWN0aXZlIHN0dWR5LnBkZtIXCxgZV05TLmRhdGFPEQL+AAAAAAL+AAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNSAtIEdhaXQgc3BlZWQgYSMzQzFEM0E5LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTqdWu65kAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsZAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTUgLSBHYWl0IHNwZWVkIGEjM0MxRDNBOS5wZGYAAA4A7AB1ADIAMAAxADUAIAAtACAARwBhAGkAdAAgAHMAcABlAGUAZAAgAGEAbgBkACAAcgBlAGEAZABtAGkAcwBzAGkAbwBuACAAZgBvAGwAbABvAHcAaQBuAGcAIABoAG8AcwBwAGkAdABhAGwAaQBzAGEAdABpAG8AbgAgAGYAbwByACAAYQBjAHUAdABlACAAZQB4AGEAYwBlAHIAYgBhAHQAaQBvAG4AcwAgAG8AZgAgAEMATwBQAEQAIAAtACAAYQAgAHAAcgBvAHMAcABlAGMAdABpAHYAZQAgAHMAdAB1AGQAeQAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAKYvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNSAtIEdhaXQgc3BlZWQgYW5kIHJlYWRtaXNzaW9uIGZvbGxvd2luZyBob3NwaXRhbGlzYXRpb24gZm9yIGFjdXRlIGV4YWNlcmJhdGlvbnMgb2YgQ09QRCAtIGEgcHJvc3BlY3RpdmUgc3R1ZHkucGRmABMADi9Wb2x1bWVzL1VzZXJzABUAAgAU//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4BGwEgASgEKgQsBDEEPARFBFMEVwReBGcEbAR5BHwEjgSRBJYAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAAEmA==}, + Bdsk-Url-1 = {http://thorax.bmj.com/content/early/2015/08/17/thoraxjnl-2015-207046}, + Bdsk-Url-2 = {http://dx.doi.org/10.1136/thoraxjnl-2015-207046}} + +@article{pulignano2016, + Author = {Pulignano, G and Del Sindaco, D and Di Lenarda, A and Alunni, G and Senni, M and Tarantini, L and Cioffi, G and Tinti, MD and Barbati, G and Minardi, G and others}, + Date-Added = {2017-06-11 08:36:09 +0000}, + Date-Modified = {2017-06-11 08:36:09 +0000}, + Journal = {JACC. Heart failure}, + Number = {4}, + Pages = {289--298}, + Title = {Incremental Value of Gait Speed in Predicting Prognosis of Older Adults With Heart Failure: Insights From the IMAGE-HF Study.}, + Volume = {4}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QnS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTYgLSBJbmNyZW1lbnRhbCBWYWx1ZSBvZiBHYWl0IFNwZWVkIGluIFByZWRpY3RpbmcgUHJvZ25vc2lzIG9mIE9sZGVyIEFkdWx0cyBXaXRoIEhlYXJ0IEZhaWx1cmUgLSBJbnNpZ2h0cyBGcm9tIHRoZSBJTUFHRS1IRiBTdHVkeS5wZGbSFwsYGVdOUy5kYXRhTxEDOAAAAAADOAACAAAFVXNlcnMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0WUO7UgrAAADcearHzIwMTYgLSBJbmNyZW1lbnRhbCAjM0MxRDNBRS5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPB067VruuZAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA0WSebQAAABEACAAA1a57GQAAAAEAGANx5qsDcVnMArO/ogAkJ5IAIQFcAAAAYwACAFtVc2Vyczpjc2hpaDoAbm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgAyMDE2IC0gSW5jcmVtZW50YWwgIzNDMUQzQUUucGRmAAAOARIAiAAyADAAMQA2ACAALQAgAEkAbgBjAHIAZQBtAGUAbgB0AGEAbAAgAFYAYQBsAHUAZQAgAG8AZgAgAEcAYQBpAHQAIABTAHAAZQBlAGQAIABpAG4AIABQAHIAZQBkAGkAYwB0AGkAbgBnACAAUAByAG8AZwBuAG8AcwBpAHMAIABvAGYAIABPAGwAZABlAHIAIABBAGQAdQBsAHQAcwAgAFcAaQB0AGgAIABIAGUAYQByAHQAIABGAGEAaQBsAHUAcgBlACAALQAgAEkAbgBzAGkAZwBoAHQAcwAgAEYAcgBvAG0AIAB0AGgAZQAgAEkATQBBAEcARQAtAEgARgAgAFMAdAB1AGQAeQAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASALkvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNiAtIEluY3JlbWVudGFsIFZhbHVlIG9mIEdhaXQgU3BlZWQgaW4gUHJlZGljdGluZyBQcm9nbm9zaXMgb2YgT2xkZXIgQWR1bHRzIFdpdGggSGVhcnQgRmFpbHVyZSAtIEluc2lnaHRzIEZyb20gdGhlIElNQUdFLUhGIFN0dWR5LnBkZgAAEwAOL1ZvbHVtZXMvVXNlcnMAFQACABT//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgEuATMBOwR3BHkEfgSJBJIEoASkBKsEtAS5BMYEyQTbBN4E4wAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAATl}} + +@article{studenski2011, + Author = {STUDENSKI, Stephanie and PERERA, Subashan and PATEL, Kushang and ROSANO, Caterina and FAULKNER, Kimberly and INZITARI, Marco and BRACH, Jennifer and CHANDLER, Julie and CAWTHON, Peggy and CONNOR, Elizabeth Barrett and others}, + Date-Added = {2017-06-11 08:02:15 +0000}, + Date-Modified = {2017-06-11 08:02:15 +0000}, + Journal = {JAMA, the journal of the American Medical Association}, + Number = {1}, + Pages = {50--58}, + Publisher = {American Medical Association}, + Title = {Gait Speed and Survival in Older Adults}, + Volume = {305}, + Year = {2011}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QRy4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTEgLSBHYWl0IFNwZWVkIGFuZCBTdXJ2aXZhbCBpbiBPbGRlciBBZHVsdHMucGRm0hcLGBlXTlMuZGF0YU8RAjYAAAAAAjYAAgAABVVzZXJzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANFlDu1IKwAAA3Hmqx8yMDExIC0gR2FpdCBTcGVlZCBhIzNDMUQzQTIucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwdOi1a7rmAAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANFknm0AAAARAAgAANWuexgAAAABABgDcearA3FZzAKzv6IAJCeSACEBXAAAAGMAAgBbVXNlcnM6Y3NoaWg6AG5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAMjAxMSAtIEdhaXQgU3BlZWQgYSMzQzFEM0EyLnBkZgAADgBmADIAMgAwADEAMQAgAC0AIABHAGEAaQB0ACAAUwBwAGUAZQBkACAAYQBuAGQAIABTAHUAcgB2AGkAdgBhAGwAIABpAG4AIABPAGwAZABlAHIAIABBAGQAdQBsAHQAcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAGMvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxMSAtIEdhaXQgU3BlZWQgYW5kIFN1cnZpdmFsIGluIE9sZGVyIEFkdWx0cy5wZGYAABMADi9Wb2x1bWVzL1VzZXJzABUAAgAU//8AAIAG0hscHR5aJGNsYXNzbmFtZVgkY2xhc3Nlc11OU011dGFibGVEYXRhox0fIFZOU0RhdGFYTlNPYmplY3TSGxwiI1xOU0RpY3Rpb25hcnmiIiBfEA9OU0tleWVkQXJjaGl2ZXLRJidUcm9vdIABAAgAEQAaACMALQAyADcAQABGAE0AVQBgAGcAagBsAG4AcQBzAHUAdwCEAI4A2ADdAOUDHwMhAyYDMQM6A0gDTANTA1wDYQNuA3EDgwOGA4sAAAAAAAACAQAAAAAAAAAoAAAAAAAAAAAAAAAAAAADjQ==}} + +@article{Middleton2015, + Author = {Middleton, Addie and Fritz, Stacy L and Lusardi, Michelle}, + Date-Added = {2017-06-11 08:02:15 +0000}, + Date-Modified = {2017-06-11 08:02:15 +0000}, + Journal = {Journal of aging and physical activity}, + Number = {2}, + Pages = {314--322}, + Title = {Walking speed: the functional vital sign}, + Volume = {23}, + Year = {2015}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QkS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTYgLSBBIEpvaW50IEluZG9vciBXTEFOIExvY2FsaXphdGlvbiBhbmQgT3V0bGllciBEZXRlY3Rpb24gU2NoZW1lIFVzaW5nIExBU1NPIGFuZCBFbGFzdGljLU5ldCBPcHRpbWl6YXRpb24gVGVjaG5pcXVlcy5wZGbSFwsYGVdOUy5kYXRhTxEDFAAAAAADFAACAAAFVXNlcnMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0WUO7UgrAAADcearHzIwMTYgLSBBIEpvaW50IEluZG8jM0MxRDNBQi5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPB06vVruuZAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA0WSebQAAABEACAAA1a57GQAAAAEAGANx5qsDcVnMArO/ogAkJ5IAIQFcAAAAYwACAFtVc2Vyczpjc2hpaDoAbm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgAyMDE2IC0gQSBKb2ludCBJbmRvIzNDMUQzQUIucGRmAAAOAPoAfAAyADAAMQA2ACAALQAgAEEAIABKAG8AaQBuAHQAIABJAG4AZABvAG8AcgAgAFcATABBAE4AIABMAG8AYwBhAGwAaQB6AGEAdABpAG8AbgAgAGEAbgBkACAATwB1AHQAbABpAGUAcgAgAEQAZQB0AGUAYwB0AGkAbwBuACAAUwBjAGgAZQBtAGUAIABVAHMAaQBuAGcAIABMAEEAUwBTAE8AIABhAG4AZAAgAEUAbABhAHMAdABpAGMALQBOAGUAdAAgAE8AcAB0AGkAbQBpAHoAYQB0AGkAbwBuACAAVABlAGMAaABuAGkAcQB1AGUAcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAK0vY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNiAtIEEgSm9pbnQgSW5kb29yIFdMQU4gTG9jYWxpemF0aW9uIGFuZCBPdXRsaWVyIERldGVjdGlvbiBTY2hlbWUgVXNpbmcgTEFTU08gYW5kIEVsYXN0aWMtTmV0IE9wdGltaXphdGlvbiBUZWNobmlxdWVzLnBkZgAAEwAOL1ZvbHVtZXMvVXNlcnMAFQACABT//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgEiAScBLwRHBEkETgRZBGIEcAR0BHsEhASJBJYEmQSrBK4EswAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAS1}} + +@article{Chang2017, + Author = {L. Chang and X. Chen and Y. Wang and D. Fang and J. Wang and T. Xing and Z. Tang}, + Date-Added = {2017-06-11 07:45:30 +0000}, + Date-Modified = {2017-06-11 07:45:30 +0000}, + Doi = {10.1109/TNET.2017.2669339}, + Issn = {1063-6692}, + Journal = {IEEE/ACM Transactions on Networking}, + Keywords = {Calibration;Compressed sensing;IEEE transactions;Manuals;Real-time systems;Transceivers;Wireless communication;Device-free localization;compressive sensing.;received signal strength;transfer scheme}, + Number = {99}, + Pages = {1-14}, + Title = {FitLoc: Fine-Grained and Low-Cost Device-Free Localization for Multiple Targets Over Various Areas}, + Volume = {PP}, + Year = {2017}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8Qgi4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTcgLSBGaXRMb2MtIEZpbmUtR3JhaW5lZCBhbmQgTG93LUNvc3QgRGV2aWNlLUZyZWUgTG9jYWxpemF0aW9uIGZvciBNdWx0aXBsZSBUYXJnZXRzIE92ZXIgVmFyaW91cyBBcmVhcy5wZGbSFwsYGVdOUy5kYXRhTxEC5gAAAAAC5gACAAAFVXNlcnMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0WUO7UgrAAADcearHzIwMTcgLSBGaXRMb2MtIEZpbmUjM0MxRDNCMS5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPB07HVruuZAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA0WSebQAAABEACAAA1a57GQAAAAEAGANx5qsDcVnMArO/ogAkJ5IAIQFcAAAAYwACAFtVc2Vyczpjc2hpaDoAbm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgAyMDE3IC0gRml0TG9jLSBGaW5lIzNDMUQzQjEucGRmAAAOANwAbQAyADAAMQA3ACAALQAgAEYAaQB0AEwAbwBjAC0AIABGAGkAbgBlAC0ARwByAGEAaQBuAGUAZAAgAGEAbgBkACAATABvAHcALQBDAG8AcwB0ACAARABlAHYAaQBjAGUALQBGAHIAZQBlACAATABvAGMAYQBsAGkAegBhAHQAaQBvAG4AIABmAG8AcgAgAE0AdQBsAHQAaQBwAGwAZQAgAFQAYQByAGcAZQB0AHMAIABPAHYAZQByACAAVgBhAHIAaQBvAHUAcwAgAEEAcgBlAGEAcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAJ4vY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNyAtIEZpdExvYy0gRmluZS1HcmFpbmVkIGFuZCBMb3ctQ29zdCBEZXZpY2UtRnJlZSBMb2NhbGl6YXRpb24gZm9yIE11bHRpcGxlIFRhcmdldHMgT3ZlciBWYXJpb3VzIEFyZWFzLnBkZgATAA4vVm9sdW1lcy9Vc2VycwAVAAIAFP//AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOARMBGAEgBAoEDAQRBBwEJQQzBDcEPgRHBEwEWQRcBG4EcQR2AAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABHg=}} + +@inproceedings{Yi2013, + Author = {X. Yi and J. Willemson and F. Nait-Abdesselam}, + Booktitle = {2013 12th IEEE International Conference on Trust, Security and Privacy in Computing and Communications}, + Date-Added = {2017-06-11 07:38:30 +0000}, + Date-Modified = {2017-06-11 07:38:30 +0000}, + Doi = {10.1109/TrustCom.2013.19}, + Issn = {2324-898X}, + Keywords = {biomedical equipment;cryptography;medical computing;wireless sensor networks;Cybernetica;Sharemind system;advanced cryptographic techniques;attribute-based encryption;eavesdropping;input data;lightweight encryption algorithm;low-cost sensor nodes;low-power sensor nodes;open air;patient data privacy;patient database;privacy-preserving wireless medical sensor network;sensor node;spoofing;symmetric key cryptosystems;Communication system security;Cryptography;Medical services;Protocols;Servers;Wireless communication;Wireless sensor networks;Medical sensor network;SHA-3;Sharemind;privacy-preserving computation}, + Month = {July}, + Pages = {118-125}, + Title = {Privacy-Preserving Wireless Medical Sensor Network}, + Year = {2013}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QUC4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTMtUHJpdmFjeS1QcmVzZXJ2aW5nIFdpcmVsZXNzIE1lZGljYWwgU2Vuc29yIE5ldHdvcmsucGRm0hcLGBlXTlMuZGF0YU8RAlAAAAAAAlAAAgAABVVzZXJzAAAAAAAAAAAAAAAAAAAAAAAAAAAAANFlDu1IKwAAA3Hmqx8yMDEzLVByaXZhY3ktUHJlc2VyIzNDMUQzQTUucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwdOl1a7rmAAAAAAAAAAAAAEAAwAACQAAAAAAAAAAAAAAAAAAAAAKUmVmZXJlbmNlcwAQAAgAANFknm0AAAARAAgAANWuexgAAAABABgDcearA3FZzAKzv6IAJCeSACEBXAAAAGMAAgBbVXNlcnM6Y3NoaWg6AG5vdGVzOgBQdWJsaWNhdGlvbnM6ADIwMTc6AFJBQ1MxNzoAUmVmZXJlbmNlczoAMjAxMy1Qcml2YWN5LVByZXNlciMzQzFEM0E1LnBkZgAADgB4ADsAMgAwADEAMwAtAFAAcgBpAHYAYQBjAHkALQBQAHIAZQBzAGUAcgB2AGkAbgBnACAAVwBpAHIAZQBsAGUAcwBzACAATQBlAGQAaQBjAGEAbAAgAFMAZQBuAHMAbwByACAATgBlAHQAdwBvAHIAawAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAGwvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxMy1Qcml2YWN5LVByZXNlcnZpbmcgV2lyZWxlc3MgTWVkaWNhbCBTZW5zb3IgTmV0d29yay5wZGYAEwAOL1ZvbHVtZXMvVXNlcnMAFQACABT//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgDhAOYA7gNCA0QDSQNUA10DawNvA3YDfwOEA5EDlAOmA6kDrgAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAOw}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/TrustCom.2013.19}} + +@inproceedings{Hsu2017, + Acmid = {3025937}, + Address = {New York, NY, USA}, + Author = {Hsu, Chen-Yu and Liu, Yuchen and Kabelac, Zachary and Hristov, Rumen and Katabi, Dina and Liu, Christine}, + Booktitle = {Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems}, + Date-Added = {2017-06-11 07:35:53 +0000}, + Date-Modified = {2017-06-11 07:35:53 +0000}, + Doi = {10.1145/3025453.3025937}, + Isbn = {978-1-4503-4655-9}, + Keywords = {continuous monitoring, device-free sensing, gait velocity, stride length, wireless sensing}, + Location = {Denver, Colorado, USA}, + Numpages = {11}, + Pages = {2116--2126}, + Publisher = {ACM}, + Series = {CHI '17}, + Title = {Extracting Gait Velocity and Stride Length from Surrounding Radio Signals}, + Url = {http://doi.acm.org/10.1145/3025453.3025937}, + Year = {2017}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QaS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTcgLSBFeHRyYWN0aW5nIEdhaXQgVmVsb2NpdHkgYW5kIFN0cmlkZSBMZW5ndGggZnJvbSBTdXJyb3VuZGluZyBSYWRpbyBTaWduYWxzLnBkZtIXCxgZV05TLmRhdGFPEQKcAAAAAAKcAAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNyAtIEV4dHJhY3RpbmcgRyMzQzFEM0IwLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTsNWu65kAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsZAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTcgLSBFeHRyYWN0aW5nIEcjM0MxRDNCMC5wZGYAAA4AqgBUADIAMAAxADcAIAAtACAARQB4AHQAcgBhAGMAdABpAG4AZwAgAEcAYQBpAHQAIABWAGUAbABvAGMAaQB0AHkAIABhAG4AZAAgAFMAdAByAGkAZABlACAATABlAG4AZwB0AGgAIABmAHIAbwBtACAAUwB1AHIAcgBvAHUAbgBkAGkAbgBnACAAUgBhAGQAaQBvACAAUwBpAGcAbgBhAGwAcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAIUvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNyAtIEV4dHJhY3RpbmcgR2FpdCBWZWxvY2l0eSBhbmQgU3RyaWRlIExlbmd0aCBmcm9tIFN1cnJvdW5kaW5nIFJhZGlvIFNpZ25hbHMucGRmAAATAA4vVm9sdW1lcy9Vc2VycwAVAAIAFP//AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOAPoA/wEHA6cDqQOuA7kDwgPQA9QD2wPkA+kD9gP5BAsEDgQTAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABBU=}, + Bdsk-Url-1 = {http://dx.doi.org/10.1145/3025453.3025937}} + +@article{Khalajmehrabadi16, + Abstract = {In this paper, we introduce two indoor Wireless Local Area Network (WLAN) positioning methods using augmented sparse recovery algorithms. These schemes render a sparse user's position vector, and in parallel, minimize the distance between the online measurement and radio map. The overall localization scheme for both methods consists of three steps: 1) coarse localization, obtained from comparing the online measurements with clustered radio map. A novel graph-based method is proposed to cluster the offline fingerprints. In the online phase, a Region Of Interest (ROI) is selected within which we search for the user's location; 2) Access Point (AP) selection; and 3) fine localization through the novel sparse recovery algorithms. Since the online measurements are subject to inordinate measurement readings, called outliers, the sparse recovery methods are modified in order to jointly estimate the outliers and user's position vector. The outlier detection procedure identifies the APs whose readings are either not available or erroneous. The proposed localization methods have been tested with Received Signal Strength (RSS) measurements in a typical office environment and the results show that they can localize the user with significantly high accuracy and resolution which is superior to the results from competing WLAN fingerprinting localization methods.}, + Author = {A. Khalajmehrabadi and N. Gatsis and D. Pack and D. Akopian}, + Date-Added = {2017-06-11 07:33:56 +0000}, + Date-Modified = {2017-06-11 07:33:56 +0000}, + Doi = {10.1109/TMC.2016.2616465}, + Issn = {1536-1233}, + Journal = {IEEE Transactions on Mobile Computing}, + Keywords = {Clustering algorithms;Global Positioning System;Mobile computing;Position measurement;Probabilistic logic;Sensors;Wireless LAN;Indoor positioning;WLAN fingerprinting;outlier detection;sparsity recovery}, + Number = {99}, + Pages = {1-1}, + Title = {A Joint Indoor WLAN Localization and Outlier Detection Scheme Using LASSO and Elastic-Net Optimization Techniques}, + Volume = {PP}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QkS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTYgLSBBIEpvaW50IEluZG9vciBXTEFOIExvY2FsaXphdGlvbiBhbmQgT3V0bGllciBEZXRlY3Rpb24gU2NoZW1lIFVzaW5nIExBU1NPIGFuZCBFbGFzdGljLU5ldCBPcHRpbWl6YXRpb24gVGVjaG5pcXVlcy5wZGbSFwsYGVdOUy5kYXRhTxEDFAAAAAADFAACAAAFVXNlcnMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0WUO7UgrAAADcearHzIwMTYgLSBBIEpvaW50IEluZG8jM0MxRDNBQi5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPB06vVruuZAAAAAAAAAAAAAQADAAAJAAAAAAAAAAAAAAAAAAAAAApSZWZlcmVuY2VzABAACAAA0WSebQAAABEACAAA1a57GQAAAAEAGANx5qsDcVnMArO/ogAkJ5IAIQFcAAAAYwACAFtVc2Vyczpjc2hpaDoAbm90ZXM6AFB1YmxpY2F0aW9uczoAMjAxNzoAUkFDUzE3OgBSZWZlcmVuY2VzOgAyMDE2IC0gQSBKb2ludCBJbmRvIzNDMUQzQUIucGRmAAAOAPoAfAAyADAAMQA2ACAALQAgAEEAIABKAG8AaQBuAHQAIABJAG4AZABvAG8AcgAgAFcATABBAE4AIABMAG8AYwBhAGwAaQB6AGEAdABpAG8AbgAgAGEAbgBkACAATwB1AHQAbABpAGUAcgAgAEQAZQB0AGUAYwB0AGkAbwBuACAAUwBjAGgAZQBtAGUAIABVAHMAaQBuAGcAIABMAEEAUwBTAE8AIABhAG4AZAAgAEUAbABhAHMAdABpAGMALQBOAGUAdAAgAE8AcAB0AGkAbQBpAHoAYQB0AGkAbwBuACAAVABlAGMAaABuAGkAcQB1AGUAcwAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAK0vY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNiAtIEEgSm9pbnQgSW5kb29yIFdMQU4gTG9jYWxpemF0aW9uIGFuZCBPdXRsaWVyIERldGVjdGlvbiBTY2hlbWUgVXNpbmcgTEFTU08gYW5kIEVsYXN0aWMtTmV0IE9wdGltaXphdGlvbiBUZWNobmlxdWVzLnBkZgAAEwAOL1ZvbHVtZXMvVXNlcnMAFQACABT//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgEiAScBLwRHBEkETgRZBGIEcAR0BHsEhASJBJYEmQSrBK4EswAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAAS1}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/TMC.2016.2616465}} + +@article{Chen2017, + Author = {C. Chen and Y. Chen and Y. Han and H. Q. Lai and K. J. R. Liu}, + Date-Added = {2017-06-11 06:06:37 +0000}, + Date-Modified = {2017-06-11 06:06:37 +0000}, + Doi = {10.1109/JIOT.2016.2628701}, + Issn = {2327-4662}, + Journal = {IEEE Internet of Things Journal}, + Keywords = {frequency hop communication;radiofrequency interference;wireless LAN;wireless channels;CFR;IPS;TRRS;WiFi networks;WiFi platforms;WiFi techniques;achieving centimeter accuracy indoor localization;centimeter localization;channel frequency responses;frequency hopping approach;indoor environment;indoor spaces;location fingerprints;mainstream WiFi systems;multiple channels;nonline-of-sight;office environment;single-antenna WiFi devices;time-reversal resonating strength;Bandwidth;Focusing;IEEE 802.11 Standard;IP networks;OFDM;Synchronization;Transceivers;Channel frequency response (CFR);WiFi;indoor localization;time-reversal resonating strength (TRRS)}, + Month = {Feb}, + Number = {1}, + Pages = {111-121}, + Title = {Achieving Centimeter-Accuracy Indoor Localization on WiFi Platforms: A Frequency Hopping Approach}, + Volume = {4}, + Year = {2017}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QgS4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTcgLSBBY2hpZXZpbmcgQ2VudGltZXRlci1BY2N1cmFjeSBJbmRvb3IgTG9jYWxpemF0aW9uIG9uIFdpRmkgUGxhdGZvcm1zLSBBIEZyZXF1ZW5jeSBIb3BwaW5nIEFwcHJvYWNoLnBkZtIXCxgZV05TLmRhdGFPEQLkAAAAAALkAAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNyAtIEFjaGlldmluZyBDZSMzQzFEM0FGLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTr9Wu65kAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsZAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTcgLSBBY2hpZXZpbmcgQ2UjM0MxRDNBRi5wZGYAAA4A2gBsADIAMAAxADcAIAAtACAAQQBjAGgAaQBlAHYAaQBuAGcAIABDAGUAbgB0AGkAbQBlAHQAZQByAC0AQQBjAGMAdQByAGEAYwB5ACAASQBuAGQAbwBvAHIAIABMAG8AYwBhAGwAaQB6AGEAdABpAG8AbgAgAG8AbgAgAFcAaQBGAGkAIABQAGwAYQB0AGYAbwByAG0AcwAtACAAQQAgAEYAcgBlAHEAdQBlAG4AYwB5ACAASABvAHAAcABpAG4AZwAgAEEAcABwAHIAbwBhAGMAaAAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAJ0vY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNyAtIEFjaGlldmluZyBDZW50aW1ldGVyLUFjY3VyYWN5IEluZG9vciBMb2NhbGl6YXRpb24gb24gV2lGaSBQbGF0Zm9ybXMtIEEgRnJlcXVlbmN5IEhvcHBpbmcgQXBwcm9hY2gucGRmAAATAA4vVm9sdW1lcy9Vc2VycwAVAAIAFP//AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOARIBFwEfBAcECQQOBBkEIgQwBDQEOwREBEkEVgRZBGsEbgRzAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABHU=}} + +@inproceedings{Zhao2016, + Acmid = {2973762}, + Address = {New York, NY, USA}, + Author = {Zhao, Mingmin and Adib, Fadel and Katabi, Dina}, + Booktitle = {Proceedings of the 22Nd Annual International Conference on Mobile Computing and Networking}, + Date-Added = {2017-06-11 06:02:21 +0000}, + Date-Modified = {2017-06-11 06:02:35 +0000}, + Doi = {10.1145/2973750.2973762}, + Isbn = {978-1-4503-4226-1}, + Keywords = {affective computing, emotion recognition, heart rate variability, wireless sensing, wireless signals}, + Location = {New York City, New York}, + Numpages = {14}, + Pages = {95--108}, + Publisher = {ACM}, + Series = {MobiCom '16}, + Title = {Emotion Recognition Using Wireless Signals}, + Url = {http://doi.acm.org/10.1145/2973750.2973762}, + Year = {2016}, + Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QSy4uL1JBQ1MxNy9SZWZlcmVuY2VzLzIwMTYgLSBFbW90aW9uIHJlY29nbml0aW9uIHVzaW5nIHdpcmVsZXNzIHNpZ25hbHMgLnBkZtIXCxgZV05TLmRhdGFPEQJCAAAAAAJCAAIAAAVVc2VycwAAAAAAAAAAAAAAAAAAAAAAAAAAAADRZQ7tSCsAAANx5qsfMjAxNiAtIEVtb3Rpb24gcmVjbyMzQzFEM0FELnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8HTrdWu65kAAAAAAAAAAAABAAMAAAkAAAAAAAAAAAAAAAAAAAAAClJlZmVyZW5jZXMAEAAIAADRZJ5tAAAAEQAIAADVrnsZAAAAAQAYA3HmqwNxWcwCs7+iACQnkgAhAVwAAABjAAIAW1VzZXJzOmNzaGloOgBub3RlczoAUHVibGljYXRpb25zOgAyMDE3OgBSQUNTMTc6AFJlZmVyZW5jZXM6ADIwMTYgLSBFbW90aW9uIHJlY28jM0MxRDNBRC5wZGYAAA4AbgA2ADIAMAAxADYAIAAtACAARQBtAG8AdABpAG8AbgAgAHIAZQBjAG8AZwBuAGkAdABpAG8AbgAgAHUAcwBpAG4AZwAgAHcAaQByAGUAbABlAHMAcwAgAHMAaQBnAG4AYQBsAHMAIAAuAHAAZABmAA8ADAAFAFUAcwBlAHIAcwASAGcvY3NoaWgvbm90ZXMvUHVibGljYXRpb25zLzIwMTcvUkFDUzE3L1JlZmVyZW5jZXMvMjAxNiAtIEVtb3Rpb24gcmVjb2duaXRpb24gdXNpbmcgd2lyZWxlc3Mgc2lnbmFscyAucGRmAAATAA4vVm9sdW1lcy9Vc2VycwAVAAIAFP//AACABtIbHB0eWiRjbGFzc25hbWVYJGNsYXNzZXNdTlNNdXRhYmxlRGF0YaMdHyBWTlNEYXRhWE5TT2JqZWN00hscIiNcTlNEaWN0aW9uYXJ5oiIgXxAPTlNLZXllZEFyY2hpdmVy0SYnVHJvb3SAAQAIABEAGgAjAC0AMgA3AEAARgBNAFUAYABnAGoAbABuAHEAcwB1AHcAhACOANwA4QDpAy8DMQM2A0EDSgNYA1wDYwNsA3EDfgOBA5MDlgObAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAAA50=}, + Bdsk-Url-1 = {http://doi.acm.org/10.1145/2973750.2973762}, + Bdsk-Url-2 = {http://dx.doi.org/10.1145/2973750.2973762}} + +@article{RailPaper, + Author = {{Johannes Christian Koeppe}}, + Journal = {\url{http://cba2.unomaha.edu/faculty/mohara/web/Koeppe_Competitive_RR_97.pdf}}, + Title = {{Competitive Issues in the Deregulated United States Railroad Industry}, {A Thesis Presented to Business Administration and the Faculty of the Graduate College University of Nebraska In Partial Fulfillment of the Requirements for the Degree Master of Business Administration University of Nebraska at Omaha}}, + Year = {November 1997}} + +@article{diot1997multipoint, + Author = {Diot, Christophe and Dabbous, Walid and Crowcroft, Jon}, + Journal = {Selected Areas in Communications, IEEE Journal on}, + Number = {3}, + Pages = {277--290}, + Publisher = {IEEE}, + Title = {Multipoint communication: A survey of protocols, functions, and mechanisms}, + Volume = {15}, + Year = {1997}} + +@article{Mud06, + Acmid = {1176142}, + Address = {Piscataway, NJ, USA}, + Author = {Srivatsa, Mudhakar and Gedik, Bugra and Liu, Ling}, + Doi = {10.1109/TPDS.2006.158}, + Issn = {1045-9219}, + Issue_Date = {November 2006}, + Journal = {IEEE Trans. Parallel Distrib. Syst.}, + Keywords = {Peer-to-peer systems, Peer-to-peer systems, overlay topology, overlay routing, node heterogeneity, load balancing., load balancing., node heterogeneity, overlay routing, overlay topology}, + Month = nov, + Number = {11}, + Numpages = {17}, + Pages = {1277--1293}, + Publisher = {IEEE Press}, + Title = {Large Scaling Unstructured Peer-to-Peer Networks with Heterogeneity-Aware Topology and Routing}, + Url = {http://dx.doi.org/10.1109/TPDS.2006.158}, + Volume = {17}, + Year = {2006}, + Bdsk-Url-1 = {http://dx.doi.org/10.1109/TPDS.2006.158}} + +@INPROCEEDINGS{WUKONG2013, +author = {Reijers, Niels and Lin, Kwei-Jay and Wang, Yu-Chung and + Shih, Chi-Sheng and Hsu, Jane Y}, +title = {Design of an Intelligent Middleware for Flexible Sensor + Configuration in M2M Systems}, +booktitle = {Proceedings of the 2nd International Conference on Sensor + Networks (SENSORNETS)}, +year = {2013}, +pages = {1--6}, +month = {Feb.} +} +@INPROCEEDINGS{NielsShih17, +author = {Reijers, Niels and Shih, Chi-Sheng}, +title = {Ahead-of-Time Compilation of Stack-Based {JVM} Bytecode on Resource-Constrained Devices}, +booktitle = {Proceedings of 2017 International Conference on Embedded Wireless Systems and Networks (EWSN)}, +year = {2017}, +pages = {1--12}, +month = {Feb.} +} +@misc{wukongref, + title = {{WuKong Release 0.4}}, + howpublished = {https://www.gitbook.com/book/wukongsun/wukong-release-0-4/details}, +} + +@misc{wukong_github, + title = {{WuKong Github}}, + howpublished = {https://github.com/wukong-m2m/wukong-darjeeling}, +} + diff --git a/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-2.pptx b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-2.pptx new file mode 100644 index 0000000..89afccd Binary files /dev/null and b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-2.pptx differ diff --git a/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-3.pptx b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-3.pptx new file mode 100644 index 0000000..df0562a Binary files /dev/null and b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices-3.pptx differ diff --git a/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices.pptx b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices.pptx new file mode 100644 index 0000000..5192ccc Binary files /dev/null and b/branches/candidate/Slide/Parameterized Data Reduction Framework for IoT Devices.pptx differ diff --git a/branches/candidate/Toward a Distributed Data Flow Platform for the Web of Things.skim b/branches/candidate/Toward a Distributed Data Flow Platform for the Web of Things.skim new file mode 100644 index 0000000..66d5cc6 Binary files /dev/null and b/branches/candidate/Toward a Distributed Data Flow Platform for the Web of Things.skim differ diff --git a/branches/candidate/WFIoT.bib b/branches/candidate/WFIoT.bib new file mode 100644 index 0000000..2f3c1ba --- /dev/null +++ b/branches/candidate/WFIoT.bib @@ -0,0 +1,59 @@ +@inproceedings{Blackstock14, + author = {Blackstock, Michael and Lea, Rodger}, + title = {Toward a Distributed Data Flow Platform for the Web of Things (Distributed Node-RED)}, + booktitle = {Proceedings of the 5th International Workshop on Web of Things}, + series = {WoT '14}, + year = {2014}, + isbn = {978-1-4503-3066-4}, + location = {Cambridge, MA, USA}, + pages = {34--39}, + numpages = {6}, + url = {http://doi.acm.org/10.1145/2684432.2684439}, + doi = {10.1145/2684432.2684439}, + acmid = {2684439}, + publisher = {ACM}, + address = {New York, NY, USA}, + keywords = {Distributed data flow, Internet of things, Node-RED, Visual data flow languages, Web of things, toolkits}, +} + +@article{Khan16, + author = {Khan, Muhammad Sohail and Kim, DoHyeun}, + title = {DIY Interface for Enhanced Service Customization of Remote IoT Devices: A CoAP Based Prototype}, + journal = {Int. J. Distrib. Sen. Netw.}, + issue_date = {January 2015}, + volume = {2015}, + month = jan, + year = {2016}, + issn = {1550-1329}, + pages = {185:185--185:185}, + articleno = {185}, + numpages = {1}, + url = {http://dx.doi.org/10.1155/2015/542319}, + doi = {10.1155/2015/542319}, + acmid = {2929742}, + publisher = {Taylor \& Francis, Inc.}, + address = {Bristol, PA, USA}, +} + + +@Misc{Revolv16, + author = {Nick Statt}, + title = {{NEST} is permanently disabling the {Revolv} smart home hub}, + url = {http://www.theverge.com/2016/4/4/11362928/google-nest-revolv-shutdown-smart-home-products}, + howpublished = {\url{http://www.theverge.com/2016/4/4/11362928/google-nest-revolv-shutdown-smart-home-products}}, + month = {April}, + year = {2016}, + note = {Last access: June 26th, 2016}, + OPTannote = {} +} + +@Misc{nodeRED, + author = {{IBM Emerging Technology organization}}, + title = {Nest is permanently disabling the Revolv smart home hub}, + url = {http://nodered.org}, + howpublished = {\url{http://nodered.org}}, + year = {2013}, + note = {Last access: June 26th, 2016}, + OPTannote = {} +} + diff --git a/branches/candidate/bibliography.bib b/branches/candidate/bibliography.bib new file mode 100644 index 0000000..220e983 --- /dev/null +++ b/branches/candidate/bibliography.bib @@ -0,0 +1,5637 @@ +@string{RTSS = {Proceedings of the IEEE Real-Time Systems Symposium}} +@string{RTAS = {Proceedings of the IEEE Real-Time Technology and Application Symposium}} +@string{RTAS03 = {Proceedings of the IEEE Real-Time and Embedded Technology and Application Symposium}} + +@InProceedings{David99, + author = {{D. L. Levine} and {S. Flores-Gaitan} and {D. C. Schmidt}}, + title = {Measuring {OS} Support for Real-time {CORBA} {ORB}s}, + booktitle = {The 4th IEEE International Workshop on Object-oriented Real-time Dpendable Systems}, + year = 1999, + days = {27-29}, + month = {January}, + organization = {IEEE}, + publisher = {IEEE} +} + +@Unpublished{David00, + author = {{D. L. Levine} and {S. Flores-Gaitan} and {D. + C. Schmidt}}, + title = {An Empirical Evaluation of {OS} Endsystem Support + for Real-time {CORBA} Object Requet Brokers}, + note = {Submitted to Multimedia Computing and Networking + 2000} +} + +@InProceedings{DeL97, + author = {{Z. Deng} and {J. W.-S. Liu}}, + title = {Scheduling real-time applications in an open environment}, + booktitle = RTSS, + pages = {308-319}, + year = 1997, + address = {San Francisco, CA USA}, + month = {December}, + organization = {IEEE} +} + +@TechReport{CSDG98, + author = {Federal Geographic Data Committee}, + title = {Content Standard for Digital Geo{S}patial Metadata}, + institution = {Federal Geograhic Data Committee}, + year = 1998, + note = {http://www.fgdc.gov/metadata/contstan.html} +} + +@Book{IE80297, + title = {Standard for Wireless {LAN} Medium Access Control(MAC) and Physical Layer(PHY) specifications}, + publisher = {IEEE}, + year = 1997 +} + + + +@Article{homerf98, + author = {{K. J. Negus} and {J. Waters} and {J. Tourrilhes} and + {C. Romans} and {J. Lansford} and {S. Hui}}, + title = {Home{RF} and {SWAP}: Wireless networking for the + connected home}, + journal = {ACM Mobile Computing and Communications Review}, + year = 1998, + volume = 2, + number = 4, + month = {October}, + pages = {28--37} +} + + +@Article{Jaap:1998, + author = {{J. Haartsen} and {M. Naghshineh} and {J. Inouye}, + {O. J. Joeressen} and {W. Allen}}, + title = {Bluetooth: Vision, Goals, and Architecture}, + journal = {ACM Mobile Computing and Communications Review}, + year = 1998, + volume = 2, + number = 4, + pages = {38--45}, + month = {October} +} + +@TechReport{FGDC:99, + author = {Ground Transportatin Subcommittee}, + title = {{NSDI} Framework Transportation Identification Standard + - working draft}, + institution = {Federal Geographic Data Committee}, + year = 1999, + month = {May}, + note = {http://www.fgdc.gov/fgdc.html} +} + + +@TechReport{CEN:99, + author = {European Committee for Standardisation}, + title = {{G}eographic {D}ata {F}iles}, + institution = {Comit\'{e} Europ\'{e}en de Normalisation(CEN)}, + year = 1995, + note = {} +} + + +@Book{Garey79, + author = {M. R. Garey and D. S. Johnson}, + title = {Computers and intractability: a guide to the theory of NP-completeness}, + publisher = {W. H. Freeman}, + year = 1979 +} + + +@InProceedings{Joa97, + author = {J. Eriksson}, + title = {Real-time and active databases: A Survey}, + booktitle = {International Workshop on Active and Real-Time Database Systems (2nd : 1997 : Como, Italy) Active, real-time, and temporal database systems : second international workshop, ARTDB-97}, + pages = {1 -- 27}, + year = 1998, + editor = {{Sten F. Andler} and {Jorgen Hansson}}, + series = {Lectures Notes in Computer Science}, + publisher = {Springer} +} + +@Article{Yod97, + author = {{M. Barabanov} and {V. Yodaiken}}, + title = {Introducing {R}eal-{T}ime {U}nix}, + journal = {Linux Journal}, + year = {1997}, + number = {34}, + month = {Feb.} +} + + +@InProceedings{Sri98, + author = {B. Srinivasan et al}, + title = {A firm real-time system implementation using commerical off-the shelf hardware and free software}, + booktitle = RTAS, + pages = {112-119}, + year = 1998 +} + + +@InProceedings{Lin99, + author = {{Y.-C. Wang} and {K.-J. Lin}}, + title = {Implementing a {G}eneral {R}eal-{T}ime {S}cheduling {F}ramework in the {RED}-{L}inux {R}eal-{T}ime {K}ernel}, + booktitle =RTSS, + year = {1999}, +} + +@InProceedings{DeLiuSun97, + author = {{Z. Deng} and {J. W.-S. Liu} and {J. Sun}}, + title = {A Scheme for Scheduling Hard Real-Time Application in Open System Environment}, + booktitle = {Proceedings of the 9th Euromicro Conference on Real-Time Systems}, + pages = {191-199}, + year = {1997}, + address = {Toledo, Spain}, + month = {June}, + organization = {IEEE} +} + +@InProceedings{ZhangLiu99, + author = {{L. Z. Zhang} and {J. W. -S. Liu} and {Z. Deng} and {I. Philip}}, + title = {Hierarchical Scheduling of Periodic Messages in Open System}, + booktitle = RTSS, + year = {1999}, + address = {Phoenix, AZ USA}, + month = {December}, + organization = {IEEE} +} + + +@InProceedings{Mercer94, + author = {{C.W. Mercer} and {S. Savage} and {H. Tokuda}}, + title = {Processor Capacity Reserves: Operating System Support for Multimedia Applications}, + booktitle ={Proceedings of the IEEE International Conference on Multimedia Computing and Systems}, + year = {1994}, + month = {May}, + organization = {IEEE}, + OPTnote = {a capacity reservation technique is used to handle tasks with variable computation time and bound their computational demand.} +} + + + +@Article{SpBu96, + author = {{M. Spuri} and {G. Buttazzo}}, + title = {Scheduling Aperiodic Tasks in Dynamic Priority Systems}, + journal = {Real-Time Systems}, + year = {1996}, + pages = {179--210}, + volume = {10} +} + +@Misc{ORBacus, + author = {{Object Oriented Concepts, Inc.}}, + title = {{ORB}acus}, + howpublished = {http://www.ooc.com/ob/} +} + + +@Misc{TAO, + author = {{Distributed Object Computing(DOC) Group, Department of Computer Science, Washington University}}, + title = {{TAO}}, + howpublished = {http://www.cs.wustl.edu/~schmidt/TAO.html} +} + +@InProceedings{JiaVia99, + author = {{S. Jiang} and {N. H. Vaidya}}, + title = {Scheduling Data Boradcast to "Impatient" Users}, + booktitle = {MobiDE}, + year = {1999}, + address = {Seattle, WA USA}, + month = {}, + organization = {ACM} +} + +@InProceedings{KoMc99, + author = {{P. Kostkova} and {J. A. McCann}}, + title = {{MAGNET}: An Architecture for Dynamic Resource Allocation}, + booktitle = {Mobi{DE}}, + year = {1999}, + address = {Seattle, WA USA}, + month = {}, + organization = {ACM} +} + +@Article{DengLiu99, + author = {{Z. Deng} and {J. W. -S. Liu} and {L. Zhang} and {S. Mouna} and {A. Frei}}, + title = {An Open Environment for real time applications}, + journal = {Real-time Systems Journal}, + year = {1999}, + volume = {16}, + number = {2-3}, + pages = {155--185}, + month = {May} +} + +@InProceedings{JenLocke85, + author = {{E. Jensen} and {C. Locke} and {H. Tokuda}}, + title = {A time driven scheduling model for real-time operating systems}, + booktitle = RTSS, + year = {1985}, + pages = {112--122}, + OPTnote = {This paper introduce a value-density scheduling algorithm for time-driven + scheduling algorithm. This algorithm try to maximum the overall system value + by scheduling. It did allow some tasks to miss deadline. + No guarantee for head-read-time system. + Lots of following papers improve this algorithm.} +} + + +@Article{Burns98, + author = {{A. Burns} and {D. Prasad} and {A. Bondavalli} and {F. Giandomenico} and {K. Ramamritham} and {J. Stankovic} and {L. Strigini}}, + title = {The Meaning and Role of Value in Scheduling Flexible Real-Time Systems}, + journal = {Journal of Systems Architecture}, + year = {1998}, + Postscript = {TheMeaningandRoleofValueinSchedulingFlexibleRealTimeSystems.pdf} +} + +@misc{ strayer-analysis, + author = {T. Strayer}, + title = {Analysis of Deadline-Driven Scheduling Algorithms Using Function-Driven + Techniques}, + Postscript = {AnalysisofDeadlineDrivenSchedulingAlgorithmsUsingFunctionDrivenTechniques.pdf} +} + + +@misc{ hiltunen98real-time, + author = {{M. Hiltunen} and {R. Schlichting} and {X. Han} and {M. Cardozo} and {R. Das}}, + title = {Real-Time Dependable Channels: Customizing {QoS} Attributes For Distributed + Systems}, + text = {M. Hiltunen, R. Schlichting, X. Han, M. Cardozo, and R. Das. Real-time + dependable channels: Customizing {QoS} attributes for distributed systems. + Technical Report 98-06, Department of Computer Science, University of Arizona, + Tucson, AZ, Jul 1998. Submitted for publication in IEEE Transactions on + Parallel and Distributed Systems.}, + year = {1998}, + Postscript = {RealTimeDependableChannelsCustomingQoSAttributesforDistributedSystems.pdf} +} + + + @misc{ dinda98case, + author = {P. DINDA and B. LOWEKAMP and L. KALLIVOKAS and D. O'HALLARON}, + title = {The Case For Prediction-Based Best-Effort Real-Time Systems}, + text = {DINDA, P. A., LOWEKAMP, B., KALLIVOKAS, L. F., AND O'HALLARON, D. R. The + case for prediction-based best-effort real-time systems. Tech. Rep. CMU-CS-TR-98-174, + School of Computer science, Carnegie Mellon University, 1998.}, + year = {1998}, + Postscript = {TheCaseforPredicationbasedBestEffortRealtimeSystems.pdf} + } + + + @misc{ aldarmi98, + author = {{S. A. Aldarmi} and {A. Burns}}, + title = {Dynamic Value-Density For Scheduling Real-Time Systems}, + year = {1998}, + Postscript = {DynamicValueDensityforSchedulingRealTimeSystes.pdf}, + address = {Real-Time Systems Group, + Department of Computer Science, + The University of York, + York, YO10 5DD, U.K.} + } + + @InProceedings{LeSha89, + author = {{J. P. Lehoczky} and {L. Sha} and {Y. Ding}}, + title = {The Rate Monotonic Algorithm: Exact Characterization And Average Case Behaviour}, + booktitle = RTSS, + year = {1989}, + pages = {166--171}, + organization = {IEEE} + } + + @Article{LiuLayland, + author = {C. L. Liu and J. Layland}, + title = {Scheduling Algorithms for Multiprogramming in a Hard Real-time Environment}, + journal = {Journal of the ACM}, + year = {1973}, + volume = {20}, + number = {1}, + pages = {46--61} + } + + @Misc{ORIS, + author = {{Real-time Systems Laboratory(RTSL), Department of Computer Science, University of Illinois at Urbana-champaign}}, + title = {{{ORiS} Linux -- An Open Real-Time Scheduling Linux}}, + howpublished = {http://pertsserver.cs.uiuc.edu/\~{ }cshih/ORIS} + } + + @InProceedings{ HanLin92, + author = {{C.-C. Han} and {K.-J. Lin}}, + title = {Scheduling Distance-Constrained Real-Time Tasks}, + year = 1992, + month = {2--4 December}, + pages = {300 -- 308}, + address = {Phoenix, AZ, USA}, + booktitle = RTSS + } + + @Article{ SpSL89, + author = {B. Sprunt and L. Sha and J. Lehoczky}, + title = {Aperiodic task scheduling for hard-real-time systems}, + journal = {Real-time Systems Journal}, + year = {1989}, + month = {July} + } + + @Article{ImpreciseComputations, + author = {{J. W.-S. Liu} and {W.-K. Shih} and {K.-J. Lin} and {R. Bettati} and {J.-Y. Chung}}, + title = {Imprecise computations}, + journal = {Proceedings of the IEEE}, + year = {1994}, + volume = {82}, + number = {1}, + pages = {83 - 94}, + month = {Jan.} + } + +@InProceedings{ ElasticModel, + author = {{G. Buttazzo} and {G. Lipari} and {L. Abeni}}, + title = {Elastic task model for adaptive rate control}, + booktitle = RTSS, + pages = {286 - 295}, + month = {Dec.}, + year = {1998} +} + +@InProceedings{ ProbabilisticModel , + author = {{T. S. Tai} and {Z. Deng} and {M. Shankarand} and {M. Storch} and {J. Sun} and {L. C. Wu} and {J. W.-S. Liu}}, + title = {Probabilistic Performance Guarantee for Real-Time Tasks with Varying Computation Times}, + booktitle = RTAS, + year = {1995}, + pages = {164 - 173}, + OPTnote = { a probabilistic guarantee is performed on tasks whose execution times have known distribution.} +} + +@Article{KuoMok97, + author = {{T.-W. Kuo} and {A. K. Mok}}, + title = {Incremental Reconfiguration and Load Adjustment in Adaptive Real-Time Systems}, + journal = {IEEE Transactions on Computers}, + year = {1997}, + volume = {46}, + number = {12}, + pages = { 1313 - 1324 }, + month = {Dec} +} + +@InProceedings{Montez99, + title = {An Adaptive Scheduling Approach in Real-Time {CORBA}}, + author = {{C. Montez} and {J. Fraga} and {R. de Oliverira} and {J.-M. Farines}}, + year = {1999}, + booktitle = {Proceedings of the 2nd International Symposium on Object-Oriented Real-Time Distributed Computing(ISORC)}, +} + +@InProceedings{Stan99, + author = {{J. A. Stankovic} and {C. Lu} and {S. H. Son} and {G. Tao}}, + title = {The Case for Feedback Control Real-Time Scheduling}, + booktitle = {Real-Time Systems, Proceedings of the 11th Euromicro Conference}, + OPTcrossref = {}, + OPTkey = {}, + pages = {11 - 20}, + year = {1999}, +} + +@Book{Baugh73, + author = {R. A. Baugh}, + editor = {}, + title = {Computer Control of Modern Radars}, + publisher = {New York: RCA Corporation}, + year = {1973} +} + +@InProceedings{Kuo00, + author = {{T. -W.} Kuo and {C. -F.} Kuo and {C.} Chang}, + title = {Real-Time Digital Signal Processing Of Component-Oriented Phased Array Radars }, + booktitle = RTSS, + pages = { 99 - 108}, + year = {2000} +} + + +@Book{OMNET, + author = {A. Varga}, + title = {{OMNeT++} 2.0 : Discrete Event Simulation System}, + publisher = {Department of Telcommunications(BME-HIT), Technical University of Budapest, Italy}, + year = {2000}, + address = {http://www.hit.bme.hu/phd/vargaa/omnetpp.htm} +} + +@InProceedings{OMNET01, + author = {A. Varga}, + title = {The {OMNeT++} Discrete Event Simulation System}, + booktitle = {the proceedings of the European Simulation Multiconference(ESM'01)}, + year = {2001}, + month = {June}, + days = {6-9} +} + +@InProceedings{CaBuSha00, + author = {{M. Caccamo} and {G. Buttazzo} and {L. Sha}}, + title = {Elastic Feedback Control}, + booktitle = {12th Euromicro Conference on Real-time Systems}, + year = {2000}, + organization = {IEEE}, + pages = { 121 - 128} +} + +@InProceedings{GeNettFi99, + author = {{M. Gergeleit} and {E. Nett} and {J. Fitzner}}, + title = {On-Line Prediction Of Execution Times - A Basis For Adaptive Scheduling}, + booktitle = {Fourth International Workshop on Object-Oriented Real-Time +Dependable Systems}, + pages = { 186 - 194}, + year = {1999} +} + +@InProceedings{LeeKim99, + author = {{K. -D. Lee} and {S. Kim}}, + title = {Traffic Model And Analysis For Handoff Performance In + Microcellular Networks With Directed Retry }, + booktitle = {Proceedings of the IEEE TENCON '99}, + pages = { 39 - 42}, + volume = { 1 }, + year = {1999} +} + +@InProceedings{Forsberg00, + author = {{D. Forsberg} and {J.T. Malinen} and {J.K. Malinen} and {H.H. Kari}}, + title = {Increasing Communication Availability With Signal-Based Mobile Controlled Handoffs}, + booktitle = {IP based Cellular Networks (IPCN2000)}, + PTpages = {http://www.cs.hut.fi/Research/Dynamics/publications/dynamics_ipcn2000_paper.ps}, + year = {2000}, + address = {Paris, France}, + month = {May} +} + +@InProceedings{Forsberg99, + author = {{D. Forsberg} and {J. T. Malinen} and {J. K. Malinen} and {T. Weckstrom} and {M. Tiusanen}}, + title = {Distributing Mobility Agents Hierarchically under Frequent Location Updates}, + booktitle = {Sixth IEEE International Workshop on Mobile Multimedia Communications (MOMUC'99)}, + year = {1999} +} + +@TechReport{Gustafsson01, + author = {{E. Gustafsson} and {A. Jonsson} and {C. E. Perkins}}, + title = {Mobile IP Regional Registration(Work in Progress)}, + institution = {IETF}, + year = {2001}, + month = {Sep}, + annote = {http://www.ietf.org/internet-drafts/draft-ieth-mobileip-reg-tunnel-05.txt} +} + + +@Book{Perkins98, + author = {C. E. Perkins}, + title = {Mobile IP Design Priciples and Practices}, + publisher = {Addison-Wesley Longman}, + year = {1998} +} + +@Article{Bakre97, + author = {{A.V. Bakre} and {B.R. Badrinath}}, + title = {Implementation and performance evaluation of Indirect TCP}, + journal = {IEEE Transactions on Computers}, + year = {1997}, + volume = {46}, + number = {3}, + pages = {260 -- 278}, + month = {March} +} + +@Article{Balakrishnan95, + author = {{H. Balakrishnan} and {S. Seshan} and {R. H. Katz}}, + title = {Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks}, + journal = {ACM Wireless Networks}, + year = {95}, + volume = {4}, + number = {1}, + pages = {469--481}, + month = {December} +} + +@Article{Pollini96, + author = {G. P. Pollini}, + title = {Trends in handover design}, + journal = {IEEE Communication Magazine}, + year = {1996}, + volume = {34}, + pages = {82 -- 90}, + month = {March} +} + +@Article{Campbell00, + author = {{A. T. Campbell} and {J. Gomez} and {S. Kim} and {A. G. Valko} and {C-Y. Wan} and {Z. Turanyi}}, + title = {Design, Implementation, and Evaluation of Cellular {IP}}, + journal = {IEEE Personal Communications}, + year = {2000}, + OPTkey = {}, + OPTvolume = {7}, + OPTnumber = {4}, + OPTpages = {42 -- 49}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{Perkins99, + author = {{C. E. Perkins} and {K.-Y. Wang}}, + title = {Optimized Smooth Handoffs in {M}obile {IP}}, + booktitle = {Proceedings of the IEEE International Symposium on Computers and Communications}, + pages = {340 -- 346}, + year = {1999}, + month = {July} +} + +@InProceedings{Abeni99, + author = {{L. Abeni} and {G. Butazzo}}, + title = {{QoS} guarantee using probabilistic deadlines}, + booktitle = {11th Euromicro Conference on Real-Time Systems (ECRTS99)}, + pages = {242 -- 251}, + address = {York, England}, + year = {1999} +} + +@Article{Leung82, + author = {{J. T. Lenug} and {J. Whitehead}}, + title = {On the complexity of fixed-priority scheduling of periodic real-time tasks}, + journal = {Performance Evaluation}, + year = {1982}, + volume = {2}, + pages = {37 -- 250} +} + +@PhdThesis{Mok83, + author = {A. K. Mok}, + Title = {Fundamental Design Problems Of Distributed Systems For Hard Real-Time Environment}, + school = {MIT}, + year = {1983} +} + +@InProceedings{SunLiu96, + author = {{J. Sun} and {J. W.-S. Liu}}, + title = {Bounding Completion Times of Jobs with Arbitrary Release Times and Variable Execution Times}, + booktitle = RTSS, + year = {1996}, + month = {December}, + OPTnote = {the authors provide an upper bound of completion times of jobs chains with variable execution times and arbitrary release times.} +} + +@InProceedings{MokChen96, + author = {{A. K. Mok} and {D. Chen}}, + title = {A Multiframe Model for Real-time Tasks}, + booktitle = RTSS, + year = {1996}, + month = {December}, + OPTnote = {a guarantee is computed for tasks whose jobs are characterized by variable computation times and interarrival times, occurring with a cyclical pattern.} +} + + +@InProceedings{CapacitySharing, + author = {{M. Caccamo} and {G. Buttazzo} and {L. Sha}}, + title = {Capacity Sharing for Overrun Control}, + booktitle = RTSS, + year = {2000}, + address = {Orlando, FL USA}, + pages = {295 -- 304} +} + +@InProceedings{AbeniButtazzo98, + author = {{L. Abeni} and {G. Buttazzo}}, + title = {Integrating Multimedia Applications in Hard Real-Time Systems}, + booktitle = RTSS, + year = {1998}, + organization = {IEEE} +} + +@InProceedings{LeeShih01, + author = {{C.-G. Lee} and {C.-S. Shih} and {L. Sha}}, + title = {Service Class based Online {QoS} Management in Surveillance Radar Systems}, + booktitle = RTSS, + year = {2001}, + organization = {IEEE} +} + +@Inproceedings{LeeLehoczky98, +author = {{C. Lee} and {J. Lehoczky} and {R. Rajkumar} and {D. Siewiorek}}, +title = {On Quality of Service Optimization with Discrete {QoS} Options}, +booktitle = RTAS, +year = {1998}, +month = {June} +} + +@Inproceedings{RajkumarLee97, +author = {{R. Rajkumar} and {C. Lee} and {J. Lehoczky} and {D. Siewiorek}}, +title = {A Resource Allocation Model for {QoS} Management}, +booktitle = {Proceedings of the 18th Real-Time Systems Symposium}, +year = {1997}, +month = {December} +} + +@Inproceedings{RajkumarLee98, +author = {{R. Rajkumar} and {C. Lee} and {J. Lehoczky} and {D. Siewiorek}}, +title = {Practical Solutions for {QoS}-based Resource Allocation Problems}, +booktitle = {Proceedings of the 19th Real-Time Systems Symposium}, +year = {1998}, +month = {December} +} + +@Inproceedings{KuoChao02, +author = {{T.-W. Kuo} and {Y.-S. Chao} and {C.-F. Kuo} and {C. Chang} and {Y.-L. Su}}, +title = {Real-Time Dwell Scheduling of Component-Oriented Phased Array Radars}, +booktitle = {Proceedings of the IEEE 2002 Radar Conferences}, +year = {2002}, +pages = {92 -- 97a}, +month = {April} +} + +@Article{Liberato00, + author = {{F. Liberato} and {R. Melhem} and {D. Moss\`{e}}}, + title = {Tolerance to multiple transient faults for aperiodic tasks in hard real-time systems}, + journal = {IEEE Transactions on Computers}, + year = {2000}, + volume = {49}, + number = {9}, + pages = {906 -- 914}, + month = {Sept.} +} + +@Inproceedings{LeeLehoczky99, +author = {{C. Lee} and {J. Lehoczky} and {D. Siewiorek} and {R. Rajkumar} and {J. Hansen}}, +title = {A Scalable Solution to the Multi-Resource {QoS} Problem}, +booktitle = {Proceedings of the 20th Real-Time Systems Symposium}, +year = {1999}, +month = {December} +} + +@PhdThesis{Sun97, + author = {J. Sun}, + title = {Fixed-Priority End-to-End Scheduling in Distributed Real-time Systems}, + school = {Department of Computer Science, University of Illinois at Urbana-Champaign}, + year = {1997}, + OPTkey = {}, + OPTtype = {}, + OPTaddress = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + + +@PhdThesis{Bett94, + author = {R. Bettati}, + title = {End-To-End Scheduling To Meet Deadlines In Distributed Systems}, + school = {Department of Computer Science, University of Illinois at Urbana-Champaign}, + year = {1994}, + OPTkey = {}, + OPTtype = {}, + OPTaddress = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + + +@InProceedings{Tindell94, + author = {{K. Tindell} and {J. Clark}}, + title = {Holistic Schedulability Analysis For Distributed Hard Real-Time Systems}, + booktitle = {Micorprocessing and Microprogramming}, + pages = {117 -- 134}, + year = {1994}, + volume = {50}, + number = {2/3}, + month = {April} +} + +@InProceedings{Barbato92, + author = {{A. Barbato} and {P. Giustiniani}}, + title = {An Improved Scheduling Algorithm For A Naval Phased Array Radar}, + booktitle = {International Conference on Radar '92}, + year = {1992}, + pages = {42 -- 45} +} + +@InProceedings{Chang97, + author = {{C. Chang} and {C.-C. Chen} and {Y.-L. Chen} and {F.-S. Huang}}, + title = {Real-Time Scheduling In A Programmable Radar Signal Processor}, + booktitle = {Proceesings of Real-Time Computing Systems and Applications}, + pages = {206 -- 213}, + year = {1997} +} + +@InProceedings{Huizing96, + author = {{A. G. Huizing} and {A. A. F. Bloemen}}, + title = {An Efficient Scheduling for a Multifunction Radar}, + booktitle = {IEEE International Symposium on Phased Array Systems and Technology, 1996}, + pages = {359 -- 364} +} + +@InProceedings{Stromberg96, + author = {{D. Stromberg} and {P. Grahn}}, + title = {Scheduling Of Tasks In Phased Array Radar}, + booktitle = {IEEE International Symposium on Phased Array Systems and Technology}, + pages = {318 -- 321}, + year = {1996}, + address = {Boston, MA USA}, + month = {Oct.} +} + +@Article{HanLinHou96, + author = {{C.-C. Han} and {K.-J. Lin} and {C.-J. Hou}}, + title = {Distance-Constrained Scheduling And Its Applications To Real-Time Systems}, + journal = {IEEE Transaction on Computers}, + year = {1996}, + volume = {45}, + number = {7}, + pages = {814 -- 826}, + month = {July} +} + +@Book{JaneLiu00, + author = {J. W.-S. Liu}, + title = {Real-Time Systems}, + publisher = {Prentice Hall Inc.}, + address = {Upper Saddle River, NJ, USA}, + year = {2000} +} + +@InBook{Hov84, + author = {S. A. Hovanessian}, + title = {Radar System Design and Analysis}, + chapter = {Track-While-Scan Concepts and Electronic Scan}, + publisher = {Artech House Inc.}, + year = {1984} +} + +@InProceedings{Atlas98, + author = {{A. K. Atlas} and {A. Bestavros}}, + title = {Statistical Rate Monotonic Scheduling}, + booktitle = RTSS, + pages = {123 - 132}, + year = {1998} +} + +@InProceedings{Lehoczky96, + author = {J. P. Lehoczky}, + title = {Real-Time Queuing Theory}, + booktitle = RTSS, + pages = {186 - 195}, + year = {1996} +} + +@Article{Gillies95, + author = {{D. W. Gillies} and {J. W.-S. Liu}}, + title = {Scheduling Tasks With AND/OR Precedence Constraints}, + journal = {SIAM Journal on Computing}, + year = {1995}, + volume = {24}, + number = {4}, + pages = {797--810}, + month = {Aug} +} + +@PhdThesis{Cheong92, + author = {I. K. Cheong}, + title = {Scheduling Imprecise Hard Real-Time Jobs with Cumulative Error}, + school = {University of Illinois at Urbana-Champaign}, + year = {1992} +} + +@InProceedings{ShihLiu02, + author = {{C.-S. Shih} and {J. W.-S. Liu}}, + title = {State-Dependent Deadline Scheduling}, + booktitle = RTSS, + pages = {3--14}, + address = {Austin, TX USA}, + year = {2002} +} + +@inproceedings{AydinMelhemMosse99, + author = {H. Aydin and P. Mejia-Alvarez and R. G. Melhem and D. Moss\`{e}}, + title = {Optimal Reward-Based Scheduling of Periodic Real-Time Tasks}, + booktitle = RTSS, + pages = {79--89}, + month = {1--3 December}, + address = {Phoenix, Arizona, USA}, + year = {1999} +} + +@inproceedings{KorenShasha95, + author = {G. Koren and D. Shasha}, + title = {Skip-over: Algorithms and complexity for overloaded systems that allow skips}, + booktitle = RTSS, + pages = {110--117}, + address = {Pisa, ITALY}, + month = {5--7 December}, + year = {1995} +} + + + +@Article{HamRam95, + author = {M. Hamdaoui and P. Ramanathan}, + title = {A Dynamic Priority Assignment Technique For Streams With (M, K)-Firm Deadlines}, + journal = {IEEE Transaction on Computers}, + year = {1995}, + volume = {44}, + number = {12}, + pages = {1443 -- 1451}, + month = {December} +} + +@Article{ChungLiuLin90, + author = {J.-Y. Chung and J. W.-S. Liu and K.-J. Lin}, + title = {Scheduling Periodic Jobs That Allow Imprecise Results}, + journal = {IEEE Transaction on Computers}, + year = {1990}, + volume = {39}, + number = {9}, + pages = {1156 -- 1175}, + month = {September} +} + +@Article{Kameda82, + author = {H. Kameda}, + title = {A finite-source queue with different customers}, + journal = {Journal of ACM}, + year = {1982}, + OPTkey = {}, + volume = {29}, + OPTnumber = {}, + pages = {478--491}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Righter96, + author = {R. Righter}, + title = {Optimal policies for scheduling repairs and allocating heterogeneous servers}, + journal = {Journal of Applied Probability}, + year = {1996}, + OPTkey = {}, + volume = {33}, + OPTnumber = {}, + pages = {536--547}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Book{Tijms86, + author = {H. C. Tijms}, + title = {Stochastic Modelling and Analysis: A Computational Approach}, + publisher = {Wiley}, + year = {1986} +} + +@Article{Koole96, + author = {{G. Koole} and {M. Vrijenhoek}}, + title = {Scheduling a repairman in a finite source system}, + journal = {Mathematical Methods of Operations Research }, + year = {1996}, + volume = {44}, + pages = {333-344} +} + +@Article{KateLevine85, + author = {{M. N. Katehakis} and {A. Levine}}, + title = {A dynamic routing algorithm -- numerical procedues for ligh traffic conditions}, + journal = {Applied Mathematics and Computation}, + year = {1985}, + OPTkey = {}, + OPTvolume = {9}, + OPTnumber = {}, + OPTpages = {51--56}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Kumar94, + author = {{S. Kumar} and {P.R. Kumar}}, + title = {Performance Bounds for Queueing Networks and Scheduling Policies}, + journal = {IEEE TRANSACTIONS ON AUTOMATIC CONTROL}, + year = {1994}, + OPTkey = {}, + OPTvolume = {39}, + OPTnumber = {8}, + OPTpages = {1600--1611}, + OPTmonth = {Aug}, + OPTnote = {}, + OPTannote = {} +} + +@Book{Klei75, + author = {L. Kleinrock}, + title = {Queueing Systems }, + publisher = {Wiley}, + year = {1975}, + volume = {I: Theory}, + address = {New York USA} +} + +@Book{Bolch98, + author = {{G. Bolch} and {S. Greiner} and {H. de Meer} and {K. S. Trivedi}}, + title = {Queueing Networks and Markov Chains -- Modeling and Performance evaluation with Computer Science Applications}, + publisher = {John Wiley and Sons. Inc.}, + year = {1998} +} + +@InProceedings{Werahera95, + author = {{P.N. Werahera} and {A.P. Jayasumana} and {D.C. Boes}}, + title = {A delay model for priority classes of FDDI based on M/G/1 with vacations}, + booktitle = {Fourth International Conference on Computer Communications and Networks}, + pages = {568 -- 575 }, + year = {1995} +} + +@inproceedings{HsuehLinFa95, + author = {{C.-W. Hsueh} and {K.-J. Lin} and {N. Fa}}, + title = {Distributed Pinwheel Scheduling with End-to-End Timing Constraints}, + booktitle = RTSS, + year = {1995} +} + +@Book{Skolnik90, + ALTeditor = {M. I. Skolnik}, + title = {Radar Handbook}, + publisher = {McGraw-Hill}, + year = {1990}, + edition = {2nd} +} + +@Article{Ullman75, + author = {J. D. Ullman}, + title = {NP-complete Scheduling Problems}, + journal = {Journal of Computer and System Sciences}, + year = {1975}, + volume = {10} +} + +@Article{GhBa95, + author = {{T. M. Ghazalie} and {T. P. Baker}}, + title = {Aperiodic servers in a deadline scheduling environment}, + journal = {Real-Time Systems Journal}, + year = {1995}, + pages = {31--67} +} + +@InProceedings{perkins94, +author = {Perkins, C. and Bhagwat, P.}, +title = {Highly Dynamic Destination Sequenced Distance Vector Routing (DSDV) for Mobile Computers}, +booktitle = {Proceedings of ACM SIGCOMM}, +year = 1994 +} + +@InProceedings{boppana:01, +author = {{R. Boppana} and {S. Konduru}}, +title={An Adaptive Distance Vector Routing Algorithm for Mobile, Ad Hoc Networks}, +booktitle= {Proceedings of IEEE INFOCOM}, +month = {March}, +year = 2001} + +@article{murthy:97, +author = {{S. Murthy} and {J. J. Garcia-Luna-Aceves}}, +title = {A Path-Finding Algorithm for Loop-Free Routing}, +journal = {IEEE/ACM Transactions on Networking}, +volume = 5, +number = 26, +pages = { 148--160 }, +month = {February}, +year = 1997} + +@article{murthy:96, +author = {{S. Murthy} and {J. J. Garcia-Luna-Aceves}}, +title = {An Efficient Routing Protocol for Wireless Networks}, +journal = {ACM Balzer Mobile Networks and Applications Journal}, +year = 1996 +} + +@Article{gafni:81, +author = {{E. M. Gafni} and {D. P. Bertsekas}}, +title = {Distributed Algorithms for Generating Loop-Free Routes in Networks with Frequently Changing Topology}, +journal = {IEEE Transactions on Communications}, +volume = {COM-29}, +number = 1, +pages = { 11--18 }, +month = {January}, +year = 1981 +} + +@InBook{johnson:96, +author = {{D. B. Johnson} and {D. A. Maltz}}, +chapter = {Dynamic Source Routing in Ad-Hoc Wireless Networks}, +title = {Mobile Computing}, +publisher = {Kluwer Academic Publishers}, +pages = {153--181}, +year = 1996 +} + +@InProceedings{park:97, +author = {{V. Park} and {S. Corson}}, +title = {A Highly Adaptive Distributed Routing Algorithm for Mobile Wireless Networks}, +booktitle = {Proceedings of IEEE INFOCOM}, +month = {April}, +year = 1997 +} + +@Article{toh:97, + author = {C.-K. Toh}, + title = {Associativity-Based Routing for Ad-Hoc Networks}, + journal = {Wireless Personal Communication}, + volume = 4, + number = 2, + month = {March}, + year = 1997 +} + +@article{dube:97, +author = {{R. Dube} and {C. D. Rais} and {K. Wang} and {S. K. Trpathi}}, +title = {Signal Stability Based Adaptive Routing (SSA) for Ad-Hoc Mobile Networks}, +journal = {IEEE personal Communication}, +volume = 4, +number = 1, +pages = { 36--45 }, +month = {February}, +year = 1997 +} + +@InProceedings{ko:97, +author = {{Y. B. Ko} and {N. Vaidya}}, +title = {Location-Aided Routing ({LAR}) in Mobile Ad Hoc Networks}, +booktitle = {Proceedings of the ACM/IEEE 4th Int'l Conf. on Mobile Computing and Networking}, +year = 1998 +} + +@InProceedings{singh:97, +author = {{S. Singh} and {M. Woo} and {C. S. Raghavendra}}, +title = {Power-Aware Routing in Mobile Ad Hoc Networks}, +booktitle = {Proceedings of the Fourth Annual IEEE/ACM International Conference on Mobile Computing and Networking}, +year = 1997 +} + +@InProceedings{royer:99, +author = {Royer, E. M. and Perkins, C. E.}, +title = {Multicast Ad hoc On-Demand Distance Vector (MAODV) Routing}, +booktitle = {Proceedings of the Second IEEE Workshop on Mobile Computing Systems and Applications}, +year = 1999 +} + +@InProceedings{vaidya:97, +author = {{N. H. Vaidya et al}}, +title = {A Cluster-Based Approach for Routing in Dynamic Networks}, +booktitle = {ACM SIGCOMM Computer Communication Review}, +pages={ 49--65 }, +year = 1997 +} + +@InProceedings{haas:98, +author = {{J. Deng} and {Z. Haas}}, +title = {Dual Busy Tone Multiple Access (DBTMA): A New Medium Access Control for Packet Radio Networks}, +booktitle = {Proceedings of the IEEE ICUPC}, +volume = 1, +pages = {973--977}, +year = 1998 +} + +@Article{lin:97b, +author = {{C. R. Lin} and {M. Gerla}}, +title = {Adaptive Clustering for Mobile Wireless Networks}, +journal = {IEEE Journal on Selected Areas in Communications}, +year = {1997}, +volume = {15} +} + +@InProceedings{das:98, +author = {{B. Das} and {R. Sivakumar} and {V. Bharghavan}}, +title = {The Clade Vertebrate: Spines and Routing in Ad-Hoc Networks}, +booktitle = {Proceedings of the IEEE Symposium on Computers and Communication}, +year = 1998 +} + +@InProceedings{haas:97, +author = {Z. Haas}, +title = {A New Routing Protocol for The Reconfigurable Wireless Networks}, +booktitle = {Proceedings of the IEEE International Conference on Universal Personal Communications}, +year = 1997 +} + +@InProceedings{compow, +author = {{S. Narayanaswamy} and {V. Kawadia} and {R. S. Sreenivas} and {P. R. Kumar}}, +title = {Power Control in Ad-Hoc Networks: Theory, Architecture, Algorithm and Implementation of the COMPOW Protocol}, +booktitle = { Proceedings of the European Wireless 2002 Next Generation Wireless Networks: Technologies, Protocols, Services and Applications}, +year = 2002 +} + +@InProceedings{span, +author = {{B. Chen} and {K. Jamieson} and {H. Balakrishnan} and {R. Morris}}, +title = {SPAN: An Energy-Efficient Coordination Algorithm for Topology Maintenance in Ad Hoc Wireless Networks}, +booktitle = {Proceedings of the 7th ACM International Conference on Mobile Computing and Networking}, +year = 2001 +} + +@InProceedings{xu:01, +author = {{Y. Xu} and {J. Heidemann} and {D. Estrin}}, +title = {Geography-informed Energy Conservation for Ad Hoc Routing}, +booktitle = {Proceedings of the 7th ACM International Conference on Mobile Computing and Networking}, +year = 2001 +} + +@InProceedings{rohl:97, +author = {{C. Rohl} and {H. Woesner} and {A. Wolisz}}, +title = {A Short look on Power Saving Mechanisms in the Wireless LAN Standard Draft {IEEE} 802.11}, +booktitle = {Proceedings of the 6th WINLAB Workshop on Third Generation Wireless System}, +year = 1997 +} + +@InProceedings{Tseng02, +author = {{Y.-C. Tseng} and {C.-S. Hsu} and {T.-Y. Hsieh}}, +title = {Power-Saving Protocols for {IEEE} 802.11-Based Multi-Hop Ad Hoc Networks}, +booktitle = {Proceedings of the IEEE INFOCOM}, +year = 2002 +} + +@InProceedings{ShihLiuCheong03, + author = {C.-S. Shih and J. W.-S. Liu and I. K. Cheong}, + title = {Scheduling Jobs with Multiple Feasible Intervals}, + booktitle = {Proceedings of the International Conference on Real-Time and Embedded +Computing Systems and Applications (RTCSA)}, + pages = {213 -- 231}, + address = {Tainan, Taiwan}, + month = {18--20 February }, + year = {2003} +} + +@InProceedings{zheng:03a, +author = {{R. Zheng} and {R. Kravets}}, +title = {On-demand power management in ad hoc networks}, +booktitle = {Proceedings of the IEEE INFOCOM 2003}, +year = 2003} + +@InProceedings{zheng:03b, +author = {{R. Zheng} and {J. Hou} and {L. Sha}}, +title = {Asynchronous wakeup in ad hoc networks}, +booktitle = {The Fourth ACM International Symposium on Mobile Ad Hoc Networking and Computing (MobiHoc)}, +year = 2003} + +@InProceedings{Caccamo02, + author = {{M. Caccamo} and {L. Y. Zhang} and {L. Sha} and {G. Buttazzo}}, + title = {An Implicit Prioritized Access Protocol for Wireless Sensor Networks}, + booktitle = {RTSS}, + year = 2002 +} + +@InProceedings{YangVaidya02, + author = {{X. Yang} and {N. H.Vaidya}}, + title = {Priority Scheduling in Wireless Ad Hoc Networks}, + booktitle = {Proceedings of the ACM MobiHoc}, + year = 2002 +} + +@Manual{Shih03, + author = {{C.-S. Shih} and {S. Gopalakrishnan} and {P. Ganti} and {M. Caccamo} and {L. Sha}}, + title = {Template-Based Real-Time Dwell Scheduling with Energy Constraint}, + organization = {University of Illinois}, + address = {http://www-rtsl.cs.uiuc.edu} +} + +@InProceedings{ShihGoGaCaSh03, + title = {Template-Based Real-Time Dwell Scheduling with Energy Constraint}, + author = {{C.-S. Shih} and {S. Gopalakrishnan} and {P. Ganti} and {M. Caccamo} and {L. Sha}}, + booktitle = RTAS03, + year = {2003} +} + +@InProceedings{dong98, + title = {Time Slot Allocation for Real-Time Messages with Negotiable Distance Constrains}, + author = {{L. Dong} and {R. G. Melhem} and {D. Moss\`{e}}}, + year = {1998}, + booktitle = RTAS, + pages = {131 -- 136} +} + +@InProceedings{Spring, + author = {{D. Niehaus} and {K. Ramamritham} and {J. A. Stankovic} and {G. Wallace} and Charles Weems}, + title = {The Spring Scheduling Co-Processor: Design, Use And Performance}, + booktitle = RTSS, + pages = {106 -- 111}, + year = {1993} +} + +@InProceedings{ShihLiu03, + author = {{C.-S. Shih} and {J. W.-S. Liu}}, + title = {Acquiring and Incorporating State-Dependent Timing Requirements}, + booktitle = {Proceedings of the 11th IEEE International Requirements Engineering Conference (RE'03)}, + pages = {87 -- 94}, + address = {Monterey Bay, CA USA}, + year = {2003} +} + +@InProceedings{LeePSL03, + author = {{C.-G. Lee} and {C.-S. Shih} and {L. Sha}}, + title = {Radar dwell scheduling considering physical characteristics of phased array antenna}, + booktitle = RTSS, + year = {2003} +} + +@InProceedings{ShRL88, + author = {{L. Sha} and {R. Rajkumar} and {J. P. Lehoczky}}, + title = {Real-time synchronization protocols for multiprocessors}, + pages = {259 -- 269}, + booktitle = RTSS, + year = {1988} +} + +@article{CoGJ84, + author = {{E. G. Coffman} and {M. R. Garey}}, + title = {Proof of the 4/3 conjecture for preemptive vs nonpreemptive two processor scheduling}, + journal = {Journal of ACM}, + volume = {40}, + number = {5}, + year = {1993} +} + +@TechReport{OhBa96, + author = {{D. I. Oh} and {T. P. Baker}}, + title = {Utilization bounds for n-processor rate-monotone scheduling with static processor assignment}, + institution = {Department of Computer Science, Florida State University}, + year = {1996}, +} + +@Article{DeLi78, + author = {{S. K. Dhall} and {C. L. Liu}}, + title = {On a Real-Time Scheduling Problem}, + journal = {Operations Research}, + year = {1978}, + volume = {26}, + number = {1}, + pages = {127 -- 140}, + month = {February} +} + +@Article{BLOS96, + author = {{A. Burchard} and {J. Liebeherr} and {Y. Oh} and {S. H. Son}}, + title = {New strategies for assigning real-time tasks to multiprocessor systems}, + journal = {IEEE Transactions on Computers}, + year = {1996}, + volume = {44}, + number = {12}, + pages = {1429--1442}, + month = {December} +} + +@InProceedings{ShihLiuSha01, + author = {{C.-S. Shih} and {L. Sha} and {J. W.-S. Liu}}, + title = {Task scheduling with variable deadlines}, + year = {2001}, + booktitle = RTAS, + address = {Taipei, Taiwan}, + month = {May}, + pages = {120 -- 122} +} + +@InProceedings{YuanNahrstedt03, + author = {{W. Yuan} and {K. Nahrstedt}}, + title = {Energy-efficient soft real-time {CPU} scheduling for mobile multimedia systems}, + OPTcrossref = {}, + OPTkey = {}, + booktitle = {the 19th ACM Symposium on Operating Systems Principles}, + OPTpages = {}, + year = {2003}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + address = {Bolton Landing (Lake George), New York USA}, + month = {October}, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + + +@InProceedings{AMMA01, + author = {{H. Aydin} and {R. Melhem} and {D.Moss\`{़}} and {P. M. Alvarez}}, + title = {Determining optimal processor speeds for periodic real-time tasks with +different power characteristics}, + OPTcrossref = {}, + OPTkey = {}, + booktitle = {Euromicro Conference on Real-Time Systems}, + OPTpages = {}, + year = {2001}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + address = {Delft, Holland}, + OPTmonth = {}, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + + +@InProceedings{PillaiShin01, + author = {{P. Pillai} and {K. G. Shin}}, + title = {Real-time dynamic voltage scaling for low-power embedded operating systems}, + OPTcrossref = {}, + OPTkey = {}, + booktitle = {the 18th ACM Symposium on Operating Systems Principles}, + pages = {89--102}, + year = {2001}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + OPTaddress = {}, + month = {October }, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{Aydin01, + author = {{H. Aydin} and {R. Melhem} and {D. Moss\`{़}} and {P. Mejia Alvarez}}, + title = {Dynamic and aggressive scheduling techniques for power-aware real-time systems}, + OPTcrossref = {}, + OPTkey = {}, + booktitle = RTSS, + OPTpages = {}, + year = {2001}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + address = {London, England}, + OPTmonth = {}, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + + + +@InProceedings{SaewongRaj03, + author = {{S. Saewong} and {R. Rajkumar}}, + title = {Practical voltage-scaling for fixed-priority rt-systems}, + OPTcrossref = {}, + OPTkey = {}, + OPTbooktitle = {Proceedings of IEEE Real-Time and Embedded Technology and Applications +Symposium}, + OPTpages = {}, + OPTyear = {2003}, + OPTeditor = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + OPTaddress = {Washington, D.C. USA}, + OPTmonth = {May}, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{LutzMikulski03, + author = {{R. R. Lutz} and {I. C. Mikulski}}, + title = {Resolving requirements discovery in testing and operaitons}, + booktitle = {Proceedings of the 11th IEEE International Requirements Engineering Conference (RE'03)}, + pages = {33 -- 41}, + address = {Monterey Bay, CA USA}, + year = {2003} +} + +@Article{DuboisPohl03, + author = {{E. Dubois} and {K. Pohl}}, + title = {RE 02: A major step toward a mature requirements engineering community}, + journal = {IEEE Software}, + year = {2003}, + volume = {20}, + number = {1}, + pages = {14-15}, + month = {Jan/Feb} +} + +@Book{Martin02, + author = {R. C. Martin}, + title = {Agile Software Development, Principles, Patterns, and Practices}, + publisher = {Prentice Hall Inc.}, + address = {Upper Saddle River, NJ, USA}, + year = {2002} +} + +@InProceedings{ShihGoGaCaSh0302, + title = {Scheduling Real-Time Dwells Using Tasks with + Synthetic Periods}, + author = {{C.-S. Shih} and {S. Gopalakrishnan} and {P. Ganti} and {M. Caccamo} and {L. Sha}}, + booktitle = RTSS, + year = {2003} +} + +@InBook{bill87, + ALTauthor = {}, + ALTeditor = {}, + title = {Modern Radar Techniques}, + chapter = {Computers and Data Processing in Radar}, + publisher = {Collins Technique Books}, + year = {1987} +} + +@InBook{ModernRadar87, + ALTauthor = {M. J. B. Scanlan}, + ALTeditor = {}, + title = {Modern Radar Techniqures}, + chapter = {Computers and Data Processing in Radar}, + publisher = {Blackwell Science Ltd}, + year = {1987}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + OPTtype = {}, + OPTaddress = {}, + OPTedition = {}, + OPTmonth = {}, + OPTpages = {}, + OPTnote = {}, + OPTannote = {} +} + +@TechReport{ShihTR04, + author = {{C.-S. Shih} and {P. Ganti} and {L. Sha}}, + title = {Schedulability and Fairness for Computation + Tasks in Surveillance Radar Systems}, + institution = {National Taiwan University}, + year = 2004, + note = {http://www.csie.ntu.edu.tw/\~{ }cshih} +} + + + +% tech report about performance +@TECHREPORT{acsa, + AUTHOR = {{D. Carman} and {J. Adcock} and {W. Griffin}, + {M. Heyman} and {R. Knobbe} and {C. Scace} and {R. Thomas}}, + TITLE = {Adaptive Cryptographically Synchronized Authentication}, + INSTITUTION = {NAI Labs, The Security Research Division of Network Associates, Inc.}, + YEAR = 2000 +} + +% miscelaneous +@TECHREPORT{statics, + TITLE = {International Internet Statistics}, + INSTITUTION = {Taylor Nelson Sofres Interactive Report}, + YEAR = {2002} +} + +% doc about implementation + +@TECHREPORT{selinux1, + TITLE = {Meeting Critical Security Objectives with Security-Enhanced +Linux}, + author = {{P. A. Loscocco} and {S. D. Smalley}} +} + +@TECHREPORT{selinux2, + TITLE = {Integrating Flexible Support for Security Policies into the Linux Operating System}, + author = {{P. A. Loscocco} and {S. D. Smalley}} +} + +% Security Target and Protection Profile + +@TECHREPORT{ccpart, + TITLE = {Common Criteria for Information Technology +Security Evaluation, version 2.1}, + YEAR = 1999, + month = {August} +} + +@TECHREPORT{CTCPEC, + TITLE = {Canadian Trusted Computer Product Evaluation Criteria}, + INSTITUTION = {Canadian System Security Centre, Communications Security Establishment, +Government of Canada}, + YEAR = {1993}, + month = {January} +} + +@TECHREPORT{FC, + TITLE = {Federal Criteria for Information Technology Security, +Draft Version 1.0}, + INSTITUTION = {National Institute of Standards and +Technology, National Security Agency}, + YEAR = {1993}, + month = {January} +} + +@TECHREPORT{ITSEC, + TITLE = {Information Technology Security Evaluation Criteria, Version 1.2}, + INSTITUTION = {Office for Official Publications of the European Communities}, + YEAR = {1991}, + month = {June} +} + +@TECHREPORT{TCSEC, + TITLE = {Trusted Computer Systems Evaluation Criteria}, + INSTITUTION = {US DoD 5200.28-STD}, + YEAR = {1985}, + month = {December} +} + +@TECHREPORT{ALFWPP-LR, + TITLE = {U.S. Department of Defense Application-Level Firewall Protection Profile for Basic Robustness Environments}, + author = {{W. Jansen} and {J. Walsh} and {K. V. Dolan} and {P. A. Wright}}, + month = {June}, + year = {2000} +} + +@TECHREPORT{ALFWPP-MR, + TITLE = {U.S. Department of Defense Application-Level Firewall Protection Profile for +Medium Robustness Environments}, + author = {{K. V. Dolan} and {P. A. Wright} and {R. R. Montequin}}, + month = {June}, + year = {2000} +} + +@TECHREPORT{MLOSPP-MR, + TITLE = {Protection Profile for Multilevel Operating Systems in +Environments Requiring Medium Robustness}, + author = {{K. V. Dolan} and {P. A. Wright} and {R. R. Montequin}}, + INSTITUTION = {National Security Agency}, + month = {May}, + year = {2001} +} + +@TECHREPORT{SLOSPP-MR, + TITLE = {Protection Profile for Single-level Operating Systems in +Environments Requiring Medium Robustness}, + INSTITUTION = {National Security Agency}, + month = {May}, + year = {2001} +} + +@TECHREPORT{SOLARIS8-ST, + TITLE = {Solaris 8 Security Target}, + author = {D. Kucukreisoglu}, + month = {March}, + year = {2003} +} + +@TECHREPORT{TFFWPP-LR, + TITLE = {U.S. Government Traffic-Filter Firewall Protection Profile for Low-Risk Environments}, + author = {{W. Jansen} and {J. Walsh} and {K. V. Dolan} and {P. A. Wright}}, + month = {April}, + year = {1999} +} + +@TECHREPORT{TFFWPP-MR, + TITLE = {U.S. Department of Defense Traffic-Filter Firewall Protection Profile for Medium +Robustness Environments}, + author = {{K. V. Dolan} and {P. A. Wright} and {R. R. Montequin} and {B. Mayer} and {L. Gilmore} and {C. Hall}}, + month = {May}, + year = {2000} +} + +@TECHREPORT{VID4016-ST, + TITLE = {NetScreen Appliances Security Target: EAL4 Augmented. Science Applications International Corporation +Common Criteria Testing Laboratory}, + month = {October}, + year = {2003} +} + +@TECHREPORT{TTAP-ST, + TITLE = {WatchGuard LiveSecurity System with Firebox II 4.1 Security Target}, + INSTITUTION = {Computer Sciences Corporation}, + month = {August}, + year = {2000} +} + +@TECHREPORT{ST_VID1004-ST, + TITLE = {SecureNet Pro. Intrusion Detection System Version 4.1 SP1 Security Target}, + INSTITUTION = {COACT, Inc.}, + month = {December}, + year = {2002} +} + +@TECHREPORT{ST_VID2013-ST, + TITLE = {A Network Infrastructure Security Product For Attack + Detection, Analysis AND Response}, + INSTITUTION = {Computer Sciences Corporation}, + month = {July}, + year = {2003} +} + +% Firewall performance + +@misc{ and-firewall, + author = {{M. Lyu} and {L. Lau}}, + title = {Firewall Security: Policies, Testing and Performance Evaluation} +} + +@article{ydlin, + author = {{Y.-D. Lin} and {H.-Y. Wei} and {S.-T. Yu}}, + title = {Building an Integrated Security Gateway: Mechanisms, Performance Evaluations, Implementations, and Research Issues}, + journal = {IEEE Communications Surveys \& Tutorials.}, + volume = {4}, + number = {1}, + pages = {2--15}, + year = {2002} +} + +@article{ aesreport, + author = {{J. Nechvatal} and {E. Barker} and {L. Bassham} and {W. Burr} and {M. Dworkin} and {J. Foti} and {E. Roback}}, + institution = {Information Technology Laboratory National Institute of Standards and Technology}, + title = {Report on the Development of the Advanced Encryption Standard ({AES})}, + year = {2000} +} + +@masterthesis{ melara, + author = {A. J. Melara}, + title = {Performance Analysis of the Linux firewall in a host}, + year = {2002}, + chapter = {6}, + school = {California Polytechnic State University} +} + +% Firewall analysis +@misc{kamara-analysis, + author = {{S. Kamara} and {S. Fahmy} and {E. Schultz} and {F. Kerschbaum} and {M. Frantzen}}, + title = {Analysis of Vulnerabilities in Internet Firewalls}, + url = {http://citeseer.nj.nec.com/562741.html} +} + +@techreport{ haeni-firewall, + author = {R. E. Haeni}, + title = {Firewall Penetration Testing}, + institution = {The George Washington University Cyberspace Policy Institute}, + address = {2033 K St, Suite 340N, Washington, DC, 20006, US}, + year = 1997, + month = Jan, + url = {http://citeseer.nj.nec.com/haeni97firewall.html} +} + +@TECHREPORT{fips, + author = {National Institute of Standards and Technology (NIST)}, + title = {Advanced Encryption Standard (AES)}, + year = 2001, + month = Nov} + + +% Request For Comments +@manual{ rfc1009, + author = {{R. Braden} and {J. Postel}}, + title = {RFC 1009, Requirements for Internet gateways}, + institution = {RFC1009}, + year = 1987, + month = June +} + +@manual{ rfc791, + title = {INTERNET PROTOCOL}, + institution = {RFC 791, Information Sciences Institute, + University of Southern California}, + year = 1981, + month = Sep +} + +@manual{ rfc826, + title = {RFC 826, An Ethernet Address Resolution Protocol}, + author = {D. C. Plummer}, + year = 1982, + month = Nov +} + +@manual{ rfc904, + title = {RFC 904, Exterior Gateway Protocol Formal Specification}, + author = {D. L. Mills}, + year = 1984, + month = April +} + +@manual{ rfc2402, + title = {RFC 2402, IP Authentication Header}, + author = {{S. Kent} and {R. Atkinson}}, + year = 1998, + month = November +} + +@manual{ rfc2406, + title = {RFC 2406, IP Encapsulating Security Payload}, + author = {{S. Kent} and {R. Atkinson}}, + year = 1998, + month = November +} + +@manual{ rfc2409, + title = {RFC 2409, The Internet Key Exchange}, + author = {{D. Harkins} and {D. Carrel}}, + year = 1998, + month = November +} + +@BOOK{ hle, + AUTHOR = {{B. Hatch} and {J. Lee}}, + TITLE = {Hacking Linux Exposed}, + PUBLISHER = {McGraw Hill}, + YEAR = {2003} +} + +@BOOK{ nse, + AUTHOR = {W. Stallings}, + TITLE = {Network Security Essentials}, + PUBLISHER = {Prentice Hall Inc.}, + address = {Upper Saddle River, NJ, USA}, + YEAR = {2002} +} + +@BOOK{ crackdes, + AUTHOR = {Electronic Frontier Foundation}, + TITLE = {Cracking DES}, + PUBLISHER = {O'Reilly}, + YEAR = {1998} +} + + +% web infomation + +@inproceedings{cc, + author = {Common Criteria for +Information Technology Security Evaluation (CCITSE)}, + title = {http://csrc.nist.gov/cc/} + } + +@inproceedings{cbq, + author = {Class-Based Queueing (CBQ)}, + title = {http://www.icir.org/floyd/cbq.html} + } + +@inproceedings{cert, + author = {CERT Coordination Center Statistics}, + title = {http://www.cert.org/stats/} + } + +@inproceedings{hping, + author = {hping}, + title = {http://www.hping.com/} + } + +@inproceedings{freeswan, + author = {FreeS/WAN}, + title = {http://www.freeswan.org} + } + +@inproceedings{fwtk, + author = {The FireWall ToolKit (FWTK)}, + title = {http://www.fwtk.org} + } + +@inproceedings{iperf, + author = {Iperf}, + title = {http://dast.nlanr.net/Projects/Iperf/} + } + +@inproceedings{iptables, + author = {iptables}, + title = {http://www.netfilter.org} + } + +@inproceedings{nessus, + author = {The Nessus Project}, + title = {http://www.nessus.org} + } + +@inproceedings{netperf, + author = {Netperf}, + title = {http://www.netperf.org/netperf/NetperfPage.html} + } + +@inproceedings{freebsd, + author = {FreeBSD}, + title = {http://www.openbsd.org/} + } + +@inproceedings{pam, + author = {Pluggable Authentication Modules (PAM)}, + title = {http://www.kernel.org/pub/linux/libs/pam} + } + +@inproceedings{selinux, + author = {Security-Enhanced Linux (SELinux)}, + title = {http://www.nsa.gov/selinux} + } + +@inproceedings{snort, + author = {Snort}, + title = {http://www.snort.org} + } + +@inproceedings{ssl, + author = {Secure Sockets Layer (SSL)}, + title = {http://www.openssl.org/} + } + +@inproceedings{vtune, + author = {Intel\texttrademark VTune}, + title = {http://www.intel.com/software/products/vtune/} + } + +@InProceedings{Seto96, + title = {On Task Schedulability in Real-Time Control System}, + author = {{D. Seto} and {J.P. Lehoczky} and {L. Sha} and {K.G. Shin}}, + booktitle = RTSS, + year = {1996} +} + +@Article{Butazzo02, + author = {{G. Buttazzo} and {G. Lipari} and {M. Caccamo} and {L. Abeni}}, + title = {Elastic Scheduling for Flexible Workload Management}, + journal = {IEEE Transactions on computers}, + year = {2002}, + volume = {51}, + number = {3}, + month = {March} +} + +@InProceedings{Caccamo03, + title = {The Capacity of Implicit EDF in Wireless Sensor Networks}, + author = {{M. Caccamo} and {L. Y. Zhang}}, + booktitle = {Proceedings of the Euromicro Conference on Real-Time Systems}, + year = {2003} +} + +@InProceedings{Caccamo04, + title = {Collaborative Resource Allocation in Wireless Sensor Networks}, + author = {{S. Giannecchini} and {M. Caccamo} and {C.-S. Shih}}, + booktitle = {Proceedings of the Euromicro Conference on Real-Time Systems}, + year = {2004} +} + +@InProceedings{TsaiChen04, + title = {Collaborative Resource Allocation in Wireless Sensor Networks}, + author = {{Y.-H. Tsai} and {J.-J. Chen} and {T.-W. Kuo} and {C.-S. Shih}}, + booktitle = {Proceedings of the Sixth International Conference on Information Integration and Web Based Applications and Services (iiWAS2004)}, + year = {2004} +} + +@InProceedings{ShihGanti04, + title = {Schedulability and Fairness for Computation Tasks in Surveillance Radar Systems}, + author = {{C.-S. Shih} and {P. Ganti} and {L. Sha}}, + booktitle = { Proceedings of the 10th RTCSA conference (Real-time and Embedded Computing Systems and Applications Conference}, + year = {2004} +} + +@InProceedings{Gopalakrishnan04, + title = {Finite-Horizon Scheduling of Radar Dwells with Online Template Construction}, + author = {{S. Gopalakrishnan} and {M. Caccamo} and {C.-S. Shih} and {C.-G. Lee} and {L. Sha}}, + booktitle = RTSS, + year = {2004} +} + +@InProceedings{LeeKang04, + title = {Schedulability Envelope for Real-Time Radar Dwell Scheduling and Its Application to Multi-Ship Multi-Radar Systems}, + author = {{C.-G. Lee} and {P.-S. Kang} and {C.-S. Shih} and {M. Caccamo} and {L. Sha}}, + booktitle = {Proceedings of Radar 2004 International Conference}, + month = {October}, + year = {2004} +} + +@Article{ShihLiu04, + author = {{C.-S. Shih} and {J. Liu}}, + title = {Acquiring and Incorporating State-Dependent Real-Time Performance Requirements}, + journal = {Requirements Engineering Journal}, + year = {2004}, + volume = {9}, + number = {2}, + page = {121 -- 131}, + month = {May} +} + +@Article{LeeShih04, + author = {{C.-G. Lee} and {C.-S. Shih} and {L. Sha}}, + title = {Online QoS Optimization Using Service Class in Surveillance Radar Systems}, + journal = {Real-Time Systems Journal}, + year = {2004}, + volume = {28}, + number = {1}, + page = {5 -- 37}, + month = {October} +} + +@InProceedings{ShihGoGan04, + author = {{C.-S. Shih} and {S. Gopalakrishnan} and {P. Ganti} and {M. Caccamo} and {L. Sha}}, + title = {Synthesizing Task Periods for Dwells in Multi-Function Phased Array Radars}, + booktitle = {Proceedings of the IEEE Radar Conference}, + year = {2004} +} + +@BOOK{BE:98, + AUTHOR = "A. Borodin and R. El-Yaniv", + editor = "", + TITLE = "Online computation and competitive analysis", + PUBLISHER = "Cambridge University Press", + YEAR = "1998", +} + +@article{LS:90, + author = "J. K. Lenstra and D. Shmoys and E. Tardos", + title = "Approximation Algorithms for Scheduling Unrelated Parallel Machines", + journal = "Mathematical Programming", + volume= "46", + pages = "259-271", + year = "1990", +} + +@inproceedings{AB:92, + author = "Y. Azar and A. Broder and A. Karlin", + title = "On-line load balancing", + booktitle = "Proceedings of the 33rd Annual IEEE Symposium on Foundations of Computer Science", + pages = "218-225", + year = "1992", +} + +@inproceedings{AE:97, + author = "Y. Azar and L. Epstein", + title = "On-line load balancing with of temporary tasks on identical machines", + booktitle = "Proceeding of the 5th Israeli Symposium on Theory of Computing and Systems", + pages = "119-125", + year = "1997", +} + +@inproceedings{AK:93, + author = "Y. Azar and B. Kalyanasundaram and S. A. Plotkin and K. Pruhs and O. Waarts", + title = "Online load balancing of temporary tasks", + booktitle = "WADS '93: Proceedings of the Third Workshop on Algorithms and Data Structures", + year = {1993}, + pages = {119--130}, + publisher = "Springer-Verlag", +} + +@article{EL:86, + author = "D. L. Eager and E. D. Lazowska and J. Zahorjan", + title = "Adaptive load sharing in homogeneous distributed systems", + journal = "IEEE Transactions on Software Engineering", + volume = "12", + number = "5", + pages = "622-675", + year = "1986", +} + +@article{Z:88, + author = "S. Zhou", + title = "A trace-driven simulation study of dynamic load balancing", + journal = "IEEE Transactions on Software Engineering", + volume = "14", + number = "9", + pages = "1327-1341", + year = "1988", +} + +@article{KK:93, + author = {{O. Kremien} and {J. J. Kramer} and {J. Magee}}, + title = {Scalable, adaptive load sharing for distributed systems}, + journal = {IEEE Parallel and Distributed Technology}, + volume = "1", + number = "3", + pages = "67--72", + year = "1993", +} +@article{MT:90, + author = "R. Mirchandaney and D. Towsley and J. A. Stankovic", + title = "Adaptive load sharing in heterogeneous distributed systems", + journal = "Journal of Parallel and Distributed Computing", + volume = "9", + number = "4", + pages = "331-346", + year = "1990", +} + +@article{CK:79, + author = "Y. Chow and W. Kohler", + title = "Models for Dynamic Load Balancing in a Heterogeneous Multiple Processor System", + journal = "IEEE Transactions on Computers", + volume = "28", + number = "5", + pages = "334-361", + year = "1979", +} + +@article{LR:92, + author = "H.-C. Lin and C. S. Raghavendra", + title = "A Dynamic load-balancing policy with a central job dispatcher (LBC)", + journal = "IEEE Transactions on Software Engineering", + volume = "18", + number = "2", + pages = "148-158", + year = "1992", +} + +@article{LK:87, + author = "F. C. H. Lin and R. M. Keller", + title = "The gradient model load balancing method", + journal = "IEEE Transactions on Software Engineering", + volume = "13", + number = "1", + pages = "32-38", + year = "1987", +} + + +@Article{Wren97, + author = {{C. Wren} and {A. Azarbayejani} and {T. Darrell} and {A. Pentland}}, + title = {Pfinder: Real-Time Tracking of the Human Body}, + journal = {IEEE Transactions on PAMI}, + year = {1997} +} + +@InProceedings{Collins00, + author = {{R.T. Collins} and {A.J. Lipton} and {T. Kanade}}, + title = {A System for Video Surveillance and Monitoring}, + booktitle = {Conference on Automated Deduction}, + pages = {497 -- 501}, + year = {2000} +} + +@InProceedings{Huwer00, + author = {{S. Huwer} and {H. Niemann}}, + title = {Adaptive Change Detection for Real-Time Surveillance Applications}, + booktitle = {Third IEEE International Workshop on Visual Surveillance}, + year = {2000}, +} + +@InProceedings{ZhouCollins03, + author = {{X. Zhou} and {R. Collins}}, + title = {A Master-Slave System to Acquire Biometric Imagery of Humans at Distance}, + booktitle = {the First ACM International Workshop on Video Surveillance}, + year = {2003}, +} + +@InProceedings{IntilleDavis97, + author = {{S. Intille} and {J. Davis} and {A. Bobick}}, + title = {Real-time closed-world tracking}, + booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition}, + year = {1997}, +} + +@InProceedings{Piater02, + author = {{J. H. Piater} and {S. Richetto} and {J. L. Crowley}}, + title = {Event-based Activity Analysis in Live Video Using a Generic Object Tracker}, + booktitle = {Third IEEE International Workshop on Performance Evaluation of Tracking and Surveillance}, + year = {2002}, +} + + + +@InProceedings{PiaterCrowley01, + author = {{J. H. Piater} and {J. L. Crowley}}, + title = {Multi-Modal Tracking of Interacting Targets Using Gaussian Approximations}, + booktitle = {Second IEEE International Workshop on Performance Evaluation of Tracking and Surveillance}, + year = {2001}, +} + +@Article{Bobick01, + author = {{F. Bobick} and {J. W. Davis}}, + title = {The Recognition of Human Movement Using Temporal Templates}, + journal = {IEEE Transaction on PAMI}, + year = {2001}, + volume = {23}, + number = {3}, +} + +@Article{Barron94, + author = {{J. Barron} and {D. Fleet} and {S. Beauchemin}}, + title = {Performance of optical flow techniques}, + journal = {International Journal of Computer Vision}, + year = {1994}, + volume = {12}, + number = {1}, + pages = {42 -- 77}, +} + +@InProceedings{ChiuLam03, + author = {{Calvin K. H. Chiu} and {K.-Y. Lam}}, + title = {Supporting Real-Time Active Visual Surveillance in Wireless Network}, + booktitle = {Joint IEEE International Workshop on Visual Surveillance \& Performance Evaluation of Tracking and Surveillance}, + year = {2003}, +} + +@InProceedings{RajGag95, + author = {{R. Rajkumar} and {M. Gagliardi} and {L. Sha}}, + title = {The Real-Time Publisher/Subscriber Inter-Process Communication Model for Distributed Real-Time Systems: Design and Implementation}, + booktitle = RTAS, + year = {1995}, +} + +@Article{Buchsbaum:04, + author = {Adam L. Buchsbaum and Howard Karloff and Claire Kenyon and Nick Reingold and Mikkel Thorup}, + title = {OPT Versus LOAD in Dynamic Storage Allocation}, + journal = {SIAM Journal on Computing}, + year = {2004}, + volume = {33}, + number = {3}, + pages = {632-646}, +} + +@InProceedings{Dick:98, + author = {Robert P. Dick and David L. Rhodes and Wayne Wolf}, + title = {{TGFF}: Task Graphs for Free}, + booktitle = {Proc. Int. Workshop Hardware/Software Codesign}, + year = {1998}, +} + +@Book{Garey:79, + author = {Michael R. Garey and David S. Johnson}, + title = {Computers and Intractability}, + publisher = {W. H. Freeman and Company}, + year = {1979}, +} + +@Article{Gergov:96, + author = {Jordan Gergov}, + title = {Approximation Algorithms for Dynamic Storage Allocation}, + journal = {Proc. 4th European Symposium on Algorithms, Lecture Notes in Computer Science 1136}, + year = {1996}, + pages = {52-61}, +} + +@Article{Gergov:99, + author = {Jordan Gergov}, + title = {Algorithms for Compile-Time Memory Optimization}, + journal = {Proc. 10th ACM-SIAM Symposium on Discrete Algorithms}, + year = {1999}, + pages = {907-908}, +} + +@Article{Gavril:72, + author = {Fanica Gavril}, + title = {Algorithms for minimum coloring, maximum clique, minimum covering by cliques, and maximum independent set of a chordal graph}, + journal = {SIAM}, + year = {1972}, + volume = {1}, + number = {2}, + pages = {180-187}, + month = {June}, +} + +@Article{Kierstead:88, + author = {H. A. Kierstead}, + title = {The Linearity of First-Fit Coloring of Interval Graphs}, + journal = {SIAM J. Discrete Math 1}, + year = {1988}, + pages = {526-530}, +} + +@Article{Kierstead:91, + author = {H. A. Kierstead}, + title = {A Polynomial Time Approximation Algorithm for Dynamic Storage Allocation}, + journal = {Discrete Mathematics}, + year = {1991}, + volume = {87}, + pages = {231-237}, + month = {January}, +} + +@InProceedings{Kim:04a, + author = {Sungchan Kim and Chaeseok Im and Soonhoi Ha}, + title = {Efficient Exploration of On-Chip Bus Architectures and Memory Allocation}, + booktitle = {Proc. International Conference on Hardware/Software Codesign and System Synthesis}, + pages = {248-253}, + year = {2004}, + month = {September}, +} + +@Article{Kim:04b, + author = {Sungchan Kim and Chaeseok Im and Soonhoi Ha}, + title = {Schedule-Aware Performance Estimation of Communication Architecture for Efficient Design Space Exploration}, + journal = {IEEE Transactions on Very Large Scale Integration systems}, + year = {2005}, + volume = {13}, + pages = {539-552}, + month = {May}, +} + +@InProceedings{Lahiri:99, + author = {Kanishka Lahiri and Anand Raghunathan and Sujit Dey}, + title = {Fast Performance Analysis for Bus-Based System-on-Chip Communication}, + booktitle = {Proceddings of the IEEE/ACM International Conference on Computer-Aided Design (ICCAD)}, + year = {1999}, +} + +@Article{Mooney:02, + author = {Vincent J. Mooney III and Douglas M. Blough}, + title = {A hardware-software real-time operating system framework for SoCs}, + journal = {IEEE Design and Test of Computers}, + year = {2002}, + volume = {19}, + number = {6}, + pages = {44-51}, + month = {Nov-Dec}, +} + +@Article{Oh:03, + author = {Hyunok Oh and Soonhoi Ha}, + title = {Memory-optimized Software Synthesis from Dataflow Program Graphs with Large Size Data Samples}, + journal = {EURASIP Journal on Applied Signal Processing}, + year = {2003}, + pages = {514-529}, +} + + + +@InProceedings{b:Chicknook, + author = {Pai H Chou and Ross B. Ortega and Gaetano Borriello}, + title = {The Chinook Hardware/Software Co-Synthesis System}, + booktitle = {Eighth International Symposium on System Synthesis}, + year = {1995}, + organization = {IEEE}, + pages = {} +} + + +@InProceedings{b:COSYN, + author = {Bharat P. Dave and Ganesh Lakshminarayana and Niraj K. Jha}, + title = {{COSYN}: Hardware-Software Co-Synthesis of Embedded Systems}, + booktitle = {Conference on Design Automation}, + year = {1997}, + organization = {IEEE}, + pages = {703--708} +} + + +@InProceedings{b:TGFF, + author = {R.P. Dick and D.L. Rhondes and W.Wolf}, + title = {{TGFF}: Task graphs for free}, + booktitle = {Workshop Hardware/Software Codesign}, + year = {1998}, + organization = {}, + pages = {} +} + + +@InProceedings{b:digital, + author = {Rajesh K. Gupta and Giovanni DE Micheu}, + title = {Hardware-Software Cosynthesis for Digital Systems}, + booktitle = {IEEE Design and Test of Computers}, + year = {1993}, + organization = {IEEE}, + pages = {} +} + +@InProceedings{b:microcontroller, + author = {Rolf Ernst and JorgO Henkel and Thomas Benner}, + title = {Hardware-Software Cosynthesis for Microcontrollers}, + booktitle = {IEEE Design and Test of Computers}, + year = {1993}, + organization = {IEEE}, + pages = {} +} + + + +@InProceedings{b:mosyn, + author = {Hyunok Oh and Soonhoi Ha}, + title = {A Hardware-Software Cosynthesis Technique Based Heterogeneous Multiprocessor Scheduling}, + booktitle = {International Workshop on Hardware/Software Co-Design}, + year = {1999}, + organization = {}, + pages = {} +} + + +@InProceedings{b:Xie, + author = {Y. Xie and W. Wolf}, + title = {Allocation and Scheduling of Conditional Task Graph in Hardware Software Co-Synthesis}, + booktitle = {Design, Automation, and Test in Europe}, + year = {2001}, + organization = {}, + pages = {620--625} +} + + +@InProceedings{b:SAM, + author = {Richard J. Cloutier and Donald E. Thomas}, + title = {The combination of scheduling, allocation, and mapping in a single algorithm}, + booktitle = {27th ACM/IEEE conference on Design automation }, + year = {1991}, + organization = {}, + pages = {71--76} +} + +@ARTICLE{b:force, + AUTHOR = {P. Paulin and J. Knight}, + TITLE = {Force-Directed Scheduling for the Behavioral Synthesis of {ASIC}'s}, + JOURNAL = {IEEE Transactions on CAD/ICAS}, + YEAR = {1989}, + volume = {8}, + number = {6}, + pages = {661--679}, + month = {July}, +} + +@ARTICLE{b:Wolf-95, + AUTHOR = {Wayne Wolf}, + TITLE = {An Architectural Co-Synthesis Algorithm for Distributed, Embedded Computing Systems}, + JOURNAL = {IEEE Transactions on VLSI Systems}, + YEAR = {1995}, + volume = {5}, + number = {2}, + pages = {}, + month = {June}, +} + +@InProceedings{b:force-parallel, + author = {Pradeep Prabhakaran and Prithviraj Banerjee}, + title = {Parallel Algorithms for Force Directed Scheduling of Flattened and Hierarchical Signal Flow Graphs}, + booktitle = {International Conference on Computer Design}, + year = {1996}, + organization = {}, + pages = {66--71} +} + +@InProceedings{LehoczkySha87, + author = {{J. Lehoczky} and {L. Sha} and {J.K. Strosnider}}, + title = {Enhanced aperiodic responsiveness in hard-real-time environments}, + booktitle = RTSS, + year = {1987}, + pages = {261 -- 270}, +} + +@InProceedings{KuoLi87, + author = {{T.-W. Kuo} and {C.H. Li}}, + title = {A fixed-priority-driven open environment for real-time applications}, + pages = {256 -- 267}, + year = {1999}, + booktitle = RTSS, +} + +@InProceedings{Lipari01, + author = {{G. Lipari} and {S. Baruah}}, + title = {A hierarchical extension to the constant bandwidth server framework}, + booktitle = RTAS, + pages = {26--35}, + year = {2001}, + month = {May}, +} + +@InProceedings{RegehrStankovic01, + author = {J. Regehr and J. Stankovic}, + title = {HLS: A framework for composing soft real-time schedulers}, + booktitle = RTSS, + pages = {3--41}, + year = {2001}, +} + +@InProceedings{FengMok02, + author = {{M. Feng} and {A. Mok}}, + title = {A model of hierarchical realtime virtual resources}, + booktitle = RTSS, + pages = {26 -- 35}, + year = 2002, +} + +@InProceedings{ShinLee03, + author = {{I. Shin} and {I. Lee}}, + title = {Periodic Resource Model for Compositional Real-Time Guarantees}, + booktitle = RTSS, + year = {2003}, +} +@InProceedings{Banchs02, + author = {{Albert Banchs} and {Xavier P\`{e}rez}}, + title = {Distributed Weighted Fair Queueing in 802.11 Wireless LAN}, + year = {2002}, + booktitle = {IEEE International Conference on Communications (ICC2002)}, + month = {April}, + address = {New York, NY, USA} +} + +@Article{Panwar98, + author = {{S. Panwar} and {D. Towsley} and {J. Wolf}}, + title = {Optimal scheduling +polocies for a class of queue with customer dealines to the +beginning of services''}, + journal = {Journal of ACM}, + year = {1998}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Tassiulas93, + author = {{L. Tassiulas} and {A. Ephremides}}, + title = {Dynamic sercer allocation to parallel queue with randomly varyinh connectivity}, + journal = {IEEE Transactions on Information Theory}, + year = {1993}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Shakkottai02, + author = {{Sanjay Shakkottai} and {R. Srikant}}, + title = {Scheduling Real-Time Traffic With Dedalines over a Wireless Channel}, + journal = {Wireless Networks}, + year = {2002}, + volume = {8}, + number = {1}, + pages = {13-26}, + bibsource = {DBLP, http://dblp.uni-trier.de} +} + +@InProceedings{ChouLi91, + author = {{A.M. Chou} and {V.O.K. Li}}, + title = {Fair spatial TDMA channel access protocols for multihop radio networks}, + booktitle = {Proc. IEEE INFOCOM}, + pages = {1064 --1073}, + year = {1991}, +} + +@InProceedings{GusellaZatti86, + author = {{R. Gusella} and {S. Zatti}}, + title = {An election algorithm for a distributed clock synchronization program}, + booktitle = {Proc. IEEE 6th Int. Conf. Distributed +Computing Systems}, + pages = {364 -- 371}, + year = {1986}, + address = {Boston, MA U.S.A.} +} + +@Article{Garcia-Molina82, + author = {H. Garcia-Molina}, + title = {Elections in a Distributed Computing System}, + journal = {IEEE Transaction on Computers}, + year = {1982}, + volume = {C-13}, + number = {1}, + pages = {48 -- 59} +} + +@Article{Koppel05, + author = {{R. Koppel} and {J. P. Metlay} and {A. Cohen} and {B. Abaluck} and {A. Russell Localio} and {S. E. Kimmel} and {B. L. Strom}}, + title = {Role of Computerized Physician Order Entry Systems in Facilitating Medication Errors}, + journal = {The Journal of the American Medical Association}, + year = {2005}, + OPTkey = {}, + volume = {293}, + number = {10}, + pages = {1197 -- 1203}, + month = {March}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Wears05, + author = {{R. L. Wears} and {M. Berg}}, + title = {Computer Technology and Clinical Work: Still Waiting for Godot}, + journal = {The Journal of the American Medical Association}, + year = {2005}, + OPTkey = {}, + volume = {293}, + number = {10}, + pages = {1261 -- 1263}, + month = {March}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{LiuWang05, + author = {{J. W.S. Liu} and {B.Y. Wang} and {H.Y. Liao} and {C.Y. Huang} and {C. Shih} and {T.W. Kuo} and {A.C. Pang}}, + title = {Reference Architecture of Intelligent Appliances for the Elderly}, + booktitle = {18th International Conference on Systems Engineering}, + year = {2005}, + address = {Los Vegas, Nevada U.S.A.}, + month = {August} +} + +@TechReport{LiuWang05_2, + author = {{J. W. S. Liu} and {B. Y. Wang} and {C. W. Hsueh} and {Y. H. Liao} and {C. Shih} and {T. W. Kuo} and {A. C. Pang} and {W. H. Chen} and {Y. T. Liu} and {H. C. Yeh} and {T. S. Chou} and {C. Y. Huang} and {J. K. Zao}}, + title = {Reference Architecture of Intelligent Appliances for the Elderly}, + year = {2005}, + institution = {Institute of Information Science, Academia Sinica}, + number = {TR-IIS-5-007}, + month = {July}, + address = {Taipei, Taiwan} +} + +@string{emrURL = {\htmladdnormallink +{Frist aide says {EMR} bill could pass}{http://www.ihealthbeat.org/index.cfm?Action=dspItem\&itemID=100537}}} + +@misc{EMR04, + author = {iHealthBeat}, + title = {Frist aide says {EMR} bill could pass}, + url = {http://www.ihealthbeat.org/index.cfm?Action=dspItem\&itemID=100537}, + howpublished = {http://www.ihealthbeat.org}, + month = {January 30,}, + year = {2004}, + note = {Accessed August 30, 2005} +} + + +@Misc{ITstance04, + author = {iHealthBeat}, + title = {Clinton reiterates {IT} stance, details legislation}, + howpublished = {http://www.ihealthbeat.org}, + url = {http://www.ihealthbeat.org/index.cfm?Action=dspItem\&itemID=100529}, + month = {January 29,}, + year = {2004}, + note = {Accessed August 31, 2005} +} + +@Misc{Marshalek03, + author = {{G. Marshalek} and {S. Casey}}, + title = {Pain-Free {CPOE}: Following the right protocol is a critical step for encouraging physician adoption}, + howpublished = {http://www.healthmgttech.com}, + url = {http://www.healthmgttech.com/archives/h0203cpoe.htm}, + month = {February}, + year = {2003}, + note = {Accessed August 31, 2005} +} + +@InProceedings{Jersak03, + author = {{M. Jersak} and {K. Richter} and {R. Ernst}}, + title = {Performance Analysis for Complex Embedded Applications}, + booktitle = RTSS, + OPTpages = {}, + year = {2003}, + OPTaddress = {}, + OPTmonth = {} +} + +@Article{Bentley86, + author = {J. Bentley}, + title = {Programming Pearls: Little Languages}, + journal = {Communications of the ACM}, + year = {1986}, + volume = {29}, + number = {8}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Book{Kernighan82, + ALTauthor = {B. W. Kernighan}, + ALTeditor = {}, + title = {PIC-A Language for Typesetting Graphics}, + publisher = {Software - Practice and Experience}, + year = {1982}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTseries = {}, + OPTaddress = {}, + OPTedition = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Deursen00, + author = {{A. van Deursen} and {P. Klint} and {J. Visser}}, + title = {Domain-Specific Languages: An Annotated Bibliography}, + journal = {ACM SIGPLAN Notices}, + year = {2000}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Spinellis01, + author = {D. Spinellis}, + title = {Notable Design Patterns for Domain-Specific Languages}, + journal = {The Journal of Systems and Software}, + year = {2001}, + OPTkey = {}, + OPTvolume = {}, + OPTnumber = {}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@TechReport{Mernik03, + author = {{M. Mernik} and {J. Heering} and {A. M. Sloane}}, + title = {When and how to develop domain-specific languages}, + institution = {CWI Technical Report, }, + year = {2003}, + number = {SEN-E0309}, + OPTkey = {}, + OPTmonth = {}, + OPTyear = {}, + OPTannote = {} +} + +@TechReport{GMS05, + author = {{P. C. Hsiu} and {H. C. Yeh} and {P. H. Tsai} and {C.-S. Shih} and {D. H. Burkhardt} and {T. W. Kuo} and {J. W. S. Liu} and {T. Y. Huang}}, + title = {A General Model for Medication Scheduling}, + institution = {Institute of Information Sciences, Academia Sinica}, + year = {2005}, + number = {Technical Report No. TR-IIS-05-008}, + address = {Taipei, Taiwan}, + month = {October}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{BennerErnst95, + author = {{Th. Benner} and {R. Ernst} and {A. Osterling}}, + title = {Scalable performance scheduling for hardware-software cosynthesis}, + booktitle = {Proceedings of Design Automation Conference with EURO-VHDL (EURO-DAC) '95}, + pages = {164--169}, + year = {1995}, + month = {September 18--22}, + OPTnote = {This paper only considers the single task graph and there is no shared hardware in the task graph. A static scheduling algorithm is developed.} +} + +@Article{Dursco01, + author = {S. C. Dursco}, + title = {Technological Advances in Improving Medication Adherence in the Elderly}, + journal = {Annals of Long-Term Care: Clinical Care and Aging}, + year = {2001}, + volume = {9}, + number = {4}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@Misc{Pill_and_Scheduling, + title = {Pill boxes and medication scheduling}, + howpublished = {at \url{http://www.epill.com/} and \url{http://www.dynamic-living.com}}, + url = {at \url{http://www.epill.com/} and \url{http://www.dynamic-living.com/automated_medication_dispenser.htm}}, + OPTmonth = {}, + OPTyear = {}, + OPTnote = {}, + OPTannote = {} +} + +@Misc{MyPillBox, + OPTkey = {}, + OPTauthor = {}, + title = {My Pill Box}, + howpublished = {http://www.mypillbox.org}, + url = {http://www.mypillbox.org/mypillbox.php}, + OPTmonth = {}, + OPTyear = {}, + OPTnote = {}, + OPTannote = {} +} + +@misc{aspirin06, + author = {{Merck and Co., Inc.}}, + title = {Aspirin, {PDR OTC Drug}}, + days = {2nd}, + month = {March}, + year = {2006}, + howpublished = {http://www.mercksource.com}, + url = {http://www.mercksource.com/ppdocs/us/cns/content/pdrotc/otc_full/drugs/fgotc036.htm} +} + +@misc{PDRHealth, + author = {{Drug Information}}, + days = {2nd}, + month = {March}, + year = {2006}, + howpublished = {http://www.pdrhealth.com}, + url = {http://www.pdrhealth.com/drug_info/} +} + + + + +@Article{Law03, + author = {{A. V. Law} and {M. D. Ray} and {K. K. Knapp} and {J. K. Balesh}}, + title = {Unmet Needs in the Medication Use Process: Perceptions of Physicians, Pharmacists, and Patients}, + journal = {Journal of the American Pharmaceutical Association}, + year = {2003}, + volume = {43}, + number = {3}, + pages = {394--402} +} + +@TechReport{NPC92, + author = {{National Pharmaceutical Council}}, + title = {Noncompliance with Medication Regimens: An Economic Tragedy}, + institution = {National Pharmaceutical Council}, + year = {1992}, + OPTkey = {}, + OPTtype = {}, + OPTnumber = {}, + address = {Reston, Va}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@misc{medprompt06, + title = {Did you know? MedPrompt Web site}, + days = {2nd}, + month = {March}, + year = {2006}, + howpublished = {at \url{http://www.medprompt.com}}, + url = {at \url{http://www.medprompt.com/diduknow.htm}} +} + +@TechReport{RTLink05, + author = {{A. Rowe} and {R. Mangharam} and {R. Rajkumar}}, + title = {{RT-Link}: A {T}ime-{S}ynchronized {L}ink {P}rotocol for {E}nergy {C}onstrained {M}ulti-hop {W}ireless {N}etworks}, + institution = {Department of Electrical and Computer Engineering, Carnegie Mellon University}, + year = {2005}, + OPTkey = {}, + OPTtype = {}, + OPTnumber = {}, + OPTaddress = {}, + month = {August}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{Mori96, + author = {{H. Mori} and {Y. Mano} and {H. Takada} and {K. Sakamura}}, + title = {$\mu${ITRON} bus: a real-time control LAN for open network environment}, + booktitle = {Third International Workshop on Real-Time Computing Systems Application}, + year = {1996}, + pages = {227--234} +} + +@InProceedings{Richardson01, + author = {{P. Richardson} and {L. Seih} and {P. Haniak}}, + title = {A real-time control network protocol for embedded systems using controller area network({CAN})}, + booktitle = {IEEE Elestronics and Information Technology Conference}, + pages = {}, + year = {2001}, + month = {June}, + OPTnote = {} +} + +@CONFERENCE{Mills94, + author = {{D. L. Mills}}, + title = {Internet time synchronization: the network time protocol}, + booktitle = {Global states and time in distributed systems}, + year = {1994}, +} + +@Article{Mills98, + author = {{D. L. Mills}}, + title = {Precision Synchronization of Computer Network Clocks}, + journal = {ACM/IEEE Transactions on Networking}, + year = {1998}, + volume = {6}, + number = {5}, + pages = {505 -- 514} +} + +@InProceedings{Liao99, + author = {{C. Liao} and {M. Martonosi} and {D. W. Clark}}, + title = {Experience with an Adaptive Globally-Synchronizing Clock Algorithm}, + booktitle = {ACM SPAA}, + pages = {106-114}, + year = {1999}, + month = {June}, + OPTnote = {} +} + +@Article{Cristian89, + author = {{F. Cristian}}, + title = {Probabilistic clock synchronization}, + journal = {Distributed Computing}, + volume = {3}, + number = {146 -- 158}, + year = {1989} +} + +@Article{RamanathanShin90, + author = {{A. Ramanathan} and {K. G. Shin} and {R. W. Butler}}, + title = {Fault-tolerant clock synchronization in distributed systems}, + journal = {IEEE Computer}, + year = {1990}, + volume = {}, + number = {}, + pages = {33 -- 42}, + month = {October}, + OPTnote = {}, + OPTannote = {} +} + +@Article{Lamport78, + author = {{L. Lamport}}, + title = {Time, clocks, and the ordering of events in a distributed system}, + journal = {Communications of the ACM}, + year = {1978}, + volume = {21}, + number = {7}, + pages = {558 -- 565}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{ElsonRomer02, + author = {{J. Elson} and {K. Romer}}, + title = {Wireless sensor networks: A new regime for time synchronization}, + booktitle = {In Proceedings of First Workshop on Hot Topics In Networks (HotNets-I)}, + year = {2002}, + volume = {}, + number = {}, + address = {Princeton, New Jersey}, + OPTpages = {}, + OPTmonth = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{ElsonGirod02, + author = {{J. Elson} and {L. Girod} and {D. Estrin}}, + title = {Fine-grained network time synchronization using reference broadcasts}, + booktitle = {ACM OSDI}, + pages = {}, + year = {2002}, + month = {December}, + address = {Boston, MA}, + OPTnote = {} +} + +@InProceedings{Girod02, + author = {{L. Girod} and {V. Bychkovskiy} and {J. Elson} and {D. Estrin}}, + title = {Locating tiny sensors in time and space: A case study}, + booktitle = {ICCD}, + pages = {}, + year = {2002}, + month = {September}, + OPTnote = {} +} + +@InProceedings{Romber01, + author = {{K. Romer}}, + title = {Time synchronization in ad hoc networks}, + booktitle = {ACM MobiHoc}, + pages = {}, + year = {2001}, + month = {October}, + OPTnote = {} +} + + +@InCollection{Mote99, + author = {{K. S. J. Pister} and {J. M. Kahn} and {B. E. Boser}}, + title = {Smart Dust: Wireless Networks of Millimeter-Scale +Sensor Nodes}, + booktitle = {Highlight Article in 1999 Electronics Research Laboratory Research Summary}, + year = {1999}, +} + +@InProceedings{Spencer03, + author = {B. F. Spencer, Jr.}, + title = {Opportunities and Challenges for Smart Sensing Technology}, + booktitle = {Proc. of the First International Conference on Structural Health Monitoring and Intelligent Infrastructure}, + year = {2003}, + address = {Tokyo}, + OPTmonth = {}, + OPTorganization = {}, + OPTpublisher = {}, + OPTnote = {}, + OPTannote = {} +} + +@InProceedings{Spencer04, + author = {{B. F. Spencer, Jr.} and {M. Ruiz-Sandoval} and {N. Kurata}}, + title = {Smart Sensing Technology for Structural Health Monitoring}, + booktitle = {Proc. of the 13th World Conference +on Earthquake Engineering}, + year = {2004}, + number = {Paper No. 1791}, + address = {Vancouver, B.C.,Canada}, +} + +@InProceedings{UkitaMatsuyama02, + author = {{N. Ukita} and {T. Matsuyama}}, + title = {Real-time multi-target tracking by cooperative distributed active vision agents}, + booktitle = {AAMAS}, + pages = {829 -- 838}, + month = {July}, + days = {15 -- 19}, + address = {Bologan, Italy}, + year = {2002} +} + +@InProceedings{Orr00, + author = {{R. Orr} and {G. Abowd}}, + title = {The smart floor: A mechanism for natural user identification and tracking}, + booktitle = {Conference on Human Factors in Computing Systems, The Hague}, + year = {2000}, + address = {The Hague, Netherlands}, + month = {April} +} + +@InProceedings{Cerpa01, + author = {{A. Cerpa} and {J. Elson} and {D. Estrin} and {L. Girod} and {M. Hamilton} and {J. Zhao}}, + title = {Habitat monitoring: Application driver for wireless communications technology}, + booktitle = {Proceedings of the 2001 ACM SIGCOMM Workshop on Data Communications in Latin America and the Caribbean}, + year = {2001}, + month = {April} +} + +@InProceedings{Wang04, + author = {{Q. Wang} and {R. Zheng} and {A. Tirumala} and {X. Liu} and {L. Sha}}, + title = {Lightning: A Fast and Lightweight Acoustic Localization Protocol Using Low-End Wireless Micro-Sensors}, + booktitle = {The 25th IEEE International Real-Time Systems Symposium (RTSS'04)}, + pages = {371 -- 381}, + year = {2004} +} + +@CONFERENCE{NTP, + author = {D. L. Mills.}, + title = {Internet Time Synchronization: The Network +Time Protocol.}, + booktitle = {Global States and Time in Distributed Systems.}, + year = {1994} +} + +@CONFERENCE{Power_of_Broadcsting, + author = {{J. Y. Halpern} and {I. Suzuki} }, + title = {Clock Synchronization and the Power of Broadcasting}, + booktitle = {Distributed Computing}, + year = {1991} +} + +@CONFERENCE{Global_States, + author = {F. Mattern}, + title = {Virtual Time and Global States of Distributed Systems}, + booktitle = {Porceedings of the International Workshop on Parallel and Distributed Algorithms}, + year = {1988} +} + +@INPROCEEDINGS{Synchronization_for_Wireless_Sensor_Network, + AUTHOR = {{J. Elson} and {E. Estrin}}, + TITLE = {Time Synchronization for Wireless Sensor Network}, + BOOKTITLE = {International Parallel and Distributed Processing Symposium, Workshop on Parallel and Distributed Computing Issues in Wireless Networks and Mobile Computing}, + YEAR = {2001} +} + +@CONFERENCE{Global_Clock_Synchronization_in_Sensor_Network, + author = {{Q. Li} and {D. Rus}}, + title = {Global Clock Synchronization in Sensor Network}, + booktitle = {INFOCOM}, + year = {2004} +} + +@MISC{Building_Risk, + author = {{N. Kurata} and {B. F. Spencer} and {Jr.} and {M. Ruiz-Sandoval}}, + title = {Application of Wireless Sensor Network Mote for Building Risk Monitoring} +} + +@CONFERENCE{Lightweight, + author = {{J. V. Greunen} and {J. Rabaey}}, + title = {Lightweight Time Synchronization for Sensor Network}, + booktitle = {International Workshop on Wireless Sensor Networks and Applications}, + year = {2003} +} + +@CONFERENCE{Tsync, + author = {{H. Dai} and {R. Han}}, + title = {TSync: A Lightweight Bidirectional Time Synchronization Service for Wireless Sensor +Networks}, + booktitle = {ACM SIGMOBILE Mobile Computing and Communications Review}, + year = {2004}, +} + +@InProceedings{Maroti04, + author = {{M. Maroti} and {B. Kusy} and {G. Simon} and {A. Ledeczi}}, + title = {The Flooding Time Synchronization Protocol}, + year = {2004}, + booktitle = {Proceedings of the 2nd international conference on Embedded networked sensor systems}, + address = {Baltimore, MD, USA}, + optnote = {FTSP}, + page = {39 -- 49} +} + +@InProceedings{Lucarelli04, + author = {{D. Lucarelli} and {IJ Wang}}, + title = {Decentralized synchronization protocols with nearest neighbor communication}, + year = {2004}, + booktitle = {Proceedings of the 2nd international conference on Embedded networked sensor systems}, + address = {Baltimore, MD, USA}, + page = {62 -- 68} +} + +@InProceedings{Elson02, + author = {{J. Elson} and {L. Girod} and {D. Estrin}}, + title = {Fine-Grained Time Synchronization Using Reference Broadcasts,}, + booktitle = {Proceedings of the 5th Symposium on Operating Systems Design and Implementation}, + pages = {147 -- 163}, + year = {2002}, + note = {RBS}, + month = {December}, +} + +@InProceedings{Ganeriwal03, + author = {{S. Ganeriwal} and {R. Kumar} and {M. Srivastava}}, + title = {Timing-Sync Protocol for Sensor Networks}, + crossref = {}, + key = {}, + booktitle = {Proceedings of the 1st International Conference on Embedded Networked Sensor Systems}, + pages = {138 -- 139}, + year = {2003}, + month = {November}, +} + + +@TechReport{LeeShih07, + author = {{Guo-Liang Lee} and {Chi-Sheng Shih}}, + title = {Clock Free Data Streams Alignment for Sensor Networks}, + institution = {NEWS Lab., National Taiwan University}, + year = {2007}, + address = {Taipei, Taiwan}, + month = {June}, + number = {Technical Report No. TR-IIS-05-008}, + OPTnote = {}, + OPTannote = {} +} + +@Article{RTP, + author = {{H. Schulzrinne} and {S. Casner}}, + title = {{RTP}: A Transport Protocol for Real-Time Applications}, + journal = {Internet Engineering Task Force, Internet Draft}, + year = 1993, + month = {October} +} + +@Misc{RTSP, + author = {{Internet Engineering Task Force}}, + title = {{Real Time Streaming Protocol}}, + year = 1998, + howpublished = {http://www.rtsp.org/} +} + +@Article{orda99, + author = {A. Orda}, + title = {Routing with end-to-end QoS guarantees in broadband networks}, + journal = {IEEE/ACM Transactions on Networking}, + year = 1999, + volume = 7, + month = {June}, + pages = {365-374} +} + +@InProceedings{wanida03, + author = {{W. Putthividhya} and {W. Tavanapong} and {M. Tran}, and {Johnny Wong}}, + title = {Core Selection with End-to-End QoS Support}, + year = 2003, + booktitle = {Proceedings of the 2004 ACM symposium on Applied computing}, + pages = {328-333} +} + +@InProceedings{Qiang03, + author = {{Qiang Liu} and {Jeng-Neng Hwang}}, + title = {End-to-end available bandwidth estimation and time measurement adjustment for multimedia QoS}, + year = 2003, + booktitle = {Proceedings of International Conference on Multimedia and Expo}, + pages = {373-376} +} + +@Article{RSVP, + author = {{L. Zhang} and {S. Deering} and {D. Estrin} and {S. Shenker} and {D. Zappala}}, + title = {{RSVP}: a new resource ReSerVation Protocol}, + journal = {IEEE Network}, + year = 1993, + volume = 7, + month = {September}, + pages = {8-18} +} + +@Article{diffserv, + author = {{S. Blake} and {D. Black} and {M. Carlson} and {E. Davies} and {Z. Wang} and { W. Weiss}}, + title = {An Architecture for Differentiated Services}, + journal = {IETF RFC 2475} +} + +@Article{foster04, + author = {{I. Foster} and {M. Fidler} and {A. Roy} and {V. Sander}, and {L. Winkler}}, + title = {End-to-end quality of service for high-end applications}, + journal = {Computer Communications}, + year = 2004, + volume = 27, + month = {September}, + pages = {1375-1388} +} + +@InProceedings{yang04, + author = {{M. Yang} and {Y. Huang} and {J. Kim} and {M. Lee} and {T. Suda}, and {M. Daisuke}}, + title = {An end-to-end QoS framework with on-demand bandwidth reconfiguration}, + year = 2004, + volume = 3, + booktitle = {Conference of the IEEE Computer and Communications Societies}, + pages = {2072-2083} +} + +@Article{bakiras04, + author = {{S. Bakiras} and {Victor O. K. Li}}, + title = {A scalable architecture for end-to-end QoS provisioning}, + journal = {Computer Communications}, + year = 2004, + volume = 27, + month = {August}, + pages = {1330-1340} +} + +@InProceedings{QRAM, + author = {{R. Rajkumar} and {C. Lee} and {J. Lehoczky}, and {D. Siewiorek}}, + title = {A resource allocation model for QoS management}, + year = 1997, + booktitle = RTSS, + pages = {298-307} +} + +@InProceedings{pracQram, + author = {{R. Rajkumar} and {C. Lee} and {J. Lehoczky}, and {D. Siewiorek}}, + title = {Practical Solutions for QoS-Based Resource Allocation}, + year = 1998, + booktitle = RTSS, + pages = {296-306} +} + +@InProceedings{scalableQram, + author = {{S. Ghosh} and {R. Rajkumar} and {J. Hansen}, and {J. Lehoczky}}, + title = {Scalable QoS-based resource allocation in hierarchical networked}, + year = 2005, + booktitle = RTAS, + pages = {256-267} +} + +@Misc{p2pwiki, + author = {wikipedia}, + title = {Peer-to-peer network}, + howpublished = {http://en.wikipedia.org/wiki/Peer-to-peer} +} + +@InProceedings{RaFe01, + author = {{S. Ratsanamy} and {P. Francis} and {M. Handley} and {R. Karp} and {S. Shenker}}, + title = {A Scalable Content-Addressable Network}, + year = 2001, + booktitle = {Proceedings of ACM SIGCOMM'01} +} + +@InProceedings{StMo01, + author = {{I. Stoica} and {R. Morris} and {D. Karger} and {M.F. Kaashoek} and {H. Balakrishnan}}, + title = {Chord: A scalable peer-to-peer lookup service for internet applications}, + year = 2001, + booktitle = {Proceedings of ACM SIGCOMM'01} +} + +@InProceedings{RoDr01, + author = {{A. Rowstron} and {P. Druschel}}, + title = {Pastry: Scalable, distributed object location and routing for large-scale peer-to-peer systems}, + year = 2001, + booktitle = {Proceedings of 18th IFIP/ACM International Conference on Distributed Systems Platforms}, +} + +@Article{bittorrent, + author = {Bram Cohen}, + title = {Incentives Build Robustness in BitTorrent}, + year = 2003, + journal = {Workshop on Economics of Peer-to-Peer Systems}, + month = May +} + +@Misc{gnutella, + title = {Gnutella Protocol Development Wiki}, + howpublished = {http://www.the-gdf.org/} +} + +@InProceedings{NgZa02, + author = {{Thinh PQ Nguyen} and {Avideh Zakhor}}, + title = {Distributed Video Streaming Over Internet}, + year = 2002, + booktitle = {Proceedings of Multimedia Computing and Networking}, +} + +@InProceedings{HeHa03, + author = {{M. Hefeeda} and {A. Habib} and {B. Botev} and {Dongyan Xu}, and {B. Bhargava}}, + title = {PROMISE: peer-to-peer media streaming using CollectCast}, + year = 2003, + booktitle = {ACM international conference on Multimedia}, + pages = {45-54} +} + +@InProceedings{ReOr03, + author = {{R. Rejaie} and {A. Ortega}}, + title = {PALS: peer-to-peer adaptive layered streaming}, + year = 2003, + booktitle = {international workshop on Network and operating systems support for digital audio and video}, + pages = {153-161} +} + +@Misc{aviformat, + author = {Microsoft Corporation}, + title = {AVI File Format}, + howpublished = {Mircosoft MSDN} +} + +@Misc{movformat, + author = {Apple}, + title = {QuickTime File Format Specification}, + howpublished = {Apple Developer Connection} +} + +@Misc{mplayer, + title = {MPlayer}, + howpublished = {http://www.mplayerhq.hu/design7/news.html} +} + +@Mastersthesis{dynrtbwe, + author = {Jung Chang Chen}, + title = {{Dynamic Real-Time Bandwidth Management over Wireless Network}}, + school = {Departiment of Computer Science and information engineering, + National Taiwan University}, + year = 2007 + +} + +@InProceedings{Chen08, + author = {{Tsung-Yen Chen} and {Pei-Hsuan Tsai} and {Ting-Shuo Chou} and {Chi-Sheng Shih} and {Tei-Wei Kuo} and {Jane W.S. Liu} and {Anitha Thamizhmani}}, + title = {Component Model and Architecture of Smart Devices for Elderly}, + booktitle = {Proceedings of Working IEEE/IFIP Conference on Software Architecture (WICSA) 2008}, + OPTpages = {}, + year = {2008}, + address = {Vancouver, BC, Canada}, + month = {February} +} + +@InProceedings{CORBA_1, + author = {{Bharat Gokhale} and {Aniruddha dn Kumar} and {Arnaud Sahuguet}}, + title = {Reinventing the {Wheel}? {CORBA} vs.{Web Services}}, + booktitle = {The Eleventh International World Wide Web Conference}, + year = 2002, + month = {May}, +} + +@Misc{CORBA_2, + author = {Gisolfi, Dan}, + title = {{Web Services Architect}, {Part} 3: {Is Web Services} the {Reincarnation} of {CORBA}}, + year = {2001}, + month = {April}, + doi = {at \url{http://www-106.ibm.com/developerworks/webservices/library/ws-arc2.html}}, + publisher = {IBM Developer Works}, + +} + +@InProceedings{AT, + author = {{Han-Chun Yeh} and {Pi-Cheng Hsiu} and {Pei-Hsuan Tsai} and {Chi-Sheng Shih} and {Jane Liu}}, + title = {{APAMAT: A} prescription algebra for medication authoringtool}, + booktitle = {2006 IEEE International Conference on Systems, Man, and Cybernetics}, + year = 2006, + month = {October}, + address = {Taipei, Taiwan}, + publisher = {IEEE} +} + +@Misc{Axis2, + author = {{The Apache Software Foundation}}, + title = {{Apache Axis2/Java - Next Generation Web Services}}, + howpublished = {at \url{http://ws.apache.org/axis2/}}, + note = {Last accessed at April 2007}, +} + +@Misc{WSDL, + author = {W3C}, + title = {{Web Services Description Language (WSDL)} 1.1}, + howpublished = {at \url{http://www.w3.org/TR/wsdl}}, + note = {Last accessed at March 2007}, +} + +@Misc{WF_Forum, + author = {Microsoft}, + title = {{Windows Workflow Foundation Forum}}, + howpublished = {at \url{http://forums.microsoft.com/MSDN}}, + note = {Last accessed at May 2007}, +} + +@Book{Pro:WF, + author = {{Bruce Bukovics}}, + title = {{Pro WF: Windows Workflow} in .{NET} 3.0}, + publisher = {Apress}, + year = {2007}, +} + +@Misc{SOA_1, + author = {Tom Pisello}, + title = {{Is There Real Business Value Behind the Hype of SOA}}, + howpublished = {at \url{http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9001155}}, + note = {Last accessed at Feb 2007}, +} + + +@InProceedings{Scheduler_06, + author = {{P. H. Tsai} and {H. C. Yeh} and {C. Y. Yu} and {P. C. Hsiu} and {C. S. Shih} and {J. W. S. Liu}}, + title = {{Compliance Enforcement} of {Temporal} and {Dosage Constraints}}, + booktitle = {{Proceedings of IEEE Real-Time Systems Symposium}}, + year = 2006, + publisher = {IEEE} +} + + +@Misc{8Core, + author = {{Nick Knupffer}}, + title = {{The Skulltrail leads to gaming bliss}}, + howpublished = {at \url{http://blogs.intel.com/technology/2008/02/the_skulltrail_leads_to_gaming.php}}, + note = {Last accessed at May 2008}, +} + +@Misc{WINDOWS_SMP, + author = {Microsoft}, + title = {{Multiprocessor Considerations for Kernel-Mode Drivers}}, + year = {2004}, + month = {October}, +} + +@Misc{LINUX_SMP, + author = {{M. Tim Jones}}, + title = {{Linux and Symmetric Multiprocessing}}, + howpublished = {at \url{http://www.ibm.com/developerworks/library/l-linux-smp/}}, + note = {Last accessed at May 2008}, +} + +@Misc{SUNOS_AMP, + author = {{Peter Koch}}, + title = {{History of the Sun4 Series}}, + howpublished = {at \url{http://www.sun4zoo.de/en/history.html}}, + note = {Last accessed at May 2008}, +} + +@Misc{OMAP, + author = {{Texas Instruments}}, + title = {{{OMAP} Applications Processors Devices from Texas Instruments}}, + howpublished = {at \url{http://focus.ti.com/paramsearch/docs/parametricsearch.tsp?family=dsp§ionId=2&tabId=2218&familyId=1525¶mCriteria=no}}, + note = {Last accessed at May 2008}, +} + +@Misc{DAVINCI, + author = {{Texas Instruments}}, + title = {{DaVinci Digital Media Processors Devices from Texas Instruments}}, + howpublished = {at \url{http://focus.ti.com/paramsearch/docs/parametricsearch.tsp?family=dsp§ionId=2&tabId=1852&familyId=1300}}, + note = {Last accessed at May 2008}, +} + +@Misc{TI, + author = {{Texas Instruments}}, + title = {{Analog Technologies, Semiconductors, Digital Signal Processing - Texas Instruments}}, + howpublished = {at \url{http://www.ti.com/}}, + note = {Last accessed at May 2008}, +} + +@Misc{DSP_APP, + author = {{Texas Instruments}}, + title = {{Universal Multimedia Player Based on DaVinci Technology}}, + note = {Literature Number SPRT383}, + year = {2006}, + month = {November}, +} + +@Book{Modern_OS, + author = {{Andrew S. Tanenbaum}}, + title = {{Modern Operating Systems}}, + publisher = {Prentice Hall}, + pages = {513-515}, + year = {2001}, + edition = {2nd}, + note = {ISBN 0-13-031358-0}, +} + +@Misc{MPI, + author = {{Mathematics and Computer Science Division (MCS) of Argonne National Laboratory}}, + title = {{The Message Passing Interface (MPI) Standard}}, + howpublished = {at \url{http://www-unix.mcs.anl.gov/mpi/}}, + note = {Last accessed at May 2008}, +} + +@Misc{PVM, + author = {{Computer Science and Mathematics Division (CSM) of Oak Ridge National Laboratory}}, + title = {{PVM: Parallel Virtual Machine Webpage}}, + howpublished = {at \url{http://www.csm.ornl.gov/pvm/}}, + note = {Last accessed at May 2008}, +} + +@Misc{ONC_RPC, + author = {{Sun Microsystems}}, + title = {{RPC: Remote Procedure Call Protocol Specification Version 2}}, + howpublished = {at \url{http://tools.ietf.org/html/rfc1831}}, + note = {Last accessed at May 2008}, +} + +@Book{DCE_RPC, + author = {{X/Open Company Limited}}, + title = {{DCE: Remote Procedure Call}}, + publisher = {{X/Open Company Ltd., U.K.}}, + year = {1994}, + note = {ISBN 1-85912-041-5}, +} + +@Book{MicroCOS2, + author = {{J J. Labrosse}}, + title = {{MicroC/OS-II: The Real Time Kernel}}, + publisher = {CMP Books}, + pages = {60-61}, + year = {2002}, + edition = {2nd}, + note = {ISBN 1-57820-103-9}, +} + +@Misc{SHR_MEM, + author = {{A. D. Marshall}}, + title = {{UNIX System Calls and Subroutines using C - IPC: Shared Memory}}, + howpublished = {at \url{http://www.cs.cf.ac.uk/Dave/C/node27.html}}, + note = {Last accessed at May 2008}, +} + +@Article{Liu73, + author = {{C. L. Liu} and {J. Layland}}, + title = {Scheduling algorithms for multiprogramming in a hard real-time environment}, + journal = {Journal of the ACM}, + year = {1973}, + OPTkey = {}, + volume = {20}, + number = {1}, + pages = {46--61}, + month = {}, + OPTnote = {}, + OPTannote = {} +} + +@Misc{DM6446, + author = {{Texas Instruments}}, + title = {{TMS320DM6446 Digital Media System-on-Chip}}, + note = {Literature Number SPRS238E}, + year = {2007}, + month = {March}, +} + +@Misc{DVEVM_GS, + author = {{Texas Instruments}}, + title = {{DVEVM Getting Started Guide}}, + note = {Literature Number SPRUE66C}, + year = {2007}, + month = {March}, +} + +@Misc{C6X_DSP, + author = {{Texas Instruments}}, + title = {{TMS320C64x DSP CPU and Instruction Set and Reference Guide}}, + note = {Literature Number SPRU732D}, + year = {2007}, + month = {July}, +} + +@Misc{ARM_TRM, + author = {{ARM}}, + title = {{ARM926EJ-S Technical Reference Manual}}, + note = {}, + year = {2004}, + month = {January}, +} + +@Misc{DM6446_ARM, + author = {{Texas Instruments}}, + title = {{TMS320DM644x DMSoC ARM Subsystem Reference Guide}}, + note = {Literature Number SPRUE14A}, + year = {2007}, + month = {March}, +} + +@Misc{DM6446_DSP, + author = {{Texas Instruments}}, + title = {{TMS320DM644x DMSoC DSP Subsystem Reference Guide}}, + note = {Literature Number SPRUE15}, + year = {2007}, + month = {March} +} + +@Misc{DSP_BIOS, + author = {Texas Instruments}, + title = {{DSP/BIOS} Kernel Technical Overview}, + note = {Literature Number SPRA780}, + year = {2001}, + month = {August} +} + +@Misc{DSP_BIOS2, + author = {{Texas Instruments}}, + title = {{DSP BIOS}: A Complete DSP OS Solution}, + howpublished = {at \url{http://focus.ti.com/dsp/docs/dspsupportatn.tsp?sectionId=3&tabId=477&familyId=44&toolTypeId=5#biosovw}}, + note = {Last accessed at April 2009} +} + + +@Misc{OKL4, + author = {{Open Kernel Labs}}, + title = {{Introduce to OKL4 of Open Kernel Labs}}, + howpublished = {at \url{http://www.ok-labs.com/products/okl4}}, + note = {Last accessed at May 2008}, +} + +@Misc{L4, + author = {{Dresden, University of Technology}}, + title = {{The L4 $\mu$-Kernel Family}}, + howpublished = {at \url{http://os.inf.tu-dresden.de/L4/}}, + note = {Last accessed at May 2008}, +} + +@Article{H264, + author = {{Thomas Wiegand} and {Gary J. Sullivan} and {Gisle Bjontegaard} and {Ajay Luthra}}, + title = {{Overview of the H.264/AVC video coding standard}}, + journal = {IEEE Tansactions on Circuits and Systems for Video Technology}, + year = {2003}, + OPTkey = {}, + volume = {13}, + number = {7}, + pages = {}, + month = {July}, + OPTnote = {}, + OPTannote = {} +} + +@Article{MP3, + author = {{Davis Pan}}, + title = {{A tutorial on MPEG/Audio compression}}, + journal = {IEEE Multimedia Journal}, + year = {1995}, + OPTkey = {}, + volume = {}, + number = {}, + pages = {60-74}, + month = {Summer}, + OPTnote = {}, + OPTannote = {} +} + +@Article{H264_EXE_RATIO, + author = {{Xiaoli Zhao} and {Pin Tao} and {Shiqiang Yang} and {Fei Kong}}, + title = {Computation Offloading for H.264 Video Encoder on Mobile Devices}, + journal = {IMACS Multiconference on ``Computational Engineering in Systems Applications''(CESA)}, + year = {2006}, + OPTkey = {}, + volume = {}, + number = {}, + pages = {}, + month = {October 4-6}, + OPTnote = {}, + OPTannote = {} +} + +@Misc{DM6446_TIMER, + author = {{Texas Instruments}}, + title = {{TMS320DM644x DMSoC 64-bit Timer User's Guide}}, + note = {Literature Number SPRUE26}, + year = {2007}, + month = {March}, +} + +@Misc{JM_Code, + author = {{Karsten Shring}}, + title = {{H.264/AVC reference software}}, + howpublished = {at \url{http://iphome.hhi.de/suehring/tml/}}, + note = {Last accessed at April 2009}, +} + +@InProceedings{MedicationErrors, + author = {{Philips Aspden} and {Julie Wolcott} and {J. Lyle Bootman} and {Linda R. Cronenwett}}, + title = {{Preventing Medication Errors: Quality Chasm Series}}, + booktitle = {{Committee on Identifying and Preventing Medication Errors}}, + year = 2007, + address = {U.S.A, Washington, DC 2001}, + publisher = {The National Academies Press} +} + +@TechReport{MedicationAdvisor, + author = {{G. Gerguson} and {J. Allen} and {N. Blaylock} and {D. Byron} and {N. Chambers} and {M. Dzikovska} and {L. Galescu} and {X. Shen} and {R. Swier} and {M. Shift}}, + title = {{The Medication Advisor Project: Preliminary Report }}, + institution = {Computer Science Department, University of Rochester}, + year = {2002}, + number = {No. 776}, + month = {May}, + OPTnote = {}, + OPTannote = {} +} + +@misc{Murray, + author = {Michael D. Murray}, + title = {{Automated Meidcation Dispensing Devices}}, + url = {http://www.ahcpr.gov/clinic/ptsafety/chap11.htm}, + year = {2001}, + note = {Accessed May, 2007} +} + + + +@InProceedings{Crnkovic04, + author = {I. Crnkovic}, + title = {Component-based approach to embedded systems}, + booktitle = {Proceedings of 9th International Workshop on Component-Oriented Programming}, + year = {2004}, + month = {June}, +} + +@InProceedings{Crnkovic05, + author = {I. Crnkovic}, + title = {COTS component-based embedded systems - A Dream or Reality?}, + booktitle = {Proceedings of the 4th International Conference of ICCBSS}, + year = {2005}, + month = {February}, +} + +@misc{Review, + author = {{Adam Luce} and {Alex Leung}}, + title = {{Review of 2005-2006 RERC-AMI National Student Design Competition}}, + url = {http://www.rerc-ami.org/ami/tech/tr-ami-004-sr-des-med-dispensing/index.aspx}, + year = {2006}, + month = {October}, + note = {Accessed May, 2007} +} + +@InProceedings{Wiss05, + author = {{T. Wisspeintner et al}}, + title = {A flexible component-based mobile robot system}, + booktitle = {RoboCup 2005}, + year = {2005}, +} + +@InProceedings{Passama06, + author = {R. Passama}, + title = {Overview of a new robot controller development methodology}, + booktitle = {Proceedings of CAR'06: Control Architectures of Robots: Software Approaches and Issues}, + year = {2006} +} + +@InProceedings{Makarenko06, + author = {{A. Makarenko et al}}, + title = {Orca: components for robots}, + booktitle = {Proceedings of IEEE/RSJ Inter. Conference on Intel. Robots and +Systems}, + year = {2006} +} + +@Book{WPF07, + author = {Chris Anderson}, + title = {Essential Windows Presentation Foundation (WPF)}, + publisher = {Addison-Wesley Professional}, + year = {2007}, + month = {April} +} + +@Book{WPF08, + author = {Mathew Mac{D}onald}, + title = {Pro WPF in C\# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition}, + publisher = {Apress}, + year = {2008}, + month = {February} +} + +@Book{WxWidget05, + author = {{Julian Smart} and {Kevin Hock} and {Stefan Csomor}}, + title = {Cross-Platform GUI Programming with wxWidgets}, + publisher = {Prentice Hall PTR}, + year = {2005}, + month = {August} +} + +@Misc{WxWidget10, + author = {{Julian Smart} and {Robert Roebling} and {Vadim Zeitlin} and {Robin Dunn}}, + title = {{W}x{W}idgets 2.8.10: {A} portable {C}++ and {P}ython {GUI} toolkit}, + year = {2009}, + month = {February}, + howpublished = {at \url{http://docs.wxwidgets.org/stable/}}, + note = {Last accessed at January 2010} +} + +@Unpublished{iNuC10, + author = {{Jane W.-S. Liu} and {Chi-Sheng Shih} and {Y.T. Chuang} and {Pei-hsuen Tsai} and {ddio}}, + title = {i{N}u{C} 2.0: Workflow-base Embedded Software for Intelligent Nurse Carts}, + note = {Submitted to an unknown conference 2010} +} + +@Misc{OperaMini, + author = {{Opera Software ASA}}, + title = {{O}pera {M}ini: The World's Most popular mobile browser}, + year = 2009, + month = {February}, + howpublished = {at \url{http://www.opera.com/mini/features/}}, + note = {Last accessed at January 2010} +} + +@Article{WAP98, + author = {{Christer Erlandson} and {Per Ocklind}}, + title = {{WAP} -- The wireless application protocol}, + journal = {Ericsson Review}, + year = {1998}, + volume = {4}, + pages = {150 -- 153} +} + +@InProceedings{TCPW01, + author = {{C. Casetti} and {M. Gerla} and {S. Mascolo} and {M. Y. Sanadidi} and {R. Wang}}, + title = {TCP Westwood: Bandwidth estimation for enhanced transport over wireless links}, + booktitle = {Proceedings of ACM Mobicom, Rome, Italy}, + year = 2001, + month = {July}, + pages = {28--37} +} + +@InProceedings{ITCPPWN95, + author = {{Balakrishnan, H.} and {S. Seshan} and {E. Amir} and {R. H. katz}}, + title = {Improving TCP/IP Performance Over Wireless Networks}, + booktitle = {MOBICOM'95, Berkeley, CA, USA}, + year = 1995, + month = {November} +} +@InProceedings{OP2PMS02, + author = {{Dongyan Xu} and {Mohamed Hefeeda} and {Susanne Hambrusch} and {Bharat Bhargava}}, + title = {On Peer-to-Peer Media Streaming}, + booktitle = {Proceedings of the 22 nd International Conference on Distributed Computing Systems (ICDCSो02)}, + year = 2002 +} +@TECHREPORT{SLMP2PN02, + AUTHOR = {{H. Deshpande} and {M. Bawa} and {H. Garcia-Molina}}, + TITLE = {Streaming Live Media over a Peer-to-Peer Network}, + INSTITUTION = {Stanford University}, + PUBLISHER = {Stanford University}, + YEAR = 2001, + month = {August} +} +@InProceedings{CHP2PS01, + author = {{Beverly Yang} and {Hector Garcia-Molina}}, + title = {Comparing Hybrid Peer-to-Peer Systems}, + booktitle = {Proceedings of the 27th Intl. Conf. on Very Large Databases}, + year = 2001, + month = {September} +} + +@Misc{CodingStyle09, + author = {{Jane W.-S. Liu}}, + title = {Flex{MMS} and i{N}u{C} Coding Style V1.2}, + month = {November}, + Year = {2009}, + howpublished = {at \url{http://www.sisarl.org/index.php?option=com_docman&task=doc_download&gid=240&Itemid=33}}, + note = {Last accessed at January 2010} +} + +@InProceedings{LiShih07, + title = {Clock Free Data Streams Alignment for Sensor Networks}, + author = {{Guo-Liang Li} and {Chi-Sheng Shih}}, + booktitle = { Proceedings of the 13th RTCSA conference (Real-time and Embedded Computing Systems and Applications Conference}, + month = {August}, + year = {2007} +} + + +@inproceedings{ +dps, + Author = {{Robert Davis} and {Andy Wellings}}, + Title = {Dual Priority Scheduling}, + BookTitle = {Proceedings of the 16th IEEE Real-Time Systems Symposium}, + Year = {1995} } + + + + +@inproceedings{ +davis93, + Author = {{R. I. Davis} and {K. W. Tindell} and {A. Burns}}, + Title = {Scheduling slack time in fixed priority pre-emptive systems}, + BookTitle = {Proceedings Real-Time Systems Symposium}, + Pages = {222-231}, + Year = {1993} } + + + + +@article{ +gao04, + Author = {{Kui Gao} and {Wen Gao} and {Simin He} and {Yuan Zhang}}, + Title = {Real-time scheduling based on imprecise computation for scalable streaming media system over the Internet}, + Journal = {Real-Time Imaging}, + Year = {2004} } + + + + +@article{ +gomes06, + Author = {{Lee Gomes}}, + Title = {Will All of Us Get Our 15 Minutes On a {YouTube} Video?}, + Journal = {Wall Street Journal}, + Year = {Aug. 30, 2006} } + + + + +@inproceedings{ +huang07, + Author = {{C. Huang} and {J. Li} and {K. W. Ross}}, + Title = {Can {Internet} {Video-on-Demand} be Profitable? }, + BookTitle = {SIGCOMM'07}, + Year = {2007} } + + + + +@misc{ +comscore07, + Author = {{comScore Inc.}}, + Title = {{U.S.} Viewers Watched an Average of 3 Hours of Online Video in {July}}, + Howpublished = {http://www.comscore.com/press/release.asp?press=1678}, + Year = {Sep. 12, 2007} } + +@inproceedings{ +legout06, + Author = {{A. Legout} and {G. Urvoy-Keller} and {P. Michiardi}}, + Title = {Rarest first and choke algorithms are enough}, + BookTitle = {Proceedings of the 6th ACM SIGCOMM on Internet measurement}, + Year = {2006} } + +@inproceedings{ +imprecise, + Author = {{J.W.S. Liu} and {W.-K. Shih} and {K.-J. Lin} and {R. Bettati} and {J.-Y. Chung}}, + Title = {Imprecise computations}, + BookTitle = {Proceedings of the IEEE}, + Volume = {82}, + Year = {1994} } + +@article{ +pals, + Author = {{Nazanin Magharei} and {Reza Rejaie}}, + Title = {Adaptive Receiver-Driven Streaming from Multiple Senders}, + Journal = {Multimedia Systems}, + Volume = {11}, + Pages = {18}, + Keywords = {Peer-to-peer streaming - Quality adaptive - Congestion control - Layered encoding}, + Year = {2006} } + +@inproceedings{ +miao00, + Author = {{Zhourong Miao} and {Antonio Ortega}}, + Title = {Optimal Scheduling for Streaming of Scalable Media}, + BookTitle = {Proc. Asilomar Conference on Signals, Systems, and Computers}, + Address= {Pacific Grove, CA}, + Year = {2000} } + +@inproceedings{ +q-ram, + Author = {{Ragunathan Rajkumar} and {Chen Lee} and {John Lehoczky} and {Dan Siewiorek}}, + Title = {A Resource Allocation Model for {QoS} Management}, + BookTitle = {18th IEEE Real-Time Systems Symposium (RTSS '97)}, + Pages = {298}, + Year = {1997} } + +@inproceedings{ +raj98, + Author = {{R. Rajkumar} and {C. Lee} and {J. Lehoczky} and {D. Siewiorek}}, + Title = {Practical Solutions for {QoS-based} Resource Allocation Problems}, + BookTitle = {IEEE Real-Time Systems Symposium}, + Year = {1998} } +@article{ +svc_overview, + Author = {{H. Schwarz} and {D. Marpe} and {T. Wiegand}}, + Title = {Overview of the Scalable Video Coding Extension of the {H.264/AVC} Standard}, + Journal = {IEEE Transactions on Circuits and Systems for Video Technology}, + Volume = {17}, + Number = {9}, + Year = {2007} } +@article{ +seo08, + Author = {{K.-D. Seo} and {S.-H. Jung} and {J.-S. Kim}}, + Title = {Efficient Media Synchronization Mechanism for {SVC} Video Transport over {IP} Networks}, + Journal = {ETRI Journal}, + Volume = {30}, + Pages = {10}, + Keywords = {Media synchronization, RTP/RTCP, scalable video coding, SVC video transport}, + Year = {2008} } +@inproceedings{ +sprunt88, + Author = {{B. Sprunt} and {J. Lehoczky} and {L. Sha}}, + Title = {Exploiting unused periodic time for aperiodic service using the extended priority exchange algorithm}, + BookTitle = {Real-Time Systems Symposium}, + Year = {1988} } + +@misc{ +jsvm, + Author = {{JVT of the ISO/IEC MPEG and the ITU-T VCEG}}, + Title = {{JSVM} reference software 9.8}, + Year = {Oct. 15, 2007} } + +@inproceedings{ +wagner06, + Author = {{Jean-Paul Wagner} and {Jacob Chakareski} and {Pascal Frossard}}, + Title = {Streaming of Scalable Video from Multiple Servers Using Rateless Codes}, + BookTitle = {International Conference on Multimedia and Expo}, + Year = {2006} } + +@inproceedings{ +rstream, + Author = {{C. Wu} and {B. Li}}, + Title = {{rStream}: resilient peer-to-peer streaming with rateless codes}, + BookTitle = {Proceedings of the 13th annual ACM international conference on Multimedia}, + Year = {2005} } + +@misc{ +yen08, + Author = {{Yi-Wyn Yen}}, + Title = {{YouTube} looks for the money clip}, + Howpublished = {http://techland.blogs.fortune.cnn.com/2008/03/25/youtube-looks-for-the-money-clip/}, + Year = {Mar. 25, 2008} } +@Book{BT, + publisher = "BitTorrent Home Page. http://www.bittorrent.com" +} + +@Book{EMULE, + publisher = "eMule Home Page. http://www.emule-project.net" +} +@InProceedings{PROMISE03, + author = {{Mohamed Hefeeda} and {Ahsan Habib} and {Boyan Botev} and {Dongyan Xu} and {Bharat Bhargava}}, + title = {PROMISE: Peer-to-Peer Media Streaming Using CollectCast}, + booktitle = {Proceedings of the eleventh ACM international conference on Multimedia, Berkeley, CA}, + month = {November}, + year = 2003 +} + +@ARTICLE{COLLECTCAST03, + author = {{Mohamed Hefeeda} and {Ahsan Habib} and {Dongyan Xu} and {Bharat Bhargava} and {Boyan Botev}}, + title = {Collectcast: A Peer-to-Peer Service for Media Streaming}, + JOURNAL = {ACM/Springer Multimedia Systems Journal}, + month = {October}, + year = 2003 +} + +@Book{LIBPCAP, + publisher = "Libpcap Home Page. http://www.tcpdump.org" +} + +@book{ +algo, + Author = {{Thomas H. Cormen} and {Charles E. Leiserson} and {Ronald L. Rivest} and {Clifford Stein}}, + Title = {Introduction to Algorithms}, + Publisher = {the MIT Press}, + Edition = {2}, + Year = {2002} } + +@misc{css10, + Author = {{World Wide Web Consortium}}, + Title = {Cascading Scripts Sheets ({CSS})}, + Howpublished = {http://www.w3c.org/Style/css}, + note = {Last accessed at January 2010} +} + +@Book{MicrosoftNET, + author = {{A. Wigley} and {M. Sutton} and {S. Wheelwright} and {R. Burbidge} and {R. Mcloud}}, + title = {Microsoft .Net Compact Framework: Core Reference}, + ublisher = {Microsoft Press}, + year = {2002}, + address = {Redmond, WA, USA} +} + +@Book{MicrosoftForm, + ALTauthor = {Matthew MacDonald}, + title = {Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5}, + publisher = {Apress}, + year = {2008}, + edition = {1st}, + month = {March} +} + +@TechReport{inucinner10, + author = {{Wei-Ching Feng} and {Ting-Lun Hsu} and + {Chih-Wei Chiou} and {Kuan-Chun Chuang} and + {Chi-Sheng Shih}}, + title = {Inner State Diagram for {iNuC} 1.0 {GUI}}, + institution = {NTU/NEWS Lab Technical Report}, + year = {2010}, + number = {NEWS-10-0005}, + OPTkey = {}, + month = {April}, + year = {2010}, + OPTannote = {} +} + + +@article{dam_post-wimp_1997, + title = {{Post-WIMP} user interfaces}, + volume = {40}, + url = {http://portal.acm.org/citation.cfm?doid=253671.253708}, + doi = {10.1145/253671.253708}, + abstract = {Note: {OCR} errors may be found in this Reference List extracted from the full text article. {ACM} has opted to expose the complete List rather than only correct and linked references.}, + number = {2}, + journal = {Commun. {ACM}}, + author = {Andries van Dam}, + year = {1997}, + pages = {63--67} +} + +@article{myers_past_2000, + title = {Past, Present and Future of User Interface Software Tools}, + volume = {7}, + url = + {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.45.9491}, + journal = {{ACM} {TRANSACTIONS} {ON} {COMPUTER-HUMAN} + {INTERACTION}}, + author = {Brad Myers and Scott E Hudson and Randy Pausch + and Y. Pausch}, + year = {2000}, + pages = {3---28} +} + +@misc{MFC, + title = {MFC}, + howpublished = {http://msdn.microsoft.com/en-us/library/d06h2x6e%28VS.90%29.aspx} +} + +@misc{Qt, + title = {Qt}, + howpublished = {http://qt.nokia.com/} +} + +@misc{apple, + title = {Apple}, + howpublished = {http://www.apple.com/} +} + +@misc{parc, + title = {Xerox PARC}, + howpublished = {http://www.parc.com/}, +} + +@misc{inuc_2008, + title = {{iNuC (Intelligent Nursing Cart)}}, + howpublished = {http://of.openfoundry.org/projects/1140}, +} + +@misc{autoit, + title = {AutoIt v3}, + howpublished={http://www.autoitscript.com/autoit3} +} + +@misc{perl, + title = {Perl Programming}, + howpublished={http://www.perl.org/} +} + +@misc{ncover, + title = {NCover}, + howpublished={http://www.ncover.com/} +} + +@misc{jahmm, + title = {jahmm}, + howpublished={http://code.google.com/p/jahmm/} +} + +@misc{java, + title = {JAVA}, + howpublished={http://www.java.com} +} + +@misc{net, + title = {Micorsoft .NET}, + howpublished = {http://www.microsoft.com/net/} +} + +@book{utting_model_based_2006, + edition = {1}, + title = {Practical {Model-Based} Testing: A Tools Approach}, + isbn = {0123725011}, + shorttitle = {Practical {Model-Based} Testing}, + publisher = {Morgan Kaufmann}, + author = {Mark Utting and Bruno Legeard}, + month = dec, + year = {2006} +} + +@misc{pan_software_1999, + title = {Software Testing}, + url = {http://www.ece.cmu.edu/~koopman/des_s99/sw_testing/}, + abstract = {Software testing is any activity aimed at evaluating + an attribute or capability of a program or system and + determining that it meets its required results. + {[Hetzel88]} Although crucial to software quality and + widely deployed by programmers and testers, software testing + still remains an art, due to limited understanding of + the principles of software. The difficulty in software + testing stems from the complexity of software: we can + not completely test a program with moderate complexity. + Testing is more than just debugging. The purpose of + testing can be quality assurance, verification and + validation, or reliability estimation. Testing can be + used as a generic metric as well. Correctness testing + and reliability testing are two major areas of testing. + Software testing is a trade-off between budget, time and + quality.}, + author = {Jiantao Pan}, + year = {1999}, + howpublished = + {http://www.ece.cmu.edu/{\textasciitilde}koopman/des\_s99/sw\_testing/} +} + +% Test automation + +@article{memon_hierarchical_2001, + title = {Hierarchical {GUI} Test Case Generation Using Automated + Planning}, + volume = {27}, + url = + {http://portal.acm.org/citation.cfm?id=373399&dl=GUIDE&coll=GUIDE&CFID=70942285&CFTOKEN=73530866}, + + number = {2}, + journal = {{IEEE} Trans. Softw. Eng.}, + author = {Atif M. Memon and Martha E. Pollack + and Mary Lou Soffa}, + year = {2001}, + keywords = {application of ai planning, + automated test case generation, + generating alternative plans., gui + regression testing, gui testing, + software testing}, + pages = {144--155} +} + +@inproceedings{memon_coverage_2001, + address = {Vienna, Austria}, + title = {Coverage criteria for {GUI} testing}, + isbn = {1-58113-390-1}, + url = {http://portal.acm.org/citation.cfm?id=503244}, + doi = {10.1145/503209.503244}, + + booktitle = {Proceedings of the 8th European + software engineering conference held jointly + with 9th {ACM} {SIGSOFT} international + symposium on Foundations of software + engineering}, + publisher = {{ACM}}, + author = {Atif M. Memon and Mary Lou + Soffa and Martha E. Pollack}, + year = {2001}, + keywords = {component testing, + event-based coverage, + event-flow graph, gui test + coverage, gui testing, + integration tree}, + pages = {256--267} +} + +@inproceedings{kasik_novice_1996, + address = {Vancouver, British Columbia, Canada}, + title = {Toward automatic generation of novice user test scripts}, + isbn = {0-89791-777-4}, + url = {http://portal.acm.org/ft_gateway.cfm?id=238519&type=html&coll=GUIDE&dl=&CFID=58170981&CFTOKEN=57973066}, + doi = {10.1145/238386.238519}, + abstract = {Note: {OCR} errors may be found in this Reference List extracted from the full text article. {ACM} has opted to expose the complete List rather than only correct and linked references.}, + booktitle = {Proceedings of the {SIGCHI} conference on Human factors in computing systems: common ground}, + publisher = {{ACM}}, + author = {David J. Kasik and Harry G. George}, + year = {1996}, + keywords = {automated test generation, dialog model specification, genetic algorithms, software engineering test process}, + pages = {244--251} +} + +@article{xie_usingpilot_2008, + title = {Using a pilot study to derive a {GUI} model for automated testing}, + volume = {18}, + url = {http://portal.acm.org/citation.cfm?id=1416563.1416567}, + doi = {10.1145/1416563.1416567}, + number = {2}, + journal = {{ACM} Trans. Softw. Eng. Methodol.}, + author = {Qing Xie and Atif M Memon}, + year = {2008}, + keywords = {graphical user interfaces, model-based testing, test minimization, test suite management}, + pages = {1--35} +} + +@article{nagarajan_refactoring_2003, + title = {Refactoring Using Event-based Profiling}, + url = + {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.1.8315}, + journal = {{IN} {PROCEEDINGS} {OF} {THE} {FIRST} {INTERNATIONAL} + {WORKSHOP} {ON} {REFACTORING:} {ACHIEVEMENTS,} {CHALLENGES,} + {EFFECTS}}, + author = {Adithya Nagarajan and Atif Memon}, + year = {2003} +} + + +@inproceedings{hackner_test_2008, + address = {Leipzig, Germany}, + title = {Test case generator for {GUITAR}}, + isbn = {978-1-60558-079-1}, + url = {http://portal.acm.org/citation.cfm?id=1370175.1370207}, + doi = {10.1145/1370175.1370207}, + booktitle = {Companion of the 30th international conference on Software engineering}, + publisher = {{ACM}}, + author = {Daniel R. Hackner and Atif M. Memon}, + year = {2008}, + keywords = {code coverage, event-flow, graphical user interfaces, gui ripping, integration tree, jfcunit, junit, test case generation}, + pages = {959--960} +}, + +@article{memon_employing_2006, + title = {Employing user profiles to test a new version of a {GUI} component in its context of use}, + volume = {14}, + issn = {0963-9314}, + url = {http://www.springerlink.com/index/10.1007/s11219-006-0040-7}, + doi = {10.1007/s11219-006-0040-7}, + number = {4}, + journal = {Software Quality Journal}, + author = {Atif M. Memon}, + year = {2006}, + pages = {359--377} +}, + +@article{memon_event-flow_2007, + title = {An event-flow model of {GUI-based} applications for testing: Research Articles}, + volume = {17}, + shorttitle = {An event-flow model of {GUI-based} applications for testing}, + url = {http://portal.acm.org/citation.cfm?id=1286487}, + number = {3}, + journal = {Softw. Test. Verif. Reliab.}, + author = {Atif M. Memon}, + year = {2007}, + keywords = {event-driven software, event-flow graph, event-flow model, graphical user interfaces, integration tree, model checking, test oracles, test-case generation}, + pages = {137--157} +}, + +@inproceedings{memon_usinggoal-driven_1999, + address = {Los Angeles, California, United States}, + title = {Using a goal-driven approach to generate test cases for {GUIs}}, + isbn = {1-58113-074-0}, + url = {http://portal.acm.org/citation.cfm?id=302632}, + doi = {10.1145/302405.302632}, + abstract = {Note: {OCR} errors may be found in this Reference List extracted from the full text article. {ACM} has opted to expose the complete List rather than only correct and linked references.}, + booktitle = {Proceedings of the 21st international conference on Software engineering}, + publisher = {{ACM}}, + author = {Atif M. Memon and Martha E. Pollack and Mary Lou Soffa}, + year = {1999}, + keywords = {application of planning, automated test case generation, generating alternate plans, gui regression testing, gui testing}, + pages = {257--266} +}, + + @inproceedings{ruiz_gui_2008, + title = {{GUI} Testing Made Easy}, + isbn = {978-0-7695-3383-4}, + url = {http://portal.acm.org/citation.cfm?id=1475701.1476380&coll=GUIDE&dl=GUIDE&CFID=94403256&CFTOKEN=99873115}, + booktitle = {Proceedings of the Testing: Academic {\textbackslash}\& Industrial Conference - Practice and Research Techniques}, + publisher = {{IEEE} Computer Society}, + author = {Alex Ruiz and Yvonne Wang Price}, + year = {2008}, + keywords = {gui testing, tool design}, + pages = {99--103} +}, + +@inproceedings{white_user-based_2001, + title = {User-based testing of {GUI} sequences and their interactions}, + booktitle = {Software Reliability Engineering, 2001. {ISSRE} 2001. Proceedings. 12th International Symposium on}, + author = {L. White and H. Almezen and N. Alzeidi}, + year = {2001}, + keywords = {complete interaction sequences, graphical user interfaces, {GUI} sequences, memory tools, object-oriented programming, object-oriented testing, program testing, user sequences, user-based testing}, + pages = {54--63}, +} + +@article{yuan_generating_2010, + title = {Generating Event {Sequence-Based} Test Cases Using {GUI} Runtime State Feedback}, + volume = {36}, + url = {http://portal.acm.org/citation.cfm?id=1729475.1729595}, + number = {1}, + journal = {{IEEE} Trans. Softw. Eng.}, + author = {Xun Yuan and Atif M. Memon}, + year = {2010}, + keywords = {automated testing, gui testing, guitar testing system., model-based testing}, + pages = {81--95} +} + +@article{clarke_automated_1998, + title = {Automated test generation from a behavioral model}, + url = + {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.119.2448}, + journal = {{IN} {PROCEEDINGS} {OF} {PACIFIC} {NORTHWEST} + {SOFTWARE} {QUALITY} {CONFERENCE}}, + author = {James M Clarke}, + year = {1998} +} + +%inuc + +@mastersthesis{sasa:1, + author = "Yen-Ting Chuang", + title = {iNuC User Interface Design and Implementation}, + school = "National Tsing Hua University", + address = "Hish-Chu City, Taiwan", + year = "2009" +} + +@mastersthesis{wang_2010, + author = "Huang Kuo-Chiao", + title = {Model-Based GUI Testing Using Sikuli}, + school = "National Taiwan University", + address = "Department of Electrical Engineering College of Electrical + Engineering and Computer Science, National Taiwan University, Taipei City, Taiwan", + year = "2010" +} + +%user model + +@incollection{pantic_human_2007, + title = {Human Computing and Machine Understanding of Human Behavior: A Survey}, + shorttitle = {Human Computing and Machine Understanding of Human Behavior}, + url = {http://dx.doi.org/10.1007/978-3-540-72348-6_3}, + abstract = {A widely accepted prediction is that computing will move to the background, weaving itself into the fabric of our everyday +living spaces and projecting the human user into the foreground. If this prediction is to come true, then next generation +computing should be about anticipatory user interfaces that should be human-centered, built for humans based on human models. +They should transcend the traditional keyboard and mouse to include natural, human-like interactive functions including understanding +and emulating certain human behaviors such as affecti0ve and social signaling. This article discusses how far are we from enabling computers to understand human behavior.}, + booktitle = {Artifical Intelligence for Human Computing}, + author = {Maja Pantic and Alex Pentland and Anton Nijholt and Thomas Huang}, + year = {2007}, + keywords = {{HCI}}, + pages = {47--71} +} + +@article{john_goms_1996, + title = {The {GOMS} family of user interface analysis techniques: comparison and contrast}, + volume = {3}, + doi = {10.1145/235833.236054}, + number = {4}, + journal = {{ACM} Trans. {Comput.-Hum.} Interact.}, + author = {Bonnie E. John and David E. Kieras}, + year = {1996}, + keywords = {cognitive modeling, goms, usability engineering}, + pages = {320--351}, +} + +@inproceedings{drury_adapting_2007, + address = {Arlington, Virginia, {USA}}, + title = {Adapting {GOMS} to model human-robot interaction}, + isbn = {978-1-59593-617-2}, + url = {http://portal.acm.org/citation.cfm?id=1228723}, + doi = {10.1145/1228716.1228723}, + abstract = {A formal interaction modeling technique known as Goals, Operators, Methods, and Selection rules {(GOMS)} is well-established in human-computer interaction as a cost-effective way of evaluating designs without the participation of end users. This paper explores the use of {GOMS} for evaluating human-robot interaction. We provide a case study in the urban search-and-rescue domain and raise issues for developing {GOMS} models that have not been previously addressed. Further, we provide rationale for selecting different types of {GOMS} modeling techniques to help the analyst model human-robot interfaces.}, + booktitle = {Proceedings of the {ACM/IEEE} international conference on Human-robot interaction}, + publisher = {{ACM}}, + author = {Jill L. Drury and Jean Scholtz and David Kieras}, + year = {2007}, + keywords = {evaluation, goms, human-robot interaction, interface design}, + pages = {41--48}, +} + +@article{novielli_hmm_2009, + title = {{HMM} modeling of user engagement in advice-giving dialogues}, + issn = {1783-7677}, + url = {http://www.springerlink.com/index/10.1007/s12193-009-0026-4}, + doi = {10.1007/s12193-009-0026-4}, + journal = {Journal on Multimodal User Interfaces}, + author = {Nicole Novielli}, + year = {2009}, +} + +@book{hand_principles_2001, + title = {Principles of data mining}, + isbn = {9780262082907}, + publisher = {{MIT} Press}, + author = {D. J. Hand and Heikki Mannila and Padhraic Smyth}, + month = aug, + year = {2001}, + pages = {594} +} + +@inproceedings{fok_hidden_2005, + title = {Hidden Markov model based characterization of content access patterns in an {E-Learning} environment}, + booktitle = {{IEEE} International Conference on Multimedia and Expo, 2005. {ICME} 2005}, + author = {A. W. P. Fok and H. S. Wong and Y. S. Chen}, + year = {2005}, + pages = {201ै€“204}, +} + +@inproceedings{freitag_information_2000, + title = {Information Extraction with {HMM} Structures Learned by Stochastic Optimization}, + isbn = {0-262-51112-6}, + url = {http://portal.acm.org/citation.cfm?id=723414}, + booktitle = {Proceedings of the Seventeenth National Conference on Artificial Intelligence and Twelfth Conference on Innovative Applications of Artificial Intelligence}, + publisher = {{AAAI} Press / The {MIT} Press}, + author = {Dayne Freitag and Andrew {McCallum}}, + year = {2000}, + pages = {584--589} +} + + +@article{ji_student_2001, + title = {Student Behavioral Model Based Prefetching in Online Tutoring + System}, + url = + {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.29.63}, + author = {Ping Ji and Jim Kurose and Beverly Woolf}, + year = {2001} +} + +@article{rabiner_hmm_1989, + title = {A tutorial on hidden Markov models and selected applications in + speech recognition}, + volume = {77}, + issn = {0018-9219}, + url = {10.1109/5.18626}, + doi = {10.1109/5.18626}, + number = {2}, + journal = {Proceedings of the {IEEE}}, + author = {{L.R.} Rabiner}, + year = {1989}, + keywords = {balls-in-urns + system, coin-tossing, + discrete Markov chains, + ergodic models, hidden + markov models, hidden + states, left-right + models, Markov + processes, probabilistic + function, speech + recognition}, + pages = {257--286} +} + +@misc{wiki_hmm_example, + title = {Example of HMM}, + howpublished ={http://upload.wikimedia.org/wikipedia/commons/4/43/ HMMGraph.svg} +} + +@MISC{starner_gesture_hmm_1995, + author = {Thad E. Starner and Alex Pentland}, + title = {Visual Recognition of American Sign Language Using Hidden + Markov Models}, + year = {1995} +} + +%dummy + +@article{weyuker_experience_2000, + title = {Experience with Performance Testing of Software Systems: + Issues, an Approach, and Case Study}, + volume = {26}, + issn = {0098-5589}, + shorttitle = {Experience with Performance Testing of + Software Systems}, + doi = + {http://doi.ieeecomputersociety.org/10.1109/32.888628}, + number = {12}, + journal = {{IEEE} Transactions on Software + Engineering}, + author = {Elaine J. Weyuker and Filippos + I. Vokolos}, + year = {2000}, + keywords = {performance + testing., program testing, + software performance + testing, software + testing}, + pages = {1147--1156}, +} + +@article{usability_2005, + author = {Holzinger, Andreas}, + title = {Usability engineering methods for software developers}, + journal = {Commun. ACM}, + volume = {48}, + number = {1}, + year = {2005}, + issn = {0001-0782}, + pages = {71--74}, + doi = {http://doi.acm.org/10.1145/1039539.1039541}, + publisher = {ACM}, + address = {New York, NY, USA}, +} + + +%% OIGY +@article{YJMS10, +abstract = {A channel allocation algorithm includes a channel acquisition algorithm and a channel selection algorithm. Most of the previous work concentrates on the channel selection algorithm since early channel acquisition algorithms are centralized and rely on a mobile switching center (MSC) to accomplish channel acquisition. Recently, distributed channel acquisition algorithms have received considerable attention due to their high reliability and scalability. However, in these algorithms, a borrower needs to consult with its interference neighbors in order to borrow a channel. Thus, the borrower fails to borrow channels when it cannot communicate with any interference neighbor. In real-life networks, under heavy traffic load, a cell has a large probability to experience an intermittent network congestion or even a communication link failure. In existing distributed algorithms, since a cell has to consult with a large number of interference neighbors to borrow a channel, the failure rate will be much higher under heavy traffic load. Therefore, previous distributed channel allocation algorithms are not suitable for real-life networks. In this paper, we first propose a fault-tolerant channel acquisition algorithm which tolerates communication link failures and node (MH or MSS)failures. Then, we present a channel selection algorithm and integrate it into the distributed acquisition algorithm. Detailed simulation experiments are carried out in order to evaluate our proposed methodology. Simulation results show that our algorithm significantly reduces the failure rate under network congestion, communication link failures, and node failures compared to nonfault-tolerant channel allocation algorithms. Moreover, our algorithm has low message overhead compared to known distributed channel allocation algorithms, and outperforms them in terms of failure rate under uniform as well as nonuniform traffic distribution.}, +author = {Yang, Jianchang and Jiang, Qiangfeng and Manivannan, D and Singhal, Mukesh}, +issn = {07338716}, +journal = {2010 International Symposium on Performance Evaluation of Computer and Telecommunications Systems}, +number = {7}, +pages = {616--629}, +publisher = {IEEE}, +title = {{A Fault-Tolerant Distributed Channel Allocation Scheme for Cellular Networks}}, +volume = {18}, +year = {2010} +} + +@article{WJ2007, +author = {Wun, Alex and Jacobsen, Hans-arno}, +isbn = {3540767770}, +journal = {Middleware 2007}, +keywords = {configurability,policy,publish,security,subscribe}, +pages = {368--388}, +publisher = {Springer}, +title = {{A policy management framework for content-based publish/subscribe middleware}}, +url = {http://www.springerlink.com/index/G6GKM6313G822U67.pdf}, +volume = {2007}, +year = {2007} +} + +@inproceedings{Wu09, +author = {Wu, Zhengping}, +booktitle = {Proc International Conference on Advanced Information Networking and Applications Workshops WAINA 09}, +doi = {10.1109/WAINA.2009.39}, +keywords = {dataprivacy,federationsystem,federationsystems,informationsharing,intermediary basedmechanisms,onlinecollaboration,privacyprotection,query basedmechanisms,securityofdata,securityprotection,securitytokens,semanticapproach,trustexchange,trustinformationexchange,trustmanagement}, +pages = {25--30}, +title = {{A Semantic Approach for Trust Information Exchange in Federation Systems}}, +year = {2009} +} + +@article{KV05, +author = {Kim, S and Varshney, P K}, +doi = {10.1049/ip-com:20045131}, +issn = {1350-2425}, +journal = {Communications, IEE Proceedings-}, +keywords = {QoS; adaptive fault tolerant scheme; bandwidth man}, +number = {6}, +pages = {932--938}, +title = {{Adaptive fault tolerant bandwidth management framework for multimedia cellular networks}}, +volume = {152}, +year = {2005} +} + +@article{YM05, +author = {Yang, J and Manivannan, D}, +journal = {IEEE Transactions on Mobile Computing}, +number = {6}, +pages = {578--587}, +title = {{An efficient fault-tolerant distributed channel allocation algorithm for cellular networks}}, +url = {http://ieeexplore.ieee.org/xpls/abs\_all.jsp?arnumber=1516107}, +volume = {4}, +year = {2005} +} + +@article{RC05, +abstract = {Even though multiple non-overlapped channels exist in the 2.4 GHz and 5 GHz spectrum, most IEEE 802.11-based multi-hop ad hoc networks today use only a single channel. As a result, these networks rarely can fully exploit the aggregate bandwidth available in the radio spectrum provisioned by the standards. This prevents them from being used as an ISP's wireless last-mile access network or as a wireless enterprise backbone network. In this paper, we propose a multi-channel wireless mesh network (WMN) architecture (called Hyacinth) that equips each mesh network node with multiple 802.11 network interface cards (NICs). The central design issues of this multi-channel WMN architecture are channel assignment and routing. We show that intelligent channel assignment is critical to Hyacinth's performance, present distributed algorithms that utilize only local traffic load information to dynamically assign channels and to route packets, and compare their performance against a centralized algorithm that performs the same functions. Through an extensive simulation study, we show that even with just 2 NICs on each node, it is possible to improve the network throughput by a factor of 6 to 7 when compared with the conventional single-channel ad hoc network architecture. We also describe and evaluate a 9-node Hyacinth prototype that Is built using commodity PCs each equipped with two 802.11a NICs.}, +author = {Raniwala, A and Chiueh, Tzi-cker}, +issn = {0743166X}, +journal = {Proceedings IEEE 24th Annual Joint Conference of the IEEE Computer and Communications Societies}, +keywords = {ashish raniwala tzi cker chiueh,distributed algorithms,protocols,prototype implementation,sim,system design,ulations}, +pages = {2223--2234}, +publisher = {IEEE}, +title = {{Architecture and algorithms for an IEEE 802.1 1 -based multi-channel wireless mesh network}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1498497}, +volume = {3}, +year = {2005} +} + +@article{CBB03, +author = {Cilia, M and Bornhoevd, C and Buchmann, AP}, +journal = {On The Move to Meaningful Internet Systems 2003 CoopIS DOA and ODBASE}, +keywords = {business rules,concept based addressing,data integration,event based applications,event handling,publish,scribe,sub}, +pages = {482--502}, +publisher = {Springer}, +title = {{CREAM: An infrastructure for distributed, heterogeneous event-based applications}}, +url = {http://www.springerlink.com/index/6RE7XQFHLVC0RD5A.pdf}, +year = {2003} +} + +@article{WHT09, +author = {Wu, Fang-Jing and Huang, Chi-Fu and Tseng, Yu-Chee}, +doi = {10.1109/MDM.2009.43}, +institution = {2009 Tenth International Conference on Mobile Data Management: Systems, Services and Middleware}, +isbn = {9781424441532}, +journal = {2009 Tenth International Conference on Mobile Data Management Systems Services and Middleware}, +keywords = {communication holes,computer geometry,data,gathering,mobile mule,traveling salesman problem,tsp,wireless sensor networks}, +pages = {293--298}, +publisher = {Ieee}, +title = {{Data Gathering by Mobile Mules in a Spatially Separated Wireless Sensor Network}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=5088947}, +year = {2009} +} + +@inproceedings{CT02, +author = {Charnsripinyo, C and Tipper, D}, +booktitle = {MILCOM 2002. Proceedings}, +doi = {10.1109/MILCOM.2002.1180497}, +keywords = {fault tolerance; integer programming model; mobile}, +pages = {525 -- 529 vol.1}, +title = {{Designing fault tolerant wireless access networks}}, +volume = {1}, +year = {2002} +} + +@incollection{Buchmann2004, +author = {{A. Buchmann, C. Bornh\"{o}vd, M. Cilia, L. Fiege, F. G\"{a}rtner, C. Liebig}, M. Meixner and G. M\"{u}hl}, +booktitle = {Web Dynamics: Adapting to Change in Content, Size, Topology, and Use}, +pages = {319--350}, +title = {{DREAM: Distributed reliable event-based application management}}, +year = {2004} +} + +@misc{Dro93, +abstract = {Dynamic Host Configuration Protocol}, +author = {Droms, R}, +booktitle = {Text}, +institution = {Internet Engineering Task Force}, +number = {2131}, +pages = {1--46}, +publisher = {IETF}, +series = {Request for Comments}, +title = {{Dynamic Host Configuration Protocol}}, +url = {http://www.ietf.org/rfc/rfc2131.txt}, +volume = {2136}, +year = {1993} +} + +@article{LHL10, +author = {Liu, L and Hu, B and Li, L}, +issn = {17518628}, +journal = {IET Communications}, +number = {7}, +pages = {786}, +title = {{Energy conservation algorithms for maintaining coverage and connectivity in wireless sensor networks}}, +url = {http://link.aip.org/link/ICEOCW/v4/i7/p786/s1\&Agg=doi}, +volume = {4}, +year = {2010} +} + +@article{ZLV09, +author = {Zahariadis, Theodore and Leligou, Helen C and Voliotis, Stamatis and Trakadas, Panagiotis and Karkazis, Panagiotis}, +journal = {Wseas Transactions On Communications}, +number = {9}, +pages = {981--991}, +title = {{Energy-aware Secure Routing for Large Wireless Sensor Networks}}, +volume = {8}, +year = {2009} +} + +@article{GXAG07, +author = {Deng, Gan and Xiong, Ming and Gokhale, Aniruddha and Edwards, George}, +journal = {ISORC 07 Proceedings of the 10th IEEE International Symposium on Objectoriented Realtime Distributed Computing}, +pages = {222--227}, +publisher = {Ieee}, +title = {{Evaluating Real-Time Publish/Subscribe Service Integration Approaches in QoS-Enabled Component Middleware}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=4208847}, +year = {2007} +} + +@article{LHL09, +author = {Lili, Zhang and Huibin, Wang and Lizhong, Xu and Zhuoming, Xu and Chenming, Li}, +journal = {2009 International Conference on Networks Security Wireless Communications and Trusted Computing}, +keywords = {communications delay,fault tolerant,topology,wireless mesh networks}, +pages = {193--196}, +publisher = {Ieee}, +title = {{Fault Tolerance and Transmission Delay in Wireless Mesh Networks}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=4908438}, +year = {2009} +} + +@article{CIQC02, +abstract = {We present novel grid coverage strategies for effective surveillance and target location in distributed sensor networks. We represent the sensor field as a grid (two or three-dimensional) of points (coordinates) and use the term target location to refer to the problem of locating a target at a grid point at any instant in time. We first present an integer linear programming (ILP) solution for minimizing the cost of sensors for complete coverage of the sensor field. We solve the ILP model using a representative public-domain solver and present a divide-and-conquer approach for solving large problem instances. We then use the framework of identifying codes to determine sensor placement for unique target location, We provide coding-theoretic bounds on the number of sensors and present methods for determining their placement in the sensor field. We also show that grid-based sensor placement for single targets provides asymptotically complete (unambiguous) location of multiple targets in the grid.}, +author = {Chakrabarty, K and Iyengar, S S and Qi, H and Cho, E}, +institution = {IEEE Transactions on Computers}, +issn = {00189340}, +journal = {IEEE Transactions on Computers}, +number = {12}, +pages = {1448--1453}, +publisher = {IEEE Computer Society}, +title = {{Grid coverage for surveillance and target location in distributed sensor networks}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1146711}, +volume = {51}, +year = {2002} +} + +@inproceedings{ZJY07, +author = {Zhan, Yichun and Ji, Meng and Yu, Shaohua}, +booktitle = {Wireless Communications, Networking and Mobile Computing, 2006. WiCOM 2006.International Conference on}, +doi = {10.1109/WiCOM.2006.378}, +keywords = {3G system;4G system;IP wireless solution;Internet }, +pages = {1--4}, +title = {{Hierarchical Self-Healing Rings for Mobile Ethernet Networks}}, +year = {2006} +} + +@inproceedings{WW07, +author = {Wu, Zhengping and Weaver, A C}, +booktitle = {Dependable, Autonomic and Secure Computing, 2007. DASC 2007. Third IEEE International Symposium on}, +doi = {10.1109/DASC.2007.15}, +keywords = {communication protocols;federated systems;informat}, +pages = {125--133}, +title = {{Hybrid Trust Information Exchange for Federated Systems}}, +year = {2007} +} + +@inproceedings{SS09, +author = {Sridevi, A and Sumathi, V}, +booktitle = {Control, Automation, Communication and Energy Conservation, 2009. INCACEC 2009. 2009 International Conference on}, +keywords = {GA;PSO;cellular network;channel capacity;fault-tol}, +pages = {1--6}, +title = {{Improved fault tolerant model for channel allocation in wireless communication}}, +year = {2009} +} + +@book{El06, +author = {El-Rabbany, Ahmed}, +booktitle = {Communications}, +pages = {xv, 176 p.}, +publisher = {Artech House}, +series = {Artech House mobile communications series}, +title = {{Introduction to GPS: The Global Positioning System}}, +url = {http://books.google.be/books?id=U2JmghrrB8cC\&pg=PA112\&dq=NMEA\&ei=k-UbSuGKG46UzQSD6YC5BA\#PPP1,M1}, +year = {2002} +} + +@article{KBS09, +author = {Kasbekar, Gaurav S and Bejerano, Yigal and Sarkar, Saswati}, +journal = {Proceedings of the 15th annual international conference on Mobile computing and networking MobiCom 09}, +keywords = {ap,coordinate,coverage,distributed algorithms,network lifetime,proximation algorithms,wireless sensor networks}, +pages = {169}, +publisher = {ACM Press}, +title = {{Lifetime and coverage guarantees through distributed coordinate-free sensor activation}}, +url = {http://portal.acm.org/citation.cfm?doid=1614320.1614339}, +year = {2009} +} + +@article{SG10, +author = {Sugihara, Ryo and Gupta, Rajesh K}, +institution = {IEEE Transactions on Mobile Computing}, +issn = {15361233}, +journal = {IEEE Transactions on Mobile Computing}, +number = {1}, +pages = {127--139}, +publisher = {Published by the IEEE Computer Society}, +title = {{Optimal Speed Control of Mobile Node for Data Collection in Sensor Networks}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=5089327}, +volume = {9}, +year = {2010} +} + +@article{CLW08, +abstract = {This paper presents a survivable network design using network path restoration approach to provide fault tolerance in cellular backhaul network design, so that any breakdown of links within a network path can no longer interrupt the network services. As a consequence, the network design can greatly enhance the network reliability and quality of services. We adopt a two-phase network design approach to reduce the complexity of network design and to provide a design mechanism for enhancing reliability in existing networks. The first phase provides a minimum-cost initial network design. The problem is to find a minimum-cost network topology which includes selecting the location and type of base station controllers and mobile switching controllers as well as their link types. The second phase provides backup paths and spare capacity to the network topology from phase one to improve network reliability. Due to the complexity of network design problem, a genetic algorithm is applied as a meta-heuristic technique for obtaining good solutions. Various problem sizes of example networks are considered and discussed.}, +author = {Wattanapongsakorn, Naruemon and Charnsripinyo, Chalermpol and Leesutthipornchai, Pakorn}, +journal = {2008 Third International Conference on Availability Reliability and Security}, +pages = {604 --609}, +publisher = {Ieee}, +title = {{Providing Fault Tolerance in Wireless Backhaul Network Design with Path Restoration}}, +url = {http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=4529397}, +year = {2008} +} + +@article{PR06, +abstract = {PlanetLab is a geographically distributed platform for deploying, evaluating, and accessing planetary-scale network services. PlanetLab is a shared community effort by a large international group of researchers, each of whom gets access to one or more isolated slices of PlanetLab's global resources. Because we deployed PlanetLab and started supporting users before we fully understood what its architecture would be, being able to evolve the system became a requirement. This paper examines the set of design principles that guided this evolution. Some of these principles were explicit at the project outset, and others have become crystallized as the platform has developed.}, +author = {Peterson, Larry and Roscoe, Timothy}, +journal = {ACM SIGOPS Operating Systems Review}, +number = {1}, +pages = {11--16}, +publisher = {ACM Press, New York}, +title = {{The design principles of PlanetLab}}, +volume = {40}, +year = {2006} +} + +@inproceedings{Vai02, +author = {Vaidya, Nitin H}, +booktitle = {Proc ACM International Symposium on Mobile Ad Hoc Networking and Computing MobiHoc}, +title = {{Weak Duplicate Address Detection in Mobile Ad Hoc Networks}}, +year = {2002} +} + +@article{AWW05, +abstract = {Wireless mesh networks (WMNs) consist of mesh routers and mesh clients, where mesh routers have minimal mobility and form the backbone of WMNs. They provide network access for both mesh and conventional clients. The integration of WMNs with other networks such as the Internet, cellular, IEEE 802.11, IEEE 802.15, IEEE 802.16, sensor networks, etc., can be accomplished through the gateway and bridging functions in the mesh routers. Mesh clients can be either stationary or mobile, and can form a client mesh network among themselves and with mesh routers. WMNs are anticipated to resolve the limitations and to significantly improve the performance of ad hoc networks, wireless local area networks (WLANs), wireless personal area networks (WPANs), and wireless metropolitan area networks (WMANs). They are undergoing rapid progress and inspiring numerous deployments. WMNs will deliver wireless services for a large variety of applications in personal, local, campus, and metropolitan areas. Despite recent advances in wireless mesh networking, many research challenges remain in all protocol layers. This paper presents a detailed study on recent advances and open research issues in WMNs. System architectures and applications of WMNs are described, followed by discussing the critical factors influencing protocol design. Theoretical network capacity and the state-of-the-art protocols for WMNs are explored with an objective to point out a number of open research issues. Finally, testbeds, industrial practice, and current standard activities related to WMNs are highlighted.}, +author = {Akyildiz, Ian F and Wang, Xudong and Wang, Weilin}, +doi = {10.1016/j.comnet.2004.12.001}, +issn = {13891286}, +journal = {Computer Networks}, +keywords = {ad hoc networks,medium access control,power management control,protocol,routing protocol,scalability,security,timing synchronization,transport,wireless mesh networks,wireless sensor networks}, +number = {4}, +pages = {445--487}, +publisher = {Elsevier}, +title = {{Wireless mesh networks: a survey}}, +url = {http://linkinghub.elsevier.com/retrieve/pii/S1389128604003457}, +volume = {47}, +year = {2005} +} + +@article{ARL05, +abstract = {Multi-hop infrastructure wireless mesh networks offer increased reliability, coverage and reduced equipment costs over their single-hop counterpart, wireless LANs. Equipping wireless routers with multiple radios further improves the capacity by transmitting over multiple radios simultaneously using orthogonal channels. Efficient channel assignment and routing is essential for throughput optimization of mesh clients. Efficient channel assignment schemes can greatly relieve the interference effect of close-by transmissions; effective routing schemes can alleviate potential congestion on any gateways to the Internet, thereby improving per-client throughput. Unlike previous heuristic approaches, we mathematically formulate the joint channel assignment and routing problem, taking into account the interference constraints, the number of channels in the network and the number of radios available at each mesh router. We then use this formulation to develop a solution for our problem that optimizes the overall network throughput subject to fairness constraints on allocation of scarce wireless capacity among mobile clients. We show that the performance of our algorithms is within a constant factor of that of any optimal algorithm for the joint channel assignment and routing problem. Our evaluation demonstrates that our algorithm can effectively exploit the increased number of channels and radios, and it performs much better than the theoretical worst case bounds.}, +author = {Alicherry, Mansoor and Bhatia, Randeep and Li, Li Erran}, +doi = {10.1145/1080829.1080836}, +isbn = {1595930205}, +issn = {07338716}, +journal = {Proceedings of the 11th annual international conference on Mobile computing and networking MobiCom 05}, +number = {11}, +pages = {58}, +publisher = {ACM Press}, +series = {MobiCom '05}, +title = {{Joint channel assignment and routing for throughput optimization in multi-radio wireless mesh networks}}, +url = {http://portal.acm.org/citation.cfm?doid=1080829.1080836}, +volume = {24}, +year = {2005} +} + +@article{AD09, +abstract = {Although most of the studies on and in dimensional (2D) settings, such networks can in reality be accurately modeled a three-dimensional (3D) space. The concepts of continuum percolation theory best fit the problem of in WSNs to find out whether the network provides long-distance multihop communication. in 3D WSNs. We say that the network exhibits a and and in 3D WSNs in an integrated way. First, we compute the C con above which con above which in 3D WSNs will almost surely occur. Third, we compute the c cov-con above which both in 3D WSNs will almost surely occur. three problems, we also compute their corresponding in terms of and \crcr) +% Thanks to Rainer Dorsch for discovering and reporting that \and +% did not work. +% +% 2) Fixed the biography environment so that if a biography's text is shorter +% than the area allocated for the photo, a collision with the next +% biography does not occur. You can now put real graphics (using the +% graphicx package) into the biography photo box with a new optional +% argument of the biography command! For example: +% +% \begin{biography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{./tux.eps}}]{Linux Penguin} +% +% will use the specified graphic as the author's photo. The photo area is +% exactly 1in wide by 1.25in high - as is done in IEEE Transactions. Try +% to keep the same 4:5 aspect ratio if scanning/cropping your photos. +% Note the need for the extra set of enclosing braces around the +% \includegraphics. Without it, The LaTeX parser may get confused when it +% sees the \includegraphics's brackets within the biography's optional +% argument. Due to the length of the \includegraphics command, you may wish +% to define your own shorthand form of it. I have not done so with IEEEtran +% to prevent dependence on the graphicx package. If you do not use the +% optional argument, or leave it empty, a standard frame box with the +% words "Place Photo Here" will be used. If you want the space to remain +% completely empty, you can do: +% +% \begin{biography}[\mbox{}]{The Invisible Man} +% +% The interface to biography's optional argument is into a +% 1in X 1.25in minipage in which the argument text is centered both +% horizontally and vertically: +% +% \begin{minipage}[b][1.25in][c]{1in}% +% \centering +% #1% +% \end{minipage} +% +% Within the biography environment, \unitlength is set to 1in. +% With this in mind, you can even design your own custom frameboxes. +% For instance: +% +% \begin{biography}[\framebox(1,1.25){\parbox[][\height][c]{0.9in}{\centering PLACE\\ PHOTO\\ HERE}}]{Author Name} +% +% will yield the same type of result as the default photo box. +% +% Thanks to Herbert Voss for discovering the collision bug, suggesting the ability +% to handle graphics and providing some prototype code. +% +% +% +%******* +% 3/2001 V1.4 (MDS) changes: +% +% +% 1) New "draftcls" and "final" options have been added. +% Thanks to Dragan Cvetkovic for suggesting an option like draftcls. +% +% 2) Documentation changes to reflect the fact that this IEEEtran.cls +% is no longer beta test. +% +% 3) Slightly revised caption sizes. Figure and table captions are now +% in \footnotesize, not \small as before. +% +% 4) Allow user to control figure caption justification. IEEEtran.cls +% normally defaults to left justified as is done in Transactions. +% However, for conferences, you may wish to issue the command: +% \centerfigcaptionstrue +% in the preamble. Short (less than one line long) figure captions +% will then be centered. Multi-line figure captions will always be +% properly left justified. V1.6: This is already done for you when +% using the conference mode. +% +% +% +%******* +% 1/2001 V1.3 +% Michael Shell (MDS) made extensive changes and additions: +% +% +% BUGS FIXED (and many others too numerous to mention!): +% 1) Fixed improper alignment with itemized, enumerated and +% description lists. Added new controls to these three +% environments so that it is easy to get the alignment IEEE +% uses. Furthermore, the itemize, enumerate and description lists +% no longer force a new paragraph to begin at the end the list +% (\par). (Sometimes lists are used within paragraphs.) +% +% 2) JVH's fixes now allow things like $\mathbf{N}(0,P(0))$ +% to work properly without needing the extra braces: +% ${\mathbf{N}}(0,P(0))$. There is no longer any dependence +% on the "rawfonts" and "oldlfont" packages. Thanks Juergen! +% +% 3) Fixed underfull hbox errors and incorrect reference number +% alignment when the number of references in the bibliography +% exceeded 9 entries (which is almost every paper!). +% +% 4) Removed dependence on the LaTeX sizexx.clo files. +% Now, 9pt documents should work correctly even on systems that +% lack a size9.clo file. This is most often used in conjunction +% with the option "technote" for "correspondence" papers like those +% in IEEE Transactions on Information Theory. For virtually all +% other papers, 10pt is used and so it is the default. +% Some improper font sizes have been corrected. \footnotesize is +% now 8pt in 9pt docs, so footnotes in technotes should be the +% correct size now. +% +% 5) Added \interlinepenalty within the bibliography section to discourage +% LaTeX from breaking within a reference. IEEE almost never breaks within +% a reference and when they do it is usually in technotes +% (correspondence papers). You may get an underfull vbox warning in the +% bibliography indicating that the spacing just before the "REFERENCES" +% section is larger than normal, but the final result will be more like +% what IEEE will publish. See the comments in the BIBLIOGRAPHY section +% around line 2034 below if you want to change this behavior. +% +% 6) No longer "blows up" when you use \paragraph and have a table +% of contents. +% +% 7) Theorem environment changed, (but for V1.6, back to the old way, sigh). +% +% 8) Figure captions adjusted: IEEE left (not center) justifies +% figure captions (for journals) and does not indent figure caption text. +% +% 9) Adjusted some spacings in the table of contents(TOC))/list-of-figures/ +% list-of-tables so that section/table numbers will not so easily +% collide with the titles. Section VIII was usually the worst offender. +% Still doesn't right justify the section numbers, but neither does +% article.cls (This must be why LaTeX likes the x.y.z section numbering +% scheme unlike I, II, III, etc. of IEEE. ) +% It may be "normal" as it is (left justified). sigh. +% +%10) Now uses "index terms" now as a heading instead of "keywords". +% Furthermore, the "index terms" and "abstract" headings are in bold +% italic. This is how IEEE does things. +% +%11) \thebibliography and \biography now put entries into +% the table of contents for you. +% +% ******* +% +% +% +% +% +% ******* +% 9/2000 (JVH) changes: (now designated as V1.2) +% +% made some corrections to get closer to LaTeX2e +% 20000906 Juergen v.Hagen +% vonhagen@ihefiji.etec.uni-karlsruhe.de +% +% Permission to redistribute granted as of December 2000. +% ******* +% +% +% +% +% +% ******* +% +% 1996 (JWD) LaTeX2e version: (now designated as V1.1) +% +% In the most recent TeXhax digest, there was a request for a copy of +% IEEEtrans.sty modified to work with LaTeX2e. I have a version I +% modified to make it IEEEtrans.cls, which I have sent to the person +% making the request and am now sending to you to consider posting to +% the archives. +% -- +% Jon Dixon +% dixonj@colorado.edu +% http://spot.colorado.edu/~dixonj/ +% +%******* +% +% +% +% +% +%******* +% +% 30-August-1993 original LaTeX 2.09 version (IEEEtran.sty), +% (now designated as V1.0): +% +% by Gerry Murray and Silvano Balemi +% Automatic Control Lab, ETH Zurich, Switzerland +% balemi@aut.ee.ethz.ch +% +%******* +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% +% +% +\ProvidesClass{ieeeconf}[2004/1/15 revision V1.6b by Pradeep Misra] +%\ProvidesClass{IEEEtran}[2002/11/18 revision V1.6b by Michael Shell] +%\typeout{-- See the "IEEEtran_HOWTO" manual for usage information.} +%\typeout{-- The source comments contain changelog notes.} +\NeedsTeXFormat{LaTeX2e} + +% define new needed flags to indicate document options +% and set a few "failsafe" defaults +\newif\if@twocolumnmode \global\@twocolumnmodetrue +\newif\if@draftversion \global\@draftversionfalse +\newif\if@draftclsmode \global\@draftclsmodefalse +\newif\if@draftclsmodefoot \global\@draftclsmodefootfalse +\newif\if@confmode \global\@confmodefalse +\newif\if@peerreviewoption \global\@peerreviewoptionfalse +\newif\if@peerreviewcaoption \global\@peerreviewcaoptionfalse + +% we HAVE to turn off technote as there is no +% "not a tech note" option +\newif\if@technote \global\@technotefalse + +% V1.6 we allow the user to control whether or not the +% font interword spacings are tuned to be more like +% that of IEEE. The default is to tune things. +\newif\if@fonttunesettings \global\@fonttunesettingstrue + +% V1.6b flag to show if using a4paper +\newif\if@IEEEusingAfourpaper \global\@IEEEusingAfourpaperfalse + +% IEEEtran class scratch pad registers +% dimen +\newdimen\@IEEEtrantmpdimenA +\newdimen\@IEEEtrantmpdimenB +% count +\newcount\@IEEEtrantmpcountA +\newcount\@IEEEtrantmpcountB +% token list +\newtoks\@IEEEtrantmptoksA + +% we use \@IEEEptsize so that we can ID the point size (even for 9pt docs) +% as well as LaTeX's \@ptsize to retain some compatability with some +% external packages +\def\@IEEEptsize{10} +\def\@ptsize{0} +% LaTeX does not support 9pt, so we set \@ptsize to 0 - same as that of 10pt +\DeclareOption{9pt}{\def\@IEEEptsize{9}\def\@ptsize{0}} +\DeclareOption{10pt}{\def\@IEEEptsize{10}\def\@ptsize{0}} +\DeclareOption{11pt}{\def\@IEEEptsize{11}\def\@ptsize{1}} +\DeclareOption{12pt}{\def\@IEEEptsize{12}\def\@ptsize{2}} + + +% \@IEEEmarginE is the side margin for equal margins +% \@IEEEmarginW is the wider side margin when the margins are not equal +% NOTE: BOTH of the above margins are as they appear +% on the paper - they are NOT offset by 1 inch +%\DeclareOption{letterpaper}{\setlength{\paperheight}{11in}% +% \setlength{\paperwidth}{8.5in}% +% \def\@IEEEmarginE{0.680in}% +% \def\@IEEEmarginW{0.775in}% +% \@IEEEusingAfourpaperfalse} +% +% +%\DeclareOption{a4paper}{\setlength{\paperheight}{297mm}% +% \setlength{\paperwidth}{210mm}% +% \def\@IEEEmarginE{14.32mm}% +% \def\@IEEEmarginW{17mm} +% \@IEEEusingAfourpapertrue} +% +% [2004/1/15 revision V1.6b by Pradeep Misra] +\DeclareOption{letterpaper}{\setlength{\paperheight}{11in}% + \setlength{\paperwidth}{8.5in}% +% \setlength{\topmargin}{0in}% + \def\@IEEEmarginE{0.75in}% + \def\@IEEEmarginW{0.75in}} + + +\DeclareOption{a4paper}{\setlength{\paperheight}{297mm}% + \setlength{\paperwidth}{210mm}% + \setlength{\topmargin}{-0.69in}% + \def\@IEEEmarginE{13.15mm}% + \def\@IEEEmarginW{0.75in}} + + +\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} +\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} + +\DeclareOption{onecolumn}{\global\@twocolumnmodefalse} +% the file twocolumn.sty is not read as it changes \textwidth. +\DeclareOption{twocolumn}{\global\@twocolumnmodetrue} + +% If the user selects draft, then this class AND any packages +% will go into draft mode. +\DeclareOption{draft}{\global\@draftversiontrue \global\@draftclsmodetrue +\global\@draftclsmodefoottrue} +% draftcls is for a draft mode which will not affect any packages +% used by the document. +\DeclareOption{draftcls}{\global\@draftversionfalse \global\@draftclsmodetrue +\global\@draftclsmodefoottrue} +% draftclsnofoot is like draftcls, but without the footer. +\DeclareOption{draftclsnofoot}{\global\@draftversionfalse \global\@draftclsmodetrue +\global\@draftclsmodefootfalse} +% we provide a final option just for completeness (article.cls has one) +\DeclareOption{final}{\global\@draftversionfalse \global\@draftclsmodefalse +\global\@draftclsmodefootfalse} + +\DeclareOption{journal}{\global\@peerreviewoptionfalse \global\@peerreviewcaoptionfalse +\global\@confmodefalse \global\@technotefalse} + +\DeclareOption{conference}{\global\@peerreviewoptionfalse \global\@peerreviewcaoptionfalse +\global\@confmodetrue \global\@technotefalse} + +\DeclareOption{technote}{\global\@peerreviewoptionfalse \global\@peerreviewcaoptionfalse +\global\@confmodefalse \global\@technotetrue} + +\DeclareOption{peerreview}{\global\@peerreviewoptiontrue \global\@peerreviewcaoptionfalse +\global\@confmodefalse \global\@technotefalse} + +\DeclareOption{peerreviewca}{\global\@peerreviewoptiontrue \global\@peerreviewcaoptiontrue +\global\@confmodefalse \global\@technotefalse} + +\DeclareOption{nofonttune}{\global\@fonttunesettingsfalse} + + +% IEEE uses Times font, so we'll default to times. +% These three commands make up the entire times.sty package. +\renewcommand{\sfdefault}{phv} +\renewcommand{\rmdefault}{ptm} +\renewcommand{\ttdefault}{pcr} +% enable Times now - so that all class options can see the correct font families +\normalfont\selectfont + + +% default to US letter paper, 10pt, twocolumn, one sided, final, journal +\ExecuteOptions{letterpaper,10pt,twocolumn,oneside,final,journal} +% overrride these defaults per user requests +\ProcessOptions + +% we can send console reminder messages to the user here +\AtEndDocument{\if@confmode% +\typeout{}% +\typeout{** Conference Paper **}% +\typeout{Before submitting the final camera ready copy, remember to:}% +\typeout{}% +\typeout{ 1. Manually equalize the lengths of two columns on the last page}% +\typeout{ of your paper;}% +\typeout{}% +\typeout{ 2. Ensure that any PostScript and/or PDF output post-processing}% +\typeout{ uses only Type 1 fonts and that every step in the generation}% +\typeout{ process uses the US letter (8.5in X 11in) paper size.}% +\typeout{}% +\fi} + + +% warn about the use of single column other than for draft mode +\if@twocolumnmode\else% + \if@draftclsmode\else% + \typeout{** ATTENTION: Single column mode is not normally used with IEEE publications.}% + \fi% +\fi + + +% V1.6, if the user is using pdflatex, go ahead and set the output paper size. +% Otherwise, we declare the papersize via a \special for dvips. +% We keep the tests within braces because otherwise, if not using pdflatex, +% \pdfpageheight and \pdfpagewidth will be set to \relax - possibly affecting +% similar tests of other packages. +{\@ifundefined{pdfpageheight}{% not using pdflatex, setup paper size for dvips +\if@IEEEusingAfourpaper +\special{papersize=210mm,297mm}% +\else +\special{papersize=8.5in,11in}% +\fi}% +{% using pdftex, set paper size for pdftex +\global\pdfpageheight\paperheight\global\pdfpagewidth\paperwidth}} + + + +% The idea hinted here is for LaTeX to generate markleft{} and markright{} +% automatically for you after you enter \author{}, \journal{}, +% \journaldate{}, journalvol{}, \journalnum{}, etc. +% However, there may be some backward compatibility issues here as +% well as some special applications for IEEEtran.cls and special issues +% that may require the flexible \markleft{}, \markright{} and/or \markboth{}. +% We'll leave this as an open future suggestion. +%\newcommand{\journal}[1]{\def\@journal{#1}} +%\def\@journal{} + + + +% pointsize values +% used with ifx to determine the document's normal size +\def\@IEEEptsizenine{9} +\def\@IEEEptsizeten{10} +\def\@IEEEptsizeeleven{11} +\def\@IEEEptsizetwelve{12} + + + +% FONT DEFINITIONS (No sizexx.clo file needed) +% V1.6 revised font sizes, displayskip values and +% revised normalsize baselineskip to reduce underfull vbox problems +% on the 58pc = 696pt = 9.5in text height we want +% normalsize #lines/column baselineskip (aka leading) +% 9pt 63 11.0476pt (truncated down) +% 10pt 58 12pt (exact) +% 11pt 52 13.3846pt (truncated down) +% 12pt 50 13.92pt (exact) +% + +% we need to store the nominal baselineskip for the given font size +% in case baselinestretch ever changes. +\newskip\@IEEEnormalsizefontbaselineskip +\@IEEEnormalsizefontbaselineskip\baselineskip + +\ifx\@IEEEptsize\@IEEEptsizenine +\typeout{-- This is a 9 point document.} +\def\normalsize{\@setfontsize{\normalsize}{9}{11.0476pt}}% +\setlength{\@IEEEnormalsizefontbaselineskip}{11.0476pt}% +\normalsize +\abovedisplayskip 1.5ex plus3pt minus1pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus3pt% +\belowdisplayshortskip 1.5ex plus3pt minus1pt +\def\small{\@setfontsize{\small}{8.5}{10pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} +\def\tiny{\@setfontsize{\tiny}{5}{6pt}} +% sublargesize is the same as large - 10pt +\def\sublargesize{\@setfontsize{\sublargesize}{10}{12pt}} +\def\large{\@setfontsize{\large}{10}{12pt}} +\def\Large{\@setfontsize{\Large}{12}{14pt}} +\def\LARGE{\@setfontsize{\LARGE}{14}{17pt}} +\def\huge{\@setfontsize{\huge}{17}{20pt}} +\def\Huge{\@setfontsize{\Huge}{20}{24pt}} +\fi + + +% Check if we have selected 10 points +\ifx\@IEEEptsize\@IEEEptsizeten +\typeout{-- This is a 10 point document.} +\def\normalsize{\@setfontsize{\normalsize}{10}{12.00pt}}% +\setlength{\@IEEEnormalsizefontbaselineskip}{12pt}% +\normalsize +\abovedisplayskip 1.5ex plus4pt minus2pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus4pt% +\belowdisplayshortskip 1.5ex plus4pt minus2pt +\def\small{\@setfontsize{\small}{9}{10pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} +\def\tiny{\@setfontsize{\tiny}{5}{6pt}} +% sublargesize is a tad smaller than large - 11pt +\def\sublargesize{\@setfontsize{\sublargesize}{11}{13.4pt}} +\def\large{\@setfontsize{\large}{12}{14pt}} +\def\Large{\@setfontsize{\Large}{14}{17pt}} +\def\LARGE{\@setfontsize{\LARGE}{16}{20pt}} +\def\huge{\@setfontsize{\huge}{20}{24pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% Check if we have selected 11 points +\ifx\@IEEEptsize\@IEEEptsizeeleven +\typeout{-- This is an 11 point document.} +\def\normalsize{\@setfontsize{\normalsize}{11}{13.3846pt}}% +\setlength{\@IEEEnormalsizefontbaselineskip}{13.3846pt}% +\normalsize +\abovedisplayskip 1.5ex plus5pt minus3pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus5pt% +\belowdisplayshortskip 1.5ex plus5pt minus3pt +\def\small{\@setfontsize{\small}{10}{12pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} +\def\tiny{\@setfontsize{\tiny}{6}{7pt}} +% sublargesize is the same as large - 12pt +\def\sublargesize{\@setfontsize{\sublargesize}{12}{14pt}} +\def\large{\@setfontsize{\large}{12}{14pt}} +\def\Large{\@setfontsize{\Large}{14}{17pt}} +\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}} +\def\huge{\@setfontsize{\huge}{20}{24pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% Check if we have selected 12 points +\ifx\@IEEEptsize\@IEEEptsizetwelve +\typeout{-- This is a 12 point document.} +\def\normalsize{\@setfontsize{\normalsize}{12}{13.92pt}}% +\setlength{\@IEEEnormalsizefontbaselineskip}{13.92pt}% +\normalsize +\abovedisplayskip 1.5ex plus6pt minus4pt% +\belowdisplayskip \abovedisplayskip% +\abovedisplayshortskip 0pt plus6pt% +\belowdisplayshortskip 1.5ex plus6pt minus4pt +\def\small{\@setfontsize{\small}{10}{12pt}} +\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} +\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} +\def\tiny{\@setfontsize{\tiny}{6}{7pt}} +% sublargesize is the same as large - 14pt +\def\sublargesize{\@setfontsize{\sublargesize}{14}{17pt}} +\def\large{\@setfontsize{\large}{14}{17pt}} +\def\Large{\@setfontsize{\Large}{17}{20pt}} +\def\LARGE{\@setfontsize{\LARGE}{20}{24pt}} +\def\huge{\@setfontsize{\huge}{22}{26pt}} +\def\Huge{\@setfontsize{\Huge}{24}{28pt}} +\fi + + +% V1.6 The Computer Modern Fonts will issue a substitution warning for +% 24pt titles (24.88pt is used instead) increase the substitution +% tolerance to turn off this warning +\def\fontsubfuzz{.9pt} +% However, the default (and correct) Times font will scale exactly as needed. + + +% warn the user in case they forget to use the 9pt option with +% technote +\if@technote% + \ifx\@IEEEptsize\@IEEEptsizenine\else% + \typeout{** ATTENTION: Technotes are normally 9pt documents.}% + \fi% +\fi + + +% set \baselinestretch +\def\baselinestretch{1} +\if@draftclsmode% draft mode uses larger than normal spacing +\def\baselinestretch{1.5} % controls line spacing for draft version +\fi % some people may like 1.7 or greater + % so that there will be even more space + % for hand written comments + +\normalsize % make \baselinestretch take affect + + +% V1.6 +% store the normalsize baselineskip +\newskip\normalsizebaselineskip +\normalsizebaselineskip=\baselineskip\relax +% store the nominal value of jot +\newskip\normaljot +\normaljot=0.25\normalsizebaselineskip\relax + +% set \jot +\jot=\normaljot\relax + + +% abstract and keywords are in \small, except +% for 9pt docs in which they are in \footnotesize +% Since 9pt docs use an 8pt footnotesize, \small +% becomes a rather awkward 8.5pt +\let\@IEEEabskeysecsize=\small +\ifx\@IEEEptsize\@IEEEptsizenine + \let\@IEEEabskeysecsize=\footnotesize +\fi + + + +% V1.6, we are now going to fine tune the interword spacing +% The default interword glue for Times under TeX appears to use a +% nominal interword spacing of 25% (relative to the font size, i.e., 1em) +% a maximum of 40% and a minimum of 19%. +% For example, 10pt text uses an interword glue of: +% +% 2.5pt plus 1.49998pt minus 0.59998pt +% +% However, IEEE allows for a more generous range which reduces the need +% for hyphenation, especially for two column text. Furthermore, IEEE +% tends to use a little bit more nominal space between the words. +% IEEE's interword spacing percentages appear to be: +% 35% nominal +% 23% minimum +% 50% maximum +% (They may even be using a tad more for the largest fonts such as 24pt.) +% +% for bold text, IEEE increases the spacing a little more: +% 37.5% nominal +% 23% minimum +% 55% maximum + +% here are the interword spacing ratios we'll use +% for medium (normal weight) +\def\@IEEEinterspaceratioM{0.35} +\def\@IEEEinterspaceMINratioM{0.23} +\def\@IEEEinterspaceMAXratioM{0.50} + +% for bold +\def\@IEEEinterspaceratioB{0.375} +\def\@IEEEinterspaceMINratioB{0.23} +\def\@IEEEinterspaceMAXratioB{0.55} + + +% command to revise the interword spacing for the current font under TeX: +% \fontdimen2 = nominal interword space +% \fontdimen3 = interword stretch +% \fontdimen4 = interword shrink +% since all changes to the \fontdimen are global, we can enclose these commands +% in braces to confine any font attribute or length changes +\def\@@@IEEEsetfontdimens#1#2#3{{% +\setlength{\@IEEEtrantmpdimenB}{\f@size pt}% grab the font size in pt, could use 1em instead. +\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% +\fontdimen2\font=\@IEEEtrantmpdimenA\relax +\addtolength{\@IEEEtrantmpdimenA}{-#2\@IEEEtrantmpdimenB}% +\fontdimen3\font=-\@IEEEtrantmpdimenA\relax +\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% +\addtolength{\@IEEEtrantmpdimenA}{-#3\@IEEEtrantmpdimenB}% +\fontdimen4\font=\@IEEEtrantmpdimenA\relax}} + +% revise the interword spacing for each font weight +\def\@@IEEEsetfontdimens{{% +\mdseries +\@@@IEEEsetfontdimens{\@IEEEinterspaceratioM}{\@IEEEinterspaceMAXratioM}{\@IEEEinterspaceMINratioM}% +\bfseries +\@@@IEEEsetfontdimens{\@IEEEinterspaceratioB}{\@IEEEinterspaceMAXratioB}{\@IEEEinterspaceMINratioB}% +}} + +% revise the interword spacing for each font shape +% \slshape is not often used for IEEE work and is not altered here. The \scshape caps are +% already a tad too large in the free LaTeX fonts (as compared to what IEEE uses) so we +% won't alter these either. +\def\@IEEEsetfontdimens{{% +\normalfont +\@@IEEEsetfontdimens +\normalfont\itshape +\@@IEEEsetfontdimens +}} + +% if the nofonttune class option is not given, revise the interword spacing +% for each font size (and shape and weight). Only the \rmfamily is done here +% as \ttfamily uses a fixed spacing and \sffamily is not used as the main +% text of IEEE papers. +\def\@IEEEtunefonts{% +\if@fonttunesettings +{\selectfont\rmfamily +\tiny\@IEEEsetfontdimens +\scriptsize\@IEEEsetfontdimens +\footnotesize\@IEEEsetfontdimens +\small\@IEEEsetfontdimens +\normalsize\@IEEEsetfontdimens +\sublargesize\@IEEEsetfontdimens +\large\@IEEEsetfontdimens +\LARGE\@IEEEsetfontdimens +\huge\@IEEEsetfontdimens +\Huge\@IEEEsetfontdimens}\fi} + +% if needed, revise the interword spacing now - in case IEEEtran makes any default +% length measurements, and make sure all the default fonts are loaded +\@IEEEtunefonts + +% and again at the start of the document in case the user loaded different fonts +\AtBeginDocument{\@IEEEtunefonts} + + + +% V1.6 +% LaTeX is a little to quick to use hyphenations +% So, we increase the penalty for their use and raise +% the badness level that triggers an underfull hbox +% warning. The author may still have to tweak things, +% but the appearance will be much better "right out +% of the box" than that under V1.5 and prior. +% TeX default is 50 +\hyphenpenalty=750 +% If we didn't adjust the interword spacing, 2200 might be better. +% The TeX default is 1000 +\hbadness=1350 +% IEEE does not use extra spacing after punctuation +\frenchspacing + + +% we want to maintain textheight as an integer multiple of +% \baselineskip. Keep \topsep in with this game plan too. +\topskip=\baselineskip +% set sizes and margins +% Book typesetting is a world where point and pica (12pt) reign supreme. +% IEEE textwidth is 21 pica. They have a colsep of 1 pica. +% V1.6 conference mode margins +\if@confmode + % [2004/10/15 revision V1.6c by Pradeep Misra] + \topmargin -0.25in + \textheight 9.5in % The standard for conferences + % However, we will adjust this a tad so that an integer number + % of lines will always fit on each page + % The baselineskip (leading) for each document point size is used + % to determine these values + % rounded up an extra 0.1pt or so to prevent trouble with any rounding errors + \ifx\@IEEEptsize\@IEEEptsizenine\textheight=682.0pt\fi %9.4722in 61 lines/page + \ifx\@IEEEptsize\@IEEEptsizeten\textheight=684.0pt\fi %9.5in 57 lines/page + \ifx\@IEEEptsize\@IEEEptsizeeleven\textheight=673.2pt\fi %9.2611in 51 lines/page + \ifx\@IEEEptsize\@IEEEptsizetwelve\textheight=676.8pt\fi %9.2473in 47 lines/page +\else + \topmargin -49.0pt + \textheight 58pc % = 9.63in or 696pt +\fi + + % [2004/1/15 revision V1.6b by Pradeep Misra] +%\textwidth 43pc % 2 x 21pc + 1pc = 43pc +%\columnsep 1pc + +\textwidth 7.0in % 2 x 21pc + 1pc = 43pc +\columnsep 0.2in + +% IEEE MARGIN INFO and new \overrideIEEEmargins command +% V1.6 revised margins again +% IEEE wants the side margins to be equal under both US letter +% and A4 paper +% +% However, for those of you who need to bind copies of your work +% (for review distribution, etc.) the \overrideIEEEmargins +% command will shift the text a tad away from the binding +% edge. +% +% + + +% the default side margins are equal +\oddsidemargin \@IEEEmarginE +\addtolength{\oddsidemargin}{-1in}% compensate for LaTeX's 1in offset +\evensidemargin \@IEEEmarginE +\addtolength{\evensidemargin}{-1in}% compensate for LaTeX's 1in offset + +% execute \overrideIEEEmargins in the preamble to make the side margin +% near the spine slightly wider so that the paper will be much more +% agreeable to being bound. \overrideIEEEmargins will have no effect +% when in draft or draftcls mode. +\def\overrideIEEEmargins{\if@draftclsmode\relax\else% + \typeout{** ATTENTION: Overriding IEEE standard margins (line \the\inputlineno).}% + \if@twoside + % for double sided, odd pages have the bound side on the left + % make this the wide margin + \oddsidemargin\@IEEEmarginW + % and even pages have the narrow margin on the left + % as they are bound on the right + % evensidemargin is to be the narrow margin + % calculate the narrow margin and set evensidemargin + \setlength{\evensidemargin}{\paperwidth}% + \addtolength{\evensidemargin}{-\@IEEEmarginW}% + \addtolength{\evensidemargin}{-\textwidth}% + \else + % for single sided the bound side is always on the left + % make this the wide margin + \oddsidemargin\@IEEEmarginW + \evensidemargin\@IEEEmarginW + \fi + \addtolength{\oddsidemargin}{-1.0in}% compensate for LaTeX's 1in offset + \addtolength{\evensidemargin}{-1.0in}% +\fi} + + +\parindent 1.0em + +% conference papers do not have headers, other papers need +% to reserve space for them +\if@confmode +\headsep 0in +\headheight 0in +\else +\headsep 0.25in +\headheight 12pt +\fi + +% V1.6, if things get too close, go ahead and let them touch +\lineskip 0pt +\normallineskip 0pt +\lineskiplimit 0pt +\normallineskiplimit 0pt + + +% The distance from the lower edge of the text body to the +% footline +\footskip 0.4in + +% normally zero, should be relative to font height. +% put in a little rubber to help stop some bad breaks (underfull vboxes) +\parskip 0ex plus 0.2ex minus 0.1ex + + + +% draft mode settings override that of all other modes +% provides a nice 1" margin all around the paper and extra +% space between the lines for editor's comments +\if@draftclsmode +\headsep 0.25in +\headheight 12pt +% want 1" from top of paper to text +\setlength{\topmargin}{-\headsep}% +\addtolength{\topmargin}{-\headheight}% + +% we want 1in side margins regardless of paper type +\oddsidemargin 0in +\evensidemargin 0in + +% set the text width - start with the entire page +\setlength{\textwidth}{\paperwidth}% +% subtract for the 1" top/bottom margins +\addtolength{\textwidth}{-2.0in}% +% give them a textheight that won't have underfull +% vbox problems, but can't help them if they later change +% baselinestretch from its default +\setlength{\textheight}{\paperheight}% +\addtolength{\textheight}{-2.0in}% +% subtract of first line taken by \topskip +\addtolength{\textheight}{-1\topskip}% +% now digitize \textheight so that the length after +% the first line is an integer multiple of \baselineskip +% to cut down on underfull vbox errors in draft mode +\divide\textheight by \baselineskip% +\multiply\textheight by \baselineskip% +% add back the first line +\addtolength{\textheight}{\topskip}% +\fi + + + +% margin note stuff +\marginparsep 10pt +\marginparwidth 20pt +\marginparpush 25pt + + +% LIST SPACING CONTROLS + +% Controls the amount of EXTRA spacing +% above and below \trivlist +% Both \list and IED lists override this. +% However, \trivlist will use this as will most +% things built from \trivlist like the \center +% environment. +\topsep 0.5\baselineskip + +% Controls the additional spacing around lists preceded +% or followed by blank lines. IEEE does not increase +% spacing before or after paragraphs so it is set to zero. +% \z@ is the same as zero, but faster. +\partopsep \z@ + +% Controls the spacing between paragraphs in lists. +% IEEE does not increase spacing before or after paragraphs +% so this is also zero. +% With IEEEtran.cls, global changes to +% this value DO affect lists (but not IED lists). +\parsep \z@ + +% Controls the extra spacing between list items. +% IEEE does not put extra spacing between items. +% With IEEEtran.cls, global changes to this value DO affect +% lists (but not IED lists). +\itemsep \z@ + +% \itemindent is the amount to indent the FIRST line of a list +% item. It is auto set to zero within the \list environment. To alter +% it, you have to do so when you call the \list. +% However, IEEE uses this for the theorem environment +% There is an alternative value for this near \leftmargini below +\itemindent -1em + +% \leftmargin, the spacing from the left margin of the main text to +% the left of the main body of a list item is set by \list. +% Hence this statement does nothing for lists. +% But, quote and verse do use it for indention. + +\leftmargin 2em + +% we retain this stuff from the older IEEEtran.cls so that \list +% will work the same way as before. However, itemize, enumerate and +% description (IED) could care less about what these are as they +% all are overridden. +\leftmargini 2em +%\itemindent 2em % Alternative values: sometimes used. +%\leftmargini 0em +\leftmarginii 1em +\leftmarginiii 1.5em +\leftmarginiv 1.5em +\leftmarginv 1.0em +\leftmarginvi 1.0em +\labelsep 0.5em +\labelwidth \z@ + + +% The old IEEEtran.cls behavior of \list is retained. +% However, the new V1.3 IED list environments override all the +% @list stuff (\@listX is called within \list for the +% appropriate level just before the user's list_decl is called). +% \topsep is now 2pt as IEEE puts a little extra space around +% lists - used by those non-IED macros that depend on \list. +% Note that \parsep and \itemsep are not redefined as in +% the sizexx.clo \@listX (which article.cls uses) so global changes +% of these values DO affect \list +% +\def\@listi{\leftmargin\leftmargini \topsep 2pt plus 1pt minus 1pt} +\let\@listI\@listi +\def\@listii{\leftmargin\leftmarginii\labelwidth\leftmarginii% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listiii{\leftmargin\leftmarginiii\labelwidth\leftmarginiii% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listiv{\leftmargin\leftmarginiv\labelwidth\leftmarginiv% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listv{\leftmargin\leftmarginv\labelwidth\leftmarginv% + \advance\labelwidth-\labelsep \topsep 2pt} +\def\@listvi{\leftmargin\leftmarginvi\labelwidth\leftmarginvi% + \advance\labelwidth-\labelsep \topsep 2pt} + + +% IEEE uses 5) not 5. +\def\labelenumi{\theenumi)} \def\theenumi{\arabic{enumi}} + +% IEEE uses a) not (a) +\def\labelenumii{\theenumii)} \def\theenumii{\alph{enumii}} + +% IEEE uses iii) not iii. +\def\labelenumiii{\theenumiii)} \def\theenumiii{\roman{enumiii}} + +% IEEE uses A) not A. +\def\labelenumiv{\theenumiv)} \def\theenumiv{\Alph{enumiv}} + +% exactly the same as in article.cls +\def\p@enumii{\theenumi} +\def\p@enumiii{\theenumi(\theenumii)} +\def\p@enumiv{\p@enumiii\theenumiii} + +% itemized list label styles +\def\labelitemi{$\scriptstyle\bullet$} +\def\labelitemii{\textbf{--}} +\def\labelitemiii{$\ast$} +\def\labelitemiv{$\cdot$} + + +% IEEEtran.cls version numbers, provided as of V1.3 +% These values serve as a way a .tex file can +% determine if the new features are provided. +% The version number of this IEEEtrans.cls can be obtained from +% these values. i.e., V1.4 +% KEEP THESE AS INTEGERS! i.e., NO {4a} or anything like that- +% (no need to enumerate "a" minor changes here) +\def\IEEEtransversionmajor{1} +\def\IEEEtransversionminor{6} + + +% **** V1.3 ENHANCEMENTS **** +% Itemize, Enumerate and Description (IED) List Controls +% *************************** +% +% +% IEEE seems to use at least two different values by +% which ITEMIZED list labels are indented to the right +% For The Journal of Lightwave Technology (JLT) and The Journal +% on Selected Areas in Communications (JSAC), they tend to use +% an indention equal to \parindent. For Transactions on Communications +% they tend to indent ITEMIZED lists a little more--- 1.3\parindent. +% We'll provide both values here for you so that you can choose +% which one you like in your document using a command such as: +% setlength{\IEEEilabelindent}{\IEEEilabelindentB} +\newdimen\IEEEilabelindentA +\IEEEilabelindentA \parindent + +\newdimen\IEEEilabelindentB +\IEEEilabelindentB 1.3\parindent +% However, we'll default to using \parindent +% which makes more sense to me +\newdimen\IEEEilabelindent +\IEEEilabelindent \IEEEilabelindentA + + +% This controls the default amount the enumerated list labels +% are indented to the right. +% Normally, this is the same as the paragraph indention +\newdimen\IEEEelabelindent +\IEEEelabelindent \parindent + +% This controls the default amount the description list labels +% are indented to the right. +% Normally, this is the same as the paragraph indention +\newdimen\IEEEdlabelindent +\IEEEdlabelindent \parindent + +% This is the value actually used within the IED lists. +% The IED environments automatically set its value to +% one of the three values above, so global changes do +% not have any effect +\newdimen\labelindent +\labelindent \parindent + +% The actual amount labels will be indented is +% \labelindent multiplied by the factor below +% corresponding to the level of nesting depth +% This provides a means by which the user can +% alter the effective \labelindent for deeper +% levels +% There may not be such a thing as correct "standard IEEE" +% values. What IEEE actually does may depend on the specific +% circumstances. +% The first list level almost always has full indention. +% The second levels I've seen have only 75% of the normal indentation +% Three level or greater nestings are very rare. I am guessing +% that they don't use any indentation. +\def\IEEElabelindentfactori{1.0} % almost always one +\def\IEEElabelindentfactorii{0.75} % 0.0 or 1.0 may be used in some cases +\def\IEEElabelindentfactoriii{0.0} % 0.75? 0.5? 0.0? +\def\IEEElabelindentfactoriv{0.0} +\def\IEEElabelindentfactorv{0.0} +\def\IEEElabelindentfactorvi{0.0} + +% value actually used within IED lists, it is auto +% set to one of the 6 values above +% global changes here have no effect +\def\labelindentfactor{1.0} + +% This controls the default spacing between the end of the IED +% list labels and the list text, when normal text is used for +% the labels. +\newdimen\IEEEiednormlabelsep +\IEEEiednormlabelsep 0.6em + +% This controls the default spacing between the end of the IED +% list labels and the list text, when math symbols are used for +% the labels (nomenclature lists). IEEE usually increases the +% spacing in these cases +\newdimen\IEEEiedmathlabelsep +\IEEEiedmathlabelsep 1.2em + +% This controls the extra vertical separation put above and +% below each IED list. IEEE usually puts a little extra spacing +% around each list. However, this spacing is barely noticeable. +\newskip\IEEEiedtopsep +\IEEEiedtopsep 2pt plus 1pt minus 1pt + + +% This command is executed within each IED list environment +% at the beginning of the list. You can use this to set the +% parameters for some/all your IED list(s) without disturbing +% global parameters that affect things other than lists. +% i.e., renewcommand{\iedlistdecl}{\setlength{\labelsep}{5em}} +% will alter the \labelsep for the next list(s) until +% \iedlistdecl is redefined. +\def\iedlistdecl{\relax} + +% This command provides an easy way to set \leftmargin based +% on the \labelwidth, \labelsep and the argument \labelindent +% Usage: \calcleftmargin{width-to-indent-the-label} +% output is in the \leftmargin variable, i.e., effectively: +% \leftmargin = argument + \labelwidth + \labelsep +% Note controlled spacing here, shield end of lines with % +\def\calcleftmargin#1{\setlength{\leftmargin}{#1}% +\addtolength{\leftmargin}{\labelwidth}% +\addtolength{\leftmargin}{\labelsep}} + +% This command provides an easy way to set \labelwidth to the +% width of the given text. It is the same as +% \settowidth{\labelwidth}{label-text} +% and useful as a shorter alternative. +% Typically used to set \labelwidth to be the width +% of the longest label in the list +\def\setlabelwidth#1{\settowidth{\labelwidth}{#1}} + +% When this command is executed, IED lists will use the +% IEEEiedmathlabelsep label separation rather than the normal +% spacing. To have an effect, this command must be executed via +% the \iedlistdecl or within the option of the IED list +% environments. +\def\usemathlabelsep{\setlength{\labelsep}{\IEEEiedmathlabelsep}} + +% A flag which controls whether the IED lists automatically +% calculate \leftmargin from \labelindent, \labelwidth and \labelsep +% Useful if you want to specify your own \leftmargin +% This flag must be set (\nocalcleftmargintrue or \nocalcleftmarginfalse) +% via the \iedlistdecl or within the option of the IED list +% environments to have an effect. +\newif\ifnocalcleftmargin +\nocalcleftmarginfalse + +% A flag which controls whether \labelindent is multiplied by +% the \labelindentfactor for each list level. +% This flag must be set via the \iedlistdecl or within the option +% of the IED list environments to have an effect. +\newif\ifnolabelindentfactor +\nolabelindentfactorfalse + + +% internal variable to indicate type of IED label +% justification +% 0 - left; 1 - center; 2 - right +\def\@iedjustify{0} + + +% commands to allow the user to control IED +% label justifications. Use these commands within +% the IED environment option or in the \iedlistdecl +% Note that changing the normal list justifications +% is nonstandard and IEEE may not like it if you do so! +% I include these commands as they may be helpful to +% those who are using these enhanced list controls for +% other non-IEEE related LaTeX work. +% itemize and enumerate automatically default to right +% justification, description defaults to left. +\def\iedlabeljustifyl{\def\@iedjustify{0}}%left +\def\iedlabeljustifyc{\def\@iedjustify{1}}%center +\def\iedlabeljustifyr{\def\@iedjustify{2}}%right + + + + +% commands to save to and restore from the list parameter copies +% this allows us to set all the list parameters within +% the list_decl and prevent \list (and its \@list) +% from overriding any of our parameters +% V1.6 use \edefs instead of dimen's to conserve dimen registers +% Note controlled spacing here, shield end of lines with % +\def\@IEEEsavelistparams{\edef\@IEEEiedtopsep{\the\topsep}% +\edef\@IEEEiedlabelwidth{\the\labelwidth}% +\edef\@IEEEiedlabelsep{\the\labelsep}% +\edef\@IEEEiedleftmargin{\the\leftmargin}% +\edef\@IEEEiedpartopsep{\the\partopsep}% +\edef\@IEEEiedparsep{\the\parsep}% +\edef\@IEEEieditemsep{\the\itemsep}% +\edef\@IEEEiedrightmargin{\the\rightmargin}% +\edef\@IEEEiedlistparindent{\the\listparindent}% +\edef\@IEEEieditemindent{\the\itemindent}} + +% Note controlled spacing here +\def\@IEEErestorelistparams{\topsep\@IEEEiedtopsep\relax% +\labelwidth\@IEEEiedlabelwidth\relax% +\labelsep\@IEEEiedlabelsep\relax% +\leftmargin\@IEEEiedleftmargin\relax% +\partopsep\@IEEEiedpartopsep\relax% +\parsep\@IEEEiedparsep\relax% +\itemsep\@IEEEieditemsep\relax% +\rightmargin\@IEEEiedrightmargin\relax% +\listparindent\@IEEEiedlistparindent\relax% +\itemindent\@IEEEieditemindent\relax} + + +% v1.6b provide original LaTeX IED list environments +% note that latex.ltx defines \itemize and \enumerate, but not \description +% which must be created by the base classes +% save original LaTeX itemize and enumerate +\let\LaTeXitemize\itemize +\let\endLaTeXitemize\enditemize +\let\LaTeXenumerate\enumerate +\let\endLaTeXenumerate\endenumerate + +% provide original LaTeX description environment from article.cls +\newenvironment{LaTeXdescription} + {\list{}{\labelwidth\z@ \itemindent-\leftmargin + \let\makelabel\descriptionlabel}} + {\endlist} +\newcommand*\descriptionlabel[1]{\hspace\labelsep + \normalfont\bfseries #1} + + +% override LaTeX's default IED lists +\def\itemize{\@IEEEitemize} +\def\enditemize{\@endIEEEitemize} +\def\enumerate{\@IEEEenumerate} +\def\endenumerate{\@endIEEEenumerate} +\def\description{\@IEEEdescription} +\def\enddescription{\@endIEEEdescription} + +% provide the user with aliases - may help those using packages that +% override itemize, enumerate, or description +\def\IEEEitemize{\@IEEEitemize} +\def\endIEEEitemize{\@endIEEEitemize} +\def\IEEEenumerate{\@IEEEenumerate} +\def\endIEEEenumerate{\@endIEEEenumerate} +\def\IEEEdescription{\@IEEEdescription} +\def\endIEEEdescription{\@endIEEEdescription} + + +% V1.6 we want to keep the IEEEtran IED list definitions as our own internal +% commands so they are protected against redefinition +\def\@IEEEitemize{\@ifnextchar[{\@@IEEEitemize}{\@@IEEEitemize[\relax]}} +\def\@IEEEenumerate{\@ifnextchar[{\@@IEEEenumerate}{\@@IEEEenumerate[\relax]}} +\def\@IEEEdescription{\@ifnextchar[{\@@IEEEdescription}{\@@IEEEdescription[\relax]}} +\def\@endIEEEitemize{\endlist} +\def\@endIEEEenumerate{\endlist} +\def\@endIEEEdescription{\endlist} + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran itemized list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEitemize[#1]{% + \ifnum\@itemdepth>3\relax\@toodeep\else% + \ifnum\@listdepth>5\relax\@toodeep\else% + \advance\@itemdepth\@ne% + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\labelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@iedjustify{2}% right justified labels are default + % set other defaults + \nocalcleftmarginfalse% + \nolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \labelindent\IEEEilabelindent% + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % calculate the label width + % the user can override this later if + % they specified a \labelwidth + \settowidth{\labelwidth}{\csname labelitem\romannumeral\the\@itemdepth\endcsname}% + \@IEEEsavelistparams% save our list parameters + \list{\csname\@itemitem\endcsname}{% + \@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \iedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % labelindent factor, don't revise \labelindent + \ifnolabelindentfactor\relax% + \else\labelindent=\labelindentfactor\labelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \labelindent, \labelwidth and + % \labelsep + \ifnocalcleftmargin\relax% + \else\calcleftmargin{\labelindent}% + \fi}\fi\fi}% + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran enumerate list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEenumerate[#1]{% + \ifnum\@enumdepth>3\relax\@toodeep\else% + \ifnum\@listdepth>5\relax\@toodeep\else% + \advance\@enumdepth\@ne% + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\labelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@iedjustify{2}% right justified labels are default + % set other defaults + \nocalcleftmarginfalse% + \nolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \labelindent\IEEEelabelindent% + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % calculate the label width + % We'll set it to the width suitable for all labels using + % normalfont 1) to 9) + % The user can override this later + \settowidth{\labelwidth}{9)}% + \@IEEEsavelistparams% save our list parameters + \list{\csname label\@enumctr\endcsname}{\usecounter{\@enumctr}% + \@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \iedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % labelindent factor, don't revise \labelindent + \ifnolabelindentfactor\relax% + \else\labelindent=\labelindentfactor\labelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \labelindent, \labelwidth and + % \labelsep + \ifnocalcleftmargin\relax% + \else\calcleftmargin{\labelindent}% + \fi}\fi\fi}% + + +% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS +% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS +% IEEEtran description list MDS 1/2001 +% Note controlled spacing here, shield end of lines with % +\def\@@IEEEdescription[#1]{% + \ifnum\@listdepth>5\relax\@toodeep\else% + % get the labelindentfactor for this level + \advance\@listdepth\@ne% we need to know what the level WILL be + \edef\labelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% + \advance\@listdepth-\@ne% undo our increment + \def\@iedjustify{0}% left justified labels are default + % set other defaults + \nocalcleftmarginfalse% + \nolabelindentfactorfalse% + \topsep\IEEEiedtopsep% + \labelindent\IEEEdlabelindent% + % assume normal labelsep + \labelsep\IEEEiednormlabelsep% + \partopsep 0ex% + \parsep 0ex% + \itemsep 0ex% + \rightmargin 0em% + \listparindent 0em% + \itemindent 0em% + % Bogus label width in case the user forgets + % to set it. + % TIP: If you want to see what a variable's width is you + % can use the TeX command \showthe\width-variable to + % display it on the screen during compilation + % (This might be helpful to know when you need to find out + % which label is the widest) + \settowidth{\labelwidth}{Hello}% + \@IEEEsavelistparams% save our list parameters + \list{}{\@IEEErestorelistparams% override any list{} changes + % to our globals + \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel + \iedlistdecl% let user alter parameters + #1\relax% + % If the user has requested not to use the + % labelindent factor, don't revise \labelindent + \ifnolabelindentfactor\relax% + \else\labelindent=\labelindentfactor\labelindent% + \fi% + % Unless the user has requested otherwise, + % calculate our left margin based + % on \labelindent, \labelwidth and + % \labelsep + \ifnocalcleftmargin\relax% + \else\calcleftmargin{\labelindent}\relax% + \fi}\fi} + +% v1.6b we use one makelabel that does justification as needed. +\def\@IEEEiedmakelabel#1{\relax\if\@iedjustify 0\relax +\makebox[\labelwidth][l]{\normalfont #1}\else +\if\@iedjustify 1\relax +\makebox[\labelwidth][c]{\normalfont #1}\else +\makebox[\labelwidth][r]{\normalfont #1}\fi\fi} + + +% VERSE and QUOTE +\def\verse{\let\\=\@centercr + \list{}{\itemsep\z@ \itemindent -1.5em \listparindent \itemindent + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} +\let\endverse\endlist +\def\quotation{\list{}{\listparindent 1.5em \itemindent\listparindent + \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]} +\let\endquotation=\endlist +\def\quote{\list{}{\rightmargin\leftmargin}\item[]} +\let\endquote=\endlist + + +% \titlepage +% provided only for backward compatibility. \maketitle is the correct +% way to create the title page. +\newif\if@restonecol +\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn + \else \newpage \fi \thispagestyle{empty}\c@page\z@} +\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi} + +% standard values from article.cls +\arraycolsep 5pt +\arrayrulewidth .4pt +\doublerulesep 2pt + +\tabcolsep 6pt +\tabbingsep 0.5em + + +%% FOOTNOTES +% +%\skip\footins 10pt plus 4pt minus 2pt +% V1.6 respond to changes in font size +% space added above the footnotes (if present) +\skip\footins 0.9\baselineskip plus 0.4\baselineskip minus 0.2\baselineskip + +% V1.6, we need to make \footnotesep responsive to changes +% in \baselineskip or strange spacings will result when in +% draft mode. Here is a little LaTeX secret - \footnotesep +% determines the height of an invisible strut that is placed +% *above* the baseline of footnotes after the first. Since +% LaTeX considers the space for characters to be 0.7/baselineskip +% above the baseline and 0.3/baselineskip below it, we need to +% use 0.7/baselineskip as a \footnotesep to maintain equal spacing +% between all the lines of the footnotes. IEEE often uses a tad +% more, so use 0.8\baselineskip. This slightly larger value also helps +% the text to clear the footnote marks. Note that \thanks now uses +% its own value of \footnotesep. +{\footnotesize +\global\footnotesep 0.8\baselineskip} + + +\skip\@mpfootins = \skip\footins +\fboxsep = 3pt +\fboxrule = .4pt +% V1.6 use 1em, the use LaTeX2e's \@makefnmark +% Note that IEEE normally *left* aligns the footnote marks, so we don't need +% box resizing tricks here. +\long\def\@makefntext#1{\parindent 1em\indent\hbox{\@makefnmark}#1}% V1.6 use 1em + +\def\footnoterule{} + +% V1.6 do not allow LaTeX to break a footnote across multiple pages +\interfootnotelinepenalty=10000 + +% V1.6 discourage breaks within equations +% Note that amsmath normally sets this to 10000, +% but LaTeX2e normally uses 100. +\interdisplaylinepenalty=2500 + + +\if@technote + \setcounter{secnumdepth}{3} +\else + \setcounter{secnumdepth}{4} +\fi + + +\newcounter{section} +\newcounter{subsection}[section] +\newcounter{subsubsection}[subsection] +\newcounter{paragraph}[subsubsection] + +% used only by IEEEtran's IEEEeqnarray as other packages may +% have their own, different, implementations +\newcounter{IEEEsubequation}[equation] + +% as shown when called by user from \ref, \label and in table of contents +\def\thesection{\Roman{section}} % I +\def\thesubsection{\thesection-\Alph{subsection}} % I-A +\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} % I-A.1 +\def\theparagraph{\thesubsubsection.\alph{paragraph}} % I-A.1.a +\def\theequation{\arabic{equation}} % 1 +\def\theIEEEsubequation{\theequation\alph{IEEEsubequation}} % 1a (used only by IEEEtran's IEEEeqnarray) + +% Main text forms (how shown in main text headings) +% V1.6, using \thesection in \thesectiondis allows changes +% in the former to automatically appear in the latter +\def\thesectiondis{\thesection.} % I. +\def\thesubsectiondis{\Alph{subsection}.} % B. +\def\thesubsubsectiondis{\arabic{subsubsection})} % 3) +\def\theparagraphdis{\alph{paragraph})} % d) +% just like LaTeX2e's \@eqnnum +\def\theequationdis{{\normalfont \normalcolor (\theequation)}}% (1) +% IEEEsubequation used only by IEEEtran's IEEEeqnarray +\def\theIEEEsubequationdis{{\normalfont \normalcolor (\theIEEEsubequation)}}% (1a) +% redirect LaTeX2e's equation number display and all that depend on +% it, through IEEEtran's \theequationdis +\def\@eqnnum{\theequationdis} + +% LIST OF FIGURES AND TABLES AND TABLE OF CONTENTS +% +\def\@pnumwidth{1.55em} +\def\@tocrmarg{2.55em} +\def\@dotsep{4.5} +\setcounter{tocdepth}{3} + +% adjusted some spacings here so that section numbers will not easily +% collide with the section titles. +% VIII; VIII-A; and VIII-A.1 are usually the worst offenders. +% MDS 1/2001 +\def\tableofcontents{\section*{Contents}\@starttoc{toc}} +\def\l@section#1#2{\addpenalty{\@secpenalty}\addvspace{1.0em plus 1pt}% + \@tempdima 2.75em \begingroup \parindent \z@ \rightskip \@pnumwidth% + \parfillskip-\@pnumwidth {\bfseries\leavevmode #1}\hfil\hbox to\@pnumwidth{\hss #2}\par% + \endgroup} +% argument format #1:level, #2:labelindent,#3:labelsep +\def\l@subsection{\@dottedtocline{2}{2.75em}{3.75em}} +\def\l@subsubsection{\@dottedtocline{3}{6.5em}{4.5em}} +% must provide \l@ defs for ALL sublevels EVEN if tocdepth +% is such as they will not appear in the table of contents +% these defs are how TOC knows what level these things are! +\def\l@paragraph{\@dottedtocline{4}{6.5em}{5.5em}} +\def\l@subparagraph{\@dottedtocline{5}{6.5em}{6.5em}} +\def\listoffigures{\section*{List of Figures}\@starttoc{lof}} +\def\l@figure{\@dottedtocline{1}{0em}{2.75em}} +\def\listoftables{\section*{List of Tables}\@starttoc{lot}} +\let\l@table\l@figure + + +%% Definitions for floats +%% +%% Normal Floats +\floatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip +\textfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip +\@fptop 0pt plus 1fil +\@fpsep 0.75\baselineskip plus 2fil +\@fpbot 0pt plus 1fil +\def\topfraction{1.0} +\def\bottomfraction{.4} +\def\floatpagefraction{0.8} +\def\textfraction{.2} + +%% Double Column Floats +\dblfloatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip + +\dbltextfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip +% Note that it would be nice if the rubber here actually worked in LaTeX2e. +% There is a long standing limitation in LaTeX, first discovered (to the best +% of my knowledge) by Alan Jeffrey in 1992. LaTeX ignores the stretchable +% portion of \dbltextfloatsep, and as a result, double column figures can and +% do result in an non-integer number of lines in the main text columns with +% underfull vbox errors as a consequence. A post to comp.text.tex +% by Donald Arseneau confirms that this had not yet been fixed in 1998. +% IEEEtran V1.6 will fix this problem for you in the titles, but it doesn't +% protect you from other double floats. Happy vspace'ing. + +\@dblfptop 0pt plus 1fil +\@dblfpsep 0.75\baselineskip plus 2fil +\@dblfpbot 0pt plus 1fil +\def\dbltopfraction{1.0} +\def\dblfloatpagefraction{0.8} +\setcounter{dbltopnumber}{4} + +\intextsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip +\setcounter{topnumber}{2} +\setcounter{bottomnumber}{2} +\setcounter{totalnumber}{4} + + +%% redefine CAPTION +% V1.4 add user control for short figure caption justification +\newif\ifcenterfigcaptions + +% V1.6 set the default according to conference mode +\if@confmode +\centerfigcaptionstrue +\else +\centerfigcaptionsfalse +\fi + +% article class provides these, we should too. +\newlength\abovecaptionskip +\newlength\belowcaptionskip +% but only \abovecaptionskip is used above figure captions and *below* table +% captions +\setlength\abovecaptionskip{0.5\baselineskip} +\setlength\belowcaptionskip{0pt} +% V1.6 create hooks in case the caption spacing ever needs to be +% overridden by a user +\def\@IEEEfigurecaptionsepspace{\vskip\abovecaptionskip\relax}% +\def\@IEEEtablecaptionsepspace{\vskip\abovecaptionskip\relax}% + + +% 1.6b revise caption system so that \@makecaption uses two arguments +% as with LaTeX2e. Otherwise, there will be problems when using hyperref. +\def\@IEEEtablestring{table} + +\long\def\@makecaption#1#2{% +% test if is a for a figure or table +\ifx\@captype\@IEEEtablestring% +% if a table, do table caption +\begin{center}{\footnotesize #1}\\{\footnotesize\scshape #2}\end{center}% +\@IEEEtablecaptionsepspace% V1.6 was a hard coded 8pt +% if not a table, format it as a figure +\else +\@IEEEfigurecaptionsepspace% V1.6 was a hard coded 5pt +% 3/2001 use footnotesize, not small; use two nonbreaking spaces, not one +\setbox\@tempboxa\hbox{\footnotesize #1.~~ #2}% +\ifdim \wd\@tempboxa >\hsize% +% if caption is longer than a line, let it wrap around +\setbox\@tempboxa\hbox{\footnotesize #1.~~ }% +\parbox[t]{\hsize}{\footnotesize \noindent\unhbox\@tempboxa#2}% +% if caption is shorter than a line, +% allow user to control short figure caption justification (left or center) +\else% +\ifcenterfigcaptions \hbox to\hsize{\footnotesize\hfil\box\@tempboxa\hfil}% +\else \hbox to\hsize{\footnotesize\box\@tempboxa\hfil}% +\fi\fi\fi} + + +\newcounter{figure} +\def\thefigure{\@arabic\c@figure} +\def\fps@figure{tbp} +\def\ftype@figure{1} +\def\ext@figure{lof} +\def\fnum@figure{Fig.~\thefigure} +\def\figure{\@float{figure}} +\let\endfigure\end@float +\@namedef{figure*}{\@dblfloat{figure}} +\@namedef{endfigure*}{\end@dblfloat} +\newcounter{table} +\def\thetable{\@Roman\c@table} +\def\fps@table{tbp} +\def\ftype@table{2} +\def\ext@table{lot} +\def\fnum@table{TABLE~\thetable} +% V1.6 IEEE uses 8pt text for tables +% to default to footnotesize, we hack into LaTeX2e's \@floatboxreset and pray +\def\table{\def\@floatboxreset{\reset@font\footnotesize\@setminipage}\@float{table}} +\let\endtable\end@float +% v1.6b double column tables need to default to footnotesize as well. +\@namedef{table*}{\def\@floatboxreset{\reset@font\footnotesize\@setminipage}\@dblfloat{table}} +\@namedef{endtable*}{\end@dblfloat} + + + + +%% +%% START OF IEEEeqnarry DEFINITIONS +%% +%% Inspired by the concepts, examples, and previous works of LaTeX +%% coders and developers such as Donald Arseneau, Fred Bartlett, +%% David Carlisle, Tony Liu, Frank Mittelbach, Piet van Oostrum, +%% Roland Winkler and Mark Wooding. +%% I don't make the claim that my work here is even near their calibre. ;) + + +% hook to allow easy changeover to IEEEtran.cls/tools.sty error reporting +\def\@IEEEclspkgerror{\ClassError{IEEEtran}} + +\newif\if@IEEEeqnarraystarform% flag to indicate if the environment was called as the star form +\@IEEEeqnarraystarformfalse + +\newif\if@advanceIEEEeqncolcnt% tracks if the environment should advance the col counter +% allows a way to make an \IEEEeqnarraybox that can be used within an \IEEEeqnarray +% used by IEEEeqnarraymulticol so that it can work properly in both +\@advanceIEEEeqncolcnttrue + +\newcount\@IEEEeqnnumcols % tracks how many IEEEeqnarray cols are defined +\newcount\@IEEEeqncolcnt % tracks how many IEEEeqnarray cols the user actually used + + +% The default math style used by the columns +\def\IEEEeqnarraymathstyle{\displaystyle} +% The default text style used by the columns +% default to using the current font +\def\IEEEeqnarraytextstyle{\relax} + +% like the iedlistdecl but for \IEEEeqnarray +\def\IEEEeqnarraydecl{\relax} +\def\IEEEeqnarrayboxdecl{\relax} + +% \yesnumber is the opposite of \nonumber +% a novel concept with the same def as the equationarray package +% However, we give IEEE versions too since some LaTeX packages such as +% the MDWtools mathenv.sty redefine \nonumber to something else. +\providecommand{\yesnumber}{\global\@eqnswtrue} +\def\IEEEyesnumber{\global\@eqnswtrue} +\def\IEEEnonumber{\global\@eqnswfalse} + + +\def\IEEEyessubnumber{\global\@IEEEissubequationtrue\global\@eqnswtrue% +\if@IEEEeqnarrayISinner% only do something inside an IEEEeqnarray +\if@IEEElastlinewassubequation\addtocounter{equation}{-1}\else\setcounter{IEEEsubequation}{1}\fi% +\def\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\fi} + +% flag to indicate that an equation is a sub equation +\newif\if@IEEEissubequation% +\@IEEEissubequationfalse + +% allows users to "push away" equations that get too close to the equation numbers +\def\IEEEeqnarraynumspace{\hphantom{\if@IEEEissubequation\theIEEEsubequationdis\else\theequationdis\fi}} + +% provides a way to span multiple columns within IEEEeqnarray environments +% will consider \if@advanceIEEEeqncolcnt before globally advancing the +% column counter - so as to work within \IEEEeqnarraybox +% usage: \IEEEeqnarraymulticol{number cols. to span}{col type}{cell text} +\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}% +% check if column is defined +\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined% +\csname @IEEEeqnarraycolPRE#2\endcsname#3\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST#2\endcsname% +\else% if not, error and use default type +\@IEEEclspkgerror{Invalid column type "#2" in \string\IEEEeqnarraymulticol.\MessageBreak +Using a default centering column instead}% +{You must define IEEEeqnarray column types before use.}% +\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname#3\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname% +\fi% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by #1\relax\fi} + +% like \omit, but maintains track of the column counter for \IEEEeqnarray +\def\IEEEeqnarrayomit{\omit\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by 1\relax\fi} + + +% provides a way to define a letter referenced column type +% usage: \IEEEeqnarraydefcol{col. type letter/name}{pre insertion text}{post insertion text} +\def\IEEEeqnarraydefcol#1#2#3{\expandafter\def\csname @IEEEeqnarraycolPRE#1\endcsname{#2}% +\expandafter\def\csname @IEEEeqnarraycolPOST#1\endcsname{#3}% +\expandafter\def\csname @IEEEeqnarraycolDEF#1\endcsname{1}} + + +% provides a way to define a numerically referenced inter-column glue types +% usage: \IEEEeqnarraydefcolsep{col. glue number}{glue definition} +\def\IEEEeqnarraydefcolsep#1#2{\expandafter\def\csname @IEEEeqnarraycolSEP\romannumeral #1\endcsname{#2}% +\expandafter\def\csname @IEEEeqnarraycolSEPDEF\romannumeral #1\endcsname{1}} + + +\def\@IEEEeqnarraycolisdefined{1}% just a macro for 1, used for checking undefined column types + + +% expands and appends the given argument to the \@IEEEtrantmptoksA token list +% used to build up the \halign preamble +\def\@IEEEappendtoksA#1{\edef\@@IEEEappendtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA #1}}% +\@@IEEEappendtoksA} + +% also appends to \@IEEEtrantmptoksA, but does not expand the argument +% uses \toks8 as a scratchpad register +\def\@IEEEappendNOEXPANDtoksA#1{\toks8={#1}% +\edef\@@IEEEappendNOEXPANDtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA\the\toks8}}% +\@@IEEEappendNOEXPANDtoksA} + +% define some common column types for the user +% math +\IEEEeqnarraydefcol{l}{$\IEEEeqnarraymathstyle}{$\hfil} +\IEEEeqnarraydefcol{c}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} +\IEEEeqnarraydefcol{r}{\hfil$\IEEEeqnarraymathstyle}{$} +\IEEEeqnarraydefcol{L}{$\IEEEeqnarraymathstyle{}}{{}$\hfil} +\IEEEeqnarraydefcol{C}{\hfil$\IEEEeqnarraymathstyle{}}{{}$\hfil} +\IEEEeqnarraydefcol{R}{\hfil$\IEEEeqnarraymathstyle{}}{{}$} +% text +\IEEEeqnarraydefcol{s}{\IEEEeqnarraytextstyle}{\hfil} +\IEEEeqnarraydefcol{t}{\hfil\IEEEeqnarraytextstyle}{\hfil} +\IEEEeqnarraydefcol{u}{\hfil\IEEEeqnarraytextstyle}{} + +% vertical rules +\IEEEeqnarraydefcol{v}{}{\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{vv}{\vrule width\arrayrulewidth\hfil}{\hfil\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{V}{}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} +\IEEEeqnarraydefcol{VV}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth\hfil}% +{\hfil\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} + +% horizontal rules +\IEEEeqnarraydefcol{h}{}{\leaders\hrule height\arrayrulewidth\hfil} +\IEEEeqnarraydefcol{H}{}{\leaders\vbox{\hrule width\arrayrulewidth\vskip\doublerulesep\hrule width\arrayrulewidth}\hfil} + +% plain +\IEEEeqnarraydefcol{x}{}{} +\IEEEeqnarraydefcol{X}{$}{$} + +% the default column type to use in the event a column type is not defined +\IEEEeqnarraydefcol{@IEEEdefault}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} + + +% a zero tabskip (used for "-" col types) +\def\@IEEEeqnarraycolSEPzero{0pt plus 0pt minus 0pt} +% a centering tabskip (used for "+" col types) +\def\@IEEEeqnarraycolSEPcenter{1000pt plus 0pt minus 1000pt} + +% top level default tabskip glues for the start, end, and inter-column +% may be reset within environments not always at the top level, e.g., \IEEEeqnarraybox +\edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPcenter}% default start glue +\edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPcenter}% default end glue +\edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue + + + +% creates a vertical rule that extends from the bottom to the top a a cell +% Provided in case other packages redefine \vline some other way. +% usage: \IEEEeqnarrayvrule[rule thickness] +% If no argument is provided, \arrayrulewidth will be used for the rule thickness. +\newcommand\IEEEeqnarrayvrule[1][\arrayrulewidth]{\vrule\@width#1\relax} + +% creates a blank separator row +% usage: \IEEEeqnarrayseprow[separation length][font size commands] +% default is \IEEEeqnarrayseprow[0.25\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers +\def\IEEEeqnarrayseprow{\relax\@ifnextchar[{\@IEEEeqnarrayseprow}{\@IEEEeqnarrayseprow[0.25\normalbaselineskip]}} +\def\@IEEEeqnarrayseprow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprow[#1]}{\@@IEEEeqnarrayseprow[#1][\relax]}} +\def\@@IEEEeqnarrayseprow[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% +\ifx\@IEEEeqnarrayseprowARGONE\@empty% +% get the skip value, based on the font commands +% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 +% assign within a bogus box to confine the font changes +{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% +\else% +{\setbox0=\hbox{#2\relax\global\skip5=#1}}% +\fi% +\@IEEEeqnarrayhoptolastcolumn\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} + +% creates a blank separator row, but omits all the column templates +% usage: \IEEEeqnarrayseprowcut[separation length][font size commands] +% default is \IEEEeqnarrayseprowcut[0.25\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers +\def\IEEEeqnarrayseprowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarrayseprowcut}{\@IEEEeqnarrayseprowcut[0.25\normalbaselineskip]}} +\def\@IEEEeqnarrayseprowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprowcut[#1]}{\@@IEEEeqnarrayseprowcut[#1][\relax]}} +\def\@@IEEEeqnarrayseprowcut[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% +\ifx\@IEEEeqnarrayseprowARGONE\@empty% +% get the skip value, based on the font commands +% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 +% assign within a bogus box to confine the font changes +{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% +\else% +{\setbox0=\hbox{#2\relax\global\skip5=#1}}% +\fi% +\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} + + + +% draws a single rule across all the columns optional +% argument determines the rule width, \arrayrulewidth is the default +% updates column counter as needed and turns off struts +% usage: \IEEEeqnarrayrulerow[rule line thickness] +\def\IEEEeqnarrayrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarrayrulerow}{\@IEEEeqnarrayrulerow[\arrayrulewidth]}} +\def\@IEEEeqnarrayrulerow[#1]{\leaders\hrule height#1\hfil\relax% put in our rule +% turn off any struts +\IEEEeqnarraystrutsize{0pt}{0pt}[\relax]\relax} + + +% draws a double rule by using a single rule row, a separator row, and then +% another single rule row +% first optional argument determines the rule thicknesses, \arrayrulewidth is the default +% second optional argument determines the rule spacing, \doublerulesep is the default +% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] +\def\IEEEeqnarraydblrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarraydblrulerow}{\@IEEEeqnarraydblrulerow[\arrayrulewidth]}} +\def\@IEEEeqnarraydblrulerow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerow[#1]}% +{\@@IEEEeqnarraydblrulerow[#1][\doublerulesep]}} +\def\@@IEEEeqnarraydblrulerow[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% +% we allow the user to say \IEEEeqnarraydblrulerow[][] +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]\relax% +\fi% +\def\@IEEEeqnarraydblrulerowARG{#2}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\\\IEEEeqnarrayseprow[\doublerulesep][\relax]% +\else% +\\\IEEEeqnarrayseprow[#2][\relax]% +\fi% +\\\multispan{\@IEEEeqnnumcols}% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\def\@IEEEeqnarraydblrulerowARG{#1}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +} + +% draws a double rule by using a single rule row, a separator (cutting) row, and then +% another single rule row +% first optional argument determines the rule thicknesses, \arrayrulewidth is the default +% second optional argument determines the rule spacing, \doublerulesep is the default +% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] +\def\IEEEeqnarraydblrulerowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\@ifnextchar[{\@IEEEeqnarraydblrulerowcut}{\@IEEEeqnarraydblrulerowcut[\arrayrulewidth]}} +\def\@IEEEeqnarraydblrulerowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerowcut[#1]}% +{\@@IEEEeqnarraydblrulerowcut[#1][\doublerulesep]}} +\def\@@IEEEeqnarraydblrulerowcut[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% +% we allow the user to say \IEEEeqnarraydblrulerow[][] +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +\def\@IEEEeqnarraydblrulerowARG{#2}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\\\IEEEeqnarrayseprowcut[\doublerulesep][\relax]% +\else% +\\\IEEEeqnarrayseprowcut[#2][\relax]% +\fi% +\\\multispan{\@IEEEeqnnumcols}% +% advance column counter only if the IEEEeqnarray environment wants it +\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% +\def\@IEEEeqnarraydblrulerowARG{#1}% +\ifx\@IEEEeqnarraydblrulerowARG\@empty% +\@IEEEeqnarrayrulerow[\arrayrulewidth]% +\else% +\@IEEEeqnarrayrulerow[#1]% +\fi% +} + + + +% inserts a full row's worth of &'s +% relies on \@IEEEeqnnumcols to provide the correct number of columns +% uses \@IEEEtrantmptoksA, \count0 as scratch registers +\def\@IEEEeqnarrayhoptolastcolumn{\@IEEEtrantmptoksA={}\count0=1\relax% +\loop% add cols if the user did not use them all +\ifnum\count0<\@IEEEeqnnumcols\relax% +\@IEEEappendtoksA{&}% +\advance\count0 by 1\relax% update the col count +\repeat% +\the\@IEEEtrantmptoksA%execute the &'s +} + + + +\newif\if@IEEEeqnarrayISinner % flag to indicate if we are within the lines +\@IEEEeqnarrayISinnerfalse % of an IEEEeqnarray - after the IEEEeqnarraydecl + +\edef\@IEEEeqnarrayTHEstrutheight{0pt} % height and depth of IEEEeqnarray struts +\edef\@IEEEeqnarrayTHEstrutdepth{0pt} + +\edef\@IEEEeqnarrayTHEmasterstrutheight{0pt} % default height and depth of +\edef\@IEEEeqnarrayTHEmasterstrutdepth{0pt} % struts within an IEEEeqnarray + +\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{0pt} % saved master strut height +\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{0pt} % and depth + +\newif\if@IEEEeqnarrayusemasterstrut % flag to indicate that the master strut value +\@IEEEeqnarrayusemasterstruttrue % is to be used + + + +% saves the strut height and depth of the master strut +\def\@IEEEeqnarraymasterstrutsave{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% save values +\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{\the\dimen2}} + +% restores the strut height and depth of the master strut +\def\@IEEEeqnarraymasterstrutrestore{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutHSAVE\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutDSAVE\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% restore values +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}} + + +% globally restores the strut height and depth to the +% master values and sets the master strut flag to true +\def\@IEEEeqnarraystrutreset{\relax% +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% remove stretchability +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% restore values +\xdef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\xdef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\global\@IEEEeqnarrayusemasterstruttrue} + + +% if the master strut is not to be used, make the current +% values of \@IEEEeqnarrayTHEstrutheight, \@IEEEeqnarrayTHEstrutdepth +% and the use master strut flag, global +% this allows user strut commands issued in the last column to be carried +% into the isolation/strut column +\def\@IEEEeqnarrayglobalizestrutstatus{\relax% +\if@IEEEeqnarrayusemasterstrut\else% +\xdef\@IEEEeqnarrayTHEstrutheight{\@IEEEeqnarrayTHEstrutheight}% +\xdef\@IEEEeqnarrayTHEstrutdepth{\@IEEEeqnarrayTHEstrutdepth}% +\global\@IEEEeqnarrayusemasterstrutfalse% +\fi} + + + +% usage: \IEEEeqnarraystrutsize{height}{depth}[font size commands] +% If called outside the lines of an IEEEeqnarray, sets the height +% and depth of both the master and local struts. If called inside +% an IEEEeqnarray line, sets the height and depth of the local strut +% only and sets the flag to indicate the use of the local strut +% values. If the height or depth is left blank, 0.7\normalbaselineskip +% and 0.3\normalbaselineskip will be used, respectively. +% The optional argument can be used to evaluate the lengths under +% a different font size and styles. If none is specified, the current +% font is used. +% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 +\def\IEEEeqnarraystrutsize#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsize{#1}{#2}}{\@IEEEeqnarraystrutsize{#1}{#2}[\relax]}} +\def\@IEEEeqnarraystrutsize#1#2[#3]{\def\@IEEEeqnarraystrutsizeARG{#1}% +\ifx\@IEEEeqnarraystrutsizeARG\@empty% +{\setbox0=\hbox{#3\relax\global\skip3=0.7\normalbaselineskip}}% +\skip0=\skip3\relax% +\else% arg one present +{\setbox0=\hbox{#3\relax\global\skip3=#1\relax}}% +\skip0=\skip3\relax% +\fi% if null arg +\def\@IEEEeqnarraystrutsizeARG{#2}% +\ifx\@IEEEeqnarraystrutsizeARG\@empty% +{\setbox0=\hbox{#3\relax\global\skip3=0.3\normalbaselineskip}}% +\skip2=\skip3\relax% +\else% arg two present +{\setbox0=\hbox{#3\relax\global\skip3=#2\relax}}% +\skip2=\skip3\relax% +\fi% if null arg +% remove stretchability, just to be safe +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +\if@IEEEeqnarrayISinner% inner does not touch master strut size +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstrutfalse% do not use master +\else% outer, have to set master strut too +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstruttrue% use master strut +\fi} + + +% usage: \IEEEeqnarraystrutsizeadd{added height}{added depth}[font size commands] +% If called outside the lines of an IEEEeqnarray, adds the given height +% and depth to both the master and local struts. +% If called inside an IEEEeqnarray line, adds the given height and depth +% to the local strut only and sets the flag to indicate the use +% of the local strut values. +% In both cases, if a height or depth is left blank, 0pt is used instead. +% The optional argument can be used to evaluate the lengths under +% a different font size and styles. If none is specified, the current +% font is used. +% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 +\def\IEEEeqnarraystrutsizeadd#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsizeadd{#1}{#2}}{\@IEEEeqnarraystrutsizeadd{#1}{#2}[\relax]}} +\def\@IEEEeqnarraystrutsizeadd#1#2[#3]{\def\@IEEEeqnarraystrutsizearg{#1}% +\ifx\@IEEEeqnarraystrutsizearg\@empty% +\skip0=0pt\relax% +\else% arg one present +{\setbox0=\hbox{#3\relax\global\skip3=#1}}% +\skip0=\skip3\relax% +\fi% if null arg +\def\@IEEEeqnarraystrutsizearg{#2}% +\ifx\@IEEEeqnarraystrutsizearg\@empty% +\skip2=0pt\relax% +\else% arg two present +{\setbox0=\hbox{#3\relax\global\skip3=#2}}% +\skip2=\skip3\relax% +\fi% if null arg +% remove stretchability, just to be safe +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +\if@IEEEeqnarrayISinner% inner does not touch master strut size +% get local strut size +\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% +% add it to the user supplied values +\advance\dimen0 by \skip0\relax% +\advance\dimen2 by \skip2\relax% +% update the local strut size +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstrutfalse% do not use master +\else% outer, have to set master strut too +% get master strut size +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +% add it to the user supplied values +\advance\dimen0 by \skip0\relax% +\advance\dimen2 by \skip2\relax% +% update the local and master strut sizes +\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% +\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% +\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% +\@IEEEeqnarrayusemasterstruttrue% use master strut +\fi} + + +% allow user a way to see the struts +\newif\ifIEEEvisiblestruts +\IEEEvisiblestrutsfalse + +% inserts an invisible strut using the master or local strut values +% uses scratch registers \skip0, \skip2, \dimen0, \dimen2 +\def\@IEEEeqnarrayinsertstrut{\relax% +\if@IEEEeqnarrayusemasterstrut +% get master strut size +\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% +\else% +% get local strut size +\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% +\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% +\fi% +% remove stretchability, probably not needed +\dimen0\skip0\relax% +\dimen2\skip2\relax% +% dimen0 = height, dimen2 = depth +% allow user to see struts if desired +\ifIEEEvisiblestruts% +\vrule width0.2pt height\dimen0 depth\dimen2\relax% +\else% +\vrule width0pt height\dimen0 depth\dimen2\relax\fi} + + +% creates an invisible strut, useable even outside \IEEEeqnarray +% if \IEEEvisiblestrutstrue, the strut will be visible and 0.2pt wide. +% usage: \IEEEstrut[height][depth][font size commands] +% default is \IEEEstrut[0.7\normalbaselineskip][0.3\normalbaselineskip][\relax] +% blank arguments inherit the default values +% uses \dimen0, \dimen2, \skip0, \skip2 +\def\IEEEstrut{\relax\@ifnextchar[{\@IEEEstrut}{\@IEEEstrut[0.7\normalbaselineskip]}} +\def\@IEEEstrut[#1]{\relax\@ifnextchar[{\@@IEEEstrut[#1]}{\@@IEEEstrut[#1][0.3\normalbaselineskip]}} +\def\@@IEEEstrut[#1][#2]{\relax\@ifnextchar[{\@@@IEEEstrut[#1][#2]}{\@@@IEEEstrut[#1][#2][\relax]}} +\def\@@@IEEEstrut[#1][#2][#3]{\mbox{#3\relax% +\def\@IEEEstrutARG{#1}% +\ifx\@IEEEstrutARG\@empty% +\skip0=0.7\normalbaselineskip\relax% +\else% +\skip0=#1\relax% +\fi% +\def\@IEEEstrutARG{#2}% +\ifx\@IEEEstrutARG\@empty% +\skip2=0.3\normalbaselineskip\relax% +\else% +\skip2=#2\relax% +\fi% +% remove stretchability, probably not needed +\dimen0\skip0\relax% +\dimen2\skip2\relax% +\ifIEEEvisiblestruts% +\vrule width0.2pt height\dimen0 depth\dimen2\relax% +\else% +\vrule width0.0pt height\dimen0 depth\dimen2\relax\fi}} + + +% enables strut mode by setting a default strut size and then zeroing the +% \baselineskip, \lineskip, \lineskiplimit and \jot +\def\IEEEeqnarraystrutmode{\IEEEeqnarraystrutsize{0.7\normalbaselineskip}{0.3\normalbaselineskip}[\relax]% +\baselineskip=0pt\lineskip=0pt\lineskiplimit=0pt\jot=0pt} + + + +\def\IEEEeqnarray{\@IEEEeqnarraystarformfalse\@IEEEeqnarray} +\def\endIEEEeqnarray{\end@IEEEeqnarray} + +\@namedef{IEEEeqnarray*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarray} +\@namedef{endIEEEeqnarray*}{\end@IEEEeqnarray} + + +% \IEEEeqnarray is an enhanced \eqnarray. +% The star form defaults to not putting equation numbers at the end of each row. +% usage: \IEEEeqnarray[decl]{cols} +\def\@IEEEeqnarray{\relax\@ifnextchar[{\@@IEEEeqnarray}{\@@IEEEeqnarray[\relax]}} +\def\@@IEEEeqnarray[#1]#2{% + % default to showing the equation number or not based on whether or not + % the star form was involked + \if@IEEEeqnarraystarform\global\@eqnswfalse + \else% not the star form + \global\@eqnswtrue + \fi% if star form + \@IEEEissubequationfalse% default to no subequations + \@IEEElastlinewassubequationfalse% assume last line is not a sub equation + \@IEEEeqnarrayISinnerfalse% not yet within the lines of the halign + \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default + \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise + \IEEEvisiblestrutsfalse% diagnostic mode defaults to off + % no extra space unless the user specifically requests it + \lineskip=0pt\relax + \lineskiplimit=0pt\relax + \baselineskip=\normalbaselineskip\relax% + \jot=\normaljot\relax% + \mathsurround\z@\relax% no extra spacing around math + \@advanceIEEEeqncolcnttrue% advance the col counter for each col the user uses, + % used in \IEEEeqnarraymulticol and in the preamble build + \stepcounter{equation}% advance equation counter before first line + \setcounter{IEEEsubequation}{0}% no subequation yet + \def\@currentlabel{\p@equation\theequation}% redefine the ref label + \IEEEeqnarraydecl\relax% allow a way for the user to make global overrides + #1\relax% allow user to override defaults + \let\\\@IEEEeqnarraycr% replace newline with one that can put in eqn. numbers + \global\@IEEEeqncolcnt\z@% col. count = 0 for first line + \@IEEEbuildpreamble #2\end\relax% build the preamble and put it into \@IEEEtrantmptoksA + % put in the column for the equation number + \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first + \toks0={##}% + % advance the \@IEEEeqncolcnt for the isolation col, this helps with error checking + \@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}% + % add the isolation column + \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% + % advance the \@IEEEeqncolcnt for the equation number col, this helps with error checking + \@IEEEappendtoksA{&\global\advance\@IEEEeqncolcnt by 1\relax}% + % add the equation number col to the preamble + \@IEEEappendtoksA{\tabskip\z@skip\hb@xt@\z@\bgroup\hss\the\toks0\egroup}% + % note \@IEEEeqnnumcols does not count the equation col or isolation col + % set the starting tabskip glue as determined by the preamble build + \tabskip=\@IEEEBPstartglue\relax + % begin the display alignment + \@IEEEeqnarrayISinnertrue% commands are now within the lines + $$\everycr{}\halign to\displaywidth\bgroup + % "exspand" the preamble + \span\the\@IEEEtrantmptoksA\cr} + +% enter isolation/strut column (or the next column if the user did not use +% every column), record the strut status, complete the columns, do the strut if needed, +% restore counters to correct values and exit +\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup% +\if@IEEElastlinewassubequation\global\advance\c@IEEEsubequation\m@ne\fi% +\global\advance\c@equation\m@ne% +$$\@ignoretrue} + +% need a way to remember if last line is a subequation +\newif\if@IEEElastlinewassubequation% +\@IEEElastlinewassubequationfalse + +% IEEEeqnarray uses a modifed \\ instead of the plain \cr to +% end rows. This allows for things like \\*[vskip amount] +% This "cr" macros are modified versions those for LaTeX2e's eqnarray +% the {\ifnum0=`} braces must be kept away from the last column to avoid +% altering spacing of its math, so we use & to advance to the next column +% as there is an isolation/strut column after the user's columns +\def\@IEEEeqnarraycr{\@IEEEeqnarrayglobalizestrutstatus&% save strut status and advance to next column + {\ifnum0=`}\fi + \@ifstar{% + \global\@eqpen\@M\@IEEEeqnarrayYCR + }{% + \global\@eqpen\interdisplaylinepenalty \@IEEEeqnarrayYCR + }% +} + +\def\@IEEEeqnarrayYCR{\@testopt\@IEEEeqnarrayXCR\z@skip} + +\def\@IEEEeqnarrayXCR[#1]{% + \ifnum0=`{\fi}% + \@@IEEEeqnarraycr + \noalign{\penalty\@eqpen\vskip\jot\vskip #1\relax}}% + +\def\@@IEEEeqnarraycr{\@IEEEtrantmptoksA={}% clear token register + \advance\@IEEEeqncolcnt by -1\relax% adjust col count because of the isolation column + \ifnum\@IEEEeqncolcnt>\@IEEEeqnnumcols\relax + \@IEEEclspkgerror{Too many columns within the IEEEeqnarray\MessageBreak + environment}% + {Use fewer \string &'s or put more columns in the IEEEeqnarry column\MessageBreak + specifications.}\relax% + \else + \loop% add cols if the user did not use them all + \ifnum\@IEEEeqncolcnt<\@IEEEeqnnumcols\relax + \@IEEEappendtoksA{&}% + \advance\@IEEEeqncolcnt by 1\relax% update the col count + \repeat + % this number of &'s will take us the the isolation column + \fi + % execute the &'s + \the\@IEEEtrantmptoksA% + % handle the strut/isolation column + \@IEEEeqnarrayinsertstrut% do the strut if needed + \@IEEEeqnarraystrutreset% reset the strut system for next line or IEEEeqnarray + &% and enter the equation number column + % is this line needs an equation number, display it and advance the + % (sub)equation counters, record what type this line was + \if@eqnsw% + \if@IEEEissubequation\theIEEEsubequationdis\addtocounter{equation}{1}\stepcounter{IEEEsubequation}% + \global\@IEEElastlinewassubequationtrue% + \else% display a standard equation number, initialize the IEEEsubequation counter + \theequationdis\stepcounter{equation}\setcounter{IEEEsubequation}{0}% + \global\@IEEElastlinewassubequationfalse\fi% + \fi% + % reset the eqnsw flag to indicate default preference of the display of equation numbers + \if@IEEEeqnarraystarform\global\@eqnswfalse\else\global\@eqnswtrue\fi + \global\@IEEEissubequationfalse% reset the subequation flag + % reset the number of columns the user actually used + \global\@IEEEeqncolcnt\z@\relax + % the real end of the line + \cr} + + + + + +% \IEEEeqnarraybox is like \IEEEeqnarray except the box form puts everything +% inside a vtop, vbox, or vcenter box depending on the letter in the second +% optional argument (t,b,c). Vbox is the default. Unlike \IEEEeqnarray, +% equation numbers are not displayed and \IEEEeqnarraybox can be nested. +% \IEEEeqnarrayboxm is for math mode (like \array) and does not put the vbox +% within an hbox. +% \IEEEeqnarrayboxt is for text mode (like \tabular) and puts the vbox within +% a \hbox{$ $} construct. +% \IEEEeqnarraybox will auto detect whether to use \IEEEeqnarrayboxm or +% \IEEEeqnarrayboxt depending on the math mode. +% The third optional argument specifies the width this box is to be set to - +% natural width is the default. +% The * forms do not add \jot line spacing +% usage: \IEEEeqnarraybox[decl][pos][width]{cols} +\def\IEEEeqnarrayboxm{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} +\def\endIEEEeqnarrayboxm{\end@IEEEeqnarraybox} +\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarrayboxm*}{\end@IEEEeqnarraybox} + +\def\IEEEeqnarrayboxt{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} +\def\endIEEEeqnarrayboxt{\end@IEEEeqnarraybox} +\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarrayboxt*}{\end@IEEEeqnarraybox} + +\def\IEEEeqnarraybox{\@IEEEeqnarraystarformfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% +\@IEEEeqnarraybox} +\def\endIEEEeqnarraybox{\end@IEEEeqnarraybox} + +\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarraystarformtrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% +\@IEEEeqnarraybox} +\@namedef{endIEEEeqnarraybox*}{\end@IEEEeqnarraybox} + +% flag to indicate if the \IEEEeqnarraybox needs to put things into an hbox{$ $} +% for \vcenter in non-math mode +\newif\if@IEEEeqnarrayboxHBOXSW% +\@IEEEeqnarrayboxHBOXSWfalse + +\def\@IEEEeqnarraybox{\relax\@ifnextchar[{\@@IEEEeqnarraybox}{\@@IEEEeqnarraybox[\relax]}} +\def\@@IEEEeqnarraybox[#1]{\relax\@ifnextchar[{\@@@IEEEeqnarraybox[#1]}{\@@@IEEEeqnarraybox[#1][b]}} +\def\@@@IEEEeqnarraybox[#1][#2]{\relax\@ifnextchar[{\@@@@IEEEeqnarraybox[#1][#2]}{\@@@@IEEEeqnarraybox[#1][#2][\relax]}} + +% #1 = decl; #2 = t,b,c; #3 = width, #4 = col specs +\def\@@@@IEEEeqnarraybox[#1][#2][#3]#4{\@IEEEeqnarrayISinnerfalse % not yet within the lines of the halign + \@IEEEeqnarraymasterstrutsave% save current master strut values + \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default + \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise + \IEEEvisiblestrutsfalse% diagnostic mode defaults to off + % no extra space unless the user specifically requests it + \lineskip=0pt\relax% + \lineskiplimit=0pt\relax% + \baselineskip=\normalbaselineskip\relax% + \jot=\normaljot\relax% + \mathsurround\z@\relax% no extra spacing around math + % the default end glues are zero for an \IEEEeqnarraybox + \edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPzero}% default start glue + \edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPzero}% default end glue + \edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue + \@advanceIEEEeqncolcntfalse% do not advance the col counter for each col the user uses, + % used in \IEEEeqnarraymulticol and in the preamble build + \IEEEeqnarrayboxdecl\relax% allow a way for the user to make global overrides + #1\relax% allow user to override defaults + \let\\\@IEEEeqnarrayboxcr% replace newline with one that allows optional spacing + \@IEEEbuildpreamble #4\end\relax% build the preamble and put it into \@IEEEtrantmptoksA + % add an isolation column to the preamble to stop \\'s {} from getting into the last col + \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first + \toks0={##}% + % add the isolation column to the preamble + \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% + % set the starting tabskip glue as determined by the preamble build + \tabskip=\@IEEEBPstartglue\relax + % begin the alignment + \everycr{}% + % use only the very first token to determine the positioning + % this stops some problems when the user uses more than one letter, + % but is probably not worth the effort + % \noindent is used as a delimiter + \def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% + \@IEEEgrabfirstoken#2\relax\relax\noindent + % \@IEEEgrabbedfirstoken has the first token, the rest are discarded + % if we need to put things into and hbox and go into math mode, do so now + \if@IEEEeqnarrayboxHBOXSW \leavevmode \hbox \bgroup $\fi% + % use the appropriate vbox type + \if\@IEEEgrabbedfirstoken t\relax\vtop\else\if\@IEEEgrabbedfirstoken c\relax% + \vcenter\else\vbox\fi\fi\bgroup% + \@IEEEeqnarrayISinnertrue% commands are now within the lines + \ifx#3\relax\halign\else\halign to #3\relax\fi% + \bgroup + % "exspand" the preamble + \span\the\@IEEEtrantmptoksA\cr} + +% carry strut status and enter the isolation/strut column, +% exit from math mode if needed, and exit +\def\end@IEEEeqnarraybox{\@IEEEeqnarrayglobalizestrutstatus% carry strut status +&% enter isolation/strut column +\@IEEEeqnarrayinsertstrut% do strut if needed +\@IEEEeqnarraymasterstrutrestore% restore the previous master strut values +% reset the strut system for next IEEEeqnarray +% (sets local strut values back to previous master strut values) +\@IEEEeqnarraystrutreset% +% ensure last line, exit from halign, close vbox +\crcr\egroup\egroup% +% exit from math mode and close hbox if needed +\if@IEEEeqnarrayboxHBOXSW $\egroup\fi} + + + +% IEEEeqnarraybox uses a modifed \\ instead of the plain \cr to +% end rows. This allows for things like \\[vskip amount] +% This "cr" macros are modified versions those for LaTeX2e's eqnarray +% For IEEEeqnarraybox, \\* is the same as \\ +% the {\ifnum0=`} braces must be kept away from the last column to avoid +% altering spacing of its math, so we use & to advance to the isolation/strut column +% carry strut status into isolation/strut column +\def\@IEEEeqnarrayboxcr{\@IEEEeqnarrayglobalizestrutstatus% carry strut status +&% enter isolation/strut column +\@IEEEeqnarrayinsertstrut% do strut if needed +% reset the strut system for next line or IEEEeqnarray +\@IEEEeqnarraystrutreset% +{\ifnum0=`}\fi% +\@ifstar{\@IEEEeqnarrayboxYCR}{\@IEEEeqnarrayboxYCR}} + +% test and setup the optional argument to \\[] +\def\@IEEEeqnarrayboxYCR{\@testopt\@IEEEeqnarrayboxXCR\z@skip} + +% IEEEeqnarraybox does not automatically increase line spacing by \jot +\def\@IEEEeqnarrayboxXCR[#1]{\ifnum0=`{\fi}% +\cr\noalign{\if@IEEEeqnarraystarform\else\vskip\jot\fi\vskip#1\relax}} + + + +% starts the halign preamble build +\def\@IEEEbuildpreamble{\@IEEEtrantmptoksA={}% clear token register +\let\@IEEEBPcurtype=u%current column type is not yet known +\let\@IEEEBPprevtype=s%the previous column type was the start +\let\@IEEEBPnexttype=u%next column type is not yet known +% ensure these are valid +\def\@IEEEBPcurglue={0pt plus 0pt minus 0pt}% +\def\@IEEEBPcurcolname{@IEEEdefault}% name of current column definition +% currently acquired numerically referenced glue +% use a name that is easier to remember +\let\@IEEEBPcurnum=\@IEEEtrantmpcountA% +\@IEEEBPcurnum=0% +% tracks number of columns in the preamble +\@IEEEeqnnumcols=0% +% record the default end glues +\edef\@IEEEBPstartglue{\@IEEEeqnarraycolSEPdefaultstart}% +\edef\@IEEEBPendglue{\@IEEEeqnarraycolSEPdefaultend}% +% now parse the user's column specifications +\@@IEEEbuildpreamble} + + +% parses and builds the halign preamble +\def\@@IEEEbuildpreamble#1#2{\let\@@nextIEEEbuildpreamble=\@@IEEEbuildpreamble% +% use only the very first token to check the end +% \noindent is used as a delimiter as \end can be present here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +\ifx\@IEEEgrabbedfirstoken\end\let\@@nextIEEEbuildpreamble=\@@IEEEfinishpreamble\else% +% identify current and next token type +\@IEEEgetcoltype{#1}{\@IEEEBPcurtype}{1}% current, error on invalid +\@IEEEgetcoltype{#2}{\@IEEEBPnexttype}{0}% next, no error on invalid next +% if curtype is a glue, get the glue def +\if\@IEEEBPcurtype g\@IEEEgetcurglue{#1}{\@IEEEBPcurglue}\fi% +% if curtype is a column, get the column def and set the current column name +\if\@IEEEBPcurtype c\@IEEEgetcurcol{#1}\fi% +% if curtype is a numeral, acquire the user defined glue +\if\@IEEEBPcurtype n\@IEEEprocessNcol{#1}\fi% +% process the acquired glue +\if\@IEEEBPcurtype g\@IEEEprocessGcol\fi% +% process the acquired col +\if\@IEEEBPcurtype c\@IEEEprocessCcol\fi% +% ready prevtype for next col spec. +\let\@IEEEBPprevtype=\@IEEEBPcurtype% +% be sure and put back the future token(s) as a group +\fi\@@nextIEEEbuildpreamble{#2}} + + +% executed just after preamble build is completed +% warn about zero cols, and if prevtype type = u, put in end tabskip glue +\def\@@IEEEfinishpreamble#1{\ifnum\@IEEEeqnnumcols<1\relax +\@IEEEclspkgerror{No column specifiers declared for IEEEeqnarray}% +{At least one column type must be declared for each IEEEeqnarray.}% +\fi%num cols less than 1 +%if last type undefined, set default end tabskip glue +\if\@IEEEBPprevtype u\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue}\fi} + + +% Identify and return the column specifier's type code +\def\@IEEEgetcoltype#1#2#3{% +% use only the very first token to determine the type +% \noindent is used as a delimiter as \end can be present here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +% \@IEEEgrabfirstoken has the first token, the rest are discarded +% n = number +% g = glue (any other char in catagory 12) +% c = letter +% e = \end +% u = undefined +% third argument: 0 = no error message, 1 = error on invalid char +\let#2=u\relax% assume invalid until know otherwise +\ifx\@IEEEgrabbedfirstoken\end\let#2=e\else +\ifcat\@IEEEgrabbedfirstoken\relax\else% screen out control sequences +\if0\@IEEEgrabbedfirstoken\let#2=n\else +\if1\@IEEEgrabbedfirstoken\let#2=n\else +\if2\@IEEEgrabbedfirstoken\let#2=n\else +\if3\@IEEEgrabbedfirstoken\let#2=n\else +\if4\@IEEEgrabbedfirstoken\let#2=n\else +\if5\@IEEEgrabbedfirstoken\let#2=n\else +\if6\@IEEEgrabbedfirstoken\let#2=n\else +\if7\@IEEEgrabbedfirstoken\let#2=n\else +\if8\@IEEEgrabbedfirstoken\let#2=n\else +\if9\@IEEEgrabbedfirstoken\let#2=n\else +\ifcat,\@IEEEgrabbedfirstoken\let#2=g\relax +\else\ifcat a\@IEEEgrabbedfirstoken\let#2=c\relax\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi +\if#2u\relax +\if0\noexpand#3\relax\else\@IEEEclspkgerror{Invalid character in column specifications}% +{Only letters, numerals and certain other symbols are allowed \MessageBreak +as IEEEeqnarray column specifiers.}\fi\fi} + + +% identify the current letter referenced column +% if invalid, use a default column +\def\@IEEEgetcurcol#1{\expandafter\ifx\csname @IEEEeqnarraycolDEF#1\endcsname\@IEEEeqnarraycolisdefined% +\def\@IEEEBPcurcolname{#1}\else% invalid column name +\@IEEEclspkgerror{Invalid column type "#1" in column specifications.\MessageBreak +Using a default centering column instead}% +{You must define IEEEeqnarray column types before use.}% +\def\@IEEEBPcurcolname{@IEEEdefault}\fi} + + +% identify and return the predefined (punctuation) glue value +\def\@IEEEgetcurglue#1#2{% +% ! = \! (neg small) -0.16667em (-3/18 em) +% , = \, (small) 0.16667em ( 3/18 em) +% : = \: (med) 0.22222em ( 4/18 em) +% ; = \; (large) 0.27778em ( 5/18 em) +% ' = \quad 1em +% " = \qquad 2em +% . = 0.5\arraycolsep +% / = \arraycolsep +% ? = 2\arraycolsep +% * = 1fil +% + = \@IEEEeqnarraycolSEPcenter +% - = \@IEEEeqnarraycolSEPzero +% Note that all em values are referenced to the math font (textfont2) fontdimen6 +% value for 1em. +% +% use only the very first token to determine the type +% this prevents errant tokens from getting in the main text +% \noindent is used as a delimiter here +\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% +\@IEEEgrabfirstoken#1\relax\relax\noindent +% get the math font 1em value +% LaTeX2e's NFSS2 does not preload the fonts, but \IEEEeqnarray needs +% to gain access to the math (\textfont2) font's spacing parameters. +% So we create a bogus box here that uses the math font to ensure +% that \textfont2 is loaded and ready. If this is not done, +% the \textfont2 stuff here may not work. +% Thanks to Bernd Raichle for his 1997 post on this topic. +{\setbox0=\hbox{$\displaystyle\relax$}}% +% fontdimen6 has the width of 1em (a quad). +\@IEEEtrantmpdimenA=\fontdimen6\textfont2\relax% +% identify the glue value based on the first token +% we discard anything after the first +\if!\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=-0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if,\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if:\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.22222\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if;\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.27778\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if'\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=1\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if"\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else +\if.\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.5\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else +\if/\@IEEEgrabbedfirstoken\edef#2{\the\arraycolsep}\else +\if?\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else +\if *\@IEEEgrabbedfirstoken\edef#2{0pt plus 1fil minus 0pt}\else +\if+\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPcenter}\else +\if-\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPzero}\else +\edef#2{\@IEEEeqnarraycolSEPzero}% +\@IEEEclspkgerror{Invalid predefined inter-column glue type "#1" in\MessageBreak +column specifications. Using a default value of\MessageBreak +0pt instead}% +{Only !,:;'"./?*+ and - are valid predefined glue types in the\MessageBreak +IEEEeqnarray column specifications.}\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + + + +% process a numerical digit from the column specification +% and look up the corresponding user defined glue value +% can transform current type from n to g or a as the user defined glue is acquired +\def\@IEEEprocessNcol#1{\if\@IEEEBPprevtype g% +\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak +specifications. Ignoring consecutive glue specifiers\MessageBreak +after the first}% +{You cannot have two or more glue types next to each other\MessageBreak +in the IEEEeqnarray column specifications.}% +\let\@IEEEBPcurtype=a% abort this glue, future digits will be discarded +\@IEEEBPcurnum=0\relax% +\else% if we previously aborted a glue +\if\@IEEEBPprevtype a\@IEEEBPcurnum=0\let\@IEEEBPcurtype=a%maintain digit abortion +\else%acquire this number +% save the previous type before the numerical digits started +\if\@IEEEBPprevtype n\else\let\@IEEEBPprevsavedtype=\@IEEEBPprevtype\fi% +\multiply\@IEEEBPcurnum by 10\relax% +\advance\@IEEEBPcurnum by #1\relax% add in number, \relax is needed to stop TeX's number scan +\if\@IEEEBPnexttype n\else%close acquisition +\expandafter\ifx\csname @IEEEeqnarraycolSEPDEF\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname\@IEEEeqnarraycolisdefined% +\edef\@IEEEBPcurglue{\csname @IEEEeqnarraycolSEP\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname}% +\else%user glue not defined +\@IEEEclspkgerror{Invalid user defined inter-column glue type "\number\@IEEEBPcurnum" in\MessageBreak +column specifications. Using a default value of\MessageBreak +0pt instead}% +{You must define all IEEEeqnarray numerical inter-column glue types via\MessageBreak +\string\IEEEeqnarraydefcolsep \space before they are used in column specifications.}% +\edef\@IEEEBPcurglue{\@IEEEeqnarraycolSEPzero}% +\fi% glue defined or not +\let\@IEEEBPcurtype=g% change the type to reflect the acquired glue +\let\@IEEEBPprevtype=\@IEEEBPprevsavedtype% restore the prev type before this number glue +\@IEEEBPcurnum=0\relax%ready for next acquisition +\fi%close acquisition, get glue +\fi%discard or acquire number +\fi%prevtype glue or not +} + + +% process an acquired glue +% add any acquired column/glue pair to the preamble +\def\@IEEEprocessGcol{\if\@IEEEBPprevtype a\let\@IEEEBPcurtype=a%maintain previous glue abortions +\else +% if this is the start glue, save it, but do nothing else +% as this is not used in the preamble, but before +\if\@IEEEBPprevtype s\edef\@IEEEBPstartglue{\@IEEEBPcurglue}% +\else%not the start glue +\if\@IEEEBPprevtype g%ignore if back to back glues +\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak +specifications. Ignoring consecutive glue specifiers\MessageBreak +after the first}% +{You cannot have two or more glue types next to each other\MessageBreak +in the IEEEeqnarray column specifications.}% +\let\@IEEEBPcurtype=a% abort this glue +\else% not a back to back glue +\if\@IEEEBPprevtype c\relax% if the previoustype was a col, add column/glue pair to preamble +\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi +\toks0={##}% +% make preamble advance col counter if this environment needs this +\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi +% insert the column defintion into the preamble, being careful not to expand +% the column definition +\@IEEEappendtoksA{\tabskip=\@IEEEBPcurglue}% +\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname}% +\@IEEEappendtoksA{\the\toks0}% +\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\endgroup}% +\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble +\else% error: non-start glue with no pending column +\@IEEEclspkgerror{Inter-column glue specifier without a prior column\MessageBreak +type in the column specifications. Ignoring this glue\MessageBreak +specifier}% +{Except for the first and last positions, glue can be placed only\MessageBreak +between column types.}% +\let\@IEEEBPcurtype=a% abort this glue +\fi% previous was a column +\fi% back-to-back glues +\fi% is start column glue +\fi% prev type not a +} + + +% process an acquired letter referenced column and, if necessary, add it to the preamble +\def\@IEEEprocessCcol{\if\@IEEEBPnexttype g\else +\if\@IEEEBPnexttype n\else +% we have a column followed by something other than a glue (or numeral glue) +% so we must add this column to the preamble now +\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi%col separator for those after the first +\if\@IEEEBPnexttype e\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue\relax}\else%put in end glue +\@IEEEappendtoksA{\tabskip=\@IEEEeqnarraycolSEPdefaultmid\relax}\fi% or default mid glue +\toks0={##}% +% make preamble advance col counter if this environment needs this +\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi +% insert the column definition into the preamble, being careful not to expand +% the column definition +\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname}% +\@IEEEappendtoksA{\the\toks0}% +\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% +\@IEEEappendtoksA{\@IEEEBPcurcolname}% +\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% +\relax\relax\relax\relax\relax\endgroup}% +\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble +\fi%next type not numeral +\fi%next type not glue +} + + +%% +%% END OF IEEEeqnarry DEFINITIONS +%% + + + + +% set up the running headings, this complex because of all the different +% modes IEEEtran supports +\if@twoside + \if@technote + \def\ps@headings{% + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \if@draftclsmode + \if@draftclsmodefoot + \def\@oddfoot{\scriptsize\@date\hfil DRAFT} + \def\@evenfoot{\scriptsize DRAFT\hfil\@date} + \else + \def\@oddfoot{}\def\@evenfoot{}% + \fi + \else + \def\@oddfoot{}\def\@evenfoot{} + \fi} + \else % not a technote + \def\ps@headings{% + \if@confmode + \def\@oddhead{} + \def\@evenhead{} + \else + \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \fi + \if@draftclsmode + \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} + \if@draftclsmodefoot + \def\@oddfoot{\scriptsize\@date\hfil DRAFT} + \def\@evenfoot{\scriptsize DRAFT\hfil\@date} + \else + \def\@oddfoot{}\def\@evenfoot{}% + \fi + \else + \def\@oddfoot{}\def\@evenfoot{}% + \fi} + \fi +\else % single side +\def\ps@headings{% + \if@confmode + \def\@oddhead{} + \def\@evenhead{} + \else + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{} + \fi + \if@draftclsmode + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} + \def\@evenhead{} + \if@draftclsmodefoot + \def\@oddfoot{\scriptsize \@date \hfil DRAFT} + \else + \def\@oddfoot{} + \fi + \else + \def\@oddfoot{} + \fi + \def\@evenfoot{}} +\fi + + +% title page style +\def\ps@titlepagestyle{\def\@oddfoot{}\def\@evenfoot{}% +\if@confmode + \def\@oddhead{}% + \def\@evenhead{}% +\else + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% +\fi +\if@draftclsmode + \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% + \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% + \if@draftclsmodefoot + \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% + \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% + \fi +\else + % all non-draft mode footers + \if@IEEEusingpubid + % for title pages that are using a pubid + % do not repeat pubid if using peer review option + \if@peerreviewoption + \else + \footskip 0pt% + \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@pubid}\hss}% + \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@pubid}\hss}% + \fi + \fi +\fi} + + +% peer review cover page style +\def\ps@peerreviewcoverpagestyle{% +\def\@oddhead{}\def\@evenhead{}% +\def\@oddfoot{}\def\@evenfoot{}% +\if@draftclsmode + \if@draftclsmodefoot + \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% + \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% + \fi +\else + % non-draft mode footers + \if@IEEEusingpubid + \footskip 0pt% + \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@pubid}\hss}% + \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@pubid}\hss}% + \fi +\fi} + + +% start with empty headings +\def\rightmark{}\def\leftmark{} + + +%% Defines the command for putting the header. \footernote{TEXT} is the same +%% as \markboth{TEXT}{TEXT}. +%% Note that all the text is forced into uppercase, if you have some text +%% that needs to be in lower case, for instance et. al., then either manually +%% set \leftmark and \rightmark or use \MakeLowercase{et. al.} within the +%% arguments to \markboth. +\def\markboth#1#2{\def\leftmark{\MakeUppercase{#1}}\def\rightmark{\MakeUppercase{#2}}} +\def\footernote#1{\markboth{#1}{#1}} + +\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\day, \number\year} + + + + +%% CITATION AND BIBLIOGRAPHY COMMANDS +%% +%% V1.6 no longer supports the older, nonstandard \shortcite and \citename setup stuff +% +% +% Modify Latex2e \@citex to separate citations with "], [" +\def\@citex[#1]#2{% + \let\@citea\@empty + \@cite{\@for\@citeb:=#2\do + {\@citea\def\@citea{], [}% + \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% + \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi + \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning + {Citation `\@citeb' on page \thepage \space undefined}}% + {\hbox{\csname b@\@citeb\endcsname}}}}{#1}} + +% V1.6 we create hooks for the optional use of Donald Arseneau's +% cite.sty package. cite.sty is "smart" and will notice that the +% following format controls are already defined and will not +% redefine them. The result will be the proper sorting of the +% citation numbers and auto detection of 3 or more entry "ranges" - +% all in IEEE style: [1], [2], [5]--[7], [12] +% This also allows for an optional note, i.e., \cite[mynote]{..}. +% If the \cite with note has more than one reference, the note will +% be applied to the last of the listed references. It is generally +% desired that if a note is given, only one reference is listed in +% that \cite. +% Thanks to Mr. Arseneau for providing the required format arguments +% to produce the IEEE style. +\def\citepunct{], [} +\def\citedash{]--[} + + +% V1.6b providing this command makes hyperref think the natbib package is +% in use so that it will not interfere with cite.sty. However, as a result, +% citation numbers will not be hyperlinked. +\def\NAT@parse{\typeout{IEEEtran error: Attempt to use fake Natbib command +which is provided to fool Hyperref.}} +% it easy enough to override via: +% \let\NAT@parse\undefined + + +% V1.6 class files should always provide these +\def\newblock{\hskip .11em\@plus.33em\@minus.07em} +\let\@openbib@code\@empty + + + +% Provide support for the control entries of IEEEtran.bst V1.00 and later. +\def\bstctlcite#1{\@bsphack + \@for\@citeb:=#1\do{% + \edef\@citeb{\expandafter\@firstofone\@citeb}% + \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi}% + \@esphack} + +% V1.6 provide a way for a user to execute a command just before +% a given reference number - used to insert a \newpage to balance +% the columns on the last page +\edef\@IEEEtriggerrefnum{0} % the default of zero means that + % the command is not executed +\def\@IEEEtriggercmd{\newpage} + +% allow the user to alter the triggered command +\long\def\IEEEtriggercmd#1{\long\def\@IEEEtriggercmd{#1}} + +% allow user a way to specify the reference number just before the +% command is executed +\def\IEEEtriggeratref#1{\@IEEEtrantmpcountA=#1% +\edef\@IEEEtriggerrefnum{\the\@IEEEtrantmpcountA}}% + +% trigger command at the given reference +\def\@IEEEbibitemprefix{\@IEEEtrantmpcountA=\@IEEEtriggerrefnum\relax% +\advance\@IEEEtrantmpcountA by -1\relax% +\ifnum\c@enumiv=\@IEEEtrantmpcountA\relax\@IEEEtriggercmd\relax\fi} + +\def\@biblabel#1{[#1]} + +\def\thebibliography#1{\section*{References}% + \addcontentsline{toc}{section}{References}% + % V1.6 add some rubber space here and provide a command trigger + \footnotesize \vskip 0.3\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep\relax + \itemsep 0pt plus .5pt\relax% + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \let\@IEEElatexbibitem\bibitem% + \def\bibitem{\@IEEEbibitemprefix\@IEEElatexbibitem}% +\def\newblock{\hskip .11em plus .33em minus .07em}% +% originally: +% \sloppy\clubpenalty4000\widowpenalty4000% +% by adding the \interlinepenalty here, we make it more +% difficult, but not impossible, for LaTeX to break within a reference. +% IEEE almost never breaks a reference (but they do it more often with +% technotes). You may get an underfull vbox warning around the bibliography, +% but the final result will be much more like what IEEE will publish. +% MDS 11/2000 +\if@technote\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty100% +\else\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty500\fi% + \sfcode`\.=1000\relax} +\let\endthebibliography=\endlist + + + + +% TITLE PAGE COMMANDS +% +% +% \IEEEmembership is used to produce the sublargesize italic font used to indicate author +% IEEE membership. +\def\IEEEmembership#1{{\sublargesize\normalfont\textit{#1}}} + + +% \authorrefmark{} produces a footnote type symbol to indicate author affiliation. +% When given an argument of 1 to 9, \authorrefmark{} follows the standard LaTeX footnote +% symbol sequence convention. However, for arguments 10 and above, \authorrefmark{} +% reverts to using lower case roman numerals, so it cannot overflow. Do note that you +% cannot use \footnotemark[] in place of \authorrefmark{} within \author as the footnote +% symbols will have been turned off to prevent \thanks from creating footnote marks. +% \authorrefmark{} produces a symbol that appears to LaTeX as having zero vertical +% height - this allows for a more compact line packing, but the user must ensure that +% the interline spacing is large enough to prevent \authorrefmark{} from colliding +% with the text above. +\def\authorrefmark#1{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or% + \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger% + \or \ddagger\ddagger \else\textsuperscript{\expandafter\romannumeral#1}\fi}}}} + + +% FONT CONTROLS AND SPACINGS FOR CONFERENCE MODE AUTHOR NAME AND AFFILIATION BLOCKS +% +% The default font styles for the author name and affiliation blocks (confmode) +\def\@IEEEauthorblockNstyle{\normalfont\sublargesize} +\def\@IEEEauthorblockAstyle{\normalfont\normalsize} +% The default if the user does not use an author block +\def\@IEEEauthordefaulttextstyle{\normalfont\sublargesize} + +% spacing from title (or special paper notice) to author name blocks (confmode) +% can be negative +\def\@IEEEauthorblockconfadjspace{-0.25em} + +% spacing between name and affiliation blocks (confmode) +% This can be negative. +% IEEE doesn't want any added spacing here, but I will leave these +% controls in place in case they ever change their mind. +% Personally, I like 0.75ex. +%\def\@IEEEauthorblockNtopspace{0.75ex} +%\def\@IEEEauthorblockAtopspace{0.75ex} +\def\@IEEEauthorblockNtopspace{0.0ex} +\def\@IEEEauthorblockAtopspace{0.0ex} +% baseline spacing within name and affiliation blocks (confmode) +% must be positive, spacings below certain values will make +% the position of line of text sensitive to the contents of the +% line above it i.e., whether or not the prior line has descenders, +% subscripts, etc. For this reason it is a good idea to keep +% these above 2.6ex +\def\@IEEEauthorblockNinterlinespace{2.6ex} +\def\@IEEEauthorblockAinterlinespace{2.75ex} + +% This tracks the required strut size. +% See the \@IEEEauthorhalign command for the actual default value used. +\def\@IEEEauthorblockXinterlinespace{2.7ex} + +% variables to retain font size and style across groups +% values given here have no effect as they will be overwritten later +\gdef\@IEEESAVESTATEfontsize{10} +\gdef\@IEEESAVESTATEfontbaselineskip{12} +\gdef\@IEEESAVESTATEfontencoding{OT1} +\gdef\@IEEESAVESTATEfontfamily{ptm} +\gdef\@IEEESAVESTATEfontseries{m} +\gdef\@IEEESAVESTATEfontshape{n} + +% saves the current font attributes +\def\@IEEEcurfontSAVE{\global\let\@IEEESAVESTATEfontsize\f@size% +\global\let\@IEEESAVESTATEfontbaselineskip\f@baselineskip% +\global\let\@IEEESAVESTATEfontencoding\f@encoding% +\global\let\@IEEESAVESTATEfontfamily\f@family% +\global\let\@IEEESAVESTATEfontseries\f@series% +\global\let\@IEEESAVESTATEfontshape\f@shape} + +% restores the saved font attributes +\def\@IEEEcurfontRESTORE{\fontsize{\@IEEESAVESTATEfontsize}{\@IEEESAVESTATEfontbaselineskip}% +\fontencoding{\@IEEESAVESTATEfontencoding}% +\fontfamily{\@IEEESAVESTATEfontfamily}% +\fontseries{\@IEEESAVESTATEfontseries}% +\fontshape{\@IEEESAVESTATEfontshape}% +\selectfont} + + +% variable to indicate if the current block is the first block in the column +\newif\if@IEEEprevauthorblockincol \@IEEEprevauthorblockincolfalse + + +% the command places a strut with height and depth = \@IEEEauthorblockXinterlinespace +% we use this technique to have complete manual control over the spacing of the lines +% within the halign environment. +% We set the below baseline portion at 30%, the above +% baseline portion at 70% of the total length. +% Responds to changes in the document's \baselinestretch +\def\@IEEEauthorstrutrule{\@IEEEtrantmpdimenA\@IEEEauthorblockXinterlinespace% +\@IEEEtrantmpdimenA=\baselinestretch\@IEEEtrantmpdimenA% +\rule[-0.3\@IEEEtrantmpdimenA]{0pt}{\@IEEEtrantmpdimenA}} + + +% blocks to hold the authors' names and affilations. +% Makes formatting easy for conferences +% +% use real definitions in conference mode +% name block +\def\authorblockN#1{\relax\@IEEEauthorblockNstyle% set the default text style +\gdef\@IEEEauthorblockXinterlinespace{0pt}% disable strut for spacer row +% the \expandafter hides the \cr in conditional tex, see the array.sty docs +% for details, probably not needed here as the \cr is in a macro +% do a spacer row if needed +\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockNtopspaceline\fi +\global\@IEEEprevauthorblockincoltrue% we now have a block in this column +%restore the correct strut value +\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockNinterlinespace}% +% input the author names +#1% +% end the row if the user did not already +\crcr} +% spacer row for names +\def\@IEEEauthorblockNtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockNtopspace}} +% +% affiliation block +\def\authorblockA#1{\relax\@IEEEauthorblockAstyle% set the default text style +\gdef\@IEEEauthorblockXinterlinespace{0pt}%disable strut for spacer row +% the \expandafter hides the \cr in conditional tex, see the array.sty docs +% for details, probably not needed here as the \cr is in a macro +% do a spacer row if needed +\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockAtopspaceline\fi +\global\@IEEEprevauthorblockincoltrue% we now have a block in this column +%restore the correct strut value +\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockAinterlinespace}% +% input the author affiliations +#1% +% end the row if the user did not already +\crcr} +% spacer row for affiliations +\def\@IEEEauthorblockAtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockAtopspace}} + + +% allow papers to compile even if author blocks are used in modes other +% than conference or peerreviewca. For such cases, we provide dummy blocks. +\if@confmode +\else + \if@peerreviewcaoption\else + % not conference or peerreviewca mode + \def\authorblockN#1{#1}% + \def\authorblockA#1{#1}% + \fi +\fi + + + +% we provide our own halign so as not to have to depend on tabular +\def\@IEEEauthorhalign{\@IEEEauthordefaulttextstyle% default text style + \lineskip=0pt\relax% disable line spacing + \lineskiplimit=0pt\relax% + \baselineskip=0pt\relax% + \@IEEEcurfontSAVE% save the current font + \mathsurround\z@\relax% no extra spacing around math + \let\\\@IEEEauthorhaligncr% replace newline with halign friendly one + \tabskip=0pt\relax% no column spacing + \everycr{}% ensure no problems here + \@IEEEprevauthorblockincolfalse% no author blocks yet + \def\@IEEEauthorblockXinterlinespace{2.7ex}% default interline space + \vtop\bgroup%vtop box + \halign\bgroup&\relax\hfil\@IEEEcurfontRESTORE\relax ##\relax + \hfil\@IEEEcurfontSAVE\@IEEEauthorstrutrule\cr} + +% ensure last line, exit from halign, close vbox +\def\end@IEEEauthorhalign{\crcr\egroup\egroup} + +% handle bogus star form +\def\@IEEEauthorhaligncr{{\ifnum0=`}\fi\@ifstar{\@@IEEEauthorhaligncr}{\@@IEEEauthorhaligncr}} + +% test and setup the optional argument to \\[] +\def\@@IEEEauthorhaligncr{\@testopt\@@@IEEEauthorhaligncr\z@skip} + +% end the line and do the optional spacer +\def\@@@IEEEauthorhaligncr[#1]{\ifnum0=`{\fi}\cr\noalign{\vskip#1\relax}} + + + +% flag to prevent multiple \and warning messages +\newif\if@IEEEWARNand +\@IEEEWARNandtrue + +% if in conference or peerreviewca modes, we support the use of \and as \author is a +% tabular environment, otherwise we warn the user that \and is invalid +% outside of conference or peerreviewca modes. +\def\and{\relax} % provide a bogus \and that we will then override + +\renewcommand{\and}[1][\relax]{\if@IEEEWARNand\typeout{** WARNING: \noexpand\and is valid only + when in conference or peerreviewca}\typeout{modes (line \the\inputlineno).}\fi\global\@IEEEWARNandfalse} + +\if@confmode% +\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% +\fi +\if@peerreviewcaoption +\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% +\fi + + +% page clearing command +% based on LaTeX2e's \cleardoublepage, but allows different page styles +% for the inserted blank pages +\def\@IEEEcleardoublepage#1{\clearpage\if@twoside\ifodd\c@page\else +\hbox{}\thispagestyle{#1}\newpage\if@twocolumn\hbox{}\thispagestyle{#1}\newpage\fi\fi\fi} + + +% user command to invoke the title page +\def\maketitle{\par% + \begingroup% + \normalfont% + \def\thefootnote{}% the \thanks{} mark type is empty + \def\footnotemark{}% and kill space from \thanks within author + \footnotesize% equal spacing between thanks lines + \footnotesep 0.7\baselineskip%see global setting of \footnotesep for more info + \normalsize% + \if@peerreviewoption + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \thispagestyle{peerreviewcoverpagestyle}\@thanks% + \else + \if@twocolumn% + \if@technote% + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \else + \twocolumn[\@maketitle\@IEEEdynamictitlevspace\@IEEEaftertitletext]% + \fi + \else + \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% + \fi + \thispagestyle{titlepagestyle}\@thanks% + \fi + % pullup page for pubid if used. + \if@IEEEusingpubid + \enlargethispage{-\@pubidpullup}% + \fi + \endgroup + \setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax + \gdef\@thanks{} + % v1.6b do not clear these as we will need the title again for peer review papers + % \gdef\@author{}\gdef\@title{}% + \let\thanks\relax} + + +% formats the Title, authors names, affiliations and special paper notice +% THIS IS A CONTROLLED SPACING COMMAND! Do not allow blank lines or unintentional +% spaces to enter the definition - use % at the end of each line +% Changed Title font to \LARGE from \Huge +\def\@maketitle{\newpage +\begin{center}% +\if@technote% + {\bfseries\large\@title\par}\vskip 1.3em{\lineskip .5em\@author\@specialpapernotice\par}% +\else% not a technote + \vskip0.25in{\LARGE\@title\par}\vskip1.0em\par% + % V1.6 handle \author differently if in conference mode + \if@confmode% + {\@specialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% + \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par}% + \else% peerreviewca, peerreview or journal + \if@peerreviewcaoption + % peerreviewca handles author names just like conference mode + {\@specialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% + \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par}% + \else % journal or peerreview + {\lineskip.5em\sublargesize\@author\@specialpapernotice\par}% + \fi + \fi +\fi\end{center}} + + + +% V1.6b define the \IEEEpeerreviewmaketitle as needed +\if@peerreviewoption +\def\IEEEpeerreviewmaketitle{\@IEEEcleardoublepage{empty}% +\if@twocolumnmode +\twocolumn[\@IEEEpeerreviewmaketitle\@IEEEdynamictitlevspace] +\else +\newpage\@IEEEpeerreviewmaketitle\@IEEEstatictitlevskip +\fi +\thispagestyle{titlepagestyle}} +\else +% \IEEEpeerreviewmaketitle does nothing if peer review option has not been selected +\def\IEEEpeerreviewmaketitle{\relax} +\fi + +% peerreview formats the repeated title like the title in journal papers. +\def\@IEEEpeerreviewmaketitle{\begin{center}% +\normalfont\normalsize\vskip0.2em{\Huge\@title\par}\vskip1.0em\par +\end{center}} + + + +% V1.6 +% this is a static rubber spacer between the title/authors and the main text +% used for single column text, or when the title appears in the first column +% of two column text (technotes). +\def\@IEEEstatictitlevskip{{\normalfont\normalsize +% adjust spacing to next text +% v1.6b handle peer review papers +\if@peerreviewoption +% for peer review papers, the same value is used for both title pages +% regardless of the other paper modes + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip +\else + \if@confmode% conference + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip% + \else% + \if@technote% technote + \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip% + \else% journal uses more space + \vskip 2.5\baselineskip plus 0.75\baselineskip minus 0.375\baselineskip% + \fi + \fi +\fi}} + + +% V1.6 +% This is a dynamically determined rigid spacer between the title/authors +% and the main text. This is used only for single column titles over two +% column text (most common) +% This is bit tricky because we have to ensure that the textheight of the +% main text is an integer multiple of \baselineskip +% otherwise underfull vbox problems may develop in the second column of the +% text on the titlepage +% The possible use of \pubid must also be taken into account. +\def\@IEEEdynamictitlevspace{{% + % we run within a group so that all the macros can be forgotten when we are done + \def\thanks##1{\relax}%don't allow \thanks to run when we evaluate the vbox height + \normalfont\normalsize% we declare more descriptive variable names + \let\@maintextheight=\@IEEEtrantmpdimenA%height of the main text columns + \let\@INTmaintextheight=\@IEEEtrantmpdimenB%height of the main text columns with integer # lines + % set the nominal and minimum values for the title spacer + % the dynamic algorithm will not allow the spacer size to + % become less than \@MINtitlevspace - instead it will be + % lengthened + % default to journal values + \def\@NORMtitlevspace{2.5\baselineskip}% + \def\@MINtitlevspace{2\baselineskip}% + % conferences and technotes need tighter spacing + \if@confmode%conference + \def\@NORMtitlevspace{1\baselineskip}% + \def\@MINtitlevspace{0.75\baselineskip}% + \fi + \if@technote%technote + \def\@NORMtitlevspace{1\baselineskip}% + \def\@MINtitlevspace{0.75\baselineskip}% + \fi% + % get the height that the title will take up + \if@peerreviewoption + \settoheight{\@maintextheight}{\vbox{\hsize\textwidth \@IEEEpeerreviewmaketitle}}% + \else + \settoheight{\@maintextheight}{\vbox{\hsize\textwidth \@maketitle}}% + \fi + \@maintextheight=-\@maintextheight% title takes away from maintext, so reverse sign + % add the height of the page textheight + \advance\@maintextheight by \textheight% + % correct for title pages using pubid + \if@peerreviewoption\else + % peerreview papers use the pubid on the cover page only. + % And the cover page uses a static spacer. + \if@IEEEusingpubid\advance\@maintextheight by -\@pubidpullup\fi + \fi% + % subtract off the nominal value of the title bottom spacer + \advance\@maintextheight by -\@NORMtitlevspace% + % \topskip takes away some too + \advance\@maintextheight by -\topskip% + % calculate the column height of the main text for lines + % now we calculate the main text height as if holding + % an integer number of \normalsize lines after the first + % and discard any excess fractional remainder + % we subtracted the first line, because the first line + % is placed \topskip into the maintext, not \baselineskip like the + % rest of the lines. + \@INTmaintextheight=\@maintextheight% + \divide\@INTmaintextheight by \baselineskip% + \multiply\@INTmaintextheight by \baselineskip% + % now we calculate how much the title spacer height will + % have to be reduced from nominal (\@REDUCEmaintextheight is always + % a positive value) so that the maintext area will contain an integer + % number of normal size lines + % we change variable names here (to avoid confusion) as we no longer + % need \@INTmaintextheight and can reuse its dimen register + \let\@REDUCEmaintextheight=\@INTmaintextheight% + \advance\@REDUCEmaintextheight by -\@maintextheight% + \advance\@REDUCEmaintextheight by \baselineskip% + % this is the calculated height of the spacer + % we change variable names here (to avoid confusion) as we no longer + % need \@maintextheight and can reuse its dimen register + \let\@COMPENSATElen=\@maintextheight% + \@COMPENSATElen=\@NORMtitlevspace% set the nominal value + % we go with the reduced length if it is smaller than an increase + \ifdim\@REDUCEmaintextheight < 0.5\baselineskip\relax% + \advance\@COMPENSATElen by -\@REDUCEmaintextheight% + % if the resulting spacer is too small back out and go with an increase instead + \ifdim\@COMPENSATElen<\@MINtitlevspace\relax% + \advance\@COMPENSATElen by \baselineskip% + \fi% + \else% + % go with an increase because it is closer to the nominal than a decrease + \advance\@COMPENSATElen by -\@REDUCEmaintextheight% + \advance\@COMPENSATElen by \baselineskip% + \fi% + % set the calculated rigid spacer + \vspace{\@COMPENSATElen}}} + + + +% V1.6 +% we allow the user access to the last part of the title area +% useful in emergencies such as when a different spacing is needed +% This text is NOT compensated for in the dynamic sizer. +\let\@IEEEaftertitletext=\relax +\def\IEEEaftertitletext#1{\def\@IEEEaftertitletext{#1}} + + +% V1.6 have abstract and keywords strip leading spaces, pars and newlines +% so that spacing is more tightly controlled. +\def\abstract{\normalfont% + \if@twocolumn% + \@IEEEabskeysecsize\bfseries\textit{Abstract}---\,% + \else% + \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{Abstract}\end{center}\quotation\@IEEEabskeysecsize% + \fi\@IEEEgobbleleadPARNLSP} +% V1.6 IEEE wants only 1 pica from end of abstract to introduction heading when in +% conference mode (the heading already has this much above it) +\def\endabstract{\relax\if@confmode\vspace{0ex}\else\vspace{1.34ex}\fi\par\if@twocolumn\else\endquotation\fi% + \normalfont\normalsize} + + +\def\keywords{\normalfont% + % IEEE uses the term (in bold italics) "Index Terms" now. + \if@twocolumn% + \@IEEEabskeysecsize\bfseries\textit{Index Terms}---\,\relax% + \else% + \begin{center}\@IEEEabskeysecsize\bfseries Index Terms\end{center}\quotation\@IEEEabskeysecsize% + \fi\@IEEEgobbleleadPARNLSP} +\def\endkeywords{\relax\if@technote\vspace{1.34ex}\else\vspace{0.67ex}\fi% + \par\if@twocolumn\else\endquotation\fi% + \normalsize\normalfont} + + +% gobbles all leading \, \\ and \par, upon finding first token that +% is not a \ , \\ or a \par, it ceases and returns that token +% +% used to strip leading \, \\ and \par from the input +% so that such things in the beginning of an environment will not +% affect the formatting of the text +\long\def\@IEEEgobbleleadPARNLSP#1{\let\@IEEEswallowthistoken=0% +\let\@IEEEgobbleleadPARNLSPtoken#1% +\let\@IEEEgobbleleadPARtoken=\par% +\let\@IEEEgobbleleadNLtoken=\\% +\let\@IEEEgobbleleadSPtoken=\ % +\def\@IEEEgobbleleadSPMACRO{\ }% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadPARtoken% +\let\@IEEEswallowthistoken=1% +\fi% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadNLtoken% +\let\@IEEEswallowthistoken=1% +\fi% +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPtoken% +\let\@IEEEswallowthistoken=1% +\fi% +% a control space will come in as a macro +% when it is the last one on a line +\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPMACRO% +\let\@IEEEswallowthistoken=1% +\fi% +% if we have to swallow this token, do so and taste the next one +% else spit it out and stop gobbling +\ifx\@IEEEswallowthistoken 1\let\@IEEEnextgobbleleadPARNLSP=\@IEEEgobbleleadPARNLSP\else% +\let\@IEEEnextgobbleleadPARNLSP=#1\fi% +\@IEEEnextgobbleleadPARNLSP}% + + + + +% TITLING OF SECTIONS +\def\@IEEEsectpunct{:\ \,} % Punctuation after run-in section heading (headings which are + % part of the paragraphs), need little bit more than a space + +\def\@seccntformat#1{\csname the#1dis\endcsname\hskip 0.5em\relax} + +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth% + \def\@svsec{}% + \else% + \refstepcounter{#1} + % load section label and spacer into \@svsec + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi% + \@tempskipa #5\relax% + \ifdim \@tempskipa>\z@% tempskipa determines whether is treated as a high + \begingroup #6\relax% or low level heading + \noindent % subsections are NOT indented + % print top level headings. \@svsec is label, #8 is heading title + %\@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par} + % IEEE does not block indent the section title text, it flows like normal + \relax{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}% + \endgroup% + % got rid of sectionmark stuff + % \csname #1mark\endcsname{#7} + \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else% + \protect\numberline{\csname the#1\endcsname}\fi#7}% + \else % printout low level headings + % svsechd seems to swallow the trailing space, protect it with \mbox{} + % got rid of sectionmark stuff + \def\@svsechd{#6\hskip #3\@svsec #8\@IEEEsectpunct\mbox{}%\csname #1mark\endcsname{#7} + \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else% + \protect\numberline{\csname the#1\endcsname}\fi#7}} + \fi%skip down + \@xsect{#5}} + +% section* handler +\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax% + \ifdim \@tempskipa>\z@% + %\begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup + % IEEE does not block indent the section title text, it flows like normal + \begingroup \noindent #4\relax{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup% + % svsechd swallows the trailing space, protect it with \mbox{} + \else \def\@svsechd{#4\hskip #1\relax #5\@IEEEsectpunct\mbox{}}\fi% + \@xsect{#3}} + + +%% SECTION heading spacing and font +%% +% arguments are: #1 - sectiontype name +% (for \@sect) #2 - section level +% #3 - section heading indent +% #4 - top separation (absolute value used, neg indicates not to indent main text) +% If negative, make stretch parts negative too! +% #5 - (absolute value used) positive: bottom separation after heading, +% negative: amount to indent main text after heading +% Both #4 and #5 negative means to indent main text and use negative top separation +% #6 - font control +% You've got to have \normalfont\normalsize in the font specs below to prevent +% trouble when you do something like: +% \section{Note}{\ttfamily TT-TEXT} is known to ... +% IEEE sometimes REALLY stretches the area before a section +% heading by up to about 0.5in. However, it may not be a good +% idea to let LaTeX have quite this much rubber. +\if@confmode% +% IEEE wants section heading spacing to decrease for conference mode +\def\section{\@startsection{section}{1}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% +{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape}}% +\def\subsection{\@startsection{subsection}{2}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% +{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}% +\else % for journals +\def\section{\@startsection{section}{1}{\z@}{3.0ex plus 1.5ex minus 1.5ex}% V1.6 3.0ex from 3.5ex +{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape}}% +\def\subsection{\@startsection{subsection}{2}{\z@}{3.5ex plus 1.5ex minus 1.5ex}% +{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}% +\fi +% decided to put in a little rubber above the section, might help somebody +\def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{0ex plus 0.1ex minus 0.1ex}% +{0ex}{\normalfont\normalsize\itshape}}% +\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{0ex plus 0.1ex minus 0.1ex}% +{0ex}{\normalfont\normalsize\itshape}}% + + + +%% ENVIRONMENTS +% "box" symbols at end of proofs +\def\QEDclosed{\mbox{\rule[0pt]{1.3ex}{1.3ex}}} % for a filled box +% V1.6 some journals use an open box instead that will just fit around a closed one +\def\QEDopen{{\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.2pt}\fbox{\rule[0pt]{0pt}{1.3ex}\rule[0pt]{1.3ex}{0pt}}}} +\def\QED{\QEDclosed} % default to closed + +\def\proof{\noindent\hspace{2em}{\itshape Proof: }} +\def\endproof{\hspace*{\fill}~\QED\par\endtrivlist\unskip} +%\itemindent is set to \z@ by list, so define new temporary variable +\newdimen\@IEEEtmpitemindent +\def\@begintheorem#1#2{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily\trivlist% + \item[\hskip \labelsep{\indent\itshape #1\ #2:}]\itemindent\@IEEEtmpitemindent} +\def\@opargbegintheorem#1#2#3{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily \trivlist% +% V1.6 IEEE is back to using () around theorem names which are also in italics +% Thanks to Christian Peel for reporting this. + \item[\hskip\labelsep{\indent\itshape #1\ #2\ (#3):}]\itemindent\@IEEEtmpitemindent} +\def\@endtheorem{\endtrivlist\unskip} + +% V1.6 +% display command for the section the theorem is in - so that \thesection +% is not used as this will be in Roman numerals when we want arabic. +% LaTeX2e uses \def\@thmcounter#1{\noexpand\arabic{#1}} for the theorem number +% (second part) display and \def\@thmcountersep{.} as a separator. +\def\@IEEEthmcounterin#1{\arabic{#1}} +% redefine the #1#2[#3] form of newtheorem to use a hook to \@IEEEthmcounterin +\def\@xnthm#1#2[#3]{% + \expandafter\@ifdefinable\csname #1\endcsname + {\@definecounter{#1}\@newctr{#1}[#3]% + \expandafter\xdef\csname the#1\endcsname{% + \noexpand\@IEEEthmcounterin{#3}\@thmcountersep\@thmcounter{#1}}% + \global\@namedef{#1}{\@thm{#1}{#2}}% + \global\@namedef{end#1}{\@endtheorem}}} + + + +%% SET UP THE DEFAULT PAGESTYLE +\ps@headings +\pagenumbering{arabic} + +% normally the page counter starts at 1 +\setcounter{page}{1} +% however, for peerreview the cover sheet is page 0 or page -1 +% (for duplex printing) +\if@peerreviewoption + \if@twoside + \setcounter{page}{-1} + \else + \setcounter{page}{0} + \fi +\fi + +% standard book class behavior - let bottom line float up and down as +% needed when single sided +\if@twoside\else\raggedbottom\fi +% if two column - turn on twocolumn, allow word spacings to stretch more and +% enforce a rigid position for the last lines +\if@twocolumnmode +% the peer review option delays invoking twocolumn + \if@peerreviewoption\else + \twocolumn + \fi +\sloppy +\flushbottom +\fi + + + + +% \APPENDIX and \APPENDICES definitions + +% This is the \@ifmtarg command from the LaTeX ifmtarg package +% by Peter Wilson (CUA) and Donald Arseneau +% \@ifmtarg is used to determine if an argument to a command +% is present or not. +% For instance: +% \@ifmtarg{#1}{\typeout{empty}}{\typeout{has something}} +% \@ifmtarg is used with our redefined \section command if +% \appendices is invoked. +% The command \section will behave slightly differently depending +% on whether the user specifies a title: +% \section{My appendix title} +% or not: +% \section{} +% This way, we can eliminate the blank lines where the title +% would be, and the unneeded : after Appendix in the table of +% contents +\begingroup +\catcode`\Q=3 +\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil} +\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4} +\endgroup +% end of \@ifmtarg defs + +% save the "original" meaning of \section so we can redefine +% \section after a call to \appendix or \appendices +\let\@IEEEappendixsavesection\section + +% neat trick to grab and process the argument from \section{argument} +% we process differently if the user invoked \section{} with no +% argument (title) +% note we reroute the call to the old \section* +\def\@IEEEprocessthesectionargument#1{% +\@ifmtarg{#1}{% +\@IEEEappendixsavesection*{Appendix \thesectiondis}% +\addcontentsline{toc}{section}{Appendix \thesection}}{% +\@IEEEappendixsavesection*{Appendix \thesectiondis \\* #1}% +\addcontentsline{toc}{section}{Appendix \thesection: #1}}} + +% we use this if the user calls \section{} after +% \appendix-- which has no meaning. So, we ignore the +% command and its argument. Then, warn the user. +\def\@IEEEdestroythesectionargument#1{\typeout{** WARNING: Ignoring useless +\protect\section\space in Appendix (line \the\inputlineno).}} + + +% remember \thesection forms will be displayed in \ref calls +% and in the Table of Contents. +% The \sectiondis form is used in the actual heading itself + +% appendix command for one single appendix +% normally has no heading. However, if you want a +% heading, you can do so via the optional argument: +% \appendix[Optional Heading] +\def\appendix{\relax} +\renewcommand{\appendix}[1][]{\par% + % v1.6 keep hyperref's identifiers unique + \def\theHsection{Appendix.A}% + % v1.6 adjust hyperref's string name for the section + \xdef\Hy@chapapp{appendix}% + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \setcounter{subsubsection}{0}% + \setcounter{paragraph}{0}% + \def\thesection{}% + \def\thesectiondis{}% + \def\thesubsection{\Alph{subsection}}% + \refstepcounter{section}% update the \ref counter + \@ifmtarg{#1}{\@IEEEappendixsavesection*{Appendix}% + \addcontentsline{toc}{section}{Appendix}}{% + \@IEEEappendixsavesection*{Appendix \\* #1}% + \addcontentsline{toc}{section}{Appendix: #1}}% + % redefine \section command for appendix + % leave \section* as is + \def\section{\@ifstar{\@IEEEappendixsavesection*}{% + \@IEEEdestroythesectionargument}}% throw out the argument + % of the normal form +} + + +% provides the user a way to choose between +% Appendix A +% and +% Appendix I +% notation +% defaults to Roman. +\newif\ifuseRomanappendices +\useRomanappendicestrue + + +% appendices command for multiple appendices +% user then calls \section with an argument (possibly empty) to +% declare the individual appendices +\def\appendices{\par% + % v1.6 keep hyperref's identifiers unique + \def\theHsection{Appendix.\Alph{section}}% + % v1.6 adjust hyperref's string name for the section + \xdef\Hy@chapapp{appendix}% + \setcounter{section}{-1}% we want \refstepcounter to use section 0 + \setcounter{subsection}{0}% + \setcounter{subsubsection}{0}% + \setcounter{paragraph}{0}% + \ifuseRomanappendices% + \def\thesection{\Roman{section}}% + \def\thesectiondis{\Roman{section}}% + \else% + \def\thesection{\Alph{section}}% + \def\thesectiondis{\Alph{section}}% + \fi% + \refstepcounter{section}% update the \ref counter + \setcounter{section}{0}% NEXT \section will be the FIRST appendix + % redefine \section command for appendices + % leave \section* as is + \def\section{\@ifstar{\@IEEEappendixsavesection*}{% process the *-form + \refstepcounter{section}% or is a new section so, + \@IEEEprocessthesectionargument}}% process the argument + % of the normal form +} + + + +% \PARstart +% Definition for the big two line drop cap letter at the beginning of the +% first paragraph of journal papers. The first argument is the first letter +% of the first word, the second argument is the remaining letters of the +% first word which will be rendered in upper case. +% In V1.6 this has been completely rewritten to: +% +% 1. no longer have problems when the user begins an environment +% within the paragraph that uses \PARstart. +% 2. auto-detect and use the current font family +% 3. revise handling of the space at the end of the first word so that +% interword glue will now work as normal. +% 4. produce correctly aligned edges for the (two) indented lines. +% +% We generalize things via control macros - playing with these is fun too. +% +% the number of lines that are indented to clear it +\def\@IEEEPARstartDROPLINES{2} +% minimum number of lines left on a page to allow a \@PARstart +% Does not take into consideration rubber shrink, so it tends to +% be overly cautious +\def\@IEEEPARstartMINPAGELINES{2} +% the depth the letter is lowered below the baseline +% the height (and size) of the letter is determined by the sum +% of this value and the height of a capital "T" in the current +% font. It is a good idea to set this value in terms of the baselineskip +% so that it can respond to changes therein. +\def\@IEEEPARstartDROPDEPTH{1.1\baselineskip} +% This is the separation distance from the drop letter to the main text. +% Lengths that depend on the font (i.e., ex, em, etc.) will be referenced +% to the font that is active when PARstart is called. +\def\@IEEEPARstartSEP{0.15em} + + +% definition of \PARstart +% THIS IS A CONTROLLED SPACING AREA, DO NOT ALLOW SPACES WITHIN THESE LINES +% +% The token \@IEEEPARstartfont will be globally defined after the first use +% of \PARstart and will be a font command which creates the big letter +% The first argument is the first letter of the first word and the second +% argument is the rest of the first word(s). +\def\PARstart#1#2{\par{% +% if this page does not have enough space, break it and lets start +% on a new one +\@IEEEtranneedspace{\@IEEEPARstartMINPAGELINES\baselineskip}{\relax}% +% calculate the desired height of the big letter +% it extends from the top of a capital "T" in the current font +% down to \@IEEEPARstartDROPDEPTH below the current baseline +\settoheight{\@IEEEtrantmpdimenA}{T}% +\addtolength{\@IEEEtrantmpdimenA}{\@IEEEPARstartDROPDEPTH}% +% extract the name of the current font in bold +% and place it in \@IEEEPARstartFONTNAME +\def\@IEEEPARstartGETFIRSTWORD##1 ##2\relax{##1}% +{\bfseries% +\edef\@IEEEPARstartFONTNAMESPACE{\fontname\font\space}% +\xdef\@IEEEPARstartFONTNAME{\expandafter\@IEEEPARstartGETFIRSTWORD\@IEEEPARstartFONTNAMESPACE\relax}}% +% define a font based on this name with a point size equal to the desired +% height of the drop letter +\font\@IEEEPARstartsubfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenA\relax% +% save this value as a counter (integer) value (sp points) +\@IEEEtrantmpcountA=\@IEEEtrantmpdimenA% +% now get the height of the actual letter produced by this font size +\settoheight{\@IEEEtrantmpdimenB}{\@IEEEPARstartsubfont\MakeUppercase{#1}}% +% If something bogus happens like the first argument is empty or the +% current font is strange, do not allow a zero height. +\ifdim\@IEEEtrantmpdimenB=0pt\relax% +\typeout{** WARNING: PARstart drop letter has zero height! (line \the\inputlineno)}% +\typeout{ Forcing the drop letter font size to 10pt.}% +\@IEEEtrantmpdimenB=10pt% +\fi% +% and store it as a counter +\@IEEEtrantmpcountB=\@IEEEtrantmpdimenB% +% Since a font size doesn't exactly correspond to the height of the capital +% letters in that font, the actual height of the letter, \@IEEEtrantmpcountB, +% will be less than that desired, \@IEEEtrantmpcountA +% we need to raise the font size, \@IEEEtrantmpdimenA +% by \@IEEEtrantmpcountA / \@IEEEtrantmpcountB +% But, TeX doesn't have floating point division, so we have to use integer +% division. Hence the use of the counters. +% We need to reduce the denominator so that the loss of the remainder will +% have minimal affect on the accuracy of the result +\divide\@IEEEtrantmpcountB by 200% +\divide\@IEEEtrantmpcountA by \@IEEEtrantmpcountB% +% Then reequalize things when we use TeX's ability to multiply by +% floating point values +\@IEEEtrantmpdimenB=0.005\@IEEEtrantmpdimenA% +\multiply\@IEEEtrantmpdimenB by \@IEEEtrantmpcountA% +% \@IEEEPARstartfont is globaly set to the calculated font of the big letter +% We need to carry this out of the local calculation area to to create the +% big letter. +\global\font\@IEEEPARstartfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenB% +% Now set \@IEEEtrantmpdimenA to the width of the big letter +% We need to carry this out of the local calculation area to set the +% hanging indent +\settowidth{\global\@IEEEtrantmpdimenA}{\@IEEEPARstartfont\MakeUppercase{#1}}}% +% end of the isolated calculation environment +% add in the extra clearance we want +\advance\@IEEEtrantmpdimenA by \@IEEEPARstartSEP% +% \@IEEEtrantmpdimenA has the width of the big letter plus the +% separation space and \@IEEEPARstartfont is the font we need to use +% Now, we make the letter and issue the hanging indent command +% The letter is placed in a box of zero width and height so that other +% text won't be displaced by it. +\noindent\hangindent\@IEEEtrantmpdimenA\hangafter=-\@IEEEPARstartDROPLINES% +\makebox[0pt][l]{\hspace{-\@IEEEtrantmpdimenA}\raisebox{-\@IEEEPARstartDROPDEPTH}[0pt][0pt]{\@IEEEPARstartfont\MakeUppercase{#1}}}\MakeUppercase{#2}} + + +% V1.6 \CMPARstart is no longer needed as \PARstart now uses whatever +% the current font family is. +% \CMPARstart is provided here for backward compatability. +\let\CMPARstart=\PARstart + + + +% determines if the space remaining on a given page is equal to or greater +% than the specified space of argument one +% if not, execute argument two (only if the remaining space is greater than zero) +% and issue a \newpage +% +% example: \@IEEEtranneedspace{2in}{\vfill} +% +% Does not take into consideration rubber shrinkage, so it tends to +% be overly cautious +% Based on an example posted by Donald Arseneau +% Note this macro uses \@IEEEtrantmpdimenB internally for calculations, +% so DO NOT PASS \@IEEEtrantmpdimenB to this routine +% if you need a dimen register, import with \@IEEEtrantmpdimenA instead +\def\@IEEEtranneedspace#1#2{\penalty-100\begingroup%shield temp variable +\@IEEEtrantmpdimenB\pagegoal\advance\@IEEEtrantmpdimenB-\pagetotal% space left +\ifdim #1>\@IEEEtrantmpdimenB\relax% not enough space left +\ifdim\@IEEEtrantmpdimenB>\z@\relax #2\fi% +\newpage% +\fi\endgroup} + + + +% BIOGRAPHY ENVIRONMENT +% Allows user to enter BIOGRAPHY leaving place for picture (adapts to font size) +% As of V1.5, a new optional argument allows you to have a real graphic! +% V1.5 and later also fixes the "colliding biographies" which could happen when a +% biography's text was shorter than the space for the photo. +% MDS 7/2001 +% V1.6 prevent multiple biographies from making multiple TOC entries +\newif\if@biographyTOCentrynotmade +\global\@biographyTOCentrynotmadetrue + +% biography counter so hyperref can jump directly to the biographies +% and not just the previous section +\newcounter{biography} +\setcounter{biography}{0} + +% photo area size +\def\@IEEEBIOphotowidth{1.0in} % width of the biography photo area +\def\@IEEEBIOphotodepth{1.25in} % depth (height) of the biography photo area +% area cleared for photo +\def\@IEEEBIOhangwidth{1.14in} % width cleared for the biography photo area +\def\@IEEEBIOhangdepth{1.25in} % depth cleared for the biography photo area + % actual depth will be a multiple of + % \baselineskip, rounded up +\def\@IEEEBIOskipN{4\baselineskip}% nominal value of the vskip above the biography + +\newenvironment{biography}[2][]{\normalfont\footnotesize% +\unitlength 1in\parskip=0pt\par\parindent 1em\interlinepenalty500% +% we need enough space to support the hanging indent +% the nominal value of the spacer +% and one extra line for good measure +\@IEEEtrantmpdimenA=\@IEEEBIOhangdepth% +\advance\@IEEEtrantmpdimenA by \@IEEEBIOskipN% +\advance\@IEEEtrantmpdimenA by 1\baselineskip% +% if this page does not have enough space, break it and lets start +% with a new one +\@IEEEtranneedspace{\@IEEEtrantmpdimenA}{\relax}% +% nominal spacer can strech, not shrink use 1fil so user can out stretch with \vfill +\vskip \@IEEEBIOskipN plus 1fil minus 0\baselineskip% +% the default box for where the photo goes +\def\@IEEEtempbiographybox{{\setlength{\fboxsep}{0pt}\framebox{\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}\centering PLACE\\ PHOTO\\ HERE \end{minipage}}}}% +% +% detect if the optional argument was supplied, this requires the +% \@ifmtarg command as defined in the appendix section above +% and if so, override the default box with what they want +\@ifmtarg{#1}{\relax}{\def\@IEEEtempbiographybox{\mbox{\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}% +\centering% +#1% +\end{minipage}}}}% end if optional argument supplied +% Make an entry into the table of contents only if we have not done so before +\if@biographyTOCentrynotmade% +% link labels to the biography counter so hyperref will jump +% to the biography, not the previous section +\setcounter{biography}{-1}% +\refstepcounter{biography}% +\addcontentsline{toc}{section}{Biographies}% +\global\@biographyTOCentrynotmadefalse% +\fi% +% one more biography +\refstepcounter{biography}% +% Make an entry for this name into the table of contents +\addcontentsline{toc}{subsection}{#2}% +% V1.6 properly handle if a new paragraph should occur while the +% hanging indent is still active. Do this by redefining \par so +% that it will not start a new paragraph. (But it will appear to the +% user as if it did.) Also, strip any leading pars, newlines, or spaces. +\let\@IEEEBIOORGparCMD=\par% save the original \par command +\edef\par{\hfil\break\indent}% the new \par will not be a "real" \par +\settoheight{\@IEEEtrantmpdimenA}{\@IEEEtempbiographybox}% get height of biography box +\@IEEEtrantmpdimenB=\@IEEEBIOhangdepth% +\@IEEEtrantmpcountA=\@IEEEtrantmpdimenB% countA has the hang depth +\divide\@IEEEtrantmpcountA by \baselineskip% calculates lines needed to produce the hang depth +\advance\@IEEEtrantmpcountA by 1% ensure we overestimate +% set the hanging indent +\hangindent\@IEEEBIOhangwidth% +\hangafter-\@IEEEtrantmpcountA% +% reference the top of the photo area to the top of a capital T +\settoheight{\@IEEEtrantmpdimenB}{\mbox{T}}% +% set the photo box, give it zero width and height so as not to disturb anything +\noindent\makebox[0pt][l]{\hspace{-\@IEEEBIOhangwidth}\raisebox{\@IEEEtrantmpdimenB}[0pt][0pt]{\raisebox{-\@IEEEBIOphotodepth}[0pt][0pt]{\@IEEEtempbiographybox}}}% +% now place the author name and begin the bio text +\noindent\textbf{#2\ }\@IEEEgobbleleadPARNLSP}{\relax\let\par=\@IEEEBIOORGparCMD\par% +% 7/2001 V1.5 detect when the biography text is shorter than the photo area +% and pad the unused area - preventing a collision from the next biography entry +% MDS +\ifnum \prevgraf <\@IEEEtrantmpcountA\relax% detect when the biography text is shorter than the photo + \advance\@IEEEtrantmpcountA by -\prevgraf% calculate how many lines we need to pad + \advance\@IEEEtrantmpcountA by -1\relax% we compensate for the fact that we indented an extra line + \@IEEEtrantmpdimenA=\baselineskip% calculate the length of the padding + \multiply\@IEEEtrantmpdimenA by \@IEEEtrantmpcountA% + \noindent\rule{0pt}{\@IEEEtrantmpdimenA}% insert an invisible support strut +\fi% +\par\normalfont} + + + +% V1.6 +% added biography without a photo environment +\newenvironment{biographynophoto}[1]{% +% Make an entry into the table of contents only if we have not done so before +\if@biographyTOCentrynotmade% +% link labels to the biography counter so hyperref will jump +% to the biography, not the previous section +\setcounter{biography}{-1}% +\refstepcounter{biography}% +\addcontentsline{toc}{section}{Biographies}% +\global\@biographyTOCentrynotmadefalse% +\fi% +% one more biography +\refstepcounter{biography}% +% Make an entry for this name into the table of contents +\addcontentsline{toc}{subsection}{#1}% +\normalfont\footnotesize\interlinepenalty500% +\vskip 4\baselineskip plus 1fil minus 0\baselineskip% +\parskip=0pt\par% +\noindent\textbf{#1\ }\@IEEEgobbleleadPARNLSP}{\relax\par\normalfont} + + +% provide the user with some old font commands +% got this from article.cls +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} +\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} +\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} + + +% SPECIAL PAPER NOTICE COMMANDS +% +% holds the special notice text +\def\@specialpapernotice{\relax} + +% for special papers, like invited papers, the user can do: +% \specialpapernotice{(Invited Paper)} before \maketitle +\def\specialpapernotice#1{\if@confmode% +\def\@specialpapernotice{{\sublargesize\textit{#1}\vspace*{1em}}}% +\else% +\def\@specialpapernotice{{\\*[1.5ex]\sublargesize\textit{#1}}\vspace*{-2ex}}% +\fi} + + + + +% PUBLISHER ID COMMANDS +% to insert a publisher's ID footer +% V1.6 \pubid has been changed so that the change in page size and style +% occurs in \maketitle. \pubid must now be issued prior to \maketitle +% use \pubidadjcol as before - in the second column of the title page +% These changes allow \maketitle to take the reduced page height into +% consideration when dynamically setting the space between the author +% names and the maintext. +% +% the amount the main text is pulled up to make room for the +% publisher's ID footer +% IEEE uses about 1.3\baselineskip for journals, +% dynamic title spacing will clean up the fraction +\def\@pubidpullup{1.3\baselineskip} +\if@technote +% for technotes it must be an integer of baselineskip as there can be no +% dynamic title spacing for two column mode technotes (the title is in the +% in first column) and we should maintain an integer number of lines in the +% second column +% There are some examples (such as older issues of "Transactions on +% Information Theory") in which IEEE really pulls the text off the ID for +% technotes - about 0.55in (or 4\baselineskip). We'll use 2\baselineskip +% and call it even. +\def\@pubidpullup{2\baselineskip} +\fi + +% holds the ID text +\def\@pubid{\relax} + +% flag so \maketitle can tell if \pubid was called +\newif\if@IEEEusingpubid +\global\@IEEEusingpubidfalse +% issue this command in the page to have the ID at the bottom +% V1.6 use before \maketitle +\def\pubid#1{\def\@pubid{#1} \global\@IEEEusingpubidtrue} + + +% command which will pull up (shorten) the column it is executed in +% to make room for the publisher ID. Place in the second column of +% the title page when using \pubid +% Is smart enough not to do anything when in single column text or +% if the user hasn't called \pubid +% currently needed in for the second column of a page with the +% publisher ID. If not needed in future releases, please provide this +% command and define it as \relax for backward compatibility +% v1.6b do not allow command to operate if the peer review option has been +% selected because \pubidadjcol will not be on the cover page. +\def\pubidadjcol{\if@peerreviewoption\else\if@twocolumn\if@IEEEusingpubid\enlargethispage{-\@pubidpullup}\fi\fi\fi} + +% Special thanks to Peter Wilson, Daniel Luecking, and the other +% gurus at comp.text.tex, for helping me to understand how best to +% implement the pubid command in LaTeX. + + + +%% Lockout some commands under various conditions + +% general purpose bit bucket +\newsavebox{\@IEEEtranrubishbin} + +% flags to prevent multiple warning messages +\newif\if@IEEEWARNthanks +\newif\if@IEEEWARNPARstart +\newif\if@IEEEWARNCMPARstart +\newif\if@IEEEWARNkeywords +\newif\if@IEEEWARNbiography +\newif\if@IEEEWARNbiographynophoto +\newif\if@IEEEWARNpubid +\newif\if@IEEEWARNpubidadjcol +\newif\if@IEEEWARNIEEEmembership +\newif\if@IEEEWARNIEEEaftertitletext +\@IEEEWARNthankstrue +\@IEEEWARNPARstarttrue +\@IEEEWARNCMPARstarttrue +\@IEEEWARNkeywordstrue +\@IEEEWARNbiographytrue +\@IEEEWARNbiographynophototrue +\@IEEEWARNpubidtrue +\@IEEEWARNpubidadjcoltrue +\@IEEEWARNIEEEmembershiptrue +\@IEEEWARNIEEEaftertitletexttrue + + +%% Lockout some commands when in various modes, but allow them to be restored if needed +%% +% save commands which might be locked out +% so that the user can later restore them if needed +\let\@IEEESAVECMDthanks\thanks +\let\@IEEESAVECMDPARstart\PARstart +\let\@IEEESAVECMDCMPARstart\CMPARstart +\let\@IEEESAVECMDkeywords\keywords +\let\@IEEESAVECMDendkeywords\endkeywords +\let\@IEEESAVECMDbiography\biography +\let\@IEEESAVECMDendbiography\endbiography +\let\@IEEESAVECMDbiographynophoto\biographynophoto +\let\@IEEESAVECMDendbiographynophoto\endbiographynophoto +\let\@IEEESAVECMDpubid\pubid +\let\@IEEESAVECMDpubidadjcol\pubidadjcol +\let\@IEEESAVECMDIEEEmembership\IEEEmembership +\let\@IEEESAVECMDIEEEaftertitletext\IEEEaftertitletext + + +% disable \PARstart when in draft mode +% This may have originally been done because the pre-V1.6 drop letter +% algorithm had problems with a non-unity baselinestretch +% At any rate, it seems too formal to have a drop letter in a draft +% paper. +\if@draftclsmode +\def\PARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** ATTENTION: \noexpand\PARstart is disabled in draft mode (line \the\inputlineno).}\fi\global\@IEEEWARNPARstartfalse} +\def\CMPARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** ATTENTION: \noexpand\CMPARstart is disabled in draft mode (line \the\inputlineno).}\fi\global\@IEEEWARNCMPARstartfalse} +\fi +% and for technotes +\if@technote +\def\PARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** WARNING: \noexpand\PARstart is locked out for technotes (line \the\inputlineno).}\fi\global\@IEEEWARNPARstartfalse} +\def\CMPARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** WARNING: \noexpand\CMPARstart is locked out for technotes (line \the\inputlineno).}\fi\global\@IEEEWARNCMPARstartfalse} +\fi + + +% lockout unneeded commands when in conference mode +\if@confmode +% when locked out, \thanks, \keywords, \biography, \biographynophoto, \pubid, +% \IEEEmembership and \IEEEaftertitletext will all swallow their given text. +% \PARstart and \CMPARstart will output a normal character instead +% warn the user about these commands only once to prevent the console screen +% from filling up with redundant messages +\def\thanks#1{\if@IEEEWARNthanks\typeout{** WARNING: \noexpand\thanks is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNthanksfalse} +\def\PARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** WARNING: \noexpand\PARstart is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNPARstartfalse} +\def\CMPARstart#1#2{#1#2\if@IEEEWARNPARstart\typeout{** WARNING: \noexpand\CMPARstart is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNCMPARstartfalse} + +\renewenvironment{keywords}[1]{\if@IEEEWARNkeywords\typeout{** WARNING: \noexpand\keywords is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNkeywordsfalse% +\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} + +% LaTeX treats environments and commands with optional arguments differently. +% the actual ("internal") command is stored as \\commandname +% (accessed via \csname\string\commandname\endcsname ) +% the "external" command \commandname is a macro with code to determine +% whether or not the optional argument is presented and to provide the +% default if it is absent. So, in order to save and restore such a command +% we would have to save and restore \\commandname as well. But, if LaTeX +% ever changes the way it names the internal names, the trick would break. +% Instead let us just define a new environment so that the internal +% name can be left undisturbed. +\newenvironment{@IEEEbogusbiography}[2][]{\if@IEEEWARNbiography\typeout{** WARNING: \noexpand\biography is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNbiographyfalse% +\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} +% and make biography point to our bogus biography +\let\biography=\@IEEEbogusbiography +\let\endbiography=\end@IEEEbogusbiography + +\renewenvironment{biographynophoto}[1]{\if@IEEEWARNbiographynophoto\typeout{** WARNING: \noexpand\biographynophoto is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNbiographynophotofalse% +\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} + +\def\pubid#1{\if@IEEEWARNpubid\typeout{** WARNING: \noexpand\pubid is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNpubidfalse} +\def\pubidadjcol{\if@IEEEWARNpubidadjcol\typeout{** WARNING: \noexpand\pubidadjcol is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNpubidadjcolfalse} +\def\IEEEmembership#1{\if@IEEEWARNIEEEmembership\typeout{** WARNING: \noexpand\IEEEmembership is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEmembershipfalse} +\def\IEEEaftertitletext#1{\if@IEEEWARNIEEEaftertitletext\typeout{** WARNING: \noexpand\IEEEaftertitletext is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEaftertitletextfalse} +\fi + + +% provide a way to restore the commands that are locked out +\def\IEEEoverridecommandlockouts{% +\typeout{** ATTENTION: Overriding command lockouts (line \the\inputlineno).}% +\let\thanks\@IEEESAVECMDthanks% +\let\PARstart\@IEEESAVECMDPARstart% +\let\CMPARstart\@IEEESAVECMDCMPARstart% +\let\keywords\@IEEESAVECMDkeywords% +\let\endkeywords\@IEEESAVECMDendkeywords% +\let\biography\@IEEESAVECMDbiography% +\let\endbiography\@IEEESAVECMDendbiography% +\let\biographynophoto\@IEEESAVECMDbiographynophoto% +\let\endbiographynophoto\@IEEESAVECMDendbiographynophoto% +\let\pubid\@IEEESAVECMDpubid% +\let\pubidadjcol\@IEEESAVECMDpubidadjcol% +\let\IEEEmembership\@IEEESAVECMDIEEEmembership% +\let\IEEEaftertitletext\@IEEESAVECMDIEEEaftertitletext} + + +\endinput + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of IEEEtran.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% +% That's all folks! + diff --git a/branches/candidate/log.tex b/branches/candidate/log.tex new file mode 100644 index 0000000..e69de29 diff --git a/branches/candidate/myColor.sty b/branches/candidate/myColor.sty new file mode 100644 index 0000000..850b099 --- /dev/null +++ b/branches/candidate/myColor.sty @@ -0,0 +1,17 @@ +\RequirePackage{color,calc} +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{myColor} + [2000/10/26 v1.0 LaTeX package for colored paragraphs.] +\usepackage{color,calc} +\newcommand{\cmcolor}{} +\newenvironment{cminipage}[1][white]% + {%\setlength{\fboxsep}{-\fboxrule} + \renewcommand{\cmcolor}{#1}\noindent% + \begin{lrbox}{\@tempboxa}% + \begin{minipage}{\linewidth-2\fboxsep}}% + { \end{minipage}% + \end{lrbox}% + \colorbox{\cmcolor}{\usebox{\@tempboxa}}}% +%% +%% +%% End of file `myColor.sty'. \ No newline at end of file diff --git a/branches/candidate/mycolor.cfg b/branches/candidate/mycolor.cfg new file mode 100644 index 0000000..45a69a0 --- /dev/null +++ b/branches/candidate/mycolor.cfg @@ -0,0 +1,95 @@ +\DefineNamedColor{named}{GreenYellow} {cmyk}{0.15,0,0.69,0} +\DefineNamedColor{named}{Yellow} {cmyk}{0,0,1,0} +\DefineNamedColor{named}{Goldenrod} {cmyk}{0,0.10,0.84,0} +\DefineNamedColor{named}{Dandelion} {cmyk}{0,0.29,0.84,0} +\DefineNamedColor{named}{Apricot} {cmyk}{0,0.32,0.52,0} +\DefineNamedColor{named}{Peach} {cmyk}{0,0.50,0.70,0} +\DefineNamedColor{named}{Melon} {cmyk}{0,0.46,0.50,0} +\DefineNamedColor{named}{YellowOrange} {cmyk}{0,0.42,1,0} +\DefineNamedColor{named}{Orange} {cmyk}{0,0.61,0.87,0} +\DefineNamedColor{named}{BurntOrange} {cmyk}{0,0.51,1,0} +\DefineNamedColor{named}{Bittersweet} {cmyk}{0,0.75,1,0.24} +\DefineNamedColor{named}{RedOrange} {cmyk}{0,0.77,0.87,0} +\DefineNamedColor{named}{Mahogany} {cmyk}{0,0.85,0.87,0.35} +\DefineNamedColor{named}{Maroon} {cmyk}{0,0.87,0.68,0.32} +\DefineNamedColor{named}{BrickRed} {cmyk}{0,0.89,0.94,0.28} +\DefineNamedColor{named}{Red} {cmyk}{0,1,1,0} +\DefineNamedColor{named}{OrangeRed} {cmyk}{0,1,0.50,0} +\DefineNamedColor{named}{RubineRed} {cmyk}{0,1,0.13,0} +\DefineNamedColor{named}{WildStrawberry}{cmyk}{0,0.96,0.39,0} +\DefineNamedColor{named}{Salmon} {cmyk}{0,0.53,0.38,0} +\DefineNamedColor{named}{CarnationPink} {cmyk}{0,0.63,0,0} +\DefineNamedColor{named}{Magenta} {cmyk}{0,1,0,0} +\DefineNamedColor{named}{VioletRed} {cmyk}{0,0.81,0,0} +\DefineNamedColor{named}{Rhodamine} {cmyk}{0,0.82,0,0} +\DefineNamedColor{named}{Mulberry} {cmyk}{0.34,0.90,0,0.02} +\DefineNamedColor{named}{RedViolet} {cmyk}{0.07,0.90,0,0.34} +\DefineNamedColor{named}{Fuchsia} {cmyk}{0.47,0.91,0,0.08} +\DefineNamedColor{named}{Lavender} {cmyk}{0,0.48,0,0} +\DefineNamedColor{named}{Thistle} {cmyk}{0.12,0.59,0,0} +\DefineNamedColor{named}{Orchid} {cmyk}{0.32,0.64,0,0} +\DefineNamedColor{named}{DarkOrchid} {cmyk}{0.40,0.80,0.20,0} +\DefineNamedColor{named}{Purple} {cmyk}{0.45,0.86,0,0} +\DefineNamedColor{named}{Plum} {cmyk}{0.50,1,0,0} +\DefineNamedColor{named}{Violet} {cmyk}{0.79,0.88,0,0} +\DefineNamedColor{named}{RoyalPurple} {cmyk}{0.75,0.90,0,0} +\DefineNamedColor{named}{BlueViolet} {cmyk}{0.86,0.91,0,0.04} +\DefineNamedColor{named}{Periwinkle} {cmyk}{0.57,0.55,0,0} +\DefineNamedColor{named}{CadetBlue} {cmyk}{0.62,0.57,0.23,0} +\DefineNamedColor{named}{CornflowerBlue}{cmyk}{0.65,0.13,0,0} +\DefineNamedColor{named}{MidnightBlue} {cmyk}{0.98,0.13,0,0.43} +\DefineNamedColor{named}{NavyBlue} {cmyk}{0.94,0.54,0,0} +\DefineNamedColor{named}{RoyalBlue} {cmyk}{1,0.50,0,0} +\DefineNamedColor{named}{Blue} {cmyk}{1,1,0,0} +\DefineNamedColor{named}{Cerulean} {cmyk}{0.94,0.11,0,0} +\DefineNamedColor{named}{Cyan} {cmyk}{1,0,0,0} +\DefineNamedColor{named}{ProcessBlue} {cmyk}{0.96,0,0,0} +\DefineNamedColor{named}{SkyBlue} {cmyk}{0.62,0,0.12,0} +\DefineNamedColor{named}{Turquoise} {cmyk}{0.85,0,0.20,0} +\DefineNamedColor{named}{TealBlue} {cmyk}{0.86,0,0.34,0.02} +\DefineNamedColor{named}{Aquamarine} {cmyk}{0.82,0,0.30,0} +\DefineNamedColor{named}{BlueGreen} {cmyk}{0.85,0,0.33,0} +\DefineNamedColor{named}{Emerald} {cmyk}{1,0,0.50,0} +\DefineNamedColor{named}{JungleGreen} {cmyk}{0.99,0,0.52,0} +\DefineNamedColor{named}{SeaGreen} {cmyk}{0.69,0,0.50,0} +\DefineNamedColor{named}{Green} {cmyk}{1,0,1,0} +\DefineNamedColor{named}{ForestGreen} {cmyk}{0.91,0,0.88,0.12} +\DefineNamedColor{named}{PineGreen} {cmyk}{0.92,0,0.59,0.25} +\DefineNamedColor{named}{LimeGreen} {cmyk}{0.50,0,1,0} +\DefineNamedColor{named}{YellowGreen} {cmyk}{0.44,0,0.74,0} +\DefineNamedColor{named}{SpringGreen} {cmyk}{0.26,0,0.76,0} +\DefineNamedColor{named}{OliveGreen} {cmyk}{0.64,0,0.95,0.40} +\DefineNamedColor{named}{RawSienna} {cmyk}{0,0.72,1,0.45} +\DefineNamedColor{named}{Sepia} {cmyk}{0,0.83,1,0.70} +\DefineNamedColor{named}{Brown} {cmyk}{0,0.81,1,0.60} +\DefineNamedColor{named}{Tan} {cmyk}{0.14,0.42,0.56,0} +\DefineNamedColor{named}{LightGray} {cmyk}{0.1,0.1,0.1,0.1} +\DefineNamedColor{named}{Gray} {cmyk}{0,0,0,0.50} +\DefineNamedColor{named}{DarkGray} {cmyk}{0.1,0.1,0.1,0.8} +\DefineNamedColor{named}{Black} {cmyk}{0,0,0,1} +\DefineNamedColor{named}{White} {cmyk}{0,0,0,0} + +\definecolor{lightgray}{named}{LightGray} +\definecolor{gray}{named}{Gray} +\definecolor{darkgray}{named}{DarkGray} + +\newcommand\black {\color{black}} +\newcommand\darkgray {\color{darkgray}} +\newcommand\gray {\color{gray}} +\newcommand\lightgray{\color{lightgray}} +\newcommand\white {\color{white}} +\newcommand\blue {\color{Blue}} +\newcommand\red {\color{red}} +\newcommand\green {\color{green}} +\newcommand\yellow {\color{yellow}} +\newcommand\magenta {\color{magenta}} +\newcommand\cyan {\color{cyan}} + +% \newenvironment{newtext}{\begin{center} +% ==== START of NEW CONTENT ==== +% \end{center}\blue\bf}{\black\rm\begin{center} +% ==== END of NEW CONTENT ==== +% \end{center}} + +\fboxsep=8pt +\fboxrule=1.25pt diff --git a/branches/candidate/ntu_techrpt_cover.sty b/branches/candidate/ntu_techrpt_cover.sty new file mode 100644 index 0000000..e48b063 --- /dev/null +++ b/branches/candidate/ntu_techrpt_cover.sty @@ -0,0 +1,255 @@ +% NTU News Lab Cover style +% Extended from UC CS REPORT COVER STYLE +% Provides a command, \makecover, that produces a UC CS technical report +% cover (complete with campanile logo), and then resets the page number. + +% Copyright (C) 1993, 1994 by Paul N. Hilfinger. All rights reserved. +% Permission to copy this file and use after suitable modification is granted, +% provided that this notice be retained on the copy and that no change is +% made to the format of the text of the report number without the author's +% permission. + +% To use: +% +% 1. Include ntu_techrpt_cover as a style parameter in the \documentstyle +% command. +% 2. Use the declarations \author, \title, \reportmonth, +% \reportyear, and \reportnumber to supply the necessary +%information for the cover. These declarations +% typically go in the prelude. For example, +% +% \author{P. N. Hilfinger} +% \title{LaTeX: Threat or Menace?} +% \reportmonth{April} +% \reportyear{1993} +% \reportnumber{42} +% +% You may also leave off \reportyear and \reportmonth, and put the +%entire report designation in \reportnumber. This use is deprecated, +%but retained for backwards compatibility. For example, +% \author{P. N. Hilfinger} +% \title{LaTeX: Threat or Menace?} +% \date{April 1993} +% \reportnumber{93-42} +% 3. If you wish to use the ugly official format (with the form +%UCB//CSD-94-nn rather than UCB/CSD-94-nn), include also the +% declaration +% \useuglyformat +% with \title, \reportmonth, etc. +% 4. Put a \makecover command immediately after \begin{document} +% +% This file requires the auxiliary Postscript file coverart.eps. + +% TO INSTALL: +% 1. Put coverart.ps in some appropriate directory. +% 2. Change the following declaration to give the right path name (see 1) +% for coverart.eps. This must be a full path name (starting with +% /). +\RequirePackage{graphicx} +\RequirePackage{eso-pic} +%% \RequirePackage{pdfpages} +\newcommand\BackgroundPicObselete{% +\put(-0,0){% +\parbox[b][\paperheight]{\paperwidth}{% +\vfill +\centering +\includegraphics[width=0.80\paperwidth,height=\paperheight,% +keepaspectratio]{figures/coverart}% +%% \includegraphics[width=0.90\paperwidth,height=\paperheight,% +%% keepaspectratio,bb=0 0 560 763]{figures/coverart}% +%% \includepdf[scale=0.90,pagecommand={},pages={-}]{figures/coverart.pdf}% +\vfill +}}} + +\newcommand\MyAtPageCenter[1]{\AtPageUpperLeft{% +\put(\LenToUnit{.5\paperwidth},\LenToUnit{-.5\paperheight}){#1}}% +} + +\newcommand\BackgroundPic{% + \AtPageCenter{% Picture is centred on page + \makebox[0pt]{% Horizontally centred + \raisebox{-0.5\height}{% Vertically centred + \includegraphics[scale=1.0]{figures/coverart}}}}}% Actual image + +\DeclareOption{letterpaper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}% + \typeout{-- This is defined for letterpaper cover.}} +\DeclareOption{a4paper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}% + \typeout{-- This is defined for a4paper cover.}} + +%% \DeclareOption{letterpaper}{\def\@coverart{\special{psfile=figures/coverart.eps % +%% hoffset=-50 voffset=-700 hscale=100 vscale=100}}% +%% \typeout{-- This is defined for letterpaper.}} +%% \DeclareOption{a4paper}{\def\@coverart{\special{psfile=figures/coverart.eps % +%% hoffset=-55 voffset=-740 hscale=100 vscale=100}}% +%% \typeout{-- This is defined for a4paper.}} + +% default to A4 paper, 10pt, twocolumn, one sided, final, journal +\ExecuteOptions{a4paper} +% overrride these defaults per user requests +\ProcessOptions + +% For a4paper +% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-55 voffset=-740 hscale=100 vscale=100}} +% For letter +%% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-50 voffset=-700 hscale=100 vscale=100}} +\def\reportnumber#1{\def\@reportnumber{#1}} +\def\reportmonth#1{\def\@reportmonth{#1}} +\def\reportyear#1{\def\@reportyear{#1}} +\def\email#1{\def\@email{#1}} +\def\@reportnumber{?} +\def\@reportmonth{} +\def\@reportyear{} +\def\@numberformatter{Report No.~NTU/NEWS-\@reportdesignator} +\def\useuglyformat{% + \gdef\@numberformatter{Report No.~NTU//NEWS-\@reportdesignator}% +} + +\def\makecover{ +\ifx\@empty\@reportyear% + \def\@reportdesignator{\@reportnumber} +\else% + \date{\@reportmonth\ \@reportyear}% + \@tempcnta\@reportyear% + \divide\@tempcnta by 100% + \multiply\@tempcnta by 100% + \@tempcntb\@reportyear% + \advance\@tempcntb-\@tempcnta% + \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}% +\fi +\shipout\vbox to 7true in{ +\hsize=7.4375true in\parindent=0.5true in +{\@coverart +\vbox to 1.25true in{\vfil} + +\hspace*{-1.0true in} +\noindent\begin{minipage}[t]{6.9375 true in} +\def\thanks##1{\relax} +\LARGE\bf +\begin{center} +\@title +\end{center} +\end{minipage} + +\vbox to 0.625true in{\vfil} + +% 6.9375 +% \noindent\begin{minipage}[t]{6.9375 true in} +% \Large\it +% \begin{center} +% \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}% +% \end{center} +% \end{minipage} + +\hspace*{-1.0true in} +\noindent\begin{minipage}[t]{6.9375 true in} +\large +\begin{center} +\@author +\end{center} +\end{minipage} + +\vfil + +\begin{center} + \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University. +\end{center} + +\begin{center} +\hrule width 440pt depth 0.5pt height 1pt +\end{center} + +\vspace{1cm} + +\hspace*{2.5true in} +\begin{minipage}[t]{3.75in} +\parindent=0pt +{\bf \@numberformatter} + +\vspace{1ex} +\noindent \@date + +\vspace{16ex} +\small +Wireless Networking and Embedded Systems (NEWS) Group\\ +Graduate Institute of Networking and Multimedia \\ +Department of Computer Science and Information Engineering \\ +National Taiwan University \\ +Taipei, Taiwan 106 \\ \\ \\ +\end{minipage} +}} +} + +%% \def\makecoverRB{ +%% \ifx\@empty\@reportyear% +%% \def\@reportdesignator{\@reportnumber} +%% \else% +%% \date{\@reportmonth\ \@reportyear}% +%% \@tempcnta\@reportyear% +%% \divide\@tempcnta by 100% +%% \multiply\@tempcnta by 100% +%% \@tempcntb\@reportyear% +%% \advance\@tempcntb-\@tempcnta% +%% \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}% +%% \fi +%% \shipout\vbox to 7true in{ +%% \hsize=7.4375true in\parindent=0.5true in +%% {\@coverartRB +%% \vbox to 1.25true in{\vfil} + +%% \hspace*{-1.0true in} +%% \noindent\begin{minipage}[t]{6.9375 true in} +%% \def\thanks##1{\relax} +%% \LARGE\bf +%% \begin{center} +%% \@title +%% \end{center} +%% \end{minipage} + +%% \vbox to 0.625true in{\vfil} + +%% % 6.9375 +%% % \noindent\begin{minipage}[t]{6.9375 true in} +%% % \Large\it +%% % \begin{center} +%% % \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}% +%% % \end{center} +%% % \end{minipage} + +%% \hspace*{-1.0true in} +%% \noindent\begin{minipage}[t]{6.9375 true in} +%% \large +%% \begin{center} +%% \@author +%% \end{center} +%% \end{minipage} + +%% \vfil + +%% \begin{center} +%% \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University. +%% \end{center} + +%% \begin{center} +%% \hrule width 440pt depth 0.5pt height 1pt +%% \end{center} + +%% \vspace{1cm} + +%% \hspace*{2.5true in} +%% \begin{minipage}[t]{3.75in} +%% \parindent=0pt +%% {\bf \@numberformatter} + +%% \vspace{1ex} +%% \noindent \@date + +%% \vspace{14ex} +%% \small +%% Wireless Networking and Embedded Systems (NEWS) Lab \\ +%% Graduate Institute of Networking and Multimedia \\ +%% Department of Computer Science and Information Engineering \\ +%% National Taiwan University \\ +%% Taipei, Taiwan 106 +%% \end{minipage} +%% }} +%% } diff --git a/branches/candidate/ntu_techrpt_cover_acm.sty b/branches/candidate/ntu_techrpt_cover_acm.sty new file mode 100644 index 0000000..d5c797a --- /dev/null +++ b/branches/candidate/ntu_techrpt_cover_acm.sty @@ -0,0 +1,256 @@ +% NTU News Lab Cover style +% Extended from UC CS REPORT COVER STYLE +% Provides a command, \makecover, that produces a UC CS technical report +% cover (complete with campanile logo), and then resets the page number. + +% Copyright (C) 1993, 1994 by Paul N. Hilfinger. All rights reserved. +% Permission to copy this file and use after suitable modification is granted, +% provided that this notice be retained on the copy and that no change is +% made to the format of the text of the report number without the author's +% permission. + +% To use: +% +% 1. Include ntu_techrpt_cover as a style parameter in the \documentstyle +% command. +% 2. Use the declarations \author, \title, \reportmonth, +% \reportyear, and \reportnumber to supply the necessary +%information for the cover. These declarations +% typically go in the prelude. For example, +% +% \author{P. N. Hilfinger} +% \title{LaTeX: Threat or Menace?} +% \reportmonth{April} +% \reportyear{1993} +% \reportnumber{42} +% +% You may also leave off \reportyear and \reportmonth, and put the +%entire report designation in \reportnumber. This use is deprecated, +%but retained for backwards compatibility. For example, +% \author{P. N. Hilfinger} +% \title{LaTeX: Threat or Menace?} +% \date{April 1993} +% \reportnumber{93-42} +% 3. If you wish to use the ugly official format (with the form +%UCB//CSD-94-nn rather than UCB/CSD-94-nn), include also the +% declaration +% \useuglyformat +% with \title, \reportmonth, etc. +% 4. Put a \makecover command immediately after \begin{document} +% +% This file requires the auxiliary Postscript file coverart.eps. + +% TO INSTALL: +% 1. Put coverart.ps in some appropriate directory. +% 2. Change the following declaration to give the right path name (see 1) +% for coverart.eps. This must be a full path name (starting with +% /). +\RequirePackage{graphicx} +\RequirePackage{eso-pic} +%% \RequirePackage{pdfpages} +\newcommand\BackgroundPicObselete{% +\put(-0,0){% +\parbox[b][\paperheight]{\paperwidth}{% +\vfill +\centering +\includegraphics[width=0.80\paperwidth,height=\paperheight,% +keepaspectratio]{figures/coverart}% +%% \includegraphics[width=0.90\paperwidth,height=\paperheight,% +%% keepaspectratio,bb=0 0 560 763]{figures/coverart}% +%% \includepdf[scale=0.90,pagecommand={},pages={-}]{figures/coverart.pdf}% +\vfill +}}} + +\newcommand\MyAtPageCenter[1]{\AtPageUpperLeft{% +\put(\LenToUnit{.5\paperwidth},\LenToUnit{-.5\paperheight}){#1}}% +} + +\newcommand\BackgroundPic{% + \AtPageCenter{% Picture is centred on page + \makebox[600pt]{% Horizontally centred + \raisebox{-1\height}{% Vertically centred + \includegraphics[scale=1.0]{figures/coverart}}}}}% Actual image + +\DeclareOption{letterpaper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}% + \typeout{-- This is defined for letterpaper cover.}} +\DeclareOption{a4paper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}% + \typeout{-- This is defined for a4paper cover.}} + +%% \DeclareOption{letterpaper}{\def\@coverart{\special{psfile=figures/coverart.eps % +%% hoffset=-50 voffset=-700 hscale=100 vscale=100}}% +%% \typeout{-- This is defined for letterpaper.}} +%% \DeclareOption{a4paper}{\def\@coverart{\special{psfile=figures/coverart.eps % +%% hoffset=-55 voffset=-740 hscale=100 vscale=100}}% +%% \typeout{-- This is defined for a4paper.}} + +% default to A4 paper, 10pt, twocolumn, one sided, final, journal +\ExecuteOptions{a4paper} +% overrride these defaults per user requests +\ProcessOptions + +% For a4paper +% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-55 voffset=-740 hscale=100 vscale=100}} +% For letter +%% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-50 voffset=-700 hscale=100 vscale=100}} +\def\reportnumber#1{\def\@reportnumber{#1}} +\def\reportmonth#1{\def\@reportmonth{#1}} +\def\reportyear#1{\def\@reportyear{#1}} +\def\email#1{\def\@email{#1}} +\def\@reportnumber{?} +\def\@reportmonth{} +\def\@reportyear{} +\def\@numberformatter{Report No.~NTU/NEWS-\@reportdesignator} +\def\useuglyformat{% + \gdef\@numberformatter{Report No.~NTU//NEWS-\@reportdesignator}% +} + +\def\makecover{ +\ifx\@empty\@reportyear% + \def\@reportdesignator{\@reportnumber} +\else% + \date{\@reportmonth\ \@reportyear}% + \@tempcnta\@reportyear% + \divide\@tempcnta by 100% + \multiply\@tempcnta by 100% + \@tempcntb\@reportyear% + \advance\@tempcntb-\@tempcnta% + \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}% +\fi +\shipout\vbox to 7true in{ +\hsize=7.4375true in\parindent=0.5true in +{\@coverart +\vbox to 1.25true in{\vfil} + +\hspace*{-1.0true in} +\noindent\begin{minipage}[t]{6.9375 true in} +\def\thanks##1{\relax} +\LARGE\bf +\begin{center} +\@title +\end{center} +\end{minipage} + +\vbox to 0.625true in{\vfil} + +% 6.9375 +% \noindent\begin{minipage}[t]{6.9375 true in} +% \Large\it +% \begin{center} +% \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}% +% \end{center} +% \end{minipage} + +\hspace*{-1.0true in} +\noindent\begin{minipage}[t][3.3 true in]{6.9375 true in} +\large +\begin{center} +\@author +\end{center} +\end{minipage} + +\vfil + +\begin{center} + \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University. +\end{center} + +\begin{center} +\hrule width 440pt depth 0.5pt height 1pt +\end{center} + +\vspace{2cm} + +\hspace*{2.5true in} +\begin{minipage}[t]{3.75in} +\parindent=0pt +{\bf \@numberformatter} + +\vspace{1ex} +\noindent \@date + +\vspace{14ex} +\small +Wireless Networking and Embedded Systems (NEWS) Group\\ +Graduate Institute of Networking and Multimedia \\ +Department of Computer Science and Information Engineering \\ +National Taiwan University \\ +Taipei, Taiwan 106 \\ \\ \\ +\end{minipage} +\vspace{14ex} +}} +} + +%% \def\makecoverRB{ +%% \ifx\@empty\@reportyear% +%% \def\@reportdesignator{\@reportnumber} +%% \else% +%% \date{\@reportmonth\ \@reportyear}% +%% \@tempcnta\@reportyear% +%% \divide\@tempcnta by 100% +%% \multiply\@tempcnta by 100% +%% \@tempcntb\@reportyear% +%% \advance\@tempcntb-\@tempcnta% +%% \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}% +%% \fi +%% \shipout\vbox to 7true in{ +%% \hsize=7.4375true in\parindent=0.5true in +%% {\@coverartRB +%% \vbox to 1.25true in{\vfil} + +%% \hspace*{-1.0true in} +%% \noindent\begin{minipage}[t]{6.9375 true in} +%% \def\thanks##1{\relax} +%% \LARGE\bf +%% \begin{center} +%% \@title +%% \end{center} +%% \end{minipage} + +%% \vbox to 0.625true in{\vfil} + +%% % 6.9375 +%% % \noindent\begin{minipage}[t]{6.9375 true in} +%% % \Large\it +%% % \begin{center} +%% % \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}% +%% % \end{center} +%% % \end{minipage} + +%% \hspace*{-1.0true in} +%% \noindent\begin{minipage}[t]{6.9375 true in} +%% \large +%% \begin{center} +%% \@author +%% \end{center} +%% \end{minipage} + +%% \vfil + +%% \begin{center} +%% \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University. +%% \end{center} + +%% \begin{center} +%% \hrule width 440pt depth 0.5pt height 1pt +%% \end{center} + +%% \vspace{1cm} + +%% \hspace*{2.5true in} +%% \begin{minipage}[t]{3.75in} +%% \parindent=0pt +%% {\bf \@numberformatter} + +%% \vspace{1ex} +%% \noindent \@date + +%% \vspace{14ex} +%% \small +%% Wireless Networking and Embedded Systems (NEWS) Lab \\ +%% Graduate Institute of Networking and Multimedia \\ +%% Department of Computer Science and Information Engineering \\ +%% National Taiwan University \\ +%% Taipei, Taiwan 106 +%% \end{minipage} +%% }} +%% } diff --git a/branches/candidate/prelim2e.sty b/branches/candidate/prelim2e.sty new file mode 100644 index 0000000..e07d55b --- /dev/null +++ b/branches/candidate/prelim2e.sty @@ -0,0 +1,139 @@ +%% +%% This is file `prelim2e.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% prelim2e.dtx (with options: `package') +%% +%% Copyright (C) 1995..2009 by Martin Schroeder. +%% +%% This file is part of the Prelim2e package +%% ----------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Schroeder. +%% +%% This work consists of the files prelim2e.dtx and prelim2e.ins +%% and the derived file prelim2e.sty. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{prelim2e} + [2009/05/29 v1.3 prelim2e Package (MS)] +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +%% \iffalse meta-comment +%% =================================================================== +%% @LaTeX-package-file{ +%% author = {Martin Schr\"oder}, +%% version = "1.3", +%% date = "29 May 2009", +%% filename = "prelim2e.sty", +%% address = {Martin Schr\"oder +%% Barmer Stra\"se 14 +%% 44137 Dortmund +%% Germany}, +%% telephone = "+49-231-1206574", +%% email = "martin@oneiros.de", +%% docstring = "LaTeX package which allows the marking of +%% preliminary versions of a document." +%% } +%% =================================================================== +%% \fi +\newif\if@prelim@draft +\newif\if@prelim@time +\newif\if@prelim@scrtime +\newcommand{\PrelimWords}{} +\DeclareOption{draft}{\@prelim@drafttrue} +\DeclareOption{final}{\@prelim@draftfalse} +\DeclareOption{danish}{% + \renewcommand{\PrelimWords}{Forel\o{}big version}} +\DeclareOption{english}{% + \renewcommand{\PrelimWords}{Preliminary version}} +\DeclareOption{french}{% + \renewcommand{\PrelimWords}{Version pr\'eliminaire}} +\DeclareOption{german}{% + \renewcommand{\PrelimWords}{Vorl\"aufige Version}} +\DeclareOption{italian}{% + \renewcommand{\PrelimWords}{Versione preliminare}} +\DeclareOption{norsk}{% + \renewcommand{\PrelimWords}{Forel\o{}pig versjon}} +\DeclareOption{time}{\@prelim@timetrue} +\DeclareOption{scrtime}{\@prelim@scrtimetrue\@prelim@timetrue} +\DeclareOption*{% + \if@prelim@scrtime + \PassOptionsToPackage{\CurrentOption}{scrtime}% + \fi + } +\ExecuteOptions{draft,english} +\ProcessOptions\relax +\RequirePackage{everyshi}[1995/01/25] +\if@prelim@scrtime + \RequirePackage{scrtime} +\fi +\newcommand{\PrelimText}{% + \textnormal{% + \footnotesize + \PrelimTextStyle + \PrelimWords{} -- \today + \if@prelim@time + \ -- \thistime + \fi + }% + } +\newcommand{\PrelimTextStyle}{} +\newcommand{\@Prelim@EveryShipout}{% + \bgroup + \dimen\z@=\wd\@cclv + \dimen\@ne=\ht\@cclv + \dimen\tw@=\dp\@cclv + \dimen\thr@@=\dimen1 + \advance\dimen\thr@@ by \dimen\tw@ + \global\setbox\@cclv\vbox to \dimen\thr@@{% + \hb@xt@\dimen\z@{% + \box\@cclv% + \hss + }% + \vbox to \z@{% + \hb@xt@\dimen\z@{% + \let\protect\relax + \hfill\PrelimText\hfill + }% + \vss + }% + \vss + }% + \wd\@cclv=\dimen\z@ + \ht\@cclv=\dimen\@ne + \dp\@cclv=\dimen\tw@ + \egroup + } +\if@prelim@draft + \EveryShipout{\@Prelim@EveryShipout} +\fi +\endinput +%% +%% End of file `prelim2e.sty'. diff --git a/branches/candidate/svn-multi.sty b/branches/candidate/svn-multi.sty new file mode 100644 index 0000000..59de8a6 --- /dev/null +++ b/branches/candidate/svn-multi.sty @@ -0,0 +1,1849 @@ +%% +%% This is file `svn-multi.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% svn-multi.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2006-2009 by Martin Scharrer +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Scharrer. +%% +%% This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins +%% and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl. +%% +\makeatletter +\def\svnmulti@version{v2.3} +\RequirePackage{svn-prov} +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackageSVN + {$Id: svn-multi.dtx 1866 2010-07-19 11:17:15Z martin $} + [\svnmulti@version\space SVN Keywords for multi-file LaTeX documents] + +\RequirePackage{kvoptions} + +\SetupKeyvalOptions{% + family = svn-multi, + prefix = @svnmulti@ +} +\newif\if@svnmulti@anygraphic +\newif\if@svnmulti@autoload +\newif\if@svnmulti@autokw +\newif\if@svnmulti@autokwall + +\DeclareVoidOption{old}{% + \@svnmulti@verbatimtrue + \@svnmulti@groupsfalse + \@svnmulti@externalfalse + \@svnmulti@graphicsfalse + \@svnmulti@pgfimagesfalse + \@svnmulti@autoloadfalse + \@svnmulti@tablefalse + \@svnmulti@filehooksfalse + \@svnmulti@subgroupsfalse +} +\DeclareVoidOption{all}{% + \@svnmulti@verbatimtrue + \@svnmulti@groupstrue + \@svnmulti@externaltrue + \@svnmulti@graphicstrue + \@svnmulti@pgfimagestrue + \@svnmulti@autoloadtrue + \@svnmulti@tabletrue + \@svnmulti@filehookstrue + \@svnmulti@subgroupstrue +} +\DeclareBoolOption[true]{verbatim} +\DeclareBoolOption[false]{groups} +\DeclareBoolOption[false]{external} +\DeclareBoolOption[false]{subgroups} +\DeclareBoolOption[false]{graphics} +\DeclareBoolOption[false]{pgfimages} +\DeclareStringOption{autoload}[true] +\DeclareBoolOption[false]{table} +\DeclareBoolOption[false]{filehooks} +\DeclareStringOption[false]{autokw}[all] + +\ExecuteOptions{old} +\ProcessKeyvalOptions{svn-multi} +\def\svn@depoption#1{% + \csname if@svnmulti@#1\endcsname\else + \message{svn-multi: Required option '#1' enabled.}% + \csname @svnmulti@#1true\endcsname + \fi +} + +\if@svnmulti@groups + \svn@depoption{filehooks} +\fi +\if@svnmulti@external + \svn@depoption{filehooks} +\fi +\if@svnmulti@subgroups + \svn@depoption{groups} + \svn@depoption{filehooks} +\fi +\if@svnmulti@graphics + \svn@depoption{external} + \svn@depoption{autoload} + \svn@depoption{filehooks} +\fi +\if@svnmulti@pgfimages + \svn@depoption{external} + \svn@depoption{autoload} + \svn@depoption{filehooks} +\fi +\if@svnmulti@autoload + \svn@depoption{external} + \svn@depoption{filehooks} +\fi +\if@svnmulti@table + \svn@depoption{groups} + \svn@depoption{filehooks} +\fi +\ifx\@svnmulti@autoload\@undefined +\else +\ifx\@svnmulti@autoload\empty +\else +\def\svn@temp{true} +\ifx\@svnmulti@autoload\svn@temp + \@svnmulti@autoloadtrue + \svn@depoption{external} + \svn@depoption{filehooks} +\else +\def\svn@temp{false} +\ifx\@svnmulti@autoload\svn@temp + \if@svnmulti@autoload + \PackageWarning{svn-multi}{Option 'autoload' disabled.} + \fi + \@svnmulti@autoloadfalse +\else + \PackageError{svn-multi}% + {Invalid value for 'autoload' option: '\@svnmulti@autoload'^^J% + ! Only 'true','false' or empty (='true') are allowed!} +\fi\fi\fi\fi + +\def\svn@temp{true} +\ifx\@svnmulti@autokw\svn@temp + \@svnmulti@autokwtrue + \@svnmulti@autokwalltrue + \svn@depoption{filehooks} +\fi +\def\svn@temp{all} +\ifx\@svnmulti@autokw\svn@temp + \@svnmulti@autokwtrue + \@svnmulti@autokwalltrue + \svn@depoption{filehooks} +\fi +\def\svn@temp{ext} +\ifx\@svnmulti@autokw\svn@temp + \@svnmulti@autokwtrue + \@svnmulti@autokwallfalse +\fi +\def\svn@temp{false} +\ifx\@svnmulti@autokw\svn@temp + \@svnmulti@autokwfalse + \@svnmulti@autokwallfalse +\fi + +\if@svnmulti@graphics + \@svnmulti@anygraphictrue +\fi +\if@svnmulti@pgfimages + \@svnmulti@anygraphictrue +\fi + +\def\svn@ifempty#1{% + \begingroup + \edef\svn@temp{#1}% + \ifx\svn@temp\empty + \endgroup + \expandafter + \@firstoftwo + \else + \endgroup + \expandafter + \@secondoftwo + \fi +} + +\def\svn@ifequal#1#2{% + \begingroup + \edef\svn@stringa{#1}% + \edef\svn@stringb{#2}% + \ifx\svn@stringa\svn@stringb + \endgroup + \expandafter + \@firstoftwo + \else + \endgroup + \expandafter + \@secondoftwo + \fi +} + +\def\svn@ifvalidrev#1{% + \begingroup + \@ifundefined{#1}% + {\let\svn@temp\svn@revinit}% + {\expandafter\edef + \expandafter\svn@temp\expandafter{\csname #1\endcsname}}% + \ifnum\svn@temp=\svn@revinit\relax + \endgroup + \expandafter + \@secondoftwo + \else + \endgroup + \expandafter + \@firstoftwo + \fi +} + +\def\svn@ifeof#1{% + \ifeof#1% + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} + +\def\svn@ifonlyone#1{% + \expandafter\expandafter\expandafter + \svn@@ifonlyone\csname @svng@#1@files\endcsname,\relax +} + +\def\svn@@ifonlyone#1,#2\relax{% + \svn@ifempty{#2} +} + +\def\svn@input#1{% + \begingroup + \let\svn@rg\svn@g + \IfFileExists{#1}{\@@input #1\relax}{}% + \global\let\svn@g\svn@rg + \endgroup +} + +\def\svn@inputsvx#1{% + \svn@pushfilestack + \begingroup + \svn@normalcatcodes + \svn@input{#1.svx}% + \endgroup + \svn@popfilestack +} + +\def\svn@normalcatcodes{% + \catcode`\\=0\relax + \catcode`\{=1\relax + \catcode`\}=2\relax + \catcode`\$=3\relax + \catcode`\&=4\relax + \catcode`\^^M=5\relax + \catcode`\#=6\relax + \catcode`\^=7\relax + \catcode`\_=8\relax + \catcode`\ =10\relax + \catcode`\@=12\relax + \catcode`\~=13\relax + \catcode`\%=14\relax +} + +\def\svn@revinit{-2} +\let\svnrev\svn@revinit \let\@svn@rev\svn@revinit +\let\ifsvnmodified\@secondoftwo +\def\@svn@modified{@secondoftwo}% +\def\svndate{} \def\@svn@date{} +\def\svnauthor{} \def\@svn@author{} +\def\svnyear{0000} \def\@svn@year{0000} +\def\svnmonth{00} \def\@svn@month{00} +\def\svnday{00} \def\@svn@day{00} +\def\svnhour{00} \def\@svn@hour{00} +\def\svnminute{00} \def\@svn@minute{00} +\def\svnsecond{00} \def\@svn@second{00} +\def\svntimezonehour{+00} \def\@svn@timezonehour{+00} +\def\svntimezoneminute{00} \def\@svn@timezoneminute{00} +\def\svnmainurl{NOT SET} \def\svnmainfilename{NOT SET} +\def\svnurl{} \def\svnfname{} +\def\svn@temp{} + +\def\svn@pg{} \def\svn@g{} \def\svn@cg{\svn@g} \def\svn@rg{\svn@pg} +\let\@svng@@files\relax + +\def\svn@initfile{% + \global\let\svnfilerev\svn@revinit + \global\let\ifsvnfilemodified\@secondoftwo + \gdef\svnfiledate{}% + \gdef\svnfileauthor{}% + \gdef\svnfileyear{0000}% + \gdef\svnfilemonth{00}% + \gdef\svnfileday{00}% + \gdef\svnfilehour{00}% + \gdef\svnfileminute{00}% + \gdef\svnfilesecond{00}% + \gdef\svnfiletimezonehour{+00}% + \gdef\svnfiletimezoneminute{00}% + \gdef\svnfileurl{}% + \gdef\svnfilefname{}% + \gdef\svnfiledir{}% +} +\svn@initfile + +\newif\ifsvn@modified + + +\begingroup +\@makeother\^^L +\if@svnmulti@autokw +\gdef\svne@ff{^^L} +\fi +\endgroup + +\if@svnmulti@autokw +\newread\svne@read + +\newcommand*{\svne@catcodes}{% + \let\do\@makeother + \endlinechar=-1% + \dospecials + \do\-\do\:\do\.\do\^^L% +} + +\def\svne@readline#1{% + \ifeof\svne@read + \def#1{}% + \else + \read\svne@read to #1\relax + \fi +} + +\def\svne@gobblerest{% + \ifeof\svne@read + \let\next\relax + \else + \read\svne@read to \svn@temp + \ifx\svn@temp\svne@ff + \let\next\relax + \else + \let\next\svne@gobblerest + \fi + \fi + \next +} + +\def\svne@endread{% + \closein\svne@read +} + +\newcommand*{\svne@parseentriesfile}[1]{% + \begingroup + \let\next\relax + \def\svne@version{8}% + \openin\svne@read=#1format\relax + \ifeof\svne@read\else + \svne@readline\svne@version + \closein\svne@read + \fi + \ifnum\svne@version>7\relax + \openin\svne@read=#1entries\relax + \ifeof\svne@read\else + \svne@catcodes + \svne@readline\svne@version + \ifnum\svne@version>7\relax + \def\next{\svne@parsedirentry + \svne@parseentries}% + \else + \closein\svne@read + \fi + \fi + \fi + \next + \endgroup +} + +\newcommand*{\svne@parsedirentry}{% + \svne@readline\svne@name + \svne@readline\svne@kind + \svn@ifempty{\svne@name}% + {\svn@ifequal{\svne@kind}{dir}% + {% + {\svne@readline\svn@temp}% + \svne@readline\svne@baseurl + \svne@gobblerest + }{}% + }{}% +} + +\begingroup + +\@makeother\- +\@makeother\: +\@makeother\. + +\gdef\svne@scandate#1{% + \expandafter\svne@scandate@#1\empty + 0000-00-00T00:00:00.00000Z\empty\empty +} + +\gdef\svne@scandate@#1-#2-#3T#4:#5:#6.#7\empty#8\empty{% + \xdef\svnfileyear{#1}% + \gdef\svnfilemonth{#2}% + \gdef\svnfileday{#3}% + \gdef\svnfilehour{#4}% + \gdef\svnfileminute{#5}% + \gdef\svnfilesecond{#6}% + \gdef\svnfiletimezonehour{+00}% + \gdef\svnfiletimezoneminute{00}% + \gdef\svnfiledate{#1-#2-#3 #4:#5:#6Z}% + \def\svne@date{#1-#2-#3 #4:#5:#6Z}% +} + +\endgroup + +\newcommand*{\svne@parseentries}{% + \svn@ifeof{\svne@read}% + {}% + {% + \svne@readline\svne@name + \@onelevel@sanitize\svne@name + \svn@ifeof{\svne@read}% + {}% + {% + \svne@readline\svne@kind + \svn@ifequal{\svne@kind}{file}% + {% + \svne@readline\svn@temp + \svne@readline\svn@temp + \svne@readline\svn@temp + \svne@readline\svn@temp + \svne@readline\svn@temp + \svne@readline\svn@temp + \svne@readline\svne@date + \svne@readline\svne@rev + \svne@readline\svne@author + %\@onelevel@sanitize\svne@date + \svne@scandate{\svne@date}% + \edef\svne@url{\svne@baseurl/\svne@name}% + \svne@handleentry + }{}% + \svne@gobblerest + \svne@parseentries + }% + }% +} + +\def\svne@handleentry{% + \ifx\svne@rev\empty + \let\svne@rev\svn@revinit + \fi + \svn@ifequal{\svne@name}{\svnfilefname}% + {% + \message{^^J% + Read from '.svn/entries' file:^^J% + Filename: \svne@name^^J% + Date: \svne@date^^J% + Revision: \svne@rev^^J% + Author: \svne@author^^J% + HeadURL: \svne@url^^J% + ^^J% + }% + \svnkwdef{Filename}{\svne@name}% + \svnkwdef{Date}{\svne@date}% + \svnkwdef{Revision}{\svne@rev}% + \svnkwdef{Author}{\svne@author}% + \svnkwdef{HeadURL}{\svne@url}% + \@svn@updateid{\svne@rev}{\svne@date}{\svne@author}{\svne@url}% + \svne@endread + }{}% +}% + +\def\svnegetfile#1{% + \begingroup + \svn@getfilename{#1}% + \edef\svnfilefname{\svnfilefname}% + \@onelevel@sanitize\svnfilefname + \svne@parseentriesfile{\svnfiledir .svn/}% + \svne@parseentriesfile{\svnfiledir _svn/}% + \endgroup +} + +\if@svnmulti@autokwall +\AtBeginDocument{% + \svnegetfile{\jobname.\svn@mainext}% +} +\fi + +\fi + +\def\svntimezone{\svntimezonehour\svntimezoneminute\svn@gobblezeros} +\def\svnfiletimezone{\svnfiletimezonehour\svnfiletimezoneminute\svn@gobblezeros} +\def\svncgtimezone{\svncgtimezonehour\svncgtimezoneminute} + +\def\svn@gobblezeros{% + \futurelet\svn@nextchar\svn@gobblezeros@ +} +\def\svn@gobblezeros@{% + \let\@tempa=\relax + \def\@tempb{0}% + \ifx0\svn@nextchar + \let\@tempa=\@gobbletwo + \fi + \@tempa +} + +\def\svntime{\svnhour:\svnminute:\svnsecond} +\def\svnfiletime{\svnfilehour:\svnfileminute:\svnfilesecond} +\def\svncgtime{\svncghour:\svncgminute:\svncgsecond} + +\newcommand*{\svntoday}{% + \begingroup + \year\svnyear \month\svnmonth \day\svnday + \relax \today + \endgroup +} +\newcommand*{\svnfiletoday}{% + \begingroup + \year\svnfileyear \month\svnfilemonth \day\svnfileday + \relax \today + \endgroup +} +\newcommand*{\svncgtoday}{% + \@ifundefined{svng@\svn@cg @year}{??}{% + \begingroup + \year\svncgyear \month\svncgmonth \day\svncgday + \relax \today + \endgroup + }% +}% + +\newcommand*{\svnid}{% + \@svnidswtrue + \svnkwsave +} +\newif\if@svnidsw +\@svnidswfalse + +\def\svn@scanId#1 #2 #3 #4 #5\relax{% + \@svn@scandate{#3 #4}% + \@svn@updateid{#2}{#3 #4}{#5}{#1}% + \svnkwdef{Filename}{#1}% + \svnkwdef{Date}{#3 #4}% + \svnkwdef{Revision}{#2}% + \svnkwdef{Author}{#5}% +} + +\def\@svn@updateid#1#2#3#4{% + \xdef\svnfilerev{#1}% + \ifsvn@modified + \global\let\ifsvnfilemodified\@firstoftwo + \else + \global\let\ifsvnfilemodified\@secondoftwo + \fi + \xdef\svnfiledate{#2}% + \xdef\svnfileauthor{#3}% + \xdef\svnfileurl{#4}% + \svn@getfilename\svnfileurl% + \ifx\svnfilerev\empty\else + \ifnum\@svn@rev<\svnfilerev + \xdef\@svn@rev{\svnfilerev}% + \xdef\@svn@modified{\ifsvnfilemodified{@firstoftwo}{@secondoftwo}}% + \xdef\@svn@date{\svnfiledate}% + \xdef\@svn@author{\svnfileauthor}% + \xdef\@svn@year{\svnfileyear}% + \xdef\@svn@month{\svnfilemonth}% + \xdef\@svn@day{\svnfileday}% + \xdef\@svn@hour{\svnfilehour}% + \xdef\@svn@minute{\svnfileminute}% + \xdef\@svn@second{\svnfilesecond}% + \xdef\@svn@timezonehour{\svnfiletimezonehour}% + \xdef\@svn@timezoneminute{\svnfiletimezoneminute}% + \xdef\@svn@url{\svnfileurl}% + \xdef\@svn@fname{\svnfilefname}% + \fi + + \if@svnmulti@groups + \ifx\svn@g\empty\else + \svn@updategroup{\svn@g}% + \fi + \if@svnmulti@subgroups + \ifsvnsubgroups + \svn@updategroup{\svn@filedir\svn@filebase}% + \fi + \fi + \fi + \fi +} + +\def\@svncg@save#1#2{% + \expandafter\xdef\csname @svng@\svn@g @#1\endcsname{#2}% +} + + +\newcommand{\svnidlong}{% + \svnkwdef{URL}{}% + \svnkwdef{Date}{}% + \svnkwdef{Revision}{0}% + \svnkwdef{Author}{}% + \if@svnmulti@verbatim + \expandafter\svnidlong@readverb + \else + \expandafter\svnidlong@readargs + \fi +} +\def\svnidlong@readverb{% + \@ifnextchar\bgroup + {\svnidlong@readverb@\svnidlong@readverb@a}% + {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}% +} +\def\svnidlong@readverb@#1{% + \begingroup + \svn@catcodes + \catcode`\{=1\relax + \catcode`\}=2\relax + #1% +} +\def\svnidlong@readverb@a#1{% + \endgroup + \svnkwsave@read #1\relax + \@ifnextchar\bgroup + {\svnidlong@readverb@\svnidlong@readverb@b}% + {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}% +} +\def\svnidlong@readverb@b#1{% + \endgroup + \svnkwsave@read #1\relax + \@ifnextchar\bgroup + {\svnidlong@readverb@\svnidlong@readverb@c}% + {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}% +} +\def\svnidlong@readverb@c#1{% + \endgroup + \svnkwsave@read #1\relax + \@ifnextchar\bgroup + {\svnidlong@readverb@\svnidlong@readverb@d}% + {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}% +} +\def\svnidlong@readverb@d#1{% + \endgroup + \svnkwsave@read #1\relax + \ifx\svnkwDate\empty\else + \@svn@scanlongdate{\svnkwDate}% + \fi + \@svn@updateid{\svnkw{Revision}}{\svnkw{Date}}% + {\svnkw{Author}}{\svnkw{URL}}% + \ignorespaces +} + +\if@svnmulti@verbatim +\def\svn@catcodes{% + \let\do\@makeother + \dospecials + \catcode`\^^M9 + \catcode`\ 10 + \catcode`\{1 + \catcode`\}2 +} +\else + \def\svn@catcodes{} +\fi +\def\svnidlong@readargs#1#2#3#4{% + \svnkwsave@read #1\relax + \svnkwsave@read #2\relax + \svnkwsave@read #3\relax + \svnkwsave@read #4\relax + \endgroup + \ifx\svnkwDate\empty\else + \@svn@scanlongdate{\svnkwDate}% + \fi + \@svn@updateid{\svnkw{Revision}}{\svnkw{Date}}% + {\svnkw{Author}}{\svnkw{URL}}% + \ignorespaces +}% + +\def\svnkwsave{% + \begingroup + \svn@catcodes + \svnkwsave@readargs +} + +\gdef\svnkwsave@readargs#1{% + \svnkwsave@read#1\relax + \endgroup + \if@svnidsw + \ifx\svnkwId\empty\else + \expandafter + \svn@scanId\svnkwId\relax + \@svnidswfalse + \fi + \fi + \ignorespaces +} + +\begingroup +\if@svnmulti@verbatim +\catcode`\$=12 +\fi +\gdef\svnkwsave@read $#1$\relax{% + \svn@checkcolon#1:\relax +} +\endgroup + +\begingroup +\catcode`\$=11 +\gdef\svnkwsave@parse$#1:#2${% + \expandafter\xdef\csname svnkw#1\endcsname{#2}% +}% +\endgroup + +\newcommand{\svnkwdef}[2]{% + \@ifundefined{svnkwdef@#1}% + {\svnkwdef@{#1}{#2}}% + {\csname svnkwdef@#1\endcsname{#2}}% +} + +\newcommand{\svnkwdef@}[2]{% + \expandafter\xdef\csname svnkw#1\endcsname{#2}% +} + +\def\svnkwdef@Rev#1{% + \svn@ifempty{#1}% + {\svnkwdef@{Rev}{0}}% + {% + \afterassignment\svnkwdef@Rev@ + \@tempcnta=#1\relax + }% +} +\def\svnkwdef@Rev@#1\relax{% + \svnkwdef@{Rev}{\the\@tempcnta}% + \def\svn@temp{#1}% + \if M\svn@temp\relax + \global\svn@modifiedtrue + \else + \if *\svn@temp\relax + \global\svn@modifiedtrue + \else + \global\svn@modifiedfalse + \fi + \fi +} +\def\svnkwdef@Author#1{\svnkwdef@{Author}{#1}} +\def\svnkwdef@Date#1{\svnkwdef@{Date}{#1}} +\def\svnkwdef@URL#1{\svnkwdef@{HeadURL}{#1}} +\let\svnkwdef@Revision=\svnkwdef@Rev +\let\svnkwdef@LastChangedRevision=\svnkwdef@Rev +\let\svnkwdef@LastChangedBy=\svnkwdef@Author +\let\svnkwdef@LastChangedDate=\svnkwdef@Date +\def\svnkwRevision{\svnkwRev} +\def\svnkwLastChangedRevision{\svnkwRev} +\def\svnkwLastChangedBy{\svnkwAuthor} +\def\svnkwLastChangedDate{\svnkwDate} +\def\svnkwURL{\svnkwHeadURL} + +\svnkwdef{Rev}{0} +\svnkwdef{Date}{} +\svnkwdef{Author}{} +\svnkwdef{Filename}{} +\svnkwdef{HeadURL}{} + +\newcommand{\svnkw}[1]{% + \@ifundefined{svnkw#1}% + {\PackageWarning{svn-multi}{SVN keyword '#1' not defined (typo?)}}% + {\csname svnkw#1\endcsname}% +}% + +\def\svn@checkcolon#1:#2\relax{% + \svn@ifempty{#2}% + {\svnkwdef{#1}{}}% + {\svn@stripcolon#2\relax\svnkwdef{#1}{\svn@value}}% +} + +\def\svn@stripcolon#1:\relax{% + \svn@ifempty{#1}% + {\gdef\svn@value{}}% + {\svn@ifequal{#1}{ }% + {\gdef\svn@value{}}% + {\svn@stripspace#1\relax\relax}% + }% +} + +\def\svn@stripspace#1#2\relax{% + \svn@ifequal{#1}{ }% + {\gdef\svn@value{#2}}% + {\svn@striptrailingspace#1#2\relax}% +} + +\def\svn@striptrailingspace#1 \relax{% + \gdef\svn@value{#1}% +} + +\def\svn@gdefverb#1{% + \begingroup + \def\svn@temp{#1}% + \begingroup + \if@svnmulti@verbatim + \svn@catcodes + \fi + \svn@gdefverb@ +} + +\def\svn@gdefverb@#1{% + \endgroup + \expandafter\gdef\svn@temp{#1}% + \endgroup +} + +\def\svn@namegdefverb#1{% + \begingroup + \expandafter\def + \expandafter\svn@temp + \expandafter{\csname #1\endcsname}% + \begingroup + \if@svnmulti@verbatim + \svn@catcodes + \fi + \svn@gdefverb@ +} + +\def\@svn@scandate#1{\@svn@scandate@#1\relax} + +\def\@svn@scandate@#1-#2-#3 #4:#5:#6#7#8\relax{% + \gdef\svnfileyear{#1}% + \gdef\svnfilemonth{#2}% + \gdef\svnfileday{#3}% + \gdef\svnfilehour{#4}% + \gdef\svnfileminute{#5}% + \gdef\svnfilesecond{#6#7}% + \gdef\svnfiletimezonehour{+00}% + \gdef\svnfiletimezoneminute{00}% #8 always 'Z' for Zulu-time (UTC) +} + +\def\@svn@scanlongdate#1{\expandafter\@svn@scanlongdate@#1\relax} +\def\@svn@scanlongdate@#1-#2-#3 #4:#5:#6 #7 #8\relax{% + \gdef\svnfileyear{#1}% + \gdef\svnfilemonth{#2}% + \gdef\svnfileday{#3}% + \gdef\svnfilehour{#4}% + \gdef\svnfileminute{#5}% + \gdef\svnfilesecond{#6}% + \@svn@parsetimezone#7\relax% +} + +\def\@svn@parsetimezone#1#2#3#4#5\relax{% + \gdef\svnfiletimezonehour{#1#2#3}% + \gdef\svnfiletimezoneminute{#4#5}% +} + +\def\svnpdfdate{% + \svnyear\svnmonth\svnday + \svnhour\svnminute\svnsecond\svntimezonehour'\svntimezoneminute'% +} + +\newcommand{\svnsetmainfile}{% + \xdef\svnmainurl{\svnfileurl}% + \xdef\svnmainfilename{\svnfilefname}% +} +\AtBeginDocument{\svnsetmainfile} + +\newcommand{\svnRegisterAuthor}[2]{% + \expandafter\def\csname svn@author@#1\endcsname{#2}% +} + +\newcommand{\svnFullAuthor}{% + \@ifnextchar{*}% + {\svnFullAuthor@star}% + {\svnFullAuthor@normal}% +}% +\def\svnFullAuthor@star*#1{% + \edef\svn@temp{#1}% + \svnFullAuthor@{\svn@temp}{~(\svn@temp)}% +}% +\def\svnFullAuthor@normal#1{% + \edef\svn@temp{#1}% + \svnFullAuthor@{\svn@temp}{}% +}% +\def\svnFullAuthor@#1#2{% + \@ifundefined{svn@author@#1}% + {#1}% + {\csname svn@author@#1\endcsname #2}% +} + +\newcommand{\svnRegisterRevision}[2]{% + \expandafter\def\csname svn@revision@#1\endcsname{#2}% +} + +\newcommand{\svnFullRevision}{% + \@ifnextchar{*}% + {\svnFullRevision@star}% + {\svnFullRevision@normal}% +} +\def\svnFullRevision@star*#1{% + \edef\svn@temp{#1}% + \svnFullRevision@{\svn@temp}{~(r\svn@temp)}% +} +\def\svnFullRevision@normal#1{% + \edef\svn@temp{#1}% + \svnFullRevision@{\svn@temp}{}% +} +\def\svnFullRevision@#1#2{% + \@ifundefined{svn@revision@#1}% + {Revision #1}% + {\csname svn@revision@#1\endcsname #2}% +} + +\if@svnmulti@filehooks + +\RequirePackage{fink}[2008/02/27] +\begingroup +\def\svn@finkerror{% +\PackageError{svn-multi}{Your installed version of the 'fink' package does not +provide the needed macros. It is either too old or too new. +Try a different version, e.g. v2.1.1 from 2008/02/27}{}% +\let\svn@finkerror\relax +} +\@ifundefined{finkpath}{\svn@finkerror}{}% +\@ifundefined{finkdir}{\svn@finkerror}{}% +\@ifundefined{finkbase}{\svn@finkerror}{}% +\@ifundefined{fink@prepare}{\svn@finkerror}{}% +\@ifundefined{fink@restore}{\svn@finkerror}{}% +\@ifundefined{fnk@maindir}{\svn@finkerror}{}% +\@ifundefined{fnk@mainext}{\svn@finkerror}{}% +\endgroup + +\def\svn@removedotslash#1{% + \def\svn@removedotslash@##1##2##3\relax{% + \svn@ifequal{./}{##1##2}% + {\def\next{\svn@removedotslash@##3\empty\empty\empty\relax}}% + {\xdef#1{##1##2##3}\let\next\relax}% + \next + }% + \expandafter\svn@removedotslash@#1\empty\empty\empty\relax +} + +\let\svn@mainext\fnk@mainext +\let\svn@maindir\fnk@maindir +\svn@removedotslash\svn@maindir +\edef\svn@filebase{\jobname}% +\edef\svn@fileext{\svn@mainext}% +\edef\svn@filedir{\svn@maindir}% +\def\svn@filename{\fink@file\svn@filebase\svn@fileext}% +\def\svn@filepath{\svn@filedir\svn@filename}% + +\def\svnmulti@begininputfilehook{} +\message{Package svn-multi: patching macro '\string\fink@prepare' from the +'fink' package!}% +\let\svnmulti@fink@prepare\fink@prepare +\renewcommand*{\fink@prepare}[1]{% + \svnmulti@fink@prepare{#1}% + \svn@pushfilestack + \if@svnmulti@groups + \svn@ifequal{\svn@filepath}{\jobname.\svn@mainext}% + {\xdef\svn@pg{\svn@g}}% + {\xdef\svn@pg{\svn@filedir\svn@filebase}}% + \fi + \xdef\svn@filebase{\fink@nextbase}% + \xdef\svn@fileext{\fink@nextext}% + \xdef\svn@filedir{\fink@nextdir}% + \svn@removedotslash\svn@filedir + \svnmulti@begininputfilehook +}% + +\def\svnmulti@endinputfilehook{} +\message{Package svn-multi: patching macro '\string\fink@restore' from the +'fink' package!}% +\let\svnmulti@fink@restore\fink@restore +\def\fink@restore#1{% + \svnmulti@endinputfilehook + \svnmulti@fink@restore{#1}% + \svn@popfilestack + \xdef\svn@filebase{\finkbase}% + \xdef\svn@fileext{\finkext}% + \xdef\svn@filedir{\finkdir}% + \svn@removedotslash\svn@filedir +}% + +\def\svnmulti@atbegininputfile{% + \g@addto@macro\svnmulti@begininputfilehook +} + +\long\def\svnmulti@atendinputfile#1{% + \begingroup + \@temptokena\expandafter{\svnmulti@endinputfilehook}% + \toks@{#1}% + \xdef\svnmulti@endinputfilehook{\the\toks@\the\@temptokena}% + \endgroup +} + +\def\svn@filestack{{}} + +\def\svn@pushfilestack{% + \xdef\svn@filestack{{% + {\svnfilerev}% + {\svnfiledate}% + {\svnfileauthor}% + {\svnfileyear}% + {\svnfilemonth}% + {\svnfileday}% + {\svnfilehour}% + {\svnfileminute}% + {\svnfilesecond}% + {\svnfiletimezonehour}% + {\svnfiletimezoneminute}% + {\svnfileurl}% + {\svnfilefname}% + {\svn@g}% + {\svn@pg}% + {\ifsvnfilemodified{@firstoftwo}{@secondoftwo}}% + }\svn@filestack}% +} + +\def\svn@restorefilekws#1#2\relax{% + \svn@restorefilekws@#1\empty + \empty \empty \empty \empty + \empty \empty \empty \empty + \empty \empty \empty \empty \empty + \svn@ifempty{#2}% + {\gdef\svn@filestack{{}}}% + {\gdef\svn@filestack{#2}}% +} +\def\svn@restorefilekws@#1#2#3#4#5#6#7#8#9{% + \gdef\svnfilerev{#1}% + \gdef\svnfiledate{#2}% + \gdef\svnfileauthor{#3}% + \gdef\svnfileyear{#4}% + \gdef\svnfilemonth{#5}% + \gdef\svnfileday{#6}% + \gdef\svnfilehour{#7}% + \gdef\svnfileminute{#8}% + \gdef\svnfilesecond{#9}% + \svn@restorefilekws@@ +} + +\def\svn@restorefilekws@@#1#2#3#4#5#6#7{% + \gdef\svnfiletimezonehour{#1}% + \gdef\svnfiletimezoneminute{#2}% + \gdef\svnfileurl{#3}% + \gdef\svnfilefname{#4}% + \gdef\svn@g{#5}% + \gdef\svn@pg{#6}% + \expandafter\global\expandafter\let + \expandafter\ifsvnfilemodified\csname#7\endcsname% +} + +\def\svn@popfilestack{% + \ifx\svn@filestack\empty + \PackageWarning{svn-multi}{Underflow of file keyword stack!}% + \else + \svn@ifequal{\svn@filestack}{{}}% + {\PackageWarning{svn-multi}{Underflow of file keyword stack!}}% + {\expandafter\svn@restorefilekws\svn@filestack\relax}% + \fi +} + + +\fi + +\if@svnmulti@groups +\let\svn@glist=\empty + +\def\svngroup#1{% + \svn@ifequal{#1}{*}% + {\PackageError{svn-multi}% + {The group name '*' is invalid for '\string\svngroup'}{}{}% + }{}% + \xdef\svn@g{#1}% + \let\svn@pg\svn@g + \ifx\svn@g\empty\else% + \expandafter + \ifx\csname @svng@\svn@g @rev\endcsname\relax% + \svn@initgroup{\svn@g}% + \ifx\svn@glist\empty + \xdef\svn@glist{#1}% + \else + \xdef\svn@glist{\svn@glist,#1}% + \fi + \fi + \fi +} + +\def\thesvngroup{\svn@g} + +\def\svnsetcg#1{% + \svn@ifequal{#1}{*}% + {\def\svn@cg{\svn@g}}% + {\def\svn@cg{#1}}% +} + +\def\svncg@def#1{% + \expandafter + \def\csname svncg#1\endcsname{% + \@ifundefined{svng@\svn@cg @#1}{??}{% + \csname svng@\svn@cg @#1\endcsname}% + }% +} + +\@for\@tempa:=% + rev,author,date,year,month,day,hour,minute,second,% + timezonehour,timezoneminute,url,fname% +\do{% + \expandafter\svncg@def\expandafter{\@tempa}% +} + +\def\thesvncg{\svn@cg} + +\def\svng#1#2{% + \@ifundefined{svng@\svn@temp @#2}% + {??}% + {\csname svng@\svn@temp @#2\endcsname}% +} + +\def\svn@addfiletogroup#1#2{% + \expandafter + \ifx\csname @svng@#2@files@#1\endcsname\relax% + \expandafter\gdef\csname @svng@#2@files@#1\endcsname{1}% + % + \@ifundefined{@svng@#2@files}% + {\expandafter\xdef\csname @svng@#2@files\endcsname{#1}}% + {\expandafter\xdef\csname @svng@#2@files\endcsname{% + \csname @svng@#2@files\endcsname,#1% + }% + }% + \fi +} + +\svnmulti@atbegininputfile{% + \svn@ifequal{\svn@filepath}{\svn@maindir\jobname.\svn@mainext}% + {}% + {\svn@initfile}% + \svn@ifequal{\svn@fileext}{\svn@mainext}% + {\svn@addfiletogroup{\svn@filedir\svn@filebase}{\svn@pg}}{}% + \svn@ifequal{\svn@fileext}{sty}% + {\svn@addfiletogroup{\svn@filedir\svn@filebase}{\svn@pg}}{}% + \svn@ifequal{\svn@fileext}{cls}% + {\svn@addfiletogroup{\svn@filedir\svn@filebase}{\svn@pg}}{}% + \svn@addfiletogroup{\svn@filepath}{\svn@filedir\svn@filebase}% +} + +\def\svn@writegroup#1{% + \def\svn@writekw##1{% + \immediate\write\svn@write{% + \noexpand\@namedef{svng@#1@##1}{\csname @svng@#1@##1\endcsname}% + }% + }% + \svn@writekw{rev}% + \svn@writekw{date}% + \svn@writekw{author}% + \svn@writekw{year}% + \svn@writekw{month}% + \svn@writekw{day}% + \svn@writekw{hour}% + \svn@writekw{minute}% + \svn@writekw{second}% + \svn@writekw{timezonehour}% + \svn@writekw{timezoneminute}% + \@ifundefined{@svng@#1@files}{}{% + \immediate\write\svn@write{% + \noexpand + \svn@namegdefverb{svng@#1@files}{\csname @svng@#1@files\endcsname}% + }% + }% + \immediate\write\svn@write{% + \noexpand + \svn@namegdefverb{svng@#1@url}{\csname @svng@#1@url\endcsname}^^J% + \noexpand + \svn@namegdefverb{svng@#1@fname}{\csname @svng@#1@fname\endcsname}^^J% + }% +} +\def\svn@writeallgroups#1{% + \begingroup + \ifx\relax#1\relax\else + \@for\svn@temp:=#1\do{% + \svn@ifvalidrev{@svng@\svn@temp @rev}% + {% + \expandafter + \svn@cleanfilelist\csname @svng@\svn@temp @files\endcsname + \svn@writegroup{\svn@temp}% + \@ifundefined{@svng@\svn@temp @files}{}% + {\expandafter\svn@writeallgroups + \csname @svng@\svn@temp @files\endcsname + }% + }{}% + }% + \fi + \endgroup +} + +\def\svn@updategroup#1{% + \@ifundefined{@svng@#1@rev}% + {\svn@initgroup{#1}}% + {}% + \expandafter + \ifnum\csname @svng@#1@rev\endcsname<\svnfilerev + \svn@gkwset{#1}{rev}{\svnfilerev}% + \svn@gkwset{#1}{date}{\svnfiledate}% + \svn@gkwset{#1}{author}{\svnfileauthor}% + \svn@gkwset{#1}{year}{\svnfileyear}% + \svn@gkwset{#1}{month}{\svnfilemonth}% + \svn@gkwset{#1}{day}{\svnfileday}% + \svn@gkwset{#1}{hour}{\svnfilehour}% + \svn@gkwset{#1}{minute}{\svnfileminute}% + \svn@gkwset{#1}{second}{\svnfilesecond}% + \svn@gkwset{#1}{timezonehour}{\svnfiletimezonehour}% + \svn@gkwset{#1}{timezoneminute}{\svnfiletimezoneminute}% + \svn@gkwset{#1}{url}{\svnfileurl}% + \svn@gkwset{#1}{fname}{\svnfilefname}% + \fi +} + +\def\svn@definegroup#1{% + \svn@gkwdef{#1}{rev}% + \svn@gkwdef{#1}{date}% + \svn@gkwdef{#1}{author}% + \svn@gkwdef{#1}{year}% + \svn@gkwdef{#1}{month}% + \svn@gkwdef{#1}{day}% + \svn@gkwdef{#1}{hour}% + \svn@gkwdef{#1}{minute}% + \svn@gkwdef{#1}{second}% + \svn@gkwdef{#1}{timezonehour}% + \svn@gkwdef{#1}{timezoneminute}% + \svn@gkwdef{#1}{url}% + \svn@gkwdef{#1}{fname}% +} + +\def\svn@initgroup#1{% + \svn@gkwset{#1}{rev}{\svn@revinit}% + \svn@gkwset{#1}{date}{}% + \svn@gkwset{#1}{author}{}% + \svn@gkwset{#1}{year}{0000}% + \svn@gkwset{#1}{month}{00}% + \svn@gkwset{#1}{day}{00}% + \svn@gkwset{#1}{hour}{00}% + \svn@gkwset{#1}{minute}{00}% + \svn@gkwset{#1}{second}{00}% + \svn@gkwset{#1}{timezonehour}{+00}% + \svn@gkwset{#1}{timezoneminute}{00}% + \svn@gkwset{#1}{url}{}% + \svn@gkwset{#1}{fname}{}% +} + +\def\svn@gkwset#1#2#3{% + \expandafter + \xdef\csname @svng@#1@#2\endcsname{#3}% +} + +\def\svn@gkwdef#1#2{% + \expandafter + \xdef\csname svng@#1@#2\endcsname{\csname @svng@#1@#2\endcsname}% +} + +\def\svn@cleanfilelist#1{ + \begingroup + \def\svn@tmplist{}% + \ifx\relax#1\relax\else + \@for\svn@temp:=#1\do{% + \expandafter\svn@ifvalidrev + \expandafter{@svng@\svn@temp @rev}% + {\edef\svn@tmplist{\svn@tmplist,\svn@temp}}% + {}% + }% + \xdef#1{\expandafter\@gobble\svn@tmplist\empty}% + \fi + \endgroup +} + +\fi + + +\newif\ifsvnsubgroups +\svnsubgroupsfalse + +\if@svnmulti@subgroups +\svnsubgroupstrue + +\def\svnsubgroup{% + \begingroup + \svn@removedotslash\svn@filedir + \svn@subgroup{\svn@filedir\svn@filebase}% + \svn@subgroup{\svn@filepath}% + \endgroup +} + +\def\svn@subgroup#1{% + \ifnum\svnfilerev=\svn@revinit\else + \expandafter\ifx\csname svn@g@#1\endcsname\relax% + \expandafter\gdef\csname svn@g@#1\endcsname{1}% + \svn@updategroup{#1}% + \fi + \fi +} + +\def\svnignoreextensions#1{% + \@for\svn@temp:=#1\do{% + \expandafter\def\csname svn@ignore@ext@\svn@temp\endcsname{}% + }% +} + +\def\svnconsiderextensions#1{% + \@for\svn@temp:=#1\do{% + \expandafter\let\csname svn@ignore@ext@\svn@temp\endcsname\relax% + }% +} + +\svnignoreextensions{aux,bbl,fd,enc,fls,glo,idx,ilg,ind,ist,% +lof,log,lot,out,svn,svt,svx,toc} + +\svnmulti@atendinputfile{% + \if@svnmulti@subgroups + \ifsvnsubgroups + \expandafter\ifx\csname svn@ignore@ext@\svn@fileext\endcsname\relax + \svnsubgroup + \fi + \fi + \fi +} + +\if@svnmulti@subgroups + \ifsvnsubgroups + \svn@addfiletogroup{\jobname .\svn@mainext}{\jobname}% + \svnsubgroup + \fi +\fi +\AtBeginDocument{% + \if@svnmulti@subgroups + \ifsvnsubgroups + \@ifundefined{@svng@\svn@g @files@\jobname}% + {% + \@namedef{@svng@\svn@g @files@\jobname}{1}% + \@ifundefined{@svng@\svn@g @files}% + {% + \expandafter + \xdef\csname @svng@\svn@g @files\endcsname{\jobname}% + }% + {% + \expandafter + \xdef\csname @svng@\svn@g @files\endcsname + {\jobname,\csname @svng@\svn@g @files\endcsname}% + }% + }{}% + \svnsubgroup + \fi + \fi +} + +\fi + +\if@svnmulti@external + +\if@svnmulti@groups +\def\svnexternalgroup#1{% + \svn@ifequal{#1}{*}% + {\def\svn@externalgroup{\svn@pg}}% + {\def\svn@externalgroup{#1}}% +} +\def\svn@externalgroup{\svn@pg} +\else +\def\svn@externalgroup{} +\fi + +\if@svnmulti@autokw +\newcommand*\svnexternal[2][]{% + \svn@pushfilestack + \svn@ifequal{#1}{*}% + {\edef\svn@eg{\svn@pg}}% + {\svn@ifempty{#1}% + {\edef\svn@eg{\svn@externalgroup}}% + {\edef\svn@eg{#1}}% + }% + \svne@@external#2\relax + \svn@popfilestack +} + +\def\svne@@external#1{% + \ifx\relax#1\empty\else + \svnegetfile{#1}% + \begingroup\svn@externalfile{\svn@eg}{#1}% + \expandafter\svne@@external + \fi +} +\else +\newcommand*\svnexternal[2][]{% + \if@filesw + \svn@checkwrite + \begingroup + \svn@ifequal{#1}{*}% + {\def\svn@temp{\svn@pg}}% + {\svn@ifempty{#1}% + {\def\svn@temp{\svn@externalgroup}}% + {\def\svn@temp{#1}}% + }% + \immediate\write\svn@write{% + \noexpand\@svnexternal[\svn@temp]{\svn@filepath}{#2}% + }% + \endgroup + \fi + \svn@inputsvx{\svn@filedir\svn@filebase}% +} +\fi + +\def\svnexternalpath#1{% + \if@filesw + \svn@checkwrite + \immediate\write\svn@write{% + \noexpand\@svnexternalpath{#1}% + }% + \fi +} + +\newcommand*\@svnexternal[3][]{} +\def\@svnexternalpath#1{} + +\newcommand*\svnexternalfile[1][\svn@filedir\svn@filebase]{% + \begingroup % TODO: maybe use \svn@catcodes + \catcode`\_=12 + \catcode`\&=12 + \catcode`\^=12 + \catcode`\$=12 + \catcode`\#=12 + \svn@externalfile{#1}% +} + +\def\svn@externalfile#1#2{% + \endgroup + \if@svnmulti@subgroups + \ifsvnsubgroups + \svn@ifequal{#1}{\svn@rg}% + {\svn@addfiletogroup{#2}{\svn@filedir\svn@filebase}}% + {\svn@addfiletogroup{#2}{#1}}% + \svn@subgroup{#2}% + \fi + \fi +} + +\else + \def\svnexternalfile#1{}% +\fi + +\if@svnmulti@autoload + +\svnmulti@atbegininputfile{% + \svn@ifequal{\svn@fileext}{tex}% + {\svn@inputsvx{\svn@filedir\svn@filebase}}% + {}% +} + +%%\AtEndOfPackage{% +\AtBeginDocument{% + \svn@inputsvx{\jobname}% +} + +\fi + + +\if@svnmulti@anygraphic + +\def\svngraphicsgroup#1{% + \svn@ifequal{#1}{*}% + {\def\svn@graphicsgroup{\svn@pg}}% + {\def\svn@graphicsgroup{#1}}% +} +\def\svn@graphicsgroup{\svn@externalgroup} + +\def\svnignoregraphic#1{% + \expandafter\def\csname svn@ignoregraphic@#1\endcsname{}% +} + +\def\svnconsidergraphic#1{% + \expandafter\let\csname svn@ignoregraphic@#1\endcsname\relax% +} + +\fi + +\if@svnmulti@graphics +\RequirePackage{graphics}[2006/02/20] + +\message{Package svn-multi: patching macro '\string\Gin@setfile' from the +'graphics' package!}% +\let\svnmulti@Gin@setfile\Gin@setfile +\renewcommand*{\Gin@setfile}[3]{% + \expandafter\ifx\csname svn@ignoregraphic@#3\endcsname\relax% + \svnexternal[\svn@graphicsgroup]{{#3}}% + \fi + \svnmulti@Gin@setfile{#1}{#2}{#3}% +} + +\fi + +\if@svnmulti@pgfimages +\RequirePackage{pgf}[2008/01/15] + +\message{Package svn-multi: patching macro '\string\pgf@declareimage' and will +patch generated macros '\string\pgf@image@!' from the 'pgf' package!}% +\let\svnmulti@pgf@declareimage\pgf@declareimage +\renewcommand*{\pgf@declareimage}[3][]{% + \svnmulti@pgf@declareimage[#1]{#2}{#3}% + \ifx\pgf@filename\empty\else + \expandafter\ifx\csname svn@ignoregraphic@\pgf@filename\endcsname\relax% + \expandafter\global\expandafter% + \let\csname svnmulti@pgf@image@#2!\endcsname=\pgf@image% + \expandafter\xdef\csname pgf@image@#2!\endcsname{% + \noexpand\svnexternal[\noexpand\svn@graphicsgroup]{{\pgf@filename}}% + \csname svnmulti@pgf@image@#2!\endcsname + }% + \fi + \fi +} +\fi +\if@svnmulti@table +\ifx\tableofcontents\relax\else +\def\svnrevisionsname{Table of Revisions}% +\def\svn@svt{svt} + +\AtBeginDocument{% +\ifx\chapter\relax + \let\chapter\@undefined +\fi +\ifx\chapter\@undefined + +%% Adapted from the \tableofcontents macro, LaTeX `article' class [2005/09/16] +\newcommand\tableofrevisions{% + \section*{\svnrevisionsname + \@mkboth{\MakeUppercase\svnrevisionsname}{\MakeUppercase\svnrevisionsname}}% + \svn@input{\jobname .\svn@svt}% +} + +\else + +%% Adapted from the \tableofcontents macro, LaTeX `book' class [2005/09/16] +\newcommand\tableofrevisions{% + \expandafter\ifx + \csname if@twocolumn\expandafter\endcsname + \csname iftrue\endcsname + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \chapter*{\svnrevisionsname + \@mkboth{\MakeUppercase\svnrevisionsname}{\MakeUppercase\svnrevisionsname}}% + \svn@input{\jobname .\svn@svt}% + \expandafter\ifx + \csname if@restonecol\expandafter\endcsname + \csname iftrue\endcsname + \twocolumn + \fi +} + +\fi +} +\fi % defined \tableofcontents + +\def\svn@writerow#1#2#3{% + \immediate\write\svn@svtwrite{% + \expandafter\noexpand\csname svn#1row\endcsname + \expandafter\noexpand\csname svntab#1\endcsname{#2}{#3}\space + \@ampersamchar\space + \svn@tabcell{rev}\space\@ampersamchar\space + \svn@tabcell{author}\space\@ampersamchar\space + \noexpand\svntabdate% + \svn@tabcellarg{year}% + \svn@tabcellarg{month}% + \svn@tabcellarg{day}% + \svn@tabcellarg{hour}% + \svn@tabcellarg{minute}% + \svn@tabcellarg{second}% + \svn@tabcellarg{timezonehour}% + \svn@tabcellarg{timezoneminute}% + \space\@backslashchar\@backslashchar + \expandafter\noexpand\csname endsvn#1row\endcsname + }% +} + +\def\svn@writegrouprow#1{% + \begingroup + \def\svn@tabcellarg##1{{\csname @svng@#1@##1\endcsname}}% + \def\svn@tabcell##1{\expandafter\noexpand\csname svntab##1\endcsname% + \svn@tabcellarg{##1}% + }% + \svn@writerow{group}{#1}{}% + \endgroup +} + +\def\svn@writesubgrouprow#1#2{% + \begingroup + \def\svn@tabcellarg##1{{\csname @svng@#2@##1\endcsname}}% + \def\svn@tabcell##1{\expandafter\noexpand\csname svntab##1\endcsname% + \svn@tabcellarg{##1}% + }% + \svn@writerow{subgroup}{#1}{#2}% + \endgroup +} + +\def\svn@writefilerow#1#2{% + \begingroup + \def\svn@tabcellarg##1{{\csname @svng@#2@##1\endcsname}}% + \def\svn@tabcell##1{\expandafter\noexpand\csname svntab##1\endcsname% + \svn@tabcellarg{##1}% + }% + \svn@writerow{file}{#1}{#2}% + \endgroup +} + +\def\svn@writeglobalrow{% + \begingroup + \def\svn@tabcellarg##1{{\csname @svn@##1\endcsname}}% + \def\svn@tabcell##1{\expandafter\noexpand\csname svntab##1\endcsname% + \svn@tabcellarg{##1}% + }% + \svn@writerow{global}{}{}% + \endgroup +} + +\def\svntable{% + \begin{tabular}{p{0.425\textwidth}rll}% + \hline +} +\def\endsvntable{\hline\end{tabular}} + +\def\svntablehead{% + Name & Rev & Last Author & Last Changed At \\\hline +} +\def\svntablefoot{} + +\def\svnbeforetable{} +\def\svnaftertable{\clearpage} + +\def\svnglobalrow{} +\def\endsvnglobalrow{} +\def\svngrouprow{} +\def\endsvngrouprow{} +\def\svnsubgrouprow{} +\def\endsvnsubgrouprow{} +\def\svnfilerow{} +\def\endsvnfilerow{} + +\def\svntabglobal{Document} +\def\svntabgroup#1{Group `#1'} + +\def\svntabsubgroup#1{% + \raggedright + \addtolength{\leftskip}{#1\medskipamount}% + \begingroup + \catcode`\_=12 + \catcode`\&=12 + \catcode`\^=12 + \catcode`\$=12 + \catcode`\#=12 + \svn@tabsubgroup +} +\def\svn@tabsubgroup#1{\endgroup Subgroup `\texttt{\small #1}'} + +\def\svntabfile#1{% + \raggedright + \addtolength{\leftskip}{#1\medskipamount}% + \begingroup + \catcode`\_=12 + \catcode`\&=12 + \catcode`\^=12 + \catcode`\$=12 + \catcode`\#=12 + \svn@tabfile +} +\def\svn@tabfile#1{\endgroup File `\texttt{\small #1}'} + +\def\svntabrev{} +\def\svntabauthor#1{\svnFullAuthor{#1}} +\def\svntabdate#1#2#3#4#5#6#7#8{% + #1-#2-#3 #4:#5:#6% #7#8% +} + +\fi + +\newcommand{\svn}{\@ifnextchar{*}{\svn@s}{\svn@n}} +\def\svn@n#1{\@svn@n#1} +\def\svn@s*#1{\@svn@s#1} +\def\@svn@n$#1${#1} +\def\@svn@s$#1 ${#1} + +%% Adapted from the \url macro of the `hyperref` package. +\DeclareRobustCommand*{\svnnolinkurl}{% + \@ifundefined{hyper@normalise}% + {\PackageWarning{svn-multi}{Package hyperref is needed for \noexpand + \svnnolinkurl.}}% + {\hyper@normalise\svnnolinkurl@}% +}% +\def\svnnolinkurl@#1{\Hurl{#1}}% + +\def\svn@getfilename#1{% + \begingroup + \gdef\svnfiledir{}% + \edef\svn@temp{#1}% + \expandafter\@svn@getfilename\svn@temp/{}\relax +}% + +\def\@svn@getfilename#1/#2\relax{% + \svn@ifempty{#2}% + {% + \endgroup + \gdef\svnfilefname{#1}% + }% + {% + \xdef\svnfiledir{\svnfiledir#1/}% + \@svn@getfilename#2\relax + }% +}% + +\@input{\jobname .svn} + +\def\svn@checkwrite{% + \@ifundefined{svn@write}{% + \newwrite\svn@write + \immediate\openout\svn@write=\jobname.svn\relax% + \immediate\write\svn@write{\@percentchar\space SVN Keyword cache}% + %\immediate\write\svn@write{\noexpand\makeatletter}% + }{}% + \let\svn@checkwrite=\relax +} +{\catcode`\&=12 +\gdef\@ampersamchar{&} +} +\def\svn@writesvn{% + \if@svnmulti@groups + \fi + \svn@checkwrite + \immediate\write\svn@write{^^J% + \@percentchar\space Global values:^^J% + \noexpand\def\noexpand\svnrev{\@svn@rev}^^J% + \noexpand\let\noexpand\ifsvnmodified\@backslashchar\@svn@modified^^J% + \noexpand\def\noexpand\svndate{\@svn@date}^^J% + \noexpand\def\noexpand\svnauthor{\@svn@author}^^J% + \noexpand\def\noexpand\svnyear{\@svn@year}^^J% + \noexpand\def\noexpand\svnmonth{\@svn@month}^^J% + \noexpand\def\noexpand\svnday{\@svn@day}^^J% + \noexpand\def\noexpand\svnhour{\@svn@hour}^^J% + \noexpand\def\noexpand\svnminute{\@svn@minute}^^J% + \noexpand\def\noexpand\svnsecond{\@svn@second}^^J% + \noexpand\def\noexpand\svntimezonehour{\@svn@timezonehour}^^J% + \noexpand\def\noexpand\svntimezoneminute{\@svn@timezoneminute}^^J% + \noexpand\svn@gdefverb\noexpand\svnurl{\@svn@url}^^J% + \noexpand\svn@gdefverb\noexpand\svnfname{\@svn@fname}^^J% + }% + \if@svnmulti@groups + \svn@cleanfilelist\@svng@@files + \immediate\write\svn@write{% + \noexpand\def\noexpand\svng@@files{\@svng@@files}^^J% + }% + \svn@writeallgroups\@svng@@files + \ifx\svn@glist\empty\else + \begingroup + \immediate\write\svn@write{^^J% + \@percentchar\space SVN File Groups: \svn@glist + }% + \svn@writeallgroups\svn@glist + \endgroup + \fi + \else + \immediate\write\svn@write{^^J}% + \fi + \immediate\closeout\svn@write% +} + +\def\svn@writegroupfiles#1{% + \begingroup + \advance\svn@grouplevel by 1\relax + \expandafter\let + \expandafter\svn@files\csname @svng@#1@files\endcsname + \ifx\svn@files\relax\else + \svn@cleanfilelist\svn@files + \@for\svn@file:=\svn@files\do{% + \svn@ifvalidrev{@svng@\svn@file @rev}% + {% + \@ifundefined{@svng@\svn@file @files}% + {\svn@writefilerow{\the\svn@grouplevel}{\svn@file}}% + {\svn@ifonlyone{\svn@file}% + {\svn@writefilerow{\the\svn@grouplevel}% + {\csname @svng@\svn@file @files\endcsname}}% + {\svn@ifempty{\csname @svng@\svn@file @files\endcsname}% + {}% + {% + \svn@writesubgrouprow{\the\svn@grouplevel}{\svn@file}% + \svn@writegroupfiles{\svn@file}% + }% + }% + }% + }{}% + }% + \fi + \endgroup +}% + +\def\svn@writesvt{% + \if@svnmulti@table + \newwrite\svn@svtwrite + \immediate\openout\svn@svtwrite=\jobname.\svn@svt\relax + \@onelevel@sanitize\svntable% + \immediate\write\svn@svtwrite{% + \noexpand\svnbeforetable^^J% + \svntable + \noexpand\svntablehead^^J% + }% + \let\svn@grouplevel\@tempcnta + \svn@grouplevel=0\relax + \svn@writeglobalrow{}% + \svn@writegroupfiles{}% + \@for\svn@g:=\svn@glist\do{% + \@ifundefined{@svng@\svn@g @rev}{}% + {% + \expandafter + \ifnum\csname @svng@\svn@g @rev\endcsname>0\relax + \svn@writegrouprow{\svn@g}% + \svn@writegroupfiles{\svn@g}% + \fi + }% + }% + + \@onelevel@sanitize\endsvntable% + \immediate\write\svn@svtwrite{% + \noexpand\svntablefoot^^J% + \endsvntable^^J% + \noexpand\svnaftertable + }% + \immediate\closeout\svn@svtwrite% + \fi +} + +\if@svnmulti@autokwall + +\svnmulti@atbegininputfile{% + \expandafter + \ifx\csname svn@ignore@ext@\svn@fileext\endcsname\relax + \svnegetfile{\svn@filepath}% + \fi +} + +\fi + +\AtEndDocument{% + \if@filesw + \ifx\@svn@rev\empty\else + \ifnum\@svn@rev<1\else + \svn@writesvn + \svn@writesvt + \fi + \fi + \fi +} +\endinput +%% +%% End of file `svn-multi.sty'. diff --git a/branches/candidate/todos.tex b/branches/candidate/todos.tex new file mode 100644 index 0000000..94967fb --- /dev/null +++ b/branches/candidate/todos.tex @@ -0,0 +1,21 @@ +{\bf Todo Lists}: +\begin{longtable}{|c|l|l|p{330px}|} + \hline + \textbf{Mark} & \textbf{Author} &\textbf{Date} & \textbf{Description}\\ + \hline + & + cshih & + 2017-03-10-10:54 & Start to write + \\ + \hline + & cshih & 2017-03-10-10:54 & Replace thesis to paper/works + \\ + \hline + & Ginger & 2017-03-18-13:30 & Questions:\\ + &&&1. Data exchange detail between server, routers, and users\\ + &&&2. Network topology\\ + &&&3. What Gaussian distribution means in random allocate.\\ + &&&4. Both and Condition mean?\\ + \hline + +\end{longtable}