Commit 6b44496923dbb447b3fd7aae1e825b837245ff03

Authored by Jinghao Shi
0 parents

dumped from nens14

Showing 93 changed files with 2538 additions and 0 deletions
.gitignore 0 โ†’ 100644
  1 +++ a/.gitignore
  1 +ABSTRACT
  2 +/paper.pdf
  3 +/.xxxnote
  4 +/.draft
  5 +/.blue
  6 +*.swp
  7 +*.aux
  8 +*.log
  9 +*.out
  10 +*.bbl
  11 +*.blg
  12 +.deps
  13 +.~lock*
  14 +out
LatexMakefile 0 โ†’ 100644
  1 +++ a/LatexMakefile
  1 +# use this if you have latexmk installed.
  2 +OUTDIR=out
  3 +MODE=nonstopmode
  4 +MAIN=paper.tex
  5 +
  6 +all:
  7 + latexmk -shell-escape -xelatex -bibtex -pvc -interaction=$(MODE) -outdir=$(OUTDIR) -auxdir=$(OUTDIR) -f $(MAIN)
  8 +
  9 +clean:
  10 + latexmk -outdir=$(OUTDIR) -C
Makefile 0 โ†’ 100644
  1 +++ a/Makefile
  1 +START = xxxnote nodraft noblue
  2 +END = missing
  3 +CLASS = sig-alt-hotnetscr.cls
  4 +
  5 +all: paper ABSTRACT
  6 +
  7 +figures:
  8 + @cd figures ; make
  9 +
  10 +ABSTRACT: $(PYTEX)/bin/clean $(PYTEX)/bin/lib.py abstract.tex
  11 + @$(PYTEX)/bin/clean abstract.tex ABSTRACT
  12 +
  13 +# 16 Nov 2010 : GWA : Add other cleaning rules here.
  14 +
  15 +clean: rulesclean
  16 + @rm -f ABSTRACT
  17 +
  18 +include $(PYTEX)/make/Makerules
common.tex 0 โ†’ 100644
  1 +++ a/common.tex
  1 +% 16 Nov 2010 : GWA : Any special macros or other stuff for this particular
  2 +% paper go here.
  3 +
  4 +\newcommand{\PhoneLab}{\textsc{PhoneLab}}
  5 +\newcommand{\PS}{\textsc{PocketSniffer}}
  6 +\hyphenation{Pocket-Sniffer}
  7 +\hyphenation{Phone-Lab}
  8 +\newcommand{\wifi}{Wifi}
design.tex 0 โ†’ 100644
  1 +++ a/design.tex
  1 +\section{System Design}
  2 +\label{sec-design}
  3 +
  4 +\begin{figure}[t!]
  5 + \centering
  6 + \includegraphics[width=0.46\textwidth]{./figures/system-crop.pdf}
  7 + \vspace*{3.015mm}
  8 + \caption{\textbf{System Components}}
  9 + \label{fig:system}
  10 + \vspace*{-2.85mm}
  11 +\end{figure}
  12 +
  13 +\PS{} collects two types of measurements from clients---spectrum utilization,
  14 +and network performance and healthiness information---in two different
  15 +ways---synchronously and asynchronously. Figure~\ref{fig:system} shows
  16 +the main components of \PS{}.
  17 +
  18 +Idle smartphones can be used to improve nearby device's network performance. For
  19 +example, in Figure~\ref{fig:system}, when \PS{} AP sends synchronous query about
  20 +active device's spectrum condition, \PS{} clients, depending on device
  21 +proximity, will perform detailed spectrum measurements on behalf of nearby
  22 +devices. This information can then be feed into AP adaption algorithms for
  23 +channel assignment, rate adaption or power control.
  24 +
  25 +On other hand, to cope with rapidly-changing network environment caused by mobility,
  26 +smartphones already perform aggressive network exploration and thus naturally
  27 +generate a high-resolution flow of measurements. Harnessing this behavior for
  28 +network monitoring purpose only requires to deliver the measurements to those
  29 +who can make use of it. Besides, lightweight network performance tests can be
  30 +conducted using smartphones' idle cycles without consuming noticeable amount of
  31 +energy. All these measurements can be uploaded in a energy neutral way
  32 +asynchronously for long-term network monitoring purpose.
figures/access-point-icon.png 0 โ†’ 100644

10.7 KB

figures/figures.odg 0 โ†’ 100644
No preview for this file type
figures/laptop.png 0 โ†’ 100644

28.6 KB

figures/monitor.png 0 โ†’ 100644

35.4 KB

figures/server.png 0 โ†’ 100644

46.9 KB

figures/smartphone.png 0 โ†’ 100644

1.75 KB

figures/smartphone_1-512.png 0 โ†’ 100644

20.1 KB

figures/system-crop.pdf 0 โ†’ 100644
No preview for this file type
figures/system.pdf 0 โ†’ 100644
No preview for this file type
include/start.tex 0 โ†’ 100644
  1 +++ a/include/start.tex
  1 +\documentclass{sig-alternate-10pt}
  2 +
  3 +\usepackage[group-separator={,}]{siunitx}
  4 +\usepackage{url}
  5 +\usepackage[font=small,skip=0pt]{caption}
  6 +\usepackage{amssymb}
  7 +\setcounter{tocdepth}{3}
  8 +\usepackage{graphicx}
  9 +\usepackage{booktabs}
  10 +\usepackage{enumitem}
  11 +\usepackage{multirow}
  12 +\usepackage{hyperref}
  13 +\usepackage{color}
  14 +\usepackage{calc}
  15 +\usepackage{ulem}
  16 +\usepackage{threeparttable}
  17 +\usepackage{tabularx}
  18 +\usepackage{subcaption}
  19 +\usepackage{balance}
  20 +\usepackage{morefloats}
  21 +\usepackage{comment}
  22 +\usepackage{wrapfig}
  23 +\usepackage{leading}
  24 +
  25 +\hypersetup{%
  26 + bookmarks=true,
  27 + unicode=true,
  28 + pdftoolbar=true,
  29 + pdfmenubar=true,
  30 + pdffitwindow=true,
  31 + pdfstartview={FitV},
  32 + pdfnewwindow=true,
  33 + colorlinks=false,
  34 + pdfdisplaydoctitle=true,
  35 + pdfborder={0 0 0}
  36 +}
  37 +\usepackage[all]{hypcap}
  38 +
  39 +\usepackage[absolute]{textpos}
  40 +\setlength{\TPHorizModule}{1in}
  41 +\setlength{\TPVertModule}{1in}
  42 +\textblockorigin{0.75in}{0.875in}
  43 +
  44 +\leading{11pt}
  45 +
  46 +\setlist[itemize]{leftmargin=*,partopsep=10pt}
  47 +
  48 +\input{common.tex}
introduction.tex 0 โ†’ 100644
  1 +++ a/introduction.tex
  1 +\section{Introduction}
  2 +
  3 +\sloppypar{%
  4 + The rapid proliferation of smartphones creates both challenges and new
  5 + opportunities for wireless networks. On one hand, smartphones compete for the
  6 + same limited spectrum already crowded with other devices. On the other hand,
  7 + because smartphones are \textit{always on} but \textit{mostly idle}, they are
  8 + ideal for observing the network conditions on behalf of nearby active wireless
  9 + devices. When used for continuous network adaptation,
  10 + offloading measurements to inactive clients avoids
  11 + disturbing active sessions, a capability that has not been adequately
  12 + exploited by other systems using client-side feedback. When used for network
  13 + monitoring and debugging, smartphones provide more valuable measurements than
  14 + planned site surveys, since the data that
  15 + smartphones provide is continuous and representative of wireless conditions
  16 + experienced by users while surveys are neither. We refer to these approaches
  17 + collectively as \textbf{c}rowdsourcing \textbf{a}ccess \textbf{n}etwork
  18 + \textbf{s}pectrum \textbf{a}llocation using \textbf{s}martphones, or
  19 + \textbf{CANSAS}.
  20 +}
  21 +
  22 +We're currently developing an prototype system implementing CANSAS for \wifi{}
  23 +networks called \PS{}. It collects measurements from passive smartphones and use
  24 +them to improve network performance. \PS{} also captures the large number of
  25 +measurements made naturally by smartphones as they discover and connect to
  26 +networks---valuable data that is currently discarded.
paper.tex 0 โ†’ 100644
  1 +++ a/paper.tex
  1 +\input{./include/start.tex}
  2 +
  3 +\begin{document}
  4 +
  5 +\def\thetitle{Crowdsourcing Access Network Spectrum Allocation Using Smartphones}
  6 +\title{\thetitle}
  7 +\subtitle{Extended Abstract}
  8 +
  9 +\author{%
  10 + Jinghao Shi$^\dag$, Zhangyu Guan$^\dag$$^\S$, Chunming Qiao$^\dag$, Tommaso
  11 + Melodia$^\S$\\ Dimitrios Koutsonikolas$^\dag$ and Geoffrey Challen$^\dag$\\[0.1in]
  12 + {\large$^\dag$University at Buffalo\quad$^\S$Northeastern University}\\[0.1in]
  13 + \email{\large \texttt{pocketsniffer@blue.cse.buffalo.edu}}}
  14 +}
  15 +
  16 +\hypersetup{%
  17 + pdfinfo={%
  18 + Title={\thetitle},
  19 + Author={Jinghao Shi, Zhangyu Guan, Chunming Qiao, Tommaso Melodia, Dimitrios Koutsonikolas and Geoffrey Challen}
  20 + },
  21 +}
  22 +
  23 +\maketitle
  24 +
  25 +\input{introduction}
  26 +\input{design}
  27 +\input{progress}
  28 +
  29 +{%
  30 +%\bibliographystyle{acm}
  31 +%\bibliography{references}
  32 +}
  33 +\end{document}
poster/.gitignore 0 โ†’ 100644
  1 +++ a/poster/.gitignore
  1 +*.xml
  2 +*.snm
  3 +*.bbl
  4 +*.nav
  5 +*.vrb
  6 +*.aux
  7 +*.bcf
  8 +*.fls
  9 +*.log
  10 +*.out
  11 +*.pyg
  12 +*.toc
  13 +*.blg
  14 +out
  15 +main.pdf
poster/Makefile 0 โ†’ 100644
  1 +++ a/poster/Makefile
  1 +OUTDIR=out
  2 +MODE=nonstopmode
  3 +MAIN=main.tex
  4 +
  5 +all:
  6 + latexmk -shell-escape -xelatex -bibtex -pvc -interaction=$(MODE) -outdir=$(OUTDIR) -auxdir=$(OUTDIR) -f $(MAIN)
  7 +
  8 +clean:
  9 + latexmk -outdir=$(OUTDIR) -C
poster/figs/ChannelBWGraph.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/MonitorPowerConsumption.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/active_session.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/admin.png 0 โ†’ 100644

32.8 KB

poster/figs/always_on.jpg 0 โ†’ 100644

47 KB

poster/figs/anybody.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/app_market.png 0 โ†’ 100644

114 KB

poster/figs/before.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/blue_logo.jpg 0 โ†’ 100644

7 KB

poster/figs/bw.png 0 โ†’ 100644

128 KB

poster/figs/carried.png 0 โ†’ 100644

204 KB

poster/figs/channel.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/channel_switch.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/channel_z.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/crazy.jpg 0 โ†’ 100644

36.1 KB

poster/figs/crop.py 0 โ†’ 100755
  1 +++ a/poster/figs/crop.py
  1 +#!/usr/bin/python
  2 +
  3 +import os
  4 +import subprocess
  5 +import argparse
  6 +
  7 +parser = argparse.ArgumentParser()
  8 +
  9 +parser.add_argument('files', nargs='*', default=[os.getcwd(),], help="Files to crop")
  10 +
  11 +args = parser.parse_args()
  12 +
  13 +FIG_DIR = os.path.dirname(os.path.realpath(__file__))
  14 +
  15 +devnull = open('/dev/null', 'w')
  16 +
  17 +def crop_dir(dir):
  18 + for file in os.listdir(FIG_DIR):
  19 + crop_file(file)
  20 +
  21 +def crop_file(file):
  22 + name, extension = os.path.splitext(file)
  23 + if 'logo' in name:
  24 + print "Ignoring " + file
  25 + return
  26 + if extension == '.pdf':
  27 + print "Croping " + file
  28 + subprocess.check_call('pdfcrop %s %s' % (file, file), stdout=devnull, shell=True)
  29 + elif extension in ['.jpg', '.png']:
  30 + print "Croping " + file
  31 + subprocess.check_call('convert -trim %s %s' % (file, file), stdout=devnull, shell=True)
  32 +
  33 +for file in args.files:
  34 + file_path = os.path.abspath(file)
  35 + if os.path.isdir(file_path):
  36 + crop_dir(file_path)
  37 + else:
  38 + crop_file(file_path)
poster/figs/crowd.jpg 0 โ†’ 100644

69.8 KB

poster/figs/figures.odg 0 โ†’ 100644
No preview for this file type
poster/figs/frustrated.jpg 0 โ†’ 100644

20.9 KB

poster/figs/happy.jpg 0 โ†’ 100644

13.4 KB

poster/figs/happy.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/help_scan.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/i_can.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/interference.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/jamming.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/link_slow.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/logo.jpg 0 โ†’ 100644

7 KB

poster/figs/malicious.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/measurement.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/more.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/mostly_idle.jpg 0 โ†’ 100644

1.23 MB

poster/figs/multiple_sp_managed.png 0 โ†’ 100644

162 KB

poster/figs/multiple_sp_unmanaged.png 0 โ†’ 100644

121 KB

poster/figs/need_help.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/nexus5.png 0 โ†’ 100644

771 KB

poster/figs/nexus5_tcpdump.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/no_way.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/openwrt_logo.png 0 โ†’ 100644

36 KB

poster/figs/phonelab_logo_black.png 0 โ†’ 100644

10.1 KB

poster/figs/power/MonitorPowerConsumption.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/power/plot.py 0 โ†’ 100755
  1 +++ a/poster/figs/power/plot.py
  1 +#!/usr/bin/python
  2 +
  3 +import os
  4 +import json
  5 +from collections import OrderedDict
  6 +from dateutil import parser as dtparser
  7 +import matplotlib
  8 +matplotlib.use('Agg')
  9 +from matplotlib import pyplot as plt, rc
  10 +import numpy as np
  11 +
  12 +DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'data')
  13 +FIG_NAME = 'MonitorPowerConsumption.pdf'
  14 +
  15 +monitor_data = dict()
  16 +normal_data = dict()
  17 +packet_count = 0
  18 +
  19 +for dirpath, dirname, filenames in os.walk(os.path.join(DATA_DIR, 'monitor25')):
  20 + for f in filenames:
  21 + with open(os.path.join(dirpath, f), 'r') as f:
  22 + for line in f:
  23 + l = json.loads(line)
  24 + if 'action' not in l:
  25 + continue
  26 + if l['action'] == 'android.intent.action.BATTERY_CHANGED':
  27 + monitor_data[dtparser.parse(l['timestamp'])] = l
  28 + elif l['action'] == 'edu.buffalo.cse.pocketsniffer.tasks.SnifTask.ProgressUpdate':
  29 + packet_count += l['totalPackets']
  30 +
  31 +for t in sorted(monitor_data.keys()):
  32 + if monitor_data[t]['level'] == 1.0:
  33 + monitor_start = t
  34 + break
  35 +
  36 +print("%d battery updates found for monitor mode." % (len(monitor_data)))
  37 +
  38 +for dirpath, dirname, filenames in os.walk(os.path.join(DATA_DIR, 'normal')):
  39 + for f in filenames:
  40 + with open(os.path.join(dirpath, f), 'r') as f:
  41 + for line in f:
  42 + l = json.loads(line)
  43 + if 'action' not in l:
  44 + continue
  45 + if l['action'] == 'android.intent.action.BATTERY_CHANGED':
  46 + normal_data[dtparser.parse(l['timestamp'])] = l
  47 +
  48 +normal_start = min(normal_data.keys())
  49 +print("%d battery updates found for normal mode." % (len(normal_data)))
  50 +
  51 +
  52 +monitor_levels = OrderedDict()
  53 +for t in sorted(monitor_data.keys()):
  54 + if t < monitor_start:
  55 + continue
  56 + monitor_levels[(t-monitor_start).total_seconds()] = monitor_data[t]['level']
  57 +
  58 +normal_levels = OrderedDict()
  59 +for t in sorted(normal_data.keys()):
  60 + normal_levels[(t-normal_start).total_seconds()] = normal_data[t]['level']
  61 +
  62 +
  63 +rc('font', **{'family':'serif', 'serif':['Palatino'], 'size':'9'})
  64 +rc('text', usetex=True)
  65 +
  66 +fig = plt.figure()
  67 +ax = fig.add_subplot(111)
  68 +ax.plot(normal_levels.keys(), normal_levels.values(), '-g*', markersize=3, markeredgewidth=0, linewidth=0.5, label='\\textbf{Baseline}')
  69 +ax.plot(monitor_levels.keys(), monitor_levels.values(), '-ro', markersize=2, markeredgewidth=0, linewidth=0.5, label='\\textbf{Monitor Mode (%s pkts)}' % ("{:,}".format(packet_count)))
  70 +
  71 +ax.set_xlabel('\\textbf{Elapsed Time} (hour)')
  72 +ax.set_ylabel('\\textbf{Battery Level}')
  73 +
  74 +limit = max([max(monitor_levels.keys()), max(normal_levels.keys())])
  75 +limit = ((limit / 3600) + 1) * 3600 + 1
  76 +
  77 +ax.set_xticks(np.arange(0, limit, 3600))
  78 +ax.set_xticklabels([str(int(i/3600)) for i in np.arange(0, limit, 3600)])
  79 +
  80 +for axis in ['top', 'bottom', 'left', 'right']:
  81 + ax.spines[axis].set_linewidth(0.5)
  82 +
  83 +ax.grid(True)
  84 +ax.legend(loc='upper right', markerscale=1, numpoints=1, scatterpoints=1, fontsize='8')
  85 +
  86 +fig.set_size_inches(4, 3)
  87 +fig.savefig(FIG_NAME, bbox_inches='tight')
poster/figs/proximity.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/pub-sub.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/query.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/questions.gif 0 โ†’ 100644

6.98 KB

poster/figs/questions.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/rabbit.png 0 โ†’ 100644

8.29 KB

poster/figs/rap_ub.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/save_money.jpg 0 โ†’ 100644

5.27 KB

poster/figs/scan_interval.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/session_rssi.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/short4.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/single_sp_managed.png 0 โ†’ 100644

64.2 KB

poster/figs/single_sp_unmanaged.png 0 โ†’ 100644

62.5 KB

poster/figs/skype.ico 0 โ†’ 100644
No preview for this file type
poster/figs/skype.png 0 โ†’ 100644

97.5 KB

poster/figs/slow.gif 0 โ†’ 100644

9.42 KB

poster/figs/slow.jpg 0 โ†’ 100644

13.3 KB

poster/figs/superman.jpg 0 โ†’ 100644

14.4 KB

poster/figs/switch.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/system-short.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/system.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/tcpdump.png 0 โ†’ 100644

24.6 KB

poster/figs/tp-link.jpg 0 โ†’ 100644

37.1 KB

poster/figs/tp-link_openwrt.pdf 0 โ†’ 100644
No preview for this file type
poster/figs/ub_logo.png 0 โ†’ 100644

3.59 KB

poster/main.bib 0 โ†’ 100644
  1 +++ a/poster/main.bib
  1 +@inproceedings{mishra:infocom2006,
  2 + author = {Arunesh Mishra and Vladimir Brik and Suman Banerjee and Aravind Srinivasan and William Arbaugh},
  3 + title = {A Client-Driven Approach for Channel Management in Wireless LANs },
  4 + booktitle = {Proc. of the 25th IEEE International Conference on Computer Communications (INFOCOM 2006)},
  5 + month = {April},
  6 + year = {2006}
  7 +}
  8 +
  9 +@article{mishra:mccr2005,
  10 + author = {Arunesh Mishra and Suman Banerjee and William Arbaugh},
  11 + title = {Weighted coloring based channel assignment for WLANs},
  12 + journal = {ACM SIGMOBILE Mobile Computing and Communications Review},
  13 + volume = 9,
  14 + number = 3,
  15 + pages = {19-31},
  16 + month = {July},
  17 + year = 2005
  18 +}
  19 +
  20 +@inproceedings{rayanchu:mobicom2011,
  21 + author = {Shravan Rayanchu and Vivek Shrivastava and Suman Banerjee and Ranveer Chandra},
  22 + title = {{FLUID: improving throughputs in enterprise wireless lans through flexible channelization}},
  23 + booktitle = {Proc. of the 17th annual international conference on Mobile computing and networking (MobiCom 2011)},
  24 + month = {September},
  25 + year = {2011}
  26 +}
  27 +
  28 +
  29 +@book{cheng2006jigsaw,
  30 + title={Jigsaw: solving the puzzle of enterprise 802.11 analysis},
  31 + author={Cheng, Yu-Chung and Bellardo, John and Benk{\"o}, P{\'e}ter and
  32 + Snoeren, Alex C and Voelker, Geoffrey M and Savage, Stefan},
  33 + volume={36},
  34 + number={4},
  35 + year={2006},
  36 + publisher={ACM}
  37 +}
  38 +
  39 +@inproceedings{bahl2006enhancing,
  40 + title={Enhancing the security of corporate Wi-Fi networks using DAIR},
  41 + author={Bahl, Paramvir and Chandra, Ranveer and Padhye, Jitendra and
  42 + Ravindranath, Lenin and Singh, Manpreet and Wolman, Alec and Zill,
  43 + Brian},
  44 + booktitle={Proceedings of the 4th international conference on Mobile
  45 + systems, applications and services},
  46 + pages={1--14},
  47 + year={2006},
  48 + organization={ACM}
  49 +}
  50 +
  51 +@article{tan2014map,
  52 + title={From MAP to DIST: the evolution of a large-scale WLAN monitoring
  53 + system},
  54 + author={Tan, Keren and McDonald, Chris and Vance, Bennet and
  55 + Arackaparambil, Chrisil and Bratus, Sergey and Kotz, David},
  56 + journal={Mobile Computing, IEEE Transactions on},
  57 + volume={13},
  58 + number={1},
  59 + pages={216--229},
  60 + year={2014},
  61 + publisher={IEEE}
  62 +}
poster/main.pyg 0 โ†’ 100644
  1 +++ a/poster/main.pyg
  1 +
  2 +\makeatletter
  3 +\def\PY@reset{\let\PY@it=\relax \let\PY@bf=\relax%
  4 + \let\PY@ul=\relax \let\PY@tc=\relax%
  5 + \let\PY@bc=\relax \let\PY@ff=\relax}
  6 +\def\PY@tok#1{\csname PY@tok@#1\endcsname}
  7 +\def\PY@toks#1+{\ifx\relax#1\empty\else%
  8 + \PY@tok{#1}\expandafter\PY@toks\fi}
  9 +\def\PY@do#1{\PY@bc{\PY@tc{\PY@ul{%
  10 + \PY@it{\PY@bf{\PY@ff{#1}}}}}}}
  11 +\def\PY#1#2{\PY@reset\PY@toks#1+\relax+\PY@do{#2}}
  12 +
  13 +\expandafter\def\csname PY@tok@gd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
  14 +\expandafter\def\csname PY@tok@gu\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
  15 +\expandafter\def\csname PY@tok@gt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.25,0.82}{##1}}}
  16 +\expandafter\def\csname PY@tok@gs\endcsname{\let\PY@bf=\textbf}
  17 +\expandafter\def\csname PY@tok@gr\endcsname{\def\PY@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
  18 +\expandafter\def\csname PY@tok@cm\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
  19 +\expandafter\def\csname PY@tok@vg\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
  20 +\expandafter\def\csname PY@tok@m\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  21 +\expandafter\def\csname PY@tok@mh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  22 +\expandafter\def\csname PY@tok@go\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
  23 +\expandafter\def\csname PY@tok@ge\endcsname{\let\PY@it=\textit}
  24 +\expandafter\def\csname PY@tok@vc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
  25 +\expandafter\def\csname PY@tok@il\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  26 +\expandafter\def\csname PY@tok@cs\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
  27 +\expandafter\def\csname PY@tok@cp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.74,0.48,0.00}{##1}}}
  28 +\expandafter\def\csname PY@tok@gi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}}
  29 +\expandafter\def\csname PY@tok@gh\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
  30 +\expandafter\def\csname PY@tok@ni\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.60,0.60,0.60}{##1}}}
  31 +\expandafter\def\csname PY@tok@nl\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.63,0.00}{##1}}}
  32 +\expandafter\def\csname PY@tok@nn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
  33 +\expandafter\def\csname PY@tok@no\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
  34 +\expandafter\def\csname PY@tok@na\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.49,0.56,0.16}{##1}}}
  35 +\expandafter\def\csname PY@tok@nb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  36 +\expandafter\def\csname PY@tok@nc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
  37 +\expandafter\def\csname PY@tok@nd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
  38 +\expandafter\def\csname PY@tok@ne\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.82,0.25,0.23}{##1}}}
  39 +\expandafter\def\csname PY@tok@nf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
  40 +\expandafter\def\csname PY@tok@si\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
  41 +\expandafter\def\csname PY@tok@s2\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  42 +\expandafter\def\csname PY@tok@vi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
  43 +\expandafter\def\csname PY@tok@nt\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  44 +\expandafter\def\csname PY@tok@nv\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
  45 +\expandafter\def\csname PY@tok@s1\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  46 +\expandafter\def\csname PY@tok@sh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  47 +\expandafter\def\csname PY@tok@sc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  48 +\expandafter\def\csname PY@tok@sx\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  49 +\expandafter\def\csname PY@tok@bp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  50 +\expandafter\def\csname PY@tok@c1\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
  51 +\expandafter\def\csname PY@tok@kc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  52 +\expandafter\def\csname PY@tok@c\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
  53 +\expandafter\def\csname PY@tok@mf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  54 +\expandafter\def\csname PY@tok@err\endcsname{\def\PY@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}
  55 +\expandafter\def\csname PY@tok@kd\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  56 +\expandafter\def\csname PY@tok@ss\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
  57 +\expandafter\def\csname PY@tok@sr\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
  58 +\expandafter\def\csname PY@tok@mo\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  59 +\expandafter\def\csname PY@tok@kn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  60 +\expandafter\def\csname PY@tok@mi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  61 +\expandafter\def\csname PY@tok@gp\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
  62 +\expandafter\def\csname PY@tok@o\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
  63 +\expandafter\def\csname PY@tok@kr\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  64 +\expandafter\def\csname PY@tok@s\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  65 +\expandafter\def\csname PY@tok@kp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  66 +\expandafter\def\csname PY@tok@w\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
  67 +\expandafter\def\csname PY@tok@kt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
  68 +\expandafter\def\csname PY@tok@ow\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
  69 +\expandafter\def\csname PY@tok@sb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  70 +\expandafter\def\csname PY@tok@k\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
  71 +\expandafter\def\csname PY@tok@se\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.13}{##1}}}
  72 +\expandafter\def\csname PY@tok@sd\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
  73 +
  74 +\def\PYZbs{\char`\\}
  75 +\def\PYZus{\char`\_}
  76 +\def\PYZob{\char`\{}
  77 +\def\PYZcb{\char`\}}
  78 +\def\PYZca{\char`\^}
  79 +\def\PYZam{\char`\&}
  80 +\def\PYZlt{\char`\<}
  81 +\def\PYZgt{\char`\>}
  82 +\def\PYZsh{\char`\#}
  83 +\def\PYZpc{\char`\%}
  84 +\def\PYZdl{\char`\$}
  85 +\def\PYZti{\char`\~}
  86 +% for compatibility with earlier versions
  87 +\def\PYZat{@}
  88 +\def\PYZlb{[}
  89 +\def\PYZrb{]}
  90 +\makeatother
  91 +
poster/main.tex 0 โ†’ 100644
  1 +++ a/poster/main.tex
  1 +\documentclass[a0paper]{tikzposter}
  2 +
  3 +\usepackage{url}
  4 +\usepackage[hidelinks]{hyperref}
  5 +\usepackage{booktabs}
  6 +\usepackage{subcaption}
  7 +\usepackage[usenames,dvipsnames]{color}
  8 +\usepackage{fontspec}
  9 +\usepackage{pgf}
  10 +\usepackage[absolute, verbose, overlay]{textpos}
  11 +\usepackage{caption}
  12 +\usepackage{array}
  13 +\usepackage{fancybox}
  14 +\usepackage{graphicx}
  15 +\usepackage{biblatex}
  16 +\usepackage{enumerate}
  17 +\usepackage{ulem}
  18 +\usepackage[absolute,overlay]{textpos}
  19 +
  20 +\graphicspath{{figs/}}
  21 +\bibliography{main}
  22 +\captionsetup{labelformat=empty}
  23 +\setlength{\TPHorizModule}{1cm}
  24 +\setlength{\TPVertModule}{1cm}
  25 +
  26 +\usetheme{Default}
  27 +%\usetheme{Rays}
  28 +%\usetheme{Basic}
  29 +%\usetheme{Simple}
  30 +%\usetheme{Envelope}
  31 +%\usetheme{Wave}
  32 +%\usetheme{Board}
  33 +%\usetheme{Autumn}
  34 +%\usetheme{Desert}
  35 +
  36 +%\usecolorpalette{BrownBlueOrange}
  37 +%\usecolorstyle{Germany}
  38 +%\usecolorstyle{Denmark}
  39 +%\usecolorstyle{Russia}
  40 +%\usecolorstyle{Default}
  41 +%\usecolorstyle{Australia}
  42 +%\usecolorstyle{Britain}
  43 +%\usecolorstyle{Sweden}
  44 +%\usecolorstyle{Spain}
  45 +
  46 +
  47 +
  48 +\newcommand{\PS}{\textsc{PocketSniffer}}
  49 +
  50 +\title{\parbox{\linewidth}{\centering Crowdsourcing Access Network Spectrum Allocation Using Smartphones}}
  51 +
  52 +
  53 +\author{%
  54 + Jinghao Shi$^\dag$, Zhangyu Guan$^\dag$$^\S$, Chunming Qiao$^\dag$, Tommaso
  55 + Melodia$^\S$\\Dimitrios Koutsonikolas$^\dag$ and Geoffrey Challen$^\dag$\\
  56 + \vspace*{5mm}
  57 + \url{pocketsniffer@blue.cse.buffalo.edu}
  58 +}
  59 +
  60 +\institute{%
  61 + $^\dag$University at Buffalo\quad$^\S$Northeastern University
  62 +}
  63 +
  64 +%\titlegraphic{\includegraphics[width=0.6\textwidth]{ub_logo}}
  65 +
  66 +\begin{document}
  67 +
  68 +\maketitle
  69 +
  70 +\begin{columns}
  71 + \column{0.5}
  72 +
  73 + \block{1. So Many APs, So Few Channels}{%
  74 + \begin{tikzfigure}[Crowded RF space.]
  75 + \begin{subfigure}{0.45\colwidth}
  76 + \includegraphics[width=\textwidth]{channel}
  77 + \end{subfigure}\hspace{0.01\colwidth}%
  78 + \begin{subfigure}{0.45\colwidth}
  79 + \includegraphics[width=\textwidth]{crowd}
  80 + \end{subfigure}
  81 + \end{tikzfigure}
  82 + \vspace{5mm}
  83 + More and more wireless devices are competing for the limited spectrum
  84 + resources. Recent studies have shown the value of client-side measurements
  85 + in determining better channel assignment. Yet \textbf{how to collect data
  86 + from clients without interrupting their normal usage} remains to be an
  87 + open question. To address this problem, we propose \PS{}---\textbf{a
  88 + framework for client-side measurements collection}. The key idea is to
  89 + \textbf{use inactive smartphones to perform measurements on behalf of
  90 + nearby devices} to improve spectrum allocation. \PS{} also collects the
  91 + network measurements naturally generated by smartphones to monitor the
  92 + health and performance of large-scale wireless networks.
  93 + }
  94 +
  95 + \block{2. Why Smartphones?}{%
  96 + \begin{tikzfigure}[Smartphones are carried with you, always on but mostly
  97 + idle.]
  98 + \begin{subfigure}[t]{0.3\colwidth}
  99 + \centering
  100 + \includegraphics[width=\textwidth]{carried}
  101 + \end{subfigure}\hspace{0.01\colwidth}%
  102 + \begin{subfigure}[t]{0.28\colwidth}
  103 + \centering
  104 + \includegraphics[width=\textwidth]{always_on}
  105 + \caption{\large\textbf{Always on.}}
  106 + \end{subfigure}\hspace{0.01\colwidth}%
  107 + \begin{subfigure}[t]{0.27\colwidth}
  108 + \centering
  109 + \includegraphics[width=\textwidth]{mostly_idle}
  110 + \caption{\large\textbf{Mostly idle.}}
  111 + \end{subfigure}
  112 + \end{tikzfigure}
  113 + Smartphones are carried with people, which enables them to measure the
  114 + network conditions from \textbf{actual user's point of view}. Smartphones are
  115 + \textit{always on} yet \textit{mostly idle}, making it possible to \textbf{conduct
  116 + measurements without interrupting users' normal usage}.
  117 + }
  118 +
  119 + \block{3. System Design}{%
  120 + \begin{tikzfigure}[\PS{} System]
  121 + \includegraphics[width=0.6\colwidth]{system}
  122 + \end{tikzfigure}
  123 + }
  124 +
  125 + \block{4. Challenges and Approaches}{%
  126 + \begin{itemize}
  127 + \item Proximity detection---use measurements from one device to
  128 + approximate the another.
  129 + \begin{itemize}
  130 + \item Explore proximity in both physical and Wifi signature space.
  131 + \end{itemize}
  132 + \item Measurement validation---defeat false measurements.
  133 + \begin{itemize}
  134 + \item Leverage trusted APs.
  135 + \end{itemize}
  136 + \item Incentives---encourage measurements.
  137 + \begin{itemize}
  138 + \item Bob's phone help Bob's laptop.
  139 + \item Measurements for QoS.
  140 + \end{itemize}
  141 + \end{itemize}
  142 + }
  143 +
  144 + \column{0.5}
  145 +
  146 + \block{5. Coordination Scenarios}{%
  147 + \begin{tikzfigure}
  148 + \centering
  149 + \begin{subfigure}{0.3\colwidth}
  150 + \centering
  151 + \includegraphics[width=\textwidth]{single_sp_managed}
  152 + \captionof{figure}{Single SP, managed clients\\(e.g., home Wifi network).}
  153 + \end{subfigure}\hspace*{0.1\colwidth}%
  154 + \begin{subfigure}{0.3\colwidth}
  155 + \centering
  156 + \includegraphics[width=\textwidth]{single_sp_unmanaged}
  157 + \captionof{figure}{Single SP, unmanaged clients\\(e.g., campus Wifi
  158 + network).}
  159 + \end{subfigure}
  160 + \end{tikzfigure}
  161 + \begin{tikzfigure}
  162 + \begin{subfigure}{0.4\colwidth}
  163 + \centering
  164 + \includegraphics[width=\textwidth]{multiple_sp_managed}
  165 + \captionof{figure}{Multiple SP, managed clients\\(e.g., overlapping home
  166 + network).}
  167 + \end{subfigure}\hspace*{0.01\colwidth}%
  168 + \begin{subfigure}{0.4\colwidth}
  169 + \centering
  170 + \includegraphics[width=\textwidth]{multiple_sp_unmanaged}
  171 + \captionof{figure}{Multiple SP, unmanaged clients\\(e.g., overlapping
  172 + enterprise network).}
  173 + \end{subfigure}
  174 + \end{tikzfigure}
  175 + }
  176 + \block{6. Discarded Treasure}{%
  177 + \begin{tikzfigure}
  178 + \centering
  179 + \begin{minipage}[T]{0.4\colwidth}
  180 + \vspace{-3cm}
  181 + To cope with rapid user mobility, smartphones already perform aggressive
  182 + network exploration. For example, the right figure shows that Android
  183 + will scan every 15~s or 60~s depending on the device's Wifi connection.
  184 + This is a treasure that is being discarded. \PS{} passively collects
  185 + such measurements in an energy neutral manner, to help monitor large
  186 + scale wireless networks.
  187 + \end{minipage}\hspace{0.03\colwidth}%
  188 + \begin{minipage}[T]{0.5\colwidth}
  189 + \includegraphics[width=\textwidth]{scan_interval}
  190 + \label{fig:scan}
  191 + \end{minipage}
  192 + \end{tikzfigure}
  193 + }
  194 + \block{7. Prototype}{%
  195 + \begin{tikzfigure}
  196 + \centering
  197 + \begin{subfigure}{0.42\colwidth}
  198 + \centering
  199 + \includegraphics[width=\textwidth]{channel_switch}
  200 + \end{subfigure}\hspace{0.03\colwidth}%
  201 + \begin{subfigure}{0.42\colwidth}
  202 + \centering
  203 + \includegraphics[width=\textwidth]{switch.pdf}
  204 + \end{subfigure}
  205 + \end{tikzfigure}
  206 + We hacked the driver of Nexus 5 smartphones to support Wifi monitor
  207 + mode. We also set up several TP-LINK WDR3500 wireless routers running
  208 + OpenWRT as \PS{} APs. We conducted a simple channel adaptation experiment as
  209 + follows:
  210 + \begin{enumerate}
  211 + \item \textbf{0--7~s}\quad TCP link between \PS{} AP and device $A$.
  212 + \item \textbf{7--75~s}\quad $B$ jams the channel, causing bandwidth
  213 + degradation and jitter of $A$.
  214 + \item \textbf{75--100~s}\quad AP switches to a less congested channel with
  215 + the help of nearby device $C$.
  216 + \end{enumerate}
  217 + Throughout the experiment, \textbf{device $A$'s active session is not
  218 + affected---neither $A$'s association with AP or TCP link is interrupted by
  219 + the channel switch}.
  220 +
  221 + This experiment demonstrate the feasibility of \PS{} in single SP, managed
  222 + clients scenario. We're extending the system to other three scenarios.
  223 + }
  224 +
  225 +\end{columns}
  226 +
  227 +\end{document}
poster/pocketsniffer_nens_poster.pdf 0 โ†’ 100644
No preview for this file type
poster/preamble.tex 0 โ†’ 100644
  1 +++ a/poster/preamble.tex
  1 +\usepackage{url}
  2 +\usepackage{hyperref}
  3 +\usepackage{booktabs}
  4 +\usepackage{minted}
  5 +\usepackage{subcaption}
  6 +\usepackage[usenames,dvipsnames]{color}
  7 +\usepackage{tikz}
  8 +\usepackage{listings}
  9 +\usepackage{lstlinebgrd}
  10 +\usepackage{fontspec}
  11 +\usepackage{pgf}
  12 +\usepackage[absolute, verbose, overlay]{textpos}
  13 +\usepackage{caption}
  14 +\usepackage{array}
  15 +\usepackage{fancybox}
  16 +\usepackage{graphicx}
  17 +\usepackage{biblatex}
  18 +\usepackage{enumerate}
  19 +\usepackage{ulem}
  20 +
  21 +\usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}
  22 +
  23 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24 +% Beamer Style Setup
  25 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  26 +
  27 +% remove the navigation bar
  28 +\beamertemplatenavigationsymbolsempty
  29 +
  30 +\usecolortheme{rose}
  31 +\useinnertheme[shadow]{rounded}
  32 +\useoutertheme{default}
  33 +
  34 +% title style
  35 +\setbeamertemplate{frametitle} {%
  36 + \huge{\textbf{\underline{\insertframetitle}}} \par
  37 +}
  38 +
  39 +% footnote font
  40 +\renewcommand{\footnotesize}{\tiny}
  41 +
  42 +% font
  43 +\usefonttheme{professionalfonts} % using non standard fonts for beamer
  44 +\usefonttheme{serif} % default family is serif
  45 +\setmainfont{Liberation Serif}
  46 +
  47 +% show current page # / total page #
  48 +\setbeamerfont{page number in head/foot}{size=\scriptsize}
  49 +\setbeamertemplate{footline}[frame number]
  50 +
  51 +% logo
  52 +% \logo{\pgfputat{\pgfxy(4,-4)}{\pgfbox[center,base]{\includegraphics[width=1.2cm]{logo}}}}
  53 +
  54 +
  55 +
  56 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  57 +% Package Specific Setup
  58 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  59 +
  60 +%%%%%%%%%%%%%%
  61 +% code listing
  62 +%%%%%%%%%%%%%%
  63 +\lstset{%
  64 + language=c,
  65 + numbers=left,
  66 + numberstyle=\color{gray},
  67 + frame=single,
  68 + basicstyle=\small\ttfamily,
  69 + columns=flexible,
  70 + breaklines=true,
  71 + showstringspaces=false
  72 +}
  73 +
  74 +% highlight code line
  75 +\ExplSyntaxOn
  76 +\NewDocumentCommand \lstcolorlines { O{magenta} m }
  77 +{%
  78 + \clist_if_in:nVT { #2 } { \the\value{lstnumber} }{ \color{#1} }
  79 +}
  80 +\ExplSyntaxOff
  81 +
  82 +
  83 +
  84 +%%%%%%%%%%%%%%%%%%
  85 +% hyper link
  86 +%%%%%%%%%%%%%%%%%%
  87 +
  88 +\hypersetup{%
  89 + %allbordercolors={0 0 0},
  90 + %pdfborderstyle={/S/U/W 0.5}
  91 +}
  92 +
  93 +%%%%%%%%%%%%%%%%
  94 +% biblatex
  95 +%%%%%%%%%%%%%%%%
  96 +\bibliography{main}
  97 +% \setbeamertemplate{bibliography item}[text]
  98 +
  99 +%%%%%%%%%%%%%
  100 +% text position
  101 +%%%%%%%%%%%%%
  102 +\setlength{\TPHorizModule}{1cm}
  103 +\setlength{\TPVertModule}{1cm}
  104 +
  105 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  106 +% highlight head row in table
  107 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  108 +\newcolumntype{+}{>{\global\let\currentrowstyle\relax}}
  109 +\newcolumntype{^}{>{\currentrowstyle}}
  110 +\newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
  111 + #1\ignorespaces
  112 +}
  113 +
  114 +%%%%%%%%%%%%%%%%%
  115 +% figure caption
  116 +%%%%%%%%%%%%%%%%%
  117 +
  118 +% remove the Figure prefix of caption
  119 +\captionsetup[figure]{labelformat=empty}
  120 +
  121 +
  122 +%%%%%%%%%%%%%%%%%%%
  123 +% fancy box
  124 +%%%%%%%%%%%%%%%%%%%
  125 +\shadowsize=2pt
  126 +\newenvironment{fminipage}%
  127 +{\begin{Sbox}\begin{minipage}}%
  128 +{\end{minipage}\end{Sbox}\shadowbox{\TheSbox}}
  129 +
  130 +
  131 +%%%%%%%%%%%%%%%%%%
  132 +% graphic
  133 +%%%%%%%%%%%%%%%%%
  134 +\graphicspath{ {figs/} }
  135 +
  136 +%%%%%%%%%%%%%%%%%%%%%%
  137 +% customize commands
  138 +%%%%%%%%%%%%%%%%%%%%%%
  139 +\newcommand{\demo}[0]{\begin{center}\huge\textbf{\color{blue}{>> DEMO
  140 +<<}}\end{center}}
  141 +\newcommand{\command}[1]{\texttt{\$ #1}}
  142 +
  143 +\newcommand{\todo}[1]{{\large\color{red}{TODO: #1}}}
  144 +\renewcommand{\em}[1]{\textcolor{magenta}{#1}}
  145 +\newcommand{\code}[1]{\texttt{#1}}
  146 +
  147 +
progress.tex 0 โ†’ 100644
  1 +++ a/progress.tex
  1 +\section{Current Progress}
  2 +\label{sec:progress}
  3 +
  4 +We have set up a testbed of 4 programmable TP-LINK WDR3500 wireless routers
  5 +running customized OpenWRT firmware, which we experiment with joint channel
  6 +assignment, rate adaption and client association algorithms. On device side, we
  7 +hacked \wifi{} driver of Nexus 5 devices to enable \wifi{} monitor mode. This
  8 +enables the device to ``sniff'' the detailed spectrum utilization information.
  9 +We are currently developing an \PS{} Android app. Besides sniffing, the app will
  10 +also collect and upload network measurements such as \wifi{} scan results, RTT
  11 +of \texttt{ping} requests, bandwidth etc. We plan to deploy our app on
  12 +\PhoneLab{}, a large smartphone testbed operated at UB.
sig-alternate-10pt.cls 0 โ†’ 100644
  1 +++ a/sig-alternate-10pt.cls
  1 +% SIG-ALTERNATE.CLS - VERSION 2.4
  2 +% "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V3.2SP
  3 +% Gerald Murray - April 22nd. 2009
  4 +%
  5 +% ---- Start of 'updates' ----
  6 +%
  7 +% Updated 10pt version to conform to advertised formatting requirements
  8 +% (leading 11.9pt -> 12.0pt, textheight 660pt -> 666pt) - Dec 9 2009
  9 +% Geoff Voelker
  10 +%
  11 +% Changed $5 fee to $10 - Gerry
  12 +% April 22nd. 2009 - Fixed 'Natbib' incompatibility problem - Gerry
  13 +% April 22nd. 2009 - Fixed 'Babel' incompatibility problem - Gerry
  14 +% April 22nd. 2009 - Inserted various bug-fixes and improvements - Gerry
  15 +%
  16 +% To produce Type 1 fonts in the document plus allow for 'normal LaTeX accenting' in the critical areas;
  17 +% title, author block, section-heads, confname, etc. etc.
  18 +% i.e. the whole purpose of this version update is to NOT resort to 'inelegant accent patches'.
  19 +% After much research, three extra .sty packages were added to the the tail (ae, aecompl, aeguill) to solve,
  20 +% in particular, the accenting problem(s). We _could_ ask authors (via instructions/sample file) to 'include' these in
  21 +% the source .tex file - in the preamble - but if everything is already provided ('behind the scenes' - embedded IN the .cls)
  22 +% then this is less work for authors and also makes everything appear 'vanilla'.
  23 +% NOTE: all 'patchwork accenting" has been commented out (here) and is no longer 'used' in the sample .tex file (either).
  24 +% Gerry June 2007
  25 +%
  26 +% Patch for accenting in conference name/location. Gerry May 3rd. 2007
  27 +% Rule widths changed to .5, author count (>6) fixed, roll-back for Type 3 problem. Gerry March 20th. 2007
  28 +%
  29 +% Changes made to enable easier reviewing by fixing font size to 10pt - Jan. 3th. 2007
  30 +% Anja Feldmann
  31 +%
  32 +% Changes made to 'modernize' the fontnames but esp. for MikTeX users V2.4/2.5 - Nov. 30th. 2006
  33 +% Updated the \email definition to allow for its use inside of 'shared affiliations' - Nov. 30th. 2006
  34 +% Fixed the 'section number depth value' - Nov. 30th. 2006
  35 +%
  36 +% Footnotes inside table cells using \minipage (Oct. 2002)
  37 +% Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
  38 +% JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
  39 +%
  40 +% Made the Permission Statement / Conference Info / Copyright Info
  41 +% 'user definable' in the source .tex file OR automatic if
  42 +% not specified.
  43 +%
  44 +% Allowance made to switch default fonts between those systems using
  45 +% normal/modern font names and those using 'Type 1' or 'Truetype' fonts.
  46 +% See LINE NUMBER 255 for details.
  47 +% Also provided for enumerated/annotated Corollaries 'surrounded' by
  48 +% enumerated Theorems (line 848).
  49 +% Gerry November 11th. 1999
  50 +%
  51 +% ---- End of 'updates' ----
  52 +%
  53 +\def\fileversion{v2.4-10pt} % for ACM's tracking purposes
  54 +\def\filedate{April 22, 2009} % Gerry Murray's tracking data
  55 +\def\docdate {Wednesday 22nd. April 2009} % Gerry Murray (with deltas to doc}
  56 +\usepackage{epsfig}
  57 +\usepackage{amssymb}
  58 +\usepackage{amsmath}
  59 +\usepackage{amsfonts}
  60 +% Need this for accents in Arial/Helvetica
  61 +%\usepackage[T1]{fontenc} % Gerry March 12, 2007 - causes Type 3 problems (body text)
  62 +%\usepackage{textcomp}
  63 +%
  64 +% SIG-ALTERNATE DOCUMENT STYLE
  65 +% G.K.M. Tobin August-October 1999
  66 +% adapted from ARTICLE document style by Ken Traub, Olin Shivers
  67 +% also using elements of esub2acm.cls
  68 +% HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000
  69 +% ARTICLE DOCUMENT STYLE -- Released 16 March 1988
  70 +% for LaTeX version 2.09
  71 +% Copyright (C) 1988 by Leslie Lamport
  72 +%
  73 +%
  74 +%%% sig-alternate.cls is an 'ALTERNATE' document style for producing
  75 +%%% two-column camera-ready pages for ACM conferences.
  76 +%%% THIS FILE DOES NOT STRICTLY ADHERE TO THE SIGS (BOARD-ENDORSED)
  77 +%%% PROCEEDINGS STYLE. It has been designed to produce a 'tighter'
  78 +%%% paper in response to concerns over page budgets.
  79 +%%% The main features of this style are:
  80 +%%%
  81 +%%% 1) Two columns.
  82 +%%% 2) Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of
  83 +%%% 2pc, hence columns are 20pc wide and 55.5pc tall. (6pc =3D 1in, approx)
  84 +%%% 3) First page has title information, and an extra 6pc of space at the
  85 +%%% bottom of the first column for the ACM copyright notice.
  86 +%%% 4) Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.
  87 +%%%
  88 +%%%
  89 +%%% There are a few restrictions you must observe:
  90 +%%%
  91 +%%% 1) You cannot change the font size; ACM wants you to use 9pt.
  92 +%%% 3) You must start your paper with the \maketitle command. Prior to the
  93 +%%% \maketitle you must have \title and \author commands. If you have a
  94 +%%% \date command it will be ignored; no date appears on the paper, since
  95 +%%% the proceedings will have a date on the front cover.
  96 +%%% 4) Marginal paragraphs, tables of contents, lists of figures and tables,
  97 +%%% and page headings are all forbidden.
  98 +%%% 5) The `figure' environment will produce a figure one column wide; if you
  99 +%%% want one that is two columns wide, use `figure*'.
  100 +%%%
  101 +%
  102 +%%% Copyright Space:
  103 +%%% This style automatically reserves 1" blank space at the bottom of page 1/
  104 +%%% column 1. This space can optionally be filled with some text using the
  105 +%%% \toappear{...} command. If used, this command must be BEFORE the \maketitle
  106 +%%% command. If this command is defined AND [preprint] is on, then the
  107 +%%% space is filled with the {...} text (at the bottom); otherwise, it is
  108 +%%% blank. If you use \toappearbox{...} instead of \toappear{...} then a
  109 +%%% box will be drawn around the text (if [preprint] is on).
  110 +%%%
  111 +%%% A typical usage looks like this:
  112 +%%% \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian
  113 +%%% Embalming Technique, June 1991, Alfaretta, Georgia.}
  114 +%%% This will be included in the preprint, and left out of the conference
  115 +%%% version.
  116 +%%%
  117 +%%% WARNING:
  118 +%%% Some dvi-ps converters heuristically allow chars to drift from their
  119 +%%% true positions a few pixels. This may be noticeable with the 9pt sans-serif
  120 +%%% bold font used for section headers.
  121 +%%% You may turn this hackery off via the -e option:
  122 +%%% dvips -e 0 foo.dvi >foo.ps
  123 +%%%
  124 +\typeout{Document Class 'sig-alternate' <22nd. April '09>. Modified by G.K.M. Tobin/Gerry Murray}
  125 +\typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
  126 +\typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
  127 +\typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
  128 +\typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}
  129 +\typeout{Questions on the style, SIGS policies, etc. to Adrienne Griscti griscti@acm.org}
  130 +\oddsidemargin 4.5pc
  131 +\evensidemargin 4.5pc
  132 +\advance\oddsidemargin by -1in % Correct for LaTeX gratuitousness
  133 +\advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
  134 +\marginparwidth 0pt % Margin pars are not allowed.
  135 +\marginparsep 11pt % Horizontal space between outer margin and
  136 + % marginal note
  137 +
  138 + % Top of page:
  139 +\topmargin 4.5pc % Nominal distance from top of page to top of
  140 + % box containing running head.
  141 +\advance\topmargin by -1in % Correct for LaTeX gratuitousness
  142 +\headheight 0pt % Height of box containing running head.
  143 +\headsep 0pt % Space between running head and text.
  144 + % Bottom of page:
  145 +\footskip 30pt % Distance from baseline of box containing foot
  146 + % to baseline of last line of text.
  147 +\@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
  148 +\footheight 12pt % Height of box containing running foot.
  149 +
  150 +%% Must redefine the top margin so there's room for headers and
  151 +%% page numbers if you are using the preprint option. Footers
  152 +%% are OK as is. Olin.
  153 +\advance\topmargin by -37pt % Leave 37pt above text for headers
  154 +\headheight 12pt % Height of box containing running head.
  155 +\headsep 25pt % Space between running head and text.
  156 +
  157 +\textheight 666pt % 9 1/4 column height
  158 +\textwidth 42pc % Width of text line.
  159 + % For two-column mode:
  160 +\columnsep 2pc % Space between columns
  161 +\columnseprule 0pt % Width of rule between columns.
  162 +\hfuzz 1pt % Allow some variation in column width, otherwise it's
  163 + % too hard to typeset in narrow columns.
  164 +
  165 +\footnotesep 5.6pt % Height of strut placed at the beginning of every
  166 + % footnote =3D height of normal \footnotesize strut,
  167 + % so no extra space between footnotes.
  168 +
  169 +\skip\footins 8.1pt plus 4pt minus 2pt % Space between last line of text and
  170 + % top of first footnote.
  171 +\floatsep 11pt plus 2pt minus 2pt % Space between adjacent floats moved
  172 + % to top or bottom of text page.
  173 +\textfloatsep 18pt plus 2pt minus 4pt % Space between main text and floats
  174 + % at top or bottom of page.
  175 +\intextsep 11pt plus 2pt minus 2pt % Space between in-text figures and
  176 + % text.
  177 +\@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e
  178 +\@maxsep 18pt % The maximum of \floatsep,
  179 + % \textfloatsep and \intextsep (minus
  180 + % the stretch and shrink).
  181 +\dblfloatsep 11pt plus 2pt minus 2pt % Same as \floatsep for double-column
  182 + % figures in two-column mode.
  183 +\dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column
  184 + % floats.
  185 +\@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e
  186 +\@dblmaxsep 18pt % The maximum of \dblfloatsep and
  187 + % \dbltexfloatsep.
  188 +\@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must be
  189 + % 0pt plus ...)
  190 +\@fpsep 8pt plus 2fil % Space between floats on float page/column.
  191 +\@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must be
  192 + % 0pt plus ... )
  193 +\@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
  194 +\@dblfpsep 8pt plus 2fil % Space between floats on float page.
  195 +\@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
  196 + % 0pt plus ... )
  197 +\marginparpush 5pt % Minimum vertical separation between two marginal
  198 + % notes.
  199 +
  200 +\parskip 0pt plus 1pt % Extra vertical space between paragraphs.
  201 +\parindent 10pt % GM July 2000 / was 0pt - width of paragraph indentation. %% Adjusted for 10pt
  202 +\partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to
  203 + % \parskip and \topsep, added when user
  204 + % leaves blank line before environment.
  205 +
  206 +\@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
  207 +\@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
  208 +\@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
  209 +
  210 +\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
  211 +\@endparpenalty -\@lowpenalty % After a list or paragraph environment.
  212 +\@itempenalty -\@lowpenalty % Between list items.
  213 +
  214 +%\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
  215 +%\@namedef{ds@10pt}{\ClassError{The `10pt' option is not allowed in the `acmconf' % January 2008
  216 +% document style.}\@eha} %% Adjusted for 10pt
  217 +%\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
  218 +\@namedef{ds@11pt}{\ClassError{The `11pt' option is not allowed in the `acmconf' % January 2008
  219 + document style.}\@eha}
  220 +%\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
  221 +\@namedef{ds@12pt}{\ClassError{The `12pt' option is not allowed in the `acmconf' % January 2008
  222 + document style.}\@eha}
  223 +
  224 +\@options
  225 +
  226 +\lineskip 2pt % \lineskip is 1pt for all font sizes.
  227 +\normallineskip 2pt
  228 +\def\baselinestretch{1}
  229 +
  230 +\abovedisplayskip 10pt plus2pt minus4.5pt% %% Adjusted for 10pt
  231 +\belowdisplayskip \abovedisplayskip
  232 +\abovedisplayshortskip \z@ plus3pt%
  233 +\belowdisplayshortskip 5.4pt plus3pt minus3pt%
  234 +\let\@listi\@listI % Setting of \@listi added 9 Jun 87
  235 +
  236 +\def\small{\@setsize\small{9.2pt}\viiipt\@viiipt %% Adjusted for 10pt
  237 +\abovedisplayskip 7.6pt plus 3pt minus 4pt%
  238 +\belowdisplayskip \abovedisplayskip
  239 +\abovedisplayshortskip \z@ plus2pt%
  240 +\belowdisplayshortskip 3.6pt plus2pt minus 2pt
  241 +\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  242 +\topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
  243 +\itemsep \parsep}}
  244 +
  245 +\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt %% Adjusted for 10pt
  246 +\abovedisplayskip 6.4pt plus 2pt minus 4pt%
  247 +\belowdisplayskip \abovedisplayskip
  248 +\abovedisplayshortskip \z@ plus 1pt%
  249 +\belowdisplayshortskip 2.7pt plus 1pt minus 2pt
  250 +\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  251 +\topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
  252 +\itemsep \parsep}}
  253 +
  254 +\newcount\aucount
  255 +\newcount\originalaucount
  256 +\newdimen\auwidth
  257 +\auwidth=\textwidth
  258 +\newdimen\auskip
  259 +\newcount\auskipcount
  260 +\newdimen\auskip
  261 +\global\auskip=1pc
  262 +\newdimen\allauboxes
  263 +\allauboxes=\auwidth
  264 +\newtoks\addauthors
  265 +\newcount\addauflag
  266 +\global\addauflag=0 %Haven't shown additional authors yet
  267 +
  268 +\newtoks\subtitletext
  269 +\gdef\subtitle#1{\subtitletext={#1}}
  270 +
  271 +\gdef\additionalauthors#1{\addauthors={#1}}
  272 +
  273 +\gdef\numberofauthors#1{\global\aucount=#1
  274 +\ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g} % 3 OK - Gerry March 2007
  275 +\global\auskipcount=\aucount\global\advance\auskipcount by 1
  276 +\global\multiply\auskipcount by 2
  277 +\global\multiply\auskip by \auskipcount
  278 +\global\advance\auwidth by -\auskip
  279 +\global\divide\auwidth by \aucount}
  280 +
  281 +% \and was modified to count the number of authors. GKMT 12 Aug 1999
  282 +\def\alignauthor{% % \begin{tabular}
  283 +\end{tabular}%
  284 + \begin{tabular}[t]{p{\auwidth}}\centering}%
  285 +
  286 +% *** NOTE *** NOTE *** NOTE *** NOTE ***
  287 +% If you have 'font problems' then you may need
  288 +% to change these, e.g. 'arialb' instead of "arialbd".
  289 +% Gerry Murray 11/11/1999
  290 +% *** OR ** comment out block A and activate block B or vice versa.
  291 +% **********************************************
  292 +%
  293 +% -- Start of block A -- (Type 1 or Truetype fonts)
  294 +%\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd
  295 +%\newfont{\secit}{timesbi at 12pt} %13 Jan 00 gkmt
  296 +%\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi
  297 +%\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000
  298 +% % because "normal" is italic, "italic" is Roman
  299 +%\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd
  300 +%\newfont{\ttlit}{arialbi at 18pt} % 13 Jan 00 gkmt
  301 +%\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial
  302 +%\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt
  303 +%\newfont{\subttlbf}{arialbd at 14pt} % 13 Jan 00 gkmt
  304 +%\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial
  305 +%\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt
  306 +%\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial
  307 +%\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt
  308 +%\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial
  309 +%\newfont{\ixpt}{times at 10pt} % was timenrr originally - now is times %% Adjusted for 10pt
  310 +%\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi
  311 +%\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times
  312 +%\newfont{\ninept}{times at 10pt} % was timenrr originally - now is times %% Adjusted for 10pt
  313 +
  314 +% *********************************************
  315 +% -- End of block A --
  316 +%
  317 +%
  318 +% -- Start of block B -- UPDATED FONT NAMES
  319 +% *********************************************
  320 +% Gerry Murray 11/30/2006
  321 +% *********************************************
  322 +\newfont{\secfnt}{ptmb8t at 12pt}
  323 +\newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
  324 +\newfont{\subsecfnt}{ptmri8t at 11pt}
  325 +\newfont{\subsecit}{ptmbi8t at 11pt} %
  326 +\newfont{\ttlfnt}{phvb8t at 18pt}
  327 +\newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
  328 +\newfont{\subttlfnt}{phvr8t at 14pt}
  329 +\newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
  330 +\newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
  331 +\newfont{\aufnt}{phvr8t at 12pt}
  332 +\newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
  333 +\newfont{\affaddr}{phvr8t at 10pt}
  334 +\newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
  335 +\newfont{\eaddfnt}{phvr8t at 12pt}
  336 +\newfont{\ixpt}{ptmr8t at 10pt} %% Adjusted for 10pt
  337 +\newfont{\confname}{ptmri8t at 8pt}
  338 +\newfont{\crnotice}{ptmr8t at 8pt}
  339 +\newfont{\ninept}{ptmr8t at 10pt} %% Adjusted for 10pt
  340 +% +++++++++++++++++++++++++++++++++++++++++++++
  341 +% -- End of block B --
  342 +
  343 +%\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
  344 +% If we have an email, inside a "shared affiliation" then we need the following instead
  345 +\def\email#1{{{\eaddfnt{\par #1}}}} % revised - GM - 11/30/2006
  346 +
  347 +\def\addauthorsection{\ifnum\originalaucount>6 % was 3 - Gerry March 2007
  348 + \section{Additional Authors}\the\addauthors
  349 + \fi}
  350 +
  351 +\newcount\savesection
  352 +\newcount\sectioncntr
  353 +\global\sectioncntr=1
  354 +
  355 +\setcounter{secnumdepth}{3}
  356 +
  357 +\def\appendix{\par
  358 +\section*{APPENDIX}
  359 +\setcounter{section}{0}
  360 + \setcounter{subsection}{0}
  361 + \def\thesection{\Alph{section}} }
  362 +
  363 +\leftmargini 22.5pt
  364 +\leftmarginii 19.8pt % > \labelsep + width of '(m)'
  365 +\leftmarginiii 16.8pt % > \labelsep + width of 'vii.'
  366 +\leftmarginiv 15.3pt % > \labelsep + width of 'M.'
  367 +\leftmarginv 9pt
  368 +\leftmarginvi 9pt
  369 +
  370 +\leftmargin\leftmargini
  371 +\labelsep 4.5pt
  372 +\labelwidth\leftmargini\advance\labelwidth-\labelsep
  373 +
  374 +\def\@listI{\leftmargin\leftmargini \parsep 3.6pt plus 2pt minus 1pt%
  375 +\topsep 7.2pt plus 2pt minus 4pt%
  376 +\itemsep 3.6pt plus 2pt minus 1pt}
  377 +
  378 +\let\@listi\@listI
  379 +\@listi
  380 +
  381 +\def\@listii{\leftmargin\leftmarginii
  382 + \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  383 + \topsep 3.6pt plus 2pt minus 1pt
  384 + \parsep 1.8pt plus 0.9pt minus 0.9pt
  385 + \itemsep \parsep}
  386 +
  387 +\def\@listiii{\leftmargin\leftmarginiii
  388 + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  389 + \topsep 1.8pt plus 0.9pt minus 0.9pt
  390 + \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
  391 + \itemsep \topsep}
  392 +
  393 +\def\@listiv{\leftmargin\leftmarginiv
  394 + \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  395 +
  396 +\def\@listv{\leftmargin\leftmarginv
  397 + \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  398 +
  399 +\def\@listvi{\leftmargin\leftmarginvi
  400 + \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  401 +
  402 +\def\labelenumi{\theenumi.}
  403 +\def\theenumi{\arabic{enumi}}
  404 +
  405 +\def\labelenumii{(\theenumii)}
  406 +\def\theenumii{\alph{enumii}}
  407 +\def\p@enumii{\theenumi}
  408 +
  409 +\def\labelenumiii{\theenumiii.}
  410 +\def\theenumiii{\roman{enumiii}}
  411 +\def\p@enumiii{\theenumi(\theenumii)}
  412 +
  413 +\def\labelenumiv{\theenumiv.}
  414 +\def\theenumiv{\Alph{enumiv}}
  415 +\def\p@enumiv{\p@enumiii\theenumiii}
  416 +
  417 +\def\labelitemi{$\bullet$}
  418 +\def\labelitemii{\bf --}
  419 +\def\labelitemiii{$\ast$}
  420 +\def\labelitemiv{$\cdot$}
  421 +
  422 +\def\verse{\let\\=\@centercr
  423 + \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
  424 + \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
  425 +\let\endverse\endlist
  426 +
  427 +\def\quotation{\list{}{\listparindent 1.5em
  428 + \itemindent\listparindent
  429 + \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
  430 +\let\endquotation=\endlist
  431 +
  432 +\def\quote{\list{}{\rightmargin\leftmargin}\item[]}
  433 +\let\endquote=\endlist
  434 +
  435 +\def\descriptionlabel#1{\hspace\labelsep \bf #1}
  436 +\def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
  437 + \let\makelabel\descriptionlabel}}
  438 +
  439 +\let\enddescription\endlist
  440 +
  441 +\def\theequation{\arabic{equation}}
  442 +
  443 +\arraycolsep 4.5pt % Half the space between columns in an array environment.
  444 +\tabcolsep 5.4pt % Half the space between columns in a tabular environment.
  445 +\arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007
  446 +\doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
  447 +
  448 +\tabbingsep \labelsep % Space used by the \' command. (See LaTeX manual.)
  449 +
  450 +\skip\@mpfootins =\skip\footins
  451 +
  452 +\fboxsep =2.7pt % Space left between box and text by \fbox and \framebox.
  453 +\fboxrule =.5pt % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007
  454 +
  455 +\def\thepart{\Roman{part}} % Roman numeral part numbers.
  456 +\def\thesection {\arabic{section}}
  457 +\def\thesubsection {\thesection.\arabic{subsection}}
  458 +%\def\thesubsubsection {\thesubsection.\arabic{subsubsection}} % GM 7/30/2002
  459 +%\def\theparagraph {\thesubsubsection.\arabic{paragraph}} % GM 7/30/2002
  460 +\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
  461 +
  462 +\def\@pnumwidth{1.55em}
  463 +\def\@tocrmarg {2.55em}
  464 +\def\@dotsep{4.5}
  465 +\setcounter{tocdepth}{3}
  466 +
  467 +%\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
  468 +% allowed in the `acmconf' document style.}\@eha}
  469 +
  470 +\def\tableofcontents{\ClassError{%
  471 + \string\tableofcontents\space is not allowed in the `acmconf' document % January 2008
  472 + style}\@eha}
  473 +
  474 +\def\l@part#1#2{\addpenalty{\@secpenalty}
  475 + \addvspace{2.25em plus 1pt} % space above part line
  476 + \begingroup
  477 + \@tempdima 3em % width of box holding part number, used by
  478 + \parindent \z@ \rightskip \@pnumwidth %% \numberline
  479 + \parfillskip -\@pnumwidth
  480 + {\large \bf % set line in \large boldface
  481 + \leavevmode % TeX command to enter horizontal mode.
  482 + #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
  483 + \nobreak % Never break after part entry
  484 + \endgroup}
  485 +
  486 +\def\l@section#1#2{\addpenalty{\@secpenalty} % good place for page break
  487 + \addvspace{1.0em plus 1pt} % space above toc entry
  488 + \@tempdima 1.5em % width of box holding section number
  489 + \begingroup
  490 + \parindent \z@ \rightskip \@pnumwidth
  491 + \parfillskip -\@pnumwidth
  492 + \bf % Boldface.
  493 + \leavevmode % TeX command to enter horizontal mode.
  494 + \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to
  495 + \hskip -\leftskip %% 25 Jan 88 change to \numberline
  496 + #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
  497 + \endgroup}
  498 +
  499 +
  500 +\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
  501 +\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
  502 +\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
  503 +\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
  504 +
  505 +%\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
  506 +% allowed in the `acmconf' document style.}\@eha}
  507 +
  508 +\def\listoffigures{\ClassError{%
  509 + \string\listoffigures\space is not allowed in the `acmconf' document % January 2008
  510 + style}\@eha}
  511 +
  512 +\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
  513 +
  514 +%\def\listoftables{\@latexerr{\listoftables: Lists of tables are not
  515 +% allowed in the `acmconf' document style.}\@eha}
  516 +%\let\l@table\l@figure
  517 +
  518 +\def\listoftables{\ClassError{%
  519 + \string\listoftables\space is not allowed in the `acmconf' document % January 2008
  520 + style}\@eha}
  521 + \let\l@table\l@figure
  522 +
  523 +\def\footnoterule{\kern-3\p@
  524 + \hrule width .5\columnwidth % (was .4) updated Gerry March 20 2007
  525 + \kern 2.6\p@} % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007
  526 +% ------
  527 +\long\def\@makefntext#1{\noindent
  528 +%\hbox to .5em{\hss$^{\@thefnmark}$}#1} % original
  529 +\hbox to .5em{\hss\textsuperscript{\@thefnmark}}#1} % C. Clifton / GM Oct. 2nd. 2002
  530 +% -------
  531 +
  532 +\long\def\@maketntext#1{\noindent
  533 +#1}
  534 +
  535 +\long\def\@maketitlenotetext#1#2{\noindent
  536 + \hbox to 1.8em{\hss$^{#1}$}#2}
  537 +
  538 +\setcounter{topnumber}{2}
  539 +\def\topfraction{.7}
  540 +\setcounter{bottomnumber}{1}
  541 +\def\bottomfraction{.3}
  542 +\setcounter{totalnumber}{3}
  543 +\def\textfraction{.2}
  544 +\def\floatpagefraction{.5}
  545 +\setcounter{dbltopnumber}{2}
  546 +\def\dbltopfraction{.7}
  547 +\def\dblfloatpagefraction{.5}
  548 +
  549 +%
  550 +\long\def\@makecaption#1#2{
  551 + \vskip \baselineskip
  552 + \setbox\@tempboxa\hbox{\textbf{#1: #2}}
  553 + \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
  554 + \textbf{#1: #2}\par % THEN set as ordinary paragraph.
  555 + \else % ELSE center.
  556 + \hbox to\hsize{\hfil\box\@tempboxa\hfil}\par
  557 + \fi}
  558 +
  559 +%
  560 +
  561 +\long\def\@makecaption#1#2{
  562 + \vskip 10pt
  563 + \setbox\@tempboxa\hbox{\textbf{#1: #2}}
  564 + \ifdim \wd\@tempboxa >\hsize % IF longer than one line:
  565 + \textbf{#1: #2}\par % THEN set as ordinary paragraph.
  566 + \else % ELSE center.
  567 + \hbox to\hsize{\hfil\box\@tempboxa\hfil}
  568 + \fi}
  569 +
  570 +\@ifundefined{figure}{\newcounter {figure}} % this is for LaTeX2e
  571 +
  572 +\def\fps@figure{tbp}
  573 +\def\ftype@figure{1}
  574 +\def\ext@figure{lof}
  575 +\def\fnum@figure{Figure \thefigure}
  576 +\def\figure{\@float{figure}}
  577 +%\let\endfigure\end@float
  578 +\def\endfigure{\end@float} % Gerry January 2008
  579 +\@namedef{figure*}{\@dblfloat{figure}}
  580 +\@namedef{endfigure*}{\end@dblfloat}
  581 +
  582 +\@ifundefined{table}{\newcounter {table}} % this is for LaTeX2e
  583 +
  584 +\def\fps@table{tbp}
  585 +\def\ftype@table{2}
  586 +\def\ext@table{lot}
  587 +\def\fnum@table{Table \thetable}
  588 +\def\table{\@float{table}}
  589 +%\let\endtable\end@float
  590 +\def\endtable{\end@float} % Gerry January 2008
  591 +\@namedef{table*}{\@dblfloat{table}}
  592 +\@namedef{endtable*}{\end@dblfloat}
  593 +
  594 +\newtoks\titleboxnotes
  595 +\newcount\titleboxnoteflag
  596 +
  597 +\def\maketitle{\par
  598 + \begingroup
  599 + \def\thefootnote{\fnsymbol{footnote}}
  600 + \def\@makefnmark{\hbox
  601 + to 0pt{$^{\@thefnmark}$\hss}}
  602 + \twocolumn[\@maketitle]
  603 +\@thanks
  604 + \endgroup
  605 + \setcounter{footnote}{0}
  606 + \let\maketitle\relax
  607 + \let\@maketitle\relax
  608 + \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\gdef\@subtitle{}\let\thanks\relax
  609 +% \@copyrightspace %% Adjusted for 10pt submission format
  610 +}
  611 +
  612 +%% CHANGES ON NEXT LINES
  613 +\newif\if@ll % to record which version of LaTeX is in use
  614 +
  615 +\expandafter\ifx\csname LaTeXe\endcsname\relax % LaTeX2.09 is used
  616 +\else% LaTeX2e is used, so set ll to true
  617 +\global\@lltrue
  618 +\fi
  619 +
  620 +\if@ll
  621 + \NeedsTeXFormat{LaTeX2e}
  622 + \ProvidesClass{sig-alternate} [2009/04/22 - V2.4 - based on acmproc.cls V1.3 <Nov. 30 '99>]
  623 + \RequirePackage{latexsym}% QUERY: are these two really needed?
  624 + \let\dooptions\ProcessOptions
  625 +\else
  626 + \let\dooptions\@options
  627 +\fi
  628 +%% END CHANGES
  629 +
  630 +\def\@height{height}
  631 +\def\@width{width}
  632 +\def\@minus{minus}
  633 +\def\@plus{plus}
  634 +\def\hb@xt@{\hbox to}
  635 +\newif\if@faircopy
  636 +\@faircopyfalse
  637 +\def\ds@faircopy{\@faircopytrue}
  638 +
  639 +\def\ds@preprint{\@faircopyfalse}
  640 +
  641 +\@twosidetrue
  642 +\@mparswitchtrue
  643 +\def\ds@draft{\overfullrule 5\p@}
  644 +%% CHANGE ON NEXT LINE
  645 +\dooptions
  646 +
  647 +\lineskip \p@
  648 +\normallineskip \p@
  649 +\def\baselinestretch{1}
  650 +\def\@ptsize{0} %needed for amssymbols.sty
  651 +
  652 +%% CHANGES ON NEXT LINES
  653 +\if@ll% allow use of old-style font change commands in LaTeX2e
  654 +\@maxdepth\maxdepth
  655 +%
  656 +\DeclareOldFontCommand{\rm}{\ninept\rmfamily}{\mathrm}
  657 +\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  658 +\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  659 +\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  660 +\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  661 +\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  662 +\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  663 +\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
  664 +\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
  665 +\fi
  666 +%
  667 +\if@ll
  668 + \renewcommand{\rmdefault}{cmr} % was 'ttm'
  669 +% Note! I have also found 'mvr' to work ESPECIALLY well.
  670 +% Gerry - October 1999
  671 +% You may need to change your LV1times.fd file so that sc is
  672 +% mapped to cmcsc - -for smallcaps -- that is if you decide
  673 +% to change {cmr} to {times} above. (Not recommended)
  674 + \renewcommand{\@ptsize}{}
  675 + \renewcommand{\normalsize}{%
  676 +% \@setfontsize\normalsize\@ixpt{10.5\p@}%\ninept%
  677 + \@setfontsize\normalsize\@xpt{12\p@}%\tenpt% %% Adjusted for 10pt
  678 + \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
  679 + \belowdisplayskip \abovedisplayskip
  680 + \abovedisplayshortskip 6\p@ \@minus 3\p@
  681 + \belowdisplayshortskip 6\p@ \@minus 3\p@
  682 + \let\@listi\@listI
  683 + }
  684 +\else
  685 + \def\@normalsize{%changed next to 9 from 10 %% Adjusted for 10pt
  686 +% \@setsize\normalsize{10\p@}\ixpt\@ixpt
  687 + \@setsize\normalsize{10\p@}\xpt\@xpt %% Adjusted for 10pt
  688 + \abovedisplayskip 6\p@ \@plus2\p@ \@minus\p@
  689 + \belowdisplayskip \abovedisplayskip
  690 + \abovedisplayshortskip 6\p@ \@minus 3\p@
  691 + \belowdisplayshortskip 6\p@ \@minus 3\p@
  692 + \let\@listi\@listI
  693 + }%
  694 +\fi
  695 +\if@ll
  696 + \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt{8\p@}}
  697 + \newcommand\tiny{\@setfontsize\tiny\@vpt{6\p@}}
  698 + \newcommand\large{\@setfontsize\large\@xiipt{14\p@}}
  699 + \newcommand\Large{\@setfontsize\Large\@xivpt{18\p@}}
  700 + \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20\p@}}
  701 + \newcommand\huge{\@setfontsize\huge\@xxpt{25\p@}}
  702 + \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30\p@}}
  703 +\else
  704 + \def\scriptsize{\@setsize\scriptsize{8\p@}\viipt\@viipt}
  705 + \def\tiny{\@setsize\tiny{6\p@}\vpt\@vpt}
  706 + \def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
  707 + \def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
  708 + \def\LARGE{\@setsize\LARGE{20\p@}\xviipt\@xviipt}
  709 + \def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
  710 + \def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
  711 +\fi
  712 +\normalsize
  713 +
  714 +% make aubox hsize/number of authors up to 3, less gutter
  715 +% then showbox gutter showbox gutter showbox -- GKMT Aug 99
  716 +\newbox\@acmtitlebox
  717 +\def\@maketitle{\newpage
  718 + \null
  719 + \setbox\@acmtitlebox\vbox{%
  720 +\baselineskip 20pt
  721 +\vskip 2em % Vertical space above title.
  722 + \begin{center}
  723 + {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size.
  724 + \vskip 1.5em % Vertical space after title.
  725 +%This should be the subtitle.
  726 +{\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi
  727 + {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a
  728 + \lineskip .5em % tabular environment
  729 + \begin{tabular}[t]{c}\@author
  730 + \end{tabular}\par}
  731 + \vskip 1.5em % Vertical space after author.
  732 + \end{center}}
  733 + \dimen0=\ht\@acmtitlebox
  734 + \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT
  735 + \unvbox\@acmtitlebox
  736 + \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}
  737 +
  738 +
  739 +\newcount\titlenotecount
  740 +\global\titlenotecount=0
  741 +\newtoks\tntoks
  742 +\newtoks\tntokstwo
  743 +\newtoks\tntoksthree
  744 +\newtoks\tntoksfour
  745 +\newtoks\tntoksfive
  746 +
  747 +\def\abstract{
  748 +\ifnum\titlenotecount>0 % was =1
  749 + \insert\footins{%
  750 + \reset@font\footnotesize
  751 + \interlinepenalty\interfootnotelinepenalty
  752 + \splittopskip\footnotesep
  753 + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  754 + \hsize\columnwidth \@parboxrestore
  755 + \protected@edef\@currentlabel{%
  756 + }%
  757 + \color@begingroup
  758 +\ifnum\titlenotecount=1
  759 + \@maketntext{%
  760 + \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%
  761 +\fi
  762 +\ifnum\titlenotecount=2
  763 + \@maketntext{%
  764 + \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  765 +\@maketntext{%
  766 + \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%
  767 +\fi
  768 +\ifnum\titlenotecount=3
  769 + \@maketntext{%
  770 + \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  771 +\@maketntext{%
  772 + \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  773 +\@maketntext{%
  774 + \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%
  775 +\fi
  776 +\ifnum\titlenotecount=4
  777 + \@maketntext{%
  778 + \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  779 +\@maketntext{%
  780 + \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  781 +\@maketntext{%
  782 + \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
  783 +\@maketntext{%
  784 + \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%
  785 +\fi
  786 +\ifnum\titlenotecount=5
  787 + \@maketntext{%
  788 + \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%
  789 +\@maketntext{%
  790 + \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%
  791 +\@maketntext{%
  792 + \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%
  793 +\@maketntext{%
  794 + \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%
  795 +\@maketntext{%
  796 + \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%
  797 +\fi
  798 + \color@endgroup} %g}
  799 +\fi
  800 +\setcounter{footnote}{0}
  801 +%\section*{ABSTRACT}\normalsize%\ninept
  802 +\section*{ABSTRACT}\ninept%\ninept %% Adjusted for 10pt
  803 +}
  804 +
  805 +\def\endabstract{\if@twocolumn\else\endquotation\fi}
  806 +
  807 +\def\keywords{\if@twocolumn
  808 +\section*{Keywords}
  809 +\else \small
  810 +\quotation
  811 +\fi}
  812 +
  813 +\def\terms{\if@twocolumn
  814 +\section*{General Terms}
  815 +\else \small
  816 +\quotation
  817 +\fi}
  818 +
  819 +% -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999
  820 +\newcount\catcount
  821 +\global\catcount=1
  822 +
  823 +\def\category#1#2#3{%
  824 +\ifnum\catcount=1
  825 +\section*{Categories and Subject Descriptors}
  826 +\advance\catcount by 1\else{\unskip; }\fi
  827 + \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%
  828 +}
  829 +
  830 +\def\@category#1#2#3[#4]{%
  831 + \begingroup
  832 + \let\and\relax
  833 + #1 [\textbf{#2}]%
  834 + \if!#4!%
  835 + \if!#3!\else : #3\fi
  836 + \else
  837 + :\space
  838 + \if!#3!\else #3\kern\z@---\hskip\z@\fi
  839 + \textit{#4}%
  840 + \fi
  841 + \endgroup
  842 +}
  843 +%
  844 +
  845 +%%% This section (written by KBT) handles the 1" box in the lower left
  846 +%%% corner of the left column of the first page by creating a picture,
  847 +%%% and inserting the predefined string at the bottom (with a negative
  848 +%%% displacement to offset the space allocated for a non-existent
  849 +%%% caption).
  850 +%%%
  851 +%\newtoks\copyrightnotice %% Adjusted for 10pt submission format
  852 +%\def\ftype@copyrightbox{8}
  853 +%\def\@copyrightspace{
  854 +%\@float{copyrightbox}[b]
  855 +%\begin{center}
  856 +%\setlength{\unitlength}{1pc}
  857 +%\begin{picture}(20,6) %Space for copyright notice
  858 +%\put(0,-0.95){\crnotice{\@toappear}}
  859 +%\end{picture}
  860 +%\end{center}
  861 +%\end@float}
  862 +
  863 +\def\@toappear{} % Default setting blank - commands below change this.
  864 +%\long\def\toappear#1{\def\@toappear{\parbox[b]{20pc}{\baselineskip 9pt#1}}}
  865 +%\def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}
  866 +
  867 +\newtoks\conf
  868 +\newtoks\confinfo
  869 +\def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
  870 +
  871 +
  872 +%\def\marginpar{\@latexerr{The \marginpar command is not allowed in the
  873 +% `acmconf' document style.}\@eha}
  874 +
  875 +\def\marginpar{\ClassError{%
  876 + \string\marginpar\space is not allowed in the `acmconf' document % January 2008
  877 + style}\@eha}
  878 +
  879 +\mark{{}{}} % Initializes TeX's marks
  880 +
  881 +\def\today{\ifcase\month\or
  882 + January\or February\or March\or April\or May\or June\or
  883 + July\or August\or September\or October\or November\or December\fi
  884 + \space\number\day, \number\year}
  885 +
  886 +\def\@begintheorem#1#2{%
  887 + \parskip 0pt % GM July 2000 (for tighter spacing)
  888 + \trivlist
  889 + \item[%
  890 + \hskip 10\p@
  891 + \hskip \labelsep
  892 + {{\sc #1}\hskip 5\p@\relax#2.}%
  893 + ]
  894 + \it
  895 +}
  896 +\def\@opargbegintheorem#1#2#3{%
  897 + \parskip 0pt % GM July 2000 (for tighter spacing)
  898 + \trivlist
  899 + \item[%
  900 + \hskip 10\p@
  901 + \hskip \labelsep
  902 + {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries
  903 + \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title'
  904 + \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems
  905 + \hskip 5\p@\relax % if they occur 'around' said corollaries.
  906 + \box\@tempboxa % Gerry - Nov. 1999.
  907 + \fi.}%
  908 + ]
  909 + \it
  910 +}
  911 +\newif\if@qeded
  912 +\global\@qededfalse
  913 +
  914 +% -- original
  915 +%\def\proof{%
  916 +% \vspace{-\parskip} % GM July 2000 (for tighter spacing)
  917 +% \global\@qededfalse
  918 +% \@ifnextchar[{\@xproof}{\@proof}%
  919 +%}
  920 +% -- end of original
  921 +
  922 +% (JSS) Fix for vertical spacing bug - Gerry Murray July 30th. 2002
  923 +\def\proof{%
  924 +\vspace{-\lastskip}\vspace{-\parsep}\penalty-51%
  925 +\global\@qededfalse
  926 +\@ifnextchar[{\@xproof}{\@proof}%
  927 +}
  928 +
  929 +\def\endproof{%
  930 + \if@qeded\else\qed\fi
  931 + \endtrivlist
  932 +}
  933 +\def\@proof{%
  934 + \trivlist
  935 + \item[%
  936 + \hskip 10\p@
  937 + \hskip \labelsep
  938 + {\sc Proof.}%
  939 + ]
  940 + \ignorespaces
  941 +}
  942 +\def\@xproof[#1]{%
  943 + \trivlist
  944 + \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]%
  945 + \ignorespaces
  946 +}
  947 +\def\qed{%
  948 + \unskip
  949 + \kern 10\p@
  950 + \begingroup
  951 + \unitlength\p@
  952 + \linethickness{.4\p@}%
  953 + \framebox(6,6){}%
  954 + \endgroup
  955 + \global\@qededtrue
  956 +}
  957 +
  958 +\def\newdef#1#2{%
  959 + \expandafter\@ifdefinable\csname #1\endcsname
  960 + {\@definecounter{#1}%
  961 + \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
  962 + \global\@namedef{#1}{\@defthm{#1}{#2}}%
  963 + \global\@namedef{end#1}{\@endtheorem}%
  964 + }%
  965 +}
  966 +\def\@defthm#1#2{%
  967 + \refstepcounter{#1}%
  968 + \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%
  969 +}
  970 +\def\@xdefthm#1#2{%
  971 + \@begindef{#2}{\csname the#1\endcsname}%
  972 + \ignorespaces
  973 +}
  974 +\def\@ydefthm#1#2[#3]{%
  975 + \trivlist
  976 + \item[%
  977 + \hskip 10\p@
  978 + \hskip \labelsep
  979 + {\it #2%
  980 +% \savebox\@tempboxa{#3}%
  981 + \saveb@x\@tempboxa{#3}% % January 2008
  982 + \ifdim \wd\@tempboxa>\z@
  983 + \ \box\@tempboxa
  984 + \fi.%
  985 + }]%
  986 + \ignorespaces
  987 +}
  988 +\def\@begindef#1#2{%
  989 + \trivlist
  990 + \item[%
  991 + \hskip 10\p@
  992 + \hskip \labelsep
  993 + {\it #1\ \rm #2.}%
  994 + ]%
  995 +}
  996 +\def\theequation{\arabic{equation}}
  997 +
  998 +\newcounter{part}
  999 +\newcounter{section}
  1000 +\newcounter{subsection}[section]
  1001 +\newcounter{subsubsection}[subsection]
  1002 +\newcounter{paragraph}[subsubsection]
  1003 +\def\thepart{\Roman{part}}
  1004 +\def\thesection{\arabic{section}}
  1005 +\def\thesubsection{\thesection.\arabic{subsection}}
  1006 +\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} %removed \subsecfnt 29 July 2002 gkmt
  1007 +\def\theparagraph{\thesubsubsection.\arabic{paragraph}} %removed \subsecfnt 29 July 2002 gkmt
  1008 +\newif\if@uchead
  1009 +\@ucheadfalse
  1010 +
  1011 +%% CHANGES: NEW NOTE
  1012 +%% NOTE: OK to use old-style font commands below, since they were
  1013 +%% suitably redefined for LaTeX2e
  1014 +%% END CHANGES
  1015 +\setcounter{secnumdepth}{3}
  1016 +\def\part{%
  1017 + \@startsection{part}{9}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}
  1018 + {4\p@}{\normalsize\@ucheadtrue}%
  1019 +}
  1020 +\def\section{%
  1021 + \@startsection{section}{1}{\z@}{-10\p@ \@plus -4\p@ \@minus -2\p@}% GM
  1022 + {4\p@}{\baselineskip 14pt\secfnt\@ucheadtrue}%
  1023 +}
  1024 +
  1025 +\def\subsection{%
  1026 + \@startsection{subsection}{2}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}
  1027 + {4\p@}{\secfnt}%
  1028 +}
  1029 +\def\subsubsection{%
  1030 + \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}%
  1031 + {4\p@}{\subsecfnt}%
  1032 +}
  1033 +%\def\paragraph{%
  1034 +% \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original
  1035 +% {-5\p@}{\subsecfnt}%
  1036 +%}
  1037 +% If one wants sections, subsections and subsubsections numbered,
  1038 +% but not paragraphs, one usually sets secnumepth to 3.
  1039 +% For that, the "depth" of paragraphs must be given correctly
  1040 +% in the definition (``4'' instead of ``3'' as second argument
  1041 +% of @startsection):
  1042 +\def\paragraph{%
  1043 + \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}% % GM and Wolfgang May - 11/30/06
  1044 + {-5\p@}{\subsecfnt}%
  1045 +}
  1046 +\let\@period=.
  1047 +\def\@startsection#1#2#3#4#5#6{%
  1048 + \if@noskipsec %gkmt, 11 aug 99
  1049 + \global\let\@period\@empty
  1050 + \leavevmode
  1051 + \global\let\@period.%
  1052 + \fi
  1053 + \par %
  1054 + \@tempskipa #4\relax
  1055 + \@afterindenttrue
  1056 + \ifdim \@tempskipa <\z@
  1057 + \@tempskipa -\@tempskipa
  1058 + \@afterindentfalse
  1059 + \fi
  1060 + \if@nobreak
  1061 + \everypar{}%
  1062 + \else
  1063 + \addpenalty\@secpenalty
  1064 + \addvspace\@tempskipa
  1065 + \fi
  1066 +\parskip=0pt % GM July 2000 (non numbered) section heads
  1067 + \@ifstar
  1068 + {\@ssect{#3}{#4}{#5}{#6}}
  1069 + {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  1070 +}
  1071 +\def\@sect#1#2#3#4#5#6[#7]#8{%
  1072 + \ifnum #2>\c@secnumdepth
  1073 + \let\@svsec\@empty
  1074 + \else
  1075 + \refstepcounter{#1}%
  1076 + \edef\@svsec{%
  1077 + \begingroup
  1078 + %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
  1079 + \ifnum#2>2 \noexpand#6 \fi
  1080 + \csname the#1\endcsname
  1081 + \endgroup
  1082 + \ifnum #2=1\relax .\fi
  1083 + \hskip 1em
  1084 + }%
  1085 + \fi
  1086 + \@tempskipa #5\relax
  1087 + \ifdim \@tempskipa>\z@
  1088 + \begingroup
  1089 + #6\relax
  1090 + \@hangfrom{\hskip #3\relax\@svsec}%
  1091 + \begingroup
  1092 + \interlinepenalty \@M
  1093 + \if@uchead
  1094 + \uppercase{#8}%
  1095 + \else
  1096 + #8%
  1097 + \fi
  1098 + \par
  1099 + \endgroup
  1100 + \endgroup
  1101 + \csname #1mark\endcsname{#7}%
  1102 + \vskip -12pt %gkmt, 11 aug 99 and GM July 2000 (was -14) - numbered section head spacing
  1103 +\addcontentsline{toc}{#1}{%
  1104 + \ifnum #2>\c@secnumdepth \else
  1105 + \protect\numberline{\csname the#1\endcsname}%
  1106 + \fi
  1107 + #7%
  1108 + }%
  1109 + \else
  1110 + \def\@svsechd{%
  1111 + #6%
  1112 + \hskip #3\relax
  1113 + \@svsec
  1114 + \if@uchead
  1115 + \uppercase{#8}%
  1116 + \else
  1117 + #8%
  1118 + \fi
  1119 + \csname #1mark\endcsname{#7}%
  1120 + \addcontentsline{toc}{#1}{%
  1121 + \ifnum #2>\c@secnumdepth \else
  1122 + \protect\numberline{\csname the#1\endcsname}%
  1123 + \fi
  1124 + #7%
  1125 + }%
  1126 + }%
  1127 + \fi
  1128 + \@xsect{#5}\hskip 1pt
  1129 + \par
  1130 +}
  1131 +\def\@xsect#1{%
  1132 + \@tempskipa #1\relax
  1133 + \ifdim \@tempskipa>\z@
  1134 + \par
  1135 + \nobreak
  1136 + \vskip \@tempskipa
  1137 + \@afterheading
  1138 + \else
  1139 + \global\@nobreakfalse
  1140 + \global\@noskipsectrue
  1141 + \everypar{%
  1142 + \if@noskipsec
  1143 + \global\@noskipsecfalse
  1144 + \clubpenalty\@M
  1145 + \hskip -\parindent
  1146 + \begingroup
  1147 + \@svsechd
  1148 + \@period
  1149 + \endgroup
  1150 + \unskip
  1151 + \@tempskipa #1\relax
  1152 + \hskip -\@tempskipa
  1153 + \else
  1154 + \clubpenalty \@clubpenalty
  1155 + \everypar{}%
  1156 + \fi
  1157 + }%
  1158 + \fi
  1159 + \ignorespaces
  1160 +}
  1161 +\def\@trivlist{%
  1162 + \@topsepadd\topsep
  1163 + \if@noskipsec
  1164 + \global\let\@period\@empty
  1165 + \leavevmode
  1166 + \global\let\@period.%
  1167 + \fi
  1168 + \ifvmode
  1169 + \advance\@topsepadd\partopsep
  1170 + \else
  1171 + \unskip
  1172 + \par
  1173 + \fi
  1174 + \if@inlabel
  1175 + \@noparitemtrue
  1176 + \@noparlisttrue
  1177 + \else
  1178 + \@noparlistfalse
  1179 + \@topsep\@topsepadd
  1180 + \fi
  1181 + \advance\@topsep \parskip
  1182 + \leftskip\z@skip
  1183 + \rightskip\@rightskip
  1184 + \parfillskip\@flushglue
  1185 + \@setpar{\if@newlist\else{\@@par}\fi}
  1186 + \global\@newlisttrue
  1187 + \@outerparskip\parskip
  1188 +}
  1189 +
  1190 +%%% Actually, 'abbrev' works just fine as the default
  1191 +%%% Bibliography style.
  1192 +
  1193 +\typeout{Using 'Abbrev' bibliography style}
  1194 +\newcommand\bibyear[2]{%
  1195 + \unskip\quad\ignorespaces#1\unskip
  1196 + \if#2..\quad \else \quad#2 \fi
  1197 +}
  1198 +\newcommand{\bibemph}[1]{{\em#1}}
  1199 +\newcommand{\bibemphic}[1]{{\em#1\/}}
  1200 +\newcommand{\bibsc}[1]{{\sc#1}}
  1201 +\def\@normalcite{%
  1202 + \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
  1203 +}
  1204 +\def\@citeNB{%
  1205 + \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
  1206 +}
  1207 +\def\@citeRB{%
  1208 + \def\@cite##1##2{##1\if@tempswa , ##2\fi]}%
  1209 +}
  1210 +\def\start@cite#1#2{%
  1211 + \edef\citeauthoryear##1##2##3{%
  1212 + ###1%
  1213 + \ifnum#2=\z@ \else\ ###2\fi
  1214 + }%
  1215 + \ifnum#1=\thr@@
  1216 + \let\@@cite\@citeyear
  1217 + \else
  1218 + \let\@@cite\@citenormal
  1219 + \fi
  1220 + \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
  1221 +}
  1222 +%\def\cite{\start@cite23}
  1223 +\DeclareRobustCommand\cite{\start@cite23} % January 2008
  1224 +\def\citeNP{\cite*} % No Parentheses e.g. 5
  1225 +%\def\citeA{\start@cite10}
  1226 +\DeclareRobustCommand\citeA{\start@cite10} % January 2008
  1227 +\def\citeANP{\citeA*}
  1228 +%\def\shortcite{\start@cite23}
  1229 +\DeclareRobustCommand\shortcite{\start@cite23} % January 2008
  1230 +\def\shortciteNP{\shortcite*}
  1231 +%\def\shortciteA{\start@cite20}
  1232 +\DeclareRobustCommand\shortciteA{\start@cite20} % January 2008
  1233 +\def\shortciteANP{\shortciteA*}
  1234 +%\def\citeyear{\start@cite30}
  1235 +\DeclareRobustCommand\citeyear{\start@cite30} % January 2008
  1236 +\def\citeyearNP{\citeyear*}
  1237 +%\def\citeN{%
  1238 +\DeclareRobustCommand\citeN{% % January 2008
  1239 + \@citeRB
  1240 + \def\citeauthoryear##1##2##3{##1\ [##3%
  1241 + \def\reserved@a{##1}%
  1242 + \def\citeauthoryear####1####2####3{%
  1243 + \def\reserved@b{####1}%
  1244 + \ifx\reserved@a\reserved@b
  1245 + ####3%
  1246 + \else
  1247 + \errmessage{Package acmart Error: author mismatch
  1248 + in \string\citeN^^J^^J%
  1249 + See the acmart package documentation for explanation}%
  1250 + \fi
  1251 + }%
  1252 + }%
  1253 + \@ifstar\@citeyear\@citeyear
  1254 +}
  1255 +%\def\shortciteN{%
  1256 +\DeclareRobustCommand\shortciteN{% % January 2008
  1257 + \@citeRB
  1258 + \def\citeauthoryear##1##2##3{##2\ [##3%
  1259 + \def\reserved@a{##2}%
  1260 + \def\citeauthoryear####1####2####3{%
  1261 + \def\reserved@b{####2}%
  1262 + \ifx\reserved@a\reserved@b
  1263 + ####3%
  1264 + \else
  1265 + \errmessage{Package acmart Error: author mismatch
  1266 + in \string\shortciteN^^J^^J%
  1267 + See the acmart package documentation for explanation}%
  1268 + \fi
  1269 + }%
  1270 + }%
  1271 + \@ifstar\@citeyear\@citeyear % GM July 2000
  1272 +}
  1273 +
  1274 +\def\@citenormal{%
  1275 + \@ifnextchar [{\@tempswatrue\@citex;}%
  1276 +% original {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00
  1277 +{\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009
  1278 +}
  1279 +
  1280 +\def\@citeyear{%
  1281 + \@ifnextchar [{\@tempswatrue\@citex,}%
  1282 +% original {\@tempswafalse\@citex,[]}%
  1283 +{\@tempswafalse\@citex[]}% % GERRY FIX FOR BABEL 3/20/2009
  1284 +}
  1285 +
  1286 +\def\@citex#1[#2]#3{%
  1287 + \let\@citea\@empty
  1288 + \@cite{%
  1289 + \@for\@citeb:=#3\do{%
  1290 + \@citea
  1291 +% original \def\@citea{#1 }%
  1292 + \def\@citea{#1, }% % GERRY FIX FOR BABEL 3/20/2009 -- SO THAT YOU GET [1, 2] IN THE BODY TEXT
  1293 + \edef\@citeb{\expandafter\@iden\@citeb}%
  1294 + \if@filesw
  1295 + \immediate\write\@auxout{\string\citation{\@citeb}}%
  1296 + \fi
  1297 + \@ifundefined{b@\@citeb}{%
  1298 + {\bf ?}%
  1299 + \@warning{%
  1300 + Citation `\@citeb' on page \thepage\space undefined%
  1301 + }%
  1302 + }%
  1303 + {\csname b@\@citeb\endcsname}%
  1304 + }%
  1305 + }{#2}%
  1306 +}
  1307 +%\let\@biblabel\@gobble % Dec. 2008 - Gerry
  1308 +% ----
  1309 +\def\@biblabelnum#1{[#1]} % Gerry's solution #1 - for Natbib -- April 2009
  1310 +\let\@biblabel=\@biblabelnum % Gerry's solution #1 - for Natbib -- April 2009
  1311 +\def\newblock{\relax} % Gerry Dec. 2008
  1312 +% ---
  1313 +\newdimen\bibindent
  1314 +\setcounter{enumi}{1}
  1315 +\bibindent=0em
  1316 +\def\thebibliography#1{%
  1317 +\ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
  1318 + \section[References]{% <=== OPTIONAL ARGUMENT ADDED HERE
  1319 + {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004)
  1320 + {\vskip -2pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing)
  1321 + \@mkboth{{\refname}}{{\refname}}%
  1322 + }%
  1323 + \list{[\arabic{enumi}]}{%
  1324 + \settowidth\labelwidth{[#1]}%
  1325 + \leftmargin\labelwidth
  1326 + \advance\leftmargin\labelsep
  1327 + \advance\leftmargin\bibindent
  1328 + \parsep=0pt\itemsep=0pt % GM July 2000 %% Adjusted for 10pt
  1329 + \itemindent -\bibindent
  1330 + \listparindent \itemindent
  1331 + \usecounter{enumi}
  1332 + }%
  1333 + \let\newblock\@empty
  1334 + \raggedright % GM July 2000
  1335 + \sloppy
  1336 + \sfcode`\.=1000\relax
  1337 +}
  1338 +
  1339 +
  1340 +\gdef\balancecolumns
  1341 +{\vfill\eject
  1342 +\global\@colht=\textheight
  1343 +\global\ht\@cclv=\textheight
  1344 +}
  1345 +
  1346 +\newcount\colcntr
  1347 +\global\colcntr=0
  1348 +%\newbox\savebox
  1349 +\newbox\saveb@x % January 2008
  1350 +
  1351 +\gdef \@makecol {%
  1352 +\global\advance\colcntr by 1
  1353 +\ifnum\colcntr>2 \global\colcntr=1\fi
  1354 + \ifvoid\footins
  1355 + \setbox\@outputbox \box\@cclv
  1356 + \else
  1357 + \setbox\@outputbox \vbox{%
  1358 +\boxmaxdepth \@maxdepth
  1359 + \@tempdima\dp\@cclv
  1360 + \unvbox \@cclv
  1361 + \vskip-\@tempdima
  1362 + \vskip \skip\footins
  1363 + \color@begingroup
  1364 + \normalcolor
  1365 + \footnoterule
  1366 + \unvbox \footins
  1367 + \color@endgroup
  1368 + }%
  1369 + \fi
  1370 + \xdef\@freelist{\@freelist\@midlist}%
  1371 + \global \let \@midlist \@empty
  1372 + \@combinefloats
  1373 + \ifvbox\@kludgeins
  1374 + \@makespecialcolbox
  1375 + \else
  1376 + \setbox\@outputbox \vbox to\@colht {%
  1377 +\@texttop
  1378 + \dimen@ \dp\@outputbox
  1379 + \unvbox \@outputbox
  1380 + \vskip -\dimen@
  1381 + \@textbottom
  1382 + }%
  1383 + \fi
  1384 + \global \maxdepth \@maxdepth
  1385 +}
  1386 +\def\titlenote{\@ifnextchar[\@xtitlenote{\stepcounter\@mpfn
  1387 +\global\advance\titlenotecount by 1
  1388 +\ifnum\titlenotecount=1
  1389 + \raisebox{10pt}{$\ast$} %% Adjusted for 10pt
  1390 +\fi
  1391 +\ifnum\titlenotecount=2
  1392 + \raisebox{10pt}{$\dagger$} %% Adjusted for 10pt
  1393 +\fi
  1394 +\ifnum\titlenotecount=3
  1395 + \raisebox{10pt}{$\ddagger$} %% Adjusted for 10pt
  1396 +\fi
  1397 +\ifnum\titlenotecount=4
  1398 +\raisebox{10pt}{$\S$} %% Adjusted for 10pt
  1399 +\fi
  1400 +\ifnum\titlenotecount=5
  1401 +\raisebox{10pt}{$\P$} %% Adjusted for 10pt
  1402 +\fi
  1403 + \@titlenotetext
  1404 +}}
  1405 +
  1406 +\long\def\@titlenotetext#1{\insert\footins{%
  1407 +\ifnum\titlenotecount=1\global\tntoks={#1}\fi
  1408 +\ifnum\titlenotecount=2\global\tntokstwo={#1}\fi
  1409 +\ifnum\titlenotecount=3\global\tntoksthree={#1}\fi
  1410 +\ifnum\titlenotecount=4\global\tntoksfour={#1}\fi
  1411 +\ifnum\titlenotecount=5\global\tntoksfive={#1}\fi
  1412 + \reset@font\footnotesize
  1413 + \interlinepenalty\interfootnotelinepenalty
  1414 + \splittopskip\footnotesep
  1415 + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
  1416 + \hsize\columnwidth \@parboxrestore
  1417 + \protected@edef\@currentlabel{%
  1418 + }%
  1419 + \color@begingroup
  1420 + \color@endgroup}}
  1421 +
  1422 +%%%%%%%%%%%%%%%%%%%%%%%%%
  1423 +\ps@plain
  1424 +\baselineskip=11pt
  1425 +\let\thepage\relax % For NO page numbers - GM Nov. 30th. 1999 and July 2000
  1426 +\def\setpagenumber#1{\global\setcounter{page}{#1}}
  1427 +\pagenumbering{arabic} % Arabic page numbers GM July 2000 %% Adjusted for 10pt submission
  1428 +\twocolumn % Double column.
  1429 +\flushbottom % Even bottom -- alas, does not balance columns at end of document
  1430 +%\pagestyle{plain} %% Adjusted for 10pt
  1431 +
  1432 +% Need Copyright Year and Copyright Data to be user definable (in .tex file).
  1433 +% Gerry Nov. 30th. 1999
  1434 +\newtoks\copyrtyr
  1435 +\newtoks\acmcopyr
  1436 +\newtoks\boilerplate
  1437 +\global\acmcopyr={X-XXXXX-XX-X/XX/XX} % Default - 5/11/2001 *** Gerry
  1438 +\global\copyrtyr={20XX} % Default - 3/3/2003 *** Gerry
  1439 +\def\CopyrightYear#1{\global\copyrtyr{#1}}
  1440 +\def\crdata#1{\global\acmcopyr{#1}}
  1441 +\def\permission#1{\global\boilerplate{#1}}
  1442 +%
  1443 +\global\boilerplate={Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee.}
  1444 +\newtoks\copyrightetc
  1445 +\global\copyrightetc{Copyright \the\copyrtyr\ ACM \the\acmcopyr\ ...\$10.00}
  1446 +%\toappear{\the\boilerplate\par %% Adjusted for 10pt
  1447 +%{\confname{\the\conf}} \the\confinfo\par \the\copyrightetc.}
  1448 +%\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8} % << patch needed for accenting e.g. Montreal - Gerry, May 2007
  1449 +%\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8} % << patch needed for accenting in italicized confname - Gerry, May 2007
  1450 +%
  1451 +%{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.} % << Gerry, May 2007
  1452 +%
  1453 +% The following section (i.e. 3 .sty inclusions) was added in May 2007 so as to fix the problems that many
  1454 +% authors were having with accents. Sometimes accents would occur, but the letter-character would be of a different
  1455 +% font. Conversely the letter-character font would be correct but, e.g. a 'bar' would appear superimposed on the
  1456 +% character instead of, say, an unlaut/diaresis. Sometimes the letter-character would NOT appear at all.
  1457 +% Using [T1]{fontenc} outright was not an option as this caused 99% of the authors to 'produce' a Type-3 (bitmapped)
  1458 +% PDF file - useless for production.
  1459 +%
  1460 +% For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil'
  1461 +% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1462 +%% This is file `ae.sty'
  1463 +\def\fileversion{1.3}
  1464 +\def\filedate{2001/02/12}
  1465 +\NeedsTeXFormat{LaTeX2e}
  1466 +%\ProvidesPackage{ae}[\filedate\space\fileversion\space % GM
  1467 +% Almost European Computer Modern] % GM - keeping the log file clean(er)
  1468 +\newif\if@ae@slides \@ae@slidesfalse
  1469 +\DeclareOption{slides}{\@ae@slidestrue}
  1470 +\ProcessOptions
  1471 +\fontfamily{aer}
  1472 +\RequirePackage[T1]{fontenc}
  1473 +\if@ae@slides
  1474 + \renewcommand{\sfdefault}{laess}
  1475 + \renewcommand{\rmdefault}{laess} % no roman
  1476 + \renewcommand{\ttdefault}{laett}
  1477 +\else
  1478 + \renewcommand{\sfdefault}{aess}
  1479 + \renewcommand{\rmdefault}{aer}
  1480 + \renewcommand{\ttdefault}{aett}
  1481 +\fi
  1482 +\endinput
  1483 +%%
  1484 +%% End of file `ae.sty'.
  1485 +%
  1486 +%
  1487 +\def\fileversion{0.9}
  1488 +\def\filedate{1998/07/23}
  1489 +\NeedsTeXFormat{LaTeX2e}
  1490 +%\ProvidesPackage{aecompl}[\filedate\space\fileversion\space % GM
  1491 +%T1 Complements for AE fonts (D. Roegel)] % GM -- keeping the log file clean(er)
  1492 +
  1493 +\def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}}
  1494 +\def\guillemotleft{\@ae@compl{19}}
  1495 +\def\guillemotright{\@ae@compl{20}}
  1496 +\def\guilsinglleft{\@ae@compl{14}}
  1497 +\def\guilsinglright{\@ae@compl{15}}
  1498 +\def\TH{\@ae@compl{222}}
  1499 +\def\NG{\@ae@compl{141}}
  1500 +\def\ng{\@ae@compl{173}}
  1501 +\def\th{\@ae@compl{254}}
  1502 +\def\DJ{\@ae@compl{208}}
  1503 +\def\dj{\@ae@compl{158}}
  1504 +\def\DH{\@ae@compl{208}}
  1505 +\def\dh{\@ae@compl{240}}
  1506 +\def\@perthousandzero{\@ae@compl{24}}
  1507 +\def\textperthousand{\%\@perthousandzero}
  1508 +\def\textpertenthousand{\%\@perthousandzero\@perthousandzero}
  1509 +\endinput
  1510 +%
  1511 +%
  1512 +%% This is file `aeguill.sty'
  1513 +% This file gives french guillemets (and not guillemots!)
  1514 +% built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts
  1515 +% or with the EC fonts.
  1516 +% This is useful in conjunction with the ae package
  1517 +% (this package loads the ae package in case it has not been loaded)
  1518 +% and with or without the french(le) package.
  1519 +%
  1520 +% In order to get the guillemets, it is necessary to either type
  1521 +% \guillemotleft and \guillemotright, or to use an 8 bit encoding
  1522 +% (such as ISO-Latin1) which selects these two commands,
  1523 +% or, if you use the french package (but not the frenchle package),
  1524 +% to type << or >>.
  1525 +%
  1526 +% By default, you get the Polish CMR guillemets; if this package is loaded
  1527 +% with the `cm' option, you get the LASY guillemets; with `ec,' you
  1528 +% get the EC guillemets, and with `cyr,' you get the cyrillic guillemets.
  1529 +%
  1530 +% In verbatim mode, you always get the EC/TT guillemets.
  1531 +%
  1532 +% The default option is interesting in conjunction with PDF,
  1533 +% because there is a Type 1 version of the Polish CMR fonts
  1534 +% and these guillemets are very close in shape to the EC guillemets.
  1535 +% There are no free Type 1 versions of the EC fonts.
  1536 +%
  1537 +% Support for Polish CMR guillemets was kindly provided by
  1538 +% Rolf Niepraschk <niepraschk@ptb.de> in version 0.99 (2000/05/22).
  1539 +% Bernd Raichle provided extensive simplifications to the code
  1540 +% for version 1.00.
  1541 +%
  1542 +% This package is released under the LPPL.
  1543 +%
  1544 +% Changes:
  1545 +% Date version
  1546 +% 2001/04/12 1.01 the frenchle and french package are now distinguished.
  1547 +%
  1548 +\def\fileversion{1.01}
  1549 +\def\filedate{2001/04/12}
  1550 +\NeedsTeXFormat{LaTeX2e}
  1551 +%\ProvidesPackage{aeguill}[2001/04/12 1.01 % % GM
  1552 +%AE fonts with french guillemets (D. Roegel)] % GM - keeping the log file clean(er)
  1553 +%\RequirePackage{ae} % GM May 2007 - already embedded here
  1554 +
  1555 +\newcommand{\@ae@switch}[4]{#4}
  1556 +\DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}}
  1557 +\DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}}
  1558 +\DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}}
  1559 +\DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}}
  1560 +\ExecuteOptions{pl}
  1561 +\ProcessOptions
  1562 +
  1563 +%
  1564 +% Load necessary packages
  1565 +%
  1566 +\@ae@switch{% ec
  1567 + % do nothing
  1568 +}{% cm
  1569 + \RequirePackage{latexsym}% GM - May 2007 - already 'mentioned as required' up above
  1570 +}{% cyr
  1571 + \RequirePackage[OT2,T1]{fontenc}%
  1572 +}{% pl
  1573 + \RequirePackage[OT4,T1]{fontenc}%
  1574 +}
  1575 +
  1576 +% The following command will be compared to \frenchname,
  1577 +% as defined in french.sty and frenchle.sty.
  1578 +\def\aeguillfrenchdefault{french}%
  1579 +
  1580 +\let\guill@verbatim@font\verbatim@font
  1581 +\def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}%
  1582 + \let\guillemotleft\@oguills\let\guillemotright\@fguills}
  1583 +
  1584 +\begingroup \catcode`\<=13 \catcode`\>=13
  1585 +\def\x{\endgroup
  1586 + \def\ae@lfguill{<<}%
  1587 + \def\ae@rfguill{>>}%
  1588 +}\x
  1589 +
  1590 +\newcommand{\ecguills}[1]{%
  1591 + \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}%
  1592 + \def\@oguills{{\selectguillfont\symbol{19}}}%
  1593 + \def\@fguills{{\selectguillfont\symbol{20}}}%
  1594 + }
  1595 +
  1596 +\newcommand{\aeguills}{%
  1597 + \ae@guills
  1598 + % We redefine \guillemotleft and \guillemotright
  1599 + % in order to catch them when they are used
  1600 + % with \DeclareInputText (in latin1.def for instance)
  1601 + % We use \auxWARNINGi as a safe indicator that french.sty is used.
  1602 + \gdef\guillemotleft{\ifx\auxWARNINGi\undefined
  1603 + \@oguills % neither french.sty nor frenchle.sty
  1604 + \else
  1605 + \ifx\aeguillfrenchdefault\frenchname
  1606 + \ae@lfguill % french.sty
  1607 + \else
  1608 + \@oguills % frenchle.sty
  1609 + \fi
  1610 + \fi}%
  1611 + \gdef\guillemotright{\ifx\auxWARNINGi\undefined
  1612 + \@fguills % neither french.sty nor frenchle.sty
  1613 + \else
  1614 + \ifx\aeguillfrenchdefault\frenchname
  1615 + \ae@rfguill % french.sty
  1616 + \else
  1617 + \@fguills % frenchle.sty
  1618 + \fi
  1619 + \fi}%
  1620 + }
  1621 +
  1622 +%
  1623 +% Depending on the class option
  1624 +% define the internal command \ae@guills
  1625 +\@ae@switch{% ec
  1626 + \newcommand{\ae@guills}{%
  1627 + \ecguills{cmr}}%
  1628 +}{% cm
  1629 + \newcommand{\ae@guills}{%
  1630 + \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}%
  1631 + \fontseries{m}\fontshape{n}\selectfont}%
  1632 + \def\@oguills{\leavevmode\nobreak
  1633 + \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}%
  1634 + \def\@fguills{\leavevmode\nobreak
  1635 + \hbox{\selectguillfont \kern.20em)\kern-.2em)}%
  1636 + \ifdim\fontdimen\@ne\font>\z@\/\fi}}%
  1637 +}{% cyr
  1638 + \newcommand{\ae@guills}{%
  1639 + \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}%
  1640 + \def\@oguills{{\selectguillfont\symbol{60}}}%
  1641 + \def\@fguills{{\selectguillfont\symbol{62}}}}
  1642 +}{% pl
  1643 + \newcommand{\ae@guills}{%
  1644 + \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}%
  1645 + \def\@oguills{{\selectguillfont\symbol{174}}}%
  1646 + \def\@fguills{{\selectguillfont\symbol{175}}}}
  1647 +}
  1648 +
  1649 +
  1650 +\AtBeginDocument{%
  1651 + \ifx\GOfrench\undefined
  1652 + \aeguills
  1653 + \else
  1654 + \let\aeguill@GOfrench\GOfrench
  1655 + \gdef\GOfrench{\aeguill@GOfrench \aeguills}%
  1656 + \fi
  1657 + }
  1658 +
  1659 +\endinput
  1660 +%
  1661 +
submited/nens15-pocketsniffer.pdf 0 โ†’ 100644
No preview for this file type