From: ali Date: Mon, 21 Apr 2014 21:18:28 +0000 (+0200) Subject: New Update by Ali X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/JournalMultiRounds.git/commitdiff_plain/2a7df030e0a436701555cd9d5a1d5d1a4e3b2bcf?ds=sidebyside New Update by Ali --- diff --git a/IEEEtran.bst b/IEEEtran.bst deleted file mode 100755 index 1c7ceac..0000000 --- a/IEEEtran.bst +++ /dev/null @@ -1,2432 +0,0 @@ -%% -%% IEEEtran.bst -%% BibTeX Bibliography Style file for IEEE Journals and Conferences (unsorted) -%% Version 1.13 (2008/09/30) -%% -%% Copyright (c) 2003-2008 Michael Shell -%% -%% Original starting code base and algorithms obtained from the output of -%% Patrick W. Daly's makebst package as well as from prior versions of -%% IEEE BibTeX styles: -%% -%% 1. Howard Trickey and Oren Patashnik's ieeetr.bst (1985/1988) -%% 2. Silvano Balemi and Richard H. Roy's IEEEbib.bst (1993) -%% -%% Support sites: -%% http://www.michaelshell.org/tex/ieeetran/ -%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ -%% and/or -%% http://www.ieee.org/ -%% -%% For use with BibTeX version 0.99a or later -%% -%% This is a numerical citation style. -%% -%%************************************************************************* -%% Legal Notice: -%% This code is offered as-is without any warranty either expressed or -%% implied; without even the implied warranty of MERCHANTABILITY or -%% FITNESS FOR A PARTICULAR PURPOSE! -%% User assumes all risk. -%% In no event shall IEEE or any contributor to this code be liable for -%% any damages or losses, including, but not limited to, incidental, -%% consequential, or any other damages, resulting from the use or misuse -%% of any information contained here. -%% -%% All comments are the opinions of their respective authors and are not -%% necessarily endorsed by the IEEE. -%% -%% This work is distributed under the LaTeX Project Public License (LPPL) -%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, -%% distributed and modified. A copy of the LPPL, version 1.3, is included -%% in the base LaTeX documentation of all distributions of LaTeX released -%% 2003/12/01 or later. -%% Retain all contribution notices and credits. -%% ** Modified files should be clearly indicated as such, including ** -%% ** renaming them and changing author support contact information. ** -%% -%% File list of work: IEEEabrv.bib, IEEEfull.bib, IEEEexample.bib, -%% IEEEtran.bst, IEEEtranS.bst, IEEEtranSA.bst, -%% IEEEtranN.bst, IEEEtranSN.bst, IEEEtran_bst_HOWTO.pdf -%%************************************************************************* -% -% -% Changelog: -% -% 1.00 (2002/08/13) Initial release -% -% 1.10 (2002/09/27) -% 1. Corrected minor bug for improperly formed warning message when a -% book was not given a title. Thanks to Ming Kin Lai for reporting this. -% 2. Added support for CTLname_format_string and CTLname_latex_cmd fields -% in the BST control entry type. -% -% 1.11 (2003/04/02) -% 1. Fixed bug with URLs containing underscores when using url.sty. Thanks -% to Ming Kin Lai for reporting this. -% -% 1.12 (2007/01/11) -% 1. Fixed bug with unwanted comma before "et al." when an entry contained -% more than two author names. Thanks to Pallav Gupta for reporting this. -% 2. Fixed bug with anomalous closing quote in tech reports that have a -% type, but without a number or address. Thanks to Mehrdad Mirreza for -% reporting this. -% 3. Use braces in \providecommand in begin.bib to better support -% latex2html. TeX style length assignments OK with recent versions -% of latex2html - 1.71 (2002/2/1) or later is strongly recommended. -% Use of the language field still causes trouble with latex2html. -% Thanks to Federico Beffa for reporting this. -% 4. Added IEEEtran.bst ID and version comment string to .bbl output. -% 5. Provide a \BIBdecl hook that allows the user to execute commands -% just prior to the first entry. -% 6. Use default urlstyle (is using url.sty) of "same" rather than rm to -% better work with a wider variety of bibliography styles. -% 7. Changed month abbreviations from Sept., July and June to Sep., Jul., -% and Jun., respectively, as IEEE now does. Thanks to Moritz Borgmann -% for reporting this. -% 8. Control entry types should not be considered when calculating longest -% label width. -% 9. Added alias www for electronic/online. -% 10. Added CTLname_url_prefix control entry type. -% -% 1.13 (2008/09/30) -% 1. Fixed bug with edition number to ordinal conversion. Thanks to -% Michael Roland for reporting this and correcting the algorithm. - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% DEFAULTS FOR THE CONTROLS OF THE BST STYLE %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% These are the defaults for the user adjustable controls. The values used -% here can be overridden by the user via IEEEtranBSTCTL entry type. - -% NOTE: The recommended LaTeX command to invoke a control entry type is: -% -%\makeatletter -%\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}} -%\def\@bstctlcite[#1]#2{\@bsphack -% \@for\@citeb:=#2\do{% -% \edef\@citeb{\expandafter\@firstofone\@citeb}% -% \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}% -% \@esphack} -%\makeatother -% -% It is called at the start of the document, before the first \cite, like: -% \bstctlcite{IEEEexample:BSTcontrol} -% -% IEEEtran.cls V1.6 and later does provide this command. - - - -% #0 turns off the display of the number for articles. -% #1 enables -FUNCTION {default.is.use.number.for.article} { #1 } - - -% #0 turns off the display of the paper and type fields in @inproceedings. -% #1 enables -FUNCTION {default.is.use.paper} { #1 } - - -% #0 turns off the forced use of "et al." -% #1 enables -FUNCTION {default.is.forced.et.al} { #0 } - -% The maximum number of names that can be present beyond which an "et al." -% usage is forced. Be sure that num.names.shown.with.forced.et.al (below) -% is not greater than this value! -% Note: There are many instances of references in IEEE journals which have -% a very large number of authors as well as instances in which "et al." is -% used profusely. -FUNCTION {default.max.num.names.before.forced.et.al} { #10 } - -% The number of names that will be shown with a forced "et al.". -% Must be less than or equal to max.num.names.before.forced.et.al -FUNCTION {default.num.names.shown.with.forced.et.al} { #1 } - - -% #0 turns off the alternate interword spacing for entries with URLs. -% #1 enables -FUNCTION {default.is.use.alt.interword.spacing} { #1 } - -% If alternate interword spacing for entries with URLs is enabled, this is -% the interword spacing stretch factor that will be used. For example, the -% default "4" here means that the interword spacing in entries with URLs can -% stretch to four times normal. Does not have to be an integer. Note that -% the value specified here can be overridden by the user in their LaTeX -% code via a command such as: -% "\providecommand\BIBentryALTinterwordstretchfactor{1.5}" in addition to -% that via the IEEEtranBSTCTL entry type. -FUNCTION {default.ALTinterwordstretchfactor} { "4" } - - -% #0 turns off the "dashification" of repeated (i.e., identical to those -% of the previous entry) names. IEEE normally does this. -% #1 enables -FUNCTION {default.is.dash.repeated.names} { #1 } - - -% The default name format control string. -FUNCTION {default.name.format.string}{ "{f.~}{vv~}{ll}{, jj}" } - - -% The default LaTeX font command for the names. -FUNCTION {default.name.latex.cmd}{ "" } - - -% The default URL prefix. -FUNCTION {default.name.url.prefix}{ "[Online]. Available:" } - - -% Other controls that cannot be accessed via IEEEtranBSTCTL entry type. - -% #0 turns off the terminal startup banner/completed message so as to -% operate more quietly. -% #1 enables -FUNCTION {is.print.banners.to.terminal} { #1 } - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% FILE VERSION AND BANNER %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -FUNCTION{bst.file.version} { "1.13" } -FUNCTION{bst.file.date} { "2008/09/30" } -FUNCTION{bst.file.website} { "http://www.michaelshell.org/tex/ieeetran/bibtex/" } - -FUNCTION {banner.message} -{ is.print.banners.to.terminal - { "-- IEEEtran.bst version" " " * bst.file.version * - " (" * bst.file.date * ") " * "by Michael Shell." * - top$ - "-- " bst.file.website * - top$ - "-- See the " quote$ * "IEEEtran_bst_HOWTO.pdf" * quote$ * " manual for usage information." * - top$ - } - { skip$ } - if$ -} - -FUNCTION {completed.message} -{ is.print.banners.to.terminal - { "" - top$ - "Done." - top$ - } - { skip$ } - if$ -} - - - - -%%%%%%%%%%%%%%%%%%%%%% -%% STRING CONSTANTS %% -%%%%%%%%%%%%%%%%%%%%%% - -FUNCTION {bbl.and}{ "and" } -FUNCTION {bbl.etal}{ "et~al." } -FUNCTION {bbl.editors}{ "eds." } -FUNCTION {bbl.editor}{ "ed." } -FUNCTION {bbl.edition}{ "ed." } -FUNCTION {bbl.volume}{ "vol." } -FUNCTION {bbl.of}{ "of" } -FUNCTION {bbl.number}{ "no." } -FUNCTION {bbl.in}{ "in" } -FUNCTION {bbl.pages}{ "pp." } -FUNCTION {bbl.page}{ "p." } -FUNCTION {bbl.chapter}{ "ch." } -FUNCTION {bbl.paper}{ "paper" } -FUNCTION {bbl.part}{ "pt." } -FUNCTION {bbl.patent}{ "Patent" } -FUNCTION {bbl.patentUS}{ "U.S." } -FUNCTION {bbl.revision}{ "Rev." } -FUNCTION {bbl.series}{ "ser." } -FUNCTION {bbl.standard}{ "Std." } -FUNCTION {bbl.techrep}{ "Tech. Rep." } -FUNCTION {bbl.mthesis}{ "Master's thesis" } -FUNCTION {bbl.phdthesis}{ "Ph.D. dissertation" } -FUNCTION {bbl.st}{ "st" } -FUNCTION {bbl.nd}{ "nd" } -FUNCTION {bbl.rd}{ "rd" } -FUNCTION {bbl.th}{ "th" } - - -% This is the LaTeX spacer that is used when a larger than normal space -% is called for (such as just before the address:publisher). -FUNCTION {large.space} { "\hskip 1em plus 0.5em minus 0.4em\relax " } - -% The LaTeX code for dashes that are used to represent repeated names. -% Note: Some older IEEE journals used something like -% "\rule{0.275in}{0.5pt}\," which is fairly thick and runs right along -% the baseline. However, IEEE now uses a thinner, above baseline, -% six dash long sequence. -FUNCTION {repeated.name.dashes} { "------" } - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% PREDEFINED STRING MACROS %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -MACRO {jan} {"Jan."} -MACRO {feb} {"Feb."} -MACRO {mar} {"Mar."} -MACRO {apr} {"Apr."} -MACRO {may} {"May"} -MACRO {jun} {"Jun."} -MACRO {jul} {"Jul."} -MACRO {aug} {"Aug."} -MACRO {sep} {"Sep."} -MACRO {oct} {"Oct."} -MACRO {nov} {"Nov."} -MACRO {dec} {"Dec."} - - - -%%%%%%%%%%%%%%%%%% -%% ENTRY FIELDS %% -%%%%%%%%%%%%%%%%%% - -ENTRY - { address - assignee - author - booktitle - chapter - day - dayfiled - edition - editor - howpublished - institution - intype - journal - key - language - month - monthfiled - nationality - note - number - organization - pages - paper - publisher - school - series - revision - title - type - url - volume - year - yearfiled - CTLuse_article_number - CTLuse_paper - CTLuse_forced_etal - CTLmax_names_forced_etal - CTLnames_show_etal - CTLuse_alt_spacing - CTLalt_stretch_factor - CTLdash_repeated_names - CTLname_format_string - CTLname_latex_cmd - CTLname_url_prefix - } - {} - { label } - - - - -%%%%%%%%%%%%%%%%%%%%%%% -%% INTEGER VARIABLES %% -%%%%%%%%%%%%%%%%%%%%%%% - -INTEGERS { prev.status.punct this.status.punct punct.std - punct.no punct.comma punct.period - prev.status.space this.status.space space.std - space.no space.normal space.large - prev.status.quote this.status.quote quote.std - quote.no quote.close - prev.status.nline this.status.nline nline.std - nline.no nline.newblock - status.cap cap.std - cap.no cap.yes} - -INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames } - -INTEGERS { is.use.number.for.article - is.use.paper - is.forced.et.al - max.num.names.before.forced.et.al - num.names.shown.with.forced.et.al - is.use.alt.interword.spacing - is.dash.repeated.names} - - -%%%%%%%%%%%%%%%%%%%%%% -%% STRING VARIABLES %% -%%%%%%%%%%%%%%%%%%%%%% - -STRINGS { bibinfo - longest.label - oldname - s - t - ALTinterwordstretchfactor - name.format.string - name.latex.cmd - name.url.prefix} - - - - -%%%%%%%%%%%%%%%%%%%%%%%%% -%% LOW LEVEL FUNCTIONS %% -%%%%%%%%%%%%%%%%%%%%%%%%% - -FUNCTION {initialize.controls} -{ default.is.use.number.for.article 'is.use.number.for.article := - default.is.use.paper 'is.use.paper := - default.is.forced.et.al 'is.forced.et.al := - default.max.num.names.before.forced.et.al 'max.num.names.before.forced.et.al := - default.num.names.shown.with.forced.et.al 'num.names.shown.with.forced.et.al := - default.is.use.alt.interword.spacing 'is.use.alt.interword.spacing := - default.is.dash.repeated.names 'is.dash.repeated.names := - default.ALTinterwordstretchfactor 'ALTinterwordstretchfactor := - default.name.format.string 'name.format.string := - default.name.latex.cmd 'name.latex.cmd := - default.name.url.prefix 'name.url.prefix := -} - - -% This IEEEtran.bst features a very powerful and flexible mechanism for -% controlling the capitalization, punctuation, spacing, quotation, and -% newlines of the formatted entry fields. (Note: IEEEtran.bst does not need -% or use the newline/newblock feature, but it has been implemented for -% possible future use.) The output states of IEEEtran.bst consist of -% multiple independent attributes and, as such, can be thought of as being -% vectors, rather than the simple scalar values ("before.all", -% "mid.sentence", etc.) used in most other .bst files. -% -% The more flexible and complex design used here was motivated in part by -% IEEE's rather unusual bibliography style. For example, IEEE ends the -% previous field item with a period and large space prior to the publisher -% address; the @electronic entry types use periods as inter-item punctuation -% rather than the commas used by the other entry types; and URLs are never -% followed by periods even though they are the last item in the entry. -% Although it is possible to accommodate these features with the conventional -% output state system, the seemingly endless exceptions make for convoluted, -% unreliable and difficult to maintain code. -% -% IEEEtran.bst's output state system can be easily understood via a simple -% illustration of two most recently formatted entry fields (on the stack): -% -% CURRENT_ITEM -% "PREVIOUS_ITEM -% -% which, in this example, is to eventually appear in the bibliography as: -% -% "PREVIOUS_ITEM," CURRENT_ITEM -% -% It is the job of the output routine to take the previous item off of the -% stack (while leaving the current item at the top of the stack), apply its -% trailing punctuation (including closing quote marks) and spacing, and then -% to write the result to BibTeX's output buffer: -% -% "PREVIOUS_ITEM," -% -% Punctuation (and spacing) between items is often determined by both of the -% items rather than just the first one. The presence of quotation marks -% further complicates the situation because, in standard English, trailing -% punctuation marks are supposed to be contained within the quotes. -% -% IEEEtran.bst maintains two output state (aka "status") vectors which -% correspond to the previous and current (aka "this") items. Each vector -% consists of several independent attributes which track punctuation, -% spacing, quotation, and newlines. Capitalization status is handled by a -% separate scalar because the format routines, not the output routine, -% handle capitalization and, therefore, there is no need to maintain the -% capitalization attribute for both the "previous" and "this" items. -% -% When a format routine adds a new item, it copies the current output status -% vector to the previous output status vector and (usually) resets the -% current (this) output status vector to a "standard status" vector. Using a -% "standard status" vector in this way allows us to redefine what we mean by -% "standard status" at the start of each entry handler and reuse the same -% format routines under the various inter-item separation schemes. For -% example, the standard status vector for the @book entry type may use -% commas for item separators, while the @electronic type may use periods, -% yet both entry handlers exploit many of the exact same format routines. -% -% Because format routines have write access to the output status vector of -% the previous item, they can override the punctuation choices of the -% previous format routine! Therefore, it becomes trivial to implement rules -% such as "Always use a period and a large space before the publisher." By -% pushing the generation of the closing quote mark to the output routine, we -% avoid all the problems caused by having to close a quote before having all -% the information required to determine what the punctuation should be. -% -% The IEEEtran.bst output state system can easily be expanded if needed. -% For instance, it is easy to add a "space.tie" attribute value if the -% bibliography rules mandate that two items have to be joined with an -% unbreakable space. - -FUNCTION {initialize.status.constants} -{ #0 'punct.no := - #1 'punct.comma := - #2 'punct.period := - #0 'space.no := - #1 'space.normal := - #2 'space.large := - #0 'quote.no := - #1 'quote.close := - #0 'cap.no := - #1 'cap.yes := - #0 'nline.no := - #1 'nline.newblock := -} - -FUNCTION {std.status.using.comma} -{ punct.comma 'punct.std := - space.normal 'space.std := - quote.no 'quote.std := - nline.no 'nline.std := - cap.no 'cap.std := -} - -FUNCTION {std.status.using.period} -{ punct.period 'punct.std := - space.normal 'space.std := - quote.no 'quote.std := - nline.no 'nline.std := - cap.yes 'cap.std := -} - -FUNCTION {initialize.prev.this.status} -{ punct.no 'prev.status.punct := - space.no 'prev.status.space := - quote.no 'prev.status.quote := - nline.no 'prev.status.nline := - punct.no 'this.status.punct := - space.no 'this.status.space := - quote.no 'this.status.quote := - nline.no 'this.status.nline := - cap.yes 'status.cap := -} - -FUNCTION {this.status.std} -{ punct.std 'this.status.punct := - space.std 'this.status.space := - quote.std 'this.status.quote := - nline.std 'this.status.nline := -} - -FUNCTION {cap.status.std}{ cap.std 'status.cap := } - -FUNCTION {this.to.prev.status} -{ this.status.punct 'prev.status.punct := - this.status.space 'prev.status.space := - this.status.quote 'prev.status.quote := - this.status.nline 'prev.status.nline := -} - - -FUNCTION {not} -{ { #0 } - { #1 } - if$ -} - -FUNCTION {and} -{ { skip$ } - { pop$ #0 } - if$ -} - -FUNCTION {or} -{ { pop$ #1 } - { skip$ } - if$ -} - - -% convert the strings "yes" or "no" to #1 or #0 respectively -FUNCTION {yes.no.to.int} -{ "l" change.case$ duplicate$ - "yes" = - { pop$ #1 } - { duplicate$ "no" = - { pop$ #0 } - { "unknown boolean " quote$ * swap$ * quote$ * - " in " * cite$ * warning$ - #0 - } - if$ - } - if$ -} - - -% pushes true if the single char string on the stack is in the -% range of "0" to "9" -FUNCTION {is.num} -{ chr.to.int$ - duplicate$ "0" chr.to.int$ < not - swap$ "9" chr.to.int$ > not and -} - -% multiplies the integer on the stack by a factor of 10 -FUNCTION {bump.int.mag} -{ #0 'multiresult := - { duplicate$ #0 > } - { #1 - - multiresult #10 + - 'multiresult := - } - while$ -pop$ -multiresult -} - -% converts a single character string on the stack to an integer -FUNCTION {char.to.integer} -{ duplicate$ - is.num - { chr.to.int$ "0" chr.to.int$ - } - {"noninteger character " quote$ * swap$ * quote$ * - " in integer field of " * cite$ * warning$ - #0 - } - if$ -} - -% converts a string on the stack to an integer -FUNCTION {string.to.integer} -{ duplicate$ text.length$ 'namesleft := - #1 'nameptr := - #0 'numnames := - { nameptr namesleft > not } - { duplicate$ nameptr #1 substring$ - char.to.integer numnames bump.int.mag + - 'numnames := - nameptr #1 + - 'nameptr := - } - while$ -pop$ -numnames -} - - - - -% The output routines write out the *next* to the top (previous) item on the -% stack, adding punctuation and such as needed. Since IEEEtran.bst maintains -% the output status for the top two items on the stack, these output -% routines have to consider the previous output status (which corresponds to -% the item that is being output). Full independent control of punctuation, -% closing quote marks, spacing, and newblock is provided. -% -% "output.nonnull" does not check for the presence of a previous empty -% item. -% -% "output" does check for the presence of a previous empty item and will -% remove an empty item rather than outputing it. -% -% "output.warn" is like "output", but will issue a warning if it detects -% an empty item. - -FUNCTION {output.nonnull} -{ swap$ - prev.status.punct punct.comma = - { "," * } - { skip$ } - if$ - prev.status.punct punct.period = - { add.period$ } - { skip$ } - if$ - prev.status.quote quote.close = - { "''" * } - { skip$ } - if$ - prev.status.space space.normal = - { " " * } - { skip$ } - if$ - prev.status.space space.large = - { large.space * } - { skip$ } - if$ - write$ - prev.status.nline nline.newblock = - { newline$ "\newblock " write$ } - { skip$ } - if$ -} - -FUNCTION {output} -{ duplicate$ empty$ - 'pop$ - 'output.nonnull - if$ -} - -FUNCTION {output.warn} -{ 't := - duplicate$ empty$ - { pop$ "empty " t * " in " * cite$ * warning$ } - 'output.nonnull - if$ -} - -% "fin.entry" is the output routine that handles the last item of the entry -% (which will be on the top of the stack when "fin.entry" is called). - -FUNCTION {fin.entry} -{ this.status.punct punct.no = - { skip$ } - { add.period$ } - if$ - this.status.quote quote.close = - { "''" * } - { skip$ } - if$ -write$ -newline$ -} - - -FUNCTION {is.last.char.not.punct} -{ duplicate$ - "}" * add.period$ - #-1 #1 substring$ "." = -} - -FUNCTION {is.multiple.pages} -{ 't := - #0 'multiresult := - { multiresult not - t empty$ not - and - } - { t #1 #1 substring$ - duplicate$ "-" = - swap$ duplicate$ "," = - swap$ "+" = - or or - { #1 'multiresult := } - { t #2 global.max$ substring$ 't := } - if$ - } - while$ - multiresult -} - -FUNCTION {capitalize}{ "u" change.case$ "t" change.case$ } - -FUNCTION {emphasize} -{ duplicate$ empty$ - { pop$ "" } -%% Turned off for MESH2013 -% { "\emph{" swap$ * "}" * } - { skip$ } -%% - if$ -} - -FUNCTION {do.name.latex.cmd} -{ name.latex.cmd - empty$ - { skip$ } - { name.latex.cmd "{" * swap$ * "}" * } - if$ -} - -% IEEEtran.bst uses its own \BIBforeignlanguage command which directly -% invokes the TeX hyphenation patterns without the need of the Babel -% package. Babel does a lot more than switch hyphenation patterns and -% its loading can cause unintended effects in many class files (such as -% IEEEtran.cls). -FUNCTION {select.language} -{ duplicate$ empty$ 'pop$ - { language empty$ 'skip$ - { "\BIBforeignlanguage{" language * "}{" * swap$ * "}" * } - if$ - } - if$ -} - -FUNCTION {tie.or.space.prefix} -{ duplicate$ text.length$ #3 < - { "~" } - { " " } - if$ - swap$ -} - -FUNCTION {get.bbl.editor} -{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } - -FUNCTION {space.word}{ " " swap$ * " " * } - - -% Field Conditioners, Converters, Checkers and External Interfaces - -FUNCTION {empty.field.to.null.string} -{ duplicate$ empty$ - { pop$ "" } - { skip$ } - if$ -} - -FUNCTION {either.or.check} -{ empty$ - { pop$ } - { "can't use both " swap$ * " fields in " * cite$ * warning$ } - if$ -} - -FUNCTION {empty.entry.warn} -{ author empty$ title empty$ howpublished empty$ - month empty$ year empty$ note empty$ url empty$ - and and and and and and - { "all relevant fields are empty in " cite$ * warning$ } - 'skip$ - if$ -} - - -% The bibinfo system provides a way for the electronic parsing/acquisition -% of a bibliography's contents as is done by ReVTeX. For example, a field -% could be entered into the bibliography as: -% \bibinfo{volume}{2} -% Only the "2" would show up in the document, but the LaTeX \bibinfo command -% could do additional things with the information. IEEEtran.bst does provide -% a \bibinfo command via "\providecommand{\bibinfo}[2]{#2}". However, it is -% currently not used as the bogus bibinfo functions defined here output the -% entry values directly without the \bibinfo wrapper. The bibinfo functions -% themselves (and the calls to them) are retained for possible future use. -% -% bibinfo.check avoids acting on missing fields while bibinfo.warn will -% issue a warning message if a missing field is detected. Prior to calling -% the bibinfo functions, the user should push the field value and then its -% name string, in that order. - -FUNCTION {bibinfo.check} -{ swap$ duplicate$ missing$ - { pop$ pop$ "" } - { duplicate$ empty$ - { swap$ pop$ } - { swap$ pop$ } - if$ - } - if$ -} - -FUNCTION {bibinfo.warn} -{ swap$ duplicate$ missing$ - { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ "" } - { duplicate$ empty$ - { swap$ "empty " swap$ * " in " * cite$ * warning$ } - { swap$ pop$ } - if$ - } - if$ -} - - -% IEEE separates large numbers with more than 4 digits into groups of -% three. IEEE uses a small space to separate these number groups. -% Typical applications include patent and page numbers. - -% number of consecutive digits required to trigger the group separation. -FUNCTION {large.number.trigger}{ #5 } - -% For numbers longer than the trigger, this is the blocksize of the groups. -% The blocksize must be less than the trigger threshold, and 2 * blocksize -% must be greater than the trigger threshold (can't do more than one -% separation on the initial trigger). -FUNCTION {large.number.blocksize}{ #3 } - -% What is actually inserted between the number groups. -FUNCTION {large.number.separator}{ "\," } - -% So as to save on integer variables by reusing existing ones, numnames -% holds the current number of consecutive digits read and nameptr holds -% the number that will trigger an inserted space. -FUNCTION {large.number.separate} -{ 't := - "" - #0 'numnames := - large.number.trigger 'nameptr := - { t empty$ not } - { t #-1 #1 substring$ is.num - { numnames #1 + 'numnames := } - { #0 'numnames := - large.number.trigger 'nameptr := - } - if$ - t #-1 #1 substring$ swap$ * - t #-2 global.max$ substring$ 't := - numnames nameptr = - { duplicate$ #1 nameptr large.number.blocksize - substring$ swap$ - nameptr large.number.blocksize - #1 + global.max$ substring$ - large.number.separator swap$ * * - nameptr large.number.blocksize - 'numnames := - large.number.blocksize #1 + 'nameptr := - } - { skip$ } - if$ - } - while$ -} - -% Converts all single dashes "-" to double dashes "--". -FUNCTION {n.dashify} -{ large.number.separate - 't := - "" - { t empty$ not } - { t #1 #1 substring$ "-" = - { t #1 #2 substring$ "--" = not - { "--" * - t #2 global.max$ substring$ 't := - } - { { t #1 #1 substring$ "-" = } - { "-" * - t #2 global.max$ substring$ 't := - } - while$ - } - if$ - } - { t #1 #1 substring$ * - t #2 global.max$ substring$ 't := - } - if$ - } - while$ -} - - -% This function detects entries with names that are identical to that of -% the previous entry and replaces the repeated names with dashes (if the -% "is.dash.repeated.names" user control is nonzero). -FUNCTION {name.or.dash} -{ 's := - oldname empty$ - { s 'oldname := s } - { s oldname = - { is.dash.repeated.names - { repeated.name.dashes } - { s 'oldname := s } - if$ - } - { s 'oldname := s } - if$ - } - if$ -} - -% Converts the number string on the top of the stack to -% "numerical ordinal form" (e.g., "7" to "7th"). There is -% no artificial limit to the upper bound of the numbers as the -% two least significant digits determine the ordinal form. -FUNCTION {num.to.ordinal} -{ duplicate$ #-2 #1 substring$ "1" = - { bbl.th * } - { duplicate$ #-1 #1 substring$ "1" = - { bbl.st * } - { duplicate$ #-1 #1 substring$ "2" = - { bbl.nd * } - { duplicate$ #-1 #1 substring$ "3" = - { bbl.rd * } - { bbl.th * } - if$ - } - if$ - } - if$ - } - if$ -} - -% If the string on the top of the stack begins with a number, -% (e.g., 11th) then replace the string with the leading number -% it contains. Otherwise retain the string as-is. s holds the -% extracted number, t holds the part of the string that remains -% to be scanned. -FUNCTION {extract.num} -{ duplicate$ 't := - "" 's := - { t empty$ not } - { t #1 #1 substring$ - t #2 global.max$ substring$ 't := - duplicate$ is.num - { s swap$ * 's := } - { pop$ "" 't := } - if$ - } - while$ - s empty$ - 'skip$ - { pop$ s } - if$ -} - -% Converts the word number string on the top of the stack to -% Arabic string form. Will be successful up to "tenth". -FUNCTION {word.to.num} -{ duplicate$ "l" change.case$ 's := - s "first" = - { pop$ "1" } - { skip$ } - if$ - s "second" = - { pop$ "2" } - { skip$ } - if$ - s "third" = - { pop$ "3" } - { skip$ } - if$ - s "fourth" = - { pop$ "4" } - { skip$ } - if$ - s "fifth" = - { pop$ "5" } - { skip$ } - if$ - s "sixth" = - { pop$ "6" } - { skip$ } - if$ - s "seventh" = - { pop$ "7" } - { skip$ } - if$ - s "eighth" = - { pop$ "8" } - { skip$ } - if$ - s "ninth" = - { pop$ "9" } - { skip$ } - if$ - s "tenth" = - { pop$ "10" } - { skip$ } - if$ -} - - -% Converts the string on the top of the stack to numerical -% ordinal (e.g., "11th") form. -FUNCTION {convert.edition} -{ duplicate$ empty$ 'skip$ - { duplicate$ #1 #1 substring$ is.num - { extract.num - num.to.ordinal - } - { word.to.num - duplicate$ #1 #1 substring$ is.num - { num.to.ordinal } - { "edition ordinal word " quote$ * edition * quote$ * - " may be too high (or improper) for conversion" * " in " * cite$ * warning$ - } - if$ - } - if$ - } - if$ -} - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% LATEX BIBLIOGRAPHY CODE %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -FUNCTION {start.entry} -{ newline$ - "\bibitem{" write$ - cite$ write$ - "}" write$ - newline$ - "" - initialize.prev.this.status -} - -% Here we write out all the LaTeX code that we will need. The most involved -% code sequences are those that control the alternate interword spacing and -% foreign language hyphenation patterns. The heavy use of \providecommand -% gives users a way to override the defaults. Special thanks to Javier Bezos, -% Johannes Braams, Robin Fairbairns, Heiko Oberdiek, Donald Arseneau and all -% the other gurus on comp.text.tex for their help and advice on the topic of -% \selectlanguage, Babel and BibTeX. -FUNCTION {begin.bib} -{ "% Generated by IEEEtran.bst, version: " bst.file.version * " (" * bst.file.date * ")" * - write$ newline$ - preamble$ empty$ 'skip$ - { preamble$ write$ newline$ } - if$ - "\begin{thebibliography}{" longest.label * "}" * - write$ newline$ - "\providecommand{\url}[1]{#1}" - write$ newline$ - "\csname url@samestyle\endcsname" - write$ newline$ - "\providecommand{\newblock}{\relax}" - write$ newline$ - "\providecommand{\bibinfo}[2]{#2}" - write$ newline$ - "\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}" - write$ newline$ - "\providecommand{\BIBentryALTinterwordstretchfactor}{" - ALTinterwordstretchfactor * "}" * - write$ newline$ - "\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus " - write$ newline$ - "\BIBentryALTinterwordstretchfactor\fontdimen3\font minus \fontdimen4\font\relax}" - write$ newline$ - "\providecommand{\BIBforeignlanguage}[2]{{%" - write$ newline$ - "\expandafter\ifx\csname l@#1\endcsname\relax" - write$ newline$ - "\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%" - write$ newline$ - "\typeout{** loaded for the language `#1'. Using the pattern for}%" - write$ newline$ - "\typeout{** the default language instead.}%" - write$ newline$ - "\else" - write$ newline$ - "\language=\csname l@#1\endcsname" - write$ newline$ - "\fi" - write$ newline$ - "#2}}" - write$ newline$ - "\providecommand{\BIBdecl}{\relax}" - write$ newline$ - "\BIBdecl" - write$ newline$ -} - -FUNCTION {end.bib} -{ newline$ "\end{thebibliography}" write$ newline$ } - -FUNCTION {if.url.alt.interword.spacing} -{ is.use.alt.interword.spacing - {url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$} - { skip$ } - if$ -} - -FUNCTION {if.url.std.interword.spacing} -{ is.use.alt.interword.spacing - {url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$} - { skip$ } - if$ -} - - - - -%%%%%%%%%%%%%%%%%%%%%%%% -%% LONGEST LABEL PASS %% -%%%%%%%%%%%%%%%%%%%%%%%% - -FUNCTION {initialize.longest.label} -{ "" 'longest.label := - #1 'number.label := - #0 'longest.label.width := -} - -FUNCTION {longest.label.pass} -{ type$ "ieeetranbstctl" = - { skip$ } - { number.label int.to.str$ 'label := - number.label #1 + 'number.label := - label width$ longest.label.width > - { label 'longest.label := - label width$ 'longest.label.width := - } - { skip$ } - if$ - } - if$ -} - - - - -%%%%%%%%%%%%%%%%%%%%% -%% FORMAT HANDLERS %% -%%%%%%%%%%%%%%%%%%%%% - -%% Lower Level Formats (used by higher level formats) - -FUNCTION {format.address.org.or.pub.date} -{ 't := - "" - year empty$ - { "empty year in " cite$ * warning$ } - { skip$ } - if$ - address empty$ t empty$ and - year empty$ and month empty$ and - { skip$ } - { this.to.prev.status - this.status.std - cap.status.std - address "address" bibinfo.check * - t empty$ - { skip$ } - { punct.period 'prev.status.punct := - space.large 'prev.status.space := - address empty$ - { skip$ } - { ": " * } - if$ - t * - } - if$ - year empty$ month empty$ and - { skip$ } - { t empty$ address empty$ and - { skip$ } - { ", " * } - if$ - month empty$ - { year empty$ - { skip$ } - { year "year" bibinfo.check * } - if$ - } - { month "month" bibinfo.check * - year empty$ - { skip$ } - { " " * year "year" bibinfo.check * } - if$ - } - if$ - } - if$ - } - if$ -} - - -FUNCTION {format.names} -{ 'bibinfo := - duplicate$ empty$ 'skip$ { - this.to.prev.status - this.status.std - 's := - "" 't := - #1 'nameptr := - s num.names$ 'numnames := - numnames 'namesleft := - { namesleft #0 > } - { s nameptr - name.format.string - format.name$ - bibinfo bibinfo.check - 't := - nameptr #1 > - { nameptr num.names.shown.with.forced.et.al #1 + = - numnames max.num.names.before.forced.et.al > - is.forced.et.al and and - { "others" 't := - #1 'namesleft := - } - { skip$ } - if$ - namesleft #1 > - { ", " * t do.name.latex.cmd * } - { s nameptr "{ll}" format.name$ duplicate$ "others" = - { 't := } - { pop$ } - if$ - t "others" = - { " " * bbl.etal emphasize * } - { numnames #2 > - { "," * } - { skip$ } - if$ - bbl.and - space.word * t do.name.latex.cmd * - } - if$ - } - if$ - } - { t do.name.latex.cmd } - if$ - nameptr #1 + 'nameptr := - namesleft #1 - 'namesleft := - } - while$ - cap.status.std - } if$ -} - - - - -%% Higher Level Formats - -%% addresses/locations - -FUNCTION {format.address} -{ address duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - } - if$ -} - - - -%% author/editor names - -FUNCTION {format.authors}{ author "author" format.names } - -FUNCTION {format.editors} -{ editor "editor" format.names duplicate$ empty$ 'skip$ - { ", " * - get.bbl.editor - capitalize - * - } - if$ -} - - - -%% date - -FUNCTION {format.date} -{ - month "month" bibinfo.check duplicate$ empty$ - year "year" bibinfo.check duplicate$ empty$ - { swap$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - "there's a month but no year in " cite$ * warning$ } - if$ - * - } - { this.to.prev.status - this.status.std - cap.status.std - swap$ 'skip$ - { - swap$ - " " * swap$ - } - if$ - * - } - if$ -} - -% WARNING: This function was modified to adhere to the formatting rules -% of MESH2013 conference for entries with both month and year specified. -% It will not work properly otherwise. -FUNCTION {format.date.electronic} -{ year "year" bibinfo.check duplicate$ empty$ - month "month" bibinfo.check duplicate$ empty$ - { swap$ - { pop$ } - { "there's a month but no year in " cite$ * warning$ - pop$ ")" * "(" swap$ * - this.to.prev.status - punct.no 'this.status.punct := - space.normal 'this.status.space := - quote.no 'this.status.quote := - cap.yes 'status.cap := - } - if$ - } - { swap$ - { swap$ pop$ ")" * "(" swap$ * } - { "[retrieved: " swap$ * ", " * swap$ * "]" * } - if$ - this.to.prev.status - punct.no 'this.status.punct := - space.normal 'this.status.space := - quote.no 'this.status.quote := - cap.yes 'status.cap := - } - if$ -} - - - -%% edition/title - -% Note: IEEE considers the edition to be closely associated with -% the title of a book. So, in IEEEtran.bst the edition is normally handled -% within the formatting of the title. The format.edition function is -% retained here for possible future use. -FUNCTION {format.edition} -{ edition duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - convert.edition - status.cap - { "t" } - { "l" } - if$ change.case$ - "edition" bibinfo.check - "~" * bbl.edition * - cap.status.std - } - if$ -} - -% This is used to format the booktitle of a conference proceedings. -% Here we use the "intype" field to provide the user a way to -% override the word "in" (e.g., with things like "presented at") -% Use of intype stops the emphasis of the booktitle to indicate that -% we no longer mean the written conference proceedings, but the -% conference itself. -FUNCTION {format.in.booktitle} -{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - select.language - intype missing$ - { emphasize - bbl.in " " * - } - { intype " " * } - if$ - swap$ * - cap.status.std - } - if$ -} - -% This is used to format the booktitle of collection. -% Here the "intype" field is not supported, but "edition" is. -FUNCTION {format.in.booktitle.edition} -{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - select.language - emphasize - edition empty$ 'skip$ - { ", " * - edition - convert.edition - "l" change.case$ - * "~" * bbl.edition * - } - if$ - bbl.in " " * swap$ * - cap.status.std - } - if$ -} - -FUNCTION {format.article.title} -{ title duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - "t" change.case$ - } - if$ - "title" bibinfo.check - duplicate$ empty$ 'skip$ - { quote.close 'this.status.quote := - is.last.char.not.punct - { punct.std 'this.status.punct := } - { punct.no 'this.status.punct := } - if$ - select.language - "``" swap$ * - cap.status.std - } - if$ -} - -FUNCTION {format.article.title.electronic} -{ title duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - "t" change.case$ - } - if$ - "title" bibinfo.check - duplicate$ empty$ - { skip$ } - { select.language } - if$ -} - -FUNCTION {format.book.title.edition} -{ title "title" bibinfo.check - duplicate$ empty$ - { "empty title in " cite$ * warning$ } - { this.to.prev.status - this.status.std - select.language - emphasize - edition empty$ 'skip$ - { ", " * - edition - convert.edition - status.cap - { "t" } - { "l" } - if$ - change.case$ - * "~" * bbl.edition * - } - if$ - cap.status.std - } - if$ -} - -FUNCTION {format.book.title} -{ title "title" bibinfo.check - duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - select.language - emphasize - } - if$ -} - - - -%% journal - -FUNCTION {format.journal} -{ journal duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - select.language - emphasize - } - if$ -} - - - -%% how published - -FUNCTION {format.howpublished} -{ howpublished duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - } - if$ -} - - - -%% institutions/organization/publishers/school - -FUNCTION {format.institution} -{ institution duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - } - if$ -} - -FUNCTION {format.organization} -{ organization duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - } - if$ -} - -FUNCTION {format.address.publisher.date} -{ publisher "publisher" bibinfo.warn format.address.org.or.pub.date } - -FUNCTION {format.address.publisher.date.nowarn} -{ publisher "publisher" bibinfo.check format.address.org.or.pub.date } - -FUNCTION {format.address.organization.date} -{ organization "organization" bibinfo.check format.address.org.or.pub.date } - -FUNCTION {format.school} -{ school duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - cap.status.std - } - if$ -} - - - -%% volume/number/series/chapter/pages - -FUNCTION {format.volume} -{ volume empty.field.to.null.string - duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - bbl.volume - status.cap - { capitalize } - { skip$ } - if$ - swap$ tie.or.space.prefix - "volume" bibinfo.check - * * - cap.status.std - } - if$ -} - -FUNCTION {format.number} -{ number empty.field.to.null.string - duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - status.cap - { bbl.number capitalize } - { bbl.number } - if$ - swap$ tie.or.space.prefix - "number" bibinfo.check - * * - cap.status.std - } - if$ -} - -FUNCTION {format.number.if.use.for.article} -{ is.use.number.for.article - { format.number } - { "" } - if$ -} - -% IEEE does not seem to tie the series so closely with the volume -% and number as is done in other bibliography styles. Instead the -% series is treated somewhat like an extension of the title. -FUNCTION {format.series} -{ series empty$ - { "" } - { this.to.prev.status - this.status.std - bbl.series " " * - series "series" bibinfo.check * - cap.status.std - } - if$ -} - - -FUNCTION {format.chapter} -{ chapter empty$ - { "" } - { this.to.prev.status - this.status.std - type empty$ - { bbl.chapter } - { type "l" change.case$ - "type" bibinfo.check - } - if$ - chapter tie.or.space.prefix - "chapter" bibinfo.check - * * - cap.status.std - } - if$ -} - - -% The intended use of format.paper is for paper numbers of inproceedings. -% The paper type can be overridden via the type field. -% We allow the type to be displayed even if the paper number is absent -% for things like "postdeadline paper" -FUNCTION {format.paper} -{ is.use.paper - { paper empty$ - { type empty$ - { "" } - { this.to.prev.status - this.status.std - type "type" bibinfo.check - cap.status.std - } - if$ - } - { this.to.prev.status - this.status.std - type empty$ - { bbl.paper } - { type "type" bibinfo.check } - if$ - " " * paper - "paper" bibinfo.check - * - cap.status.std - } - if$ - } - { "" } - if$ -} - - -FUNCTION {format.pages} -{ pages duplicate$ empty$ 'skip$ - { this.to.prev.status - this.status.std - duplicate$ is.multiple.pages - { - bbl.pages swap$ - n.dashify - } - { - bbl.page swap$ - } - if$ - tie.or.space.prefix - "pages" bibinfo.check - * * - cap.status.std - } - if$ -} - - - -%% technical report number - -FUNCTION {format.tech.report.number} -{ number "number" bibinfo.check - this.to.prev.status - this.status.std - cap.status.std - type duplicate$ empty$ - { pop$ - bbl.techrep - } - { skip$ } - if$ - "type" bibinfo.check - swap$ duplicate$ empty$ - { pop$ } - { tie.or.space.prefix * * } - if$ -} - - - -%% note - -FUNCTION {format.note} -{ note empty$ - { "" } - { this.to.prev.status - this.status.std - punct.period 'this.status.punct := - note #1 #1 substring$ - duplicate$ "{" = - { skip$ } - { status.cap - { "u" } - { "l" } - if$ - change.case$ - } - if$ - note #2 global.max$ substring$ * "note" bibinfo.check - cap.yes 'status.cap := - } - if$ -} - - - -%% patent - -FUNCTION {format.patent.date} -{ this.to.prev.status - this.status.std - year empty$ - { monthfiled duplicate$ empty$ - { "monthfiled" bibinfo.check pop$ "" } - { "monthfiled" bibinfo.check } - if$ - dayfiled duplicate$ empty$ - { "dayfiled" bibinfo.check pop$ "" * } - { "dayfiled" bibinfo.check - monthfiled empty$ - { "dayfiled without a monthfiled in " cite$ * warning$ - * - } - { " " swap$ * * } - if$ - } - if$ - yearfiled empty$ - { "no year or yearfiled in " cite$ * warning$ } - { yearfiled "yearfiled" bibinfo.check - swap$ - duplicate$ empty$ - { pop$ } - { ", " * swap$ * } - if$ - } - if$ - } - { month duplicate$ empty$ - { "month" bibinfo.check pop$ "" } - { "month" bibinfo.check } - if$ - day duplicate$ empty$ - { "day" bibinfo.check pop$ "" * } - { "day" bibinfo.check - month empty$ - { "day without a month in " cite$ * warning$ - * - } - { " " swap$ * * } - if$ - } - if$ - year "year" bibinfo.check - swap$ - duplicate$ empty$ - { pop$ } - { ", " * swap$ * } - if$ - } - if$ - cap.status.std -} - -FUNCTION {format.patent.nationality.type.number} -{ this.to.prev.status - this.status.std - nationality duplicate$ empty$ - { "nationality" bibinfo.warn pop$ "" } - { "nationality" bibinfo.check - duplicate$ "l" change.case$ "united states" = - { pop$ bbl.patentUS } - { skip$ } - if$ - " " * - } - if$ - type empty$ - { bbl.patent "type" bibinfo.check } - { type "type" bibinfo.check } - if$ - * - number duplicate$ empty$ - { "number" bibinfo.warn pop$ } - { "number" bibinfo.check - large.number.separate - swap$ " " * swap$ * - } - if$ - cap.status.std -} - - - -%% standard - -FUNCTION {format.organization.institution.standard.type.number} -{ this.to.prev.status - this.status.std - organization duplicate$ empty$ - { pop$ - institution duplicate$ empty$ - { "institution" bibinfo.warn } - { "institution" bibinfo.warn " " * } - if$ - } - { "organization" bibinfo.warn " " * } - if$ - type empty$ - { bbl.standard "type" bibinfo.check } - { type "type" bibinfo.check } - if$ - * - number duplicate$ empty$ - { "number" bibinfo.check pop$ } - { "number" bibinfo.check - large.number.separate - swap$ " " * swap$ * - } - if$ - cap.status.std -} - -FUNCTION {format.revision} -{ revision empty$ - { "" } - { this.to.prev.status - this.status.std - bbl.revision - revision tie.or.space.prefix - "revision" bibinfo.check - * * - cap.status.std - } - if$ -} - - -%% thesis - -FUNCTION {format.master.thesis.type} -{ this.to.prev.status - this.status.std - type empty$ - { - bbl.mthesis - } - { - type "type" bibinfo.check - } - if$ -cap.status.std -} - -FUNCTION {format.phd.thesis.type} -{ this.to.prev.status - this.status.std - type empty$ - { - bbl.phdthesis - } - { - type "type" bibinfo.check - } - if$ -cap.status.std -} - - - -%% URL - -FUNCTION {format.url} -{ url empty$ - { "" } - { this.to.prev.status - this.status.std - cap.yes 'status.cap := - name.url.prefix " " * - "\url{" * url * "}" * - punct.no 'this.status.punct := - punct.period 'prev.status.punct := - space.normal 'this.status.space := - space.normal 'prev.status.space := - quote.no 'this.status.quote := - } - if$ -} - - - - -%%%%%%%%%%%%%%%%%%%% -%% ENTRY HANDLERS %% -%%%%%%%%%%%%%%%%%%%% - - -% Note: In many journals, IEEE (or the authors) tend not to show the number -% for articles, so the display of the number is controlled here by the -% switch "is.use.number.for.article" -FUNCTION {article} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.journal "journal" bibinfo.check "journal" output.warn - format.volume output - format.number.if.use.for.article output - format.date "year" output.warn - format.pages output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {book} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - author empty$ - { format.editors "author and editor" output.warn } - { format.authors output.nonnull } - if$ - name.or.dash - format.book.title.edition output - format.series output - author empty$ - { skip$ } - { format.editors output } - if$ - format.address.publisher.date output - format.volume output - format.number output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {booklet} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.article.title "title" output.warn - format.howpublished "howpublished" bibinfo.check output - format.organization "organization" bibinfo.check output - format.address "address" bibinfo.check output - format.date output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {electronic} -{ std.status.using.period - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.article.title.electronic output - format.howpublished "howpublished" bibinfo.check output - format.organization "organization" bibinfo.check output - format.address "address" bibinfo.check output - format.note output - format.url output - format.date.electronic output - fin.entry - empty.entry.warn - if.url.std.interword.spacing -} - -FUNCTION {inbook} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - author empty$ - { format.editors "author and editor" output.warn } - { format.authors output.nonnull } - if$ - name.or.dash - format.book.title.edition output - format.series output - format.address.publisher.date output - format.volume output - format.number output - format.chapter output - format.pages output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {incollection} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.in.booktitle.edition "booktitle" output.warn - format.series output - format.editors output - format.address.publisher.date.nowarn output - format.volume output - format.number output - format.chapter output - format.pages output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {inproceedings} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.in.booktitle "booktitle" output.warn - format.series output - format.editors output - format.volume output - format.number output - publisher empty$ - { format.address.organization.date output } - { format.organization "organization" bibinfo.check output - format.address.publisher.date output - } - if$ - format.paper output - format.pages output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {manual} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.book.title.edition "title" output.warn - format.howpublished "howpublished" bibinfo.check output - format.organization "organization" bibinfo.check output - format.address "address" bibinfo.check output - format.date output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {mastersthesis} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.master.thesis.type output.nonnull - format.school "school" bibinfo.warn output - format.address "address" bibinfo.check output - format.date "year" output.warn - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {misc} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.article.title output - format.howpublished "howpublished" bibinfo.check output - format.organization "organization" bibinfo.check output - format.address "address" bibinfo.check output - format.pages output - format.date output - format.note output - format.url output - fin.entry - empty.entry.warn - if.url.std.interword.spacing -} - -FUNCTION {patent} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.article.title output - format.patent.nationality.type.number output - format.patent.date output - format.note output - format.url output - fin.entry - empty.entry.warn - if.url.std.interword.spacing -} - -FUNCTION {periodical} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.editors output - name.or.dash - format.book.title "title" output.warn - format.series output - format.volume output - format.number output - format.organization "organization" bibinfo.check output - format.date "year" output.warn - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {phdthesis} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.phd.thesis.type output.nonnull - format.school "school" bibinfo.warn output - format.address "address" bibinfo.check output - format.date "year" output.warn - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {proceedings} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.editors output - name.or.dash - format.book.title "title" output.warn - format.series output - format.volume output - format.number output - publisher empty$ - { format.address.organization.date output } - { format.organization "organization" bibinfo.check output - format.address.publisher.date output - } - if$ - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {standard} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors output - name.or.dash - format.book.title "title" output.warn - format.howpublished "howpublished" bibinfo.check output - format.organization.institution.standard.type.number output - format.revision output - format.date output - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {techreport} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.howpublished "howpublished" bibinfo.check output - format.institution "institution" bibinfo.warn output - format.address "address" bibinfo.check output - format.tech.report.number output.nonnull - format.date "year" output.warn - format.note output - format.url output - fin.entry - if.url.std.interword.spacing -} - -FUNCTION {unpublished} -{ std.status.using.comma - start.entry - if.url.alt.interword.spacing - format.authors "author" output.warn - name.or.dash - format.article.title "title" output.warn - format.date output - format.note "note" output.warn - format.url output - fin.entry - if.url.std.interword.spacing -} - - -% The special entry type which provides the user interface to the -% BST controls -FUNCTION {IEEEtranBSTCTL} -{ is.print.banners.to.terminal - { "** IEEEtran BST control entry " quote$ * cite$ * quote$ * " detected." * - top$ - } - { skip$ } - if$ - CTLuse_article_number - empty$ - { skip$ } - { CTLuse_article_number - yes.no.to.int - 'is.use.number.for.article := - } - if$ - CTLuse_paper - empty$ - { skip$ } - { CTLuse_paper - yes.no.to.int - 'is.use.paper := - } - if$ - CTLuse_forced_etal - empty$ - { skip$ } - { CTLuse_forced_etal - yes.no.to.int - 'is.forced.et.al := - } - if$ - CTLmax_names_forced_etal - empty$ - { skip$ } - { CTLmax_names_forced_etal - string.to.integer - 'max.num.names.before.forced.et.al := - } - if$ - CTLnames_show_etal - empty$ - { skip$ } - { CTLnames_show_etal - string.to.integer - 'num.names.shown.with.forced.et.al := - } - if$ - CTLuse_alt_spacing - empty$ - { skip$ } - { CTLuse_alt_spacing - yes.no.to.int - 'is.use.alt.interword.spacing := - } - if$ - CTLalt_stretch_factor - empty$ - { skip$ } - { CTLalt_stretch_factor - 'ALTinterwordstretchfactor := - "\renewcommand{\BIBentryALTinterwordstretchfactor}{" - ALTinterwordstretchfactor * "}" * - write$ newline$ - } - if$ - CTLdash_repeated_names - empty$ - { skip$ } - { CTLdash_repeated_names - yes.no.to.int - 'is.dash.repeated.names := - } - if$ - CTLname_format_string - empty$ - { skip$ } - { CTLname_format_string - 'name.format.string := - } - if$ - CTLname_latex_cmd - empty$ - { skip$ } - { CTLname_latex_cmd - 'name.latex.cmd := - } - if$ - CTLname_url_prefix - missing$ - { skip$ } - { CTLname_url_prefix - 'name.url.prefix := - } - if$ - - - num.names.shown.with.forced.et.al max.num.names.before.forced.et.al > - { "CTLnames_show_etal cannot be greater than CTLmax_names_forced_etal in " cite$ * warning$ - max.num.names.before.forced.et.al 'num.names.shown.with.forced.et.al := - } - { skip$ } - if$ -} - - -%%%%%%%%%%%%%%%%%%% -%% ENTRY ALIASES %% -%%%%%%%%%%%%%%%%%%% -FUNCTION {conference}{inproceedings} -FUNCTION {online}{electronic} -FUNCTION {internet}{electronic} -FUNCTION {webpage}{electronic} -FUNCTION {www}{electronic} -FUNCTION {default.type}{misc} - - - -%%%%%%%%%%%%%%%%%% -%% MAIN PROGRAM %% -%%%%%%%%%%%%%%%%%% - -READ - -EXECUTE {initialize.controls} -EXECUTE {initialize.status.constants} -EXECUTE {banner.message} - -EXECUTE {initialize.longest.label} -ITERATE {longest.label.pass} - -EXECUTE {begin.bib} -ITERATE {call.type$} -EXECUTE {end.bib} - -EXECUTE{completed.message} - - -%% That's all folks, mds. - diff --git a/IEEEtran.cls b/IEEEtran.cls deleted file mode 100755 index b5b2257..0000000 --- a/IEEEtran.cls +++ /dev/null @@ -1,4734 +0,0 @@ -%% -%% IEEEtran.cls 2011/11/03 version V1.8 based on -%% IEEEtran.cls 2007/03/05 version V1.7a -%% The changes in V1.8 are made with a single goal in mind: -%% to change the look of the output using the [conference] option -%% and the default font size (10pt) to match the Word template more closely. -%% These changes may well have undesired side effects when other options -%% are in force! -%% -%% -%% This is the official IEEE LaTeX class for authors of the Institute of -%% Electrical and Electronics Engineers (IEEE) Transactions journals and -%% conferences. -%% -%% Support sites: -%% http://www.michaelshell.org/tex/ieeetran/ -%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ -%% and -%% http://www.ieee.org/ -%% -%% Based on the original 1993 IEEEtran.cls, but with many bug fixes -%% and enhancements (from both JVH and MDS) over the 1996/7 version. -%% -%% -%% Contributors: -%% Gerry Murray (1993), Silvano Balemi (1993), -%% Jon Dixon (1996), Peter N"uchter (1996), -%% Juergen von Hagen (2000), and Michael Shell (2001-2007) -%% -%% -%% Copyright (c) 1993-2000 by Gerry Murray, Silvano Balemi, -%% Jon Dixon, Peter N"uchter, -%% Juergen von Hagen -%% and -%% Copyright (c) 2001-2007 by Michael Shell -%% -%% Current maintainer (V1.3 to V1.7): Michael Shell -%% See: -%% http://www.michaelshell.org/ -%% for current contact information. -%% -%% Special thanks to Peter Wilson (CUA) and Donald Arseneau -%% for allowing the inclusion of the \@ifmtarg command -%% from their ifmtarg LaTeX package. -%% -%%************************************************************************* -%% Legal Notice: -%% This code is offered as-is without any warranty either expressed or -%% implied; without even the implied warranty of MERCHANTABILITY or -%% FITNESS FOR A PARTICULAR PURPOSE! -%% User assumes all risk. -%% In no event shall IEEE or any contributor to this code be liable for -%% any damages or losses, including, but not limited to, incidental, -%% consequential, or any other damages, resulting from the use or misuse -%% of any information contained here. -%% -%% All comments are the opinions of their respective authors and are not -%% necessarily endorsed by the IEEE. -%% -%% This work is distributed under the LaTeX Project Public License (LPPL) -%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, -%% distributed and modified. A copy of the LPPL, version 1.3, is included -%% in the base LaTeX documentation of all distributions of LaTeX released -%% 2003/12/01 or later. -%% Retain all contribution notices and credits. -%% ** Modified files should be clearly indicated as such, including ** -%% ** renaming them and changing author support contact information. ** -%% -%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, -%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex -%% -%% Major changes to the user interface should be indicated by an -%% increase in the version numbers. If a version is a beta, it will -%% be indicated with a BETA suffix, i.e., 1.4 BETA. -%% Small changes can be indicated by appending letters to the version -%% such as "IEEEtran_v14a.cls". -%% In all cases, \Providesclass, any \typeout messages to the user, -%% \IEEEtransversionmajor and \IEEEtransversionminor must reflect the -%% correct version information. -%% The changes should also be documented via source comments. -%%************************************************************************* -%% -% -% Available class options -% e.g., \documentclass[10pt,conference]{IEEEtran} -% -% *** choose only one from each category *** -% -% 9pt, 10pt, 11pt, 12pt -% Sets normal font size. The default is 10pt. -% -% conference, journal, technote, peerreview, peerreviewca -% determines format mode - conference papers, journal papers, -% correspondence papers (technotes), or peer review papers. The user -% should also select 9pt when using technote. peerreview is like -% journal mode, but provides for a single-column "cover" title page for -% anonymous peer review. The paper title (without the author names) is -% repeated at the top of the page after the cover page. For peer review -% papers, the \IEEEpeerreviewmaketitle command must be executed (will -% automatically be ignored for non-peerreview modes) at the place the -% cover page is to end, usually just after the abstract (keywords are -% not normally used with peer review papers). peerreviewca is like -% peerreview, but allows the author names to be entered and formatted -% as with conference mode so that author affiliation and contact -% information can be easily seen on the cover page. -% The default is journal. -% -% draft, draftcls, draftclsnofoot, final -% determines if paper is formatted as a widely spaced draft (for -% handwritten editor comments) or as a properly typeset final version. -% draftcls restricts draft mode to the class file while all other LaTeX -% packages (i.e., \usepackage{graphicx}) will behave as final - allows -% for a draft paper with visible figures, etc. draftclsnofoot is like -% draftcls, but does not display the date and the word "DRAFT" at the foot -% of the pages. If using one of the draft modes, the user will probably -% also want to select onecolumn. -% The default is final. -% -% letterpaper, a4paper -% determines paper size: 8.5in X 11in or 210mm X 297mm. CHANGING THE PAPER -% SIZE WILL NOT ALTER THE TYPESETTING OF THE DOCUMENT - ONLY THE MARGINS -% WILL BE AFFECTED. In particular, documents using the a4paper option will -% have reduced side margins (A4 is narrower than US letter) and a longer -% bottom margin (A4 is longer than US letter). For both cases, the top -% margins will be the same and the text will be horizontally centered. -% For final submission to IEEE, authors should use US letter (8.5 X 11in) -% paper. Note that authors should ensure that all post-processing -% (ps, pdf, etc.) uses the same paper specificiation as the .tex document. -% Problems here are by far the number one reason for incorrect margins. -% IEEEtran will automatically set the default paper size under pdflatex -% (without requiring a change to pdftex.cfg), so this issue is more -% important to dvips users. Fix config.ps, config.pdf, or ~/.dvipsrc for -% dvips, or use the dvips -t papersize option instead as needed. See the -% testflow documentation -% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/testflow -% for more details on dvips paper size configuration. -% The default is letterpaper. -% -% oneside, twoside -% determines if layout follows single sided or two sided (duplex) -% printing. The only notable change is with the headings at the top of -% the pages. -% The default is oneside. -% -% onecolumn, twocolumn -% determines if text is organized into one or two columns per page. One -% column mode is usually used only with draft papers. -% The default is twocolumn. -% -% compsoc -% Use the format of the IEEE Computer Society. -% -% romanappendices -% Use the "Appendix I" convention when numbering appendices. IEEEtran.cls -% now defaults to Alpha "Appendix A" convention - the opposite of what -% v1.6b and earlier did. -% -% captionsoff -% disables the display of the figure/table captions. Some IEEE journals -% request that captions be removed and figures/tables be put on pages -% of their own at the end of an initial paper submission. The endfloat -% package can be used with this class option to achieve this format. -% -% nofonttune -% turns off tuning of the font interword spacing. Maybe useful to those -% not using the standard Times fonts or for those who have already "tuned" -% their fonts. -% The default is to enable IEEEtran to tune font parameters. -% -% -%---------- -% Available CLASSINPUTs provided (all are macros unless otherwise noted): -% \CLASSINPUTbaselinestretch -% \CLASSINPUTinnersidemargin -% \CLASSINPUToutersidemargin -% \CLASSINPUTtoptextmargin -% \CLASSINPUTbottomtextmargin -% -% Available CLASSINFOs provided: -% \ifCLASSINFOpdf (TeX if conditional) -% \CLASSINFOpaperwidth (macro) -% \CLASSINFOpaperheight (macro) -% \CLASSINFOnormalsizebaselineskip (length) -% \CLASSINFOnormalsizeunitybaselineskip (length) -% -% Available CLASSOPTIONs provided: -% all class option flags (TeX if conditionals) unless otherwise noted, -% e.g., \ifCLASSOPTIONcaptionsoff -% point size options provided as a single macro: -% \CLASSOPTIONpt -% which will be defined as 9, 10, 11, or 12 depending on the document's -% normalsize point size. -% also, class option peerreviewca implies the use of class option peerreview -% and classoption draft implies the use of class option draftcls - - - - - -\ProvidesClass{IEEEtran}[2012/11/21 V1.8c by Harald Hanche-Olsen and Anders Christensen] -\typeout{-- Based on V1.7a by Michael Shell} -\typeout{-- See the "IEEEtran_HOWTO" manual for usage information.} -\typeout{-- http://www.michaelshell.org/tex/ieeetran/} -\NeedsTeXFormat{LaTeX2e} - -% IEEEtran.cls version numbers, provided as of V1.3 -% These values serve as a way a .tex file can -% determine if the new features are provided. -% The version number of this IEEEtrans.cls can be obtained from -% these values. i.e., V1.4 -% KEEP THESE AS INTEGERS! i.e., NO {4a} or anything like that- -% (no need to enumerate "a" minor changes here) -\def\IEEEtransversionmajor{1} -\def\IEEEtransversionminor{7} - -% These do nothing, but provide them like in article.cls -\newif\if@restonecol -\newif\if@titlepage - - -% class option conditionals -\newif\ifCLASSOPTIONonecolumn \CLASSOPTIONonecolumnfalse -\newif\ifCLASSOPTIONtwocolumn \CLASSOPTIONtwocolumntrue - -\newif\ifCLASSOPTIONoneside \CLASSOPTIONonesidetrue -\newif\ifCLASSOPTIONtwoside \CLASSOPTIONtwosidefalse - -\newif\ifCLASSOPTIONfinal \CLASSOPTIONfinaltrue -\newif\ifCLASSOPTIONdraft \CLASSOPTIONdraftfalse -\newif\ifCLASSOPTIONdraftcls \CLASSOPTIONdraftclsfalse -\newif\ifCLASSOPTIONdraftclsnofoot \CLASSOPTIONdraftclsnofootfalse - -\newif\ifCLASSOPTIONpeerreview \CLASSOPTIONpeerreviewfalse -\newif\ifCLASSOPTIONpeerreviewca \CLASSOPTIONpeerreviewcafalse - -\newif\ifCLASSOPTIONjournal \CLASSOPTIONjournaltrue -\newif\ifCLASSOPTIONconference \CLASSOPTIONconferencefalse -\newif\ifCLASSOPTIONtechnote \CLASSOPTIONtechnotefalse - -\newif\ifCLASSOPTIONnofonttune \CLASSOPTIONnofonttunefalse - -\newif\ifCLASSOPTIONcaptionsoff \CLASSOPTIONcaptionsofffalse - -\newif\ifCLASSOPTIONcompsoc \CLASSOPTIONcompsocfalse - -\newif\ifCLASSOPTIONromanappendices \CLASSOPTIONromanappendicesfalse - - -% class info conditionals - -% indicates if pdf (via pdflatex) output -\newif\ifCLASSINFOpdf \CLASSINFOpdffalse - - -% V1.6b internal flag to show if using a4paper -\newif\if@IEEEusingAfourpaper \@IEEEusingAfourpaperfalse - - - -% IEEEtran class scratch pad registers -% dimen -\newdimen\@IEEEtrantmpdimenA -\newdimen\@IEEEtrantmpdimenB -% count -\newcount\@IEEEtrantmpcountA -\newcount\@IEEEtrantmpcountB -% token list -\newtoks\@IEEEtrantmptoksA - -% we use \CLASSOPTIONpt so that we can ID the point size (even for 9pt docs) -% as well as LaTeX's \@ptsize to retain some compatability with some -% external packages -\def\@ptsize{0} -% LaTeX does not support 9pt, so we set \@ptsize to 0 - same as that of 10pt -\DeclareOption{9pt}{\def\CLASSOPTIONpt{9}\def\@ptsize{0}} -\DeclareOption{10pt}{\def\CLASSOPTIONpt{10}\def\@ptsize{0}} -\DeclareOption{11pt}{\def\CLASSOPTIONpt{11}\def\@ptsize{1}} -\DeclareOption{12pt}{\def\CLASSOPTIONpt{12}\def\@ptsize{2}} - - - -\DeclareOption{letterpaper}{\setlength{\paperheight}{11in}% - \setlength{\paperwidth}{8.5in}% - \@IEEEusingAfourpaperfalse - \def\CLASSOPTIONpaper{letter}% - \def\CLASSINFOpaperwidth{8.5in}% - \def\CLASSINFOpaperheight{11in}} - - -\DeclareOption{a4paper}{\setlength{\paperheight}{297mm}% - \setlength{\paperwidth}{210mm}% - \@IEEEusingAfourpapertrue - \def\CLASSOPTIONpaper{a4}% - \def\CLASSINFOpaperwidth{210mm}% - \def\CLASSINFOpaperheight{297mm}} - -\DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse - \CLASSOPTIONonesidetrue\CLASSOPTIONtwosidefalse} -\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue - \CLASSOPTIONtwosidetrue\CLASSOPTIONonesidefalse} - -\DeclareOption{onecolumn}{\CLASSOPTIONonecolumntrue\CLASSOPTIONtwocolumnfalse} -\DeclareOption{twocolumn}{\CLASSOPTIONtwocolumntrue\CLASSOPTIONonecolumnfalse} - -% If the user selects draft, then this class AND any packages -% will go into draft mode. -\DeclareOption{draft}{\CLASSOPTIONdrafttrue\CLASSOPTIONdraftclstrue - \CLASSOPTIONdraftclsnofootfalse} -% draftcls is for a draft mode which will not affect any packages -% used by the document. -\DeclareOption{draftcls}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclstrue - \CLASSOPTIONdraftclsnofootfalse} -% draftclsnofoot is like draftcls, but without the footer. -\DeclareOption{draftclsnofoot}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclstrue - \CLASSOPTIONdraftclsnofoottrue} -\DeclareOption{final}{\CLASSOPTIONdraftfalse\CLASSOPTIONdraftclsfalse - \CLASSOPTIONdraftclsnofootfalse} - -\DeclareOption{journal}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse - \CLASSOPTIONjournaltrue\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} - -\DeclareOption{conference}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse - \CLASSOPTIONjournalfalse\CLASSOPTIONconferencetrue\CLASSOPTIONtechnotefalse} - -\DeclareOption{technote}{\CLASSOPTIONpeerreviewfalse\CLASSOPTIONpeerreviewcafalse - \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotetrue} - -\DeclareOption{peerreview}{\CLASSOPTIONpeerreviewtrue\CLASSOPTIONpeerreviewcafalse - \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} - -\DeclareOption{peerreviewca}{\CLASSOPTIONpeerreviewtrue\CLASSOPTIONpeerreviewcatrue - \CLASSOPTIONjournalfalse\CLASSOPTIONconferencefalse\CLASSOPTIONtechnotefalse} - -\DeclareOption{nofonttune}{\CLASSOPTIONnofonttunetrue} - -\DeclareOption{captionsoff}{\CLASSOPTIONcaptionsofftrue} - -\DeclareOption{compsoc}{\CLASSOPTIONcompsoctrue} - -\DeclareOption{romanappendices}{\CLASSOPTIONromanappendicestrue} - - -% default to US letter paper, 10pt, twocolumn, one sided, final, journal -\ExecuteOptions{letterpaper,10pt,twocolumn,oneside,final,journal} -% overrride these defaults per user requests -\ProcessOptions - - - -% Computer Society conditional execution command -\long\def\@IEEEcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\relax#1\relax\fi\relax} -% inverse -\long\def\@IEEEnotcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\else\relax#1\relax\fi\relax} -% compsoc conference -\long\def\@IEEEcompsocconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\relax#1\relax\fi\fi\relax} -% compsoc not conference -\long\def\@IEEEcompsocnotconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\else\relax#1\relax\fi\fi\relax} - - -% IEEE uses Times Roman font, so we'll default to Times. -% These three commands make up the entire times.sty package. -\renewcommand{\sfdefault}{phv} -\renewcommand{\rmdefault}{ptm} -\renewcommand{\ttdefault}{pcr} - -\@IEEEcompsoconly{\typeout{-- Using IEEE Computer Society mode.}} - -% V1.7 compsoc nonconference papers, use Palatino/Palladio as the main text font, -% not Times Roman. -\@IEEEcompsocnotconfonly{\renewcommand{\rmdefault}{ppl}} - -% enable Times/Palatino main text font -\normalfont\selectfont - - - - - -% V1.7 conference notice message hook -\def\@IEEEconsolenoticeconference{\typeout{}% -\typeout{** Conference Paper **}% -\typeout{Before submitting the final camera ready copy, remember to:}% -\typeout{}% -\typeout{ 1. Manually equalize the lengths of two columns on the last page}% -\typeout{ of your paper;}% -\typeout{}% -\typeout{ 2. Ensure that any PostScript and/or PDF output post-processing}% -\typeout{ uses only Type 1 fonts and that every step in the generation}% -\typeout{ process uses the appropriate paper size.}% -\typeout{}} - - -% we can send console reminder messages to the user here -\AtEndDocument{\ifCLASSOPTIONconference\@IEEEconsolenoticeconference\fi} - - -% warn about the use of single column other than for draft mode -\ifCLASSOPTIONtwocolumn\else% - \ifCLASSOPTIONdraftcls\else% - \typeout{** ATTENTION: Single column mode is not typically used with IEEE publications.}% - \fi% -\fi - - -% V1.7 improved paper size setting code. -% Set pdfpage and dvips paper sizes. Conditional tests are similar to that -% of ifpdf.sty. Retain within {} to ensure tested macros are never altered, -% even if only effect is to set them to \relax. -% if \pdfoutput is undefined or equal to relax, output a dvips special -{\@ifundefined{pdfoutput}{\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}}{% -% pdfoutput is defined and not equal to \relax -% check for pdfpageheight existence just in case someone sets pdfoutput -% under non-pdflatex. If exists, set them regardless of value of \pdfoutput. -\@ifundefined{pdfpageheight}{\relax}{\global\pdfpagewidth\paperwidth -\global\pdfpageheight\paperheight}% -% if using \pdfoutput=0 under pdflatex, send dvips papersize special -\ifcase\pdfoutput -\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}% -\else -% we are using pdf output, set CLASSINFOpdf flag -\global\CLASSINFOpdftrue -\fi}} - -% let the user know the selected papersize -\typeout{-- Using \CLASSINFOpaperwidth\space x \CLASSINFOpaperheight\space -(\CLASSOPTIONpaper)\space paper.} - -\ifCLASSINFOpdf -\typeout{-- Using PDF output.} -\else -\typeout{-- Using DVI output.} -\fi - - -% The idea hinted here is for LaTeX to generate markleft{} and markright{} -% automatically for you after you enter \author{}, \journal{}, -% \journaldate{}, journalvol{}, \journalnum{}, etc. -% However, there may be some backward compatibility issues here as -% well as some special applications for IEEEtran.cls and special issues -% that may require the flexible \markleft{}, \markright{} and/or \markboth{}. -% We'll leave this as an open future suggestion. -%\newcommand{\journal}[1]{\def\@journal{#1}} -%\def\@journal{} - - - -% pointsize values -% used with ifx to determine the document's normal size -\def\@IEEEptsizenine{9} -\def\@IEEEptsizeten{10} -\def\@IEEEptsizeeleven{11} -\def\@IEEEptsizetwelve{12} - - - -% FONT DEFINITIONS (No sizexx.clo file needed) -% V1.6 revised font sizes, displayskip values and -% revised normalsize baselineskip to reduce underfull vbox problems -% on the 58pc = 696pt = 9.5in text height we want -% normalsize #lines/column baselineskip (aka leading) -% 9pt 63 11.0476pt (truncated down) -% 10pt 58 12pt (exact) -% 11pt 52 13.3846pt (truncated down) -% 12pt 50 13.92pt (exact) -% - -% we need to store the nominal baselineskip for the given font size -% in case baselinestretch ever changes. -% this is a dimen, so it will not hold stretch or shrink -\newdimen\@IEEEnormalsizeunitybaselineskip -\@IEEEnormalsizeunitybaselineskip\baselineskip - -\ifx\CLASSOPTIONpt\@IEEEptsizenine -\typeout{-- This is a 9 point document.} -\def\normalsize{\@setfontsize{\normalsize}{9}{11.0476pt}}% -\setlength{\@IEEEnormalsizeunitybaselineskip}{11.0476pt}% -\normalsize -\abovedisplayskip 1.5ex plus3pt minus1pt% -\belowdisplayskip \abovedisplayskip% -\abovedisplayshortskip 0pt plus3pt% -\belowdisplayshortskip 1.5ex plus3pt minus1pt -\def\small{\@setfontsize{\small}{8.5}{10pt}} -\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} -\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} -\def\tiny{\@setfontsize{\tiny}{5}{6pt}} -% sublargesize is the same as large - 10pt -\def\sublargesize{\@setfontsize{\sublargesize}{10}{12pt}} -\def\large{\@setfontsize{\large}{10}{12pt}} -\def\Large{\@setfontsize{\Large}{12}{14pt}} -\def\LARGE{\@setfontsize{\LARGE}{14}{17pt}} -\def\huge{\@setfontsize{\huge}{17}{20pt}} -\def\Huge{\@setfontsize{\Huge}{20}{24pt}} -\fi - - -% Check if we have selected 10 points -\ifx\CLASSOPTIONpt\@IEEEptsizeten -\typeout{-- This is a 10 point document.} -\def\normalsize{\@setfontsize{\normalsize}{10}{11}}% -\setlength{\@IEEEnormalsizeunitybaselineskip}{11pt}% -\normalsize -\abovedisplayskip 1.5ex plus4pt minus2pt% -\belowdisplayskip \abovedisplayskip% -\abovedisplayshortskip 0pt plus4pt% -\belowdisplayshortskip 1.5ex plus4pt minus2pt -\def\small{\@setfontsize{\small}{9}{10pt}} -\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}} -\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}} -\def\tiny{\@setfontsize{\tiny}{5}{6pt}} -% sublargesize is a tad smaller than large - 11pt -\def\sublargesize{\@setfontsize{\sublargesize}{11}{13.4pt}} -\def\large{\@setfontsize{\large}{12}{14pt}} -\def\Large{\@setfontsize{\Large}{14}{17pt}} -\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}} -\def\huge{\@setfontsize{\huge}{20}{24pt}} -\def\Huge{\@setfontsize{\Huge}{24}{28pt}} -\fi - - -% Check if we have selected 11 points -\ifx\CLASSOPTIONpt\@IEEEptsizeeleven -\typeout{-- This is an 11 point document.} -\def\normalsize{\@setfontsize{\normalsize}{11}{13.3846pt}}% -\setlength{\@IEEEnormalsizeunitybaselineskip}{13.3846pt}% -\normalsize -\abovedisplayskip 1.5ex plus5pt minus3pt% -\belowdisplayskip \abovedisplayskip% -\abovedisplayshortskip 0pt plus5pt% -\belowdisplayshortskip 1.5ex plus5pt minus3pt -\def\small{\@setfontsize{\small}{10}{12pt}} -\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} -\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} -\def\tiny{\@setfontsize{\tiny}{6}{7pt}} -% sublargesize is the same as large - 12pt -\def\sublargesize{\@setfontsize{\sublargesize}{12}{14pt}} -\def\large{\@setfontsize{\large}{12}{14pt}} -\def\Large{\@setfontsize{\Large}{14}{17pt}} -\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}} -\def\huge{\@setfontsize{\huge}{20}{24pt}} -\def\Huge{\@setfontsize{\Huge}{24}{28pt}} -\fi - - -% Check if we have selected 12 points -\ifx\CLASSOPTIONpt\@IEEEptsizetwelve -\typeout{-- This is a 12 point document.} -\def\normalsize{\@setfontsize{\normalsize}{12}{13.92pt}}% -\setlength{\@IEEEnormalsizeunitybaselineskip}{13.92pt}% -\normalsize -\abovedisplayskip 1.5ex plus6pt minus4pt% -\belowdisplayskip \abovedisplayskip% -\abovedisplayshortskip 0pt plus6pt% -\belowdisplayshortskip 1.5ex plus6pt minus4pt -\def\small{\@setfontsize{\small}{10}{12pt}} -\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}} -\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}} -\def\tiny{\@setfontsize{\tiny}{6}{7pt}} -% sublargesize is the same as large - 14pt -\def\sublargesize{\@setfontsize{\sublargesize}{14}{17pt}} -\def\large{\@setfontsize{\large}{14}{17pt}} -\def\Large{\@setfontsize{\Large}{17}{20pt}} -\def\LARGE{\@setfontsize{\LARGE}{20}{24pt}} -\def\huge{\@setfontsize{\huge}{22}{26pt}} -\def\Huge{\@setfontsize{\Huge}{24}{28pt}} -\fi - - -% V1.6 The Computer Modern Fonts will issue a substitution warning for -% 24pt titles (24.88pt is used instead) increase the substitution -% tolerance to turn off this warning -\def\fontsubfuzz{.9pt} -% However, the default (and correct) Times font will scale exactly as needed. - - -% warn the user in case they forget to use the 9pt option with -% technote -\ifCLASSOPTIONtechnote% - \ifx\CLASSOPTIONpt\@IEEEptsizenine\else% - \typeout{** ATTENTION: Technotes are normally 9pt documents.}% - \fi% -\fi - - -% V1.7 -% Improved \textunderscore to provide a much better fake _ when used with -% OT1 encoding. Under OT1, detect use of pcr or cmtt \ttfamily and use -% available true _ glyph for those two typewriter fonts. -\def\@IEEEstringptm{ptm} % Times Roman family -\def\@IEEEstringppl{ppl} % Palatino Roman family -\def\@IEEEstringphv{phv} % Helvetica Sans Serif family -\def\@IEEEstringpcr{pcr} % Courier typewriter family -\def\@IEEEstringcmtt{cmtt} % Computer Modern typewriter family -\DeclareTextCommandDefault{\textunderscore}{\leavevmode -\ifx\f@family\@IEEEstringpcr\string_\else -\ifx\f@family\@IEEEstringcmtt\string_\else -\ifx\f@family\@IEEEstringptm\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else -\ifx\f@family\@IEEEstringppl\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else -\ifx\f@family\@IEEEstringphv\kern -0.03em\vbox{\hrule\@width 0.62em\@height 0.52pt\kern -0.33ex}\kern -0.03em\else -\kern 0.09em\vbox{\hrule\@width 0.6em\@height 0.44pt\kern -0.63pt\kern -0.42ex}\kern 0.09em\fi\fi\fi\fi\fi\relax} - - - - -% set the default \baselinestretch -\def\baselinestretch{1} -\ifCLASSOPTIONdraftcls - \def\baselinestretch{1.5}% default baselinestretch for draft modes -\fi - - -% process CLASSINPUT baselinestretch -\ifx\CLASSINPUTbaselinestretch\@IEEEundefined -\else - \edef\baselinestretch{\CLASSINPUTbaselinestretch} % user CLASSINPUT override - \typeout{** ATTENTION: Overriding \string\baselinestretch\space to - \baselinestretch\space via \string\CLASSINPUT.} -\fi - -\normalsize % make \baselinestretch take affect - - - - -% store the normalsize baselineskip -\newdimen\CLASSINFOnormalsizebaselineskip -\CLASSINFOnormalsizebaselineskip=\baselineskip\relax -% and the normalsize unity (baselinestretch=1) baselineskip -% we could save a register by giving the user access to -% \@IEEEnormalsizeunitybaselineskip. However, let's protect -% its read only internal status -\newdimen\CLASSINFOnormalsizeunitybaselineskip -\CLASSINFOnormalsizeunitybaselineskip=\@IEEEnormalsizeunitybaselineskip\relax -% store the nominal value of jot -\newdimen\IEEEnormaljot -\IEEEnormaljot=0.25\baselineskip\relax - -% set \jot -\jot=\IEEEnormaljot\relax - - - - -% V1.6, we are now going to fine tune the interword spacing -% The default interword glue for Times under TeX appears to use a -% nominal interword spacing of 25% (relative to the font size, i.e., 1em) -% a maximum of 40% and a minimum of 19%. -% For example, 10pt text uses an interword glue of: -% -% 2.5pt plus 1.49998pt minus 0.59998pt -% -% However, IEEE allows for a more generous range which reduces the need -% for hyphenation, especially for two column text. Furthermore, IEEE -% tends to use a little bit more nominal space between the words. -% IEEE's interword spacing percentages appear to be: -% 35% nominal -% 23% minimum -% 50% maximum -% (They may even be using a tad more for the largest fonts such as 24pt.) -% -% for bold text, IEEE increases the spacing a little more: -% 37.5% nominal -% 23% minimum -% 55% maximum - -% here are the interword spacing ratios we'll use -% for medium (normal weight) -\def\@IEEEinterspaceratioM{0.35} -\def\@IEEEinterspaceMINratioM{0.23} -\def\@IEEEinterspaceMAXratioM{0.50} - -% for bold -\def\@IEEEinterspaceratioB{0.375} -\def\@IEEEinterspaceMINratioB{0.23} -\def\@IEEEinterspaceMAXratioB{0.55} - - -% command to revise the interword spacing for the current font under TeX: -% \fontdimen2 = nominal interword space -% \fontdimen3 = interword stretch -% \fontdimen4 = interword shrink -% since all changes to the \fontdimen are global, we can enclose these commands -% in braces to confine any font attribute or length changes -\def\@@@IEEEsetfontdimens#1#2#3{{% -\setlength{\@IEEEtrantmpdimenB}{\f@size pt}% grab the font size in pt, could use 1em instead. -\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% -\fontdimen2\font=\@IEEEtrantmpdimenA\relax -\addtolength{\@IEEEtrantmpdimenA}{-#2\@IEEEtrantmpdimenB}% -\fontdimen3\font=-\@IEEEtrantmpdimenA\relax -\setlength{\@IEEEtrantmpdimenA}{#1\@IEEEtrantmpdimenB}% -\addtolength{\@IEEEtrantmpdimenA}{-#3\@IEEEtrantmpdimenB}% -\fontdimen4\font=\@IEEEtrantmpdimenA\relax}} - -% revise the interword spacing for each font weight -\def\@@IEEEsetfontdimens{{% -\mdseries -\@@@IEEEsetfontdimens{\@IEEEinterspaceratioM}{\@IEEEinterspaceMAXratioM}{\@IEEEinterspaceMINratioM}% -\bfseries -\@@@IEEEsetfontdimens{\@IEEEinterspaceratioB}{\@IEEEinterspaceMAXratioB}{\@IEEEinterspaceMINratioB}% -}} - -% revise the interword spacing for each font shape -% \slshape is not often used for IEEE work and is not altered here. The \scshape caps are -% already a tad too large in the free LaTeX fonts (as compared to what IEEE uses) so we -% won't alter these either. -\def\@IEEEsetfontdimens{{% -\normalfont -\@@IEEEsetfontdimens -\normalfont\itshape -\@@IEEEsetfontdimens -}} - -% command to revise the interword spacing for each font size (and shape -% and weight). Only the \rmfamily is done here as \ttfamily uses a -% fixed spacing and \sffamily is not used as the main text of IEEE papers. -\def\@IEEEtunefonts{{\selectfont\rmfamily -\tiny\@IEEEsetfontdimens -\scriptsize\@IEEEsetfontdimens -\footnotesize\@IEEEsetfontdimens -\small\@IEEEsetfontdimens -\normalsize\@IEEEsetfontdimens -\sublargesize\@IEEEsetfontdimens -\large\@IEEEsetfontdimens -\LARGE\@IEEEsetfontdimens -\huge\@IEEEsetfontdimens -\Huge\@IEEEsetfontdimens}} - -% if the nofonttune class option is not given, revise the interword spacing -% now - in case IEEEtran makes any default length measurements, and make -% sure all the default fonts are loaded -\ifCLASSOPTIONnofonttune\else -\@IEEEtunefonts -\fi - -% and again at the start of the document in case the user loaded different fonts -\AtBeginDocument{\ifCLASSOPTIONnofonttune\else\@IEEEtunefonts\fi} - - - -% V1.6 -% LaTeX is a little to quick to use hyphenations -% So, we increase the penalty for their use and raise -% the badness level that triggers an underfull hbox -% warning. The author may still have to tweak things, -% but the appearance will be much better "right out -% of the box" than that under V1.5 and prior. -% TeX default is 50 -\hyphenpenalty=750 -% If we didn't adjust the interword spacing, 2200 might be better. -% The TeX default is 1000 -\hbadness=1350 -% IEEE does not use extra spacing after punctuation -\frenchspacing - -% V1.7 increase this a tad to discourage equation breaks -\binoppenalty=1000 % default 700 -\relpenalty=800 % default 500 - - -% margin note stuff -\marginparsep 10pt -\marginparwidth 20pt -\marginparpush 25pt - - -% if things get too close, go ahead and let them touch -\lineskip 0pt -\normallineskip 0pt -\lineskiplimit 0pt -\normallineskiplimit 0pt - -% The distance from the lower edge of the text body to the -% footline -\footskip 0.4in - -% normally zero, should be relative to font height. -% put in a little rubber to help stop some bad breaks (underfull vboxes) -\parskip 0ex plus 0.2ex minus 0.1ex -\ifCLASSOPTIONconference -\parskip 6pt plus 2pt minus 1pt -\fi - -\parindent 1.0em -\ifCLASSOPTIONconference -\parindent 14.45pt -\fi - -\topmargin -49.0pt -\headheight 12pt -\headsep 0.25in - -% use the normal font baselineskip -% so that \topskip is unaffected by changes in \baselinestretch -\topskip=\@IEEEnormalsizeunitybaselineskip -\textheight 58pc % 9.63in, 696pt -% Tweak textheight to a perfect integer number of lines/page. -% The normal baselineskip for each document point size is used -% to determine these values. -\ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=63\@IEEEnormalsizeunitybaselineskip\fi % 63 lines/page -\ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=58\@IEEEnormalsizeunitybaselineskip\fi % 58 lines/page -\ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=52\@IEEEnormalsizeunitybaselineskip\fi % 52 lines/page -\ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=50\@IEEEnormalsizeunitybaselineskip\fi % 50 lines/page - - -\columnsep 1.5pc -\textwidth 184.2mm - - -% the default side margins are equal -\if@IEEEusingAfourpaper -\oddsidemargin 14.32mm -\evensidemargin 14.32mm -\else -\oddsidemargin 0.680in -\evensidemargin 0.680in -\fi -% compensate for LaTeX's 1in offset -\addtolength{\oddsidemargin}{-1in} -\addtolength{\evensidemargin}{-1in} - - - -% adjust margins for conference mode -\ifCLASSOPTIONconference - \topmargin -0.25in - % we retain the reserved, but unused space for headers - \addtolength{\topmargin}{-\headheight} - \addtolength{\topmargin}{-\headsep} - \textheight 9.25in % The standard for conferences (668.4975pt) - % Tweak textheight to a perfect integer number of lines/page. - \ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=61\@IEEEnormalsizeunitybaselineskip\fi % 61 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=62\@IEEEnormalsizeunitybaselineskip\fi % 62 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=50\@IEEEnormalsizeunitybaselineskip\fi % 50 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=48\@IEEEnormalsizeunitybaselineskip\fi % 48 lines/page -\fi - - -% compsoc conference -\ifCLASSOPTIONcompsoc -\ifCLASSOPTIONconference - % compsoc conference use a larger value for columnsep - \columnsep 0.375in - % compsoc conferences want 1in top margin, 1.125in bottom margin - \topmargin 0in - \addtolength{\topmargin}{-6pt}% we tweak this a tad to better comply with top of line stuff - % we retain the reserved, but unused space for headers - \addtolength{\topmargin}{-\headheight} - \addtolength{\topmargin}{-\headsep} - \textheight 8.875in % (641.39625pt) - % Tweak textheight to a perfect integer number of lines/page. - \ifx\CLASSOPTIONpt\@IEEEptsizenine\textheight=58\@IEEEnormalsizeunitybaselineskip\fi % 58 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizeten\textheight=53\@IEEEnormalsizeunitybaselineskip\fi % 53 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizeeleven\textheight=48\@IEEEnormalsizeunitybaselineskip\fi % 48 lines/page - \ifx\CLASSOPTIONpt\@IEEEptsizetwelve\textheight=46\@IEEEnormalsizeunitybaselineskip\fi % 46 lines/page - \textwidth 6.5in - % the default side margins are equal - \if@IEEEusingAfourpaper - \oddsidemargin 22.45mm - \evensidemargin 22.45mm - \else - \oddsidemargin 1in - \evensidemargin 1in - \fi - % compensate for LaTeX's 1in offset - \addtolength{\oddsidemargin}{-1in} - \addtolength{\evensidemargin}{-1in} -\fi\fi - - - -% draft mode settings override that of all other modes -% provides a nice 1in margin all around the paper and extra -% space between the lines for editor's comments -\ifCLASSOPTIONdraftcls - % want 1in from top of paper to text - \setlength{\topmargin}{-\headsep}% - \addtolength{\topmargin}{-\headheight}% - % we want 1in side margins regardless of paper type - \oddsidemargin 0in - \evensidemargin 0in - % set the text width - \setlength{\textwidth}{\paperwidth}% - \addtolength{\textwidth}{-2.0in}% - \setlength{\textheight}{\paperheight}% - \addtolength{\textheight}{-2.0in}% - % digitize textheight to be an integer number of lines. - % this may cause the bottom margin to be off a tad - \addtolength{\textheight}{-1\topskip}% - \divide\textheight by \baselineskip% - \multiply\textheight by \baselineskip% - \addtolength{\textheight}{\topskip}% -\fi - - - -% process CLASSINPUT inner/outer margin -% if inner margin defined, but outer margin not, set outer to inner. -\ifx\CLASSINPUTinnersidemargin\@IEEEundefined -\else - \ifx\CLASSINPUToutersidemargin\@IEEEundefined - \edef\CLASSINPUToutersidemargin{\CLASSINPUTinnersidemargin} - \fi -\fi - -\ifx\CLASSINPUToutersidemargin\@IEEEundefined -\else - % if outer margin defined, but inner margin not, set inner to outer. - \ifx\CLASSINPUTinnersidemargin\@IEEEundefined - \edef\CLASSINPUTinnersidemargin{\CLASSINPUToutersidemargin} - \fi - \setlength{\oddsidemargin}{\CLASSINPUTinnersidemargin} - \ifCLASSOPTIONtwoside - \setlength{\evensidemargin}{\CLASSINPUToutersidemargin} - \else - \setlength{\evensidemargin}{\CLASSINPUTinnersidemargin} - \fi - \addtolength{\oddsidemargin}{-1in} - \addtolength{\evensidemargin}{-1in} - \setlength{\textwidth}{\paperwidth} - \addtolength{\textwidth}{-\CLASSINPUTinnersidemargin} - \addtolength{\textwidth}{-\CLASSINPUToutersidemargin} - \typeout{** ATTENTION: Overriding inner side margin to \CLASSINPUTinnersidemargin\space and - outer side margin to \CLASSINPUToutersidemargin\space via \string\CLASSINPUT.} -\fi - - - -% process CLASSINPUT top/bottom text margin -% if toptext margin defined, but bottomtext margin not, set bottomtext to toptext margin -\ifx\CLASSINPUTtoptextmargin\@IEEEundefined -\else - \ifx\CLASSINPUTbottomtextmargin\@IEEEundefined - \edef\CLASSINPUTbottomtextmargin{\CLASSINPUTtoptextmargin} - \fi -\fi - -\ifx\CLASSINPUTbottomtextmargin\@IEEEundefined -\else - % if bottomtext margin defined, but toptext margin not, set toptext to bottomtext margin - \ifx\CLASSINPUTtoptextmargin\@IEEEundefined - \edef\CLASSINPUTtoptextmargin{\CLASSINPUTbottomtextmargin} - \fi - \setlength{\topmargin}{\CLASSINPUTtoptextmargin} - \addtolength{\topmargin}{-1in} - \addtolength{\topmargin}{-\headheight} - \addtolength{\topmargin}{-\headsep} - \setlength{\textheight}{\paperheight} - \addtolength{\textheight}{-\CLASSINPUTtoptextmargin} - \addtolength{\textheight}{-\CLASSINPUTbottomtextmargin} - % in the default format we use the normal baselineskip as topskip - % we only need 0.7 of this to clear typical top text and we need - % an extra 0.3 spacing at the bottom for descenders. This will - % correct for both. - \addtolength{\topmargin}{-0.3\@IEEEnormalsizeunitybaselineskip} - \typeout{** ATTENTION: Overriding top text margin to \CLASSINPUTtoptextmargin\space and - bottom text margin to \CLASSINPUTbottomtextmargin\space via \string\CLASSINPUT.} -\fi - - - - - - - -% LIST SPACING CONTROLS - -% Controls the amount of EXTRA spacing -% above and below \trivlist -% Both \list and IED lists override this. -% However, \trivlist will use this as will most -% things built from \trivlist like the \center -% environment. -\topsep 0.5\baselineskip - -% Controls the additional spacing around lists preceded -% or followed by blank lines. IEEE does not increase -% spacing before or after paragraphs so it is set to zero. -% \z@ is the same as zero, but faster. -\partopsep \z@ - -% Controls the spacing between paragraphs in lists. -% IEEE does not increase spacing before or after paragraphs -% so this is also zero. -% With IEEEtran.cls, global changes to -% this value DO affect lists (but not IED lists). -\parsep \z@ - -% Controls the extra spacing between list items. -% IEEE does not put extra spacing between items. -% With IEEEtran.cls, global changes to this value DO affect -% lists (but not IED lists). -\itemsep \z@ - -% \itemindent is the amount to indent the FIRST line of a list -% item. It is auto set to zero within the \list environment. To alter -% it, you have to do so when you call the \list. -% However, IEEE uses this for the theorem environment -% There is an alternative value for this near \leftmargini below -\itemindent -1em - -% \leftmargin, the spacing from the left margin of the main text to -% the left of the main body of a list item is set by \list. -% Hence this statement does nothing for lists. -% But, quote and verse do use it for indention. -\leftmargin 2em - -% we retain this stuff from the older IEEEtran.cls so that \list -% will work the same way as before. However, itemize, enumerate and -% description (IED) could care less about what these are as they -% all are overridden. -\leftmargini 2em -%\itemindent 2em % Alternative values: sometimes used. -%\leftmargini 0em -\leftmarginii 1em -\leftmarginiii 1.5em -\leftmarginiv 1.5em -\leftmarginv 1.0em -\leftmarginvi 1.0em -\labelsep 0.5em -\labelwidth \z@ - - -% The old IEEEtran.cls behavior of \list is retained. -% However, the new V1.3 IED list environments override all the -% @list stuff (\@listX is called within \list for the -% appropriate level just before the user's list_decl is called). -% \topsep is now 2pt as IEEE puts a little extra space around -% lists - used by those non-IED macros that depend on \list. -% Note that \parsep and \itemsep are not redefined as in -% the sizexx.clo \@listX (which article.cls uses) so global changes -% of these values DO affect \list -% -\def\@listi{\leftmargin\leftmargini \topsep 2pt plus 1pt minus 1pt} -\let\@listI\@listi -\def\@listii{\leftmargin\leftmarginii\labelwidth\leftmarginii% - \advance\labelwidth-\labelsep \topsep 2pt} -\def\@listiii{\leftmargin\leftmarginiii\labelwidth\leftmarginiii% - \advance\labelwidth-\labelsep \topsep 2pt} -\def\@listiv{\leftmargin\leftmarginiv\labelwidth\leftmarginiv% - \advance\labelwidth-\labelsep \topsep 2pt} -\def\@listv{\leftmargin\leftmarginv\labelwidth\leftmarginv% - \advance\labelwidth-\labelsep \topsep 2pt} -\def\@listvi{\leftmargin\leftmarginvi\labelwidth\leftmarginvi% - \advance\labelwidth-\labelsep \topsep 2pt} - - -% IEEE uses 5) not 5. -\def\labelenumi{\theenumi)} \def\theenumi{\arabic{enumi}} - -% IEEE uses a) not (a) -\def\labelenumii{\theenumii)} \def\theenumii{\alph{enumii}} - -% IEEE uses iii) not iii. -\def\labelenumiii{\theenumiii)} \def\theenumiii{\roman{enumiii}} - -% IEEE uses A) not A. -\def\labelenumiv{\theenumiv)} \def\theenumiv{\Alph{enumiv}} - -% exactly the same as in article.cls -\def\p@enumii{\theenumi} -\def\p@enumiii{\theenumi(\theenumii)} -\def\p@enumiv{\p@enumiii\theenumiii} - -% itemized list label styles -\def\labelitemi{$\bullet$} -\def\labelitemii{$\circ$} -\def\labelitemiii{\vrule height 0.8ex depth -0.2ex width 0.6ex} -\def\labelitemiv{$\ast$} - - - -% **** V1.3 ENHANCEMENTS **** -% Itemize, Enumerate and Description (IED) List Controls -% *************************** -% -% -% IEEE seems to use at least two different values by -% which ITEMIZED list labels are indented to the right -% For The Journal of Lightwave Technology (JLT) and The Journal -% on Selected Areas in Communications (JSAC), they tend to use -% an indention equal to \parindent. For Transactions on Communications -% they tend to indent ITEMIZED lists a little more--- 1.3\parindent. -% We'll provide both values here for you so that you can choose -% which one you like in your document using a command such as: -% setlength{\IEEEilabelindent}{\IEEEilabelindentB} -\newdimen\IEEEilabelindentA -\IEEEilabelindentA \parindent - -\newdimen\IEEEilabelindentB -\IEEEilabelindentB 1.3\parindent -% However, we'll default to using \parindent -% which makes more sense to me -\newdimen\IEEEilabelindent -\IEEEilabelindent \IEEEilabelindentA - - -% This controls the default amount the enumerated list labels -% are indented to the right. -% Normally, this is the same as the paragraph indention -\newdimen\IEEEelabelindent -\IEEEelabelindent \parindent - -% This controls the default amount the description list labels -% are indented to the right. -% Normally, this is the same as the paragraph indention -\newdimen\IEEEdlabelindent -\IEEEdlabelindent \parindent - -% This is the value actually used within the IED lists. -% The IED environments automatically set its value to -% one of the three values above, so global changes do -% not have any effect -\newdimen\IEEElabelindent -\IEEElabelindent \parindent - -% The actual amount labels will be indented is -% \IEEElabelindent multiplied by the factor below -% corresponding to the level of nesting depth -% This provides a means by which the user can -% alter the effective \IEEElabelindent for deeper -% levels -% There may not be such a thing as correct "standard IEEE" -% values. What IEEE actually does may depend on the specific -% circumstances. -% The first list level almost always has full indention. -% The second levels I've seen have only 75% of the normal indentation -% Three level or greater nestings are very rare. I am guessing -% that they don't use any indentation. -\def\IEEElabelindentfactori{1.0} % almost always one -\def\IEEElabelindentfactorii{0.75} % 0.0 or 1.0 may be used in some cases -\def\IEEElabelindentfactoriii{0.0} % 0.75? 0.5? 0.0? -\def\IEEElabelindentfactoriv{0.0} -\def\IEEElabelindentfactorv{0.0} -\def\IEEElabelindentfactorvi{0.0} - -% value actually used within IED lists, it is auto -% set to one of the 6 values above -% global changes here have no effect -\def\IEEElabelindentfactor{1.0} - -% This controls the default spacing between the end of the IED -% list labels and the list text, when normal text is used for -% the labels. -\newdimen\IEEEiednormlabelsep -\IEEEiednormlabelsep \parindent - -% This controls the default spacing between the end of the IED -% list labels and the list text, when math symbols are used for -% the labels (nomenclature lists). IEEE usually increases the -% spacing in these cases -\newdimen\IEEEiedmathlabelsep -\IEEEiedmathlabelsep 1.2em - -% This controls the extra vertical separation put above and -% below each IED list. IEEE usually puts a little extra spacing -% around each list. However, this spacing is barely noticeable. -\newskip\IEEEiedtopsep -\IEEEiedtopsep 2pt plus 1pt minus 1pt - - -% This command is executed within each IED list environment -% at the beginning of the list. You can use this to set the -% parameters for some/all your IED list(s) without disturbing -% global parameters that affect things other than lists. -% i.e., renewcommand{\IEEEiedlistdecl}{\setlength{\labelsep}{5em}} -% will alter the \labelsep for the next list(s) until -% \IEEEiedlistdecl is redefined. -\def\IEEEiedlistdecl{\relax} - -% This command provides an easy way to set \leftmargin based -% on the \labelwidth, \labelsep and the argument \IEEElabelindent -% Usage: \IEEEcalcleftmargin{width-to-indent-the-label} -% output is in the \leftmargin variable, i.e., effectively: -% \leftmargin = argument + \labelwidth + \labelsep -% Note controlled spacing here, shield end of lines with % -\def\IEEEcalcleftmargin#1{\setlength{\leftmargin}{#1}% -\addtolength{\leftmargin}{\labelwidth}% -\addtolength{\leftmargin}{\labelsep}} - -% This command provides an easy way to set \labelwidth to the -% width of the given text. It is the same as -% \settowidth{\labelwidth}{label-text} -% and useful as a shorter alternative. -% Typically used to set \labelwidth to be the width -% of the longest label in the list -\def\IEEEsetlabelwidth#1{\settowidth{\labelwidth}{#1}} - -% When this command is executed, IED lists will use the -% IEEEiedmathlabelsep label separation rather than the normal -% spacing. To have an effect, this command must be executed via -% the \IEEEiedlistdecl or within the option of the IED list -% environments. -\def\IEEEusemathlabelsep{\setlength{\labelsep}{\IEEEiedmathlabelsep}} - -% A flag which controls whether the IED lists automatically -% calculate \leftmargin from \IEEElabelindent, \labelwidth and \labelsep -% Useful if you want to specify your own \leftmargin -% This flag must be set (\IEEEnocalcleftmargintrue or \IEEEnocalcleftmarginfalse) -% via the \IEEEiedlistdecl or within the option of the IED list -% environments to have an effect. -\newif\ifIEEEnocalcleftmargin -\IEEEnocalcleftmarginfalse - -% A flag which controls whether \IEEElabelindent is multiplied by -% the \IEEElabelindentfactor for each list level. -% This flag must be set via the \IEEEiedlistdecl or within the option -% of the IED list environments to have an effect. -\newif\ifIEEEnolabelindentfactor -\IEEEnolabelindentfactorfalse - - -% internal variable to indicate type of IED label -% justification -% 0 - left; 1 - center; 2 - right -\def\@IEEEiedjustify{0} - - -% commands to allow the user to control IED -% label justifications. Use these commands within -% the IED environment option or in the \IEEEiedlistdecl -% Note that changing the normal list justifications -% is nonstandard and IEEE may not like it if you do so! -% I include these commands as they may be helpful to -% those who are using these enhanced list controls for -% other non-IEEE related LaTeX work. -% itemize and enumerate automatically default to right -% justification, description defaults to left. -\def\IEEEiedlabeljustifyl{\def\@IEEEiedjustify{0}}%left -\def\IEEEiedlabeljustifyc{\def\@IEEEiedjustify{1}}%center -\def\IEEEiedlabeljustifyr{\def\@IEEEiedjustify{2}}%right - - - - -% commands to save to and restore from the list parameter copies -% this allows us to set all the list parameters within -% the list_decl and prevent \list (and its \@list) -% from overriding any of our parameters -% V1.6 use \edefs instead of dimen's to conserve dimen registers -% Note controlled spacing here, shield end of lines with % -\def\@IEEEsavelistparams{\edef\@IEEEiedtopsep{\the\topsep}% -\edef\@IEEEiedlabelwidth{\the\labelwidth}% -\edef\@IEEEiedlabelsep{\the\labelsep}% -\edef\@IEEEiedleftmargin{\the\leftmargin}% -\edef\@IEEEiedpartopsep{\the\partopsep}% -\edef\@IEEEiedparsep{\the\parsep}% -\edef\@IEEEieditemsep{\the\itemsep}% -\edef\@IEEEiedrightmargin{\the\rightmargin}% -\edef\@IEEEiedlistparindent{\the\listparindent}% -\edef\@IEEEieditemindent{\the\itemindent}} - -% Note controlled spacing here -\def\@IEEErestorelistparams{\topsep\@IEEEiedtopsep\relax% -\labelwidth\@IEEEiedlabelwidth\relax% -\labelsep\@IEEEiedlabelsep\relax% -\leftmargin\@IEEEiedleftmargin\relax% -\partopsep\@IEEEiedpartopsep\relax% -\parsep\@IEEEiedparsep\relax% -\itemsep\@IEEEieditemsep\relax% -\rightmargin\@IEEEiedrightmargin\relax% -\listparindent\@IEEEiedlistparindent\relax% -\itemindent\@IEEEieditemindent\relax} - - -% v1.6b provide original LaTeX IED list environments -% note that latex.ltx defines \itemize and \enumerate, but not \description -% which must be created by the base classes -% save original LaTeX itemize and enumerate -\let\LaTeXitemize\itemize -\let\endLaTeXitemize\enditemize -\let\LaTeXenumerate\enumerate -\let\endLaTeXenumerate\endenumerate - -% provide original LaTeX description environment from article.cls -\newenvironment{LaTeXdescription} - {\list{}{\labelwidth\z@ \itemindent-\leftmargin - \let\makelabel\descriptionlabel}} - {\endlist} -\newcommand*\descriptionlabel[1]{\hspace\labelsep - \normalfont\bfseries #1} - - -% override LaTeX's default IED lists -\def\itemize{\@IEEEitemize} -\def\enditemize{\@endIEEEitemize} -\def\enumerate{\@IEEEenumerate} -\def\endenumerate{\@endIEEEenumerate} -\def\description{\@IEEEdescription} -\def\enddescription{\@endIEEEdescription} - -% provide the user with aliases - may help those using packages that -% override itemize, enumerate, or description -\def\IEEEitemize{\@IEEEitemize} -\def\endIEEEitemize{\@endIEEEitemize} -\def\IEEEenumerate{\@IEEEenumerate} -\def\endIEEEenumerate{\@endIEEEenumerate} -\def\IEEEdescription{\@IEEEdescription} -\def\endIEEEdescription{\@endIEEEdescription} - - -% V1.6 we want to keep the IEEEtran IED list definitions as our own internal -% commands so they are protected against redefinition -\def\@IEEEitemize{\@ifnextchar[{\@@IEEEitemize}{\@@IEEEitemize[\relax]}} -\def\@IEEEenumerate{\@ifnextchar[{\@@IEEEenumerate}{\@@IEEEenumerate[\relax]}} -\def\@IEEEdescription{\@ifnextchar[{\@@IEEEdescription}{\@@IEEEdescription[\relax]}} -\def\@endIEEEitemize{\endlist} -\def\@endIEEEenumerate{\endlist} -\def\@endIEEEdescription{\endlist} - - -% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS -% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS -% IEEEtran itemized list MDS 1/2001 -% Note controlled spacing here, shield end of lines with % -\def\@@IEEEitemize[#1]{% - \ifnum\@itemdepth>3\relax\@toodeep\else% - \ifnum\@listdepth>5\relax\@toodeep\else% - \advance\@itemdepth\@ne% - \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% - % get the labelindentfactor for this level - \advance\@listdepth\@ne% we need to know what the level WILL be - \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% - \advance\@listdepth-\@ne% undo our increment - \def\@IEEEiedjustify{2}% right justified labels are default - % set other defaults - \IEEEnocalcleftmarginfalse% - \IEEEnolabelindentfactorfalse% - \topsep\IEEEiedtopsep% - \IEEElabelindent\IEEEilabelindent% - \labelsep\IEEEiednormlabelsep% - \partopsep 0ex% - \parsep 0ex% - \itemsep \parskip% - \rightmargin 0em% - \listparindent 0em% - \itemindent 0em% - % calculate the label width - % the user can override this later if - % they specified a \labelwidth - \settowidth{\labelwidth}{\csname labelitem\romannumeral\the\@itemdepth\endcsname}% - \@IEEEsavelistparams% save our list parameters - \list{\csname\@itemitem\endcsname}{% - \@IEEErestorelistparams% override any list{} changes - % to our globals - \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel - \IEEEiedlistdecl% let user alter parameters - #1\relax% - % If the user has requested not to use the - % labelindent factor, don't revise \labelindent - \ifIEEEnolabelindentfactor\relax% - \else\IEEElabelindent=\IEEElabelindentfactor\labelindent% - \fi% - % Unless the user has requested otherwise, - % calculate our left margin based - % on \IEEElabelindent, \labelwidth and - % \labelsep - \ifIEEEnocalcleftmargin\relax% - \else\IEEEcalcleftmargin{\IEEElabelindent}% - \fi}\fi\fi}% - - -% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS -% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS -% IEEEtran enumerate list MDS 1/2001 -% Note controlled spacing here, shield end of lines with % -\def\@@IEEEenumerate[#1]{% - \ifnum\@enumdepth>3\relax\@toodeep\else% - \ifnum\@listdepth>5\relax\@toodeep\else% - \advance\@enumdepth\@ne% - \edef\@enumctr{enum\romannumeral\the\@enumdepth}% - % get the labelindentfactor for this level - \advance\@listdepth\@ne% we need to know what the level WILL be - \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% - \advance\@listdepth-\@ne% undo our increment - \def\@IEEEiedjustify{2}% right justified labels are default - % set other defaults - \IEEEnocalcleftmarginfalse% - \IEEEnolabelindentfactorfalse% - \topsep\IEEEiedtopsep% - \IEEElabelindent\IEEEelabelindent% - \labelsep\IEEEiednormlabelsep% - \partopsep 0ex% - \parsep 0ex% - \itemsep 0ex% - \rightmargin 0em% - \listparindent 0em% - \itemindent 0em% - % calculate the label width - % We'll set it to the width suitable for all labels using - % normalfont 1) to 9) - % The user can override this later - \settowidth{\labelwidth}{9)}% - \@IEEEsavelistparams% save our list parameters - \list{\csname label\@enumctr\endcsname}{\usecounter{\@enumctr}% - \@IEEErestorelistparams% override any list{} changes - % to our globals - \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel - \IEEEiedlistdecl% let user alter parameters - #1\relax% - % If the user has requested not to use the - % IEEElabelindent factor, don't revise \IEEElabelindent - \ifIEEEnolabelindentfactor\relax% - \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent% - \fi% - % Unless the user has requested otherwise, - % calculate our left margin based - % on \IEEElabelindent, \labelwidth and - % \labelsep - \ifIEEEnocalcleftmargin\relax% - \else\IEEEcalcleftmargin{\IEEElabelindent}% - \fi}\fi\fi}% - - -% DO NOT ALLOW BLANK LINES TO BE IN THESE IED ENVIRONMENTS -% AS THIS WILL FORCE NEW PARAGRAPHS AFTER THE IED LISTS -% IEEEtran description list MDS 1/2001 -% Note controlled spacing here, shield end of lines with % -\def\@@IEEEdescription[#1]{% - \ifnum\@listdepth>5\relax\@toodeep\else% - % get the labelindentfactor for this level - \advance\@listdepth\@ne% we need to know what the level WILL be - \edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}% - \advance\@listdepth-\@ne% undo our increment - \def\@IEEEiedjustify{0}% left justified labels are default - % set other defaults - \IEEEnocalcleftmarginfalse% - \IEEEnolabelindentfactorfalse% - \topsep\IEEEiedtopsep% - \IEEElabelindent\IEEEdlabelindent% - % assume normal labelsep - \labelsep\IEEEiednormlabelsep% - \partopsep 0ex% - \parsep 0ex% - \itemsep 0ex% - \rightmargin 0em% - \listparindent 0em% - \itemindent 0em% - % Bogus label width in case the user forgets - % to set it. - % TIP: If you want to see what a variable's width is you - % can use the TeX command \showthe\width-variable to - % display it on the screen during compilation - % (This might be helpful to know when you need to find out - % which label is the widest) - \settowidth{\labelwidth}{Hello}% - \@IEEEsavelistparams% save our list parameters - \list{}{\@IEEErestorelistparams% override any list{} changes - % to our globals - \let\makelabel\@IEEEiedmakelabel% v1.6b setup \makelabel - \IEEEiedlistdecl% let user alter parameters - #1\relax% - % If the user has requested not to use the - % labelindent factor, don't revise \IEEElabelindent - \ifIEEEnolabelindentfactor\relax% - \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent% - \fi% - % Unless the user has requested otherwise, - % calculate our left margin based - % on \IEEElabelindent, \labelwidth and - % \labelsep - \ifIEEEnocalcleftmargin\relax% - \else\IEEEcalcleftmargin{\IEEElabelindent}\relax% - \fi}\fi} - -% v1.6b we use one makelabel that does justification as needed. -\def\@IEEEiedmakelabel#1{\relax\if\@IEEEiedjustify 0\relax -\makebox[\labelwidth][l]{\normalfont #1}\else -\if\@IEEEiedjustify 1\relax -\makebox[\labelwidth][c]{\normalfont #1}\else -\makebox[\labelwidth][r]{\normalfont #1}\fi\fi} - - -% VERSE and QUOTE -% V1.7 define environments with newenvironment -\newenvironment{verse}{\let\\=\@centercr - \list{}{\itemsep\z@ \itemindent -1.5em \listparindent \itemindent - \rightmargin\leftmargin\advance\leftmargin 1.5em}\item\relax} - {\endlist} -\newenvironment{quotation}{\list{}{\listparindent 1.5em \itemindent\listparindent - \rightmargin\leftmargin \parsep 0pt plus 1pt}\item\relax} - {\endlist} -\newenvironment{quote}{\list{}{\rightmargin\leftmargin}\item\relax} - {\endlist} - - -% \titlepage -% provided only for backward compatibility. \maketitle is the correct -% way to create the title page. -\newif\if@restonecol -\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn - \else \newpage \fi \thispagestyle{empty}\c@page\z@} -\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi} - -% standard values from article.cls -\arraycolsep 5pt -\arrayrulewidth .4pt -\doublerulesep 2pt - -\tabcolsep 6pt -\tabbingsep 0.5em - - -%% FOOTNOTES -% -%\skip\footins 10pt plus 4pt minus 2pt -% V1.6 respond to changes in font size -% space added above the footnotes (if present) -\skip\footins 0.9\baselineskip plus 0.4\baselineskip minus 0.2\baselineskip - -% V1.6, we need to make \footnotesep responsive to changes -% in \baselineskip or strange spacings will result when in -% draft mode. Here is a little LaTeX secret - \footnotesep -% determines the height of an invisible strut that is placed -% *above* the baseline of footnotes after the first. Since -% LaTeX considers the space for characters to be 0.7/baselineskip -% above the baseline and 0.3/baselineskip below it, we need to -% use 0.7/baselineskip as a \footnotesep to maintain equal spacing -% between all the lines of the footnotes. IEEE often uses a tad -% more, so use 0.8\baselineskip. This slightly larger value also helps -% the text to clear the footnote marks. Note that \thanks in IEEEtran -% uses its own value of \footnotesep which is set in \maketitle. -{\footnotesize -\global\footnotesep 0.8\baselineskip} - -\def\unnumberedfootnote{\gdef\@thefnmark{\quad}\@footnotetext} - -\skip\@mpfootins 0.3\baselineskip -\fboxsep = 3pt -\fboxrule = .4pt -% V1.6 use 1em, then use LaTeX2e's \@makefnmark -% Note that IEEE normally *left* aligns the footnote marks, so we don't need -% box resizing tricks here. -%\long\def\@makefnmark{\scriptsize\normalfont\@thefnmark} -\long\def\@makefntext#1{\parindent 1em\indent\hbox{\@makefnmark}#1}% V1.6 use 1em -\long\def\@maketablefntext#1{\raggedleft\leavevmode\hbox{\@makefnmark}#1} -% V1.7 compsoc does not use superscipts for footnote marks -\ifCLASSOPTIONcompsoc -\def\@IEEEcompsocmakefnmark{\hbox{\normalfont\@thefnmark.\ }} -\long\def\@makefntext#1{\parindent 1em\indent\hbox{\@IEEEcompsocmakefnmark}#1} -\fi - -% IEEE does not use footnote rules. Or do they? -\def\footnoterule{\vskip-2pt \hrule height 0.6pt depth \z@ \vskip1.6pt\relax} -\toks@\expandafter{\@setminipage\let\footnoterule\relax\footnotesep\z@} -\edef\@setminipage{\the\toks@} - -% V1.7 for compsoc, IEEE uses a footnote rule only for \thanks. We devise a "one-shot" -% system to implement this. -\newif\if@IEEEenableoneshotfootnoterule -\@IEEEenableoneshotfootnoterulefalse -\ifCLASSOPTIONcompsoc -\def\footnoterule{\relax\if@IEEEenableoneshotfootnoterule -\kern-5pt -\hbox to \columnwidth{\hfill\vrule width 0.5\columnwidth height 0.4pt\hfill} -\kern4.6pt -\global\@IEEEenableoneshotfootnoterulefalse -\else -\relax -\fi} -\fi - -% V1.6 do not allow LaTeX to break a footnote across multiple pages -\interfootnotelinepenalty=10000 - -% V1.6 discourage breaks within equations -% Note that amsmath normally sets this to 10000, -% but LaTeX2e normally uses 100. -\interdisplaylinepenalty=2500 - -% default allows section depth up to /paragraph -\setcounter{secnumdepth}{4} - -% technotes do not allow /paragraph -\ifCLASSOPTIONtechnote - \setcounter{secnumdepth}{3} -\fi -% neither do compsoc conferences -\@IEEEcompsocconfonly{\setcounter{secnumdepth}{3}} - - -\newcounter{section} -\newcounter{subsection}[section] -\newcounter{subsubsection}[subsection] -\newcounter{paragraph}[subsubsection] - -% used only by IEEEtran's IEEEeqnarray as other packages may -% have their own, different, implementations -\newcounter{IEEEsubequation}[equation] - -% as shown when called by user from \ref, \label and in table of contents -\def\theequation{\arabic{equation}} % 1 -\def\theIEEEsubequation{\theequation\alph{IEEEsubequation}} % 1a (used only by IEEEtran's IEEEeqnarray) -\ifCLASSOPTIONcompsoc -% compsoc is all arabic -\def\thesection{\arabic{section}} -\def\thesubsection{\thesection.\arabic{subsection}} -\def\thesubsubsection{\thesubsection.\arabic{subsubsection}} -\def\theparagraph{\thesubsubsection.\arabic{paragraph}} -\else -\def\thesection{\Roman{section}} % I -% V1.7, \mbox prevents breaks around - -\def\thesubsection{\mbox{\thesection-\Alph{subsection}}} % I-A -% V1.7 use I-A1 format used by IEEE rather than I-A.1 -\def\thesubsubsection{\thesubsection\arabic{subsubsection}} % I-A1 -\def\theparagraph{\thesubsubsection\alph{paragraph}} % I-A1a -\fi - -% From Heiko Oberdiek. Because of the \mbox in \thesubsection, we need to -% tell hyperref to disable the \mbox command when making PDF bookmarks. -% This done already with hyperref.sty version 6.74o and later, but -% it will not hurt to do it here again for users of older versions. -\@ifundefined{pdfstringdefPreHook}{\let\pdfstringdefPreHook\@empty}{}% -\g@addto@macro\pdfstringdefPreHook{\let\mbox\relax} - - -% Main text forms (how shown in main text headings) -% V1.6, using \thesection in \thesectiondis allows changes -% in the former to automatically appear in the latter -\ifCLASSOPTIONcompsoc - \ifCLASSOPTIONconference% compsoc conference - \def\thesectiondis{\thesection.} - \def\thesubsectiondis{\thesectiondis\arabic{subsection}.} - \def\thesubsubsectiondis{\thesubsectiondis\arabic{subsubsection}.} - \def\theparagraphdis{\thesubsubsectiondis\arabic{paragraph}.} - \else% compsoc not conferencs - \def\thesectiondis{\thesection} - \def\thesubsectiondis{\thesectiondis.\arabic{subsection}} - \def\thesubsubsectiondis{\thesubsectiondis.\arabic{subsubsection}} - \def\theparagraphdis{\thesubsubsectiondis.\arabic{paragraph}} - \fi -\else% not compsoc - \def\thesectiondis{\thesection.} % I. - \def\thesubsectiondis{\Alph{subsection}.} % B. - \def\thesubsubsectiondis{\arabic{subsubsection})} % 3) - \def\theparagraphdis{\alph{paragraph})} % d) -\fi - -% just like LaTeX2e's \@eqnnum -\def\theequationdis{{\normalfont \normalcolor (\theequation)}}% (1) -% IEEEsubequation used only by IEEEtran's IEEEeqnarray -\def\theIEEEsubequationdis{{\normalfont \normalcolor (\theIEEEsubequation)}}% (1a) -% redirect LaTeX2e's equation number display and all that depend on -% it, through IEEEtran's \theequationdis -\def\@eqnnum{\theequationdis} - - - -% V1.7 provide string macros as article.cls does -\def\contentsname{Contents} -\def\listfigurename{List of Figures} -\def\listtablename{List of Tables} -\def\refname{References} -\def\indexname{Index} -\def\figurename{Figure} -\def\tablename{TABLE} -\@IEEEcompsocconfonly{\def\figurename{Figure}\def\tablename{Table}} -\def\partname{Part} -\def\appendixname{Appendix} -\def\abstractname{Abstract} -% IEEE specific names -\def\IEEEkeywordsname{Keywords} -\def\IEEEproofname{Proof} - - -% LIST OF FIGURES AND TABLES AND TABLE OF CONTENTS -% -\def\@pnumwidth{1.55em} -\def\@tocrmarg{2.55em} -\def\@dotsep{4.5} -\setcounter{tocdepth}{3} - -% adjusted some spacings here so that section numbers will not easily -% collide with the section titles. -% VIII; VIII-A; and VIII-A.1 are usually the worst offenders. -% MDS 1/2001 -\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}} -\def\l@section#1#2{\addpenalty{\@secpenalty}\addvspace{1.0em plus 1pt}% - \@tempdima 2.75em \begingroup \parindent \z@ \rightskip \@pnumwidth% - \parfillskip-\@pnumwidth {\bfseries\leavevmode #1}\hfil\hbox to\@pnumwidth{\hss #2}\par% - \endgroup} -% argument format #1:level, #2:labelindent,#3:labelsep -\def\l@subsection{\@dottedtocline{2}{2.75em}{3.75em}} -\def\l@subsubsection{\@dottedtocline{3}{6.5em}{4.5em}} -% must provide \l@ defs for ALL sublevels EVEN if tocdepth -% is such as they will not appear in the table of contents -% these defs are how TOC knows what level these things are! -\def\l@paragraph{\@dottedtocline{4}{6.5em}{5.5em}} -\def\l@subparagraph{\@dottedtocline{5}{6.5em}{6.5em}} -\def\listoffigures{\section*{\listfigurename}\@starttoc{lof}} -\def\l@figure{\@dottedtocline{1}{0em}{2.75em}} -\def\listoftables{\section*{\listtablename}\@starttoc{lot}} -\let\l@table\l@figure - - -%% Definitions for floats -%% -%% Normal Floats -\floatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip -\textfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip -\@fptop 0pt plus 1fil -\@fpsep 0.75\baselineskip plus 2fil -\@fpbot 0pt plus 1fil -\def\topfraction{0.9} -\def\bottomfraction{0.4} -\def\floatpagefraction{0.8} -% V1.7, let top floats approach 90% of page -\def\textfraction{0.1} - -%% Double Column Floats -\dblfloatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip - -\dbltextfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip -% Note that it would be nice if the rubber here actually worked in LaTeX2e. -% There is a long standing limitation in LaTeX, first discovered (to the best -% of my knowledge) by Alan Jeffrey in 1992. LaTeX ignores the stretchable -% portion of \dbltextfloatsep, and as a result, double column figures can and -% do result in an non-integer number of lines in the main text columns with -% underfull vbox errors as a consequence. A post to comp.text.tex -% by Donald Arseneau confirms that this had not yet been fixed in 1998. -% IEEEtran V1.6 will fix this problem for you in the titles, but it doesn't -% protect you from other double floats. Happy vspace'ing. - -\@dblfptop 0pt plus 1fil -\@dblfpsep 0.75\baselineskip plus 2fil -\@dblfpbot 0pt plus 1fil -\def\dbltopfraction{0.8} -\def\dblfloatpagefraction{0.8} -\setcounter{dbltopnumber}{4} - -\intextsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip -\setcounter{topnumber}{2} -\setcounter{bottomnumber}{2} -\setcounter{totalnumber}{4} - - - -% article class provides these, we should too. -\newlength\abovecaptionskip -\newlength\belowcaptionskip -% but only \abovecaptionskip is used above figure captions and *below* table -% captions -\setlength\abovecaptionskip{0.65\baselineskip} -\setlength\belowcaptionskip{0.75\baselineskip} -% V1.6 create hooks in case the caption spacing ever needs to be -% overridden by a user -\def\@IEEEfigurecaptionsepspace{\vskip\abovecaptionskip\relax}% -\def\@IEEEtablecaptionsepspace{\vskip\belowcaptionskip\relax}% - - -% 1.6b revise caption system so that \@makecaption uses two arguments -% as with LaTeX2e. Otherwise, there will be problems when using hyperref. -\def\@IEEEtablestring{table} - -\ifCLASSOPTIONcompsoc -% V1.7 compsoc \@makecaption -\ifCLASSOPTIONconference% compsoc conference -\long\def\@makecaption#1#2{% -% test if is a for a figure or table -\ifx\@captype\@IEEEtablestring% -% if a table, do table caption -\normalsize\begin{center}{\normalfont\sffamily\normalsize {#1.}~ #2}\end{center}% -\@IEEEtablecaptionsepspace -% if not a table, format it as a figure -\else -\@IEEEfigurecaptionsepspace -\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}% -\ifdim \wd\@tempboxa >\hsize% -% if caption is longer than a line, let it wrap around -\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }% -\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}% -% if caption is shorter than a line, center -\else% -\hbox to\hsize{\normalfont\sffamily\normalsize\hfil\box\@tempboxa\hfil}% -\fi\fi} -\else% nonconference compsoc -\long\def\@makecaption#1#2{% -% test if is a for a figure or table -\ifx\@captype\@IEEEtablestring% -% if a table, do table caption -\normalsize\begin{center}{\normalfont\sffamily\normalsize #1}\\{\normalfont\sffamily\normalsize #2}\end{center}% -\@IEEEtablecaptionsepspace -% if not a table, format it as a figure -\else -\@IEEEfigurecaptionsepspace -\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}% -\ifdim \wd\@tempboxa >\hsize% -% if caption is longer than a line, let it wrap around -\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }% -\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}% -% if caption is shorter than a line, left justify -\else% -\hbox to\hsize{\normalfont\sffamily\normalsize\box\@tempboxa\hfil}% -\fi\fi} -\fi - -\else% traditional noncompsoc \@makecaption -\long\def\@makecaption#1#2{% -% test if is a for a figure or table -\ifx\@captype\@IEEEtablestring% -% if a table, do table caption -\footnotesize{\centering\normalfont\footnotesize#1.\qquad\scshape #2\par}% -\@IEEEtablecaptionsepspace -% if not a table, format it as a figure -\else -\@IEEEfigurecaptionsepspace -% 3/2001 use footnotesize, not small; use two nonbreaking spaces, not one -\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ #2}% -\ifdim \wd\@tempboxa >\hsize% -% if caption is longer than a line, let it wrap around -\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ }% -\parbox[t]{\hsize}{\normalfont\footnotesize\noindent\unhbox\@tempboxa#2}% -% if caption is shorter than a line, center if conference, left justify otherwise -\else% -\ifCLASSOPTIONconference \hbox to\hsize{\normalfont\footnotesize\box\@tempboxa\hfil}% -\else \hbox to\hsize{\normalfont\footnotesize\box\@tempboxa\hfil}% -\fi\fi\fi} -\fi - - - -% V1.7 disable captions class option, do so in a way that retains operation of \label -% within \caption -\ifCLASSOPTIONcaptionsoff -\long\def\@makecaption#1#2{\vspace*{2em}\footnotesize\begin{center}{\footnotesize #1}\end{center}% -\let\@IEEEtemporiglabeldefsave\label -\let\@IEEEtemplabelargsave\relax -\def\label##1{\gdef\@IEEEtemplabelargsave{##1}}% -\setbox\@tempboxa\hbox{#2}% -\let\label\@IEEEtemporiglabeldefsave -\ifx\@IEEEtemplabelargsave\relax\else\label{\@IEEEtemplabelargsave}\fi} -\fi - - -% V1.7 define end environments with \def not \let so as to work OK with -% preview-latex -\newcounter{figure} -\def\thefigure{\@arabic\c@figure} -\def\fps@figure{tbp} -\def\ftype@figure{1} -\def\ext@figure{lof} -\def\fnum@figure{\figurename~\thefigure} -\def\figure{\@float{figure}} -\def\endfigure{\end@float} -\@namedef{figure*}{\@dblfloat{figure}} -\@namedef{endfigure*}{\end@dblfloat} -\newcounter{table} -\ifCLASSOPTIONcompsoc -\def\thetable{\arabic{table}} -\else -\def\thetable{\@Roman\c@table} -\fi -\def\fps@table{tbp} -\def\ftype@table{2} -\def\ext@table{lot} -\def\fnum@table{\tablename~\thetable} -% V1.6 IEEE uses 8pt text for tables -% to default to footnotesize, we hack into LaTeX2e's \@floatboxreset and pray -\def\table{\def\@floatboxreset{\reset@font\scriptsize\@setminipage}% - \let\@makefntext\@maketablefntext - \@float{table}} -\def\endtable{\end@float} -% v1.6b double column tables need to default to footnotesize as well. -\@namedef{table*}{\def\@floatboxreset{\reset@font\scriptsize\@setminipage}\@dblfloat{table}} -\@namedef{endtable*}{\end@dblfloat} - - - - -%% -%% START OF IEEEeqnarry DEFINITIONS -%% -%% Inspired by the concepts, examples, and previous works of LaTeX -%% coders and developers such as Donald Arseneau, Fred Bartlett, -%% David Carlisle, Tony Liu, Frank Mittelbach, Piet van Oostrum, -%% Roland Winkler and Mark Wooding. -%% I don't make the claim that my work here is even near their calibre. ;) - - -% hook to allow easy changeover to IEEEtran.cls/tools.sty error reporting -\def\@IEEEclspkgerror{\ClassError{IEEEtran}} - -\newif\if@IEEEeqnarraystarform% flag to indicate if the environment was called as the star form -\@IEEEeqnarraystarformfalse - -\newif\if@advanceIEEEeqncolcnt% tracks if the environment should advance the col counter -% allows a way to make an \IEEEeqnarraybox that can be used within an \IEEEeqnarray -% used by IEEEeqnarraymulticol so that it can work properly in both -\@advanceIEEEeqncolcnttrue - -\newcount\@IEEEeqnnumcols % tracks how many IEEEeqnarray cols are defined -\newcount\@IEEEeqncolcnt % tracks how many IEEEeqnarray cols the user actually used - - -% The default math style used by the columns -\def\IEEEeqnarraymathstyle{\displaystyle} -% The default text style used by the columns -% default to using the current font -\def\IEEEeqnarraytextstyle{\relax} - -% like the iedlistdecl but for \IEEEeqnarray -\def\IEEEeqnarraydecl{\relax} -\def\IEEEeqnarrayboxdecl{\relax} - -% \yesnumber is the opposite of \nonumber -% a novel concept with the same def as the equationarray package -% However, we give IEEE versions too since some LaTeX packages such as -% the MDWtools mathenv.sty redefine \nonumber to something else. -\providecommand{\yesnumber}{\global\@eqnswtrue} -\def\IEEEyesnumber{\global\@eqnswtrue} -\def\IEEEnonumber{\global\@eqnswfalse} - - -\def\IEEEyessubnumber{\global\@IEEEissubequationtrue\global\@eqnswtrue% -\if@IEEEeqnarrayISinner% only do something inside an IEEEeqnarray -\if@IEEElastlinewassubequation\addtocounter{equation}{-1}\else\setcounter{IEEEsubequation}{1}\fi% -\def\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\fi} - -% flag to indicate that an equation is a sub equation -\newif\if@IEEEissubequation% -\@IEEEissubequationfalse - -% allows users to "push away" equations that get too close to the equation numbers -\def\IEEEeqnarraynumspace{\hphantom{\if@IEEEissubequation\theIEEEsubequationdis\else\theequationdis\fi}} - -% provides a way to span multiple columns within IEEEeqnarray environments -% will consider \if@advanceIEEEeqncolcnt before globally advancing the -% column counter - so as to work within \IEEEeqnarraybox -% usage: \IEEEeqnarraymulticol{number cols. to span}{col type}{cell text} -\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}% -% check if column is defined -\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined% -\csname @IEEEeqnarraycolPRE#2\endcsname#3\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST#2\endcsname% -\else% if not, error and use default type -\@IEEEclspkgerror{Invalid column type "#2" in \string\IEEEeqnarraymulticol.\MessageBreak -Using a default centering column instead}% -{You must define IEEEeqnarray column types before use.}% -\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname#3\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname% -\fi% -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by #1\relax\fi} - -% like \omit, but maintains track of the column counter for \IEEEeqnarray -\def\IEEEeqnarrayomit{\omit\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by 1\relax\fi} - - -% provides a way to define a letter referenced column type -% usage: \IEEEeqnarraydefcol{col. type letter/name}{pre insertion text}{post insertion text} -\def\IEEEeqnarraydefcol#1#2#3{\expandafter\def\csname @IEEEeqnarraycolPRE#1\endcsname{#2}% -\expandafter\def\csname @IEEEeqnarraycolPOST#1\endcsname{#3}% -\expandafter\def\csname @IEEEeqnarraycolDEF#1\endcsname{1}} - - -% provides a way to define a numerically referenced inter-column glue types -% usage: \IEEEeqnarraydefcolsep{col. glue number}{glue definition} -\def\IEEEeqnarraydefcolsep#1#2{\expandafter\def\csname @IEEEeqnarraycolSEP\romannumeral #1\endcsname{#2}% -\expandafter\def\csname @IEEEeqnarraycolSEPDEF\romannumeral #1\endcsname{1}} - - -\def\@IEEEeqnarraycolisdefined{1}% just a macro for 1, used for checking undefined column types - - -% expands and appends the given argument to the \@IEEEtrantmptoksA token list -% used to build up the \halign preamble -\def\@IEEEappendtoksA#1{\edef\@@IEEEappendtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA #1}}% -\@@IEEEappendtoksA} - -% also appends to \@IEEEtrantmptoksA, but does not expand the argument -% uses \toks8 as a scratchpad register -\def\@IEEEappendNOEXPANDtoksA#1{\toks8={#1}% -\edef\@@IEEEappendNOEXPANDtoksA{\@IEEEtrantmptoksA={\the\@IEEEtrantmptoksA\the\toks8}}% -\@@IEEEappendNOEXPANDtoksA} - -% define some common column types for the user -% math -\IEEEeqnarraydefcol{l}{$\IEEEeqnarraymathstyle}{$\hfil} -\IEEEeqnarraydefcol{c}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} -\IEEEeqnarraydefcol{r}{\hfil$\IEEEeqnarraymathstyle}{$} -\IEEEeqnarraydefcol{L}{$\IEEEeqnarraymathstyle{}}{{}$\hfil} -\IEEEeqnarraydefcol{C}{\hfil$\IEEEeqnarraymathstyle{}}{{}$\hfil} -\IEEEeqnarraydefcol{R}{\hfil$\IEEEeqnarraymathstyle{}}{{}$} -% text -\IEEEeqnarraydefcol{s}{\IEEEeqnarraytextstyle}{\hfil} -\IEEEeqnarraydefcol{t}{\hfil\IEEEeqnarraytextstyle}{\hfil} -\IEEEeqnarraydefcol{u}{\hfil\IEEEeqnarraytextstyle}{} - -% vertical rules -\IEEEeqnarraydefcol{v}{}{\vrule width\arrayrulewidth} -\IEEEeqnarraydefcol{vv}{\vrule width\arrayrulewidth\hfil}{\hfil\vrule width\arrayrulewidth} -\IEEEeqnarraydefcol{V}{}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} -\IEEEeqnarraydefcol{VV}{\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth\hfil}% -{\hfil\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth} - -% horizontal rules -\IEEEeqnarraydefcol{h}{}{\leaders\hrule height\arrayrulewidth\hfil} -\IEEEeqnarraydefcol{H}{}{\leaders\vbox{\hrule width\arrayrulewidth\vskip\doublerulesep\hrule width\arrayrulewidth}\hfil} - -% plain -\IEEEeqnarraydefcol{x}{}{} -\IEEEeqnarraydefcol{X}{$}{$} - -% the default column type to use in the event a column type is not defined -\IEEEeqnarraydefcol{@IEEEdefault}{\hfil$\IEEEeqnarraymathstyle}{$\hfil} - - -% a zero tabskip (used for "-" col types) -\def\@IEEEeqnarraycolSEPzero{0pt plus 0pt minus 0pt} -% a centering tabskip (used for "+" col types) -\def\@IEEEeqnarraycolSEPcenter{1000pt plus 0pt minus 1000pt} - -% top level default tabskip glues for the start, end, and inter-column -% may be reset within environments not always at the top level, e.g., \IEEEeqnarraybox -\edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPcenter}% default start glue -\edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPcenter}% default end glue -\edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue - - - -% creates a vertical rule that extends from the bottom to the top a a cell -% Provided in case other packages redefine \vline some other way. -% usage: \IEEEeqnarrayvrule[rule thickness] -% If no argument is provided, \arrayrulewidth will be used for the rule thickness. -\newcommand\IEEEeqnarrayvrule[1][\arrayrulewidth]{\vrule\@width#1\relax} - -% creates a blank separator row -% usage: \IEEEeqnarrayseprow[separation length][font size commands] -% default is \IEEEeqnarrayseprow[0.25\normalbaselineskip][\relax] -% blank arguments inherit the default values -% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers -\def\IEEEeqnarrayseprow{\relax\@ifnextchar[{\@IEEEeqnarrayseprow}{\@IEEEeqnarrayseprow[0.25\normalbaselineskip]}} -\def\@IEEEeqnarrayseprow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprow[#1]}{\@@IEEEeqnarrayseprow[#1][\relax]}} -\def\@@IEEEeqnarrayseprow[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% -\ifx\@IEEEeqnarrayseprowARGONE\@empty% -% get the skip value, based on the font commands -% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 -% assign within a bogus box to confine the font changes -{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% -\else% -{\setbox0=\hbox{#2\relax\global\skip5=#1}}% -\fi% -\@IEEEeqnarrayhoptolastcolumn\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} - -% creates a blank separator row, but omits all the column templates -% usage: \IEEEeqnarrayseprowcut[separation length][font size commands] -% default is \IEEEeqnarrayseprowcut[0.25\normalbaselineskip][\relax] -% blank arguments inherit the default values -% uses \skip5 as a scratch register - calls \@IEEEeqnarraystrutsize which uses more scratch registers -\def\IEEEeqnarrayseprowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\@ifnextchar[{\@IEEEeqnarrayseprowcut}{\@IEEEeqnarrayseprowcut[0.25\normalbaselineskip]}} -\def\@IEEEeqnarrayseprowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarrayseprowcut[#1]}{\@@IEEEeqnarrayseprowcut[#1][\relax]}} -\def\@@IEEEeqnarrayseprowcut[#1][#2]{\def\@IEEEeqnarrayseprowARGONE{#1}% -\ifx\@IEEEeqnarrayseprowARGONE\@empty% -% get the skip value, based on the font commands -% use skip5 because \IEEEeqnarraystrutsize uses \skip0, \skip2, \skip3 -% assign within a bogus box to confine the font changes -{\setbox0=\hbox{#2\relax\global\skip5=0.25\normalbaselineskip}}% -\else% -{\setbox0=\hbox{#2\relax\global\skip5=#1}}% -\fi% -\IEEEeqnarraystrutsize{\skip5}{0pt}[\relax]\relax} - - - -% draws a single rule across all the columns optional -% argument determines the rule width, \arrayrulewidth is the default -% updates column counter as needed and turns off struts -% usage: \IEEEeqnarrayrulerow[rule line thickness] -\def\IEEEeqnarrayrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\@ifnextchar[{\@IEEEeqnarrayrulerow}{\@IEEEeqnarrayrulerow[\arrayrulewidth]}} -\def\@IEEEeqnarrayrulerow[#1]{\leaders\hrule height#1\hfil\relax% put in our rule -% turn off any struts -\IEEEeqnarraystrutsize{0pt}{0pt}[\relax]\relax} - - -% draws a double rule by using a single rule row, a separator row, and then -% another single rule row -% first optional argument determines the rule thicknesses, \arrayrulewidth is the default -% second optional argument determines the rule spacing, \doublerulesep is the default -% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] -\def\IEEEeqnarraydblrulerow{\multispan{\@IEEEeqnnumcols}\relax% span all the cols -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\@ifnextchar[{\@IEEEeqnarraydblrulerow}{\@IEEEeqnarraydblrulerow[\arrayrulewidth]}} -\def\@IEEEeqnarraydblrulerow[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerow[#1]}% -{\@@IEEEeqnarraydblrulerow[#1][\doublerulesep]}} -\def\@@IEEEeqnarraydblrulerow[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% -% we allow the user to say \IEEEeqnarraydblrulerow[][] -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\@IEEEeqnarrayrulerow[\arrayrulewidth]% -\else% -\@IEEEeqnarrayrulerow[#1]\relax% -\fi% -\def\@IEEEeqnarraydblrulerowARG{#2}% -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\\\IEEEeqnarrayseprow[\doublerulesep][\relax]% -\else% -\\\IEEEeqnarrayseprow[#2][\relax]% -\fi% -\\\multispan{\@IEEEeqnnumcols}% -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\def\@IEEEeqnarraydblrulerowARG{#1}% -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\@IEEEeqnarrayrulerow[\arrayrulewidth]% -\else% -\@IEEEeqnarrayrulerow[#1]% -\fi% -} - -% draws a double rule by using a single rule row, a separator (cutting) row, and then -% another single rule row -% first optional argument determines the rule thicknesses, \arrayrulewidth is the default -% second optional argument determines the rule spacing, \doublerulesep is the default -% usage: \IEEEeqnarraydblrulerow[rule line thickness][rule spacing] -\def\IEEEeqnarraydblrulerowcut{\multispan{\@IEEEeqnnumcols}\relax% span all the cols -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\@ifnextchar[{\@IEEEeqnarraydblrulerowcut}{\@IEEEeqnarraydblrulerowcut[\arrayrulewidth]}} -\def\@IEEEeqnarraydblrulerowcut[#1]{\relax\@ifnextchar[{\@@IEEEeqnarraydblrulerowcut[#1]}% -{\@@IEEEeqnarraydblrulerowcut[#1][\doublerulesep]}} -\def\@@IEEEeqnarraydblrulerowcut[#1][#2]{\def\@IEEEeqnarraydblrulerowARG{#1}% -% we allow the user to say \IEEEeqnarraydblrulerow[][] -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\@IEEEeqnarrayrulerow[\arrayrulewidth]% -\else% -\@IEEEeqnarrayrulerow[#1]% -\fi% -\def\@IEEEeqnarraydblrulerowARG{#2}% -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\\\IEEEeqnarrayseprowcut[\doublerulesep][\relax]% -\else% -\\\IEEEeqnarrayseprowcut[#2][\relax]% -\fi% -\\\multispan{\@IEEEeqnnumcols}% -% advance column counter only if the IEEEeqnarray environment wants it -\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by \@IEEEeqnnumcols\relax\fi% -\def\@IEEEeqnarraydblrulerowARG{#1}% -\ifx\@IEEEeqnarraydblrulerowARG\@empty% -\@IEEEeqnarrayrulerow[\arrayrulewidth]% -\else% -\@IEEEeqnarrayrulerow[#1]% -\fi% -} - - - -% inserts a full row's worth of &'s -% relies on \@IEEEeqnnumcols to provide the correct number of columns -% uses \@IEEEtrantmptoksA, \count0 as scratch registers -\def\@IEEEeqnarrayhoptolastcolumn{\@IEEEtrantmptoksA={}\count0=1\relax% -\loop% add cols if the user did not use them all -\ifnum\count0<\@IEEEeqnnumcols\relax% -\@IEEEappendtoksA{&}% -\advance\count0 by 1\relax% update the col count -\repeat% -\the\@IEEEtrantmptoksA%execute the &'s -} - - - -\newif\if@IEEEeqnarrayISinner % flag to indicate if we are within the lines -\@IEEEeqnarrayISinnerfalse % of an IEEEeqnarray - after the IEEEeqnarraydecl - -\edef\@IEEEeqnarrayTHEstrutheight{0pt} % height and depth of IEEEeqnarray struts -\edef\@IEEEeqnarrayTHEstrutdepth{0pt} - -\edef\@IEEEeqnarrayTHEmasterstrutheight{0pt} % default height and depth of -\edef\@IEEEeqnarrayTHEmasterstrutdepth{0pt} % struts within an IEEEeqnarray - -\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{0pt} % saved master strut height -\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{0pt} % and depth - -\newif\if@IEEEeqnarrayusemasterstrut % flag to indicate that the master strut value -\@IEEEeqnarrayusemasterstruttrue % is to be used - - - -% saves the strut height and depth of the master strut -\def\@IEEEeqnarraymasterstrutsave{\relax% -\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% -% remove stretchability -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% save values -\edef\@IEEEeqnarrayTHEmasterstrutHSAVE{\the\dimen0}% -\edef\@IEEEeqnarrayTHEmasterstrutDSAVE{\the\dimen2}} - -% restores the strut height and depth of the master strut -\def\@IEEEeqnarraymasterstrutrestore{\relax% -\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutHSAVE\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutDSAVE\relax% -% remove stretchability -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% restore values -\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}} - - -% globally restores the strut height and depth to the -% master values and sets the master strut flag to true -\def\@IEEEeqnarraystrutreset{\relax% -\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% -% remove stretchability -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% restore values -\xdef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% -\xdef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% -\global\@IEEEeqnarrayusemasterstruttrue} - - -% if the master strut is not to be used, make the current -% values of \@IEEEeqnarrayTHEstrutheight, \@IEEEeqnarrayTHEstrutdepth -% and the use master strut flag, global -% this allows user strut commands issued in the last column to be carried -% into the isolation/strut column -\def\@IEEEeqnarrayglobalizestrutstatus{\relax% -\if@IEEEeqnarrayusemasterstrut\else% -\xdef\@IEEEeqnarrayTHEstrutheight{\@IEEEeqnarrayTHEstrutheight}% -\xdef\@IEEEeqnarrayTHEstrutdepth{\@IEEEeqnarrayTHEstrutdepth}% -\global\@IEEEeqnarrayusemasterstrutfalse% -\fi} - - - -% usage: \IEEEeqnarraystrutsize{height}{depth}[font size commands] -% If called outside the lines of an IEEEeqnarray, sets the height -% and depth of both the master and local struts. If called inside -% an IEEEeqnarray line, sets the height and depth of the local strut -% only and sets the flag to indicate the use of the local strut -% values. If the height or depth is left blank, 0.7\normalbaselineskip -% and 0.3\normalbaselineskip will be used, respectively. -% The optional argument can be used to evaluate the lengths under -% a different font size and styles. If none is specified, the current -% font is used. -% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 -\def\IEEEeqnarraystrutsize#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsize{#1}{#2}}{\@IEEEeqnarraystrutsize{#1}{#2}[\relax]}} -\def\@IEEEeqnarraystrutsize#1#2[#3]{\def\@IEEEeqnarraystrutsizeARG{#1}% -\ifx\@IEEEeqnarraystrutsizeARG\@empty% -{\setbox0=\hbox{#3\relax\global\skip3=0.7\normalbaselineskip}}% -\skip0=\skip3\relax% -\else% arg one present -{\setbox0=\hbox{#3\relax\global\skip3=#1\relax}}% -\skip0=\skip3\relax% -\fi% if null arg -\def\@IEEEeqnarraystrutsizeARG{#2}% -\ifx\@IEEEeqnarraystrutsizeARG\@empty% -{\setbox0=\hbox{#3\relax\global\skip3=0.3\normalbaselineskip}}% -\skip2=\skip3\relax% -\else% arg two present -{\setbox0=\hbox{#3\relax\global\skip3=#2\relax}}% -\skip2=\skip3\relax% -\fi% if null arg -% remove stretchability, just to be safe -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% dimen0 = height, dimen2 = depth -\if@IEEEeqnarrayISinner% inner does not touch master strut size -\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% -\@IEEEeqnarrayusemasterstrutfalse% do not use master -\else% outer, have to set master strut too -\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% -\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% -\@IEEEeqnarrayusemasterstruttrue% use master strut -\fi} - - -% usage: \IEEEeqnarraystrutsizeadd{added height}{added depth}[font size commands] -% If called outside the lines of an IEEEeqnarray, adds the given height -% and depth to both the master and local struts. -% If called inside an IEEEeqnarray line, adds the given height and depth -% to the local strut only and sets the flag to indicate the use -% of the local strut values. -% In both cases, if a height or depth is left blank, 0pt is used instead. -% The optional argument can be used to evaluate the lengths under -% a different font size and styles. If none is specified, the current -% font is used. -% uses scratch registers \skip0, \skip2, \skip3, \dimen0, \dimen2 -\def\IEEEeqnarraystrutsizeadd#1#2{\relax\@ifnextchar[{\@IEEEeqnarraystrutsizeadd{#1}{#2}}{\@IEEEeqnarraystrutsizeadd{#1}{#2}[\relax]}} -\def\@IEEEeqnarraystrutsizeadd#1#2[#3]{\def\@IEEEeqnarraystrutsizearg{#1}% -\ifx\@IEEEeqnarraystrutsizearg\@empty% -\skip0=0pt\relax% -\else% arg one present -{\setbox0=\hbox{#3\relax\global\skip3=#1}}% -\skip0=\skip3\relax% -\fi% if null arg -\def\@IEEEeqnarraystrutsizearg{#2}% -\ifx\@IEEEeqnarraystrutsizearg\@empty% -\skip2=0pt\relax% -\else% arg two present -{\setbox0=\hbox{#3\relax\global\skip3=#2}}% -\skip2=\skip3\relax% -\fi% if null arg -% remove stretchability, just to be safe -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% dimen0 = height, dimen2 = depth -\if@IEEEeqnarrayISinner% inner does not touch master strut size -% get local strut size -\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% -% add it to the user supplied values -\advance\dimen0 by \skip0\relax% -\advance\dimen2 by \skip2\relax% -% update the local strut size -\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% -\@IEEEeqnarrayusemasterstrutfalse% do not use master -\else% outer, have to set master strut too -% get master strut size -\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% -% add it to the user supplied values -\advance\dimen0 by \skip0\relax% -\advance\dimen2 by \skip2\relax% -% update the local and master strut sizes -\edef\@IEEEeqnarrayTHEmasterstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEmasterstrutdepth{\the\dimen2}% -\edef\@IEEEeqnarrayTHEstrutheight{\the\dimen0}% -\edef\@IEEEeqnarrayTHEstrutdepth{\the\dimen2}% -\@IEEEeqnarrayusemasterstruttrue% use master strut -\fi} - - -% allow user a way to see the struts -\newif\ifIEEEvisiblestruts -\IEEEvisiblestrutsfalse - -% inserts an invisible strut using the master or local strut values -% uses scratch registers \skip0, \skip2, \dimen0, \dimen2 -\def\@IEEEeqnarrayinsertstrut{\relax% -\if@IEEEeqnarrayusemasterstrut -% get master strut size -\expandafter\skip0=\@IEEEeqnarrayTHEmasterstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEmasterstrutdepth\relax% -\else% -% get local strut size -\expandafter\skip0=\@IEEEeqnarrayTHEstrutheight\relax% -\expandafter\skip2=\@IEEEeqnarrayTHEstrutdepth\relax% -\fi% -% remove stretchability, probably not needed -\dimen0\skip0\relax% -\dimen2\skip2\relax% -% dimen0 = height, dimen2 = depth -% allow user to see struts if desired -\ifIEEEvisiblestruts% -\vrule width0.2pt height\dimen0 depth\dimen2\relax% -\else% -\vrule width0pt height\dimen0 depth\dimen2\relax\fi} - - -% creates an invisible strut, useable even outside \IEEEeqnarray -% if \IEEEvisiblestrutstrue, the strut will be visible and 0.2pt wide. -% usage: \IEEEstrut[height][depth][font size commands] -% default is \IEEEstrut[0.7\normalbaselineskip][0.3\normalbaselineskip][\relax] -% blank arguments inherit the default values -% uses \dimen0, \dimen2, \skip0, \skip2 -\def\IEEEstrut{\relax\@ifnextchar[{\@IEEEstrut}{\@IEEEstrut[0.7\normalbaselineskip]}} -\def\@IEEEstrut[#1]{\relax\@ifnextchar[{\@@IEEEstrut[#1]}{\@@IEEEstrut[#1][0.3\normalbaselineskip]}} -\def\@@IEEEstrut[#1][#2]{\relax\@ifnextchar[{\@@@IEEEstrut[#1][#2]}{\@@@IEEEstrut[#1][#2][\relax]}} -\def\@@@IEEEstrut[#1][#2][#3]{\mbox{#3\relax% -\def\@IEEEstrutARG{#1}% -\ifx\@IEEEstrutARG\@empty% -\skip0=0.7\normalbaselineskip\relax% -\else% -\skip0=#1\relax% -\fi% -\def\@IEEEstrutARG{#2}% -\ifx\@IEEEstrutARG\@empty% -\skip2=0.3\normalbaselineskip\relax% -\else% -\skip2=#2\relax% -\fi% -% remove stretchability, probably not needed -\dimen0\skip0\relax% -\dimen2\skip2\relax% -\ifIEEEvisiblestruts% -\vrule width0.2pt height\dimen0 depth\dimen2\relax% -\else% -\vrule width0.0pt height\dimen0 depth\dimen2\relax\fi}} - - -% enables strut mode by setting a default strut size and then zeroing the -% \baselineskip, \lineskip, \lineskiplimit and \jot -\def\IEEEeqnarraystrutmode{\IEEEeqnarraystrutsize{0.7\normalbaselineskip}{0.3\normalbaselineskip}[\relax]% -\baselineskip=0pt\lineskip=0pt\lineskiplimit=0pt\jot=0pt} - - - -\def\IEEEeqnarray{\@IEEEeqnarraystarformfalse\@IEEEeqnarray} -\def\endIEEEeqnarray{\end@IEEEeqnarray} - -\@namedef{IEEEeqnarray*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarray} -\@namedef{endIEEEeqnarray*}{\end@IEEEeqnarray} - - -% \IEEEeqnarray is an enhanced \eqnarray. -% The star form defaults to not putting equation numbers at the end of each row. -% usage: \IEEEeqnarray[decl]{cols} -\def\@IEEEeqnarray{\relax\@ifnextchar[{\@@IEEEeqnarray}{\@@IEEEeqnarray[\relax]}} -\def\@@IEEEeqnarray[#1]#2{% - % default to showing the equation number or not based on whether or not - % the star form was involked - \if@IEEEeqnarraystarform\global\@eqnswfalse - \else% not the star form - \global\@eqnswtrue - \fi% if star form - \@IEEEissubequationfalse% default to no subequations - \@IEEElastlinewassubequationfalse% assume last line is not a sub equation - \@IEEEeqnarrayISinnerfalse% not yet within the lines of the halign - \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default - \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise - \IEEEvisiblestrutsfalse% diagnostic mode defaults to off - % no extra space unless the user specifically requests it - \lineskip=0pt\relax - \lineskiplimit=0pt\relax - \baselineskip=\normalbaselineskip\relax% - \jot=\IEEEnormaljot\relax% - \mathsurround\z@\relax% no extra spacing around math - \@advanceIEEEeqncolcnttrue% advance the col counter for each col the user uses, - % used in \IEEEeqnarraymulticol and in the preamble build - \stepcounter{equation}% advance equation counter before first line - \setcounter{IEEEsubequation}{0}% no subequation yet - \def\@currentlabel{\p@equation\theequation}% redefine the ref label - \IEEEeqnarraydecl\relax% allow a way for the user to make global overrides - #1\relax% allow user to override defaults - \let\\\@IEEEeqnarraycr% replace newline with one that can put in eqn. numbers - \global\@IEEEeqncolcnt\z@% col. count = 0 for first line - \@IEEEbuildpreamble #2\end\relax% build the preamble and put it into \@IEEEtrantmptoksA - % put in the column for the equation number - \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first - \toks0={##}% - % advance the \@IEEEeqncolcnt for the isolation col, this helps with error checking - \@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}% - % add the isolation column - \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% - % advance the \@IEEEeqncolcnt for the equation number col, this helps with error checking - \@IEEEappendtoksA{&\global\advance\@IEEEeqncolcnt by 1\relax}% - % add the equation number col to the preamble - \@IEEEappendtoksA{\tabskip\z@skip\hb@xt@\z@\bgroup\hss\the\toks0\egroup}% - % note \@IEEEeqnnumcols does not count the equation col or isolation col - % set the starting tabskip glue as determined by the preamble build - \tabskip=\@IEEEBPstartglue\relax - % begin the display alignment - \@IEEEeqnarrayISinnertrue% commands are now within the lines - $$\everycr{}\halign to\displaywidth\bgroup - % "exspand" the preamble - \span\the\@IEEEtrantmptoksA\cr} - -% enter isolation/strut column (or the next column if the user did not use -% every column), record the strut status, complete the columns, do the strut if needed, -% restore counters to correct values and exit -\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup% -\if@IEEElastlinewassubequation\global\advance\c@IEEEsubequation\m@ne\fi% -\global\advance\c@equation\m@ne% -$$\@ignoretrue} - -% need a way to remember if last line is a subequation -\newif\if@IEEElastlinewassubequation% -\@IEEElastlinewassubequationfalse - -% IEEEeqnarray uses a modifed \\ instead of the plain \cr to -% end rows. This allows for things like \\*[vskip amount] -% This "cr" macros are modified versions those for LaTeX2e's eqnarray -% the {\ifnum0=`} braces must be kept away from the last column to avoid -% altering spacing of its math, so we use & to advance to the next column -% as there is an isolation/strut column after the user's columns -\def\@IEEEeqnarraycr{\@IEEEeqnarrayglobalizestrutstatus&% save strut status and advance to next column - {\ifnum0=`}\fi - \@ifstar{% - \global\@eqpen\@M\@IEEEeqnarrayYCR - }{% - \global\@eqpen\interdisplaylinepenalty \@IEEEeqnarrayYCR - }% -} - -\def\@IEEEeqnarrayYCR{\@testopt\@IEEEeqnarrayXCR\z@skip} - -\def\@IEEEeqnarrayXCR[#1]{% - \ifnum0=`{\fi}% - \@@IEEEeqnarraycr - \noalign{\penalty\@eqpen\vskip\jot\vskip #1\relax}}% - -\def\@@IEEEeqnarraycr{\@IEEEtrantmptoksA={}% clear token register - \advance\@IEEEeqncolcnt by -1\relax% adjust col count because of the isolation column - \ifnum\@IEEEeqncolcnt>\@IEEEeqnnumcols\relax - \@IEEEclspkgerror{Too many columns within the IEEEeqnarray\MessageBreak - environment}% - {Use fewer \string &'s or put more columns in the IEEEeqnarry column\MessageBreak - specifications.}\relax% - \else - \loop% add cols if the user did not use them all - \ifnum\@IEEEeqncolcnt<\@IEEEeqnnumcols\relax - \@IEEEappendtoksA{&}% - \advance\@IEEEeqncolcnt by 1\relax% update the col count - \repeat - % this number of &'s will take us the the isolation column - \fi - % execute the &'s - \the\@IEEEtrantmptoksA% - % handle the strut/isolation column - \@IEEEeqnarrayinsertstrut% do the strut if needed - \@IEEEeqnarraystrutreset% reset the strut system for next line or IEEEeqnarray - &% and enter the equation number column - % is this line needs an equation number, display it and advance the - % (sub)equation counters, record what type this line was - \if@eqnsw% - \if@IEEEissubequation\theIEEEsubequationdis\addtocounter{equation}{1}\stepcounter{IEEEsubequation}% - \global\@IEEElastlinewassubequationtrue% - \else% display a standard equation number, initialize the IEEEsubequation counter - \theequationdis\stepcounter{equation}\setcounter{IEEEsubequation}{0}% - \global\@IEEElastlinewassubequationfalse\fi% - \fi% - % reset the eqnsw flag to indicate default preference of the display of equation numbers - \if@IEEEeqnarraystarform\global\@eqnswfalse\else\global\@eqnswtrue\fi - \global\@IEEEissubequationfalse% reset the subequation flag - % reset the number of columns the user actually used - \global\@IEEEeqncolcnt\z@\relax - % the real end of the line - \cr} - - - - - -% \IEEEeqnarraybox is like \IEEEeqnarray except the box form puts everything -% inside a vtop, vbox, or vcenter box depending on the letter in the second -% optional argument (t,b,c). Vbox is the default. Unlike \IEEEeqnarray, -% equation numbers are not displayed and \IEEEeqnarraybox can be nested. -% \IEEEeqnarrayboxm is for math mode (like \array) and does not put the vbox -% within an hbox. -% \IEEEeqnarrayboxt is for text mode (like \tabular) and puts the vbox within -% a \hbox{$ $} construct. -% \IEEEeqnarraybox will auto detect whether to use \IEEEeqnarrayboxm or -% \IEEEeqnarrayboxt depending on the math mode. -% The third optional argument specifies the width this box is to be set to - -% natural width is the default. -% The * forms do not add \jot line spacing -% usage: \IEEEeqnarraybox[decl][pos][width]{cols} -\def\IEEEeqnarrayboxm{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} -\def\endIEEEeqnarrayboxm{\end@IEEEeqnarraybox} -\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox} -\@namedef{endIEEEeqnarrayboxm*}{\end@IEEEeqnarraybox} - -\def\IEEEeqnarrayboxt{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} -\def\endIEEEeqnarrayboxt{\end@IEEEeqnarraybox} -\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox} -\@namedef{endIEEEeqnarrayboxt*}{\end@IEEEeqnarraybox} - -\def\IEEEeqnarraybox{\@IEEEeqnarraystarformfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% -\@IEEEeqnarraybox} -\def\endIEEEeqnarraybox{\end@IEEEeqnarraybox} - -\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarraystarformtrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi% -\@IEEEeqnarraybox} -\@namedef{endIEEEeqnarraybox*}{\end@IEEEeqnarraybox} - -% flag to indicate if the \IEEEeqnarraybox needs to put things into an hbox{$ $} -% for \vcenter in non-math mode -\newif\if@IEEEeqnarrayboxHBOXSW% -\@IEEEeqnarrayboxHBOXSWfalse - -\def\@IEEEeqnarraybox{\relax\@ifnextchar[{\@@IEEEeqnarraybox}{\@@IEEEeqnarraybox[\relax]}} -\def\@@IEEEeqnarraybox[#1]{\relax\@ifnextchar[{\@@@IEEEeqnarraybox[#1]}{\@@@IEEEeqnarraybox[#1][b]}} -\def\@@@IEEEeqnarraybox[#1][#2]{\relax\@ifnextchar[{\@@@@IEEEeqnarraybox[#1][#2]}{\@@@@IEEEeqnarraybox[#1][#2][\relax]}} - -% #1 = decl; #2 = t,b,c; #3 = width, #4 = col specs -\def\@@@@IEEEeqnarraybox[#1][#2][#3]#4{\@IEEEeqnarrayISinnerfalse % not yet within the lines of the halign - \@IEEEeqnarraymasterstrutsave% save current master strut values - \@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default - \@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise - \IEEEvisiblestrutsfalse% diagnostic mode defaults to off - % no extra space unless the user specifically requests it - \lineskip=0pt\relax% - \lineskiplimit=0pt\relax% - \baselineskip=\normalbaselineskip\relax% - \jot=\IEEEnormaljot\relax% - \mathsurround\z@\relax% no extra spacing around math - % the default end glues are zero for an \IEEEeqnarraybox - \edef\@IEEEeqnarraycolSEPdefaultstart{\@IEEEeqnarraycolSEPzero}% default start glue - \edef\@IEEEeqnarraycolSEPdefaultend{\@IEEEeqnarraycolSEPzero}% default end glue - \edef\@IEEEeqnarraycolSEPdefaultmid{\@IEEEeqnarraycolSEPzero}% default inter-column glue - \@advanceIEEEeqncolcntfalse% do not advance the col counter for each col the user uses, - % used in \IEEEeqnarraymulticol and in the preamble build - \IEEEeqnarrayboxdecl\relax% allow a way for the user to make global overrides - #1\relax% allow user to override defaults - \let\\\@IEEEeqnarrayboxcr% replace newline with one that allows optional spacing - \@IEEEbuildpreamble #4\end\relax% build the preamble and put it into \@IEEEtrantmptoksA - % add an isolation column to the preamble to stop \\'s {} from getting into the last col - \ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi% col separator for those after the first - \toks0={##}% - % add the isolation column to the preamble - \@IEEEappendtoksA{\tabskip\z@skip\bgroup\the\toks0\egroup}% - % set the starting tabskip glue as determined by the preamble build - \tabskip=\@IEEEBPstartglue\relax - % begin the alignment - \everycr{}% - % use only the very first token to determine the positioning - % this stops some problems when the user uses more than one letter, - % but is probably not worth the effort - % \noindent is used as a delimiter - \def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% - \@IEEEgrabfirstoken#2\relax\relax\noindent - % \@IEEEgrabbedfirstoken has the first token, the rest are discarded - % if we need to put things into and hbox and go into math mode, do so now - \if@IEEEeqnarrayboxHBOXSW \leavevmode \hbox \bgroup $\fi% - % use the appropriate vbox type - \if\@IEEEgrabbedfirstoken t\relax\vtop\else\if\@IEEEgrabbedfirstoken c\relax% - \vcenter\else\vbox\fi\fi\bgroup% - \@IEEEeqnarrayISinnertrue% commands are now within the lines - \ifx#3\relax\halign\else\halign to #3\relax\fi% - \bgroup - % "exspand" the preamble - \span\the\@IEEEtrantmptoksA\cr} - -% carry strut status and enter the isolation/strut column, -% exit from math mode if needed, and exit -\def\end@IEEEeqnarraybox{\@IEEEeqnarrayglobalizestrutstatus% carry strut status -&% enter isolation/strut column -\@IEEEeqnarrayinsertstrut% do strut if needed -\@IEEEeqnarraymasterstrutrestore% restore the previous master strut values -% reset the strut system for next IEEEeqnarray -% (sets local strut values back to previous master strut values) -\@IEEEeqnarraystrutreset% -% ensure last line, exit from halign, close vbox -\crcr\egroup\egroup% -% exit from math mode and close hbox if needed -\if@IEEEeqnarrayboxHBOXSW $\egroup\fi} - - - -% IEEEeqnarraybox uses a modifed \\ instead of the plain \cr to -% end rows. This allows for things like \\[vskip amount] -% This "cr" macros are modified versions those for LaTeX2e's eqnarray -% For IEEEeqnarraybox, \\* is the same as \\ -% the {\ifnum0=`} braces must be kept away from the last column to avoid -% altering spacing of its math, so we use & to advance to the isolation/strut column -% carry strut status into isolation/strut column -\def\@IEEEeqnarrayboxcr{\@IEEEeqnarrayglobalizestrutstatus% carry strut status -&% enter isolation/strut column -\@IEEEeqnarrayinsertstrut% do strut if needed -% reset the strut system for next line or IEEEeqnarray -\@IEEEeqnarraystrutreset% -{\ifnum0=`}\fi% -\@ifstar{\@IEEEeqnarrayboxYCR}{\@IEEEeqnarrayboxYCR}} - -% test and setup the optional argument to \\[] -\def\@IEEEeqnarrayboxYCR{\@testopt\@IEEEeqnarrayboxXCR\z@skip} - -% IEEEeqnarraybox does not automatically increase line spacing by \jot -\def\@IEEEeqnarrayboxXCR[#1]{\ifnum0=`{\fi}% -\cr\noalign{\if@IEEEeqnarraystarform\else\vskip\jot\fi\vskip#1\relax}} - - - -% starts the halign preamble build -\def\@IEEEbuildpreamble{\@IEEEtrantmptoksA={}% clear token register -\let\@IEEEBPcurtype=u%current column type is not yet known -\let\@IEEEBPprevtype=s%the previous column type was the start -\let\@IEEEBPnexttype=u%next column type is not yet known -% ensure these are valid -\def\@IEEEBPcurglue={0pt plus 0pt minus 0pt}% -\def\@IEEEBPcurcolname{@IEEEdefault}% name of current column definition -% currently acquired numerically referenced glue -% use a name that is easier to remember -\let\@IEEEBPcurnum=\@IEEEtrantmpcountA% -\@IEEEBPcurnum=0% -% tracks number of columns in the preamble -\@IEEEeqnnumcols=0% -% record the default end glues -\edef\@IEEEBPstartglue{\@IEEEeqnarraycolSEPdefaultstart}% -\edef\@IEEEBPendglue{\@IEEEeqnarraycolSEPdefaultend}% -% now parse the user's column specifications -\@@IEEEbuildpreamble} - - -% parses and builds the halign preamble -\def\@@IEEEbuildpreamble#1#2{\let\@@nextIEEEbuildpreamble=\@@IEEEbuildpreamble% -% use only the very first token to check the end -% \noindent is used as a delimiter as \end can be present here -\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% -\@IEEEgrabfirstoken#1\relax\relax\noindent -\ifx\@IEEEgrabbedfirstoken\end\let\@@nextIEEEbuildpreamble=\@@IEEEfinishpreamble\else% -% identify current and next token type -\@IEEEgetcoltype{#1}{\@IEEEBPcurtype}{1}% current, error on invalid -\@IEEEgetcoltype{#2}{\@IEEEBPnexttype}{0}% next, no error on invalid next -% if curtype is a glue, get the glue def -\if\@IEEEBPcurtype g\@IEEEgetcurglue{#1}{\@IEEEBPcurglue}\fi% -% if curtype is a column, get the column def and set the current column name -\if\@IEEEBPcurtype c\@IEEEgetcurcol{#1}\fi% -% if curtype is a numeral, acquire the user defined glue -\if\@IEEEBPcurtype n\@IEEEprocessNcol{#1}\fi% -% process the acquired glue -\if\@IEEEBPcurtype g\@IEEEprocessGcol\fi% -% process the acquired col -\if\@IEEEBPcurtype c\@IEEEprocessCcol\fi% -% ready prevtype for next col spec. -\let\@IEEEBPprevtype=\@IEEEBPcurtype% -% be sure and put back the future token(s) as a group -\fi\@@nextIEEEbuildpreamble{#2}} - - -% executed just after preamble build is completed -% warn about zero cols, and if prevtype type = u, put in end tabskip glue -\def\@@IEEEfinishpreamble#1{\ifnum\@IEEEeqnnumcols<1\relax -\@IEEEclspkgerror{No column specifiers declared for IEEEeqnarray}% -{At least one column type must be declared for each IEEEeqnarray.}% -\fi%num cols less than 1 -%if last type undefined, set default end tabskip glue -\if\@IEEEBPprevtype u\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue}\fi} - - -% Identify and return the column specifier's type code -\def\@IEEEgetcoltype#1#2#3{% -% use only the very first token to determine the type -% \noindent is used as a delimiter as \end can be present here -\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% -\@IEEEgrabfirstoken#1\relax\relax\noindent -% \@IEEEgrabfirstoken has the first token, the rest are discarded -% n = number -% g = glue (any other char in catagory 12) -% c = letter -% e = \end -% u = undefined -% third argument: 0 = no error message, 1 = error on invalid char -\let#2=u\relax% assume invalid until know otherwise -\ifx\@IEEEgrabbedfirstoken\end\let#2=e\else -\ifcat\@IEEEgrabbedfirstoken\relax\else% screen out control sequences -\if0\@IEEEgrabbedfirstoken\let#2=n\else -\if1\@IEEEgrabbedfirstoken\let#2=n\else -\if2\@IEEEgrabbedfirstoken\let#2=n\else -\if3\@IEEEgrabbedfirstoken\let#2=n\else -\if4\@IEEEgrabbedfirstoken\let#2=n\else -\if5\@IEEEgrabbedfirstoken\let#2=n\else -\if6\@IEEEgrabbedfirstoken\let#2=n\else -\if7\@IEEEgrabbedfirstoken\let#2=n\else -\if8\@IEEEgrabbedfirstoken\let#2=n\else -\if9\@IEEEgrabbedfirstoken\let#2=n\else -\ifcat,\@IEEEgrabbedfirstoken\let#2=g\relax -\else\ifcat a\@IEEEgrabbedfirstoken\let#2=c\relax\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi -\if#2u\relax -\if0\noexpand#3\relax\else\@IEEEclspkgerror{Invalid character in column specifications}% -{Only letters, numerals and certain other symbols are allowed \MessageBreak -as IEEEeqnarray column specifiers.}\fi\fi} - - -% identify the current letter referenced column -% if invalid, use a default column -\def\@IEEEgetcurcol#1{\expandafter\ifx\csname @IEEEeqnarraycolDEF#1\endcsname\@IEEEeqnarraycolisdefined% -\def\@IEEEBPcurcolname{#1}\else% invalid column name -\@IEEEclspkgerror{Invalid column type "#1" in column specifications.\MessageBreak -Using a default centering column instead}% -{You must define IEEEeqnarray column types before use.}% -\def\@IEEEBPcurcolname{@IEEEdefault}\fi} - - -% identify and return the predefined (punctuation) glue value -\def\@IEEEgetcurglue#1#2{% -% ! = \! (neg small) -0.16667em (-3/18 em) -% , = \, (small) 0.16667em ( 3/18 em) -% : = \: (med) 0.22222em ( 4/18 em) -% ; = \; (large) 0.27778em ( 5/18 em) -% ' = \quad 1em -% " = \qquad 2em -% . = 0.5\arraycolsep -% / = \arraycolsep -% ? = 2\arraycolsep -% * = 1fil -% + = \@IEEEeqnarraycolSEPcenter -% - = \@IEEEeqnarraycolSEPzero -% Note that all em values are referenced to the math font (textfont2) fontdimen6 -% value for 1em. -% -% use only the very first token to determine the type -% this prevents errant tokens from getting in the main text -% \noindent is used as a delimiter here -\def\@IEEEgrabfirstoken##1##2\noindent{\let\@IEEEgrabbedfirstoken=##1}% -\@IEEEgrabfirstoken#1\relax\relax\noindent -% get the math font 1em value -% LaTeX2e's NFSS2 does not preload the fonts, but \IEEEeqnarray needs -% to gain access to the math (\textfont2) font's spacing parameters. -% So we create a bogus box here that uses the math font to ensure -% that \textfont2 is loaded and ready. If this is not done, -% the \textfont2 stuff here may not work. -% Thanks to Bernd Raichle for his 1997 post on this topic. -{\setbox0=\hbox{$\displaystyle\relax$}}% -% fontdimen6 has the width of 1em (a quad). -\@IEEEtrantmpdimenA=\fontdimen6\textfont2\relax% -% identify the glue value based on the first token -% we discard anything after the first -\if!\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=-0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if,\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.16667\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if:\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.22222\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if;\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.27778\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if'\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=1\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if"\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\@IEEEtrantmpdimenA\edef#2{\the\@IEEEtrantmpdimenA}\else -\if.\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=0.5\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else -\if/\@IEEEgrabbedfirstoken\edef#2{\the\arraycolsep}\else -\if?\@IEEEgrabbedfirstoken\@IEEEtrantmpdimenA=2\arraycolsep\edef#2{\the\@IEEEtrantmpdimenA}\else -\if *\@IEEEgrabbedfirstoken\edef#2{0pt plus 1fil minus 0pt}\else -\if+\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPcenter}\else -\if-\@IEEEgrabbedfirstoken\edef#2{\@IEEEeqnarraycolSEPzero}\else -\edef#2{\@IEEEeqnarraycolSEPzero}% -\@IEEEclspkgerror{Invalid predefined inter-column glue type "#1" in\MessageBreak -column specifications. Using a default value of\MessageBreak -0pt instead}% -{Only !,:;'"./?*+ and - are valid predefined glue types in the\MessageBreak -IEEEeqnarray column specifications.}\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} - - - -% process a numerical digit from the column specification -% and look up the corresponding user defined glue value -% can transform current type from n to g or a as the user defined glue is acquired -\def\@IEEEprocessNcol#1{\if\@IEEEBPprevtype g% -\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak -specifications. Ignoring consecutive glue specifiers\MessageBreak -after the first}% -{You cannot have two or more glue types next to each other\MessageBreak -in the IEEEeqnarray column specifications.}% -\let\@IEEEBPcurtype=a% abort this glue, future digits will be discarded -\@IEEEBPcurnum=0\relax% -\else% if we previously aborted a glue -\if\@IEEEBPprevtype a\@IEEEBPcurnum=0\let\@IEEEBPcurtype=a%maintain digit abortion -\else%acquire this number -% save the previous type before the numerical digits started -\if\@IEEEBPprevtype n\else\let\@IEEEBPprevsavedtype=\@IEEEBPprevtype\fi% -\multiply\@IEEEBPcurnum by 10\relax% -\advance\@IEEEBPcurnum by #1\relax% add in number, \relax is needed to stop TeX's number scan -\if\@IEEEBPnexttype n\else%close acquisition -\expandafter\ifx\csname @IEEEeqnarraycolSEPDEF\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname\@IEEEeqnarraycolisdefined% -\edef\@IEEEBPcurglue{\csname @IEEEeqnarraycolSEP\expandafter\romannumeral\number\@IEEEBPcurnum\endcsname}% -\else%user glue not defined -\@IEEEclspkgerror{Invalid user defined inter-column glue type "\number\@IEEEBPcurnum" in\MessageBreak -column specifications. Using a default value of\MessageBreak -0pt instead}% -{You must define all IEEEeqnarray numerical inter-column glue types via\MessageBreak -\string\IEEEeqnarraydefcolsep \space before they are used in column specifications.}% -\edef\@IEEEBPcurglue{\@IEEEeqnarraycolSEPzero}% -\fi% glue defined or not -\let\@IEEEBPcurtype=g% change the type to reflect the acquired glue -\let\@IEEEBPprevtype=\@IEEEBPprevsavedtype% restore the prev type before this number glue -\@IEEEBPcurnum=0\relax%ready for next acquisition -\fi%close acquisition, get glue -\fi%discard or acquire number -\fi%prevtype glue or not -} - - -% process an acquired glue -% add any acquired column/glue pair to the preamble -\def\@IEEEprocessGcol{\if\@IEEEBPprevtype a\let\@IEEEBPcurtype=a%maintain previous glue abortions -\else -% if this is the start glue, save it, but do nothing else -% as this is not used in the preamble, but before -\if\@IEEEBPprevtype s\edef\@IEEEBPstartglue{\@IEEEBPcurglue}% -\else%not the start glue -\if\@IEEEBPprevtype g%ignore if back to back glues -\@IEEEclspkgerror{Back-to-back inter-column glue specifiers in column\MessageBreak -specifications. Ignoring consecutive glue specifiers\MessageBreak -after the first}% -{You cannot have two or more glue types next to each other\MessageBreak -in the IEEEeqnarray column specifications.}% -\let\@IEEEBPcurtype=a% abort this glue -\else% not a back to back glue -\if\@IEEEBPprevtype c\relax% if the previoustype was a col, add column/glue pair to preamble -\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi -\toks0={##}% -% make preamble advance col counter if this environment needs this -\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi -% insert the column defintion into the preamble, being careful not to expand -% the column definition -\@IEEEappendtoksA{\tabskip=\@IEEEBPcurglue}% -\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% -\@IEEEappendtoksA{\@IEEEBPcurcolname}% -\@IEEEappendNOEXPANDtoksA{\endcsname}% -\@IEEEappendtoksA{\the\toks0}% -\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% -\@IEEEappendtoksA{\@IEEEBPcurcolname}% -\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\endgroup}% -\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble -\else% error: non-start glue with no pending column -\@IEEEclspkgerror{Inter-column glue specifier without a prior column\MessageBreak -type in the column specifications. Ignoring this glue\MessageBreak -specifier}% -{Except for the first and last positions, glue can be placed only\MessageBreak -between column types.}% -\let\@IEEEBPcurtype=a% abort this glue -\fi% previous was a column -\fi% back-to-back glues -\fi% is start column glue -\fi% prev type not a -} - - -% process an acquired letter referenced column and, if necessary, add it to the preamble -\def\@IEEEprocessCcol{\if\@IEEEBPnexttype g\else -\if\@IEEEBPnexttype n\else -% we have a column followed by something other than a glue (or numeral glue) -% so we must add this column to the preamble now -\ifnum\@IEEEeqnnumcols>0\relax\@IEEEappendtoksA{&}\fi%col separator for those after the first -\if\@IEEEBPnexttype e\@IEEEappendtoksA{\tabskip=\@IEEEBPendglue\relax}\else%put in end glue -\@IEEEappendtoksA{\tabskip=\@IEEEeqnarraycolSEPdefaultmid\relax}\fi% or default mid glue -\toks0={##}% -% make preamble advance col counter if this environment needs this -\if@advanceIEEEeqncolcnt\@IEEEappendtoksA{\global\advance\@IEEEeqncolcnt by 1\relax}\fi -% insert the column definition into the preamble, being careful not to expand -% the column definition -\@IEEEappendNOEXPANDtoksA{\begingroup\csname @IEEEeqnarraycolPRE}% -\@IEEEappendtoksA{\@IEEEBPcurcolname}% -\@IEEEappendNOEXPANDtoksA{\endcsname}% -\@IEEEappendtoksA{\the\toks0}% -\@IEEEappendNOEXPANDtoksA{\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST}% -\@IEEEappendtoksA{\@IEEEBPcurcolname}% -\@IEEEappendNOEXPANDtoksA{\endcsname\relax\relax\relax\relax\relax% -\relax\relax\relax\relax\relax\endgroup}% -\advance\@IEEEeqnnumcols by 1\relax%one more column in the preamble -\fi%next type not numeral -\fi%next type not glue -} - - -%% -%% END OF IEEEeqnarry DEFINITIONS -%% - - - - -% set up the running headings, this complex because of all the different -% modes IEEEtran supports -\if@twoside - \ifCLASSOPTIONtechnote - \def\ps@headings{% - \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} - \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} - \ifCLASSOPTIONdraftcls - \ifCLASSOPTIONdraftclsnofoot - \def\@oddfoot{}\def\@evenfoot{}% - \else - \def\@oddfoot{\scriptsize\@date\hfil DRAFT} - \def\@evenfoot{\scriptsize DRAFT\hfil\@date} - \fi - \else - \def\@oddfoot{}\def\@evenfoot{} - \fi} - \else % not a technote - \def\ps@headings{% - \ifCLASSOPTIONconference - \def\@oddhead{} - \def\@evenhead{} - \else - \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} - \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} - \fi - \ifCLASSOPTIONdraftcls - \def\@oddhead{\hbox{}\scriptsize\rightmark \hfil \thepage} - \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}} - \ifCLASSOPTIONdraftclsnofoot - \def\@oddfoot{}\def\@evenfoot{}% - \else - \def\@oddfoot{\scriptsize\@date\hfil DRAFT} - \def\@evenfoot{\scriptsize DRAFT\hfil\@date} - \fi - \else - \def\@oddfoot{}\def\@evenfoot{}% - \fi} - \fi -\else % single side -\def\ps@headings{% - \ifCLASSOPTIONconference - \def\@oddhead{} - \def\@evenhead{} - \else - \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} - \def\@evenhead{} - \fi - \ifCLASSOPTIONdraftcls - \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage} - \def\@evenhead{} - \ifCLASSOPTIONdraftclsnofoot - \def\@oddfoot{} - \else - \def\@oddfoot{\scriptsize \@date \hfil DRAFT} - \fi - \else - \def\@oddfoot{} - \fi - \def\@evenfoot{}} -\fi - - -% title page style -\def\ps@IEEEtitlepagestyle{\def\@oddfoot{}\def\@evenfoot{}% -\ifCLASSOPTIONconference - \def\@oddhead{}% - \def\@evenhead{}% -\else - \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% - \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% -\fi -\ifCLASSOPTIONdraftcls - \def\@oddhead{\hbox{}\scriptsize\leftmark \hfil \thepage}% - \def\@evenhead{\scriptsize\thepage \hfil \leftmark\hbox{}}% - \ifCLASSOPTIONdraftclsnofoot\else - \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% - \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% - \fi -\else - % all non-draft mode footers - \if@IEEEusingpubid - % for title pages that are using a pubid - % do not repeat pubid if using peer review option - \ifCLASSOPTIONpeerreview - \else - \footskip 0pt% - \ifCLASSOPTIONcompsoc - \def\@oddfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% - \def\@evenfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% - \else - \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% - \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% - \fi - \fi - \fi -\fi} - - -% peer review cover page style -\def\ps@IEEEpeerreviewcoverpagestyle{% -\def\@oddhead{}\def\@evenhead{}% -\def\@oddfoot{}\def\@evenfoot{}% -\ifCLASSOPTIONdraftcls - \ifCLASSOPTIONdraftclsnofoot\else - \def\@oddfoot{\scriptsize \@date\hfil DRAFT}% - \def\@evenfoot{\scriptsize DRAFT\hfil \@date}% - \fi -\else - % non-draft mode footers - \if@IEEEusingpubid - \footskip 0pt% - \ifCLASSOPTIONcompsoc - \def\@oddfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% - \def\@evenfoot{\hss\normalfont\scriptsize\raisebox{-1.5\@IEEEnormalsizeunitybaselineskip}[0ex][0ex]{\@IEEEpubid}\hss}% - \else - \def\@oddfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% - \def\@evenfoot{\hss\normalfont\footnotesize\raisebox{1.5ex}[1.5ex]{\@IEEEpubid}\hss}% - \fi - \fi -\fi} - - -% start with empty headings -\def\rightmark{}\def\leftmark{} - - -%% Defines the command for putting the header. \footernote{TEXT} is the same -%% as \markboth{TEXT}{TEXT}. -%% Note that all the text is forced into uppercase, if you have some text -%% that needs to be in lower case, for instance et. al., then either manually -%% set \leftmark and \rightmark or use \MakeLowercase{et. al.} within the -%% arguments to \markboth. -\def\markboth#1#2{\def\leftmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#1}}% -\def\rightmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#2}}} -\def\footernote#1{\markboth{#1}{#1}} - -\def\today{\ifcase\month\or - January\or February\or March\or April\or May\or June\or - July\or August\or September\or October\or November\or December\fi - \space\number\day, \number\year} - - - - -%% CITATION AND BIBLIOGRAPHY COMMANDS -%% -%% V1.6 no longer supports the older, nonstandard \shortcite and \citename setup stuff -% -% -% Modify Latex2e \@citex to separate citations with "], [" -\def\@citex[#1]#2{% - \let\@citea\@empty - \@cite{\@for\@citeb:=#2\do - {\@citea\def\@citea{], [}% - \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% - \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi - \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}% - \G@refundefinedtrue - \@latex@warning - {Citation `\@citeb' on page \thepage \space undefined}}% - {\hbox{\csname b@\@citeb\endcsname}}}}{#1}} - -% V1.6 we create hooks for the optional use of Donald Arseneau's -% cite.sty package. cite.sty is "smart" and will notice that the -% following format controls are already defined and will not -% redefine them. The result will be the proper sorting of the -% citation numbers and auto detection of 3 or more entry "ranges" - -% all in IEEE style: [1], [2], [5]--[7], [12] -% This also allows for an optional note, i.e., \cite[mynote]{..}. -% If the \cite with note has more than one reference, the note will -% be applied to the last of the listed references. It is generally -% desired that if a note is given, only one reference is listed in -% that \cite. -% Thanks to Mr. Arseneau for providing the required format arguments -% to produce the IEEE style. -\def\citepunct{], [} -\def\citedash{]--[} - -% V1.7 default to using same font for urls made by url.sty -\AtBeginDocument{\csname url@samestyle\endcsname} - -% V1.6 class files should always provide these -\def\newblock{\hskip .11em\@plus.33em\@minus.07em} -\let\@openbib@code\@empty - - -% Provide support for the control entries of IEEEtran.bst V1.00 and later. -% V1.7 optional argument allows for a different aux file to be specified in -% order to handle multiple bibliographies. For example, with multibib.sty: -% \newcites{sec}{Secondary Literature} -% \bstctlcite[@auxoutsec]{BSTcontrolhak} -\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}} -\def\@bstctlcite[#1]#2{\@bsphack - \@for\@citeb:=#2\do{% - \edef\@citeb{\expandafter\@firstofone\@citeb}% - \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}% - \@esphack} - -% V1.6 provide a way for a user to execute a command just before -% a given reference number - used to insert a \newpage to balance -% the columns on the last page -\edef\@IEEEtriggerrefnum{0} % the default of zero means that - % the command is not executed -\def\@IEEEtriggercmd{\newpage} - -% allow the user to alter the triggered command -\long\def\IEEEtriggercmd#1{\long\def\@IEEEtriggercmd{#1}} - -% allow user a way to specify the reference number just before the -% command is executed -\def\IEEEtriggeratref#1{\@IEEEtrantmpcountA=#1% -\edef\@IEEEtriggerrefnum{\the\@IEEEtrantmpcountA}}% - -% trigger command at the given reference -\def\@IEEEbibitemprefix{\@IEEEtrantmpcountA=\@IEEEtriggerrefnum\relax% -\advance\@IEEEtrantmpcountA by -1\relax% -\ifnum\c@enumiv=\@IEEEtrantmpcountA\relax\@IEEEtriggercmd\relax\fi} - - -\def\@biblabel#1{[#1]} - -% compsoc journals left align the reference numbers -\@IEEEcompsocnotconfonly{\def\@biblabel#1{[#1]\hfill}} - -% controls bib item spacing -\def\IEEEbibitemsep{2.5pt plus .5pt} - -\@IEEEcompsocconfonly{\def\IEEEbibitemsep{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}} - - -\def\thebibliography#1{\section*{\refname}% - \addcontentsline{toc}{section}{\refname}% - % V1.6 add some rubber space here and provide a command trigger - \footnotesize\@IEEEcompsocconfonly{\small}\vskip 0.3\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip% - \list{\@biblabel{\@arabic\c@enumiv}}% - {\settowidth\labelwidth{\@biblabel{#1}}% - \leftmargin\labelwidth - \labelsep 1em - \advance\leftmargin\labelsep\relax - \itemsep \IEEEbibitemsep\relax - \usecounter{enumiv}% - \let\p@enumiv\@empty - \renewcommand\theenumiv{\@arabic\c@enumiv}}% - \let\@IEEElatexbibitem\bibitem% - \def\bibitem{\@IEEEbibitemprefix\@IEEElatexbibitem}% -\def\newblock{\hskip .11em plus .33em minus .07em}% -% originally: -% \sloppy\clubpenalty4000\widowpenalty4000% -% by adding the \interlinepenalty here, we make it more -% difficult, but not impossible, for LaTeX to break within a reference. -% IEEE almost never breaks a reference (but they do it more often with -% technotes). You may get an underfull vbox warning around the bibliography, -% but the final result will be much more like what IEEE will publish. -% MDS 11/2000 -\ifCLASSOPTIONtechnote\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty100% -\else\sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty500\fi% - \sfcode`\.=1000\relax} -\let\endthebibliography=\endlist - - - - -% TITLE PAGE COMMANDS -% -% -% \IEEEmembership is used to produce the sublargesize italic font used to indicate author -% IEEE membership. compsoc uses a large size sans slant font -\def\IEEEmembership#1{{\@IEEEnotcompsoconly{\sublargesize}\normalfont\@IEEEcompsoconly{\sffamily}\textit{#1}}} - - -% \IEEEauthorrefmark{} produces a footnote type symbol to indicate author affiliation. -% When given an argument of 1 to 9, \IEEEauthorrefmark{} follows the standard LaTeX footnote -% symbol sequence convention. However, for arguments 10 and above, \IEEEauthorrefmark{} -% reverts to using lower case roman numerals, so it cannot overflow. Do note that you -% cannot use \footnotemark[] in place of \IEEEauthorrefmark{} within \author as the footnote -% symbols will have been turned off to prevent \thanks from creating footnote marks. -% \IEEEauthorrefmark{} produces a symbol that appears to LaTeX as having zero vertical -% height - this allows for a more compact line packing, but the user must ensure that -% the interline spacing is large enough to prevent \IEEEauthorrefmark{} from colliding -% with the text above. -% V1.7 make this a robust command -\DeclareRobustCommand*{\IEEEauthorrefmark}[1]{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or% - \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger% - \or \ddagger\ddagger \else\textsuperscript{\expandafter\romannumeral#1}\fi}}}} - - -% FONT CONTROLS AND SPACINGS FOR CONFERENCE MODE AUTHOR NAME AND AFFILIATION BLOCKS -% -% The default font styles for the author name and affiliation blocks (confmode) -\def\@IEEEauthorblockNstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\sublargesize\@IEEEcompsocconfonly{\large}} -\def\@IEEEauthorblockAstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\@IEEEcompsocconfonly{\itshape}\normalsize\@IEEEcompsocconfonly{\large}} -% The default if the user does not use an author block -\def\@IEEEauthordefaulttextstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\sublargesize} - -% spacing from title (or special paper notice) to author name blocks (confmode) -% can be negative -\def\@IEEEauthorblockconfadjspace{-0.25em} -% compsoc conferences need more space here -\@IEEEcompsocconfonly{\def\@IEEEauthorblockconfadjspace{0.75\@IEEEnormalsizeunitybaselineskip}} -\ifCLASSOPTIONconference\def\@IEEEauthorblockconfadjspace{20pt}\fi - -% spacing between name and affiliation blocks (confmode) -% This can be negative. -% IEEE doesn't want any added spacing here, but I will leave these -% controls in place in case they ever change their mind. -% Personally, I like 0.75ex. -%\def\@IEEEauthorblockNtopspace{0.75ex} -%\def\@IEEEauthorblockAtopspace{0.75ex} -\def\@IEEEauthorblockNtopspace{0.0ex} -\def\@IEEEauthorblockAtopspace{0.0ex} -% baseline spacing within name and affiliation blocks (confmode) -% must be positive, spacings below certain values will make -% the position of line of text sensitive to the contents of the -% line above it i.e., whether or not the prior line has descenders, -% subscripts, etc. For this reason it is a good idea to keep -% these above 2.6ex -\def\@IEEEauthorblockNinterlinespace{2.6ex} -\def\@IEEEauthorblockAinterlinespace{2.75ex} - -% This tracks the required strut size. -% See the \@IEEEauthorhalign command for the actual default value used. -\def\@IEEEauthorblockXinterlinespace{2.7ex} - -% variables to retain font size and style across groups -% values given here have no effect as they will be overwritten later -\gdef\@IEEESAVESTATEfontsize{10} -\gdef\@IEEESAVESTATEfontbaselineskip{12} -\gdef\@IEEESAVESTATEfontencoding{OT1} -\gdef\@IEEESAVESTATEfontfamily{ptm} -\gdef\@IEEESAVESTATEfontseries{m} -\gdef\@IEEESAVESTATEfontshape{n} - -% saves the current font attributes -\def\@IEEEcurfontSAVE{\global\let\@IEEESAVESTATEfontsize\f@size% -\global\let\@IEEESAVESTATEfontbaselineskip\f@baselineskip% -\global\let\@IEEESAVESTATEfontencoding\f@encoding% -\global\let\@IEEESAVESTATEfontfamily\f@family% -\global\let\@IEEESAVESTATEfontseries\f@series% -\global\let\@IEEESAVESTATEfontshape\f@shape} - -% restores the saved font attributes -\def\@IEEEcurfontRESTORE{\fontsize{\@IEEESAVESTATEfontsize}{\@IEEESAVESTATEfontbaselineskip}% -\fontencoding{\@IEEESAVESTATEfontencoding}% -\fontfamily{\@IEEESAVESTATEfontfamily}% -\fontseries{\@IEEESAVESTATEfontseries}% -\fontshape{\@IEEESAVESTATEfontshape}% -\selectfont} - - -% variable to indicate if the current block is the first block in the column -\newif\if@IEEEprevauthorblockincol \@IEEEprevauthorblockincolfalse - - -% the command places a strut with height and depth = \@IEEEauthorblockXinterlinespace -% we use this technique to have complete manual control over the spacing of the lines -% within the halign environment. -% We set the below baseline portion at 30%, the above -% baseline portion at 70% of the total length. -% Responds to changes in the document's \baselinestretch -\def\@IEEEauthorstrutrule{\@IEEEtrantmpdimenA\@IEEEauthorblockXinterlinespace% -\@IEEEtrantmpdimenA=\baselinestretch\@IEEEtrantmpdimenA% -\rule[-0.3\@IEEEtrantmpdimenA]{0pt}{\@IEEEtrantmpdimenA}} - - -% blocks to hold the authors' names and affilations. -% Makes formatting easy for conferences -% -% use real definitions in conference mode -% name block -\def\IEEEauthorblockN#1{\relax\@IEEEauthorblockNstyle% set the default text style -\gdef\@IEEEauthorblockXinterlinespace{0pt}% disable strut for spacer row -% the \expandafter hides the \cr in conditional tex, see the array.sty docs -% for details, probably not needed here as the \cr is in a macro -% do a spacer row if needed -\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockNtopspaceline\fi -\global\@IEEEprevauthorblockincoltrue% we now have a block in this column -%restore the correct strut value -\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockNinterlinespace}% -% input the author names -#1% -% end the row if the user did not already -\crcr} -% spacer row for names -\def\@IEEEauthorblockNtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockNtopspace}} -% -% affiliation block -\def\IEEEauthorblockA#1{\relax\@IEEEauthorblockAstyle% set the default text style -\gdef\@IEEEauthorblockXinterlinespace{0pt}%disable strut for spacer row -% the \expandafter hides the \cr in conditional tex, see the array.sty docs -% for details, probably not needed here as the \cr is in a macro -% do a spacer row if needed -\if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockAtopspaceline\fi -\global\@IEEEprevauthorblockincoltrue% we now have a block in this column -%restore the correct strut value -\gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockAinterlinespace}% -% input the author affiliations -#1% -% end the row if the user did not already -\crcr} -% spacer row for affiliations -\def\@IEEEauthorblockAtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockAtopspace}} - - -% allow papers to compile even if author blocks are used in modes other -% than conference or peerreviewca. For such cases, we provide dummy blocks. -\ifCLASSOPTIONconference -\else - \ifCLASSOPTIONpeerreviewca\else - % not conference or peerreviewca mode - \def\IEEEauthorblockN#1{#1}% - \def\IEEEauthorblockA#1{#1}% - \fi -\fi - - - -% we provide our own halign so as not to have to depend on tabular -\def\@IEEEauthorhalign{\@IEEEauthordefaulttextstyle% default text style - \lineskip=0pt\relax% disable line spacing - \lineskiplimit=0pt\relax% - \baselineskip=0pt\relax% - \@IEEEcurfontSAVE% save the current font - \mathsurround\z@\relax% no extra spacing around math - \let\\\@IEEEauthorhaligncr% replace newline with halign friendly one - \tabskip=0pt\relax% no column spacing - \everycr{}% ensure no problems here - \@IEEEprevauthorblockincolfalse% no author blocks yet - \def\@IEEEauthorblockXinterlinespace{2.7ex}% default interline space - \vtop\bgroup%vtop box - \halign\bgroup&\relax\hfil\@IEEEcurfontRESTORE\relax ##\relax - \hfil\@IEEEcurfontSAVE\@IEEEauthorstrutrule\cr} - -% ensure last line, exit from halign, close vbox -\def\end@IEEEauthorhalign{\crcr\egroup\egroup} - -% handle bogus star form -\def\@IEEEauthorhaligncr{{\ifnum0=`}\fi\@ifstar{\@@IEEEauthorhaligncr}{\@@IEEEauthorhaligncr}} - -% test and setup the optional argument to \\[] -\def\@@IEEEauthorhaligncr{\@testopt\@@@IEEEauthorhaligncr\z@skip} - -% end the line and do the optional spacer -\def\@@@IEEEauthorhaligncr[#1]{\ifnum0=`{\fi}\cr\noalign{\vskip#1\relax}} - - - -% flag to prevent multiple \and warning messages -\newif\if@IEEEWARNand -\@IEEEWARNandtrue - -% if in conference or peerreviewca modes, we support the use of \and as \author is a -% tabular environment, otherwise we warn the user that \and is invalid -% outside of conference or peerreviewca modes. -\def\and{\relax} % provide a bogus \and that we will then override - -\renewcommand{\and}[1][\relax]{\if@IEEEWARNand\typeout{** WARNING: \noexpand\and is valid only - when in conference or peerreviewca}\typeout{modes (line \the\inputlineno).}\fi\global\@IEEEWARNandfalse} - -\ifCLASSOPTIONconference% -\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% -\fi -\ifCLASSOPTIONpeerreviewca -\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}% -\fi - - -% page clearing command -% based on LaTeX2e's \cleardoublepage, but allows different page styles -% for the inserted blank pages -\def\@IEEEcleardoublepage#1{\clearpage\if@twoside\ifodd\c@page\else -\hbox{}\thispagestyle{#1}\newpage\if@twocolumn\hbox{}\thispagestyle{#1}\newpage\fi\fi\fi} - - -% user command to invoke the title page -\def\maketitle{\par% - \begingroup% - \normalfont% - \def\thefootnote{}% the \thanks{} mark type is empty - \def\footnotemark{}% and kill space from \thanks within author - \let\@makefnmark\relax% V1.7, must *really* kill footnotemark to remove all \textsuperscript spacing as well. - \footnotesize% equal spacing between thanks lines - \footnotesep 0.7\baselineskip%see global setting of \footnotesep for more info - % V1.7 disable \thanks note indention for compsoc - \@IEEEcompsoconly{\long\def\@makefntext##1{\parindent 1em\noindent\hbox{\@makefnmark}##1}}% - \normalsize% - \ifCLASSOPTIONpeerreview - \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% - \thispagestyle{IEEEpeerreviewcoverpagestyle}\@thanks% - \else - \if@twocolumn% - \ifCLASSOPTIONtechnote% - \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% - \else - \twocolumn[\@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext]% - \fi - \else - \newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext% - \fi - \thispagestyle{IEEEtitlepagestyle}\@thanks% - \fi - % pullup page for pubid if used. - \if@IEEEusingpubid - \enlargethispage{-\@IEEEpubidpullup}% - \fi - \endgroup - \setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax - \gdef\@thanks{}% - % v1.6b do not clear these as we will need the title again for peer review papers - % \gdef\@author{}\gdef\@title{}% - \let\thanks\relax} - - - -% V1.7 parbox to format \@IEEEcompsoctitleabstractindextext -\long\def\@IEEEcompsoctitleabstractindextextbox#1{\parbox{0.915\textwidth}{#1}} - -% formats the Title, authors names, affiliations and special paper notice -% THIS IS A CONTROLLED SPACING COMMAND! Do not allow blank lines or unintentional -% spaces to enter the definition - use % at the end of each line -\def\@maketitle{\newpage -\begingroup\centering -\ifCLASSOPTIONtechnote% technotes - {\bfseries\large\@IEEEcompsoconly{\sffamily}\@title\par}\vskip 1.3em{\lineskip .5em\@IEEEcompsoconly{\sffamily}\@author - \@IEEEspecialpapernotice\par{\@IEEEcompsoconly{\vskip 1.5em\relax - \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par - \hfill\@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax -\else% not a technote - \vskip0.2em{\Huge\@IEEEcompsoconly{\sffamily}\@IEEEcompsocconfonly{\normalfont\normalsize}\vskip 2\@IEEEnormalsizeunitybaselineskip - \bfseries\Large\@title\par}\vskip1.0em\par% - % V1.6 handle \author differently if in conference mode - \ifCLASSOPTIONconference% - {\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% - \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\vskip 2\@IEEEnormalsizeunitybaselineskip\par}\relax - \else% peerreviewca, peerreview or journal - \ifCLASSOPTIONpeerreviewca - % peerreviewca handles author names just like conference mode - {\@IEEEcompsoconly{\sffamily}\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace% - \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par - {\@IEEEcompsoconly{\vskip 1.5em\relax - \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill - \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax - \else% journal or peerreview - {\lineskip.5em\@IEEEcompsoconly{\sffamily}\sublargesize\@author\@IEEEspecialpapernotice\par - {\@IEEEcompsoconly{\vskip 1.5em\relax - \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill - \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax - \fi - \fi -\fi\par\endgroup} - - - -% V1.7 Computer Society "diamond line" which follows index terms for nonconference papers -\def\@IEEEcompsocdiamondline{\vrule depth 0pt height 0.5pt width 4cm\hspace{7.5pt}% -\raisebox{-3.5pt}{\fontfamily{pzd}\fontencoding{U}\fontseries{m}\fontshape{n}\fontsize{11}{12}\selectfont\char70}% -\hspace{7.5pt}\vrule depth 0pt height 0.5pt width 4cm\relax} - -% V1.7 standard LateX2e \thanks, but with \itshape under compsoc. Also make it a \long\def -% We also need to trigger the one-shot footnote rule -\def\@IEEEtriggeroneshotfootnoterule{\global\@IEEEenableoneshotfootnoteruletrue} - - -\long\def\thanks#1{\footnotemark - \protected@xdef\@thanks{\@thanks - \protect\footnotetext[\the\c@footnote]{\@IEEEcompsoconly{\itshape - \protect\@IEEEtriggeroneshotfootnoterule\relax}\ignorespaces#1}}} -\let\@thanks\@empty - -% V1.7 allow \author to contain \par's. This is needed to allow \thanks to contain \par. -\long\def\author#1{\gdef\@author{#1}} - - -% in addition to setting up IEEEitemize, we need to remove a baselineskip space above and -% below it because \list's \pars introduce blank lines because of the footnote struts. -\def\@IEEEsetupcompsocitemizelist{\def\labelitemi{$\bullet$}% -\setlength{\IEEElabelindent}{0pt}\setlength{\parskip}{0pt}% -\setlength{\partopsep}{0pt}\setlength{\topsep}{0.5\baselineskip}\vspace{-1\baselineskip}\relax} - - -% flag for fake non-compsoc \IEEEcompsocthanksitem - prevents line break on very first item -\newif\if@IEEEbreakcompsocthanksitem \@IEEEbreakcompsocthanksitemfalse - -\ifCLASSOPTIONcompsoc -% V1.7 compsoc bullet item \thanks -% also, we need to redefine this to destroy the argument in \@IEEEdynamictitlevspace -\long\def\IEEEcompsocitemizethanks#1{\relax\@IEEEbreakcompsocthanksitemfalse\footnotemark - \protected@xdef\@thanks{\@thanks - \protect\footnotetext[\the\c@footnote]{\itshape\protect\@IEEEtriggeroneshotfootnoterule - {\let\IEEEiedlistdecl\relax\protect\begin{IEEEitemize}[\protect\@IEEEsetupcompsocitemizelist]\ignorespaces#1\relax - \protect\end{IEEEitemize}}\protect\vspace{-1\baselineskip}}}} -\DeclareRobustCommand*{\IEEEcompsocthanksitem}{\item} -\else -% non-compsoc, allow for dual compilation via rerouting to normal \thanks -\long\def\IEEEcompsocitemizethanks#1{\thanks{#1}} -% redirect to "pseudo-par" \hfil\break\indent after swallowing [] from \IEEEcompsocthanksitem[] -\DeclareRobustCommand{\IEEEcompsocthanksitem}{\@ifnextchar [{\@IEEEthanksswallowoptionalarg}% -{\@IEEEthanksswallowoptionalarg[\relax]}} -% be sure and break only after first item, be sure and ignore spaces after optional argument -\def\@IEEEthanksswallowoptionalarg[#1]{\relax\if@IEEEbreakcompsocthanksitem\hfil\break -\indent\fi\@IEEEbreakcompsocthanksitemtrue\ignorespaces} -\fi - - -% V1.6b define the \IEEEpeerreviewmaketitle as needed -\ifCLASSOPTIONpeerreview -\def\IEEEpeerreviewmaketitle{\@IEEEcleardoublepage{empty}% -\ifCLASSOPTIONtwocolumn -\twocolumn[\@IEEEpeerreviewmaketitle\@IEEEdynamictitlevspace] -\else -\newpage\@IEEEpeerreviewmaketitle\@IEEEstatictitlevskip -\fi -\thispagestyle{IEEEtitlepagestyle}} -\else -% \IEEEpeerreviewmaketitle does nothing if peer review option has not been selected -\def\IEEEpeerreviewmaketitle{\relax} -\fi - -% peerreview formats the repeated title like the title in journal papers. -\def\@IEEEpeerreviewmaketitle{\begin{center}\@IEEEcompsoconly{\sffamily}% -\normalfont\normalsize\vskip0.2em{\Huge\@title\par}\vskip1.0em\par -\end{center}} - - - -% V1.6 -% this is a static rubber spacer between the title/authors and the main text -% used for single column text, or when the title appears in the first column -% of two column text (technotes). -\def\@IEEEstatictitlevskip{{\normalfont\normalsize -% adjust spacing to next text -% v1.6b handle peer review papers -\ifCLASSOPTIONpeerreview -% for peer review papers, the same value is used for both title pages -% regardless of the other paper modes - \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip -\else - \ifCLASSOPTIONconference% conference - \vskip 0.6\baselineskip - \else% - \ifCLASSOPTIONtechnote% technote - \vskip 1\baselineskip plus 0.375\baselineskip minus 0.1875\baselineskip% - \else% journal uses more space - \vskip 2.5\baselineskip plus 0.75\baselineskip minus 0.375\baselineskip% - \fi - \fi -\fi}} - - -% V1.6 -% This is a dynamically determined rigid spacer between the title/authors -% and the main text. This is used only for single column titles over two -% column text (most common) -% This is bit tricky because we have to ensure that the textheight of the -% main text is an integer multiple of \baselineskip -% otherwise underfull vbox problems may develop in the second column of the -% text on the titlepage -% The possible use of \IEEEpubid must also be taken into account. -\def\@IEEEdynamictitlevspace{{% - % we run within a group so that all the macros can be forgotten when we are done - \long\def\thanks##1{\relax}%don't allow \thanks to run when we evaluate the vbox height - \long\def\IEEEcompsocitemizethanks##1{\relax}%don't allow \IEEEcompsocitemizethanks to run when we evaluate the vbox height - \normalfont\normalsize% we declare more descriptive variable names - \let\@IEEEmaintextheight=\@IEEEtrantmpdimenA%height of the main text columns - \let\@IEEEINTmaintextheight=\@IEEEtrantmpdimenB%height of the main text columns with integer # lines - % set the nominal and minimum values for the title spacer - % the dynamic algorithm will not allow the spacer size to - % become less than \@IEEEMINtitlevspace - instead it will be - % lengthened - % default to journal values - \def\@IEEENORMtitlevspace{2.5\baselineskip}% - \def\@IEEEMINtitlevspace{2\baselineskip}% - % conferences and technotes need tighter spacing - \ifCLASSOPTIONconference%conference - \def\@IEEENORMtitlevspace{1\baselineskip}% - \def\@IEEEMINtitlevspace{0.75\baselineskip}% - \fi - \ifCLASSOPTIONtechnote%technote - \def\@IEEENORMtitlevspace{1\baselineskip}% - \def\@IEEEMINtitlevspace{0.75\baselineskip}% - \fi% - % get the height that the title will take up - \ifCLASSOPTIONpeerreview - \settoheight{\@IEEEmaintextheight}{\vbox{\hsize\textwidth \@IEEEpeerreviewmaketitle}}% - \else - \settoheight{\@IEEEmaintextheight}{\vbox{\hsize\textwidth \@maketitle}}% - \fi - \@IEEEmaintextheight=-\@IEEEmaintextheight% title takes away from maintext, so reverse sign - % add the height of the page textheight - \advance\@IEEEmaintextheight by \textheight% - % correct for title pages using pubid - \ifCLASSOPTIONpeerreview\else - % peerreview papers use the pubid on the cover page only. - % And the cover page uses a static spacer. - \if@IEEEusingpubid\advance\@IEEEmaintextheight by -\@IEEEpubidpullup\fi - \fi% - % subtract off the nominal value of the title bottom spacer - \advance\@IEEEmaintextheight by -\@IEEENORMtitlevspace% - % \topskip takes away some too - \advance\@IEEEmaintextheight by -\topskip% - % calculate the column height of the main text for lines - % now we calculate the main text height as if holding - % an integer number of \normalsize lines after the first - % and discard any excess fractional remainder - % we subtracted the first line, because the first line - % is placed \topskip into the maintext, not \baselineskip like the - % rest of the lines. - \@IEEEINTmaintextheight=\@IEEEmaintextheight% - \divide\@IEEEINTmaintextheight by \baselineskip% - \multiply\@IEEEINTmaintextheight by \baselineskip% - % now we calculate how much the title spacer height will - % have to be reduced from nominal (\@IEEEREDUCEmaintextheight is always - % a positive value) so that the maintext area will contain an integer - % number of normal size lines - % we change variable names here (to avoid confusion) as we no longer - % need \@IEEEINTmaintextheight and can reuse its dimen register - \let\@IEEEREDUCEmaintextheight=\@IEEEINTmaintextheight% - \advance\@IEEEREDUCEmaintextheight by -\@IEEEmaintextheight% - \advance\@IEEEREDUCEmaintextheight by \baselineskip% - % this is the calculated height of the spacer - % we change variable names here (to avoid confusion) as we no longer - % need \@IEEEmaintextheight and can reuse its dimen register - \let\@IEEECOMPENSATElen=\@IEEEmaintextheight% - \@IEEECOMPENSATElen=\@IEEENORMtitlevspace% set the nominal value - % we go with the reduced length if it is smaller than an increase - \ifdim\@IEEEREDUCEmaintextheight < 0.5\baselineskip\relax% - \advance\@IEEECOMPENSATElen by -\@IEEEREDUCEmaintextheight% - % if the resulting spacer is too small back out and go with an increase instead - \ifdim\@IEEECOMPENSATElen<\@IEEEMINtitlevspace\relax% - \advance\@IEEECOMPENSATElen by \baselineskip% - \fi% - \else% - % go with an increase because it is closer to the nominal than a decrease - \advance\@IEEECOMPENSATElen by -\@IEEEREDUCEmaintextheight% - \advance\@IEEECOMPENSATElen by \baselineskip% - \fi% - % set the calculated rigid spacer - \vspace{\@IEEECOMPENSATElen}}} - - - -% V1.6 -% we allow the user access to the last part of the title area -% useful in emergencies such as when a different spacing is needed -% This text is NOT compensated for in the dynamic sizer. -\let\@IEEEaftertitletext=\relax -\long\def\IEEEaftertitletext#1{\def\@IEEEaftertitletext{#1}} - -% V1.7 provide a way for users to enter abstract and keywords -% into the onecolumn title are. This text is compensated for -% in the dynamic sizer. -\let\@IEEEcompsoctitleabstractindextext=\relax -\long\def\IEEEcompsoctitleabstractindextext#1{\def\@IEEEcompsoctitleabstractindextext{#1}} -% V1.7 provide a way for users to get the \@IEEEcompsoctitleabstractindextext if -% not in compsoc journal mode - this way abstract and keywords can be placed -% in their conventional position if not in compsoc mode. -\def\IEEEdisplaynotcompsoctitleabstractindextext{% -\ifCLASSOPTIONcompsoc% display if compsoc conf -\ifCLASSOPTIONconference\@IEEEcompsoctitleabstractindextext\fi -\else% or if not compsoc -\@IEEEcompsoctitleabstractindextext\fi} - - -% command to allow alteration of baselinestretch, but only if the current -% baselineskip is unity. Used to tweak the compsoc abstract and keywords line spacing. -\def\@IEEEtweakunitybaselinestretch#1{{\def\baselinestretch{1}\selectfont -\global\@tempskipa\baselineskip}\ifnum\@tempskipa=\baselineskip% -\def\baselinestretch{#1}\selectfont\fi\relax} - - -% abstract and keywords are in \small, except -% for 9pt docs in which they are in \footnotesize -% Because 9pt docs use an 8pt footnotesize, \small -% becomes a rather awkward 8.5pt -\def\@IEEEabskeysecsize{\small} -\ifx\CLASSOPTIONpt\@IEEEptsizenine - \def\@IEEEabskeysecsize{\footnotesize} -\fi - -% compsoc journals use \footnotesize, compsoc conferences use normalsize -\@IEEEcompsoconly{\def\@IEEEabskeysecsize{\footnotesize}} -\@IEEEcompsocconfonly{\def\@IEEEabskeysecsize{\normalsize}} - - - - -% V1.6 have abstract and keywords strip leading spaces, pars and newlines -% so that spacing is more tightly controlled. -\def\abstract{\normalfont - \if@twocolumn - \par\noindent\@IEEEabskeysecsize\bfseries\leavevmode\kern-0pt\textit{\abstractname}---\relax - \else - \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize - \fi\@IEEEgobbleleadPARNLSP} -% V1.6 IEEE wants only 1 pica from end of abstract to introduction heading when in -% conference mode (the heading already has this much above it) -\def\endabstract{\relax\ifCLASSOPTIONconference\vspace{0ex}\else\vspace{1.34ex}\fi\par\if@twocolumn\else\endquotation\fi - \normalfont\normalsize} - -\def\IEEEkeywords{\normalfont - \if@twocolumn - \@IEEEabskeysecsize\bfseries\leavevmode\kern-1pt\textit{\IEEEkeywordsname}-\relax - \else - \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize - \fi\itshape\@IEEEgobbleleadPARNLSP} -\def\endIEEEkeywords{\relax\ifCLASSOPTIONtechnote\vspace{1.34ex}\else\vspace{0.5ex}\fi - \par\if@twocolumn\else\endquotation\fi% - \normalfont\normalsize} - -% V1.7 compsoc keywords index terms -\ifCLASSOPTIONcompsoc - \ifCLASSOPTIONconference% compsoc conference -\def\abstract{\normalfont - \begin{center}\@IEEEabskeysecsize\textbf{\large\abstractname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip - \if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize% - \par\@IEEEgobbleleadPARNLSP} -\def\IEEEkeywords{\normalfont\vskip 1.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip - \begin{center}\@IEEEabskeysecsize\textbf{\large\IEEEkeywordsname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip - \if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize% - \par\@IEEEgobbleleadPARNLSP} - \else% compsoc not conference -\def\abstract{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\sffamily - \if@twocolumn - \@IEEEabskeysecsize\noindent\textbf{\abstractname}---\relax - \else - \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize% - \fi\@IEEEgobbleleadPARNLSP} -\def\IEEEkeywords{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\sffamily - \if@twocolumn - \@IEEEabskeysecsize\vskip 0.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip\noindent - \textbf{\IEEEkeywordsname}---\relax - \else - \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize% - \fi\@IEEEgobbleleadPARNLSP} - \fi -\fi - - - -% gobbles all leading \, \\ and \par, upon finding first token that -% is not a \ , \\ or a \par, it ceases and returns that token -% -% used to strip leading \, \\ and \par from the input -% so that such things in the beginning of an environment will not -% affect the formatting of the text -\long\def\@IEEEgobbleleadPARNLSP#1{\let\@IEEEswallowthistoken=0% -\let\@IEEEgobbleleadPARNLSPtoken#1% -\let\@IEEEgobbleleadPARtoken=\par% -\let\@IEEEgobbleleadNLtoken=\\% -\let\@IEEEgobbleleadSPtoken=\ % -\def\@IEEEgobbleleadSPMACRO{\ }% -\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadPARtoken% -\let\@IEEEswallowthistoken=1% -\fi% -\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadNLtoken% -\let\@IEEEswallowthistoken=1% -\fi% -\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPtoken% -\let\@IEEEswallowthistoken=1% -\fi% -% a control space will come in as a macro -% when it is the last one on a line -\ifx\@IEEEgobbleleadPARNLSPtoken\@IEEEgobbleleadSPMACRO% -\let\@IEEEswallowthistoken=1% -\fi% -% if we have to swallow this token, do so and taste the next one -% else spit it out and stop gobbling -\ifx\@IEEEswallowthistoken 1\let\@IEEEnextgobbleleadPARNLSP=\@IEEEgobbleleadPARNLSP\else% -\let\@IEEEnextgobbleleadPARNLSP=#1\fi% -\@IEEEnextgobbleleadPARNLSP}% - - - - -% TITLING OF SECTIONS -\def\@IEEEsectpunct{:\ \,} % Punctuation after run-in section heading (headings which are - % part of the paragraphs), need little bit more than a single space - % spacing from section number to title -% compsoc conferences use regular period/space punctuation -\ifCLASSOPTIONcompsoc -\ifCLASSOPTIONconference -\def\@IEEEsectpunct{.\ } -\fi\fi - -\def\@seccntformat#1{\hb@xt@ 1.4em{\csname the#1dis\endcsname\hss\relax}} -\def\@seccntformatinl#1{\hb@xt@ 1.1em{\csname the#1dis\endcsname\hss\relax}} -\def\@seccntformatch#1{\csname the#1dis\endcsname\hskip 1em\relax} - -\ifCLASSOPTIONcompsoc -% compsoc journals need extra spacing -\ifCLASSOPTIONconference\else -\def\@seccntformat#1{\csname the#1dis\endcsname\hskip 1em\relax} -\fi\fi - -%v1.7 put {} after #6 to allow for some types of user font control -%and use \@@par rather than \par -\def\@sect#1#2#3#4#5#6[#7]#8{% - \ifnum #2>\c@secnumdepth - \let\@svsec\@empty - \else - \refstepcounter{#1}% - % load section label and spacer into \@svsec - \ifnum #2=1 - \protected@edef\@svsec{\@seccntformatch{#1}\relax}% - \else - \ifnum #2>2 - \protected@edef\@svsec{\@seccntformatinl{#1}\relax}% - \else - \protected@edef\@svsec{\@seccntformat{#1}\relax}% - \fi - \fi - \fi% - \@tempskipa #5\relax - \ifdim \@tempskipa>\z@% tempskipa determines whether is treated as a high - \begingroup #6{\relax% or low level heading - \noindent % subsections are NOT indented - % print top level headings. \@svsec is label, #8 is heading title - % IEEE does not block indent the section title text, it flows like normal - {\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\@@par}}% - \endgroup - \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else - \protect\numberline{\csname the#1\endcsname}\fi#7}% - \else % printout low level headings - % svsechd seems to swallow the trailing space, protect it with \mbox{} - % got rid of sectionmark stuff - \def\@svsechd{#6{\hskip #3\relax\@svsec #8\@IEEEsectpunct\mbox{}}% - \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\relax\else - \protect\numberline{\csname the#1\endcsname}\fi#7}}% - \fi%skip down - \@xsect{#5}} - - -% section* handler -%v1.7 put {} after #4 to allow for some types of user font control -%and use \@@par rather than \par -\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax - \ifdim \@tempskipa>\z@ - %\begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup - % IEEE does not block indent the section title text, it flows like normal - \begingroup \noindent #4{\relax{\hskip #1}{\interlinepenalty \@M #5\@@par}}\endgroup - % svsechd swallows the trailing space, protect it with \mbox{} - \else \def\@svsechd{#4{\hskip #1\relax #5\@IEEEsectpunct\mbox{}}}\fi - \@xsect{#3}} - - -%% SECTION heading spacing and font -%% -% arguments are: #1 - sectiontype name -% (for \@sect) #2 - section level -% #3 - section heading indent -% #4 - top separation (absolute value used, neg indicates not to indent main text) -% If negative, make stretch parts negative too! -% #5 - (absolute value used) positive: bottom separation after heading, -% negative: amount to indent main text after heading -% Both #4 and #5 negative means to indent main text and use negative top separation -% #6 - font control -% You've got to have \normalfont\normalsize in the font specs below to prevent -% trouble when you do something like: -% \section{Note}{\ttfamily TT-TEXT} is known to ... -% IEEE sometimes REALLY stretches the area before a section -% heading by up to about 0.5in. However, it may not be a good -% idea to let LaTeX have quite this much rubber. -\ifCLASSOPTIONconference% -% IEEE wants section heading spacing to decrease for conference mode -\def\section{\@startsection{section}{1}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% -{1sp}{\normalfont\normalsize\centering\scshape}}% -\def\subsection{\@startsection{subsection}{2}{\z@}{1.5ex plus 1.5ex minus 0.5ex}% -{1sp}{\normalfont\normalsize\itshape}}% -\else % for journals -\def\section{\@startsection{section}{1}{\z@}{3.0ex plus 1.5ex minus 1.5ex}% V1.6 3.0ex from 3.5ex -{0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape}}% -\def\subsection{\@startsection{subsection}{2}{\z@}{3.5ex plus 1.5ex minus 1.5ex}% -{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}% -\fi - -% for both journals and conferences -% decided to put in a little rubber above the section, might help somebody -\def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{0ex plus 0.1ex minus 0.1ex}% -{0ex}{\normalfont\normalsize\itshape}}% -\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{0ex plus 0.1ex minus 0.1ex}% -{0ex}{\normalfont\normalsize\itshape}}% - - -% compsoc -\ifCLASSOPTIONcompsoc -\ifCLASSOPTIONconference -% compsoc conference -\def\section{\@startsection{section}{1}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% -{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}{\normalfont\large\bfseries}}% -\def\subsection{\@startsection{subsection}{2}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% -{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}{\normalfont\sublargesize\bfseries}}% -\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip}% -{0ex}{\normalfont\normalsize\bfseries}}% -\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{0ex plus 0.1ex minus 0.1ex}% -{0ex}{\normalfont\normalsize}}% -\else% compsoc journals -% use negative top separation as compsoc journals do not indent paragraphs after section titles -\def\section{\@startsection{section}{1}{\z@}{-3ex plus -2ex minus -1.5ex}% -{0.7ex plus 1ex minus 0ex}{\normalfont\large\sffamily\bfseries\scshape}}% -% Note that subsection and smaller may not be correct for the Computer Society, -% I have to look up an example. -\def\subsection{\@startsection{subsection}{2}{\z@}{-3.5ex plus -1.5ex minus -1.5ex}% -{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\sffamily\bfseries}}% -\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex plus -1ex minus -1ex}% -{0.5ex plus 0.5ex minus 0ex}{\normalfont\normalsize\sffamily\itshape}}% -\def\paragraph{\@startsection{paragraph}{4}{2\parindent}{-0ex plus -0.1ex minus -0.1ex}% -{0ex}{\normalfont\normalsize}}% -\fi\fi - - - - -%% ENVIRONMENTS -% "box" symbols at end of proofs -\def\IEEEQEDclosed{\mbox{\rule[0pt]{1.3ex}{1.3ex}}} % for a filled box -% V1.6 some journals use an open box instead that will just fit around a closed one -\def\IEEEQEDopen{{\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.2pt}\fbox{\rule[0pt]{0pt}{1.3ex}\rule[0pt]{1.3ex}{0pt}}}} -\ifCLASSOPTIONcompsoc -\def\IEEEQED{\IEEEQEDopen} % default to open for compsoc -\else -\def\IEEEQED{\IEEEQEDclosed} % otherwise default to closed -\fi - -% v1.7 name change to avoid namespace collision with amsthm. Also add support -% for an optional argument. -\def\IEEEproof{\@ifnextchar[{\@IEEEproof}{\@IEEEproof[\IEEEproofname]}} -\def\@IEEEproof[#1]{\par\noindent\hspace{2em}{\itshape #1: }} -\def\endIEEEproof{\hspace*{\fill}~\IEEEQED\par} - - -%\itemindent is set to \z@ by list, so define new temporary variable -\newdimen\@IEEEtmpitemindent -\def\@begintheorem#1#2{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily\trivlist% - \item[\hskip \labelsep{\indent\itshape #1\ #2:}]\itemindent\@IEEEtmpitemindent} -\def\@opargbegintheorem#1#2#3{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily \trivlist% -% V1.6 IEEE is back to using () around theorem names which are also in italics -% Thanks to Christian Peel for reporting this. - \item[\hskip\labelsep{\indent\itshape #1\ #2\ (#3):}]\itemindent\@IEEEtmpitemindent} -% V1.7 remove bogus \unskip that caused equations in theorems to collide with -% lines below. -\def\@endtheorem{\endtrivlist} - -% V1.6 -% display command for the section the theorem is in - so that \thesection -% is not used as this will be in Roman numerals when we want arabic. -% LaTeX2e uses \def\@thmcounter#1{\noexpand\arabic{#1}} for the theorem number -% (second part) display and \def\@thmcountersep{.} as a separator. -% V1.7 intercept calls to the section counter and reroute to \@IEEEthmcounterinsection -% to allow \appendix(ices} to override as needed. -% -% special handler for sections, allows appendix(ices) to override -\gdef\@IEEEthmcounterinsection#1{\arabic{#1}} -% string macro -\edef\@IEEEstringsection{section} - -% redefine the #1#2[#3] form of newtheorem to use a hook to \@IEEEthmcounterinsection -% if section in_counter is used -\def\@xnthm#1#2[#3]{% - \expandafter\@ifdefinable\csname #1\endcsname - {\@definecounter{#1}\@newctr{#1}[#3]% - \edef\@IEEEstringtmp{#3} - \ifx\@IEEEstringtmp\@IEEEstringsection - \expandafter\xdef\csname the#1\endcsname{% - \noexpand\@IEEEthmcounterinsection{#3}\@thmcountersep - \@thmcounter{#1}}% - \else - \expandafter\xdef\csname the#1\endcsname{% - \expandafter\noexpand\csname the#3\endcsname \@thmcountersep - \@thmcounter{#1}}% - \fi - \global\@namedef{#1}{\@thm{#1}{#2}}% - \global\@namedef{end#1}{\@endtheorem}}} - - - -%% SET UP THE DEFAULT PAGESTYLE -\ps@headings -\pagenumbering{arabic} - -% normally the page counter starts at 1 -\setcounter{page}{1} -% however, for peerreview the cover sheet is page 0 or page -1 -% (for duplex printing) -\ifCLASSOPTIONpeerreview - \if@twoside - \setcounter{page}{-1} - \else - \setcounter{page}{0} - \fi -\fi - -% standard book class behavior - let bottom line float up and down as -% needed when single sided -\ifCLASSOPTIONtwoside\else\raggedbottom\fi -% if two column - turn on twocolumn, allow word spacings to stretch more and -% enforce a rigid position for the last lines -\ifCLASSOPTIONtwocolumn -% the peer review option delays invoking twocolumn - \ifCLASSOPTIONpeerreview\else - \twocolumn - \fi -\sloppy -\flushbottom -\fi - - - - -% \APPENDIX and \APPENDICES definitions - -% This is the \@ifmtarg command from the LaTeX ifmtarg package -% by Peter Wilson (CUA) and Donald Arseneau -% \@ifmtarg is used to determine if an argument to a command -% is present or not. -% For instance: -% \@ifmtarg{#1}{\typeout{empty}}{\typeout{has something}} -% \@ifmtarg is used with our redefined \section command if -% \appendices is invoked. -% The command \section will behave slightly differently depending -% on whether the user specifies a title: -% \section{My appendix title} -% or not: -% \section{} -% This way, we can eliminate the blank lines where the title -% would be, and the unneeded : after Appendix in the table of -% contents -\begingroup -\catcode`\Q=3 -\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil} -\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4} -\endgroup -% end of \@ifmtarg defs - - -% V1.7 -% command that allows the one time saving of the original definition -% of section to \@IEEEappendixsavesection for \appendix or \appendices -% we don't save \section here as it may be redefined later by other -% packages (hyperref.sty, etc.) -\def\@IEEEsaveoriginalsectiononce{\let\@IEEEappendixsavesection\section -\let\@IEEEsaveoriginalsectiononce\relax} - -% neat trick to grab and process the argument from \section{argument} -% we process differently if the user invoked \section{} with no -% argument (title) -% note we reroute the call to the old \section* -\def\@IEEEprocessthesectionargument#1{% -\@ifmtarg{#1}{% -\@IEEEappendixsavesection*{\appendixname~\thesectiondis}% -\addcontentsline{toc}{section}{\appendixname~\thesection}}{% -\@IEEEappendixsavesection*{\appendixname~\thesectiondis \\* #1}% -\addcontentsline{toc}{section}{\appendixname~\thesection: #1}}} - -% we use this if the user calls \section{} after -% \appendix-- which has no meaning. So, we ignore the -% command and its argument. Then, warn the user. -\def\@IEEEdestroythesectionargument#1{\typeout{** WARNING: Ignoring useless -\protect\section\space in Appendix (line \the\inputlineno).}} - - -% remember \thesection forms will be displayed in \ref calls -% and in the Table of Contents. -% The \sectiondis form is used in the actual heading itself - -% appendix command for one single appendix -% normally has no heading. However, if you want a -% heading, you can do so via the optional argument: -% \appendix[Optional Heading] -\def\appendix{\relax} -\renewcommand{\appendix}[1][]{\@IEEEsaveoriginalsectiononce\par - % v1.6 keep hyperref's identifiers unique - \gdef\theHsection{Appendix.A}% - % v1.6 adjust hyperref's string name for the section - \xdef\Hy@chapapp{appendix}% - \setcounter{section}{0}% - \setcounter{subsection}{0}% - \setcounter{subsubsection}{0}% - \setcounter{paragraph}{0}% - \gdef\thesection{A}% - \gdef\thesectiondis{}% - \gdef\thesubsection{\Alph{subsection}}% - \gdef\@IEEEthmcounterinsection##1{A} - \refstepcounter{section}% update the \ref counter - \@ifmtarg{#1}{\@IEEEappendixsavesection*{\appendixname}% - \addcontentsline{toc}{section}{\appendixname}}{% - \@IEEEappendixsavesection*{\appendixname~\\* #1}% - \addcontentsline{toc}{section}{\appendixname: #1}}% - % redefine \section command for appendix - % leave \section* as is - \def\section{\@ifstar{\@IEEEappendixsavesection*}{% - \@IEEEdestroythesectionargument}}% throw out the argument - % of the normal form -} - - - -% appendices command for multiple appendices -% user then calls \section with an argument (possibly empty) to -% declare the individual appendices -\def\appendices{\@IEEEsaveoriginalsectiononce\par - % v1.6 keep hyperref's identifiers unique - \gdef\theHsection{Appendix.\Alph{section}}% - % v1.6 adjust hyperref's string name for the section - \xdef\Hy@chapapp{appendix}% - \setcounter{section}{-1}% we want \refstepcounter to use section 0 - \setcounter{subsection}{0}% - \setcounter{subsubsection}{0}% - \setcounter{paragraph}{0}% - \ifCLASSOPTIONromanappendices% - \gdef\thesection{\Roman{section}}% - \gdef\thesectiondis{\Roman{section}}% - \@IEEEcompsocconfonly{\gdef\thesectiondis{\Roman{section}.}}% - \gdef\@IEEEthmcounterinsection##1{A\arabic{##1}} - \else% - \gdef\thesection{\Alph{section}}% - \gdef\thesectiondis{\Alph{section}}% - \@IEEEcompsocconfonly{\gdef\thesectiondis{\Alph{section}.}}% - \gdef\@IEEEthmcounterinsection##1{\Alph{##1}} - \fi% - \refstepcounter{section}% update the \ref counter - \setcounter{section}{0}% NEXT \section will be the FIRST appendix - % redefine \section command for appendices - % leave \section* as is - \def\section{\@ifstar{\@IEEEappendixsavesection*}{% process the *-form - \refstepcounter{section}% or is a new section so, - \@IEEEprocessthesectionargument}}% process the argument - % of the normal form -} - - - -% \IEEEPARstart -% Definition for the big two line drop cap letter at the beginning of the -% first paragraph of journal papers. The first argument is the first letter -% of the first word, the second argument is the remaining letters of the -% first word which will be rendered in upper case. -% In V1.6 this has been completely rewritten to: -% -% 1. no longer have problems when the user begins an environment -% within the paragraph that uses \IEEEPARstart. -% 2. auto-detect and use the current font family -% 3. revise handling of the space at the end of the first word so that -% interword glue will now work as normal. -% 4. produce correctly aligned edges for the (two) indented lines. -% -% We generalize things via control macros - playing with these is fun too. -% -% V1.7 added more control macros to make it easy for IEEEtrantools.sty users -% to change the font style. -% -% the number of lines that are indented to clear it -% may need to increase if using decenders -\def\@IEEEPARstartDROPLINES{2} -% minimum number of lines left on a page to allow a \@IEEEPARstart -% Does not take into consideration rubber shrink, so it tends to -% be overly cautious -\def\@IEEEPARstartMINPAGELINES{2} -% V1.7 the height of the drop cap is adjusted to match the height of this text -% in the current font (when \IEEEPARstart is called). -\def\@IEEEPARstartHEIGHTTEXT{T} -% the depth the letter is lowered below the baseline -% the height (and size) of the letter is determined by the sum -% of this value and the height of the \@IEEEPARstartHEIGHTTEXT in the current -% font. It is a good idea to set this value in terms of the baselineskip -% so that it can respond to changes therein. -\def\@IEEEPARstartDROPDEPTH{1.1\baselineskip} -% V1.7 the font the drop cap will be rendered in, -% can take zero or one argument. -\def\@IEEEPARstartFONTSTYLE{\bfseries} -% V1.7 any additional, non-font related commands needed to modify -% the drop cap letter, can take zero or one argument. -\def\@IEEEPARstartCAPSTYLE{\MakeUppercase} -% V1.7 the font that will be used to render the rest of the word, -% can take zero or one argument. -\def\@IEEEPARstartWORDFONTSTYLE{\relax} -% V1.7 any additional, non-font related commands needed to modify -% the rest of the word, can take zero or one argument. -\def\@IEEEPARstartWORDCAPSTYLE{\MakeUppercase} -% This is the horizontal separation distance from the drop letter to the main text. -% Lengths that depend on the font (e.g., ex, em, etc.) will be referenced -% to the font that is active when \IEEEPARstart is called. -\def\@IEEEPARstartSEP{0.15em} -% V1.7 horizontal offset applied to the left of the drop cap. -\def\@IEEEPARstartHOFFSET{0em} -% V1.7 Italic correction command applied at the end of the drop cap. -\def\@IEEEPARstartITLCORRECT{\/} - -% V1.7 compoc uses nonbold drop cap and small caps word style -\ifCLASSOPTIONcompsoc -\def\@IEEEPARstartFONTSTYLE{\mdseries} -\def\@IEEEPARstartWORDFONTSTYLE{\scshape} -\def\@IEEEPARstartWORDCAPSTYLE{\relax} -\fi - -% definition of \IEEEPARstart -% THIS IS A CONTROLLED SPACING AREA, DO NOT ALLOW SPACES WITHIN THESE LINES -% -% The token \@IEEEPARstartfont will be globally defined after the first use -% of \IEEEPARstart and will be a font command which creates the big letter -% The first argument is the first letter of the first word and the second -% argument is the rest of the first word(s). -\def\IEEEPARstart#1#2{\par{% -% if this page does not have enough space, break it and lets start -% on a new one -\@IEEEtranneedspace{\@IEEEPARstartMINPAGELINES\baselineskip}{\relax}% -% V1.7 move this up here in case user uses \textbf for \@IEEEPARstartFONTSTYLE -% which uses command \leavevmode which causes an unwanted \indent to be issued -\noindent -% calculate the desired height of the big letter -% it extends from the top of \@IEEEPARstartHEIGHTTEXT in the current font -% down to \@IEEEPARstartDROPDEPTH below the current baseline -\settoheight{\@IEEEtrantmpdimenA}{\@IEEEPARstartHEIGHTTEXT}% -\addtolength{\@IEEEtrantmpdimenA}{\@IEEEPARstartDROPDEPTH}% -% extract the name of the current font in bold -% and place it in \@IEEEPARstartFONTNAME -\def\@IEEEPARstartGETFIRSTWORD##1 ##2\relax{##1}% -{\@IEEEPARstartFONTSTYLE{\selectfont\edef\@IEEEPARstartFONTNAMESPACE{\fontname\font\space}% -\xdef\@IEEEPARstartFONTNAME{\expandafter\@IEEEPARstartGETFIRSTWORD\@IEEEPARstartFONTNAMESPACE\relax}}}% -% define a font based on this name with a point size equal to the desired -% height of the drop letter -\font\@IEEEPARstartsubfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenA\relax% -% save this value as a counter (integer) value (sp points) -\@IEEEtrantmpcountA=\@IEEEtrantmpdimenA% -% now get the height of the actual letter produced by this font size -\settoheight{\@IEEEtrantmpdimenB}{\@IEEEPARstartsubfont\@IEEEPARstartCAPSTYLE{#1}}% -% If something bogus happens like the first argument is empty or the -% current font is strange, do not allow a zero height. -\ifdim\@IEEEtrantmpdimenB=0pt\relax% -\typeout{** WARNING: IEEEPARstart drop letter has zero height! (line \the\inputlineno)}% -\typeout{ Forcing the drop letter font size to 10pt.}% -\@IEEEtrantmpdimenB=10pt% -\fi% -% and store it as a counter -\@IEEEtrantmpcountB=\@IEEEtrantmpdimenB% -% Since a font size doesn't exactly correspond to the height of the capital -% letters in that font, the actual height of the letter, \@IEEEtrantmpcountB, -% will be less than that desired, \@IEEEtrantmpcountA -% we need to raise the font size, \@IEEEtrantmpdimenA -% by \@IEEEtrantmpcountA / \@IEEEtrantmpcountB -% But, TeX doesn't have floating point division, so we have to use integer -% division. Hence the use of the counters. -% We need to reduce the denominator so that the loss of the remainder will -% have minimal affect on the accuracy of the result -\divide\@IEEEtrantmpcountB by 200% -\divide\@IEEEtrantmpcountA by \@IEEEtrantmpcountB% -% Then reequalize things when we use TeX's ability to multiply by -% floating point values -\@IEEEtrantmpdimenB=0.005\@IEEEtrantmpdimenA% -\multiply\@IEEEtrantmpdimenB by \@IEEEtrantmpcountA% -% \@IEEEPARstartfont is globaly set to the calculated font of the big letter -% We need to carry this out of the local calculation area to to create the -% big letter. -\global\font\@IEEEPARstartfont\@IEEEPARstartFONTNAME\space at \@IEEEtrantmpdimenB% -% Now set \@IEEEtrantmpdimenA to the width of the big letter -% We need to carry this out of the local calculation area to set the -% hanging indent -\settowidth{\global\@IEEEtrantmpdimenA}{\@IEEEPARstartfont -\@IEEEPARstartCAPSTYLE{#1\@IEEEPARstartITLCORRECT}}}% -% end of the isolated calculation environment -% add in the extra clearance we want -\advance\@IEEEtrantmpdimenA by \@IEEEPARstartSEP\relax% -% add in the optional offset -\advance\@IEEEtrantmpdimenA by \@IEEEPARstartHOFFSET\relax% -% V1.7 don't allow negative offsets to produce negative hanging indents -\@IEEEtrantmpdimenB\@IEEEtrantmpdimenA -\ifnum\@IEEEtrantmpdimenB < 0 \@IEEEtrantmpdimenB 0pt\fi -% \@IEEEtrantmpdimenA has the width of the big letter plus the -% separation space and \@IEEEPARstartfont is the font we need to use -% Now, we make the letter and issue the hanging indent command -% The letter is placed in a box of zero width and height so that other -% text won't be displaced by it. -\hangindent\@IEEEtrantmpdimenB\hangafter=-\@IEEEPARstartDROPLINES% -\makebox[0pt][l]{\hspace{-\@IEEEtrantmpdimenA}% -\raisebox{-\@IEEEPARstartDROPDEPTH}[0pt][0pt]{\hspace{\@IEEEPARstartHOFFSET}% -\@IEEEPARstartfont\@IEEEPARstartCAPSTYLE{#1\@IEEEPARstartITLCORRECT}% -\hspace{\@IEEEPARstartSEP}}}% -{\@IEEEPARstartWORDFONTSTYLE{\@IEEEPARstartWORDCAPSTYLE{\selectfont#2}}}} - - - - - - -% determines if the space remaining on a given page is equal to or greater -% than the specified space of argument one -% if not, execute argument two (only if the remaining space is greater than zero) -% and issue a \newpage -% -% example: \@IEEEtranneedspace{2in}{\vfill} -% -% Does not take into consideration rubber shrinkage, so it tends to -% be overly cautious -% Based on an example posted by Donald Arseneau -% Note this macro uses \@IEEEtrantmpdimenB internally for calculations, -% so DO NOT PASS \@IEEEtrantmpdimenB to this routine -% if you need a dimen register, import with \@IEEEtrantmpdimenA instead -\def\@IEEEtranneedspace#1#2{\penalty-100\begingroup%shield temp variable -\@IEEEtrantmpdimenB\pagegoal\advance\@IEEEtrantmpdimenB-\pagetotal% space left -\ifdim #1>\@IEEEtrantmpdimenB\relax% not enough space left -\ifdim\@IEEEtrantmpdimenB>\z@\relax #2\fi% -\newpage% -\fi\endgroup} - - - -% IEEEbiography ENVIRONMENT -% Allows user to enter biography leaving place for picture (adapts to font size) -% As of V1.5, a new optional argument allows you to have a real graphic! -% V1.5 and later also fixes the "colliding biographies" which could happen when a -% biography's text was shorter than the space for the photo. -% MDS 7/2001 -% V1.6 prevent multiple biographies from making multiple TOC entries -\newif\if@IEEEbiographyTOCentrynotmade -\global\@IEEEbiographyTOCentrynotmadetrue - -% biography counter so hyperref can jump directly to the biographies -% and not just the previous section -\newcounter{IEEEbiography} -\setcounter{IEEEbiography}{0} - -% photo area size -\def\@IEEEBIOphotowidth{1.0in} % width of the biography photo area -\def\@IEEEBIOphotodepth{1.25in} % depth (height) of the biography photo area -% area cleared for photo -\def\@IEEEBIOhangwidth{1.14in} % width cleared for the biography photo area -\def\@IEEEBIOhangdepth{1.25in} % depth cleared for the biography photo area - % actual depth will be a multiple of - % \baselineskip, rounded up -\def\@IEEEBIOskipN{4\baselineskip}% nominal value of the vskip above the biography - -\newenvironment{IEEEbiography}[2][]{\normalfont\@IEEEcompsoconly{\sffamily}\footnotesize% -\unitlength 1in\parskip=0pt\par\parindent 1em\interlinepenalty500% -% we need enough space to support the hanging indent -% the nominal value of the spacer -% and one extra line for good measure -\@IEEEtrantmpdimenA=\@IEEEBIOhangdepth% -\advance\@IEEEtrantmpdimenA by \@IEEEBIOskipN% -\advance\@IEEEtrantmpdimenA by 1\baselineskip% -% if this page does not have enough space, break it and lets start -% with a new one -\@IEEEtranneedspace{\@IEEEtrantmpdimenA}{\relax}% -% nominal spacer can strech, not shrink use 1fil so user can out stretch with \vfill -\vskip \@IEEEBIOskipN plus 1fil minus 0\baselineskip% -% the default box for where the photo goes -\def\@IEEEtempbiographybox{{\setlength{\fboxsep}{0pt}\framebox{% -\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}\centering PLACE\\ PHOTO\\ HERE \end{minipage}}}}% -% -% detect if the optional argument was supplied, this requires the -% \@ifmtarg command as defined in the appendix section above -% and if so, override the default box with what they want -\@ifmtarg{#1}{\relax}{\def\@IEEEtempbiographybox{\mbox{\begin{minipage}[b][\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}% -\centering% -#1% -\end{minipage}}}}% end if optional argument supplied -% Make an entry into the table of contents only if we have not done so before -\if@IEEEbiographyTOCentrynotmade% -% link labels to the biography counter so hyperref will jump -% to the biography, not the previous section -\setcounter{IEEEbiography}{-1}% -\refstepcounter{IEEEbiography}% -\addcontentsline{toc}{section}{Biographies}% -\global\@IEEEbiographyTOCentrynotmadefalse% -\fi% -% one more biography -\refstepcounter{IEEEbiography}% -% Make an entry for this name into the table of contents -\addcontentsline{toc}{subsection}{#2}% -% V1.6 properly handle if a new paragraph should occur while the -% hanging indent is still active. Do this by redefining \par so -% that it will not start a new paragraph. (But it will appear to the -% user as if it did.) Also, strip any leading pars, newlines, or spaces. -\let\@IEEEBIOORGparCMD=\par% save the original \par command -\edef\par{\hfil\break\indent}% the new \par will not be a "real" \par -\settoheight{\@IEEEtrantmpdimenA}{\@IEEEtempbiographybox}% get height of biography box -\@IEEEtrantmpdimenB=\@IEEEBIOhangdepth% -\@IEEEtrantmpcountA=\@IEEEtrantmpdimenB% countA has the hang depth -\divide\@IEEEtrantmpcountA by \baselineskip% calculates lines needed to produce the hang depth -\advance\@IEEEtrantmpcountA by 1% ensure we overestimate -% set the hanging indent -\hangindent\@IEEEBIOhangwidth% -\hangafter-\@IEEEtrantmpcountA% -% reference the top of the photo area to the top of a capital T -\settoheight{\@IEEEtrantmpdimenB}{\mbox{T}}% -% set the photo box, give it zero width and height so as not to disturb anything -\noindent\makebox[0pt][l]{\hspace{-\@IEEEBIOhangwidth}\raisebox{\@IEEEtrantmpdimenB}[0pt][0pt]{% -\raisebox{-\@IEEEBIOphotodepth}[0pt][0pt]{\@IEEEtempbiographybox}}}% -% now place the author name and begin the bio text -\noindent\textbf{#2\ }\@IEEEgobbleleadPARNLSP}{\relax\let\par=\@IEEEBIOORGparCMD\par% -% 7/2001 V1.5 detect when the biography text is shorter than the photo area -% and pad the unused area - preventing a collision from the next biography entry -% MDS -\ifnum \prevgraf <\@IEEEtrantmpcountA\relax% detect when the biography text is shorter than the photo - \advance\@IEEEtrantmpcountA by -\prevgraf% calculate how many lines we need to pad - \advance\@IEEEtrantmpcountA by -1\relax% we compensate for the fact that we indented an extra line - \@IEEEtrantmpdimenA=\baselineskip% calculate the length of the padding - \multiply\@IEEEtrantmpdimenA by \@IEEEtrantmpcountA% - \noindent\rule{0pt}{\@IEEEtrantmpdimenA}% insert an invisible support strut -\fi% -\par\normalfont} - - - -% V1.6 -% added biography without a photo environment -\newenvironment{IEEEbiographynophoto}[1]{% -% Make an entry into the table of contents only if we have not done so before -\if@IEEEbiographyTOCentrynotmade% -% link labels to the biography counter so hyperref will jump -% to the biography, not the previous section -\setcounter{IEEEbiography}{-1}% -\refstepcounter{IEEEbiography}% -\addcontentsline{toc}{section}{Biographies}% -\global\@IEEEbiographyTOCentrynotmadefalse% -\fi% -% one more biography -\refstepcounter{IEEEbiography}% -% Make an entry for this name into the table of contents -\addcontentsline{toc}{subsection}{#1}% -\normalfont\@IEEEcompsoconly{\sffamily}\footnotesize\interlinepenalty500% -\vskip 4\baselineskip plus 1fil minus 0\baselineskip% -\parskip=0pt\par% -\noindent\textbf{#1\ }\@IEEEgobbleleadPARNLSP}{\relax\par\normalfont} - - -% provide the user with some old font commands -% got this from article.cls -\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} -\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} -\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} -\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} -\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} -\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} -\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} -\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} -\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} - - -% SPECIAL PAPER NOTICE COMMANDS -% -% holds the special notice text -\def\@IEEEspecialpapernotice{\relax} - -% for special papers, like invited papers, the user can do: -% \IEEEspecialpapernotice{(Invited Paper)} before \maketitle -\def\IEEEspecialpapernotice#1{\ifCLASSOPTIONconference% -\def\@IEEEspecialpapernotice{{\Large#1\vspace*{1em}}}% -\else% -\def\@IEEEspecialpapernotice{{\\*[1.5ex]\sublargesize\textit{#1}}\vspace*{-2ex}}% -\fi} - - - - -% PUBLISHER ID COMMANDS -% to insert a publisher's ID footer -% V1.6 \IEEEpubid has been changed so that the change in page size and style -% occurs in \maketitle. \IEEEpubid must now be issued prior to \maketitle -% use \IEEEpubidadjcol as before - in the second column of the title page -% These changes allow \maketitle to take the reduced page height into -% consideration when dynamically setting the space between the author -% names and the maintext. -% -% the amount the main text is pulled up to make room for the -% publisher's ID footer -% IEEE uses about 1.3\baselineskip for journals, -% dynamic title spacing will clean up the fraction -\def\@IEEEpubidpullup{1.3\baselineskip} -\ifCLASSOPTIONtechnote -% for technotes it must be an integer of baselineskip as there can be no -% dynamic title spacing for two column mode technotes (the title is in the -% in first column) and we should maintain an integer number of lines in the -% second column -% There are some examples (such as older issues of "Transactions on -% Information Theory") in which IEEE really pulls the text off the ID for -% technotes - about 0.55in (or 4\baselineskip). We'll use 2\baselineskip -% and call it even. -\def\@IEEEpubidpullup{2\baselineskip} -\fi - -% V1.7 compsoc does not use a pullup -\ifCLASSOPTIONcompsoc -\def\@IEEEpubidpullup{0pt} -\fi - -% holds the ID text -\def\@IEEEpubid{\relax} - -% flag so \maketitle can tell if \IEEEpubid was called -\newif\if@IEEEusingpubid -\global\@IEEEusingpubidfalse -% issue this command in the page to have the ID at the bottom -% V1.6 use before \maketitle -\def\IEEEpubid#1{\def\@IEEEpubid{#1}\global\@IEEEusingpubidtrue} - - -% command which will pull up (shorten) the column it is executed in -% to make room for the publisher ID. Place in the second column of -% the title page when using \IEEEpubid -% Is smart enough not to do anything when in single column text or -% if the user hasn't called \IEEEpubid -% currently needed in for the second column of a page with the -% publisher ID. If not needed in future releases, please provide this -% command and define it as \relax for backward compatibility -% v1.6b do not allow command to operate if the peer review option has been -% selected because \IEEEpubidadjcol will not be on the cover page. -% V1.7 do nothing if compsoc -\def\IEEEpubidadjcol{\ifCLASSOPTIONcompsoc\else\ifCLASSOPTIONpeerreview\else -\if@twocolumn\if@IEEEusingpubid\enlargethispage{-\@IEEEpubidpullup}\fi\fi\fi\fi} - -% Special thanks to Peter Wilson, Daniel Luecking, and the other -% gurus at comp.text.tex, for helping me to understand how best to -% implement the IEEEpubid command in LaTeX. - - - -%% Lockout some commands under various conditions - -% general purpose bit bucket -\newsavebox{\@IEEEtranrubishbin} - -% flags to prevent multiple warning messages -\newif\if@IEEEWARNthanks -\newif\if@IEEEWARNIEEEPARstart -\newif\if@IEEEWARNIEEEbiography -\newif\if@IEEEWARNIEEEbiographynophoto -\newif\if@IEEEWARNIEEEpubid -\newif\if@IEEEWARNIEEEpubidadjcol -\newif\if@IEEEWARNIEEEmembership -\newif\if@IEEEWARNIEEEaftertitletext -\@IEEEWARNthankstrue -\@IEEEWARNIEEEPARstarttrue -\@IEEEWARNIEEEbiographytrue -\@IEEEWARNIEEEbiographynophototrue -\@IEEEWARNIEEEpubidtrue -\@IEEEWARNIEEEpubidadjcoltrue -\@IEEEWARNIEEEmembershiptrue -\@IEEEWARNIEEEaftertitletexttrue - - -%% Lockout some commands when in various modes, but allow them to be restored if needed -%% -% save commands which might be locked out -% so that the user can later restore them if needed -\let\@IEEESAVECMDthanks\thanks -\let\@IEEESAVECMDIEEEPARstart\IEEEPARstart -\let\@IEEESAVECMDIEEEbiography\IEEEbiography -\let\@IEEESAVECMDendIEEEbiography\endIEEEbiography -\let\@IEEESAVECMDIEEEbiographynophoto\IEEEbiographynophoto -\let\@IEEESAVECMDendIEEEbiographynophoto\endIEEEbiographynophoto -\let\@IEEESAVECMDIEEEpubid\IEEEpubid -\let\@IEEESAVECMDIEEEpubidadjcol\IEEEpubidadjcol -\let\@IEEESAVECMDIEEEmembership\IEEEmembership -\let\@IEEESAVECMDIEEEaftertitletext\IEEEaftertitletext - - -% disable \IEEEPARstart when in draft mode -% This may have originally been done because the pre-V1.6 drop letter -% algorithm had problems with a non-unity baselinestretch -% At any rate, it seems too formal to have a drop letter in a draft -% paper. -\ifCLASSOPTIONdraftcls -\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** ATTENTION: \noexpand\IEEEPARstart - is disabled in draft mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} -\fi -% and for technotes -\ifCLASSOPTIONtechnote -\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** WARNING: \noexpand\IEEEPARstart - is locked out for technotes (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} -\fi - - -% lockout unneeded commands when in conference mode -\ifCLASSOPTIONconference -% when locked out, \thanks, \IEEEbiography, \IEEEbiographynophoto, \IEEEpubid, -% \IEEEmembership and \IEEEaftertitletext will all swallow their given text. -% \IEEEPARstart will output a normal character instead -% warn the user about these commands only once to prevent the console screen -% from filling up with redundant messages -\def\thanks#1{\if@IEEEWARNthanks\typeout{** WARNING: \noexpand\thanks - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNthanksfalse} -\def\IEEEPARstart#1#2{#1#2\if@IEEEWARNIEEEPARstart\typeout{** WARNING: \noexpand\IEEEPARstart - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEPARstartfalse} - - -% LaTeX treats environments and commands with optional arguments differently. -% the actual ("internal") command is stored as \\commandname -% (accessed via \csname\string\commandname\endcsname ) -% the "external" command \commandname is a macro with code to determine -% whether or not the optional argument is presented and to provide the -% default if it is absent. So, in order to save and restore such a command -% we would have to save and restore \\commandname as well. But, if LaTeX -% ever changes the way it names the internal names, the trick would break. -% Instead let us just define a new environment so that the internal -% name can be left undisturbed. -\newenvironment{@IEEEbogusbiography}[2][]{\if@IEEEWARNIEEEbiography\typeout{** WARNING: \noexpand\IEEEbiography - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEbiographyfalse% -\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} -% and make biography point to our bogus biography -\let\IEEEbiography=\@IEEEbogusbiography -\let\endIEEEbiography=\end@IEEEbogusbiography - -\renewenvironment{IEEEbiographynophoto}[1]{\if@IEEEWARNIEEEbiographynophoto\typeout{** WARNING: \noexpand\IEEEbiographynophoto - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEbiographynophotofalse% -\setbox\@IEEEtranrubishbin\vbox\bgroup}{\egroup\relax} - -\def\IEEEpubid#1{\if@IEEEWARNIEEEpubid\typeout{** WARNING: \noexpand\IEEEpubid - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEpubidfalse} -\def\IEEEpubidadjcol{\if@IEEEWARNIEEEpubidadjcol\typeout{** WARNING: \noexpand\IEEEpubidadjcol - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEpubidadjcolfalse} -\def\IEEEmembership#1{\if@IEEEWARNIEEEmembership\typeout{** WARNING: \noexpand\IEEEmembership - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEmembershipfalse} -\def\IEEEaftertitletext#1{\if@IEEEWARNIEEEaftertitletext\typeout{** WARNING: \noexpand\IEEEaftertitletext - is locked out when in conference mode (line \the\inputlineno).}\fi\global\@IEEEWARNIEEEaftertitletextfalse} -\fi - - -% provide a way to restore the commands that are locked out -\def\IEEEoverridecommandlockouts{% -\typeout{** ATTENTION: Overriding command lockouts (line \the\inputlineno).}% -\let\thanks\@IEEESAVECMDthanks% -\let\IEEEPARstart\@IEEESAVECMDIEEEPARstart% -\let\IEEEbiography\@IEEESAVECMDIEEEbiography% -\let\endIEEEbiography\@IEEESAVECMDendIEEEbiography% -\let\IEEEbiographynophoto\@IEEESAVECMDIEEEbiographynophoto% -\let\endIEEEbiographynophoto\@IEEESAVECMDendIEEEbiographynophoto% -\let\IEEEpubid\@IEEESAVECMDIEEEpubid% -\let\IEEEpubidadjcol\@IEEESAVECMDIEEEpubidadjcol% -\let\IEEEmembership\@IEEESAVECMDIEEEmembership% -\let\IEEEaftertitletext\@IEEESAVECMDIEEEaftertitletext} - - - -% need a backslash character for typeout output -{\catcode`\|=0 \catcode`\\=12 -|xdef|@IEEEbackslash{\}} - - -% hook to allow easy disabling of all legacy warnings -\def\@IEEElegacywarn#1#2{\typeout{** ATTENTION: \@IEEEbackslash #1 is deprecated (line \the\inputlineno). -Use \@IEEEbackslash #2 instead.}} - - -% provide for legacy commands -\def\authorblockA{\@IEEElegacywarn{authorblockA}{IEEEauthorblockA}\IEEEauthorblockA} -\def\authorblockN{\@IEEElegacywarn{authorblockN}{IEEEauthorblockN}\IEEEauthorblockN} -\def\authorrefmark{\@IEEElegacywarn{authorrefmark}{IEEEauthorrefmark}\IEEEauthorrefmark} -\def\PARstart{\@IEEElegacywarn{PARstart}{IEEEPARstart}\IEEEPARstart} -\def\pubid{\@IEEElegacywarn{pubid}{IEEEpubid}\IEEEpubid} -\def\pubidadjcol{\@IEEElegacywarn{pubidadjcol}{IEEEpubidadjcol}\IEEEpubidadjcol} -\def\QED{\@IEEElegacywarn{QED}{IEEEQED}\IEEEQED} -\def\QEDclosed{\@IEEElegacywarn{QEDclosed}{IEEEQEDclosed}\IEEEQEDclosed} -\def\QEDopen{\@IEEElegacywarn{QEDopen}{IEEEQEDopen}\IEEEQEDopen} -\def\specialpapernotice{\@IEEElegacywarn{specialpapernotice}{IEEEspecialpapernotice}\IEEEspecialpapernotice} - - - -% provide for legacy environments -\def\biography{\@IEEElegacywarn{biography}{IEEEbiography}\IEEEbiography} -\def\biographynophoto{\@IEEElegacywarn{biographynophoto}{IEEEbiographynophoto}\IEEEbiographynophoto} -\def\keywords{\@IEEElegacywarn{keywords}{IEEEkeywords}\IEEEkeywords} -\def\endbiography{\endIEEEbiography} -\def\endbiographynophoto{\endIEEEbiographynophoto} -\def\endkeywords{\endIEEEkeywords} - - -% provide for legacy IED commands/lengths when possible -\let\labelindent\IEEElabelindent -\def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin} -\def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth} -\def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep} -\def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc} -\def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl} -\def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr} - - - -% let \proof use the IEEEtran version even after amsthm is loaded -% \proof is now deprecated in favor of \IEEEproof -\AtBeginDocument{\def\proof{\@IEEElegacywarn{proof}{IEEEproof}\IEEEproof}\def\endproof{\endIEEEproof}} - -% V1.7 \overrideIEEEmargins is no longer supported. -\def\overrideIEEEmargins{% -\typeout{** WARNING: \string\overrideIEEEmargins \space no longer supported (line \the\inputlineno).}% -\typeout{** Use the \string\CLASSINPUTinnersidemargin, \string\CLASSINPUToutersidemargin \space controls instead.}} - - -\endinput - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of IEEEtran.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% -% That's all folks! - - diff --git a/Journal.tex b/Journal.tex deleted file mode 100755 index 6f3486b..0000000 --- a/Journal.tex +++ /dev/null @@ -1,1360 +0,0 @@ -\documentclass[journal]{IEEEtran} - - -% correct bad hyphenation here -\hyphenation{op-tical net-works semi-conduc-tor} -\usepackage{array} -\usepackage{booktabs} -%\setlength{\heavyrulewidth}{1.5pt} -%\setlength{\abovetopsep}{4pt} -%\usepackage{pstricks} -%\usepackage{auto-pst-pdf} - -\usepackage{paralist} -\usepackage{etoolbox} -\usepackage{float} -\usepackage{epsfig} -\usepackage{calc} - \usepackage{times,amssymb,amsmath,latexsym} -\usepackage{graphics} -\usepackage{graphicx} -\usepackage{epstopdf} -%\usepackage{amsmath} -%\usepackage{txfonts} -%\usepackage[pdf]{pstricks} -%\usepackage{algorithmic} -\usepackage[T1]{fontenc} -\usepackage{tikz} -%\usepackage{algorithm} -%\usepackage{algpseudocode} -%\usepackage{algorithmwh} -\usepackage{subfigure} -\usepackage{float} -\usepackage{xspace} -\usepackage[linesnumbered,ruled,vlined,commentsnumbered]{algorithm2e} -\usepackage{epsfig} -\usepackage{caption} -\usepackage{multicol} -\usepackage{times} -\usepackage{graphicx,epstopdf} -\epstopdfsetup{suffix=} -\DeclareGraphicsExtensions{.ps} -\DeclareGraphicsRule{.ps}{pdf}{.pdf}{`ps2pdf -dEPSCrop -dNOSAFER #1 \noexpand\OutputFile} - - - -\begin{document} -% -% paper title -% can use linebreaks \\ within to get better formatting as desired -\title{Energy-Efficient Distributed Multirounds Coverage Optimization Protocol to Prolong the Lifetime in Wireless Sensor Networks} - -\author{Ali Kadhum Idrees,~\IEEEmembership{} - Karine Deschinkel,~\IEEEmembership{} - Michel Salomon,~\IEEEmembership{} - and~Rapha\"el Couturier ~\IEEEmembership{}% <-this % stops a space -%\thanks{are members in the AND team - DISC department - FEMTO-ST Institute, University of Franche-Comt\'e, Belfort, France. -% e-mail: ali.idness@edu.univ-fcomte.fr, $\lbrace$karine.deschinkel, michel.salomon, raphael.couturier$\rbrace$@univ-fcomte.fr.}% <-this % stops a space -%\thanks{}% <-this % stops a space -\thanks{Manuscript received April 19, 2005; revised January 11, 2007.}} - - - -% The paper headers -\markboth{Journal of \LaTeX\ Class Files,~Vol.~6, No.~1, January~2007}% -{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals} -% The only time the second header will appear is for the odd numbered pages -% after the title page when using the twoside option. -% - - -% make the title area -\maketitle - - -\begin{abstract} -One of the fundamental challenges in Wireless Sensor Networks (WSNs) -is the coverage preservation and the extension of the network lifetime -continuously and effectively when monitoring a certain area (or -region) of interest. In this paper, a Energy-Efficient Distributed -Multirounds Coverage Optimization Protocol (EDMCOP) -to improve the lifetime in wireless sensor -networks is proposed. The area of interest is first divided into -subregions using a divide-and-conquer method and then the EDMCOP protocol is distributed on the sensor nodes in each subregion. The EDMCOP combines two efficient techniques: Leader election for each subregion after that activity scheduling based optimization is planned for each subregion. The proposed -EDMCOP works into rounds during which a small number of nodes, -remaining active for sensing, is selected to ensure coverage so as to maximize the lifetime of wireless sensor network. Each round consists of four phases: (i)~Information Exchange, (ii)~Leader -Election, (iii)~Decision, and (iv)~Sensing. The decision process is -carried out by a leader node, which solves an integer program. Compared with some existing -protocols, simulation results show that the proposed protocol can prolong the -network lifetime and improve the coverage performance effectively. -\end{abstract} - -\begin{IEEEkeywords} -Wireless Sensor Networks, Area Coverage, Network lifetime, -Optimization, Scheduling. -\end{IEEEkeywords} -%\keywords{Area Coverage, Network lifetime, Optimization, Distributed Protocol} - -\IEEEpeerreviewmaketitle - -\section{Introduction} - -\indent The fast developments in the low-cost sensor devices and -wireless communications have allowed the emergence the WSNs. WSN -includes a large number of small, limited-power sensors that can -sense, process and transmit data over a wireless communication. They -communicate with each other by using multi-hop wireless communications, cooperate together to monitor the area of interest, -and the measured data can be reported to a monitoring center called sink -for analysis it~\cite{Sudip03}. There are several applications used the -WSN including health, home, environmental, military, and industrial -applications~\cite{Akyildiz02}. One of the major scientific research challenges in WSNs, which are addressed by a large number of literature during the last few years is to design energy efficient approches for coverage and connectivity in WSNs~\cite{conti2014mobile}. The coverage problem is one of the -fundamental challenges in WSNs~\cite{Nayak04} that consists in monitoring efficiently and continuously -the area of interest. Thelimited energy of sensors represents the main challenge in the WSNs -design~\cite{Sudip03}, where it is difficult to replace and/or recharge their batteries because the the area of interest nature (such -as hostile environments) and the cost. So, it is necessary that a WSN -deployed with high density because spatial redundancy can then be -exploited to increase the lifetime of the network. However, turn on -all the sensor nodes, which monitor the same region at the same time -leads to decrease the lifetime of the network. To extend the lifetime -of the network, the main idea is to take advantage of the overlapping -sensing regions of some sensor nodes to save energy by turning off -some of them during the sensing phase~\cite{Misra05}. WSNs require -energy-efficient solutions to improve the network lifetime that is -constrained by the limited power of each sensor node ~\cite{Akyildiz02}. In this paper, we concentrate on the area -coverage problem, with the objective of maximizing the network -lifetime by using an adaptive scheduling. The area of interest is -divided into subregions and an activity scheduling for sensor nodes is -planned for each subregion. In fact, the nodes in a subregion can be -seen as a cluster where each node sends sensing data to the cluster head or the sink node. Furthermore, the activities in a -subregion/cluster can continue even if another cluster stops due to -too many node failures. Our scheduling scheme considers rounds, where -a round starts with a discovery phase to exchange information between -sensors of the subregion, in order to choose in a suitable manner a -sensor node to carry out a coverage strategy. This coverage strategy -involves the solving of an integer program, which provides the -activation of the sensors for the sensing phase of the current round. - -The remainder of the paper is organized as follows. The next section -% Section~\ref{rw} -reviews the related work in the field. In section~\ref{Pr}, the problem definition and some background are described. Section~\ref{pd} is devoted to -the EDMCOP Protocol Description. Section~\ref{cp} gives the coverage model formulation, which is used -to schedule the activation of sensors. Section~\ref{exp} shows the -simulation results obtained using the discrete event simulator OMNeT++ -\cite{varga}. They fully demonstrate the usefulness of the proposed -approach. Finally, we give concluding remarks and some suggestions -for future works in Section~\ref{sec:conclusion}. - -\section{Related works} -\label{rw} - -\indent This section is dedicated to the various approaches proposed -in the literature for the coverage lifetime maximization problem, -where the objective is to optimally schedule sensors' activities in -order to extend network lifetime in WSNs. Cardei and Wu \cite{cardei2006energy} provide a taxonomy for coverage algorithms in WSNs according to several design choices: -\begin{itemize} -\item Sensors scheduling Algorithms, i.e. centralized or distributed/localized algorithms. -\item The objective of sensor coverage, i.e. to maximize the network lifetime -or to minimize the number of sensors during the sensing period. -\item The homogeneous or heterogeneous nature of the -nodes, in terms of sensing or communication capabilities. -\item The node deployment method, which may be random or deterministic. -\item Additional requirements for energy-efficient -coverage and connected coverage. -\end{itemize} - - The independency in the cover set (i.e. whether the cover sets are disjoint or non-disjoint) \cite{zorbas2010solving} is another design choice that can be added to the above -list. - -\subsection{Centralized Approaches} -%{\bf Centralized approaches} -The major approach is -to divide/organize the sensors into a suitable number of set covers -where each set completely covers an interest region and to activate -these set covers successively. The centralized algorithms always provide nearly or close to optimal solution since the algorithm has global view of the whole network. However, its advantage of -this type of algorithms is that it requires very low processing power from the sensor nodes, which usually have -limited processing capabilities where the schdule of selected sensor nodes will be computed on the base stations and then sent it to the sensor nodes to apply it to monitor the area of interest. - -The first algorithms proposed in the literature consider that the cover -sets are disjoint: a sensor node appears in exactly one of the -generated cover sets. For instance, Slijepcevic and Potkonjak -\cite{Slijepcevic01powerefficient} propose an algorithm, which -allocates sensor nodes in mutually independent sets to monitor an area -divided into several fields. Their algorithm builds a cover set by -including in priority the sensor nodes, which cover critical fields, -that is to say fields that are covered by the smallest number of -sensors. The time complexity of their heuristic is $O(n^2)$ where $n$ -is the number of sensors. Abrams et al.~\cite{abrams2004set} design three approximation -algorithms for a variation of the set k-cover problem, where the -objective is to partition the sensors into covers such that the number -of covers that includes an area, summed over all areas, is maximized. -Their work builds upon previous work -in~\cite{Slijepcevic01powerefficient} and the generated cover sets do -not provide complete coverage of the monitoring zone. -\cite{cardei2005improving} propose a method to efficiently -compute the maximum number of disjoint set covers such that each set -can monitor all targets. They first transform the problem into a -maximum flow problem, which is formulated as a mixed integer -programming (MIP). Then their heuristic uses the output of the MIP to -compute disjoint set covers. Results show that this heuristic -provides a number of set covers slightly larger compared to -\cite{Slijepcevic01powerefficient} but with a larger execution time -due to the complexity of the mixed integer programming resolution. - -Zorbas et al. \cite{zorbas2010solving} presented a centralised greedy -algorithm for the efficient production of both node disjoint -and non-disjoint cover sets. Compared to algorithm's results of Slijepcevic and Potkonjak -\cite{Slijepcevic01powerefficient}, their heuristic produces more -disjoint cover sets with a slight growth rate in execution time. When producing non-disjoint cover sets, both Static-CCF and Dynamic-CCF provide cover sets offering longer network lifetime than those produced by -\cite{cardei2005energy}. Also, they require a smaller number of node participations in order to -achieve these results. - -In the case of non-disjoint algorithms \cite{pujari2011high}, sensors may -participate in more than one cover set. In some cases, this may -prolong the lifetime of the network in comparison to the disjoint -cover set algorithms, but designing algorithms for non-disjoint cover -sets generally induces a higher order of complexity. Moreover, in -case of a sensor's failure, non-disjoint scheduling policies are less -resilient and less reliable because a sensor may be involved in more -than one cover sets. For instance, Cardei et al.~\cite{cardei2005energy} -present a linear programming (LP) solution and a greedy approach to -extend the sensor network lifetime by organizing the sensors into a -maximal number of non-disjoint cover sets. Simulation results show -that by allowing sensors to participate in multiple sets, the network -lifetime increases compared with related -work~\cite{cardei2005improving}. In~\cite{berman04}, the -authors have formulated the lifetime problem and suggested another -(LP) technique to solve this problem. A centralized solution based on the Garg-K\"{o}nemann -algorithm~\cite{garg98}, provably near -the optimal solution, is also proposed. - -\subsection{Distributed approaches} -%{\bf Distributed approaches} -In distributed $\&$ localized coverage algorithms, the required computation to schedule the activity of sensor nodes will be done by the cooperation among the neighbours nodes. These algorithms may require more computation power for the processing by the cooperated sensor nodes but they are more scaleable for large WSNs. Normally, the localized and distributed algorithms result in non-disjoint set covers. - -Some distributed algorithms have been developed -in~\cite{Gallais06,Tian02,Ye03,Zhang05,HeinzelmanCB02, yardibi2010distributed} to perform the -scheduling so as to coverage preservation. Distributed algorithms typically operate in rounds for -a predetermined duration. At the beginning of each round, a sensor -exchanges information with its neighbors and makes a decision to either -remain turned on or to go to sleep for the round. This decision is -basically made on simple greedy criteria like the largest uncovered -area \cite{Berman05efficientenergy}, maximum uncovered targets -\cite{lu2003coverage}. In \cite{Tian02}, the scheduling scheme is divided -into rounds, where each round has a self-scheduling phase followed by -a sensing phase. Each sensor broadcasts a message containing the node ID -and the node location to its neighbors at the beginning of each round. A -sensor determines its status by a rule named off-duty eligible rule, -which tells him to turn off if its sensing area is covered by its -neighbors. A back-off scheme is introduced to let each sensor delay -the decision process with a random period of time, in order to avoid -simultaneous conflicting decisions between nodes and lack of coverage on any area. -\cite{prasad2007distributed} defines a model for capturing -the dependencies between different cover sets and proposes localized -heuristic based on this dependency. The algorithm consists of two -phases, an initial setup phase during which each sensor computes and -prioritizes the covers and a sensing phase during which each sensor -first decides its on/off status, and then remains on or off for the -rest of the duration. - -The authors in \cite{yardibi2010distributed}, are developed a distributed adaptive sleep scheduling algorithm (DASSA) for WSNs with partial coverage. DASSA does not require location information of sensors while maintaining connectivity and satisfying a user defined coverage target. In DASSA, nodes use the residual energy levels and feedback from the sink for scheduling the activity of their neighbors. This feedback mechanism reduces the randomness in scheduling that would otherwise occur due to the absence of location information. - -In \cite{ChinhVu}, the author proposed a novel distributed heuristic, called -Distributed Energy-efficient Scheduling for k-coverage (DESK), which -ensures that the energy consumption among the sensors is balanced and -the lifetime maximized while the coverage requirement is maintained. -This heuristic works in rounds, requires only 1-hop neighbor -information, and each sensor decides its status (active or sleep) -based on the perimeter coverage model proposed in -\cite{Huang:2003:CPW:941350.941367}. -Idrees et al. ~\cite{idrees2014coverage} proposed a coverage optimization protocol to improve the lifetime in -heterogeneous energy wireless sensor networks. In this work, the coverage protocol distributed in each sensor node in the subregion but the optimization take place over the the whole subregion. We consider only distributing the coverage protocol over two subregions. - -The works presented in \cite{Bang, Zhixin, Zhang} focuses on a Coverage-Aware, Distributed Energy- Efficient and distributed clustering methods respectively, which aims to extend the network lifetime, while the coverage is ensured. -S. Misra et al. \cite{Misra} proposed a localized algorithm for -coverage in sensor networks. The algorithm conserve the energy while -ensuring the network coverage by activating the subset of sensors, -with the minimum overlap area.The proposed method preserves the -network connectivity by formation of the network backbone. -More recently, Shibo et -al. \cite{Shibo} expressed the coverage problem as a minimum weight -submodular set cover problem and proposed a Distributed Truncated -Greedy Algorithm (DTGA) to solve it. They take advantage from both -temporal and spatial correlations between data sensed by different -sensors, and leverage prediction, to improve the lifetime. - - -Some other approaches do not consider a synchronized and predetermined -period of time where the sensors are active or not. Indeed, each -sensor maintains its own timer and its wake-up time is randomized -\cite{Ye03} or regulated \cite{cardei2005maximum} over time. - -The main contributions of our approach can be summarized as follows: (1) The high coverage ratio, (2) The reduced number of active nodes. 3) The optimization distributed over the subregions in the area of interest. 4) The dynamic leader election at each round based on some priority factors that will apply activity scheduling based optimization on the subregion to activate as less number as possible of sensor nodes to take the mission of the coverage in each subregion(5) The very low energy consumption. 6) The higher network lifetime. 7) primary point coverage model to represent the sensing range of the sensor node. All this came from addresses three main questions to build a scheduling strategy by our EDMCOP Protocol : - - {\bf How must the phases for information exchange, decision and - sensing be planned over time?} Our algorithm divides the time line - into a number of rounds. Each round contains 4 phases: Information - Exchange, Leader Election, Decision, and Sensing. - - {\bf What are the rules to decide which node has to be turned on - or off?} Our algorithm tends to limit the overcoverage of points of - interest to avoid turning on too many sensors covering the same - areas at the same time, and tries to prevent undercoverage. The - decision is a good compromise between these two conflicting - objectives. - - {\bf Which node should make such a decision?} As mentioned in - \cite{pc10}, both centralized and distributed algorithms have their - own advantages and disadvantages. Centralized coverage algorithms - have the advantage of requiring very low processing power from the - sensor nodes which have usually limited processing capabilities. - Distributed algorithms are very adaptable to the dynamic and - scalable nature of sensors network. Authors in \cite{pc10} conclude - that there is a threshold in terms of network size to switch from a - localized to a centralized algorithm. Indeed the exchange of - messages in large networks may consume a considerable amount of - energy in a centralized approach compared to a distributed one. Our - work does not consider only one leader to compute and to broadcast - the scheduling decision to all the sensors. When the network size - increases, the network is divided into many subregions and the - decision is made by a leader in each subregion. - - -\section{Preliminaries} -\label{Pr} - -\subsection{Coverage Problem} -The most discussed coverage problems in literature can be classified -into three types \cite{ghosh2008coverage}\cite{wang2011coverage}: area coverage \cite{mulligan2010coverage}(also called full or blanket -coverage), target coverage \cite{yang2014novel}, and barrier coverage \cite{HeShibo}. An area coverage problem is to find a minimum number of sensors to work, such that each physical point in the area is within the sensing range of at least one working sensor node. -Target coverage problem is to cover only a finite number of discrete -points called targets. This type of coverage has mainly military -applications. The problem of preventing an intruder from entering a region of interest is referred to as the barrier coverage . Our work will concentrate on the area coverage by design -and implementation of a strategy, which efficiently selects the active -nodes that must maintain both sensing coverage and network -connectivity and at the same time improve the lifetime of the wireless -sensor network. But, requiring that all physical points of the -considered region are covered may be too strict, especially where the -sensor network is not dense. Our approach represents an area covered -by a sensor as a set of primary points and tries to maximize the total -number of primary points that are covered in each round, while -minimizing overcoverage (points covered by multiple active sensors -simultaneously). - - -\subsection{Network Lifetime} -Various definitions exist for the lifetime of a sensor -network~\cite{die09}. The main definitions proposed in the literature are -related to the remaining energy of the nodes or to the coverage percentage. -The lifetime of the network is mainly defined as the amount -of time during which the network can satisfy its coverage objective (the -amount of time that the network can cover a given percentage of its -area or targets of interest). In this work, we assume that the network -is alive until all nodes have been drained of their energy or the -sensor network becomes disconnected, and we measure the coverage ratio -during the WSN lifetime. Network connectivity is important because an -active sensor node without connectivity towards a base station cannot -transmit information on an event in the area that it monitors. - -\subsection{Activity Scheduling } -Activity scheduling is to schedule the activation and deac- -tivation of sensor nodes. The basic objective is to decide which -sensors are in what states (active or sleeping mode) and for -how long, so that the application coverage requirement can be -guaranteed and the network lifetime can be prolonged. Various -approaches, including centralized, distributed, and localized -algorithms, have been proposed for activity scheduling. In -distributed algorithms, each node in the network autonomously -makes decisions on whether to turn on or turn off itself only -using local neighbor information. In centralized algorithms, a -central controller (a node or base station) informs every sensors -of the time intervals to be activated. There are many sensor node scheduling methods are proposed in \cite{wang2010clique}, where they are grouped into two main categories:round-based sensor node scheduling in which, sensor nodes will execute the scheduling -algorithm during the initialization of each round and group-based sensor node scheduling in which, each node will performs the scheduling algorithm only once after its deployment and after -the execution of scheduling algorithm, all nodes will be allocated into different groups. - - - -\section{ The EDMCOP Protocol Description} -\label{pd} - -In this section, we introduce Energy-Efficient Distributed -Multirounds Coverage Optimization Protocol named EDMCOP, which is distributed on the subregions for the area of interest. It is based on two efficient techniques: network -leader election and sensor activity scheduling for coverage preservation and energy conservation continuously and efficiently to maximize the lifetime in the network. -The main features of our EDMCOP protocol: i)It divides the area of interest into subregions. ii)It requires only the information of the nodes within the subregion. iii) it divides the network lifetime into rounds. iv)It based on the autonomous distributed decision by the nodes in the subregion to elect the Leader, which will apply the activity scheduling based optimization on the subregion. v) it achieves an energy consumption balancing among the nodes in the subregion by selecting the nodes with maximum energy as leader in each round. vi) It uses the optimization to select the best representative set of sensors in the subregion by optimize the coverage and the lifetime over the area of interest. -vii)It uses our developed primary point coverage model, which represent the sensing range of the sensor as a set of points, which are used by the our optimization algorithm. viii) It uses a simple energy model that takes communication, sensing and computation energy consumptions into account to evaluate the performance of our Protocol. - - -\subsection{ Assumptions and Models} -We consider a randomly and uniformly deployed network consisting of -static wireless sensors. The wireless sensors are deployed in high -density to ensure initially a full coverage of the interested area. We -assume that all nodes are homogeneous in terms of communication and -processing capabilities and heterogeneous in term of energy provision. -The location information is available to the sensor node either -through hardware such as embedded GPS or through location discovery -algorithms. -\indent We consider a boolean disk coverage model which is the most -widely used sensor coverage model in the literature. Each sensor has a -constant sensing range $R_s$. All space points within a disk centered -at the sensor with the radius of the sensing range is said to be -covered by this sensor. We also assume that the communication range $R_c \geq 2R_s$. -In fact, Zhang and Zhou~\cite{Zhang05} proved that if the transmission range fulfills the -previous hypothesis, a complete coverage of a convex area implies -connectivity among the working nodes in the active mode. - - - -%\begin{figure}[h!] -%\centering -%\begin{tabular}{cc} -%%\includegraphics[scale=0.25]{fig1.pdf}\\ %& \includegraphics[scale=0.10]{1.pdf} \\ -%%(A) Figure 1 & (B) Figure 2 -%\end{tabular} -%\caption{Unit Circle in radians. } -%\label{fig:cluster1} -%\end{figure} - -%By using the Unit Circle in figure~\ref{fig:cluster1}, -%We choose to representEach wireless sensor node will be represented into a selected number of primary points by which we can know if the sensor node is covered or not. -% Figure ~\ref{fig:cluster2} shows the selected primary points that represents the area of the sensor node and according to the sensing range of the wireless sensor node. - -\indent Instead of working with the coverage area, we consider for each -sensor a set of points called primary points. We also assume that the -sensing disk defined by a sensor is covered if all the primary points of -this sensor are covered. -%\begin{figure}[h!] -%\centering -%\begin{tabular}{cc} -%%\includegraphics[scale=0.25]{fig2.pdf}\\ %& \includegraphics[scale=0.10]{1.pdf} \\ -%%(A) Figure 1 & (B) Figure 2 -%\end{tabular} -%\caption{Wireless Sensor Node Area Coverage Model.} -%\label{fig:cluster2} -%\end{figure} -By knowing the position (point center: ($p_x,p_y$)) of a wireless -sensor node and its $R_s$, we calculate the primary points directly -based on the proposed model. We use these primary points (that can be -increased or decreased if necessary) as references to ensure that the -monitored region of interest is covered by the selected set of -sensors, instead of using all the points in the area. - -\indent We can calculate the positions of the selected primary -points in the circle disk of the sensing range of a wireless sensor -node (see figure~\ref{fig1}) as follows:\\ -$(p_x,p_y)$ = point center of wireless sensor node\\ -$X_1=(p_x,p_y)$ \\ -$X_2=( p_x + R_s * (1), p_y + R_s * (0) )$\\ -$X_3=( p_x + R_s * (-1), p_y + R_s * (0)) $\\ -$X_4=( p_x + R_s * (0), p_y + R_s * (1) )$\\ -$X_5=( p_x + R_s * (0), p_y + R_s * (-1 )) $\\ -$X_6= ( p_x + R_s * (\frac{-\sqrt{2}}{2}), p_y + R_s * (0)) $\\ -$X_7=( p_x + R_s * (\frac{\sqrt{2}}{2}), p_y + R_s * (0))$\\ -$X_8=( p_x + R_s * (\frac{-\sqrt{2}}{2}), p_y + R_s * (\frac{-\sqrt{2}}{2})) $\\ -$X_9=( p_x + R_s * (\frac{\sqrt{2}}{2}), p_y + R_s * (\frac{-\sqrt{2}}{2})) $\\ -$X_{10}=( p_x + R_s * (\frac{-\sqrt{2}}{2}), p_y + R_s * (\frac{\sqrt{2}}{2})) $\\ -$X_{11}=( p_x + R_s * (\frac{\sqrt{2}}{2}), p_y + R_s * (\frac{\sqrt{2}}{2})) $\\ -$X_{12}=( p_x + R_s * (0), p_y + R_s * (\frac{\sqrt{2}}{2})) $\\ -$X_{13}=( p_x + R_s * (0), p_y + R_s * (\frac{-\sqrt{2}}{2})) $. - - \begin{figure}[h!] -%\centering -% \begin{multicols}{6} -\centering -%\includegraphics[scale=0.10]{fig21.pdf}\\~ ~ ~(a) -%\includegraphics[scale=0.10]{fig22.pdf}\\~ ~ ~(b) -\includegraphics[scale=0.25]{principles13.eps} -%\includegraphics[scale=0.10]{fig25.pdf}\\~ ~ ~(d) -%\includegraphics[scale=0.10]{fig26.pdf}\\~ ~ ~(e) -%\includegraphics[scale=0.10]{fig27.pdf}\\~ ~ ~(f) -%\end{multicols} -\caption{Wireless sensor node represented by 13 primary points} -\label{fig1} -\end{figure} - -\subsection{The Main Idea} -The area of interest can be divided using the -divide-and-conquer strategy into smaller areas called subregions and -then our coverage protocol will be implemented in each subregion -simultaneously. Our EDMCOP protocol works in rounds fashion as shown in figure~\ref{fig2}. -\begin{figure}[ht!] -\centering -\includegraphics[width=85mm]{FirstModel.eps} % 70mm -\caption{EDMCOP protocol} -\label{fig2} -\end{figure} - -Each round is divided into 4 phases : Information (INFO) Exchange, -Leader Election, Decision, and Sensing. For each round there is -exactly one set cover responsible for the sensing task. This protocol is -more reliable against an unexpected node failure because it works -in rounds. On the one hand, if a node failure is detected before -making the decision, the node will not participate to this phase, and, -on the other hand, if the node failure occurs after the decision, the -sensing task of the network will be temporarily affected: only during -the period of sensing until a new round starts, since a new set cover -will take charge of the sensing task in the next round. The energy -consumption and some other constraints can easily be taken into -account since the sensors can update and then exchange their -information (including their residual energy) at the beginning of each -round. However, the pre-sensing phases (INFO Exchange, Leader -Election, Decision) are energy consuming for some nodes, even when -they do not join the network to monitor the area. -We define two types of packets to be used by our EDMCOP protocol. -\begin{enumerate}[(a)] -\item INFO packet: sent by each sensor node to all the nodes of it's subregion for information exchange. -\item ActiveSleep packet: sent by the leader to all the nodes in the same of it's subregion to inform them to be Active or Sleep during the sensing phase. -\end{enumerate} - -There are four status for each sensor node in the network -\begin{enumerate}[(a)] -\item LISTENING: Sensor has not yet decided. -\item ACTIVE: Sensor is active. -\item SLEEP: Sensor decides to turn off. -\item COMMUNICATION: Sensor is Transmitting or Receiving packet. -\end{enumerate} - -Below, we describe each phase in more details. - -\subsubsection{Information Exchange Phase} - -Each sensor node $j$ sends its position, remaining energy $RE_j$, and -the number of neighbours $NBR_j$ to all wireless sensor nodes in -its subregion by using an INFO packet and then listens to the packets -sent from other nodes. After that, each node will have information -about all the sensor nodes in the subregion. In our model, the -remaining energy corresponds to the time that a sensor can live in the -active mode. - -%\subsection{\textbf Working Phase:} - -%The working phase works in rounding fashion. Each round include 3 steps described as follow : - -\subsubsection{Leader Election Phase} -This step includes choosing the Wireless Sensor Node Leader (WSNL), -which will be responsible for executing the coverage algorithm. Each -subregion in the area of interest will select its own WSNL -independently for each round. All the sensor nodes cooperate to -select WSNL. The nodes in the same subregion will select the leader -based on the received information from all other nodes in the same -subregion. The selection criteria in order of priority are: larger -number of neighbours, larger remaining energy, and then in case of -equality, larger index. The pseudo-code for leader election phase is provided in Algorithm~1. -\begin{algorithm} - \KwIn{all the parameters related to information exchange} - \KwOut{$node-id$ (: the id of the winner sensor node, which is the leader of current round)} - \BlankLine - \emph{Select the node(s) with higher $NBR_j$ and $ RE_j \geqslant E_{th}$} \; - - \If{ there are more than two nodes with the same maximum $NBR_j$ }{ - \If{ there are more than two nodes with the same maximum $NBR_j$ and the same $RE_j$}{ - \emph{ Select the node with higher id} \; - } - \Else{ - \emph{Select the node with maximum $RE_j$} \; - } - } - \Else{ - \emph{ Select the node with higher $NBR_j$ } \; - } - - \emph{return node-id} \; -\caption{LEADER ELECTION} -\label{alg:LEADER} - -\end{algorithm} - -Where $E_{th}$ is the minimum energy needed to stay active during the sensing phase. As shown in Algorithm~1, the more priority selection factor is the number of $1-hop$ neighbours, $NBR j$, which can minimize the energy consumption during the communication Significantly. - - -\subsubsection{Decision phase} -The WSNL will solve an integer program (see section~\ref{cp}) to -select which sensors will be activated in the following sensing phase -to cover the subregion. WSNL will send Active-Sleep packet to each -sensor in the subregion based on the algorithm's results. - - -\subsubsection{Sensing phase} -Active sensors in the round will execute their sensing task to -preserve maximal coverage in the region of interest. We will assume -that the cost of keeping a node awake (or asleep) for sensing task is -the same for all wireless sensor nodes in the network. Each sensor -will receive an Active-Sleep packet from WSNL informing it to stay -awake or to go to sleep for a time equal to the period of sensing until -starting a new round. - -\subsection{EDMCOP protocol Algorithm} -we first show the pseudo-code of EDMCOP protocol, which is executed by each sensor in the subregion and then describe it in more detail. - -\begin{algorithm} - % \KwIn{all the parameters related to information exchange} -% \KwOut{$winer-node$ (: the id of the winner sensor node, which is the leader of current round)} - \BlankLine - \emph{Initialize the sensor node and determine it's position and it's subregion} \; - - \If{ $RE_j \geq E_{th}$ }{ - \emph{ Send and Receive INFO Packet to and from other nodes in the subregion}\; - \emph{ Collect information and construct the list L for all nodes in the subregion}\; - \emph{ $s_j.status$ = LISTENING}\; - \If{ the received INFO Packet = number of nodes in it's subregion -1 }{ - \emph{ LeaderID $\leftarrow$ \bf Algorithm~\ref{alg:LEADER}}\; - \If{ $ s_j.ID = LeaderID $}{ - \emph{Execute Integer Program Algorithm (Gbest) }\; - \For{$k\leftarrow 1$ \KwTo No. of nodes in subregion}{ - \If{$ s_j.ID \neq L_k$ }{ - \If{$ Gbest_k = 1$ }{ - \emph{ Send ActiveSleep() Packet with status = ACTIVE }\; - } - \Else{\emph{Send ActiveSleep() Packet with status = SLEEP}\;} - \Else{ - \If{$ Gbest_k = 1$ }{ - \emph{ $s_j.status$ = ACTIVE}\; - \emph{UPDATE Remaining Energy $RE_j $}\; - } - \Else{ - \emph{ $s_j.status$ = SLEEP}\; - \emph{UPDATE Remaining Energy $RE_j $}\; - } - } - } - } - - } - \Else{ - \emph{Wait ActiveSleep() Packet from the Leader}\; - \If{received ActiveSleep().status = ACTIVE }{ - \emph{ $s_j.status$ = ACTIVE}\; - \emph{UPDATE Remaining Energy $RE_j $}\; - } - \Else{ - \emph{ $s_j.status$ = SLEEP}\; - \emph{UPDATE Remaining Energy $RE_j $}\; - } - } - } - - } - \Else { Exclude me from entering in the current round} - - % \emph{return X} \; -\caption{EDMCOP($s_j$)} -\label{alg:DMRCLOP} - -\end{algorithm} - -The EDMCOP protocol work in rounds and executed at each sensor node in the network , each sensor node can still sense data while being in -LISTENING mode. Thus, by entering the LISTENING mode at the beginning of each round, -sensor nodes still executing sensing task while participating in the leader election and decision phases. More specifically, The EDMCOP protocol algorithm works as follow: -Initially, the sensor node check it's remaining energy in order to participate in the current round. Each sensor node determines it's position and it's subregion based Embedded GPS or Location Discovery Algorithm. After that, All the sensors collect position coordinates, current remaining energy, sensor node id, and the number of its one-hop live neighbors during the information exchange. It stores this information into a list L. -The sensor node enter in listening mode waiting to receive ActiveSleep packet from the leader to take the decision. Each sensor node will execute the Algorithm~1 to know who is the leader. After that, if the sensor node is leader, It will execute the integer program algorithm ( see section~\ref{cp}) to optimize the coverage and the lifetime in it's subregion. After the decision, the optimization approach will select the set of sensor nodes to take the mission of coverage during the sensing phase. The leader will send ActiveSleep packet to each sensor node in the subregion to inform him to it's status during the period of sensing, either Active or sleep until the starting of next round. Based on the decision, the leader as other nodes in subregion, either go to be active or go to be sleep during current sensing phase. the other nodes in the same subregion will stay in listening mode waiting the ActiveSleep packet from the leader. After finishing the time period for sensing, all the sensor nodes in the same subregion will start new round by executing the EDMCOP protocol and the lifetime in the subregion will continue until all the sensor nodes are died or the network becomes disconnected in the subregion. - -\section{Coverage problem formulation} -\label{cp} - - -\indent Our model is based on the model proposed by -\cite{pedraza2006} where the objective is to find a maximum number of -disjoint cover sets. To accomplish this goal, authors proposed an -integer program, which forces undercoverage and overcoverage of targets -to become minimal at the same time. They use binary variables -$x_{jl}$ to indicate if sensor $j$ belongs to cover set $l$. In our -model, we consider binary variables $X_{j}$, which determine the -activation of sensor $j$ in the sensing phase of the round. We also -consider primary points as targets. The set of primary points is -denoted by $P$ and the set of sensors by $J$. - -\noindent For a primary point $p$, let $\alpha_{jp}$ denote the -indicator function of whether the point $p$ is covered, that is: -\begin{equation} -\alpha_{jp} = \left \{ -\begin{array}{l l} - 1 & \mbox{if the primary point $p$ is covered} \\ - & \mbox{by sensor node $j$}, \\ - 0 & \mbox{otherwise.}\\ -\end{array} \right. -%\label{eq12} -\end{equation} -The number of active sensors that cover the primary point $p$ is equal -to $\sum_{j \in J} \alpha_{jp} * X_{j}$ where: -\begin{equation} -X_{j} = \left \{ -\begin{array}{l l} - 1& \mbox{if sensor $j$ is active,} \\ - 0 & \mbox{otherwise.}\\ -\end{array} \right. -%\label{eq11} -\end{equation} -We define the Overcoverage variable $\Theta_{p}$ as: -\begin{equation} - \Theta_{p} = \left \{ -\begin{array}{l l} - 0 & \mbox{if the primary point}\\ - & \mbox{$p$ is not covered,}\\ - \left( \sum_{j \in J} \alpha_{jp} * X_{j} \right)- 1 & \mbox{otherwise.}\\ -\end{array} \right. -\label{eq13} -\end{equation} -\noindent More precisely, $\Theta_{p}$ represents the number of active -sensor nodes minus one that cover the primary point $p$.\\ -The Undercoverage variable $U_{p}$ of the primary point $p$ is defined -by: -\begin{equation} -U_{p} = \left \{ -\begin{array}{l l} - 1 &\mbox{if the primary point $p$ is not covered,} \\ - 0 & \mbox{otherwise.}\\ -\end{array} \right. -\label{eq14} -\end{equation} - -\noindent Our coverage optimization problem can then be formulated as follows -\begin{equation} \label{eq:ip2r} -\left \{ -\begin{array}{ll} -\min \sum_{p \in P} (w_{\theta} \Theta_{p} + w_{U} U_{p})&\\ -\textrm{subject to :}&\\ -\sum_{j \in J} \alpha_{jp} X_{j} - \Theta_{p}+ U_{p} =1, &\forall p \in P\\ -%\label{c1} -%\sum_{t \in T} X_{j,t} \leq \frac{RE_j}{e_t} &\forall j \in J \\ -%\label{c2} -\Theta_{p}\in \mathbb{N} , &\forall p \in P\\ -U_{p} \in \{0,1\}, &\forall p \in P \\ -X_{j} \in \{0,1\}, &\forall j \in J -\end{array} -\right. -\end{equation} - - - -\begin{itemize} -\item $X_{j}$ : indicates whether or not the sensor $j$ is actively - sensing in the round (1 if yes and 0 if not); -\item $\Theta_{p}$ : {\it overcoverage}, the number of sensors minus - one that are covering the primary point $p$; -\item $U_{p}$ : {\it undercoverage}, indicates whether or not the primary point - $p$ is being covered (1 if not covered and 0 if covered). -\end{itemize} - -The first group of constraints indicates that some primary point $p$ -should be covered by at least one sensor and, if it is not always the -case, overcoverage and undercoverage variables help balancing the -restriction equations by taking positive values. There are two main -objectives. First, we limit the overcoverage of primary points in order to -activate a minimum number of sensors. Second we prevent the absence of monitoring on - some parts of the subregion by minimizing the undercoverage. The -weights $w_\theta$ and $w_U$ must be properly chosen so as to -guarantee that the maximum number of points are covered during each -round. - - -\section{Simulation Results and Analysis} -\label{exp} -In this section, we conducted a series of simulations to evaluate the -efficiency and the relevance of our approach, using the discrete event -simulator OMNeT++ \cite{varga}. The simulation parameters are summarized in -Table~\ref{table3} - -\begin{table}[ht] -\caption{Relevant parameters for network initializing.} -% title of Table -\centering -% used for centering table -\begin{tabular}{c|c} -% centered columns (4 columns) - \hline -%inserts double horizontal lines -Parameter & Value \\ [0.5ex] - -%Case & Strategy (with Two Leaders) & Strategy (with One Leader) & Simple Heuristic \\ [0.5ex] -% inserts table -%heading -\hline -% inserts single horizontal line -Sensing Field & $(50 \times 25)~m^2 $ \\ -% inserting body of the table -%\hline -Nodes Number & 50, 100, 150, 200 and 250~nodes \\ -%\hline -Initial Energy & 50-75~joules \\ -%\hline -Sensing Period & 20 Minutes \\ -$E_{thr}$ & 12.2472 \\ -$R_s$ & 5~m \\ -%\hline -$w_{\Theta}$ & 1 \\ -% [1ex] adds vertical space -%\hline -$w_{U}$ & $|P^2|$ -%inserts single line -\end{tabular} -\label{table3} -% is used to refer this table in the text -\end{table} - -A simulation -ends when all the nodes are dead or the sensor network becomes -disconnected (some nodes may not be able to send, to a base station, an -event they sense). -Our proposed coverage protocol uses a simple energy model -defined by~\cite{ChinhVu} that based on ~\cite{raghunathan2002energy} with some modification as energy consumption model for each wireless sensor node in the network and for all the simulations. - -The modification is to add the energy consumption for receiving the packets as well as we ignore the part that related to the sensing range because we used fixed sensing range. The new energy consumption model will take inro account the energy consumption for communication (packet transmission/reception), data sensing and computational energy. -There are four subsystems in each sensor node that consume energy: the micro-controller -unit (MCU) subsystem which is capable of computation, communication subsystem which is responsible for -transmitting/receiving messages, sensing subsystem that collects data, and the powe suply which supplies power to the complete sensor node ~\cite{raghunathan2002energy}. In our model, we will concentrate on first three main subsystems and each subsystem can be turned on or off depending on the current status of the sensor which is summarized in Table~\ref{table4}. - -\begin{table}[ht] -\caption{The Energy Consumption Model} -% title of Table -\centering -% used for centering table -\begin{tabular}{|c|c|c|c|c|} -% centered columns (4 columns) - \hline -%inserts double horizontal lines -Sensor mode & MCU & Radio & Sensing & Power (mW) \\ [0.5ex] -\hline -% inserts single horizontal line -Listening & On & On & On & 20.05 \\ -% inserting body of the table -\hline -Active & On & Off & On & 9.72 \\ -\hline -Sleep & Off & Off & Off & 0.02 \\ -\hline - \multicolumn{4}{|c|}{Energy needed to send/receive a 1-bit} & 0.2575\\ - \hline -\end{tabular} - -\label{table4} -% is used to refer this table in the text -\end{table} - -For the simplicity, we ignore the energy needed to turn on the -radio, to start up the sensor node, the transition from mode to another, etc. We also do not consider the need of collecting sensing data. Thus, when a sensor becomes active (i.e., it already decides it status), it can turn its radio off to save battery. Since our couverage optimization protocol uses two types of the packets, the size of the INFO-Packet and Status-Packet are 112 bits and 16 bits respectively. The value of energy spent to send a message shown in Table~\ref{table4} is obtained by using the equation in ~\cite{raghunathan2002energy} to calculate the energy cost for transmitting messages and we propose the same value for receiving the packets. - - -We performed simulations for five different densities varying from 50 to 250~nodes. Experimental results -were obtained from randomly generated networks in which nodes are -deployed over a $(50 \times 25)~m^2 $ sensing field. More precisely, the deployment is controlled at a coarse scale in order to ensure that the deployed nodes can fully cover the sensing - field with the given sensing range. -The energy of each node in a network is initialized randomly within the -range 50-75~joules. Each sensor node will not participate in the next round if its remaining energy is less than $E_{thr}$, the minimum energy needed for the node to stay alive during one round. - -In the simulations, we introduce the following performance metrics to -evaluate the efficiency of our approach: - -(i) Coverage Ratio (CR): the coverage ratio measures how much the area of a sensor field is covered. In our case, we treated the sensing fields as a grid, and used each grid point as a sample point -for calculating the coverage. The coverage ratio can be calculated by: -\begin{equation*} -\scriptsize -\mbox{CR}(\%) = \frac{\mbox{$n$}}{\mbox{$N$}} \times 100. -\end{equation*} -Where: $n$ is the Number of Covered Grid points by the Active Sensors of the all subregions of the network during the current sensing phase and $N$ is total number of grid points in the sensing field of the network. -The accuracy of this method depends on the distance between grids. In our -simulations, the sensing field has been divided into 50 by 25 grid points, which means -there are $51~x~26~ = ~ 1326$ points in total. Therefore, for our simulations, the error in the coverage calculation is less than ~ 1 $\% $. - -(ii) Number of Active Sensors Ratio(ASR): It is important to have as few active nodes as possible in each round, -in order to minimize the communication overhead and maximize the -network lifetime.The Active Sensors Ratio is defined as follows: -\begin{equation*} -\scriptsize -\mbox{ASR}(\%) = \sum\limits_{r=1}^R \left( \frac{\mbox{$A_r$}}{\mbox{$S$}} \times 100 \right) . -\end{equation*} -Where: $A_r$ is the number of active sensors in the subregion $r$ during the current sensing phase, $S$ is the total number of sensors in the network, and $R$ is the total number of the subregions in the network. - -(iii) Energy Saving Ratio(ESR):is defined by: -\begin{equation*} -\scriptsize -\mbox{ESR}(\%) = \sum\limits_{r=1}^R \left( \frac{\mbox{${ES}_r$}}{\mbox{$S$}} \times 100 \right) . -\end{equation*} -Where: ${ES}_r$ is the number of alive sensors in subregion $r$ during this round. The longer the ratio is, the more redundant sensor nodes are switched off, and consequently the longer the network may live. - -(iv) Energy Consumption: - - Energy Consumption (EC) can be seen as the total energy consumed by the sensors during the lifetime of the network divided by the total number of rounds. The EC can be computed as follow: \\ - \begin{equation*} -\scriptsize -\mbox{EC} = \frac{\mbox{$\sum\limits_{d=1}^D \left( E^c_d + E^l_d + E^a_d + E^s_d \right)$ }}{\mbox{$D$}} . -\end{equation*} -%\begin{equation*} -%\scriptsize -%\mbox{EC} = \frac{\mbox{$\sum\limits_{d=1}^D E^c_d$}}{\mbox{$D$}} + \frac{\mbox{$\sum\limits_{d=1}^D %E^l_d$}}{\mbox{$D$}} + \frac{\mbox{$\sum\limits_{d=1}^D E^a_d$}}{\mbox{$D$}} + %\frac{\mbox{$\sum\limits_{d=1}^D E^s_d$}}{\mbox{$D$}}. -%\end{equation*} - -Where: D is the total number of rounds. -The total energy consumed by the sensors (EC) comes through taking into consideration four main energy factors, which are $E^c_d$, $E^l_d$, $E^a_d$, and $E^s_d$. -The factor $E^c_d$ represents the energy consumption resulting from wireless communications is calculated by taking into account the energy spent by all the nodes when transmitting and -receiving packets during round $d$. The $E^l_d$ represents the energy consumed by all the sensors during the listening mode before taking the decision to go Active or Sleep in round $d$. The $E^a_d$ and $E^s_d$ are refered to enegy consumed by the turned on and turned off sensors in the period of sensing during the round $d$. - -(v) Network Lifetime: we have defined the network lifetime as the time until all -nodes have been drained of their energy or each sensor network monitoring an area has become disconnected. - - -(vi) Execution Time: a sensor node has limited energy resources and computing power, -therefore it is important that the proposed algorithm has the shortest -possible execution time. The energy of a sensor node must be mainly -used for the sensing phase, not for the pre-sensing ones. - -(vii)The number of stopped simulation runs: we will study the percentage of simulations, which are stopped due to network disconnections per round. - - - -\subsection{Performance Comparison for differnet subregions} -\label{sub1} -In this subsection, we will study the performance of our approach for a different number of regions (Leaders). -10~simulation runs are performed with different network topologies for each node density. The results presented hereafter are the average of these 10 runs. -Our approach are called strategy 1 ( With One Leader), strategy 2 ( With Two Leaders), strategy 3 ( With Four Leaders), and strategy 4 ( With Eight Leaders). The strategy 1 ( With One Leader) is a centralized approach on all the area of the interest, while strategy 2 ( With Two Leaders), strategy 3 ( With Four Leaders), and strategy 4 ( With Eight Leaders) are distributed on two, four, and eight subregions respectively. -\subsubsection{The impact of the number of rounds on the coverage ratio} -In this experiment, Figure~\ref{fig3} shows the impact of the -number of rounds on the average coverage ratio for 150 deployed nodes -for the four strategies. -\parskip 0pt -\begin{figure}[h!] -\centering - \includegraphics[scale=0.43] {R1/CR.eps} -\caption{The impact of the number of rounds on the coverage ratio for 150 deployed nodes} -\label{fig3} -\end{figure} - -It can be seen that the four strategies -give nearly similar coverage ratios during the first three rounds. -As shown in the figure ~\ref{fig3}, when we increase the number of sub-regions, It will leads to cover the area of interest for a larger number of rounds. Coverage ratio decreases when the number of rounds increases due to dead nodes. Although some nodes are dead, -thanks to strategy~4, other nodes are preserved to ensure the -coverage. Moreover, when we have a dense sensor network, it leads to -maintain the full coverage for a larger number of rounds. Strategy~4 is -slightly more efficient than other strategies, because strategy~4 subdivides -the Area of interest into 8~subregions and if one of the eight subregions becomes -disconnected, the coverage may be still ensured in the remaining -subregions. - -\subsubsection{The impact of the number of rounds on the active sensors ratio} - Figure~\ref{fig4} shows the average active nodes ratio versus the number of rounds -for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R1/ASR.eps} -\caption{The impact of the number of rounds on the active sensors ratio for 150 deployed nodes } -\label{fig4} -\end{figure} - -The results presented in figure~\ref{fig4} show the superiority of -the proposed strategy 4, in comparison with the other strategies. The -strategy with less number of leaders uses less active nodes than the other strategies, which uses a more number of leaders until the last rounds, because it uses central control on -the larger area of the sensing field. The advantage of the strategy~4 approach is -that even if a network is disconnected in one subregion, the other ones -usually continues the optimization process, and this extends the lifetime of the network. - -\subsubsection{The impact of the number of rounds on the energy saving ratio} -In this experiment, we consider a performance metric linked to energy. Figure~\ref{fig5} shows the average Energy Saving Ratio versus number of rounds for all four strategies and for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R1/ESR.eps} -\caption{The impact of the number of rounds on the energy saving ratio for 150 deployed nodes} -\label{fig5} -\end{figure} - -The simulation results show that our strategies allow to efficiently -save energy by turning off some sensors during the sensing phase. As -expected, the strategy 4 is usually slightly better than -the other strategies, because the distributed optimization on larger number of subregions permits to minimize the energy needed for communication and It led to save more energy obviously. Indeed, when there are more than one subregion more nodes -remain awake near the border shared by them but the energy consumed by these nodes have no effect in comparison with the energy consumed by the communication. Note that again as the number of rounds increases the strategy 4 becomes the most -performing one, since it takes longer to have the eight subregion networks -simultaneously disconnected. - -\subsubsection{The percentage of stopped simulation runs} -Figure~\ref{fig6} illustrates the percentage of stopped simulation -runs per round for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.43]{R1/SR.eps} -\caption{The percentage of stopped simulation runs compared to the number of rounds for 150 deployed nodes } -\label{fig6} -\end{figure} -It can be observed that the -strategy 1 is the approach which stops first because it apply the -centralized control on all the area of interest That is why it is first exhibits network disconnections. Thus, as explained previously, in case of the strategy 4 with several subregions the optimization effectively continues as long as a network in a -subregion is still connected. This longer partial coverage -optimization participates in extending the network lifetime. - -\subsubsection{The Energy Consumption} -In this experiment, we study the effect of the energy consumed by the sensors during the communication , listening, active, and sleep modes for different network densities. Figure~\ref{fig7} illustrates the energy consumption for the different -network sizes and for the four proposed stratgies. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R1/EC.eps} -\caption{The Energy Consumption} -\label{fig7} -\end{figure} - -The results show that the strategy with eight leaders is the most competitive from the energy -consumption point of view. The other strategies have a high energy consumption due to many -communications as well as the energy consumed during the listening before taking the decision. In fact, a distributed method on the subregions greatly reduces the number of communications and the time of listening so thanks to the partitioning of the initial -network in several independent subnetworks. - - -\subsubsection{The impact of the number of sensors on execution time} -In this experiment, we study the the impact of the size of the network on the excution time of the our distributed optimization approach. Table~\ref{table1} gives the average execution times in seconds for the decision phase (solving of the optimization problem) -during one round. They are given for the different approaches and -various numbers of sensors. We can see from Table~\ref{table1}, that the strategy 4 has very low execution times in comparison with other strategies, because it distributed on larger number of small subregions. Conversely, the strategy 1 which requires to solve an optimization problem considering all the nodes presents high execution times. -Moreover, increasing the network size by 50~nodes multiplies the time -by almost a factor of 10. The strategy 4 has more -suitable times. We think that in distributed fashion the solving of -the optimization problem in a subregion can be tackled by sensor -nodes. Overall, to be able to deal with very large networks, a -distributed method is clearly required. -\begin{table}[ht] -\caption{The Execution Time(s) vs The Number of Sensors} -% title of Table -\centering -% used for centering table -\begin{tabular}{|c|c|c|c|c|} -% centered columns (4 columns) - \hline -%inserts double horizontal lines -Sensors number & Strategy~1 & Strategy~2 & Strategy~3 & Strategy~4 \\ [0.5ex] -\hline -% inserts single horizontal line -50 & 0.1848396 & 0.04655324 & 0.0117669418 & 0.0033982841 \\ -% inserting body of the table -\hline -100 & 1.895704 & 0.2190363 & 0.0445454425 & 0.0111192651 \\ -\hline -150 & 12.211936 & 0.6322759 & 0.095189135 & 0.0228475025 \\ -\hline -200 & 152.25806 & 2.285319 & 0.184868 & 0.0412940988 \\ -\hline -250 & 1542.5396 & 5.656081 & 0.3147647 & 0.0609174088 \\ -% [1ex] adds vertical space -\hline -%inserts single line -\end{tabular} -\label{table1} -% is used to refer this table in the text -\end{table} - -\subsubsection{The Network Lifetime} -Finally, in figure~\ref{fig8}, the -network lifetime for different network sizes and for the four strategies is illustrated. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R1/LT.eps} -\caption{The Network Lifetime } -\label{fig8} -\end{figure} -We see that the strategy 1 results in execution times that quickly become unsuitable for a sensor network as well as the energy consumed during the communication seems to be huge because it used a centralised control on the all the area of interest. - -As highlighted by figure~\ref{fig8}, the network lifetime obviously -increases when the size of the network increases, with our approach strategy~4 -that leads to the larger lifetime improvement. By choosing the best -suited nodes, for each round, to cover the Area of interest and by -letting the other ones sleep in order to be used later in next rounds, -our strategy~4 efficiently prolonges the network lifetime. Comparison shows that -the Strategy~4, which uses eight leaders, is the best -one because it is robust to network disconnection during the network lifetime. It -also means that distributing the algorithm in each node and -subdividing the sensing field into many subregions, which are managed -independently and simultaneously, is the most relevant way to maximize -the lifetime of a network. - - -\subsection{Performance Comparison for Differnet Primary Point Models} -\label{sub2} -Based on the results, which are conducted in subsection~\ref{sub1}, we will study the performance of the Strategy~4 approach for a different primary point models. -50~simulation runs are performed with different network topologies for each node density. The results presented hereafter are the average of these 50 runs. -In this comparisons, our approaches are called Model~1( With 5 Primary Points), Model~2 ( With 13 Primary Points), Model~3 ( With 17 Primary Points), and Model~4 ( With 21 Primary Points). The simulation will applied with strategy~4 by subdividing the area of interest into eight subregions and distribute our strategy~4 approach on the all subregions. -\subsubsection{The impact of the number of rounds on the coverage ratio} -In this experiment, we Figure~\ref{fig33} shows the impact of the -number of rounds on the average coverage ratio for 150 deployed nodes -for the four strategies. -\parskip 0pt -\begin{figure}[h!] -\centering - \includegraphics[scale=0.5] {R2/CR.eps} -\caption{The impact of the number of rounds on the coverage ratio for 150 deployed nodes} -\label{fig33} -\end{figure} -It is shown that Model~4 and Model~3 provides a -better coverage ratio with 99.5\% and 99.4\% against 99.2\% and 98.1\% produced by -model~2 and Model~1 for the first ninth rounds, because they are used a larger number of primary points to represent the sensing range of the sensor during optimization process. Moreover, when the number of rounds increases, coverage -ratio produced by Model~4 and Model~3 decreases in comparison with Model~1 and Model~2 due to the high energy consumption during the listening to take the decision after finishing optimization process for larger number of primary points. As shown in the figure ~\ref{fig33}, Coverage ratio decreases when the number of rounds increases due to dead nodes. Although some nodes are dead, -thanks to Model~2, which is slightly more efficient than other Models, because Model~2 balances between the number of rounds and the better coverage ratio in comparison with other Models. - -\subsubsection{The impact of the number of rounds on the active sensors ratio} - Figure~\ref{fig44} shows the average active nodes ratio versus the number of rounds -for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R2/ASR.eps} -\caption{The impact of the number of rounds on the active sensors ratio for 150 deployed nodes } -\label{fig44} -\end{figure} - -The results presented in figure~\ref{fig44} show the superiority of -the proposed Model 1, in comparison with the other Models. The -model with less number of primary points uses less active nodes than the other models, which uses a more number of primary points to represent the area of the sensor. According to the results that presented in figure~\ref{fig33}, we observe that although the Model~1 continue to a larger number of rounds, but it has less coverage ratio compared with other models.The advantage of the Model~2 approach is to use less number of active nodes for each round compared with Model~3 and Model~4, and this led to continue for a larger number of rounds with extending the network lifetime. Model~2 has a better coverage ratio compared to Model~1 and acceptable number of rounds. - -\subsubsection{The impact of the number of rounds on the energy saving ratio} -In this experiment, we study the effect of increasing primary points on the energy conservation in the wireless sensor network. Figure~\ref{fig55} shows the average Energy Saving Ratio versus number of rounds for all four Models and for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R2/ESR.eps} -\caption{The impact of the number of rounds on the energy saving ratio for 150 deployed nodes} -\label{fig55} -\end{figure} -The simulation results show that our Models allow to efficiently -save energy by turning off the redundant sensors during the sensing phase. - As expected, the Model 1 is usually slightly better than the other Models, because it turn on a less number of nodes during the sensing phase in comparison with other models and according to the results, which are observed in figure ~\ref{fig33}, and It led to save more energy obviously. - Indeed, when there are more primary points to represent the area of the sensor leads to activate more nodes to cover them and in the same time ensuring more coverage ratio. From the previous presented results, we see it is preferable to choose the model that balance between the coverage ratio and the number of rounds. The Model~2 becomes the most performing one, since it could apply this requirement where, It can coverage the area of interest with a good coverage ratio and for a larger number of rounds prolonging the lifetime of the wireless sensor network. - -\subsubsection{The percentage of stopped simulation runs} -In this study, we want to show the effect of increasing the primary points on the number of stopped simulation runs for each round. Figure~\ref{fig66} illustrates the percentage of stopped simulation -runs per round for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R2/SR.eps} -\caption{The percentage of stopped simulation runs compared to the number of rounds for 150 deployed nodes } -\label{fig66} -\end{figure} -As shown in Figure~\ref{fig66}, when the number of primary points increase leads to increase the percentage of the stopped simulation runs per rounds and starting from round 11 until the the network is died. The reason behind the increase is the increase in the sensors dead When the primary points increases. We can observe that the Model~1 is a better than other models because it conserve more energy by turn on less number of sensors during the sensing phase, but in the same time it preserve the coverage with a less coverage ratio in comparison with other models. Model~2 seems to be more suitable to be used in sensor networks. - - -\subsubsection{The Energy Consumption} -In this experiment, we study the effect of increasing the primary points to represent the area of the sensor on the the energy consumed by the wireless sensor network for different network densities. Figure~\ref{fig77} illustrates the energy consumption for the different -network sizes and for the four proposed Models. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R2/EC.eps} -\caption{The Energy Consumption} -\label{fig77} -\end{figure} - -We see from the results presented in Figure~\ref{fig77}, The energy consumed by the network for each round increases when the primary points increases, because the decision for optimization process will takes more time leads to consume more energy during the listening mode. The results show that the Model~1 is the most competitive from the energy -consumption point of view but the worst one from coverage ratio point of view. The other Models have a high energy consumption due to the increase in the primary points, which are led to increase the energy consumption during the listening mode before taking the optimization decision. In fact, we see that the Model~2 is a good candidate to be used the wireless sensor network because I have a good coverage ratio and a suitable energy consumption in comparison with other models. - - -\subsubsection{The impact of the number of sensors on execution time} -In this experiment, we study the the impact of the increase in primary points on the excution time of the our distributed optimization approach. Table~\ref{table11} gives the average execution times in seconds for the decision phase (solving of the optimization problem) during one round. -\begin{table}[ht] -\caption{The Execution Time(s) vs The Number of Sensors} -% title of Table -\centering -% used for centering table -\begin{tabular}{|c|c|c|c|c|} -% centered columns (4 columns) - \hline -%inserts double horizontal lines -Sensors number & Model~1 & Model~2 & Model~3 & Model~4 \\ [0.5ex] -\hline -% inserts single horizontal line -50 & 0.0024106288 & 0.0034540527 & 0.0045273282 & 0.0064475788 \\ -% inserting body of the table -\hline -100 & 0.0045475502 & 0.0104693717 & 0.0144968192 & 0.0198072788 \\ -\hline -150 & 0.0090504642 & 0.0224529648 & 0.031136629 & 0.0442327285 \\ -\hline -200 & 0.0156788154 & 0.0412170018 & 0.0566654188 & 0.0785000165 \\ -\hline -250 & 0.023145026 & 0.0618075108 & 0.0853965538 & 0.1195402003 \\ -% [1ex] adds vertical space -\hline -%inserts single line -\end{tabular} -\label{table11} -% is used to refer this table in the text -\end{table} - -They are given for the different primary point models and -various numbers of sensors. We can see from Table~\ref{table11}, that the Model~1 has lower execution time in comparison with other Models, because it used smaller number of primary points to represent the area of the sensor. Conversely, the other primary point models presents higher execution times. -Moreover, the Model~2 has more suitable times, coverage ratio, and saving energy ratio leads to continue for a larger number of rounds extending the network lifetime. We think that a good primary point model, this one that balances between the coverage ratio and the number of rounds during the lifetime of the network. - -\subsubsection{The Network Lifetime} -Finally, we will study the effect of increasing the primary points on the lifetime of the network. In figure~\ref{fig88}, the network lifetime for different network sizes and for the four proposed models is illustrated. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R2/LT.eps} -\caption{The Network Lifetime } -\label{fig88} -\end{figure} -As highlighted by figure~\ref{fig88}, the network lifetime obviously -increases when the size of the network increases, with our approach Model~1 -that leads to the larger lifetime improvement. -Comparison shows that the Model~1, which uses less number of primary points , is the best one because it is less energy consumption during the network lifetime. It is also the worst one from the point of view of coverage ratio. Our proposed Model~2 efficiently prolongs the network lifetime with a good coverage ratio in comparison with other models. - -\subsection{Performance Comparison for differnet Approaches} -Based on the results, which are conducted from previous two subsections, ~\ref{sub1} and \ref{sub2}, we found that the Strategy~4 with Model~2 is the best candidate to be compared with other two approches. The first approach, called DESK that proposed by ~\cite{ChinhVu}, which is a full distributed coverage algorithm. The second approach, called Simple Heuristic, -consists in uniformly dividing the region into squares of $(5 \times -5)~m^2$. During the decision phase, in each square, a sensor is -randomly chosen, it will remain turned on for the coming sensing -phase. In this subsection, 50 simulation runs are -performed with different network topologies. The results -presented hereafter are the average of these 50 runs. - -\subsubsection{The impact of the number of rounds on the coverage ratio} -In this experiment, Figure~\ref{fig333} shows the impact of the -number of rounds on the average coverage ratio for 150 deployed nodes -for the three approaches. -\parskip 0pt -\begin{figure}[h!] -\centering - \includegraphics[scale=0.45] {R3/CR.eps} -\caption{The impact of the number of rounds on the coverage ratio for 150 deployed nodes} -\label{fig333} -\end{figure} - -It is shown that DESK provides a -better coverage ratio with 99.9 \% against 99.2 \% produced by -our approach Strategy~4 for the lowest number of rounds. This is due to -the fact that our protocol Strategy~4 put in sleep mode -redundant sensors using optimization (which lightly decreases the coverage -ratio) while there are more nodes are active in the case of DESK. -Moreover, when the number of rounds increases, coverage -ratio produced by DESK protocol decreases. This is due to dead nodes. However, Our protocol Strategy~4 maintains almost full -coverage. This is because it optimize the coverage and the lifetime in wireless sensor network by selecting the best representative sensor nodes to take the reponsibilty of coverage during the sensing phase and this will leads to continue for a larger number of rounds and prolonging the network lifetime; although some nodes are dead, sensor activity scheduling of our protocol chooses other nodes to ensure the coverage of the area of interest. It can be seen that the Simple Heuristic approach gives similar coverage ratios 99.8 \% during the first four rounds. From the -5th~round the coverage ratio decreases continuously and quickly with the simple heuristic until the 8th~round, the network is died. - -\subsubsection{The impact of the number of rounds on the active sensors ratio} -It is important to have as few active nodes as possible in each round, -in order to minimize the communication overhead and maximize the -network lifetime. Figure~\ref{fig444} shows the average active nodes ratio versus the number of rounds for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R3/ASR.eps} -\caption{The impact of the number of rounds on the active sensors ratio for 150 deployed nodes } -\label{fig444} -\end{figure} - -The results presented in figure~\ref{fig444} show the superiority of -the proposed protocol with Strategy~4, in comparison with the other approaches. We can observe that DESK has 37.5 \% active nodes and our protocol with Strategy~4 -competes perfectly with only 22.6 \% active nodes for the first four rounds. Then as the number of rounds increases our protocol with Strategy~4 generates less active nodes than DESK until the $10^{th}$ round, we see that the DESK has less number of active nodes because there are many nodes are died due to the high energy consumption by the redundant nodes during the sensing phase. The Simple Heuristic turn on 33.3 \% for the first four rounds after that the number of active nodes decreased in the next rounds due to the died nodes until the died of the network in the $8^{th}$ round. - -\subsubsection{The impact of the number of rounds on the energy saving ratio} -In this experiment, we will perform a comparison study for the performance of our protocol with Strategy~4 with two other approaches from the point of view of energy conservation. Figure~\ref{fig555} shows the average Energy Saving Ratio versus number of rounds for all three approaches and for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R3/ESR.eps} -\caption{The impact of the number of rounds on the energy saving ratio for 150 deployed nodes} -\label{fig555} -\end{figure} -The simulation results show that our protocol with Strategy~4 allow to efficiently -save energy by turning off the redundant sensors during the sensing phase. As -expected, our protocol with Strategy~4 is usually slightly better than -the other approaches, because the distributed optimization on the subregions permits to minimize the energy needed for communication as well as turn off all the redundant sensor nodes, which are led to save more energy obviously. Note that again as the number of rounds increases, our protocol with Strategy~4 becomes the most performing one, since it is distributed the optimization process on the eight subregion networks simultaneously so as to optimize the coverage and the lifetime in the network. - -\subsubsection{The percentage of stopped simulation runs} -The results presented in this experiment, is to show the comparison of our protocol with Strategy~4 with other two approaches from the point of view the stopped simulation runs per round. -Figure~\ref{fig666} illustrates the percentage of stopped simulation -runs per round for 150 deployed nodes. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.4]{R3/SR.eps} -\caption{The percentage of stopped simulation runs compared to the number of rounds for 150 deployed nodes } -\label{fig666} -\end{figure} -It can be observed that the Simple Heuristic is the approach, which stops first because it consumes more energy for communication as well as it turn on a large number of redundant nodes during the sensing phase. Our protocol with Strategy~4 has less stopped simulation runs in comparison with DESK because it distributed the optimization on several subregions in order to optimize the coverage and the lifetime of the network by activating a less number of nodes during the sensing phase leading to extend the network lifetime and coverage preservation.The optimization effectively continues as long as a network in a subregion is still connected. - -\subsubsection{The Energy Consumption} -In this experiment, we study the effect of the energy consumed by the wireless sensor network during the communication , listening, active, and sleep modes for different network densities and compare it with other approaches. Figure~\ref{fig777} illustrates the energy consumption for the different -network sizes and for the three approaches. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R3/EC.eps} -\caption{The Energy Consumption} -\label{fig777} -\end{figure} -The results show that our protocol with Strategy~4 is the most competitive from the energy consumption point of view. The other approaches have a high energy consumption due to activating a larger number of redundant nodes as well as the energy consumed for communication, active and listening modes. In fact, a distributed method on the subregions greatly reduces the number of communications and the time of listening so thanks to the partitioning of the initial network into several independent subnetworks. -\subsubsection{The Network Lifetime} -Finally, In this experiment, we will show the superiority of our protocol with Strategy~4 against other two approaches in prolonging the network lifetime. In Figure~\ref{fig888}, the -network lifetime for different network sizes and for the four strategies is illustrated. -\begin{figure}[h!] -\centering -\includegraphics[scale=0.5]{R3/LT.eps} -\caption{The Network Lifetime } -\label{fig888} -\end{figure} - -As highlighted by figure~\ref{fig888}, the network lifetime obviously -increases when the size of the network increases, with our protocol with Strategy~4 -that leads to maximize the lifetime of the network compared with other approaches. -By choosing the best suited nodes, for each round, by optimizing the coverage and lifetime of the network to cover the area of interest and by -letting the other ones sleep in order to be used later in next rounds, our protocol with Strategy~4 efficiently prolonges the network lifetime. -Comparison shows that our protocol with Strategy~4, which uses distributed optimization on the subregions, is the best -one because it is robust to network disconnection during the network lifetime as well as it consume less energy in comparison with other approaches. It also means that distributing the algorithm in each node and subdividing the sensing field into many subregions, which are managed -independently and simultaneously, is the most relevant way to maximize the lifetime of a network. - -\section{Conclusion and future works} -\label{sec:conclusion} - -In this paper, we have addressed the problem of the coverage and the lifetime -optimization in wireless sensor networks. This is a key issue as -sensor nodes have limited resources in terms of memory, energy and -computational power. To cope with this problem, the field of sensing -is divided into smaller subregions using the concept of -divide-and-conquer method, and then a multi-rounds coverage protocol -will optimize coverage and lifetime performances in each subregion. -The proposed protocol combines two efficient techniques: network -leader election and sensor activity scheduling, where the challenges -include how to select the most efficient leader in each subregion and -the best representative active nodes that will optimize the network lifetime -while taking the responsibility of covering the corresponding -subregion. The network lifetime in each subregion is divided into -rounds, each round consists of four phases: (i) Information Exchange, -(ii) Leader Election, (iii) an optimization-based Decision in order to -select the nodes remaining active for the last phase, and (iv) -Sensing. The simulations show the relevance of the proposed -protocol in terms of lifetime, coverage ratio, active sensors ratio, -energy saving, energy consumption, execution time, and the number of -stopped simulation runs due to network disconnection. Indeed, when -dealing with large and dense wireless sensor networks, a distributed -approach like the one we propose allows to reduce the difficulty of a -single global optimization problem by partitioning it in many smaller -problems, one per subregion, that can be solved more easily. - -In future work, we plan to study and propose a coverage protocol which -computes all active sensor schedules in one time, using -optimization methods such as swarms optimization or evolutionary -algorithms. The round will still consist of 4 phases, but the - decision phase will compute the schedules for several sensing phases - which, aggregated together, define a kind of meta-sensing phase. -The computation of all cover sets in one time is far more -difficult, but will reduce the communication overhead. -% use section* for acknowledgement -%\section*{Acknowledgment} - - - - -\bibliographystyle{IEEEtran} -\bibliography{biblio} - - -%\appendices -%\section{Proof of the First Zonklar Equation} -%Appendix one text goes here. - -% you can choose not to have a title for an appendix -% if you want by leaving the argument blank -%\section{} -%Appendix two text goes here. - - -% use section* for acknowledgement -\section*{Acknowledgment} - -We would like to thank , and also thank anonymous reviewers for their constructive comments which helped us to -improve the quality of this paper. - - - -% Can use something like this to put references on a page -% by themselves when using endfloat and the captionsoff option. -\ifCLASSOPTIONcaptionsoff - \newpage -\fi - - - - -\end{document} - - diff --git a/R1/ASR.eps b/R1/ASR.eps index 274522b..f8b6729 100644 --- a/R1/ASR.eps +++ b/R1/ASR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:11:43 2014 +%%CreationDate: Fri Apr 18 01:15:51 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:11:43 2014) + /CreationDate (Fri Apr 18 01:15:51 2014) /DOCINFO pdfmark end } ifelse @@ -631,103 +631,123 @@ stroke ] -36.7 MCshow 1.000 UL LTb -910 352 M +837 352 M 0 63 V 0 2855 R 0 -63 V stroke -910 242 M +837 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1347 352 M +1201 352 M 0 63 V 0 2855 R 0 -63 V stroke -1347 242 M +1201 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1783 352 M +1565 352 M 0 63 V 0 2855 R 0 -63 V stroke -1783 242 M +1565 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2220 352 M +1929 352 M 0 63 V 0 2855 R 0 -63 V stroke -2220 242 M +1929 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2657 352 M +2293 352 M 0 63 V 0 2855 R 0 -63 V stroke -2657 242 M +2293 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3094 352 M +2657 352 M 0 63 V 0 2855 R 0 -63 V stroke -3094 242 M +2657 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3531 352 M +3021 352 M 0 63 V 0 2855 R 0 -63 V stroke -3531 242 M +3021 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3967 352 M +3385 352 M 0 63 V 0 2855 R 0 -63 V stroke -3967 242 M +3385 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -4404 352 M +3749 352 M 0 63 V 0 2855 R 0 -63 V stroke -4404 242 M +3749 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb +4113 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4113 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +] -36.7 MCshow +1.000 UL +LTb +4477 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4477 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] ] -36.7 MCshow 1.000 UL LTb @@ -761,52 +781,60 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor +1.00 0.50 0.31 C LCb setrgbcolor 4316 3152 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 4382 3152 M +1.00 0.50 0.31 C 4382 3152 M 327 0 V -691 1641 M -219 44 V -218 126 V -219 -613 V -1565 756 L -1783 352 L -219 0 V -218 0 V -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -691 1641 Box -910 1685 Box -1128 1811 Box -1347 1198 Box -1565 756 Box -1783 352 Box -2002 352 Box -2220 352 Box -2439 352 Box +655 1641 M +182 44 V +182 126 V +182 -613 V +1383 756 L +1565 352 L +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +655 1641 Box +837 1685 Box +1019 1811 Box +1201 1198 Box +1383 756 Box +1565 352 Box +1747 352 Box +1929 352 Box +2111 352 Box +2293 352 Box +2475 352 Box 2657 352 Box -2875 352 Box -3094 352 Box -3312 352 Box -3531 352 Box +2839 352 Box +3021 352 Box +3203 352 Box +3385 352 Box +3567 352 Box 3749 352 Box -3967 352 Box -4186 352 Box -4404 352 Box -4623 352 Box +3931 352 Box +4113 352 Box +4295 352 Box +4477 352 Box +4659 352 Box 4841 352 Box 4545 3152 Box % End plot #1 @@ -814,52 +842,60 @@ LT0 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor +0.55 0.00 0.55 C LCb setrgbcolor 4316 3042 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 4382 3042 M +0.55 0.00 0.55 C 4382 3042 M 327 0 V -691 1719 M -219 -5 V -218 48 V -219 30 V -218 58 V -218 131 V -219 -175 V -2220 352 L -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -691 1719 Crs -910 1714 Crs -1128 1762 Crs -1347 1792 Crs -1565 1850 Crs -1783 1981 Crs -2002 1806 Crs -2220 352 Crs -2439 352 Crs +655 1719 M +182 -5 V +182 48 V +182 30 V +182 58 V +182 131 V +182 -175 V +1929 352 L +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +655 1719 Crs +837 1714 Crs +1019 1762 Crs +1201 1792 Crs +1383 1850 Crs +1565 1981 Crs +1747 1806 Crs +1929 352 Crs +2111 352 Crs +2293 352 Crs +2475 352 Crs 2657 352 Crs -2875 352 Crs -3094 352 Crs -3312 352 Crs -3531 352 Crs +2839 352 Crs +3021 352 Crs +3203 352 Crs +3385 352 Crs +3567 352 Crs 3749 352 Crs -3967 352 Crs -4186 352 Crs -4404 352 Crs -4623 352 Crs +3931 352 Crs +4113 352 Crs +4295 352 Crs +4477 352 Crs +4659 352 Crs 4841 352 Crs 4545 3042 Crs % End plot #2 @@ -874,45 +910,53 @@ LT2 LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -691 1845 M -219 0 V -218 15 V -219 58 V -218 49 V -218 29 V -219 24 V -218 88 V -219 29 V -218 -696 V -2875 532 L -3094 352 L -218 0 V -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -691 1845 Star -910 1845 Star -1128 1860 Star -1347 1918 Star -1565 1967 Star -1783 1996 Star -2002 2020 Star -2220 2108 Star -2439 2137 Star -2657 1441 Star -2875 532 Star -3094 352 Star -3312 352 Star -3531 352 Star +655 1845 M +182 0 V +182 15 V +182 58 V +182 49 V +182 29 V +182 24 V +182 88 V +182 29 V +182 -696 V +2475 532 L +2657 352 L +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +182 0 V +655 1845 Star +837 1845 Star +1019 1860 Star +1201 1918 Star +1383 1967 Star +1565 1996 Star +1747 2020 Star +1929 2108 Star +2111 2137 Star +2293 1441 Star +2475 532 Star +2657 352 Star +2839 352 Star +3021 352 Star +3203 352 Star +3385 352 Star +3567 352 Star 3749 352 Star -3967 352 Star -4186 352 Star -4404 352 Star -4623 352 Star +3931 352 Star +4113 352 Star +4295 352 Star +4477 352 Star +4659 352 Star 4841 352 Star 4545 2932 Star % End plot #3 @@ -927,48 +971,178 @@ LT3 LT3 0.00 0.39 0.00 C 4382 2822 M 327 0 V -691 1976 M -219 0 V -218 10 V -219 24 V -218 78 V -218 63 V -219 -4 V -218 38 V -219 39 V -218 15 V -218 39 V -219 -44 V -218 -112 V -219 -710 V -218 -151 V -3967 853 L -4186 512 L -218 -29 V -219 -19 V -4841 352 L -691 1976 Star -910 1976 Star -1128 1986 Star -1347 2010 Star -1565 2088 Star -1783 2151 Star -2002 2147 Star -2220 2185 Star -2439 2224 Star -2657 2239 Star -2875 2278 Star -3094 2234 Star -3312 2122 Star -3531 1412 Star -3749 1261 Star -3967 853 Star -4186 512 Star -4404 483 Star -4623 464 Star +655 1981 M +182 0 V +182 0 V +182 15 V +182 97 V +182 92 V +182 0 V +182 39 V +182 59 V +182 34 V +182 -5 V +182 -29 V +182 -102 V +182 -253 V +182 -253 V +182 -331 V +182 -297 V +3749 770 L +3931 556 L +4113 449 L +182 -68 V +182 -24 V +182 0 V +182 -5 V +655 1981 Star +837 1981 Star +1019 1981 Star +1201 1996 Star +1383 2093 Star +1565 2185 Star +1747 2185 Star +1929 2224 Star +2111 2283 Star +2293 2317 Star +2475 2312 Star +2657 2283 Star +2839 2181 Star +3021 1928 Star +3203 1675 Star +3385 1344 Star +3567 1047 Star +3749 770 Star +3931 556 Star +4113 449 Star +4295 381 Star +4477 357 Star +4659 357 Star 4841 352 Star 4545 2822 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +4316 2712 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -36.7 MRshow +LT4 +0.00 0.55 0.55 C 4382 2712 M +327 0 V +655 2166 M +182 0 V +182 0 V +182 0 V +182 204 V +182 117 V +182 10 V +182 5 V +182 29 V +182 -49 V +182 -48 V +182 -25 V +182 -151 V +182 -374 V +182 -282 V +182 -151 V +182 -219 V +3749 960 L +3931 654 L +182 -88 V +182 -88 V +182 -58 V +182 -39 V +182 -24 V +655 2166 Box +837 2166 Box +1019 2166 Box +1201 2166 Box +1383 2370 Box +1565 2487 Box +1747 2497 Box +1929 2502 Box +2111 2531 Box +2293 2482 Box +2475 2434 Box +2657 2409 Box +2839 2258 Box +3021 1884 Box +3203 1602 Box +3385 1451 Box +3567 1232 Box +3749 960 Box +3931 654 Box +4113 566 Box +4295 478 Box +4477 420 Box +4659 381 Box +4841 357 Box +4545 2712 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +4316 2602 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -36.7 MRshow +LT5 +0.50 0.00 0.00 C 4382 2602 M +327 0 V +655 2375 M +182 0 V +182 0 V +182 0 V +182 180 V +182 224 V +182 29 V +182 -5 V +182 -24 V +182 -141 V +182 -190 V +182 -102 V +182 -126 V +182 -394 V +182 -389 V +182 -239 V +182 -146 V +3749 936 L +3931 692 L +4113 522 L +182 -48 V +182 -20 V +182 -58 V +182 -25 V +655 2375 Crs +837 2375 Crs +1019 2375 Crs +1201 2375 Crs +1383 2555 Crs +1565 2779 Crs +1747 2808 Crs +1929 2803 Crs +2111 2779 Crs +2293 2638 Crs +2475 2448 Crs +2657 2346 Crs +2839 2220 Crs +3021 1826 Crs +3203 1437 Crs +3385 1198 Crs +3567 1052 Crs +3749 936 Crs +3931 692 Crs +4113 522 Crs +4295 474 Crs +4477 454 Crs +4659 396 Crs +4841 371 Crs +4545 2602 Crs +% End plot #6 1.000 UL LTb 473 3270 N diff --git a/R1/CR.eps b/R1/CR.eps index 754046d..267cdf2 100644 --- a/R1/CR.eps +++ b/R1/CR.eps @@ -1,8 +1,8 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 53 53 643 399 -%%HiResBoundingBox: 54 53.5 642.5 398.5 +%%BoundingBox: 53 53 542 399 +%%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:27:08 2014 +%%CreationDate: Fri Apr 18 01:23:17 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -51,7 +51,7 @@ gnudict begin /vpt vpt_ def /doclip { ClipToBoundingBox { - newpath 50 50 moveto 654 50 lineto 654 410 lineto 50 410 lineto closepath + newpath 50 50 moveto 554 50 lineto 554 410 lineto 50 410 lineto closepath clip } if } def @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:27:08 2014) + /CreationDate (Fri Apr 18 01:23:17 2014) /DOCINFO pdfmark end } ifelse @@ -533,7 +533,7 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C LTb 539 352 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 352 M @@ -543,7 +543,7 @@ stroke LTb 539 644 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 644 M @@ -553,7 +553,7 @@ stroke LTb 539 936 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 936 M @@ -563,7 +563,7 @@ stroke LTb 539 1227 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 1227 M @@ -573,7 +573,7 @@ stroke LTb 539 1519 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 1519 M @@ -583,7 +583,7 @@ stroke LTb 539 1811 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 1811 M @@ -593,7 +593,7 @@ stroke LTb 539 2103 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 2103 M @@ -603,7 +603,7 @@ stroke LTb 539 2395 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 2395 M @@ -613,7 +613,7 @@ stroke LTb 539 2686 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 2686 M @@ -623,7 +623,7 @@ stroke LTb 539 2978 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 2978 M @@ -633,7 +633,7 @@ stroke LTb 539 3270 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 3270 M @@ -651,113 +651,153 @@ stroke ] -36.7 MCshow 1.000 UL LTb -1070 352 M +846 352 M 0 63 V 0 2855 R 0 -63 V stroke -1070 242 M +846 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1601 352 M +1154 352 M 0 63 V 0 2855 R 0 -63 V stroke -1601 242 M +1154 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -2132 352 M +1461 352 M 0 63 V 0 2855 R 0 -63 V stroke -2132 242 M +1461 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2663 352 M +1768 352 M 0 63 V 0 2855 R 0 -63 V stroke -2663 242 M +1768 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -3194 352 M +2075 352 M 0 63 V 0 2855 R 0 -63 V stroke -3194 242 M +2075 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3724 352 M +2383 352 M 0 63 V 0 2855 R 0 -63 V stroke -3724 242 M +2383 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -4255 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -4255 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -4786 352 M +2997 352 M 0 63 V 0 2855 R 0 -63 V stroke -4786 242 M +2997 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -5317 352 M +3305 352 M 0 63 V 0 2855 R 0 -63 V stroke -5317 242 M +3305 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -5848 352 M +3612 352 M 0 63 V 0 2855 R 0 -63 V stroke -5848 242 M +3612 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb +3919 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3919 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +4226 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4226 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4534 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4534 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4841 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4841 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb 1.000 UL LTb 539 3270 N 539 352 L -5309 0 V +4302 0 V 0 2918 V --5309 0 V +-4302 0 V Z stroke LCb setrgbcolor 88 1811 M @@ -767,11 +807,11 @@ currentpoint gsave translate -270 rotate 0 0 moveto grestore LTb LCb setrgbcolor -3193 77 M +2690 77 M [ [(Helvetica) 110.0 0.0 true true 0 (The Number of Rounds)] ] -36.7 MCshow LTb -3193 3435 M +2690 3435 M [ [(Helvetica) 110.0 0.0 true true 0 (The Coverage Ratio \(%\) vs The Number of Rounds)] ] -36.7 MCshow 1.000 UP @@ -781,221 +821,423 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor -5389 3127 M +1.00 0.50 0.31 C LCb setrgbcolor +4382 3127 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 5455 3127 M +1.00 0.50 0.31 C 4448 3127 M 327 0 V -804 3246 M -266 6 V -265 0 V -266 -70 V -265 -315 V -2132 352 L -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -804 3246 Box -1070 3252 Box -1335 3252 Box -1601 3182 Box -1866 2867 Box -2132 352 Box -2397 352 Box -2663 352 Box -2928 352 Box -3194 352 Box -3459 352 Box -3724 352 Box -3990 352 Box -4255 352 Box -4521 352 Box -4786 352 Box -5052 352 Box -5317 352 Box -5583 352 Box -5848 352 Box -5618 3127 Box +693 3246 M +153 6 V +154 0 V +154 -70 V +153 -315 V +1461 352 L +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3246 Box +846 3252 Box +1000 3252 Box +1154 3182 Box +1307 2867 Box +1461 352 Box +1615 352 Box +1768 352 Box +1922 352 Box +2075 352 Box +2229 352 Box +2383 352 Box +2536 352 Box +2690 352 Box +2844 352 Box +2997 352 Box +3151 352 Box +3305 352 Box +3458 352 Box +3612 352 Box +3766 352 Box +3919 352 Box +4073 352 Box +4226 352 Box +4380 352 Box +4534 352 Box +4687 352 Box +4841 352 Box +4611 3127 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor -5389 3017 M +0.55 0.00 0.55 C LCb setrgbcolor +4382 3017 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 5455 3017 M +0.55 0.00 0.55 C 4448 3017 M 327 0 V -804 3234 M -266 -5 V -265 12 V -266 5 V -265 -12 V -266 -19 V -265 -410 V -2663 352 L -265 0 V -266 0 V -265 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -804 3234 Crs -1070 3229 Crs -1335 3241 Crs -1601 3246 Crs -1866 3234 Crs -2132 3215 Crs -2397 2805 Crs -2663 352 Crs -2928 352 Crs -3194 352 Crs -3459 352 Crs -3724 352 Crs -3990 352 Crs -4255 352 Crs -4521 352 Crs -4786 352 Crs -5052 352 Crs -5317 352 Crs -5583 352 Crs -5848 352 Crs -5618 3017 Crs +693 3234 M +153 -5 V +154 12 V +154 5 V +153 -12 V +154 -19 V +154 -410 V +1768 352 L +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3234 Crs +846 3229 Crs +1000 3241 Crs +1154 3246 Crs +1307 3234 Crs +1461 3215 Crs +1615 2805 Crs +1768 352 Crs +1922 352 Crs +2075 352 Crs +2229 352 Crs +2383 352 Crs +2536 352 Crs +2690 352 Crs +2844 352 Crs +2997 352 Crs +3151 352 Crs +3305 352 Crs +3458 352 Crs +3612 352 Crs +3766 352 Crs +3919 352 Crs +4073 352 Crs +4226 352 Crs +4380 352 Crs +4534 352 Crs +4687 352 Crs +4841 352 Crs +4611 3017 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -5389 2907 M +4382 2907 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 3 \(With 4 Leaders\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 5455 2907 M +0.00 0.00 0.55 C 4448 2907 M 327 0 V -804 3246 M -266 0 V -265 0 V -266 1 V -265 -3 V -266 -2 V -265 0 V -266 -6 V -265 -20 V -3194 2050 L -3459 623 L -3724 352 L -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -266 0 V -265 0 V -804 3246 Star -1070 3246 Star -1335 3246 Star -1601 3247 Star -1866 3244 Star -2132 3242 Star -2397 3242 Star -2663 3236 Star -2928 3216 Star -3194 2050 Star -3459 623 Star -3724 352 Star -3990 352 Star -4255 352 Star -4521 352 Star -4786 352 Star -5052 352 Star -5317 352 Star -5583 352 Star -5848 352 Star -5618 2907 Star +693 3246 M +153 0 V +154 0 V +154 1 V +153 -3 V +154 -2 V +154 0 V +153 -6 V +154 -20 V +2075 2050 L +2229 623 L +2383 352 L +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3246 Star +846 3246 Star +1000 3246 Star +1154 3247 Star +1307 3244 Star +1461 3242 Star +1615 3242 Star +1768 3236 Star +1922 3216 Star +2075 2050 Star +2229 623 Star +2383 352 Star +2536 352 Star +2690 352 Star +2844 352 Star +2997 352 Star +3151 352 Star +3305 352 Star +3458 352 Star +3612 352 Star +3766 352 Star +3919 352 Star +4073 352 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star +4841 352 Star +4611 2907 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -5389 2797 M +4382 2797 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 5455 2797 M +0.00 0.39 0.00 C 4448 2797 M 327 0 V -804 3247 M -266 0 V -265 0 V -266 3 V -265 0 V -266 0 V -265 -2 V -266 0 V -265 -7 V -266 -13 V -265 -21 V -265 -53 V -266 -61 V -4255 1976 L -266 -257 V -265 -577 V -5052 617 L -265 -33 V -266 -14 V -5848 352 L -804 3247 Star -1070 3247 Star -1335 3247 Star -1601 3250 Star -1866 3250 Star -2132 3250 Star -2397 3248 Star -2663 3248 Star -2928 3241 Star -3194 3228 Star -3459 3207 Star -3724 3154 Star -3990 3093 Star -4255 1976 Star -4521 1719 Star -4786 1142 Star -5052 617 Star -5317 584 Star -5583 570 Star -5848 352 Star -5618 2797 Star +693 3245 M +153 0 V +154 0 V +154 0 V +153 3 V +154 -1 V +154 0 V +153 1 V +154 -7 V +153 -7 V +154 -11 V +154 -53 V +153 -113 V +154 -167 V +154 -302 V +153 -315 V +154 -404 V +154 -436 V +3458 915 L +3612 657 L +3766 453 L +153 -84 V +154 0 V +153 -17 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3245 Star +846 3245 Star +1000 3245 Star +1154 3245 Star +1307 3248 Star +1461 3247 Star +1615 3247 Star +1768 3248 Star +1922 3241 Star +2075 3234 Star +2229 3223 Star +2383 3170 Star +2536 3057 Star +2690 2890 Star +2844 2588 Star +2997 2273 Star +3151 1869 Star +3305 1433 Star +3458 915 Star +3612 657 Star +3766 453 Star +3919 369 Star +4073 369 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star +4841 352 Star +4611 2797 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +4382 2687 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -36.7 MRshow +LT4 +0.00 0.55 0.55 C 4448 2687 M +327 0 V +693 3245 M +153 0 V +154 -1 V +154 1 V +153 4 V +154 -1 V +154 -2 V +153 3 V +154 -3 V +153 -29 V +154 -16 V +154 -15 V +153 -49 V +154 -243 V +154 -286 V +153 -145 V +154 -235 V +154 -433 V +153 -616 V +3612 982 L +3766 750 L +3919 551 L +4073 440 L +153 -71 V +154 -17 V +154 0 V +153 0 V +154 0 V +693 3245 Box +846 3245 Box +1000 3244 Box +1154 3245 Box +1307 3249 Box +1461 3248 Box +1615 3246 Box +1768 3249 Box +1922 3246 Box +2075 3217 Box +2229 3201 Box +2383 3186 Box +2536 3137 Box +2690 2894 Box +2844 2608 Box +2997 2463 Box +3151 2228 Box +3305 1795 Box +3458 1179 Box +3612 982 Box +3766 750 Box +3919 551 Box +4073 440 Box +4226 369 Box +4380 352 Box +4534 352 Box +4687 352 Box +4841 352 Box +4611 2687 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +4382 2577 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -36.7 MRshow +LT5 +0.50 0.00 0.00 C 4448 2577 M +327 0 V +693 3255 M +153 -4 V +154 2 V +154 -2 V +153 2 V +154 0 V +154 0 V +153 -6 V +154 -7 V +153 -29 V +154 -53 V +154 -14 V +153 -65 V +154 -210 V +154 -310 V +153 -317 V +154 -230 V +154 -209 V +153 -516 V +3612 874 L +3766 741 L +153 -60 V +4073 491 L +153 -75 V +154 -35 V +154 0 V +153 -12 V +154 -17 V +693 3255 Crs +846 3251 Crs +1000 3253 Crs +1154 3251 Crs +1307 3253 Crs +1461 3253 Crs +1615 3253 Crs +1768 3247 Crs +1922 3240 Crs +2075 3211 Crs +2229 3158 Crs +2383 3144 Crs +2536 3079 Crs +2690 2869 Crs +2844 2559 Crs +2997 2242 Crs +3151 2012 Crs +3305 1803 Crs +3458 1287 Crs +3612 874 Crs +3766 741 Crs +3919 681 Crs +4073 491 Crs +4226 416 Crs +4380 381 Crs +4534 381 Crs +4687 369 Crs +4841 352 Crs +4611 2577 Crs +% End plot #6 1.000 UL LTb 539 3270 N 539 352 L -5309 0 V +4302 0 V 0 2918 V --5309 0 V +-4302 0 V Z stroke 1.000 UP 1.000 UL diff --git a/R1/EC.eps b/R1/EC.eps index 92fcf4c..44db506 100644 --- a/R1/EC.eps +++ b/R1/EC.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:30:56 2014 +%%CreationDate: Fri Apr 18 01:27:57 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:30:56 2014) + /CreationDate (Fri Apr 18 01:27:57 2014) /DOCINFO pdfmark end } ifelse @@ -531,112 +531,122 @@ newpath BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C clippath fill grestore} if 1.000 UL LTb -671 527 M +671 352 M +63 0 V +4107 0 R +-63 0 V +stroke +605 352 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 0)] +] -36.7 MRshow +1.000 UL +LTb +671 595 M 63 0 V 4107 0 R -63 0 V stroke -605 527 M +605 595 M [ [(Helvetica) 110.0 0.0 true true 0 ( 1000)] ] -36.7 MRshow 1.000 UL LTb -671 776 M +671 838 M 63 0 V 4107 0 R -63 0 V stroke -605 776 M +605 838 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2000)] ] -36.7 MRshow 1.000 UL LTb -671 1025 M +671 1082 M 63 0 V 4107 0 R -63 0 V stroke -605 1025 M +605 1082 M [ [(Helvetica) 110.0 0.0 true true 0 ( 3000)] ] -36.7 MRshow 1.000 UL LTb -671 1275 M +671 1325 M 63 0 V 4107 0 R -63 0 V stroke -605 1275 M +605 1325 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4000)] ] -36.7 MRshow 1.000 UL LTb -671 1524 M +671 1568 M 63 0 V 4107 0 R -63 0 V stroke -605 1524 M +605 1568 M [ [(Helvetica) 110.0 0.0 true true 0 ( 5000)] ] -36.7 MRshow 1.000 UL LTb -671 1774 M +671 1811 M 63 0 V 4107 0 R -63 0 V stroke -605 1774 M +605 1811 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6000)] ] -36.7 MRshow 1.000 UL LTb -671 2023 M +671 2054 M 63 0 V 4107 0 R -63 0 V stroke -605 2023 M +605 2054 M [ [(Helvetica) 110.0 0.0 true true 0 ( 7000)] ] -36.7 MRshow 1.000 UL LTb -671 2272 M +671 2297 M 63 0 V 4107 0 R -63 0 V stroke -605 2272 M +605 2297 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8000)] ] -36.7 MRshow 1.000 UL LTb -671 2522 M +671 2541 M 63 0 V 4107 0 R -63 0 V stroke -605 2522 M +605 2541 M [ [(Helvetica) 110.0 0.0 true true 0 ( 9000)] ] -36.7 MRshow 1.000 UL LTb -671 2771 M +671 2784 M 63 0 V 4107 0 R -63 0 V stroke -605 2771 M +605 2784 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10000)] ] -36.7 MRshow 1.000 UL LTb -671 3021 M +671 3027 M 63 0 V 4107 0 R -63 0 V stroke -605 3021 M +605 3027 M [ [(Helvetica) 110.0 0.0 true true 0 ( 11000)] ] -36.7 MRshow 1.000 UL @@ -791,94 +801,140 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor -2130 3165 M +1.00 0.50 0.31 C LCb setrgbcolor +2130 3166 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2196 3165 M +1.00 0.50 0.31 C 2196 3166 M 327 0 V -1088 395 M -834 175 V -834 242 V -834 354 V -834 2002 V -1088 395 Box -1922 570 Box -2756 812 Box -3590 1166 Box -4424 3168 Box -2359 3165 Box +1088 467 M +834 170 V +834 236 V +834 345 V +834 1952 V +1088 467 Box +1922 637 Box +2756 873 Box +3590 1218 Box +4424 3170 Box +2359 3166 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor -2130 3055 M +0.55 0.00 0.55 C LCb setrgbcolor +2130 3056 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2196 3055 M +0.55 0.00 0.55 C 2196 3056 M 327 0 V -1088 371 M -834 70 V -834 91 V -834 94 V -834 147 V -1088 371 Crs -1922 441 Crs -2756 532 Crs -3590 626 Crs -4424 773 Crs -2359 3055 Crs +1088 444 M +834 68 V +834 88 V +834 92 V +834 144 V +1088 444 Crs +1922 512 Crs +2756 600 Crs +3590 692 Crs +4424 836 Crs +2359 3056 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2130 2945 M +2130 2946 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 3 \(With 4 Leaders\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2196 2945 M +0.00 0.00 0.55 C 2196 2946 M 327 0 V -1088 390 M +1088 462 M 834 20 V -834 42 V -834 42 V -834 54 V -1088 390 Star -1922 410 Star -2756 452 Star -3590 494 Star -4424 548 Star -2359 2945 Star +834 40 V +834 41 V +834 53 V +1088 462 Star +1922 482 Star +2756 522 Star +3590 563 Star +4424 616 Star +2359 2946 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -2130 2835 M +2130 2836 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 2196 2835 M +0.00 0.39 0.00 C 2196 2836 M 327 0 V -1088 416 M -834 -5 V -834 13 V -834 22 V -834 16 V -1088 416 Star -1922 411 Star -2756 424 Star -3590 446 Star -4424 462 Star -2359 2835 Star +1088 423 M +834 12 V +834 19 V +834 21 V +834 21 V +1088 423 Star +1922 435 Star +2756 454 Star +3590 475 Star +4424 496 Star +2359 2836 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +2130 2726 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -36.7 MRshow +LT4 +0.00 0.55 0.55 C 2196 2726 M +327 0 V +1088 410 M +834 20 V +834 14 V +834 17 V +834 15 V +1088 410 Box +1922 430 Box +2756 444 Box +3590 461 Box +4424 476 Box +2359 2726 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +2130 2616 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -36.7 MRshow +LT5 +0.50 0.00 0.00 C 2196 2616 M +327 0 V +1088 407 M +834 22 V +834 11 V +834 14 V +834 14 V +1088 407 Crs +1922 429 Crs +2756 440 Crs +3590 454 Crs +4424 468 Crs +2359 2616 Crs +% End plot #6 1.000 UL LTb 671 3270 N diff --git a/R1/ESR.eps b/R1/ESR.eps index e1e4286..02520b1 100644 --- a/R1/ESR.eps +++ b/R1/ESR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:33:41 2014 +%%CreationDate: Fri Apr 18 01:41:01 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:33:41 2014) + /CreationDate (Fri Apr 18 01:41:01 2014) /DOCINFO pdfmark end } ifelse @@ -651,103 +651,143 @@ stroke ] -36.7 MCshow 1.000 UL LTb -969 352 M +846 352 M 0 63 V 0 2855 R 0 -63 V stroke -969 242 M +846 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1399 352 M +1154 352 M 0 63 V 0 2855 R 0 -63 V stroke -1399 242 M +1154 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1830 352 M +1461 352 M 0 63 V 0 2855 R 0 -63 V stroke -1830 242 M +1461 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2260 352 M +1768 352 M 0 63 V 0 2855 R 0 -63 V stroke -2260 242 M +1768 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2690 352 M +2075 352 M 0 63 V 0 2855 R 0 -63 V stroke -2690 242 M +2075 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3120 352 M +2383 352 M 0 63 V 0 2855 R 0 -63 V stroke -3120 242 M +2383 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3550 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -3550 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3981 352 M +2997 352 M 0 63 V 0 2855 R 0 -63 V stroke -3981 242 M +2997 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -4411 352 M +3305 352 M 0 63 V 0 2855 R 0 -63 V stroke -4411 242 M +3305 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb +3612 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3612 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +] -36.7 MCshow +1.000 UL +LTb +3919 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3919 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +4226 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4226 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4534 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4534 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] ] -36.7 MCshow 1.000 UL LTb @@ -781,52 +821,68 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor +1.00 0.50 0.31 C LCb setrgbcolor 4316 3152 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 4382 3152 M +1.00 0.50 0.31 C 4382 3152 M 327 0 V -754 3270 M -969 2920 L -215 -691 V -1399 1181 L -1615 677 L -1830 352 L -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -216 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -754 3270 Box -969 2920 Box -1184 2229 Box -1399 1181 Box -1615 677 Box -1830 352 Box -2045 352 Box -2260 352 Box -2475 352 Box +693 3270 M +846 2920 L +154 -691 V +1154 1181 L +1307 677 L +1461 352 L +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3270 Box +846 2920 Box +1000 2229 Box +1154 1181 Box +1307 677 Box +1461 352 Box +1615 352 Box +1768 352 Box +1922 352 Box +2075 352 Box +2229 352 Box +2383 352 Box +2536 352 Box 2690 352 Box -2905 352 Box -3120 352 Box -3335 352 Box -3550 352 Box +2844 352 Box +2997 352 Box +3151 352 Box +3305 352 Box +3458 352 Box +3612 352 Box 3766 352 Box -3981 352 Box -4196 352 Box -4411 352 Box -4626 352 Box +3919 352 Box +4073 352 Box +4226 352 Box +4380 352 Box +4534 352 Box +4687 352 Box 4841 352 Box 4545 3152 Box % End plot #1 @@ -834,52 +890,68 @@ LT0 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor +0.55 0.00 0.55 C LCb setrgbcolor 4316 3042 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 4382 3042 M +0.55 0.00 0.55 C 4382 3042 M 327 0 V -754 3270 M -215 -27 V -215 -171 V -215 -360 V -216 -312 V -215 -431 V -215 -598 V -2260 352 L -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -216 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -754 3270 Crs -969 3243 Crs -1184 3072 Crs -1399 2712 Crs -1615 2400 Crs -1830 1969 Crs -2045 1371 Crs -2260 352 Crs -2475 352 Crs +693 3270 M +153 -27 V +154 -171 V +154 -360 V +153 -312 V +154 -431 V +154 -598 V +1768 352 L +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3270 Crs +846 3243 Crs +1000 3072 Crs +1154 2712 Crs +1307 2400 Crs +1461 1969 Crs +1615 1371 Crs +1768 352 Crs +1922 352 Crs +2075 352 Crs +2229 352 Crs +2383 352 Crs +2536 352 Crs 2690 352 Crs -2905 352 Crs -3120 352 Crs -3335 352 Crs -3550 352 Crs +2844 352 Crs +2997 352 Crs +3151 352 Crs +3305 352 Crs +3458 352 Crs +3612 352 Crs 3766 352 Crs -3981 352 Crs -4196 352 Crs -4411 352 Crs -4626 352 Crs +3919 352 Crs +4073 352 Crs +4226 352 Crs +4380 352 Crs +4534 352 Crs +4687 352 Crs 4841 352 Crs 4545 3042 Crs % End plot #2 @@ -894,45 +966,61 @@ LT2 LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -754 3270 M -215 0 V -215 -16 V -215 -177 V -216 -241 V -215 -183 V -215 -179 V -215 -299 V -215 -284 V -215 -738 V -2905 467 L -3120 352 L -215 0 V -215 0 V -216 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -754 3270 Star -969 3270 Star -1184 3254 Star -1399 3077 Star -1615 2836 Star -1830 2653 Star -2045 2474 Star -2260 2175 Star -2475 1891 Star -2690 1153 Star -2905 467 Star -3120 352 Star -3335 352 Star -3550 352 Star +693 3270 M +153 0 V +154 -16 V +154 -177 V +153 -241 V +154 -183 V +154 -179 V +153 -299 V +154 -284 V +153 -738 V +2229 467 L +2383 352 L +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +153 0 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3270 Star +846 3270 Star +1000 3254 Star +1154 3077 Star +1307 2836 Star +1461 2653 Star +1615 2474 Star +1768 2175 Star +1922 1891 Star +2075 1153 Star +2229 467 Star +2383 352 Star +2536 352 Star +2690 352 Star +2844 352 Star +2997 352 Star +3151 352 Star +3305 352 Star +3458 352 Star +3612 352 Star 3766 352 Star -3981 352 Star -4196 352 Star -4411 352 Star -4626 352 Star +3919 352 Star +4073 352 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star 4841 352 Star 4545 2932 Star % End plot #3 @@ -947,48 +1035,202 @@ LT3 LT3 0.00 0.39 0.00 C 4382 2822 M 327 0 V -754 3270 M -215 0 V -215 -8 V -215 -56 V -216 -206 V -215 -201 V -215 -74 V -215 -140 V -215 -220 V -215 -147 V -215 -181 V -215 -164 V -215 -225 V -215 -502 V -3766 939 L -3981 642 L -4196 441 L -215 -17 V -215 -21 V -215 -51 V -754 3270 Star -969 3270 Star -1184 3262 Star -1399 3206 Star -1615 3000 Star -1830 2799 Star -2045 2725 Star -2260 2585 Star -2475 2365 Star -2690 2218 Star -2905 2037 Star -3120 1873 Star -3335 1648 Star -3550 1146 Star -3766 939 Star -3981 642 Star -4196 441 Star -4411 424 Star -4626 403 Star +693 3270 M +153 0 V +154 0 V +154 -25 V +153 -292 V +154 -181 V +154 -35 V +153 -128 V +154 -284 V +153 -226 V +154 -152 V +154 -202 V +153 -259 V +154 -270 V +154 -208 V +2997 821 L +3151 652 L +3305 527 L +153 -91 V +154 -45 V +154 -27 V +153 -10 V +154 0 V +153 -2 V +154 0 V +154 0 V +153 0 V +154 0 V +693 3270 Star +846 3270 Star +1000 3270 Star +1154 3245 Star +1307 2953 Star +1461 2772 Star +1615 2737 Star +1768 2609 Star +1922 2325 Star +2075 2099 Star +2229 1947 Star +2383 1745 Star +2536 1486 Star +2690 1216 Star +2844 1008 Star +2997 821 Star +3151 652 Star +3305 527 Star +3458 436 Star +3612 391 Star +3766 364 Star +3919 354 Star +4073 354 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star 4841 352 Star 4545 2822 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +4316 2712 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -36.7 MRshow +LT4 +0.00 0.55 0.55 C 4382 2712 M +327 0 V +693 3270 M +153 0 V +154 0 V +154 0 V +153 -342 V +154 -234 V +154 -41 V +153 -15 V +154 -269 V +153 -360 V +154 -186 V +154 -72 V +153 -181 V +154 -341 V +2844 998 L +2997 883 L +3151 764 L +3305 630 L +3458 492 L +154 -43 V +154 -41 V +153 -27 V +154 -17 V +153 -10 V +154 -2 V +154 0 V +153 0 V +154 0 V +693 3270 Box +846 3270 Box +1000 3270 Box +1154 3270 Box +1307 2928 Box +1461 2694 Box +1615 2653 Box +1768 2638 Box +1922 2369 Box +2075 2009 Box +2229 1823 Box +2383 1751 Box +2536 1570 Box +2690 1229 Box +2844 998 Box +2997 883 Box +3151 764 Box +3305 630 Box +3458 492 Box +3612 449 Box +3766 408 Box +3919 381 Box +4073 364 Box +4226 354 Box +4380 352 Box +4534 352 Box +4687 352 Box +4841 352 Box +4545 2712 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +4316 2602 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -36.7 MRshow +LT5 +0.50 0.00 0.00 C 4382 2602 M +327 0 V +693 3270 M +153 0 V +154 0 V +154 0 V +153 -237 V +154 -271 V +154 -116 V +153 -32 V +154 -223 V +153 -399 V +154 -294 V +154 -113 V +153 -105 V +154 -295 V +2844 930 L +2997 782 L +154 -62 V +154 -68 V +3458 519 L +154 -79 V +154 -22 V +153 -15 V +154 -30 V +153 -13 V +154 -4 V +154 0 V +153 -2 V +154 -2 V +693 3270 Crs +846 3270 Crs +1000 3270 Crs +1154 3270 Crs +1307 3033 Crs +1461 2762 Crs +1615 2646 Crs +1768 2614 Crs +1922 2391 Crs +2075 1992 Crs +2229 1698 Crs +2383 1585 Crs +2536 1480 Crs +2690 1185 Crs +2844 930 Crs +2997 782 Crs +3151 720 Crs +3305 652 Crs +3458 519 Crs +3612 440 Crs +3766 418 Crs +3919 403 Crs +4073 373 Crs +4226 360 Crs +4380 356 Crs +4534 356 Crs +4687 354 Crs +4841 352 Crs +4545 2602 Crs +% End plot #6 1.000 UL LTb 539 3270 N diff --git a/R1/LT.eps b/R1/LT.eps index 658ab27..4335b1e 100644 --- a/R1/LT.eps +++ b/R1/LT.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:36:49 2014 +%%CreationDate: Fri Apr 18 01:47:39 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:36:49 2014) + /CreationDate (Fri Apr 18 01:47:39 2014) /DOCINFO pdfmark end } ifelse @@ -541,103 +541,153 @@ stroke ] -36.7 MRshow 1.000 UL LTb -671 644 M +671 547 M 63 0 V 4107 0 R -63 0 V stroke -605 644 M +605 547 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2500)] ] -36.7 MRshow 1.000 UL LTb -671 936 M +671 741 M 63 0 V 4107 0 R -63 0 V stroke -605 936 M +605 741 M [ [(Helvetica) 110.0 0.0 true true 0 ( 5000)] ] -36.7 MRshow 1.000 UL LTb -671 1227 M +671 936 M 63 0 V 4107 0 R -63 0 V stroke -605 1227 M +605 936 M [ [(Helvetica) 110.0 0.0 true true 0 ( 7500)] ] -36.7 MRshow 1.000 UL LTb -671 1519 M +671 1130 M 63 0 V 4107 0 R -63 0 V stroke -605 1519 M +605 1130 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10000)] ] -36.7 MRshow 1.000 UL LTb -671 1811 M +671 1325 M 63 0 V 4107 0 R -63 0 V stroke -605 1811 M +605 1325 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12500)] ] -36.7 MRshow 1.000 UL LTb -671 2103 M +671 1519 M 63 0 V 4107 0 R -63 0 V stroke -605 2103 M +605 1519 M [ [(Helvetica) 110.0 0.0 true true 0 ( 15000)] ] -36.7 MRshow 1.000 UL LTb -671 2395 M +671 1714 M 63 0 V 4107 0 R -63 0 V stroke -605 2395 M +605 1714 M [ [(Helvetica) 110.0 0.0 true true 0 ( 17500)] ] -36.7 MRshow 1.000 UL LTb -671 2686 M +671 1908 M 63 0 V 4107 0 R -63 0 V stroke -605 2686 M +605 1908 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20000)] ] -36.7 MRshow 1.000 UL LTb -671 2978 M +671 2103 M 63 0 V 4107 0 R -63 0 V stroke -605 2978 M +605 2103 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22500)] ] -36.7 MRshow 1.000 UL LTb +671 2297 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2297 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] +] -36.7 MRshow +1.000 UL +LTb +671 2492 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2492 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 27500)] +] -36.7 MRshow +1.000 UL +LTb +671 2686 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2686 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30000)] +] -36.7 MRshow +1.000 UL +LTb +671 2881 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2881 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 32500)] +] -36.7 MRshow +1.000 UL +LTb +671 3075 M +63 0 V +4107 0 R +-63 0 V +stroke +605 3075 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 35000)] +] -36.7 MRshow +1.000 UL +LTb 671 3270 M 63 0 V 4107 0 R -63 0 V stroke 605 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 37500)] ] -36.7 MRshow 1.000 UL LTb @@ -781,94 +831,140 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor -2130 3098 M +1.00 0.50 0.31 C LCb setrgbcolor +2130 3176 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2196 3098 M +1.00 0.50 0.31 C 2196 3176 M 327 0 V -1088 870 M -834 28 V +1088 697 M +834 19 V 834 0 V -834 -14 V -4424 702 L -1088 870 Box -1922 898 Box -2756 898 Box -3590 884 Box -4424 702 Box -2359 3098 Box +834 -9 V +4424 585 L +1088 697 Box +1922 716 Box +2756 716 Box +3590 707 Box +4424 585 Box +2359 3176 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor -2130 2988 M +0.55 0.00 0.55 C LCb setrgbcolor +2130 3066 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2196 2988 M +0.55 0.00 0.55 C 2196 3066 M 327 0 V -1088 1038 M -834 210 V -834 70 V -834 42 V -834 -56 V -1088 1038 Crs -1922 1248 Crs -2756 1318 Crs -3590 1360 Crs -4424 1304 Crs -2359 2988 Crs +1088 810 M +834 140 V +834 46 V +834 28 V +834 -37 V +1088 810 Crs +1922 950 Crs +2756 996 Crs +3590 1024 Crs +4424 987 Crs +2359 3066 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2130 2878 M +2130 2956 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 3 \(With 4 Leaders\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2196 2878 M +0.00 0.00 0.55 C 2196 2956 M 327 0 V -1088 1052 M -834 561 V -834 98 V -834 126 V -834 -28 V -1088 1052 Star -1922 1613 Star -2756 1711 Star -3590 1837 Star -4424 1809 Star -2359 2878 Star +1088 819 M +834 373 V +834 66 V +834 84 V +834 -19 V +1088 819 Star +1922 1192 Star +2756 1258 Star +3590 1342 Star +4424 1323 Star +2359 2956 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -2130 2768 M +2130 2846 M [ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 2196 2768 M +0.00 0.39 0.00 C 2196 2846 M 327 0 V -1088 1066 M -834 785 V -834 560 V -834 350 V -834 406 V -1088 1066 Star -1922 1851 Star -2756 2411 Star -3590 2761 Star -4424 3167 Star -2359 2768 Star +1088 1248 M +834 654 V +834 336 V +834 206 V +834 140 V +1088 1248 Star +1922 1902 Star +2756 2238 Star +3590 2444 Star +4424 2584 Star +2359 2846 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +2130 2736 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -36.7 MRshow +LT4 +0.00 0.55 0.55 C 2196 2736 M +327 0 V +1088 1454 M +834 541 V +834 449 V +834 252 V +834 243 V +1088 1454 Box +1922 1995 Box +2756 2444 Box +3590 2696 Box +4424 2939 Box +2359 2736 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +2130 2626 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -36.7 MRshow +LT5 +0.50 0.00 0.00 C 2196 2626 M +327 0 V +1088 1501 M +834 532 V +834 513 V +834 308 V +834 271 V +1088 1501 Crs +1922 2033 Crs +2756 2546 Crs +3590 2854 Crs +4424 3125 Crs +2359 2626 Crs +% End plot #6 1.000 UL LTb 671 3270 N diff --git a/R1/SR.eps b/R1/SR.eps index c9996f6..8e2222d 100644 --- a/R1/SR.eps +++ b/R1/SR.eps @@ -1,8 +1,8 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 53 53 643 399 -%%HiResBoundingBox: 54 53.5 642.5 398.5 +%%BoundingBox: 53 53 542 399 +%%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:38:23 2014 +%%CreationDate: Mon Apr 21 15:31:15 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -51,7 +51,7 @@ gnudict begin /vpt vpt_ def /doclip { ClipToBoundingBox { - newpath 50 50 moveto 654 50 lineto 654 410 lineto 50 410 lineto closepath + newpath 50 50 moveto 554 50 lineto 554 410 lineto 50 410 lineto closepath clip } if } def @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:38:23 2014) + /CreationDate (Mon Apr 21 15:31:15 2014) /DOCINFO pdfmark end } ifelse @@ -533,97 +533,107 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C LTb 539 352 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 352 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 0)] +] -36.7 MRshow +1.000 UL +LTb +539 644 M +63 0 V +4239 0 R +-63 0 V +stroke +473 644 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MRshow 1.000 UL LTb -539 676 M +539 936 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 676 M +473 936 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MRshow 1.000 UL LTb -539 1000 M +539 1227 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 1000 M +473 1227 M [ [(Helvetica) 110.0 0.0 true true 0 ( 30)] ] -36.7 MRshow 1.000 UL LTb -539 1325 M +539 1519 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 1325 M +473 1519 M [ [(Helvetica) 110.0 0.0 true true 0 ( 40)] ] -36.7 MRshow 1.000 UL LTb -539 1649 M +539 1811 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 1649 M +473 1811 M [ [(Helvetica) 110.0 0.0 true true 0 ( 50)] ] -36.7 MRshow 1.000 UL LTb -539 1973 M +539 2103 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 1973 M +473 2103 M [ [(Helvetica) 110.0 0.0 true true 0 ( 60)] ] -36.7 MRshow 1.000 UL LTb -539 2297 M +539 2395 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 2297 M +473 2395 M [ [(Helvetica) 110.0 0.0 true true 0 ( 70)] ] -36.7 MRshow 1.000 UL LTb -539 2622 M +539 2686 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 2622 M +473 2686 M [ [(Helvetica) 110.0 0.0 true true 0 ( 80)] ] -36.7 MRshow 1.000 UL LTb -539 2946 M +539 2978 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke -473 2946 M +473 2978 M [ [(Helvetica) 110.0 0.0 true true 0 ( 90)] ] -36.7 MRshow 1.000 UL LTb 539 3270 M 63 0 V -5246 0 R +4239 0 R -63 0 V stroke 473 3270 M @@ -631,113 +641,183 @@ stroke ] -36.7 MRshow 1.000 UL LTb -818 352 M +669 352 M 0 63 V 0 2855 R 0 -63 V stroke -818 242 M +669 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1377 352 M +930 352 M 0 63 V 0 2855 R 0 -63 V stroke -1377 242 M +930 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1936 352 M +1191 352 M 0 63 V 0 2855 R 0 -63 V stroke -1936 242 M +1191 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2495 352 M +1452 352 M 0 63 V 0 2855 R 0 -63 V stroke -2495 242 M +1452 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -3054 352 M +1712 352 M 0 63 V 0 2855 R 0 -63 V stroke -3054 242 M +1712 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3613 352 M +1973 352 M 0 63 V 0 2855 R 0 -63 V stroke -3613 242 M +1973 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -4171 352 M +2234 352 M 0 63 V 0 2855 R 0 -63 V stroke -4171 242 M +2234 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -4730 352 M +2494 352 M 0 63 V 0 2855 R 0 -63 V stroke -4730 242 M +2494 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -5289 352 M +2755 352 M 0 63 V 0 2855 R 0 -63 V stroke -5289 242 M +2755 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -5848 352 M +3016 352 M 0 63 V 0 2855 R 0 -63 V stroke -5848 242 M +3016 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb +3277 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3277 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +3537 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3537 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +3798 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3798 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4059 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4059 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb +4320 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4320 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30)] +] -36.7 MCshow +1.000 UL +LTb +4580 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4580 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 32)] +] -36.7 MCshow +1.000 UL +LTb +4841 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4841 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 34)] +] -36.7 MCshow +1.000 UL +LTb 1.000 UL LTb 539 3270 N 539 352 L -5309 0 V +4302 0 V 0 2918 V --5309 0 V +-4302 0 V Z stroke LCb setrgbcolor 88 1811 M @@ -747,11 +827,11 @@ currentpoint gsave translate -270 rotate 0 0 moveto grestore LTb LCb setrgbcolor -3193 77 M +2690 77 M [ [(Helvetica) 110.0 0.0 true true 0 (The Number of Rounds)] ] -36.7 MCshow LTb -3193 3435 M +2690 3435 M [ [(Helvetica) 110.0 0.0 true true 0 (The Percentage of Stopped Simulation Runs vs The Number of Rounds)] ] -36.7 MCshow 1.000 UP @@ -761,162 +841,423 @@ LTb 1.000 UP 2.000 UL LT0 -0.00 0.55 0.55 C LCb setrgbcolor -5389 783 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] -] -36.7 MRshow +1.00 0.50 0.31 C LCb setrgbcolor +4382 1027 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 1 \(With 1 Leader\))] +] -26.7 MRshow LT0 -0.00 0.55 0.55 C 5455 783 M +1.00 0.50 0.31 C 4448 1027 M 327 0 V -1168 352 M -209 973 V -280 972 V -279 973 V -280 0 V -279 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -1377 1325 Box -1657 2297 Box -1936 3270 Box -2216 3270 Box -2495 3270 Box -2774 3270 Box -3054 3270 Box -3333 3270 Box -3613 3270 Box -3892 3270 Box -4171 3270 Box -4451 3270 Box -4730 3270 Box -5010 3270 Box -5289 3270 Box -5569 3270 Box -5848 3270 Box -5618 783 Box +539 352 M +130 0 V +131 0 V +930 1519 L +130 876 V +131 875 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +539 352 Box +669 352 Box +800 352 Box +930 1519 Box +1060 2395 Box +1191 3270 Box +1321 3270 Box +1452 3270 Box +1582 3270 Box +1712 3270 Box +1843 3270 Box +1973 3270 Box +2103 3270 Box +2234 3270 Box +2364 3270 Box +2494 3270 Box +2625 3270 Box +2755 3270 Box +2886 3270 Box +3016 3270 Box +3146 3270 Box +3277 3270 Box +3407 3270 Box +3537 3270 Box +3668 3270 Box +3798 3270 Box +3928 3270 Box +4059 3270 Box +4611 1027 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 -0.50 0.00 0.00 C LCb setrgbcolor -5389 673 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] -] -36.7 MRshow +0.55 0.00 0.55 C LCb setrgbcolor +4382 917 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 2 \(With 2 Leaders\))] +] -26.7 MRshow LT1 -0.50 0.00 0.00 C 5455 673 M +0.55 0.00 0.55 C 4448 917 M 327 0 V -2216 352 M -279 2918 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -2216 352 Crs -2495 3270 Crs -2774 3270 Crs -3054 3270 Crs -3333 3270 Crs -3613 3270 Crs -3892 3270 Crs -4171 3270 Crs -4451 3270 Crs -4730 3270 Crs -5010 3270 Crs -5289 3270 Crs -5569 3270 Crs -5848 3270 Crs -5618 673 Crs +539 352 M +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 292 V +131 2626 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +539 352 Crs +669 352 Crs +800 352 Crs +930 352 Crs +1060 352 Crs +1191 352 Crs +1321 644 Crs +1452 3270 Crs +1582 3270 Crs +1712 3270 Crs +1843 3270 Crs +1973 3270 Crs +2103 3270 Crs +2234 3270 Crs +2364 3270 Crs +2494 3270 Crs +2625 3270 Crs +2755 3270 Crs +2886 3270 Crs +3016 3270 Crs +3146 3270 Crs +3277 3270 Crs +3407 3270 Crs +3537 3270 Crs +3668 3270 Crs +3798 3270 Crs +3928 3270 Crs +4059 3270 Crs +4611 917 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -5389 563 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 3 \(With 4 Leaders\))] -] -36.7 MRshow +4382 807 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 3 \(With 4 Leaders\))] +] -26.7 MRshow LT2 -0.00 0.00 0.55 C 5455 563 M +0.00 0.00 0.55 C 4448 807 M 327 0 V -2844 352 M -210 973 V -279 1621 V -280 324 V -279 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -280 0 V -279 0 V -3054 1325 Star -3333 2946 Star -3613 3270 Star -3892 3270 Star -4171 3270 Star -4451 3270 Star -4730 3270 Star -5010 3270 Star -5289 3270 Star -5569 3270 Star -5848 3270 Star -5618 563 Star +539 352 M +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 1167 V +131 1459 V +130 292 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +539 352 Star +669 352 Star +800 352 Star +930 352 Star +1060 352 Star +1191 352 Star +1321 352 Star +1452 352 Star +1582 352 Star +1712 1519 Star +1843 2978 Star +1973 3270 Star +2103 3270 Star +2234 3270 Star +2364 3270 Star +2494 3270 Star +2625 3270 Star +2755 3270 Star +2886 3270 Star +3016 3270 Star +3146 3270 Star +3277 3270 Star +3407 3270 Star +3537 3270 Star +3668 3270 Star +3798 3270 Star +3928 3270 Star +4059 3270 Star +4611 807 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -5389 453 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] -] -36.7 MRshow +4382 697 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +] -26.7 MRshow LT3 -0.00 0.39 0.00 C 5455 453 M +0.00 0.39 0.00 C 4448 697 M 327 0 V -3962 352 M -209 973 V -280 324 V -279 648 V -280 649 V -279 0 V -280 0 V -279 324 V -4171 1325 Star -4451 1649 Star -4730 2297 Star -5010 2946 Star -5289 2946 Star -5569 2946 Star -5848 3270 Star -5618 453 Star +539 352 M +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 875 V +130 1168 V +131 583 V +130 0 V +130 292 V +131 0 V +130 0 V +130 0 V +131 0 V +539 352 Star +669 352 Star +800 352 Star +930 352 Star +1060 352 Star +1191 352 Star +1321 352 Star +1452 352 Star +1582 352 Star +1712 352 Star +1843 352 Star +1973 352 Star +2103 352 Star +2234 352 Star +2364 352 Star +2494 352 Star +2625 352 Star +2755 352 Star +2886 352 Star +3016 1227 Star +3146 2395 Star +3277 2978 Star +3407 2978 Star +3537 3270 Star +3668 3270 Star +3798 3270 Star +3928 3270 Star +4059 3270 Star +4611 697 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +0.00 0.55 0.55 C LCb setrgbcolor +4382 587 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 5 \(With 16 Leaders\))] +] -26.7 MRshow +LT4 +0.00 0.55 0.55 C 4448 587 M +327 0 V +539 352 M +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 292 V +130 1459 V +130 875 V +131 292 V +130 0 V +130 0 V +131 0 V +539 352 Box +669 352 Box +800 352 Box +930 352 Box +1060 352 Box +1191 352 Box +1321 352 Box +1452 352 Box +1582 352 Box +1712 352 Box +1843 352 Box +1973 352 Box +2103 352 Box +2234 352 Box +2364 352 Box +2494 352 Box +2625 352 Box +2755 352 Box +2886 352 Box +3016 352 Box +3146 352 Box +3277 644 Box +3407 2103 Box +3537 2978 Box +3668 3270 Box +3798 3270 Box +3928 3270 Box +4059 3270 Box +4611 587 Box +% End plot #5 +% Begin plot #6 +1.000 UP +2.000 UL +LT5 +0.50 0.00 0.00 C LCb setrgbcolor +4382 477 M +[ [(Helvetica) 80.0 0.0 true true 0 (Strategy 6 \(With 32 Leaders\))] +] -26.7 MRshow +LT5 +0.50 0.00 0.00 C 4448 477 M +327 0 V +539 352 M +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 0 V +130 0 V +131 0 V +130 0 V +130 0 V +131 292 V +130 583 V +130 876 V +131 583 V +130 0 V +130 292 V +131 292 V +539 352 Crs +669 352 Crs +800 352 Crs +930 352 Crs +1060 352 Crs +1191 352 Crs +1321 352 Crs +1452 352 Crs +1582 352 Crs +1712 352 Crs +1843 352 Crs +1973 352 Crs +2103 352 Crs +2234 352 Crs +2364 352 Crs +2494 352 Crs +2625 352 Crs +2755 352 Crs +2886 352 Crs +3016 352 Crs +3146 352 Crs +3277 644 Crs +3407 1227 Crs +3537 2103 Crs +3668 2686 Crs +3798 2686 Crs +3928 2978 Crs +4059 3270 Crs +4611 477 Crs +% End plot #6 1.000 UL LTb 539 3270 N 539 352 L -5309 0 V +4302 0 V 0 2918 V --5309 0 V +-4302 0 V Z stroke 1.000 UP 1.000 UL diff --git a/R2/ASR.eps b/R2/ASR.eps index fac04f7..a265f7c 100644 --- a/R2/ASR.eps +++ b/R2/ASR.eps @@ -1,8 +1,8 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 53 53 539 399 -%%HiResBoundingBox: 54 53.5 538.5 398.5 +%%BoundingBox: 53 53 542 399 +%%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:44:26 2014 +%%CreationDate: Sun Apr 13 12:29:35 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:44:26 2014) + /CreationDate (Sun Apr 13 12:29:35 2014) /DOCINFO pdfmark end } ifelse @@ -631,116 +631,146 @@ stroke ] -36.7 MCshow 1.000 UL LTb -853 352 M +785 352 M 0 63 V 0 2855 R 0 -63 V stroke -853 242 M +785 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1233 352 M +1097 352 M 0 63 V 0 2855 R 0 -63 V stroke -1233 242 M +1097 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1612 352 M +1409 352 M 0 63 V 0 2855 R 0 -63 V stroke -1612 242 M +1409 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -1992 352 M +1721 352 M 0 63 V 0 2855 R 0 -63 V stroke -1992 242 M +1721 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2372 352 M +2033 352 M 0 63 V 0 2855 R 0 -63 V stroke -2372 242 M +2033 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -2752 352 M +2345 352 M 0 63 V 0 2855 R 0 -63 V stroke -2752 242 M +2345 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3132 352 M +2657 352 M 0 63 V 0 2855 R 0 -63 V stroke -3132 242 M +2657 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3512 352 M +2969 352 M 0 63 V 0 2855 R 0 -63 V stroke -3512 242 M +2969 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -3891 352 M +3281 352 M 0 63 V 0 2855 R 0 -63 V stroke -3891 242 M +3281 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -4271 352 M +3593 352 M 0 63 V 0 2855 R 0 -63 V stroke -4271 242 M +3593 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb -4651 352 M +3905 352 M 0 63 V 0 2855 R 0 -63 V stroke -4651 242 M +3905 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22)] ] -36.7 MCshow 1.000 UL LTb +4217 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4217 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4529 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4529 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4841 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4841 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb 1.000 UL LTb 473 3270 N @@ -778,52 +808,60 @@ LT0 LT0 0.00 0.55 0.55 C 4382 3152 M 327 0 V -663 1936 M -190 0 V -190 4 V -190 18 V -190 47 V -189 29 V -190 8 V -190 24 V -190 29 V -190 0 V -190 -11 V -190 -58 V -190 -159 V -190 -300 V -190 -240 V -190 -279 V -3702 799 L -3891 625 L -4081 517 L -190 -74 V -190 0 V -190 -58 V -190 -5 V -663 1936 Box -853 1936 Box -1043 1940 Box -1233 1958 Box -1423 2005 Box -1612 2034 Box -1802 2042 Box -1992 2066 Box -2182 2095 Box -2372 2095 Box -2562 2084 Box -2752 2026 Box -2942 1867 Box -3132 1567 Box -3322 1327 Box -3512 1048 Box -3702 799 Box -3891 625 Box -4081 517 Box -4271 443 Box -4461 443 Box -4651 385 Box -4841 380 Box +629 1938 M +156 0 V +156 -1 V +156 9 V +156 66 V +156 32 V +156 4 V +156 20 V +156 16 V +156 6 V +156 15 V +156 3 V +156 -57 V +156 -124 V +156 -116 V +156 -239 V +156 -243 V +156 -290 V +3437 776 L +3593 584 L +3749 449 L +156 -68 V +156 -18 V +156 -7 V +156 -3 V +156 0 V +156 -1 V +629 1938 Box +785 1938 Box +941 1937 Box +1097 1946 Box +1253 2012 Box +1409 2044 Box +1565 2048 Box +1721 2068 Box +1877 2084 Box +2033 2090 Box +2189 2105 Box +2345 2108 Box +2501 2051 Box +2657 1927 Box +2813 1811 Box +2969 1572 Box +3125 1329 Box +3281 1039 Box +3437 776 Box +3593 584 Box +3749 449 Box +3905 381 Box +4061 363 Box +4217 356 Box +4373 353 Box +4529 353 Box +4685 352 Box 4545 3152 Box % End plot #1 % Begin plot #2 @@ -832,57 +870,65 @@ LT0 LT1 0.50 0.00 0.00 C LCb setrgbcolor 4316 3042 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 0.50 0.00 0.00 C 4382 3042 M 327 0 V -663 2005 M -190 0 V -190 4 V -190 22 V -190 100 V -189 37 V -190 17 V -190 35 V -190 29 V -190 19 V -190 -46 V -190 -133 V -190 -264 V -190 -272 V -190 -532 V -3512 655 L -3702 494 L -3891 382 L -190 -2 V -190 -28 V -190 0 V -190 0 V -190 0 V -663 2005 Crs -853 2005 Crs -1043 2009 Crs -1233 2031 Crs -1423 2131 Crs -1612 2168 Crs -1802 2185 Crs -1992 2220 Crs -2182 2249 Crs -2372 2268 Crs -2562 2222 Crs -2752 2089 Crs -2942 1825 Crs -3132 1553 Crs -3322 1021 Crs -3512 655 Crs -3702 494 Crs -3891 382 Crs -4081 380 Crs -4271 352 Crs -4461 352 Crs -4651 352 Crs -4841 352 Crs +629 1978 M +156 0 V +156 0 V +156 8 V +156 91 V +156 39 V +156 7 V +156 22 V +156 40 V +156 1 V +156 -1 V +156 0 V +156 -76 V +156 -163 V +156 -171 V +156 -240 V +156 -345 V +3281 868 L +3437 636 L +3593 490 L +156 -85 V +156 -35 V +156 -12 V +156 -3 V +156 -3 V +156 0 V +156 0 V +629 1978 Crs +785 1978 Crs +941 1978 Crs +1097 1986 Crs +1253 2077 Crs +1409 2116 Crs +1565 2123 Crs +1721 2145 Crs +1877 2185 Crs +2033 2186 Crs +2189 2185 Crs +2345 2185 Crs +2501 2109 Crs +2657 1946 Crs +2813 1775 Crs +2969 1535 Crs +3125 1190 Crs +3281 868 Crs +3437 636 Crs +3593 490 Crs +3749 405 Crs +3905 370 Crs +4061 358 Crs +4217 355 Crs +4373 352 Crs +4529 352 Crs +4685 352 Crs 4545 3042 Crs % End plot #2 % Begin plot #3 @@ -891,57 +937,65 @@ LT1 LT2 0.00 0.00 0.55 C LCb setrgbcolor 4316 2932 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -663 2025 M -190 0 V -190 6 V -190 23 V -190 123 V -189 39 V -190 13 V -190 34 V -190 43 V -190 -18 V -190 -81 V -190 -161 V -190 -435 V -190 -449 V -3322 812 L -3512 533 L -190 -81 V -189 -38 V -190 -33 V -190 -29 V -190 0 V -190 0 V -190 0 V -663 2025 Star -853 2025 Star -1043 2031 Star -1233 2054 Star -1423 2177 Star -1612 2216 Star -1802 2229 Star -1992 2263 Star -2182 2306 Star -2372 2288 Star -2562 2207 Star -2752 2046 Star -2942 1611 Star -3132 1162 Star -3322 812 Star -3512 533 Star -3702 452 Star -3891 414 Star -4081 381 Star -4271 352 Star -4461 352 Star -4651 352 Star -4841 352 Star +629 2008 M +156 0 V +156 0 V +156 9 V +156 99 V +156 52 V +156 6 V +156 32 V +156 37 V +156 9 V +156 -5 V +156 3 V +156 -89 V +156 -211 V +156 -238 V +156 -287 V +156 -344 V +3281 748 L +3437 557 L +3593 447 L +156 -67 V +156 -20 V +156 -5 V +156 -1 V +156 -2 V +156 0 V +156 0 V +629 2008 Star +785 2008 Star +941 2008 Star +1097 2017 Star +1253 2116 Star +1409 2168 Star +1565 2174 Star +1721 2206 Star +1877 2243 Star +2033 2252 Star +2189 2247 Star +2345 2250 Star +2501 2161 Star +2657 1950 Star +2813 1712 Star +2969 1425 Star +3125 1081 Star +3281 748 Star +3437 557 Star +3593 447 Star +3749 380 Star +3905 360 Star +4061 355 Star +4217 354 Star +4373 352 Star +4529 352 Star +4685 352 Star 4545 2932 Star % End plot #3 % Begin plot #4 @@ -950,59 +1004,134 @@ LT2 LT3 0.00 0.39 0.00 C LCb setrgbcolor 4316 2822 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 0.00 0.39 0.00 C 4382 2822 M 327 0 V -663 2052 M -190 0 V -190 8 V -190 40 V -190 87 V -189 57 V -190 16 V -190 26 V -190 62 V -190 -81 V -190 -153 V -190 -163 V -190 -237 V -190 -552 V -3322 832 L -3512 621 L -3702 474 L -189 -84 V -190 -38 V -190 0 V -190 0 V -190 0 V -190 0 V -663 2052 Star -853 2052 Star -1043 2060 Star -1233 2100 Star -1423 2187 Star -1612 2244 Star -1802 2260 Star -1992 2286 Star -2182 2348 Star -2372 2267 Star -2562 2114 Star -2752 1951 Star -2942 1714 Star -3132 1162 Star -3322 832 Star -3512 621 Star -3702 474 Star -3891 390 Star -4081 352 Star -4271 352 Star -4461 352 Star -4651 352 Star -4841 352 Star +629 2027 M +156 0 V +156 0 V +156 13 V +156 120 V +156 48 V +156 9 V +156 36 V +156 43 V +156 1 V +156 -7 V +156 -28 V +156 -135 V +156 -225 V +156 -231 V +156 -327 V +3125 994 L +3281 699 L +3437 537 L +3593 430 L +156 -57 V +156 -12 V +156 -7 V +156 -2 V +156 0 V +156 0 V +156 0 V +629 2027 Star +785 2027 Star +941 2027 Star +1097 2040 Star +1253 2160 Star +1409 2208 Star +1565 2217 Star +1721 2253 Star +1877 2296 Star +2033 2297 Star +2189 2290 Star +2345 2262 Star +2501 2127 Star +2657 1902 Star +2813 1671 Star +2969 1344 Star +3125 994 Star +3281 699 Star +3437 537 Star +3593 430 Star +3749 373 Star +3905 361 Star +4061 354 Star +4217 352 Star +4373 352 Star +4529 352 Star +4685 352 Star 4545 2822 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +4316 2712 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 4382 2712 M +327 0 V +629 2047 M +156 0 V +156 0 V +156 17 V +156 124 V +156 54 V +156 13 V +156 42 V +156 31 V +156 19 V +156 -21 V +156 -24 V +156 -157 V +156 -277 V +156 -264 V +156 -292 V +3125 939 L +3281 660 L +3437 500 L +156 -97 V +156 -36 V +156 -13 V +156 -1 V +156 -1 V +156 0 V +156 0 V +156 0 V +629 2047 Star +785 2047 Star +941 2047 Star +1097 2064 Star +1253 2188 Star +1409 2242 Star +1565 2255 Star +1721 2297 Star +1877 2328 Star +2033 2347 Star +2189 2326 Star +2345 2302 Star +2501 2145 Star +2657 1868 Star +2813 1604 Star +2969 1312 Star +3125 939 Star +3281 660 Star +3437 500 Star +3593 403 Star +3749 367 Star +3905 354 Star +4061 353 Star +4217 352 Star +4373 352 Star +4529 352 Star +4685 352 Star +4545 2712 Star +% End plot #5 1.000 UL LTb 473 3270 N diff --git a/R2/CR.eps b/R2/CR.eps index 8d58996..4c10e58 100644 --- a/R2/CR.eps +++ b/R2/CR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:45:26 2014 +%%CreationDate: Sun Apr 13 12:35:17 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:45:26 2014) + /CreationDate (Sun Apr 13 12:35:17 2014) /DOCINFO pdfmark end } ifelse @@ -651,123 +651,143 @@ stroke ] -36.7 MCshow 1.000 UL LTb -898 352 M +846 352 M 0 63 V 0 2855 R 0 -63 V stroke -898 242 M +846 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1256 352 M +1154 352 M 0 63 V 0 2855 R 0 -63 V stroke -1256 242 M +1154 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1615 352 M +1461 352 M 0 63 V 0 2855 R 0 -63 V stroke -1615 242 M +1461 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -1973 352 M +1768 352 M 0 63 V 0 2855 R 0 -63 V stroke -1973 242 M +1768 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2332 352 M +2075 352 M 0 63 V 0 2855 R 0 -63 V stroke -2332 242 M +2075 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -2690 352 M +2383 352 M 0 63 V 0 2855 R 0 -63 V stroke -2690 242 M +2383 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3049 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -3049 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3407 352 M +2997 352 M 0 63 V 0 2855 R 0 -63 V stroke -3407 242 M +2997 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -3766 352 M +3305 352 M 0 63 V 0 2855 R 0 -63 V stroke -3766 242 M +3305 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -4124 352 M +3612 352 M 0 63 V 0 2855 R 0 -63 V stroke -4124 242 M +3612 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb -4483 352 M +3919 352 M 0 63 V 0 2855 R 0 -63 V stroke -4483 242 M +3919 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22)] ] -36.7 MCshow 1.000 UL LTb +4226 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4226 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4534 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4534 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] ] -36.7 MCshow 1.000 UL LTb @@ -808,54 +828,60 @@ LT0 LT0 0.00 0.55 0.55 C 4448 3157 M 327 0 V -718 3217 M -180 0 V -179 0 V -179 0 V -179 3 V -180 4 V -179 0 V -179 3 V -179 -5 V -180 -12 V -179 -15 V -179 -83 V -179 -218 V -180 -500 V -179 -370 V -179 -449 V -179 -425 V -3766 818 L -3945 653 L -4124 514 L -179 -5 V -4483 404 L -179 -3 V -179 -49 V -718 3217 Box -898 3217 Box -1077 3217 Box -1256 3217 Box -1435 3220 Box -1615 3224 Box -1794 3224 Box -1973 3227 Box -2152 3222 Box -2332 3210 Box -2511 3195 Box -2690 3112 Box -2869 2894 Box -3049 2394 Box -3228 2024 Box -3407 1575 Box -3586 1150 Box -3766 818 Box -3945 653 Box -4124 514 Box -4303 509 Box -4483 404 Box -4662 401 Box -4841 352 Box +693 3216 M +153 0 V +154 0 V +154 0 V +153 8 V +154 -1 V +154 0 V +153 0 V +154 -7 V +153 -9 V +154 -6 V +154 -24 V +153 -53 V +154 -103 V +154 -132 V +153 -245 V +154 -296 V +154 -468 V +153 -468 V +3612 984 L +3766 641 L +3919 441 L +154 -54 V +153 -22 V +154 -10 V +154 0 V +153 -3 V +693 3216 Box +846 3216 Box +1000 3216 Box +1154 3216 Box +1307 3224 Box +1461 3223 Box +1615 3223 Box +1768 3223 Box +1922 3216 Box +2075 3207 Box +2229 3201 Box +2383 3177 Box +2536 3124 Box +2690 3021 Box +2844 2889 Box +2997 2644 Box +3151 2348 Box +3305 1880 Box +3458 1412 Box +3612 984 Box +3766 641 Box +3919 441 Box +4073 387 Box +4226 365 Box +4380 355 Box +4534 355 Box +4687 352 Box 4611 3157 Box % End plot #1 % Begin plot #2 @@ -864,59 +890,65 @@ LT0 LT1 0.50 0.00 0.00 C LCb setrgbcolor 4382 3047 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 0.50 0.00 0.00 C 4448 3047 M 327 0 V -718 3247 M -180 0 V -179 0 V -179 0 V -179 2 V -180 1 V -179 -1 V -179 -1 V -179 -10 V -180 -15 V -179 -24 V -179 -159 V -179 -408 V -180 -352 V -179 -823 V -3407 859 L -3586 592 L -3766 404 L -179 -2 V -179 -50 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3247 Crs -898 3247 Crs -1077 3247 Crs -1256 3247 Crs -1435 3249 Crs -1615 3250 Crs -1794 3249 Crs -1973 3248 Crs -2152 3238 Crs -2332 3223 Crs -2511 3199 Crs -2690 3040 Crs -2869 2632 Crs -3049 2280 Crs -3228 1457 Crs -3407 859 Crs -3586 592 Crs -3766 404 Crs -3945 402 Crs -4124 352 Crs -4303 352 Crs -4483 352 Crs -4662 352 Crs -4841 352 Crs +693 3237 M +153 0 V +154 0 V +154 2 V +153 2 V +154 -4 V +154 1 V +153 -2 V +154 -1 V +153 -8 V +154 -10 V +154 -32 V +153 -79 V +154 -135 V +154 -160 V +153 -255 V +154 -424 V +154 -543 V +153 -464 V +3612 761 L +3766 517 L +3919 408 L +154 -36 V +153 -10 V +154 -10 V +154 0 V +153 0 V +693 3237 Crs +846 3237 Crs +1000 3237 Crs +1154 3239 Crs +1307 3241 Crs +1461 3237 Crs +1615 3238 Crs +1768 3236 Crs +1922 3235 Crs +2075 3227 Crs +2229 3217 Crs +2383 3185 Crs +2536 3106 Crs +2690 2971 Crs +2844 2811 Crs +2997 2556 Crs +3151 2132 Crs +3305 1589 Crs +3458 1125 Crs +3612 761 Crs +3766 517 Crs +3919 408 Crs +4073 372 Crs +4226 362 Crs +4380 352 Crs +4534 352 Crs +4687 352 Crs 4611 3047 Crs % End plot #2 % Begin plot #3 @@ -925,59 +957,65 @@ LT1 LT2 0.00 0.00 0.55 C LCb setrgbcolor 4382 2937 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 0.00 0.00 0.55 C 4448 2937 M 327 0 V -718 3254 M -180 0 V -179 1 V -179 -1 V -179 1 V -180 1 V -179 -1 V -179 -4 V -179 -9 V -180 -13 V -179 -138 V -179 -226 V -179 -574 V -180 -642 V -179 -541 V -3407 655 L -3586 513 L -180 -61 V -179 -51 V -179 -49 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3254 Star -898 3254 Star -1077 3255 Star -1256 3254 Star -1435 3255 Star -1615 3256 Star -1794 3255 Star -1973 3251 Star -2152 3242 Star -2332 3229 Star -2511 3091 Star -2690 2865 Star -2869 2291 Star -3049 1649 Star -3228 1108 Star -3407 655 Star -3586 513 Star -3766 452 Star -3945 401 Star -4124 352 Star -4303 352 Star -4483 352 Star -4662 352 Star -4841 352 Star +693 3247 M +153 0 V +154 0 V +154 1 V +153 3 V +154 -3 V +154 0 V +153 0 V +154 -1 V +153 -15 V +154 -13 V +154 -38 V +153 -93 V +154 -161 V +154 -210 V +153 -308 V +154 -491 V +154 -540 V +3458 924 L +3612 650 L +3766 447 L +153 -71 V +154 -17 V +153 -3 V +154 -4 V +154 0 V +153 0 V +693 3247 Star +846 3247 Star +1000 3247 Star +1154 3248 Star +1307 3251 Star +1461 3248 Star +1615 3248 Star +1768 3248 Star +1922 3247 Star +2075 3232 Star +2229 3219 Star +2383 3181 Star +2536 3088 Star +2690 2927 Star +2844 2717 Star +2997 2409 Star +3151 1918 Star +3305 1378 Star +3458 924 Star +3612 650 Star +3766 447 Star +3919 376 Star +4073 359 Star +4226 356 Star +4380 352 Star +4534 352 Star +4687 352 Star 4611 2937 Star % End plot #3 % Begin plot #4 @@ -986,61 +1024,134 @@ LT2 LT3 0.00 0.39 0.00 C LCb setrgbcolor 4382 2827 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 0.00 0.39 0.00 C 4448 2827 M 327 0 V -718 3257 M -180 0 V -179 0 V -179 0 V -179 0 V -180 1 V -179 0 V -179 -2 V -179 -7 V -180 -132 V -179 -192 V -179 -216 V -179 -255 V -180 -841 V -179 -528 V -3407 793 L -3586 547 L -3766 405 L -179 -53 V -179 0 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3257 Star -898 3257 Star -1077 3257 Star -1256 3257 Star -1435 3257 Star -1615 3258 Star -1794 3258 Star -1973 3256 Star -2152 3249 Star -2332 3117 Star -2511 2925 Star -2690 2709 Star -2869 2454 Star -3049 1613 Star -3228 1085 Star -3407 793 Star -3586 547 Star -3766 405 Star -3945 352 Star -4124 352 Star -4303 352 Star -4483 352 Star -4662 352 Star -4841 352 Star +693 3251 M +153 0 V +154 0 V +154 0 V +153 3 V +154 -1 V +154 0 V +153 -1 V +154 -6 V +153 -8 V +154 -19 V +154 -41 V +153 -108 V +154 -198 V +154 -245 V +153 -349 V +154 -490 V +154 -557 V +3458 885 L +3612 585 L +3766 422 L +153 -44 V +154 -19 V +153 -7 V +154 0 V +154 0 V +153 0 V +693 3251 Star +846 3251 Star +1000 3251 Star +1154 3251 Star +1307 3254 Star +1461 3253 Star +1615 3253 Star +1768 3252 Star +1922 3246 Star +2075 3238 Star +2229 3219 Star +2383 3178 Star +2536 3070 Star +2690 2872 Star +2844 2627 Star +2997 2278 Star +3151 1788 Star +3305 1231 Star +3458 885 Star +3612 585 Star +3766 422 Star +3919 378 Star +4073 359 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star 4611 2827 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +4382 2717 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 4448 2717 M +327 0 V +693 3254 M +153 0 V +154 0 V +154 0 V +153 2 V +154 0 V +154 0 V +153 -1 V +154 -5 V +153 -10 V +154 -17 V +154 -53 V +153 -116 V +154 -223 V +154 -254 V +153 -315 V +154 -576 V +154 -513 V +3458 783 L +3612 516 L +3766 403 L +153 -44 V +154 -4 V +153 -3 V +154 0 V +154 0 V +153 0 V +693 3254 Star +846 3254 Star +1000 3254 Star +1154 3254 Star +1307 3256 Star +1461 3256 Star +1615 3256 Star +1768 3255 Star +1922 3250 Star +2075 3240 Star +2229 3223 Star +2383 3170 Star +2536 3054 Star +2690 2831 Star +2844 2577 Star +2997 2262 Star +3151 1686 Star +3305 1173 Star +3458 783 Star +3612 516 Star +3766 403 Star +3919 359 Star +4073 355 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star +4611 2717 Star +% End plot #5 1.000 UL LTb 539 3270 N diff --git a/R2/EC.eps b/R2/EC.eps index 931be60..ad910af 100644 --- a/R2/EC.eps +++ b/R2/EC.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:46:59 2014 +%%CreationDate: Sun Apr 13 12:42:02 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:46:59 2014) + /CreationDate (Sun Apr 13 12:42:02 2014) /DOCINFO pdfmark end } ifelse @@ -537,17 +537,27 @@ LTb -63 0 V stroke 473 352 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 500)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 200)] ] -36.7 MRshow 1.000 UL LTb -539 838 M +539 676 M 63 0 V 4239 0 R -63 0 V stroke -473 838 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 550)] +473 676 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 250)] +] -36.7 MRshow +1.000 UL +LTb +539 1000 M +63 0 V +4239 0 R +-63 0 V +stroke +473 1000 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 300)] ] -36.7 MRshow 1.000 UL LTb @@ -557,17 +567,27 @@ LTb -63 0 V stroke 473 1325 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 600)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 350)] ] -36.7 MRshow 1.000 UL LTb -539 1811 M +539 1649 M 63 0 V 4239 0 R -63 0 V stroke -473 1811 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 650)] +473 1649 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 400)] +] -36.7 MRshow +1.000 UL +LTb +539 1973 M +63 0 V +4239 0 R +-63 0 V +stroke +473 1973 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 450)] ] -36.7 MRshow 1.000 UL LTb @@ -577,17 +597,27 @@ LTb -63 0 V stroke 473 2297 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 700)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 500)] +] -36.7 MRshow +1.000 UL +LTb +539 2622 M +63 0 V +4239 0 R +-63 0 V +stroke +473 2622 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 550)] ] -36.7 MRshow 1.000 UL LTb -539 2784 M +539 2946 M 63 0 V 4239 0 R -63 0 V stroke -473 2784 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 750)] +473 2946 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 600)] ] -36.7 MRshow 1.000 UL LTb @@ -597,7 +627,7 @@ LTb -63 0 V stroke 473 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 800)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 650)] ] -36.7 MRshow 1.000 UL LTb @@ -742,93 +772,116 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -2059 3118 M +2059 3150 M [ [(Helvetica) 110.0 0.0 true true 0 (Model 1 \(5 Primary Points\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2125 3118 M +0.00 0.55 0.55 C 2125 3150 M 327 0 V -969 440 M -861 9 V -860 483 V -860 622 V -861 1159 V -969 440 Box -1830 449 Box -2690 932 Box -3550 1554 Box -4411 2713 Box -2288 3118 Box +969 491 M +861 610 V +860 496 V +860 515 V +861 620 V +969 491 Box +1830 1101 Box +2690 1597 Box +3550 2112 Box +4411 2732 Box +2288 3150 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -2059 3008 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +2059 3040 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2125 3008 M +0.50 0.00 0.00 C 2125 3040 M 327 0 V -969 1183 M -1830 877 L -860 443 V -860 414 V -861 1354 V -969 1183 Crs -1830 877 Crs -2690 1320 Crs -3550 1734 Crs -4411 3088 Crs -2288 3008 Crs +969 755 M +861 461 V +860 452 V +860 593 V +861 524 V +969 755 Crs +1830 1216 Crs +2690 1668 Crs +3550 2261 Crs +4411 2785 Crs +2288 3040 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2059 2898 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +2059 2930 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2125 2898 M +0.00 0.00 0.55 C 2125 2930 M 327 0 V -969 1629 M -861 -446 V -860 477 V -860 556 V -861 882 V -969 1629 Star -1830 1183 Star -2690 1660 Star -3550 2216 Star -4411 3098 Star -2288 2898 Star +969 767 M +861 485 V +860 470 V +860 571 V +861 620 V +969 767 Star +1830 1252 Star +2690 1722 Star +3550 2293 Star +4411 2913 Star +2288 2930 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -2059 2788 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +2059 2820 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 2125 2788 M +0.00 0.39 0.00 C 2125 2820 M 327 0 V -969 1330 M -861 35 V -860 366 V -860 322 V -861 827 V -969 1330 Star -1830 1365 Star -2690 1731 Star -3550 2053 Star -4411 2880 Star -2288 2788 Star +969 825 M +861 457 V +860 477 V +860 611 V +861 554 V +969 825 Star +1830 1282 Star +2690 1759 Star +3550 2370 Star +4411 2924 Star +2288 2820 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +2059 2710 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 2125 2710 M +327 0 V +969 913 M +861 374 V +860 520 V +860 538 V +861 606 V +969 913 Star +1830 1287 Star +2690 1807 Star +3550 2345 Star +4411 2951 Star +2288 2710 Star +% End plot #5 1.000 UL LTb 539 3270 N diff --git a/R2/ESR.eps b/R2/ESR.eps index 3d659e3..5edc565 100644 --- a/R2/ESR.eps +++ b/R2/ESR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:48:15 2014 +%%CreationDate: Sun Apr 13 12:47:19 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:48:15 2014) + /CreationDate (Sun Apr 13 12:47:19 2014) /DOCINFO pdfmark end } ifelse @@ -651,123 +651,143 @@ stroke ] -36.7 MCshow 1.000 UL LTb -898 352 M +846 352 M 0 63 V 0 2855 R 0 -63 V stroke -898 242 M +846 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1256 352 M +1154 352 M 0 63 V 0 2855 R 0 -63 V stroke -1256 242 M +1154 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1615 352 M +1461 352 M 0 63 V 0 2855 R 0 -63 V stroke -1615 242 M +1461 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -1973 352 M +1768 352 M 0 63 V 0 2855 R 0 -63 V stroke -1973 242 M +1768 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2332 352 M +2075 352 M 0 63 V 0 2855 R 0 -63 V stroke -2332 242 M +2075 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -2690 352 M +2383 352 M 0 63 V 0 2855 R 0 -63 V stroke -2690 242 M +2383 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3049 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -3049 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3407 352 M +2997 352 M 0 63 V 0 2855 R 0 -63 V stroke -3407 242 M +2997 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -3766 352 M +3305 352 M 0 63 V 0 2855 R 0 -63 V stroke -3766 242 M +3305 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -4124 352 M +3612 352 M 0 63 V 0 2855 R 0 -63 V stroke -4124 242 M +3612 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb -4483 352 M +3919 352 M 0 63 V 0 2855 R 0 -63 V stroke -4483 242 M +3919 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22)] ] -36.7 MCshow 1.000 UL LTb +4226 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4226 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4534 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4534 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] ] -36.7 MCshow 1.000 UL LTb @@ -808,54 +828,60 @@ LT0 LT0 0.00 0.55 0.55 C 4382 3152 M 327 0 V -718 3270 M -180 0 V -179 -10 V -179 -44 V -179 -228 V -180 -153 V -179 -72 V -179 -132 V -179 -226 V -180 -178 V -179 -160 V -179 -192 V -179 -268 V -180 -333 V -179 -230 V -3407 834 L -3586 657 L -3766 541 L -179 -68 V -179 -43 V -179 -10 V -180 -47 V -179 -4 V -179 -17 V -718 3270 Box -898 3270 Box -1077 3260 Box -1256 3216 Box -1435 2988 Box -1615 2835 Box -1794 2763 Box -1973 2631 Box -2152 2405 Box -2332 2227 Box -2511 2067 Box -2690 1875 Box -2869 1607 Box -3049 1274 Box -3228 1044 Box -3407 834 Box -3586 657 Box -3766 541 Box -3945 473 Box -4124 430 Box -4303 420 Box -4483 373 Box -4662 369 Box -4841 352 Box +693 3270 M +153 0 V +154 0 V +154 -18 V +153 -315 V +154 -160 V +154 -31 V +153 -103 V +154 -247 V +153 -225 V +154 -120 V +154 -168 V +153 -240 V +154 -223 V +154 -185 V +153 -213 V +3151 839 L +3305 671 L +3458 541 L +154 -89 V +154 -59 V +153 -29 V +154 -8 V +153 -2 V +154 -2 V +154 0 V +153 0 V +693 3270 Box +846 3270 Box +1000 3270 Box +1154 3252 Box +1307 2937 Box +1461 2777 Box +1615 2746 Box +1768 2643 Box +1922 2396 Box +2075 2171 Box +2229 2051 Box +2383 1883 Box +2536 1643 Box +2690 1420 Box +2844 1235 Box +2997 1022 Box +3151 839 Box +3305 671 Box +3458 541 Box +3612 452 Box +3766 393 Box +3919 364 Box +4073 356 Box +4226 354 Box +4380 352 Box +4534 352 Box +4687 352 Box 4545 3152 Box % End plot #1 % Begin plot #2 @@ -864,59 +890,65 @@ LT0 LT1 0.50 0.00 0.00 C LCb setrgbcolor 4316 3042 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 0.50 0.00 0.00 C 4382 3042 M 327 0 V -718 3270 M -180 0 V -179 -11 V -179 -52 V -179 -282 V -180 -150 V -179 -78 V -179 -148 V -179 -235 V -180 -205 V -179 -173 V -179 -243 V -179 -349 V -180 -264 V -3228 736 L -3407 528 L -179 -95 V -180 -58 V -179 -4 V -179 -19 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3270 Crs -898 3270 Crs -1077 3259 Crs -1256 3207 Crs -1435 2925 Crs -1615 2775 Crs -1794 2697 Crs -1973 2549 Crs -2152 2314 Crs -2332 2109 Crs -2511 1936 Crs -2690 1693 Crs -2869 1344 Crs -3049 1080 Crs -3228 736 Crs -3407 528 Crs -3586 433 Crs -3766 375 Crs -3945 371 Crs -4124 352 Crs -4303 352 Crs -4483 352 Crs -4662 352 Crs -4841 352 Crs +693 3270 M +153 0 V +154 0 V +154 -18 V +153 -320 V +154 -184 V +154 -27 V +153 -97 V +154 -274 V +153 -237 V +154 -127 V +154 -165 V +153 -262 V +154 -237 V +154 -187 V +2997 938 L +3151 743 L +3305 582 L +3458 475 L +154 -65 V +154 -36 V +153 -15 V +154 -5 V +153 -1 V +154 -1 V +154 0 V +153 0 V +693 3270 Crs +846 3270 Crs +1000 3270 Crs +1154 3252 Crs +1307 2932 Crs +1461 2748 Crs +1615 2721 Crs +1768 2624 Crs +1922 2350 Crs +2075 2113 Crs +2229 1986 Crs +2383 1821 Crs +2536 1559 Crs +2690 1322 Crs +2844 1135 Crs +2997 938 Crs +3151 743 Crs +3305 582 Crs +3458 475 Crs +3612 410 Crs +3766 374 Crs +3919 359 Crs +4073 354 Crs +4226 353 Crs +4380 352 Crs +4534 352 Crs +4687 352 Crs 4545 3042 Crs % End plot #2 % Begin plot #3 @@ -925,59 +957,65 @@ LT1 LT2 0.00 0.00 0.55 C LCb setrgbcolor 4316 2932 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -718 3270 M -180 0 V -179 -12 V -179 -61 V -179 -304 V -180 -155 V -179 -67 V -179 -152 V -179 -245 V -180 -223 V -179 -206 V -179 -269 V -179 -403 V -3049 850 L -3228 632 L -3407 470 L -179 -48 V -180 -35 V -179 -21 V -179 -14 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3270 Star -898 3270 Star -1077 3258 Star -1256 3197 Star -1435 2893 Star -1615 2738 Star -1794 2671 Star -1973 2519 Star -2152 2274 Star -2332 2051 Star -2511 1845 Star -2690 1576 Star -2869 1173 Star -3049 850 Star -3228 632 Star -3407 470 Star -3586 422 Star -3766 387 Star -3945 366 Star -4124 352 Star -4303 352 Star -4483 352 Star -4662 352 Star -4841 352 Star +693 3270 M +153 0 V +154 0 V +154 -21 V +153 -315 V +154 -180 V +154 -33 V +153 -125 V +154 -251 V +153 -257 V +154 -144 V +154 -176 V +153 -256 V +154 -263 V +154 -205 V +2997 862 L +3151 674 L +3305 523 L +153 -85 V +154 -47 V +154 -28 V +153 -8 V +154 -2 V +153 0 V +154 -1 V +154 0 V +153 0 V +693 3270 Star +846 3270 Star +1000 3270 Star +1154 3249 Star +1307 2934 Star +1461 2754 Star +1615 2721 Star +1768 2596 Star +1922 2345 Star +2075 2088 Star +2229 1944 Star +2383 1768 Star +2536 1512 Star +2690 1249 Star +2844 1044 Star +2997 862 Star +3151 674 Star +3305 523 Star +3458 438 Star +3612 391 Star +3766 363 Star +3919 355 Star +4073 353 Star +4226 353 Star +4380 352 Star +4534 352 Star +4687 352 Star 4545 2932 Star % End plot #3 % Begin plot #4 @@ -986,61 +1024,134 @@ LT2 LT3 0.00 0.39 0.00 C LCb setrgbcolor 4316 2822 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 0.00 0.39 0.00 C 4382 2822 M 327 0 V -718 3270 M -180 0 V -179 -17 V -179 -69 V -179 -279 V -180 -171 V -179 -92 V -179 -154 V -179 -234 V -180 -269 V -179 -235 V -179 -261 V -179 -256 V -3049 855 L -3228 646 L -3407 505 L -179 -83 V -180 -44 V -179 -26 V -179 0 V -179 0 V -180 0 V -179 0 V -179 0 V -718 3270 Star -898 3270 Star -1077 3253 Star -1256 3184 Star -1435 2905 Star -1615 2734 Star -1794 2642 Star -1973 2488 Star -2152 2254 Star -2332 1985 Star -2511 1750 Star -2690 1489 Star -2869 1233 Star -3049 855 Star -3228 646 Star -3407 505 Star -3586 422 Star -3766 378 Star -3945 352 Star -4124 352 Star -4303 352 Star -4483 352 Star -4662 352 Star -4841 352 Star +693 3270 M +153 0 V +154 0 V +154 -23 V +153 -324 V +154 -189 V +154 -31 V +153 -118 V +154 -266 V +153 -237 V +154 -148 V +154 -185 V +153 -287 V +154 -261 V +154 -189 V +2997 822 L +3151 640 L +3305 501 L +153 -69 V +154 -48 V +154 -23 V +153 -5 V +154 -3 V +153 -1 V +154 0 V +154 0 V +153 0 V +693 3270 Star +846 3270 Star +1000 3270 Star +1154 3247 Star +1307 2923 Star +1461 2734 Star +1615 2703 Star +1768 2585 Star +1922 2319 Star +2075 2082 Star +2229 1934 Star +2383 1749 Star +2536 1462 Star +2690 1201 Star +2844 1012 Star +2997 822 Star +3151 640 Star +3305 501 Star +3458 432 Star +3612 384 Star +3766 361 Star +3919 356 Star +4073 353 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star 4545 2822 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +4316 2712 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 4382 2712 M +327 0 V +693 3270 M +153 0 V +154 0 V +154 -23 V +153 -337 V +154 -183 V +154 -36 V +153 -119 V +154 -285 V +153 -258 V +154 -145 V +154 -192 V +153 -270 V +154 -267 V +2844 963 L +2997 792 L +3151 604 L +3305 481 L +153 -68 V +154 -40 V +154 -15 V +153 -5 V +154 -1 V +153 0 V +154 0 V +154 0 V +153 0 V +693 3270 Star +846 3270 Star +1000 3270 Star +1154 3247 Star +1307 2910 Star +1461 2727 Star +1615 2691 Star +1768 2572 Star +1922 2287 Star +2075 2029 Star +2229 1884 Star +2383 1692 Star +2536 1422 Star +2690 1155 Star +2844 963 Star +2997 792 Star +3151 604 Star +3305 481 Star +3458 413 Star +3612 373 Star +3766 358 Star +3919 353 Star +4073 352 Star +4226 352 Star +4380 352 Star +4534 352 Star +4687 352 Star +4545 2712 Star +% End plot #5 1.000 UL LTb 539 3270 N diff --git a/R2/LT.eps b/R2/LT.eps index 0d9a4f5..8ae3432 100644 --- a/R2/LT.eps +++ b/R2/LT.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:50:02 2014 +%%CreationDate: Sun Apr 13 12:55:48 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:50:02 2014) + /CreationDate (Sun Apr 13 12:55:48 2014) /DOCINFO pdfmark end } ifelse @@ -537,97 +537,87 @@ LTb -63 0 V stroke 605 352 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 0)] -] -36.7 MRshow -1.000 UL -LTb -671 644 M -63 0 V -4107 0 R --63 0 V -stroke -605 644 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 2500)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 10000)] ] -36.7 MRshow 1.000 UL LTb -671 936 M +671 676 M 63 0 V 4107 0 R -63 0 V stroke -605 936 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 5000)] +605 676 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 12500)] ] -36.7 MRshow 1.000 UL LTb -671 1227 M +671 1000 M 63 0 V 4107 0 R -63 0 V stroke -605 1227 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 7500)] +605 1000 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 15000)] ] -36.7 MRshow 1.000 UL LTb -671 1519 M +671 1325 M 63 0 V 4107 0 R -63 0 V stroke -605 1519 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 10000)] +605 1325 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 17500)] ] -36.7 MRshow 1.000 UL LTb -671 1811 M +671 1649 M 63 0 V 4107 0 R -63 0 V stroke -605 1811 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 12500)] +605 1649 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 20000)] ] -36.7 MRshow 1.000 UL LTb -671 2103 M +671 1973 M 63 0 V 4107 0 R -63 0 V stroke -605 2103 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 15000)] +605 1973 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22500)] ] -36.7 MRshow 1.000 UL LTb -671 2395 M +671 2297 M 63 0 V 4107 0 R -63 0 V stroke -605 2395 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 17500)] +605 2297 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] ] -36.7 MRshow 1.000 UL LTb -671 2686 M +671 2622 M 63 0 V 4107 0 R -63 0 V stroke -605 2686 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 20000)] +605 2622 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 27500)] ] -36.7 MRshow 1.000 UL LTb -671 2978 M +671 2946 M 63 0 V 4107 0 R -63 0 V stroke -605 2978 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 22500)] +605 2946 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30000)] ] -36.7 MRshow 1.000 UL LTb @@ -637,7 +627,7 @@ LTb -63 0 V stroke 605 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 32500)] ] -36.7 MRshow 1.000 UL LTb @@ -782,93 +772,116 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -2130 3157 M +2130 3176 M [ [(Helvetica) 110.0 0.0 true true 0 (Model 1 \(5 Primary Points\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2196 3157 M +0.00 0.55 0.55 C 2196 3176 M 327 0 V -1088 1159 M -834 748 V -834 624 V -834 421 V -834 170 V -1088 1159 Box -1922 1907 Box -2756 2531 Box -3590 2952 Box -4424 3122 Box -2359 3157 Box +1088 1050 M +834 791 V +834 576 V +834 351 V +834 153 V +1088 1050 Box +1922 1841 Box +2756 2417 Box +3590 2768 Box +4424 2921 Box +2359 3176 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -2130 3047 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +2130 3066 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2196 3047 M +0.50 0.00 0.00 C 2196 3066 M 327 0 V -1088 1030 M -834 767 V -834 561 V -834 521 V -834 117 V -1088 1030 Crs -1922 1797 Crs -2756 2358 Crs -3590 2879 Crs -4424 2996 Crs -2359 3047 Crs +1088 770 M +834 921 V +834 638 V +834 271 V +834 256 V +1088 770 Crs +1922 1691 Crs +2756 2329 Crs +3590 2600 Crs +4424 2856 Crs +2359 3066 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2130 2937 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +2130 2956 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2196 2937 M +0.00 0.00 0.55 C 2196 2956 M 327 0 V -1088 988 M -834 717 V -834 555 V -834 439 V -834 261 V -1088 988 Star -1922 1705 Star -2756 2260 Star -3590 2699 Star -4424 2960 Star -2359 2937 Star +1088 758 M +834 887 V +834 613 V +834 308 V +834 174 V +1088 758 Star +1922 1645 Star +2756 2258 Star +3590 2566 Star +4424 2740 Star +2359 2956 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -2130 2827 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +2130 2846 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 2196 2827 M +0.00 0.39 0.00 C 2196 2846 M 327 0 V -1088 1013 M -834 658 V -834 575 V -834 504 V -834 291 V -1088 1013 Star -1922 1671 Star -2756 2246 Star -3590 2750 Star -4424 3041 Star -2359 2827 Star +1088 692 M +834 928 V +834 588 V +834 277 V +834 230 V +1088 692 Star +1922 1620 Star +2756 2208 Star +3590 2485 Star +4424 2715 Star +2359 2846 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +2130 2736 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 2196 2736 M +327 0 V +1088 614 M +834 1003 V +834 541 V +834 346 V +834 193 V +1088 614 Star +1922 1617 Star +2756 2158 Star +3590 2504 Star +4424 2697 Star +2359 2736 Star +% End plot #5 1.000 UL LTb 671 3270 N diff --git a/R2/SR.eps b/R2/SR.eps index b7f42aa..ecbce4c 100644 --- a/R2/SR.eps +++ b/R2/SR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:52:33 2014 +%%CreationDate: Sun Apr 13 16:00:33 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:52:33 2014) + /CreationDate (Sun Apr 13 16:00:33 2014) /DOCINFO pdfmark end } ifelse @@ -537,86 +537,96 @@ LTb -63 0 V stroke 473 352 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 0)] +] -36.7 MRshow +1.000 UL +LTb +539 644 M +63 0 V +4239 0 R +-63 0 V +stroke +473 644 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MRshow 1.000 UL LTb -539 676 M +539 936 M 63 0 V 4239 0 R -63 0 V stroke -473 676 M +473 936 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MRshow 1.000 UL LTb -539 1000 M +539 1227 M 63 0 V 4239 0 R -63 0 V stroke -473 1000 M +473 1227 M [ [(Helvetica) 110.0 0.0 true true 0 ( 30)] ] -36.7 MRshow 1.000 UL LTb -539 1325 M +539 1519 M 63 0 V 4239 0 R -63 0 V stroke -473 1325 M +473 1519 M [ [(Helvetica) 110.0 0.0 true true 0 ( 40)] ] -36.7 MRshow 1.000 UL LTb -539 1649 M +539 1811 M 63 0 V 4239 0 R -63 0 V stroke -473 1649 M +473 1811 M [ [(Helvetica) 110.0 0.0 true true 0 ( 50)] ] -36.7 MRshow 1.000 UL LTb -539 1973 M +539 2103 M 63 0 V 4239 0 R -63 0 V stroke -473 1973 M +473 2103 M [ [(Helvetica) 110.0 0.0 true true 0 ( 60)] ] -36.7 MRshow 1.000 UL LTb -539 2297 M +539 2395 M 63 0 V 4239 0 R -63 0 V stroke -473 2297 M +473 2395 M [ [(Helvetica) 110.0 0.0 true true 0 ( 70)] ] -36.7 MRshow 1.000 UL LTb -539 2622 M +539 2686 M 63 0 V 4239 0 R -63 0 V stroke -473 2622 M +473 2686 M [ [(Helvetica) 110.0 0.0 true true 0 ( 80)] ] -36.7 MRshow 1.000 UL LTb -539 2946 M +539 2978 M 63 0 V 4239 0 R -63 0 V stroke -473 2946 M +473 2978 M [ [(Helvetica) 110.0 0.0 true true 0 ( 90)] ] -36.7 MRshow 1.000 UL @@ -631,123 +641,283 @@ stroke ] -36.7 MRshow 1.000 UL LTb -726 352 M +539 352 M 0 63 V 0 2855 R 0 -63 V stroke -726 242 M +539 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 1)] +] -36.7 MCshow +1.000 UL +LTb +698 352 M +0 63 V +0 2855 R +0 -63 V +stroke +698 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1100 352 M +858 352 M 0 63 V 0 2855 R 0 -63 V stroke -1100 242 M +858 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 3)] +] -36.7 MCshow +1.000 UL +LTb +1017 352 M +0 63 V +0 2855 R +0 -63 V +stroke +1017 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1474 352 M +1176 352 M +0 63 V +0 2855 R +0 -63 V +stroke +1176 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 5)] +] -36.7 MCshow +1.000 UL +LTb +1336 352 M 0 63 V 0 2855 R 0 -63 V stroke -1474 242 M +1336 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -1848 352 M +1495 352 M +0 63 V +0 2855 R +0 -63 V +stroke +1495 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 7)] +] -36.7 MCshow +1.000 UL +LTb +1654 352 M 0 63 V 0 2855 R 0 -63 V stroke -1848 242 M +1654 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2222 352 M +1814 352 M 0 63 V 0 2855 R 0 -63 V stroke -2222 242 M +1814 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 9)] +] -36.7 MCshow +1.000 UL +LTb +1973 352 M +0 63 V +0 2855 R +0 -63 V +stroke +1973 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -2596 352 M +2132 352 M +0 63 V +0 2855 R +0 -63 V +stroke +2132 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 11)] +] -36.7 MCshow +1.000 UL +LTb +2292 352 M 0 63 V 0 2855 R 0 -63 V stroke -2596 242 M +2292 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -2971 352 M +2451 352 M 0 63 V 0 2855 R 0 -63 V stroke -2971 242 M +2451 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 13)] +] -36.7 MCshow +1.000 UL +LTb +2610 352 M +0 63 V +0 2855 R +0 -63 V +stroke +2610 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3345 352 M +2770 352 M +0 63 V +0 2855 R +0 -63 V +stroke +2770 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 15)] +] -36.7 MCshow +1.000 UL +LTb +2929 352 M 0 63 V 0 2855 R 0 -63 V stroke -3345 242 M +2929 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -3719 352 M +3088 352 M 0 63 V 0 2855 R 0 -63 V stroke -3719 242 M +3088 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 17)] +] -36.7 MCshow +1.000 UL +LTb +3248 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3248 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -4093 352 M +3407 352 M 0 63 V 0 2855 R 0 -63 V stroke -4093 242 M +3407 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 19)] +] -36.7 MCshow +1.000 UL +LTb +3566 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3566 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb -4467 352 M +3726 352 M 0 63 V 0 2855 R 0 -63 V stroke -4467 242 M +3726 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 21)] +] -36.7 MCshow +1.000 UL +LTb +3885 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3885 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22)] ] -36.7 MCshow 1.000 UL LTb +4044 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4044 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 23)] +] -36.7 MCshow +1.000 UL +LTb +4204 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4204 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4363 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4363 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 25)] +] -36.7 MCshow +1.000 UL +LTb +4522 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4522 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4682 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4682 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 27)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] ] -36.7 MCshow 1.000 UL LTb @@ -782,155 +952,336 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -2044 3150 M +1992 3157 M [ [(Helvetica) 110.0 0.0 true true 0 (Model 1 \(5 Primary Points\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2110 3150 M +0.00 0.55 0.55 C 2058 3157 M 327 0 V -2807 352 M -164 454 V -187 389 V -187 519 V -187 518 V -187 454 V -187 195 V -187 194 V -187 0 V -187 130 V -187 0 V -187 65 V -2971 806 Box -3158 1195 Box -3345 1714 Box -3532 2232 Box -3719 2686 Box -3906 2881 Box -4093 3075 Box -4280 3075 Box -4467 3205 Box -4654 3205 Box -4841 3270 Box -2273 3150 Box +539 352 M +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 409 V +159 1283 V +159 642 V +160 351 V +159 175 V +159 0 V +160 58 V +539 352 Box +698 352 Box +858 352 Box +1017 352 Box +1176 352 Box +1336 352 Box +1495 352 Box +1654 352 Box +1814 352 Box +1973 352 Box +2132 352 Box +2292 352 Box +2451 352 Box +2610 352 Box +2770 352 Box +2929 352 Box +3088 352 Box +3248 352 Box +3407 352 Box +3566 352 Box +3726 761 Box +3885 2044 Box +4044 2686 Box +4204 3037 Box +4363 3212 Box +4522 3212 Box +4682 3270 Box +2221 3157 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -2044 3040 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(13 Primary Points\))] +1992 3047 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 2 \(9 Primary Points\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2110 3040 M +0.50 0.00 0.00 C 2058 3047 M 327 0 V -2690 352 M -94 195 V -187 324 V -187 972 V -187 779 V -187 324 V -187 259 V -187 0 V -187 65 V -187 0 V -187 0 V -187 0 V -187 0 V -2784 547 Crs -2971 871 Crs -3158 1843 Crs -3345 2622 Crs -3532 2946 Crs -3719 3205 Crs -3906 3205 Crs -4093 3270 Crs -4280 3270 Crs -4467 3270 Crs -4654 3270 Crs -4841 3270 Crs -2273 3040 Crs +539 352 M +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 175 V +160 875 V +159 1051 V +159 467 V +160 175 V +159 175 V +159 0 V +160 0 V +539 352 Crs +698 352 Crs +858 352 Crs +1017 352 Crs +1176 352 Crs +1336 352 Crs +1495 352 Crs +1654 352 Crs +1814 352 Crs +1973 352 Crs +2132 352 Crs +2292 352 Crs +2451 352 Crs +2610 352 Crs +2770 352 Crs +2929 352 Crs +3088 352 Crs +3248 352 Crs +3407 352 Crs +3566 527 Crs +3726 1402 Crs +3885 2453 Crs +4044 2920 Crs +4204 3095 Crs +4363 3270 Crs +4522 3270 Crs +4682 3270 Crs +2221 3047 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2044 2930 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(17 Primary Points\))] +1992 2937 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 3 \(13 Primary Points\))] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2110 2930 M +0.00 0.00 0.55 C 2058 2937 M 327 0 V -2596 352 M -188 584 V -187 713 V -187 648 V -187 584 V -187 194 V -187 65 V -187 65 V -187 65 V -187 0 V -187 0 V -187 0 V -187 0 V -2596 352 Star -2784 936 Star -2971 1649 Star -3158 2297 Star -3345 2881 Star -3532 3075 Star -3719 3140 Star -3906 3205 Star -4093 3270 Star -4280 3270 Star -4467 3270 Star -4654 3270 Star -4841 3270 Star -2273 2930 Star +539 352 M +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 350 V +160 1109 V +159 1050 V +159 292 V +160 59 V +159 58 V +159 0 V +160 0 V +539 352 Star +698 352 Star +858 352 Star +1017 352 Star +1176 352 Star +1336 352 Star +1495 352 Star +1654 352 Star +1814 352 Star +1973 352 Star +2132 352 Star +2292 352 Star +2451 352 Star +2610 352 Star +2770 352 Star +2929 352 Star +3088 352 Star +3248 352 Star +3407 352 Star +3566 702 Star +3726 1811 Star +3885 2861 Star +4044 3153 Star +4204 3212 Star +4363 3270 Star +4522 3270 Star +4682 3270 Star +2221 2937 Star % End plot #3 % Begin plot #4 1.000 UP 2.000 UL LT3 0.00 0.39 0.00 C LCb setrgbcolor -2044 2820 M -[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(21 Primary Points\))] +1992 2827 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 4 \(17 Primary Points\))] ] -36.7 MRshow LT3 -0.00 0.39 0.00 C 2110 2820 M +0.00 0.39 0.00 C 2058 2827 M 327 0 V -2409 352 M -187 195 V -188 194 V -187 973 V -187 648 V -187 324 V -187 325 V -187 194 V -187 65 V -187 0 V -187 0 V -187 0 V -187 0 V -187 0 V -2409 352 Star -2596 547 Star -2784 741 Star -2971 1714 Star -3158 2362 Star -3345 2686 Star -3532 3011 Star -3719 3205 Star -3906 3270 Star -4093 3270 Star -4280 3270 Star -4467 3270 Star -4654 3270 Star -4841 3270 Star -2273 2820 Star +539 352 M +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 58 V +159 526 V +160 1400 V +159 584 V +159 233 V +160 117 V +159 0 V +159 0 V +160 0 V +539 352 Star +698 352 Star +858 352 Star +1017 352 Star +1176 352 Star +1336 352 Star +1495 352 Star +1654 352 Star +1814 352 Star +1973 352 Star +2132 352 Star +2292 352 Star +2451 352 Star +2610 352 Star +2770 352 Star +2929 352 Star +3088 352 Star +3248 352 Star +3407 410 Star +3566 936 Star +3726 2336 Star +3885 2920 Star +4044 3153 Star +4204 3270 Star +4363 3270 Star +4522 3270 Star +4682 3270 Star +2221 2827 Star % End plot #4 +% Begin plot #5 +1.000 UP +2.000 UL +LT4 +1.00 0.27 0.00 C LCb setrgbcolor +1992 2717 M +[ [(Helvetica) 110.0 0.0 true true 0 (Model 5 \(21 Primary Points\))] +] -36.7 MRshow +LT4 +1.00 0.27 0.00 C 2058 2717 M +327 0 V +539 352 M +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 0 V +159 0 V +160 0 V +159 175 V +159 759 V +160 1225 V +159 642 V +159 59 V +160 58 V +159 0 V +159 0 V +160 0 V +539 352 Star +698 352 Star +858 352 Star +1017 352 Star +1176 352 Star +1336 352 Star +1495 352 Star +1654 352 Star +1814 352 Star +1973 352 Star +2132 352 Star +2292 352 Star +2451 352 Star +2610 352 Star +2770 352 Star +2929 352 Star +3088 352 Star +3248 352 Star +3407 527 Star +3566 1286 Star +3726 2511 Star +3885 3153 Star +4044 3212 Star +4204 3270 Star +4363 3270 Star +4522 3270 Star +4682 3270 Star +2221 2717 Star +% End plot #5 1.000 UL LTb 539 3270 N diff --git a/R3/ASR.eps b/R3/ASR.eps index 62d1571..56aec22 100644 --- a/R3/ASR.eps +++ b/R3/ASR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 18:59:02 2014 +%%CreationDate: Mon Apr 21 14:53:06 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 18:59:02 2014) + /CreationDate (Mon Apr 21 14:53:06 2014) /DOCINFO pdfmark end } ifelse @@ -541,83 +541,103 @@ stroke ] -36.7 MRshow 1.000 UL LTb -473 717 M +473 644 M 63 0 V 4305 0 R -63 0 V stroke -407 717 M +407 644 M [ [(Helvetica) 110.0 0.0 true true 0 ( 5)] ] -36.7 MRshow 1.000 UL LTb -473 1082 M +473 936 M 63 0 V 4305 0 R -63 0 V stroke -407 1082 M +407 936 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MRshow 1.000 UL LTb -473 1446 M +473 1227 M 63 0 V 4305 0 R -63 0 V stroke -407 1446 M +407 1227 M [ [(Helvetica) 110.0 0.0 true true 0 ( 15)] ] -36.7 MRshow 1.000 UL LTb -473 1811 M +473 1519 M 63 0 V 4305 0 R -63 0 V stroke -407 1811 M +407 1519 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MRshow 1.000 UL LTb -473 2176 M +473 1811 M 63 0 V 4305 0 R -63 0 V stroke -407 2176 M +407 1811 M [ [(Helvetica) 110.0 0.0 true true 0 ( 25)] ] -36.7 MRshow 1.000 UL LTb -473 2541 M +473 2103 M 63 0 V 4305 0 R -63 0 V stroke -407 2541 M +407 2103 M [ [(Helvetica) 110.0 0.0 true true 0 ( 30)] ] -36.7 MRshow 1.000 UL LTb -473 2905 M +473 2395 M 63 0 V 4305 0 R -63 0 V stroke -407 2905 M +407 2395 M [ [(Helvetica) 110.0 0.0 true true 0 ( 35)] ] -36.7 MRshow 1.000 UL LTb +473 2686 M +63 0 V +4305 0 R +-63 0 V +stroke +407 2686 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 40)] +] -36.7 MRshow +1.000 UL +LTb +473 2978 M +63 0 V +4305 0 R +-63 0 V +stroke +407 2978 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 45)] +] -36.7 MRshow +1.000 UL +LTb 473 3270 M 63 0 V 4305 0 R -63 0 V stroke 407 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 40)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 50)] ] -36.7 MRshow 1.000 UL LTb @@ -631,103 +651,163 @@ stroke ] -36.7 MCshow 1.000 UL LTb -910 352 M +746 352 M 0 63 V 0 2855 R 0 -63 V stroke -910 242 M +746 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1347 352 M +1019 352 M 0 63 V 0 2855 R 0 -63 V stroke -1347 242 M +1019 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1783 352 M +1292 352 M 0 63 V 0 2855 R 0 -63 V stroke -1783 242 M +1292 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2220 352 M +1565 352 M 0 63 V 0 2855 R 0 -63 V stroke -2220 242 M +1565 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2657 352 M +1838 352 M 0 63 V 0 2855 R 0 -63 V stroke -2657 242 M +1838 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3094 352 M +2111 352 M 0 63 V 0 2855 R 0 -63 V stroke -3094 242 M +2111 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3531 352 M +2384 352 M 0 63 V 0 2855 R 0 -63 V stroke -3531 242 M +2384 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3967 352 M +2657 352 M 0 63 V 0 2855 R 0 -63 V stroke -3967 242 M +2657 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -4404 352 M +2930 352 M 0 63 V 0 2855 R 0 -63 V stroke -4404 242 M +2930 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb +3203 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3203 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +] -36.7 MCshow +1.000 UL +LTb +3476 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3476 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +3749 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3749 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4022 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4022 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4295 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4295 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb +4568 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4568 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 32)] ] -36.7 MCshow 1.000 UL LTb @@ -763,50 +843,74 @@ LTb LT0 0.00 0.55 0.55 C LCb setrgbcolor 4316 3152 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] ] -36.7 MRshow LT0 0.00 0.55 0.55 C 4382 3152 M 327 0 V -691 2005 M -219 0 V -218 4 V -219 22 V -218 100 V -218 37 V -219 17 V -218 35 V -219 29 V -218 19 V -218 -46 V -219 -133 V -218 -264 V -219 -272 V -218 -532 V -3967 655 L -4186 494 L -4404 382 L -219 -2 V -218 -28 V -691 2005 Box -910 2005 Box -1128 2009 Box -1347 2031 Box -1565 2131 Box -1783 2168 Box -2002 2185 Box -2220 2220 Box -2439 2249 Box -2657 2268 Box -2875 2222 Box -3094 2089 Box -3312 1825 Box -3531 1553 Box -3749 1021 Box -3967 655 Box -4186 494 Box -4404 382 Box -4623 380 Box +610 1802 M +136 0 V +137 0 V +136 0 V +137 127 V +136 59 V +137 3 V +136 -1 V +137 0 V +136 -5 V +137 -19 V +136 -20 V +137 -77 V +136 -211 V +137 -244 V +136 -148 V +137 -139 V +2930 902 L +3067 675 L +3203 543 L +137 -63 V +136 -52 V +137 -36 V +136 -20 V +137 -10 V +136 -6 V +137 -2 V +136 0 V +137 -2 V +136 0 V +137 0 V +136 0 V +610 1802 Box +746 1802 Box +883 1802 Box +1019 1802 Box +1156 1929 Box +1292 1988 Box +1429 1991 Box +1565 1990 Box +1702 1990 Box +1838 1985 Box +1975 1966 Box +2111 1946 Box +2248 1869 Box +2384 1658 Box +2521 1414 Box +2657 1266 Box +2794 1127 Box +2930 902 Box +3067 675 Box +3203 543 Box +3340 480 Box +3476 428 Box +3613 392 Box +3749 372 Box +3886 362 Box +4022 356 Box +4159 354 Box +4295 354 Box +4432 352 Box +4568 352 Box +4705 352 Box 4841 352 Box 4545 3152 Box % End plot #1 @@ -816,50 +920,74 @@ LT0 LT1 0.50 0.00 0.00 C LCb setrgbcolor 4316 3042 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] ] -36.7 MRshow LT1 0.50 0.00 0.00 C 4382 3042 M 327 0 V -691 3093 M -219 3 V -218 2 V -219 10 V -218 92 V -218 -248 V -219 -6 V -218 34 V -219 -208 V -218 -418 V -218 -542 V -3094 797 L -3312 394 L -219 -38 V -218 -4 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -691 3093 Crs -910 3096 Crs -1128 3098 Crs -1347 3108 Crs -1565 3200 Crs -1783 2952 Crs -2002 2946 Crs -2220 2980 Crs -2439 2772 Crs -2657 2354 Crs -2875 1812 Crs -3094 797 Crs -3312 394 Crs -3531 356 Crs -3749 352 Crs -3967 352 Crs -4186 352 Crs -4404 352 Crs -4623 352 Crs +610 1918 M +136 0 V +137 0 V +136 0 V +137 142 V +136 138 V +137 38 V +136 -6 V +137 -36 V +136 -85 V +137 -109 V +136 -56 V +137 -75 V +136 -263 V +137 -331 V +136 -192 V +137 -98 V +2930 866 L +3067 695 L +3203 546 L +137 -59 V +136 -38 V +137 -38 V +136 -34 V +137 -13 V +136 -5 V +137 -4 V +136 -1 V +137 0 V +136 -1 V +137 0 V +136 -1 V +610 1918 Crs +746 1918 Crs +883 1918 Crs +1019 1918 Crs +1156 2060 Crs +1292 2198 Crs +1429 2236 Crs +1565 2230 Crs +1702 2194 Crs +1838 2109 Crs +1975 2000 Crs +2111 1944 Crs +2248 1869 Crs +2384 1606 Crs +2521 1275 Crs +2657 1083 Crs +2794 985 Crs +2930 866 Crs +3067 695 Crs +3203 546 Crs +3340 487 Crs +3476 449 Crs +3613 411 Crs +3749 377 Crs +3886 364 Crs +4022 359 Crs +4159 355 Crs +4295 354 Crs +4432 354 Crs +4568 353 Crs +4705 353 Crs 4841 352 Crs 4545 3042 Crs % End plot #2 @@ -869,53 +997,154 @@ LT1 LT2 0.00 0.00 0.55 C LCb setrgbcolor 4316 2932 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] +[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] ] -36.7 MRshow LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -691 2784 M -219 0 V -218 0 V -219 -7 V -218 -190 V -1783 1528 L -2002 477 L -2220 352 L -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -218 0 V -219 0 V -218 0 V -219 0 V -218 0 V -691 2784 Star -910 2784 Star -1128 2784 Star -1347 2777 Star -1565 2587 Star -1783 1528 Star -2002 477 Star -2220 352 Star -2439 352 Star +610 2545 M +136 2 V +137 2 V +136 7 V +137 74 V +136 -198 V +137 -5 V +136 28 V +137 -167 V +136 -335 V +137 -433 V +2111 708 L +2248 385 L +136 -30 V +137 -3 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +137 0 V +136 0 V +610 2545 Star +746 2547 Star +883 2549 Star +1019 2556 Star +1156 2630 Star +1292 2432 Star +1429 2427 Star +1565 2455 Star +1702 2288 Star +1838 1953 Star +1975 1520 Star +2111 708 Star +2248 385 Star +2384 355 Star +2521 352 Star 2657 352 Star -2875 352 Star -3094 352 Star -3312 352 Star -3531 352 Star +2794 352 Star +2930 352 Star +3067 352 Star +3203 352 Star +3340 352 Star +3476 352 Star +3613 352 Star 3749 352 Star -3967 352 Star -4186 352 Star -4404 352 Star -4623 352 Star +3886 352 Star +4022 352 Star +4159 352 Star +4295 352 Star +4432 352 Star +4568 352 Star +4705 352 Star 4841 352 Star 4545 2932 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +4316 2822 M +[ [(Helvetica) 110.0 0.0 true true 0 (GAF)] +] -36.7 MRshow +LT3 +0.00 0.39 0.00 C 4382 2822 M +327 0 V +610 2952 M +136 0 V +137 0 V +136 0 V +137 -234 V +136 -307 V +137 -118 V +136 0 V +137 -135 V +136 -296 V +137 -321 V +136 -139 V +137 -70 V +136 -217 V +2521 799 L +2657 623 L +137 -69 V +136 -46 V +137 -53 V +136 -42 V +137 -19 V +136 -15 V +137 -8 V +136 -10 V +137 -4 V +136 -3 V +137 0 V +136 -1 V +137 -1 V +136 0 V +137 0 V +136 0 V +610 2952 Star +746 2952 Star +883 2952 Star +1019 2952 Star +1156 2718 Star +1292 2411 Star +1429 2293 Star +1565 2293 Star +1702 2158 Star +1838 1862 Star +1975 1541 Star +2111 1402 Star +2248 1332 Star +2384 1115 Star +2521 799 Star +2657 623 Star +2794 554 Star +2930 508 Star +3067 455 Star +3203 413 Star +3340 394 Star +3476 379 Star +3613 371 Star +3749 361 Star +3886 357 Star +4022 354 Star +4159 354 Star +4295 353 Star +4432 352 Star +4568 352 Star +4705 352 Star +4841 352 Star +4545 2822 Star +% End plot #4 1.000 UL LTb 473 3270 N diff --git a/R3/CR.eps b/R3/CR.eps index fa4a075..05e9c41 100644 --- a/R3/CR.eps +++ b/R3/CR.eps @@ -1,8 +1,8 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 53 53 593 399 -%%HiResBoundingBox: 54 53.5 592 398.5 +%%BoundingBox: 53 53 542 399 +%%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 19:00:54 2014 +%%CreationDate: Mon Apr 21 14:54:55 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -51,7 +51,7 @@ gnudict begin /vpt vpt_ def /doclip { ClipToBoundingBox { - newpath 50 50 moveto 604 50 lineto 604 410 lineto 50 410 lineto closepath + newpath 50 50 moveto 554 50 lineto 554 410 lineto 50 410 lineto closepath clip } if } def @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 19:00:54 2014) + /CreationDate (Mon Apr 21 14:54:55 2014) /DOCINFO pdfmark end } ifelse @@ -533,7 +533,7 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C LTb 539 352 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 352 M @@ -543,7 +543,7 @@ stroke LTb 539 644 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 644 M @@ -553,7 +553,7 @@ stroke LTb 539 936 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 936 M @@ -563,7 +563,7 @@ stroke LTb 539 1227 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 1227 M @@ -573,7 +573,7 @@ stroke LTb 539 1519 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 1519 M @@ -583,7 +583,7 @@ stroke LTb 539 1811 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 1811 M @@ -593,7 +593,7 @@ stroke LTb 539 2103 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 2103 M @@ -603,7 +603,7 @@ stroke LTb 539 2395 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 2395 M @@ -613,7 +613,7 @@ stroke LTb 539 2686 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 2686 M @@ -623,7 +623,7 @@ stroke LTb 539 2978 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 2978 M @@ -633,7 +633,7 @@ stroke LTb 539 3270 M 63 0 V -4742 0 R +4239 0 R -63 0 V stroke 473 3270 M @@ -651,113 +651,173 @@ stroke ] -36.7 MCshow 1.000 UL LTb -1020 352 M +808 352 M 0 63 V 0 2855 R 0 -63 V stroke -1020 242 M +808 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1500 352 M +1077 352 M 0 63 V 0 2855 R 0 -63 V stroke -1500 242 M +1077 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1981 352 M +1346 352 M 0 63 V 0 2855 R 0 -63 V stroke -1981 242 M +1346 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2461 352 M +1615 352 M 0 63 V 0 2855 R 0 -63 V stroke -2461 242 M +1615 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2942 352 M +1883 352 M 0 63 V 0 2855 R 0 -63 V stroke -2942 242 M +1883 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3422 352 M +2152 352 M 0 63 V 0 2855 R 0 -63 V stroke -3422 242 M +2152 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3903 352 M +2421 352 M 0 63 V 0 2855 R 0 -63 V stroke -3903 242 M +2421 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -4383 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -4383 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -4864 352 M +2959 352 M 0 63 V 0 2855 R 0 -63 V stroke -4864 242 M +2959 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -5344 352 M +3228 352 M 0 63 V 0 2855 R 0 -63 V stroke -5344 242 M +3228 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb +3497 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3497 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +3766 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3766 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4034 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4034 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4303 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4303 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb +4572 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4572 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30)] +] -36.7 MCshow +1.000 UL +LTb +4841 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4841 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 32)] +] -36.7 MCshow +1.000 UL +LTb 1.000 UL LTb 539 3270 N 539 352 L -4805 0 V +4302 0 V 0 2918 V --4805 0 V +-4302 0 V Z stroke LCb setrgbcolor 88 1811 M @@ -767,11 +827,11 @@ currentpoint gsave translate -270 rotate 0 0 moveto grestore LTb LCb setrgbcolor -2941 77 M +2690 77 M [ [(Helvetica) 110.0 0.0 true true 0 (The Number of Rounds)] ] -36.7 MCshow LTb -2941 3435 M +2690 3435 M [ [(Helvetica) 110.0 0.0 true true 0 (The Coverage Ratio \(%\) vs The Number of Rounds)] ] -36.7 MCshow 1.000 UP @@ -782,167 +842,316 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -4885 3157 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +4382 3157 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 4951 3157 M +0.00 0.55 0.55 C 4448 3157 M 327 0 V -779 3247 M -241 0 V -240 0 V -240 0 V -240 2 V -241 1 V -240 -1 V -240 -1 V -240 -10 V -241 -15 V -240 -24 V -240 -159 V -240 -408 V -241 -352 V -240 -823 V -4383 859 L -4623 592 L -4864 404 L -240 -2 V -240 -50 V -779 3247 Box -1020 3247 Box -1260 3247 Box -1500 3247 Box -1740 3249 Box -1981 3250 Box -2221 3249 Box -2461 3248 Box -2701 3238 Box -2942 3223 Box -3182 3199 Box -3422 3040 Box -3662 2632 Box -3903 2280 Box -4143 1457 Box -4383 859 Box -4623 592 Box -4864 404 Box -5104 402 Box -5344 352 Box -5114 3157 Box +673 3239 M +135 0 V +134 0 V +135 0 V +134 3 V +135 0 V +134 -1 V +135 1 V +134 -4 V +134 -18 V +135 -11 V +134 -10 V +135 -44 V +134 -150 V +135 -252 V +134 -179 V +134 -221 V +135 -442 V +134 -542 V +135 -365 V +3362 813 L +3497 635 L +3631 505 L +135 -69 V +134 -42 V +134 -26 V +135 -6 V +134 -3 V +135 -7 V +134 0 V +135 0 V +134 0 V +673 3239 Box +808 3239 Box +942 3239 Box +1077 3239 Box +1211 3242 Box +1346 3242 Box +1480 3241 Box +1615 3242 Box +1749 3238 Box +1883 3220 Box +2018 3209 Box +2152 3199 Box +2287 3155 Box +2421 3005 Box +2556 2753 Box +2690 2574 Box +2824 2353 Box +2959 1911 Box +3093 1369 Box +3228 1004 Box +3362 813 Box +3497 635 Box +3631 505 Box +3766 436 Box +3900 394 Box +4034 368 Box +4169 362 Box +4303 359 Box +4438 352 Box +4572 352 Box +4707 352 Box +4841 352 Box +4611 3157 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -4885 3047 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] +4382 3047 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 4951 3047 M +0.50 0.00 0.00 C 4448 3047 M 327 0 V -779 3270 M -241 0 V -240 0 V -240 0 V -240 -1 V -241 -3 V -240 -1 V -240 -5 V -240 -57 V -241 -133 V -240 -361 V -3422 1267 L -3662 449 L -241 -90 V -240 -7 V -240 0 V -240 0 V -241 0 V -240 0 V -240 0 V -779 3270 Crs -1020 3270 Crs -1260 3270 Crs -1500 3270 Crs -1740 3269 Crs -1981 3266 Crs -2221 3265 Crs -2461 3260 Crs -2701 3203 Crs -2942 3070 Crs -3182 2709 Crs -3422 1267 Crs -3662 449 Crs -3903 359 Crs -4143 352 Crs -4383 352 Crs -4623 352 Crs -4864 352 Crs -5104 352 Crs -5344 352 Crs -5114 3047 Crs +673 3248 M +135 -2 V +134 2 V +135 -2 V +134 2 V +135 -2 V +134 1 V +135 -4 V +134 -1 V +134 -22 V +135 -34 V +134 -22 V +135 -48 V +134 -176 V +135 -341 V +134 -276 V +134 -180 V +135 -244 V +134 -451 V +135 -426 V +3362 833 L +3497 709 L +3631 578 L +3766 447 L +134 -49 V +134 -21 V +135 -11 V +134 -7 V +135 0 V +134 -3 V +135 0 V +134 -4 V +673 3248 Crs +808 3246 Crs +942 3248 Crs +1077 3246 Crs +1211 3248 Crs +1346 3246 Crs +1480 3247 Crs +1615 3243 Crs +1749 3242 Crs +1883 3220 Crs +2018 3186 Crs +2152 3164 Crs +2287 3116 Crs +2421 2940 Crs +2556 2599 Crs +2690 2323 Crs +2824 2143 Crs +2959 1899 Crs +3093 1448 Crs +3228 1022 Crs +3362 833 Crs +3497 709 Crs +3631 578 Crs +3766 447 Crs +3900 398 Crs +4034 377 Crs +4169 366 Crs +4303 359 Crs +4438 359 Crs +4572 356 Crs +4707 356 Crs +4841 352 Crs +4611 3047 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -4885 2937 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] +4382 2937 M +[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 4951 2937 M +0.00 0.00 0.55 C 4448 2937 M 327 0 V -779 3264 M -241 0 V -240 1 V -240 0 V -240 -33 V -1981 2112 L -2221 549 L -2461 352 L -240 0 V -241 0 V -240 0 V -240 0 V -240 0 V -241 0 V -240 0 V -240 0 V -240 0 V -241 0 V -240 0 V -240 0 V -779 3264 Star -1020 3264 Star -1260 3265 Star -1500 3265 Star -1740 3232 Star -1981 2112 Star -2221 549 Star -2461 352 Star -2701 352 Star -2942 352 Star -3182 352 Star -3422 352 Star -3662 352 Star -3903 352 Star -4143 352 Star -4383 352 Star -4623 352 Star -4864 352 Star -5104 352 Star -5344 352 Star -5114 2937 Star +673 3270 M +135 0 V +134 0 V +135 0 V +134 -1 V +135 -3 V +134 -1 V +135 -5 V +134 -57 V +134 -133 V +135 -361 V +2152 1267 L +2287 449 L +134 -90 V +135 -7 V +134 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +673 3270 Star +808 3270 Star +942 3270 Star +1077 3270 Star +1211 3269 Star +1346 3266 Star +1480 3265 Star +1615 3260 Star +1749 3203 Star +1883 3070 Star +2018 2709 Star +2152 1267 Star +2287 449 Star +2421 359 Star +2556 352 Star +2690 352 Star +2824 352 Star +2959 352 Star +3093 352 Star +3228 352 Star +3362 352 Star +3497 352 Star +3631 352 Star +3766 352 Star +3900 352 Star +4034 352 Star +4169 352 Star +4303 352 Star +4438 352 Star +4572 352 Star +4707 352 Star +4841 352 Star +4611 2937 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +4382 2827 M +[ [(Helvetica) 110.0 0.0 true true 0 (GAF)] +] -36.7 MRshow +LT3 +0.00 0.39 0.00 C 4448 2827 M +327 0 V +673 3268 M +135 0 V +134 0 V +135 1 V +134 -6 V +135 -12 V +134 -6 V +135 4 V +134 -25 V +134 -79 V +135 -146 V +134 -120 V +135 -73 V +134 -293 V +135 -694 V +134 -482 V +134 -220 V +2959 954 L +3093 758 L +3228 596 L +134 -70 V +135 -62 V +134 -33 V +135 -43 V +134 -17 V +134 -9 V +135 -3 V +134 -4 V +135 -3 V +134 0 V +135 0 V +134 0 V +673 3268 Star +808 3268 Star +942 3268 Star +1077 3269 Star +1211 3263 Star +1346 3251 Star +1480 3245 Star +1615 3249 Star +1749 3224 Star +1883 3145 Star +2018 2999 Star +2152 2879 Star +2287 2806 Star +2421 2513 Star +2556 1819 Star +2690 1337 Star +2824 1117 Star +2959 954 Star +3093 758 Star +3228 596 Star +3362 526 Star +3497 464 Star +3631 431 Star +3766 388 Star +3900 371 Star +4034 362 Star +4169 359 Star +4303 355 Star +4438 352 Star +4572 352 Star +4707 352 Star +4841 352 Star +4611 2827 Star +% End plot #4 1.000 UL LTb 539 3270 N 539 352 L -4805 0 V +4302 0 V 0 2918 V --4805 0 V +-4302 0 V Z stroke 1.000 UP 1.000 UL diff --git a/R3/EC.eps b/R3/EC.eps index e8d355b..c803854 100644 --- a/R3/EC.eps +++ b/R3/EC.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 19:02:13 2014 +%%CreationDate: Mon Apr 21 14:58:34 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 19:02:13 2014) + /CreationDate (Mon Apr 21 14:58:34 2014) /DOCINFO pdfmark end } ifelse @@ -541,53 +541,43 @@ stroke ] -36.7 MRshow 1.000 UL LTb -605 936 M +605 1015 M 63 0 V 4173 0 R -63 0 V stroke -539 936 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 500)] -] -36.7 MRshow -1.000 UL -LTb -605 1519 M -63 0 V -4173 0 R --63 0 V -stroke -539 1519 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 1000)] +539 1015 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 250)] ] -36.7 MRshow 1.000 UL LTb -605 2103 M +605 1678 M 63 0 V 4173 0 R -63 0 V stroke -539 2103 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 1500)] +539 1678 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 500)] ] -36.7 MRshow 1.000 UL LTb -605 2686 M +605 2342 M 63 0 V 4173 0 R -63 0 V stroke -539 2686 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 2000)] +539 2342 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 750)] ] -36.7 MRshow 1.000 UL LTb -605 3270 M +605 3005 M 63 0 V 4173 0 R -63 0 V stroke -539 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 2500)] +539 3005 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 1000)] ] -36.7 MRshow 1.000 UL LTb @@ -732,70 +722,93 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -2095 3098 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +2179 3135 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2161 3098 M +0.00 0.55 0.55 C 2245 3135 M 327 0 V -1029 1035 M -847 -36 V -847 53 V -847 49 V -847 163 V -1029 1035 Box -1876 999 Box -2723 1052 Box -3570 1101 Box -4417 1264 Box -2324 3098 Box +1029 964 M +847 184 V +847 174 V +847 160 V +847 166 V +1029 964 Box +1876 1148 Box +2723 1322 Box +3570 1482 Box +4417 1648 Box +2408 3135 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -2095 2988 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] +2179 3025 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2161 2988 M +0.50 0.00 0.00 C 2245 3025 M 327 0 V -1029 1065 M -847 35 V -847 106 V -847 146 V -847 191 V -1029 1065 Crs -1876 1100 Crs -2723 1206 Crs -3570 1352 Crs -4417 1543 Crs -2324 2988 Crs +1029 939 M +847 205 V +847 152 V +847 148 V +847 110 V +1029 939 Crs +1876 1144 Crs +2723 1296 Crs +3570 1444 Crs +4417 1554 Crs +2408 3025 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2095 2878 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] +2179 2915 M +[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2161 2878 M +0.00 0.00 0.55 C 2245 2915 M 327 0 V -1029 1060 M -847 284 V -847 477 V -847 634 V -847 737 V -1029 1060 Star -1876 1344 Star -2723 1821 Star -3570 2455 Star -4417 3192 Star -2324 2878 Star +1029 1973 M +847 79 V +847 241 V +847 332 V +847 433 V +1029 1973 Star +1876 2052 Star +2723 2293 Star +3570 2625 Star +4417 3058 Star +2408 2915 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +2179 2805 M +[ [(Helvetica) 110.0 0.0 true true 0 (GAF)] +] -36.7 MRshow +LT3 +0.00 0.39 0.00 C 2245 2805 M +327 0 V +1029 1028 M +847 214 V +847 156 V +847 129 V +847 148 V +1029 1028 Star +1876 1242 Star +2723 1398 Star +3570 1527 Star +4417 1675 Star +2408 2805 Star +% End plot #4 1.000 UL LTb 605 3270 N diff --git a/R3/ESR.eps b/R3/ESR.eps index f952482..8595601 100644 --- a/R3/ESR.eps +++ b/R3/ESR.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 542 399 %%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 19:06:14 2014 +%%CreationDate: Mon Apr 21 15:00:11 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 19:06:14 2014) + /CreationDate (Mon Apr 21 15:00:11 2014) /DOCINFO pdfmark end } ifelse @@ -651,103 +651,163 @@ stroke ] -36.7 MCshow 1.000 UL LTb -969 352 M +808 352 M 0 63 V 0 2855 R 0 -63 V stroke -969 242 M +808 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1399 352 M +1077 352 M 0 63 V 0 2855 R 0 -63 V stroke -1399 242 M +1077 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -1830 352 M +1346 352 M 0 63 V 0 2855 R 0 -63 V stroke -1830 242 M +1346 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2260 352 M +1615 352 M 0 63 V 0 2855 R 0 -63 V stroke -2260 242 M +1615 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -2690 352 M +1883 352 M 0 63 V 0 2855 R 0 -63 V stroke -2690 242 M +1883 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3120 352 M +2152 352 M 0 63 V 0 2855 R 0 -63 V stroke -3120 242 M +2152 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -3550 352 M +2421 352 M 0 63 V 0 2855 R 0 -63 V stroke -3550 242 M +2421 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -3981 352 M +2690 352 M 0 63 V 0 2855 R 0 -63 V stroke -3981 242 M +2690 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -4411 352 M +2959 352 M 0 63 V 0 2855 R 0 -63 V stroke -4411 242 M +2959 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb +3228 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3228 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +] -36.7 MCshow +1.000 UL +LTb +3497 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3497 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +3766 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3766 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4034 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4034 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4303 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4303 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb +4572 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4572 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30)] +] -36.7 MCshow +1.000 UL +LTb 4841 352 M 0 63 V 0 2855 R 0 -63 V stroke 4841 242 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 20)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 32)] ] -36.7 MCshow 1.000 UL LTb @@ -783,50 +843,74 @@ LTb LT0 0.00 0.55 0.55 C LCb setrgbcolor 4316 3152 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] ] -36.7 MRshow LT0 0.00 0.55 0.55 C 4382 3152 M 327 0 V -754 3270 M -215 0 V -215 -11 V -215 -52 V -216 -282 V -215 -150 V -215 -78 V -215 -148 V -215 -235 V -215 -205 V -215 -173 V -215 -243 V -215 -349 V -215 -264 V -3766 736 L -3981 528 L -215 -95 V -215 -58 V -215 -4 V -215 -19 V -754 3270 Box -969 3270 Box -1184 3259 Box -1399 3207 Box -1615 2925 Box -1830 2775 Box -2045 2697 Box -2260 2549 Box -2475 2314 Box -2690 2109 Box -2905 1936 Box -3120 1693 Box -3335 1344 Box -3550 1080 Box -3766 736 Box -3981 528 Box -4196 433 Box -4411 375 Box -4626 371 Box +673 3270 M +135 0 V +134 0 V +135 -1 V +134 -316 V +135 -263 V +134 -39 V +135 -20 V +134 -240 V +134 -351 V +135 -182 V +134 -60 V +135 -174 V +134 -300 V +135 -239 V +2690 957 L +2824 845 L +2959 686 L +3093 545 L +135 -80 V +134 -39 V +135 -31 V +134 -20 V +135 -12 V +134 -6 V +134 -3 V +135 -1 V +134 0 V +135 -1 V +134 0 V +135 0 V +134 0 V +673 3270 Box +808 3270 Box +942 3270 Box +1077 3269 Box +1211 2953 Box +1346 2690 Box +1480 2651 Box +1615 2631 Box +1749 2391 Box +1883 2040 Box +2018 1858 Box +2152 1798 Box +2287 1624 Box +2421 1324 Box +2556 1085 Box +2690 957 Box +2824 845 Box +2959 686 Box +3093 545 Box +3228 465 Box +3362 426 Box +3497 395 Box +3631 375 Box +3766 363 Box +3900 357 Box +4034 354 Box +4169 353 Box +4303 353 Box +4438 352 Box +4572 352 Box +4707 352 Box 4841 352 Box 4545 3152 Box % End plot #1 @@ -836,50 +920,74 @@ LT0 LT1 0.50 0.00 0.00 C LCb setrgbcolor 4316 3042 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] ] -36.7 MRshow LT1 0.50 0.00 0.00 C 4382 3042 M 327 0 V -754 3270 M -215 0 V -215 0 V -215 -105 V -216 -586 V -215 -400 V -215 -39 V -215 -254 V -215 -447 V -215 -268 V -2905 939 L -3120 531 L -3335 369 L -215 -15 V -216 -2 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -754 3270 Crs -969 3270 Crs -1184 3270 Crs -1399 3165 Crs -1615 2579 Crs -1830 2179 Crs -2045 2140 Crs -2260 1886 Crs -2475 1439 Crs -2690 1171 Crs -2905 939 Crs -3120 531 Crs -3335 369 Crs -3550 354 Crs -3766 352 Crs -3981 352 Crs -4196 352 Crs -4411 352 Crs -4626 352 Crs +673 3270 M +135 0 V +134 0 V +135 0 V +134 -207 V +135 -242 V +134 -86 V +135 -29 V +134 -206 V +134 -377 V +135 -270 V +134 -124 V +135 -125 V +134 -264 V +135 -290 V +2690 890 L +134 -86 V +2959 699 L +3093 573 L +135 -98 V +134 -39 V +135 -25 V +134 -27 V +135 -18 V +134 -8 V +134 -2 V +135 -2 V +134 -1 V +135 0 V +134 -1 V +135 0 V +134 0 V +673 3270 Crs +808 3270 Crs +942 3270 Crs +1077 3270 Crs +1211 3063 Crs +1346 2821 Crs +1480 2735 Crs +1615 2706 Crs +1749 2500 Crs +1883 2123 Crs +2018 1853 Crs +2152 1729 Crs +2287 1604 Crs +2421 1340 Crs +2556 1050 Crs +2690 890 Crs +2824 804 Crs +2959 699 Crs +3093 573 Crs +3228 475 Crs +3362 436 Crs +3497 411 Crs +3631 384 Crs +3766 366 Crs +3900 358 Crs +4034 356 Crs +4169 354 Crs +4303 353 Crs +4438 353 Crs +4572 352 Crs +4707 352 Crs 4841 352 Crs 4545 3042 Crs % End plot #2 @@ -889,53 +997,154 @@ LT1 LT2 0.00 0.00 0.55 C LCb setrgbcolor 4316 2932 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] +[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] ] -36.7 MRshow LT2 0.00 0.00 0.55 C 4382 2932 M 327 0 V -754 3270 M -215 -29 V -215 -248 V -215 -361 V -216 -571 V -215 -937 V -2045 430 L -215 -78 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -216 0 V -215 0 V -215 0 V -215 0 V -215 0 V -215 0 V -754 3270 Star -969 3241 Star -1184 2993 Star -1399 2632 Star -1615 2061 Star -1830 1124 Star -2045 430 Star -2260 352 Star -2475 352 Star +673 3270 M +135 0 V +134 0 V +135 -105 V +134 -586 V +135 -400 V +134 -39 V +135 -254 V +134 -447 V +134 -268 V +2018 939 L +2152 531 L +2287 369 L +134 -15 V +135 -2 V +134 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +135 0 V +134 0 V +673 3270 Star +808 3270 Star +942 3270 Star +1077 3165 Star +1211 2579 Star +1346 2179 Star +1480 2140 Star +1615 1886 Star +1749 1439 Star +1883 1171 Star +2018 939 Star +2152 531 Star +2287 369 Star +2421 354 Star +2556 352 Star 2690 352 Star -2905 352 Star -3120 352 Star -3335 352 Star -3550 352 Star +2824 352 Star +2959 352 Star +3093 352 Star +3228 352 Star +3362 352 Star +3497 352 Star +3631 352 Star 3766 352 Star -3981 352 Star -4196 352 Star -4411 352 Star -4626 352 Star +3900 352 Star +4034 352 Star +4169 352 Star +4303 352 Star +4438 352 Star +4572 352 Star +4707 352 Star 4841 352 Star 4545 2932 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +4316 2822 M +[ [(Helvetica) 110.0 0.0 true true 0 (GAF)] +] -36.7 MRshow +LT3 +0.00 0.39 0.00 C 4382 2822 M +327 0 V +673 3270 M +135 0 V +134 0 V +135 0 V +134 -117 V +135 -153 V +134 -59 V +135 -66 V +134 -214 V +134 -311 V +135 -252 V +134 -209 V +135 -297 V +134 -365 V +2556 927 L +2690 755 L +2824 647 L +135 -89 V +134 -73 V +135 -49 V +134 -30 V +135 -21 V +134 -14 V +135 -10 V +134 -4 V +134 -3 V +135 -1 V +134 -1 V +135 0 V +134 0 V +135 0 V +134 0 V +673 3270 Star +808 3270 Star +942 3270 Star +1077 3270 Star +1211 3153 Star +1346 3000 Star +1480 2941 Star +1615 2875 Star +1749 2661 Star +1883 2350 Star +2018 2098 Star +2152 1889 Star +2287 1592 Star +2421 1227 Star +2556 927 Star +2690 755 Star +2824 647 Star +2959 558 Star +3093 485 Star +3228 436 Star +3362 406 Star +3497 385 Star +3631 371 Star +3766 361 Star +3900 357 Star +4034 354 Star +4169 353 Star +4303 352 Star +4438 352 Star +4572 352 Star +4707 352 Star +4841 352 Star +4545 2822 Star +% End plot #4 1.000 UL LTb 539 3270 N diff --git a/R3/LT.eps b/R3/LT.eps index bc9278a..f7c95d4 100644 --- a/R3/LT.eps +++ b/R3/LT.eps @@ -2,7 +2,7 @@ %%BoundingBox: 53 53 545 399 %%HiResBoundingBox: 54 53.5 544.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 19:11:45 2014 +%%CreationDate: Mon Apr 21 15:03:01 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 19:11:45 2014) + /CreationDate (Mon Apr 21 15:03:01 2014) /DOCINFO pdfmark end } ifelse @@ -541,103 +541,163 @@ stroke ] -36.7 MRshow 1.000 UL LTb -671 644 M +671 534 M 63 0 V 4107 0 R -63 0 V stroke -605 644 M +605 534 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2500)] ] -36.7 MRshow 1.000 UL LTb -671 936 M +671 717 M 63 0 V 4107 0 R -63 0 V stroke -605 936 M +605 717 M [ [(Helvetica) 110.0 0.0 true true 0 ( 5000)] ] -36.7 MRshow 1.000 UL LTb -671 1227 M +671 899 M 63 0 V 4107 0 R -63 0 V stroke -605 1227 M +605 899 M [ [(Helvetica) 110.0 0.0 true true 0 ( 7500)] ] -36.7 MRshow 1.000 UL LTb -671 1519 M +671 1082 M 63 0 V 4107 0 R -63 0 V stroke -605 1519 M +605 1082 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10000)] ] -36.7 MRshow 1.000 UL LTb -671 1811 M +671 1264 M 63 0 V 4107 0 R -63 0 V stroke -605 1811 M +605 1264 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12500)] ] -36.7 MRshow 1.000 UL LTb -671 2103 M +671 1446 M 63 0 V 4107 0 R -63 0 V stroke -605 2103 M +605 1446 M [ [(Helvetica) 110.0 0.0 true true 0 ( 15000)] ] -36.7 MRshow 1.000 UL LTb -671 2395 M +671 1629 M 63 0 V 4107 0 R -63 0 V stroke -605 2395 M +605 1629 M [ [(Helvetica) 110.0 0.0 true true 0 ( 17500)] ] -36.7 MRshow 1.000 UL LTb -671 2686 M +671 1811 M 63 0 V 4107 0 R -63 0 V stroke -605 2686 M +605 1811 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20000)] ] -36.7 MRshow 1.000 UL LTb -671 2978 M +671 1993 M 63 0 V 4107 0 R -63 0 V stroke -605 2978 M +605 1993 M [ [(Helvetica) 110.0 0.0 true true 0 ( 22500)] ] -36.7 MRshow 1.000 UL LTb +671 2176 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2176 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] +] -36.7 MRshow +1.000 UL +LTb +671 2358 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2358 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 27500)] +] -36.7 MRshow +1.000 UL +LTb +671 2541 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2541 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30000)] +] -36.7 MRshow +1.000 UL +LTb +671 2723 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2723 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 32500)] +] -36.7 MRshow +1.000 UL +LTb +671 2905 M +63 0 V +4107 0 R +-63 0 V +stroke +605 2905 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 35000)] +] -36.7 MRshow +1.000 UL +LTb +671 3088 M +63 0 V +4107 0 R +-63 0 V +stroke +605 3088 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 37500)] +] -36.7 MRshow +1.000 UL +LTb 671 3270 M 63 0 V 4107 0 R -63 0 V stroke 605 3270 M -[ [(Helvetica) 110.0 0.0 true true 0 ( 25000)] +[ [(Helvetica) 110.0 0.0 true true 0 ( 40000)] ] -36.7 MRshow 1.000 UL LTb @@ -782,70 +842,93 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -2130 3157 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] +2214 3164 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] ] -36.7 MRshow LT0 -0.00 0.55 0.55 C 2196 3157 M +0.00 0.55 0.55 C 2280 3164 M 327 0 V -1088 1030 M -834 767 V -834 561 V -834 521 V -834 117 V -1088 1030 Box -1922 1797 Box -2756 2358 Box -3590 2879 Box -4424 2996 Box -2359 3157 Box +1088 1446 M +834 552 V +834 381 V +834 288 V +834 215 V +1088 1446 Box +1922 1998 Box +2756 2379 Box +3590 2667 Box +4424 2882 Box +2443 3164 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -2130 3047 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] +2214 3054 M +[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] ] -36.7 MRshow LT1 -0.50 0.00 0.00 C 2196 3047 M +0.50 0.00 0.00 C 2280 3054 M 327 0 V -1088 1007 M -834 583 V -834 395 V -834 233 V -834 92 V -1088 1007 Crs -1922 1590 Crs -2756 1985 Crs -3590 2218 Crs -4424 2310 Crs -2359 3047 Crs +1088 1499 M +834 518 V +834 417 V +834 320 V +834 319 V +1088 1499 Crs +1922 2017 Crs +2756 2434 Crs +3590 2754 Crs +4424 3073 Crs +2443 3054 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -2130 2937 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] +2214 2944 M +[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] ] -36.7 MRshow LT2 -0.00 0.00 0.55 C 2196 2937 M +0.00 0.00 0.55 C 2280 2944 M 327 0 V -1088 887 M -834 193 V -834 76 V -834 -6 V -834 14 V -1088 887 Star -1922 1080 Star -2756 1156 Star -3590 1150 Star -4424 1164 Star -2359 2937 Star +1088 762 M +834 364 V +834 247 V +834 145 V +834 58 V +1088 762 Star +1922 1126 Star +2756 1373 Star +3590 1518 Star +4424 1576 Star +2443 2944 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +2214 2834 M +[ [(Helvetica) 110.0 0.0 true true 0 (GAF)] +] -36.7 MRshow +LT3 +0.00 0.39 0.00 C 2280 2834 M +327 0 V +1088 1341 M +834 497 V +834 410 V +834 340 V +834 229 V +1088 1341 Star +1922 1838 Star +2756 2248 Star +3590 2588 Star +4424 2817 Star +2443 2834 Star +% End plot #4 1.000 UL LTb 671 3270 N diff --git a/R3/SR.eps b/R3/SR.eps index b43dd9a..15da2c7 100644 --- a/R3/SR.eps +++ b/R3/SR.eps @@ -1,8 +1,8 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 53 53 693 399 -%%HiResBoundingBox: 54 53.5 692.5 398.5 +%%BoundingBox: 53 53 542 399 +%%HiResBoundingBox: 54 53.5 541.5 398.5 %%Creator: gnuplot 4.6 patchlevel 0 -%%CreationDate: Sun Mar 16 19:22:42 2014 +%%CreationDate: Mon Apr 21 15:10:18 2014 %%EndComments % EPSF created by ps2eps 1.68 %%BeginProlog @@ -51,7 +51,7 @@ gnudict begin /vpt vpt_ def /doclip { ClipToBoundingBox { - newpath 50 50 moveto 705 50 lineto 705 410 lineto 50 410 lineto closepath + newpath 50 50 moveto 554 50 lineto 554 410 lineto 50 410 lineto closepath clip } if } def @@ -513,7 +513,7 @@ SDict begin [ /Author (ali) % /Producer (gnuplot) % /Keywords () - /CreationDate (Sun Mar 16 19:22:42 2014) + /CreationDate (Mon Apr 21 15:10:18 2014) /DOCINFO pdfmark end } ifelse @@ -533,7 +533,7 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C LTb 539 352 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 352 M @@ -543,7 +543,7 @@ stroke LTb 539 676 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 676 M @@ -553,7 +553,7 @@ stroke LTb 539 1000 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 1000 M @@ -563,7 +563,7 @@ stroke LTb 539 1325 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 1325 M @@ -573,7 +573,7 @@ stroke LTb 539 1649 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 1649 M @@ -583,7 +583,7 @@ stroke LTb 539 1973 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 1973 M @@ -593,7 +593,7 @@ stroke LTb 539 2297 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 2297 M @@ -603,7 +603,7 @@ stroke LTb 539 2622 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 2622 M @@ -613,7 +613,7 @@ stroke LTb 539 2946 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 2946 M @@ -623,7 +623,7 @@ stroke LTb 539 3270 M 63 0 V -5750 0 R +4239 0 R -63 0 V stroke 473 3270 M @@ -631,113 +631,173 @@ stroke ] -36.7 MRshow 1.000 UL LTb -845 352 M +678 352 M 0 63 V 0 2855 R 0 -63 V stroke -845 242 M +678 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 2)] ] -36.7 MCshow 1.000 UL LTb -1457 352 M +955 352 M 0 63 V 0 2855 R 0 -63 V stroke -1457 242 M +955 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 4)] ] -36.7 MCshow 1.000 UL LTb -2069 352 M +1233 352 M 0 63 V 0 2855 R 0 -63 V stroke -2069 242 M +1233 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 6)] ] -36.7 MCshow 1.000 UL LTb -2681 352 M +1510 352 M 0 63 V 0 2855 R 0 -63 V stroke -2681 242 M +1510 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 8)] ] -36.7 MCshow 1.000 UL LTb -3293 352 M +1788 352 M 0 63 V 0 2855 R 0 -63 V stroke -3293 242 M +1788 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 10)] ] -36.7 MCshow 1.000 UL LTb -3904 352 M +2066 352 M 0 63 V 0 2855 R 0 -63 V stroke -3904 242 M +2066 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 12)] ] -36.7 MCshow 1.000 UL LTb -4516 352 M +2343 352 M 0 63 V 0 2855 R 0 -63 V stroke -4516 242 M +2343 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 14)] ] -36.7 MCshow 1.000 UL LTb -5128 352 M +2621 352 M 0 63 V 0 2855 R 0 -63 V stroke -5128 242 M +2621 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 16)] ] -36.7 MCshow 1.000 UL LTb -5740 352 M +2898 352 M 0 63 V 0 2855 R 0 -63 V stroke -5740 242 M +2898 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 18)] ] -36.7 MCshow 1.000 UL LTb -6352 352 M +3176 352 M 0 63 V 0 2855 R 0 -63 V stroke -6352 242 M +3176 242 M [ [(Helvetica) 110.0 0.0 true true 0 ( 20)] ] -36.7 MCshow 1.000 UL LTb +3453 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3453 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 22)] +] -36.7 MCshow +1.000 UL +LTb +3731 352 M +0 63 V +0 2855 R +0 -63 V +stroke +3731 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 24)] +] -36.7 MCshow +1.000 UL +LTb +4008 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4008 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 26)] +] -36.7 MCshow +1.000 UL +LTb +4286 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4286 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 28)] +] -36.7 MCshow +1.000 UL +LTb +4563 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4563 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 30)] +] -36.7 MCshow +1.000 UL +LTb +4841 352 M +0 63 V +0 2855 R +0 -63 V +stroke +4841 242 M +[ [(Helvetica) 110.0 0.0 true true 0 ( 32)] +] -36.7 MCshow +1.000 UL +LTb 1.000 UL LTb 539 3270 N 539 352 L -5813 0 V +4302 0 V 0 2918 V --5813 0 V +-4302 0 V Z stroke LCb setrgbcolor 88 1811 M @@ -747,11 +807,11 @@ currentpoint gsave translate -270 rotate 0 0 moveto grestore LTb LCb setrgbcolor -3445 77 M +2690 77 M [ [(Helvetica) 110.0 0.0 true true 0 (The Number of Rounds)] ] -36.7 MCshow LTb -3445 3435 M +2690 3435 M [ [(Helvetica) 110.0 0.0 true true 0 (The Percentage of Stopped Simulation Runs vs The Number of Rounds)] ] -36.7 MCshow 1.000 UP @@ -762,114 +822,174 @@ LTb 2.000 UL LT0 0.00 0.55 0.55 C LCb setrgbcolor -1916 3150 M -[ [(Helvetica) 110.0 0.0 true true 0 (Strategy 4 \(With 8 Leaders\))] -] -36.7 MRshow +1884 3150 M +[ [(Helvetica) 95.0 0.0 true true 0 (Strategy 5 \( With 16 Leaders\))] +] -31.7 MRshow LT0 -0.00 0.55 0.55 C 1982 3150 M +0.00 0.55 0.55 C 1950 3150 M 327 0 V -4057 352 M -153 195 V -306 324 V -306 972 V -306 779 V -306 324 V -306 259 V -306 0 V -306 65 V -4210 547 Box -4516 871 Box -4822 1843 Box -5128 2622 Box -5434 2946 Box -5740 3205 Box -6046 3205 Box -6352 3270 Box -2145 3150 Box +3354 352 M +99 324 V +139 454 V +139 843 V +139 584 V +138 454 V +139 64 V +139 65 V +139 130 V +138 0 V +139 0 V +139 0 V +3453 676 Box +3592 1130 Box +3731 1973 Box +3870 2557 Box +4008 3011 Box +4147 3075 Box +4286 3140 Box +4425 3270 Box +4563 3270 Box +4702 3270 Box +4841 3270 Box +2113 3150 Box % End plot #1 % Begin plot #2 1.000 UP 2.000 UL LT1 0.50 0.00 0.00 C LCb setrgbcolor -1916 3040 M -[ [(Helvetica) 110.0 0.0 true true 0 (DESK)] -] -36.7 MRshow +1884 3040 M +[ [(Helvetica) 95.0 0.0 true true 0 (Strategy 6 \( With 32 Leaders\))] +] -31.7 MRshow LT1 -0.50 0.00 0.00 C 1982 3040 M +0.50 0.00 0.00 C 1950 3040 M 327 0 V -3628 352 M -276 1232 V -306 1167 V -306 389 V -306 130 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -3904 1584 Crs -4210 2751 Crs -4516 3140 Crs -4822 3270 Crs -5128 3270 Crs -5434 3270 Crs -5740 3270 Crs -6046 3270 Crs -6352 3270 Crs -2145 3040 Crs +3546 352 M +46 65 V +139 1362 V +139 778 V +138 324 V +139 130 V +139 129 V +139 0 V +138 65 V +139 0 V +139 65 V +3592 417 Crs +3731 1779 Crs +3870 2557 Crs +4008 2881 Crs +4147 3011 Crs +4286 3140 Crs +4425 3140 Crs +4563 3205 Crs +4702 3205 Crs +4841 3270 Crs +2113 3040 Crs % End plot #2 % Begin plot #3 1.000 UP 2.000 UL LT2 0.00 0.00 0.55 C LCb setrgbcolor -1916 2930 M -[ [(Helvetica) 110.0 0.0 true true 0 (SimpleHeuristic)] -] -36.7 MRshow +1884 2930 M +[ [(Helvetica) 95.0 0.0 true true 0 (DESK)] +] -31.7 MRshow LT2 -0.00 0.00 0.55 C 1982 2930 M +0.00 0.00 0.55 C 1950 2930 M 327 0 V -1853 352 M -216 778 V -306 1881 V -306 259 V -306 0 V -306 0 V -305 0 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -306 0 V -2069 1130 Star -2375 3011 Star -2681 3270 Star -2987 3270 Star -3293 3270 Star -3598 3270 Star -3904 3270 Star -4210 3270 Star -4516 3270 Star -4822 3270 Star -5128 3270 Star -5434 3270 Star -5740 3270 Star -6046 3270 Star -6352 3270 Star -2145 2930 Star +1940 352 M +126 1232 V +138 1167 V +139 389 V +139 130 V +139 0 V +138 0 V +139 0 V +139 0 V +139 0 V +138 0 V +139 0 V +139 0 V +139 0 V +139 0 V +138 0 V +139 0 V +139 0 V +139 0 V +138 0 V +139 0 V +139 0 V +2066 1584 Star +2204 2751 Star +2343 3140 Star +2482 3270 Star +2621 3270 Star +2759 3270 Star +2898 3270 Star +3037 3270 Star +3176 3270 Star +3314 3270 Star +3453 3270 Star +3592 3270 Star +3731 3270 Star +3870 3270 Star +4008 3270 Star +4147 3270 Star +4286 3270 Star +4425 3270 Star +4563 3270 Star +4702 3270 Star +4841 3270 Star +2113 2930 Star % End plot #3 +% Begin plot #4 +1.000 UP +2.000 UL +LT3 +0.00 0.39 0.00 C LCb setrgbcolor +1884 2820 M +[ [(Helvetica) 95.0 0.0 true true 0 (GAF)] +] -31.7 MRshow +LT3 +0.00 0.39 0.00 C 1950 2820 M +327 0 V +3054 352 M +122 454 V +138 454 V +139 259 V +139 519 V +139 519 V +139 324 V +138 194 V +139 65 V +139 65 V +139 65 V +138 0 V +139 0 V +139 0 V +3176 806 Star +3314 1260 Star +3453 1519 Star +3592 2038 Star +3731 2557 Star +3870 2881 Star +4008 3075 Star +4147 3140 Star +4286 3205 Star +4425 3270 Star +4563 3270 Star +4702 3270 Star +4841 3270 Star +2113 2820 Star +% End plot #4 1.000 UL LTb 539 3270 N 539 352 L -5813 0 V +4302 0 V 0 2918 V --5813 0 V +-4302 0 V Z stroke 1.000 UP 1.000 UL diff --git a/biblio.bib b/biblio.bib deleted file mode 100755 index f9b5b0f..0000000 --- a/biblio.bib +++ /dev/null @@ -1,473 +0,0 @@ -@ARTICLE{Torkestani, - author = "J. A. Torkestani", - title = "An adaptive energy-efficient area coverage algorithm for wireless sensor networks ", - JOURNAL = {Ad Hoc Networks}, - VOLUME = {11}, - NUMBER = {6}, - PAGES = {1655-1666}, - YEAR = {2013}, - } - -@ARTICLE{Zhang, - author = "L. Zhang and Q. Zhu and J. Wang", - title = "Adaptive Clustering for Maximizing Network Lifetime and Maintaining Coverage ", - JOURNAL = {JOURNAL OF NETWORKS}, - VOLUME = {8}, - NUMBER = {3}, - PAGES = {616-622}, - YEAR = {2013}, - } - -@ARTICLE{pc10, - author = "T.V. Padmavathy and M. Chitra", - title = "Extending the Network Lifetime of Wireless Sensor Networks Using Residual Energy Extraction-Hybrid Scheduling Algorithm", - YEAR = {2010}, - JOURNAL = {Int. J. of Communications, Network and System Sciences}, - VOLUME = {3}, - NUMBER = {1}, -PAGES = {98-106}, - } - - -@ARTICLE{Misra, - author = "S. Misra and M. P. Kumar and M. S. Obaidat", - title = "Connectivity preserving localized coverage algorithm for area monitoring using -wireless sensor networks ", - JOURNAL = {Computer Communications}, - VOLUME = {34}, - NUMBER = {12}, - PAGES = {1484-1496}, - YEAR = {2011}, - } - - -@ARTICLE{Zhixin, - author = "Z. Liu and Q. Zheng and L. Xue and X. Guan", - title = "A distributed energy-efficient clustering algorithm with improved coverage in -wireless sensor networks", - JOURNAL = {Future Generation Computer Systems}, - VOLUME = {28}, - NUMBER = {5}, - PAGES = {780-790}, - YEAR = {2012}, - } - -@ARTICLE{Bang, - author = "B. Wang and H. B. Lim and D. Ma ", - title = "A coverage-aware clustering protocol for wireless sensor networks", - JOURNAL = {Computer Networks}, - VOLUME = {56}, - NUMBER = {5}, - PAGES = {1599-1611}, - YEAR = {2012}, - } - - -@ARTICLE{Shibo, - author = " S. He and J. Chen and X. Li and X. Shen and Y. Sun ", - title = "Leveraging Prediction to Improve the Coverage of Wireless Sensor Networks", - JOURNAL = {IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS}, - VOLUME = {23}, - NUMBER = {4}, - PAGES = {701-712}, - YEAR = {2012}, - } - - - -@book{Akyildiz02, - author = {I. F. Akyildiz and M. C. Vuran}, - title = {Wireless Sensor Networks}, - publisher = {John Wiley and Sons Ltd.}, - year = {2010}, -} - -@book{Sudip03, - author = {S. Misra and I. Woungang and S. C. Misra}, - title = {Guide to Wireless Sensor Networks}, - publisher = {Springer-Verlag London Limited}, - year = {2009}, -} - -@book{Nayak04, - author = {A. Nayak and I. Stojmenovic}, - title = {Wireless Sensor and Actuator Networks: Algorithms and Protocols for Scalable Coordination and Data Communication}, - publisher = {John Wiley and Sons, Inc}, - year = {2010}, -} - - -@ARTICLE{Misra05, - author = "S. Misra and M. P. Kumar and M. S. Obaidat", - title = "Connectivity preserving localized coverage algorithm for area monitoring using wireless -sensor networks", - JOURNAL = {Computer Communications}, - VOLUME = {34}, - NUMBER = {12}, - PAGES = {1484-1496}, - YEAR = {2011}, - } - -@ARTICLE{Huang:2003:CPW:941350.941367, - author = "C.-F. HUANG and Y.-C. TSENG", - title = "The Coverage Problem in a Wireless Sensor Network", - JOURNAL = {Mobile Networks and Applications}, - VOLUME = {10}, - NUMBER = {4}, - PAGES = {519-528}, - YEAR = {2005}, - } - - -@ARTICLE{Zhang05, - author = {H. Zhang and J. C. Hou}, - title = {Maintaining Sensing Coverage and Connectivity in Large Sensor Networks}, - journal = {Ad Hoc {\&} Sensor Wireless Networks}, - volume = {1}, - number = {1-2}, - year = {2005}, - -} - -@ARTICLE{HeinzelmanCB02, - author = {W. B. Heinzelman and A. P. Chandrakasan and H. Balakrishnan}, - title = {An application-specific protocol architecture for wireless microsensor networks}, - journal = {IEEE Transactions on Wireless Communications}, - volume = {1}, - number = {4}, - pages = {660-670}, - year = {2002}, -} - - -@inproceedings{pedraza2006, - author = {F. Pedraza and A. L. Medaglia and A. Garcia}, - title = {Efficient coverage algorithms for wireless sensor networks}, - booktitle = {Proceedings of the 2006 Systems and Information Engineering Design Symposium}, - pages = {78-83}, - YEAR = {2006}, -} - -@PhDThesis{chin2007, -author = {C. T. Vu}, -title = {DISTRIBUTED ENERGY-EFFICIENT SOLUTIONS FOR AREA COVERAGE PROBLEMS IN WIRELESS SENSOR NETWORKS}, -school = {Georgia State University}, -year = {2009}, -} - -@ARTICLE{varga, -author = {A. Varga}, -title = {OMNeT++ Discrete Event Simulation System}, -journal = {Available: http://www.omnetpp.org}, -year = {2003}, -} - - -@ARTICLE{die09, - author = {Isabel Dietrich and - Falko Dressler}, - title = {On the lifetime of wireless sensor networks}, - journal = {TOSN}, - volume = {5}, - number = {1}, - year = {2009}, - ee = {http://doi.acm.org/10.1145/1464420.1464425}, - bibsource = {DBLP, http://dblp.uni-trier.de} -} - - - -@ARTICLE{mulligan2010coverage, - title={Coverage in Wireless Sensor Networks: A Survey.}, - author={Mulligan, Raymond and Ammari, Habib M}, - journal={Network Protocols \& Algorithms}, - volume={2}, - number={2}, - year={2010} -} - - -@phdthesis{vu2009distributed, - title={Distributed energy-efficient solutions for area coverage problems in wireless sensor networks}, - author={Vu, Chinh Trung}, - year={2009}, - school={GEORGIA STATE UNIVERSITY} -} - - -@ARTICLE{raghunathan2002energy, - title={Energy-aware wireless microsensor networks}, - author={Raghunathan, Vijay and Schurgers, Curt and Park, Sung and Srivastava, Mani B}, - journal={Signal Processing Magazine, IEEE}, - volume={19}, - number={2}, - pages={40--50}, - year={2002}, - publisher={IEEE} -} - -@ARTICLE{ChinhVu, -author = {Chinh Vu and Shan Gao and Wiwek Deshmukh and Yingshu Li}, -title = {Distributed Energy-Efficient Scheduling Approach for K-Coverage in Wireless Sensor Networks}, -journal ={MILCOM}, -volume = {0}, -isbn = {1-4244-0617-X}, -year = {2006}, -pages = {1-7}, -doi = {http://doi.ieeecomputersociety.org/10.1109/MILCOM.2006.302146}, -publisher = {IEEE Computer Society}, -address = {Los Alamitos, CA, USA}, -} - - -@ARTICLE{ghosh2008coverage, - title={Coverage and connectivity issues in wireless sensor networks: A survey}, - author={Ghosh, Amitabha and Das, Sajal K}, - journal={Pervasive and Mobile Computing}, - volume={4}, - number={3}, - pages={303--334}, - year={2008}, - publisher={Elsevier} -} - -@ARTICLE{wang2011coverage, - title={Coverage problems in sensor networks: A survey}, - author={Wang, Bang}, - journal={ACM Computing Surveys (CSUR)}, - volume={43}, - number={4}, - pages={32}, - year={2011}, - publisher={ACM} -} - -@ARTICLE{yang2014novel, -author={Changlin Yang and Kwan-Wu Chin}, -journal={Communications Letters, IEEE}, -title={Novel Algorithms for Complete Targets Coverage in Energy Harvesting Wireless Sensor Networks}, -year={2014}, -month={January}, -volume={18}, -number={1}, -pages={118-121}, -keywords={energy harvesting;linear programming;secondary cells;telecommunication power supplies;wireless sensor networks;MUA;WSN;activation schedule;complete targets coverage;energy conservation;energy harvesting wireless sensor networks;linear programming based solution;maximum utility algorithm;network lifetime maximization problem;recharging opportunities;sensor nodes;sleep state;time interval;wake-up schedule;Batteries;Energy harvesting;Erbium;Monitoring;Schedules;Sensors;Wireless sensor networks;Wireless sensor network;energy harvesting;targets coverage}, -doi={10.1109/LCOMM.2013.111513.132436}, -ISSN={1089-7798},} - -@ARTICLE{HeShibo, -author={He, Shibo and Gong, Xiaowen and Zhang, Junshan and Chen, Jiming and Sun, Youxian}, -journal={Wireless Communications, IEEE Transactions on}, -title={Curve-Based Deployment for Barrier Coverage in Wireless Sensor Networks}, -year={2014}, -month={February}, -volume={13}, -number={2}, -pages={724-735}, -keywords={Algorithm design and analysis;Approximation algorithms;Approximation methods;Educational institutions;Sensors;Wireless communication;Wireless sensor networks;Barrier coverage;curved-based deployment;deployment algorithms;optimal deployment curve}, -doi={10.1109/TWC.2013.121813.130198}, -ISSN={1536-1276}, -} - - -@inproceedings{Zorbas2007, - author = {D. Zorbas and D. Glynos and P. Kotzanikolaou and C. Douligeris}, - title = {B\{GOP\}: an adaptive coverage algorithm for wireless sensor networks}, - booktitle = {Proceedings of the 13th European Wireless Conference}, - series = {EW'07}, - year = {2007}, - location = {Paris, France}, - -} - -@ARTICLE{zorbas2010solving, - title={Solving coverage problems in wireless sensor networks using cover sets}, - author={Zorbas, Dimitrios and Glynos, Dimitris and Kotzanikolaou, Panayiotis and Douligeris, Christos}, - journal={Ad Hoc Networks}, - volume={8}, - number={4}, - pages={400-415}, - year={2010}, - publisher={Elsevier}, -} - -@INPROCEEDINGS{Slijepcevic01powerefficient, - author = {S. Slijepcevic and M. Potkonjak}, - title = {Power Efficient Organization of Wireless Sensor Networks}, - booktitle = {IEEE International conference on Communications}, - year = {2001}, - pages = {472-476} -} - -@ARTICLE{cardei2006energy, - title={Energy-efficient coverage problems in wireless ad-hoc sensor networks}, - author={Cardei, Mihaela and Wu, Jie}, - journal={Computer communications}, - volume={29}, - number={4}, - pages={413-420}, - year={2006}, - publisher={Elsevier} -} - -@inproceedings{cardei2005energy, - title={Energy-efficient target coverage in wireless sensor networks}, - author={Cardei, Mihaela and Thai, My T and Li, Yingshu and Wu, Weili}, - booktitle={INFOCOM 2005. 24th Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings IEEE}, - volume={3}, - pages={1976-1984}, - year={2005}, - organization={IEEE} -} - -@ARTICLE{cardei2005improving, - title={Improving wireless sensor network lifetime through power aware organization}, - author={Cardei, Mihaela and Du, Ding-Zhu}, - journal={Wireless Networks}, - volume={11}, - number={3}, - pages={333-340}, - year={2005}, - publisher={Springer-Verlag New York, Inc.} -} - -@inproceedings{abrams2004set, - title={Set k-cover algorithms for energy efficient monitoring in wireless sensor networks}, - author={Abrams, Zo{\"e} and Goel, Ashish and Plotkin, Serge}, - booktitle={Proceedings of the 3rd international symposium on Information processing in sensor networks}, - pages={424-432}, - year={2004}, - organization={ACM} -} - -@ARTICLE{pujari2011high, - title={High-Energy-First (HEF) Heuristic for Energy-Efficient Target Coverage Problem.}, - author={Pujari, Arun K}, - journal={International Journal of Ad Hoc, Sensor \& Ubiquitous Computing}, - volume={2}, - number={1}, - year={2011} -} - -@INPROCEEDINGS{berman04, - author = {P. Berman and G. Calinescu}, - title = {Power Efficient Monitoring Management in Sensor Networks}, - booktitle = {Proceedings of IEEE Wireless Communication and Networking Conference (WCNC'04)}, - year = {2004}, - pages = {2329--2334} -} - -@inproceedings{Gallais06, - author = {Gallais, Antoine and Carle, Jean and Simplot-Ryl, David and Stojmenovic, Ivan}, - title = {Localized Sensor Area Coverage with Low Communication Overhead}, - booktitle = {Proceedings of the Fourth Annual IEEE International Conference on Pervasive Computing and Communications}, - year = {2006}, - pages = {328-337}, - -} - -@inproceedings{Tian02, - author = {Tian, Di and Georganas, Nicolas D.}, - title = {A coverage-preserving node scheduling scheme for large wireless sensor networks}, - booktitle = {Proceedings of the 1st ACM international workshop on Wireless sensor networks and applications}, - series = {WSNA '02}, - year = {2002}, - pages = {32-41}, - publisher = {ACM}, -} - -@inproceedings{Ye03, - author = {Ye, Fan and Zhong, Gary and Cheng, Jesse and Lu, Songwu and Zhang, Lixia}, - title = {PEAS: A Robust Energy Conserving Protocol for Long-lived Sensor Networks}, - booktitle = {Proceedings of the 23rd International Conference on Distributed Computing Systems}, - series = {ICDCS'03}, - year = {2003}, - pages = {28-37}, -} - - -@INPROCEEDINGS{Berman05efficientenergy, - author = {P. Berman and G. Calinescu and C. Shah and A. Zelikovsky}, - title = {Efficient energy management in sensor networks}, - booktitle = {Ad Hoc and Sensor Networks. Nova Science Publishers}, - year = {2005}, - publisher = {Nova Science Publisher} -} - -@inproceedings{lu2003coverage, - title={Coverage-aware self-scheduling in sensor networks}, - author={Lu, Jun and Suda, Tatsuya}, - booktitle={Computer Communications, 2003. CCW 2003. Proceedings. 2003 IEEE 18th Annual Workshop on}, - pages={117--123}, - year={2003}, - organization={IEEE} -} - -@incollection{prasad2007distributed, - title={Distributed algorithms for lifetime of wireless sensor networks based on dependencies among cover sets}, - author={Prasad, Sushil K and Dhawan, Akshaye}, - booktitle={High Performance Computing--HiPC 2007}, - pages={381-392}, - year={2007}, - publisher={Springer} -} - -@inproceedings{cardei2005maximum, - title={Maximum network lifetime in wireless sensor networks with adjustable sensing ranges}, - author={Cardei, Mihaela and Wu, Jie and Lu, Mingming and Pervaiz, Mohammad O}, - booktitle={Wireless And Mobile Computing, Networking And Communications, 2005.(WiMob'2005), IEEE International Conference on}, - volume={3}, - pages={438--445}, - year={2005}, - organization={IEEE} -} - -@inproceedings{garg98, - author = {Garg, Naveen and Koenemann, Jochen}, - title = {Faster and Simpler Algorithms for Multicommodity Flow and other Fractional Packing Problems.}, - booktitle = {Proceedings of the 39th Annual Symposium on Foundations of Computer Science}, - series = {FOCS '98}, - year = {1998}, - pages = {300-309}, -} - -@article{wang2010clique, - title={A clique base node scheduling method for wireless sensor networks}, - author={Wang, Lei and Wei, Ruizhong and Lin, Yaping and Wang, Bo}, - journal={Journal of Network and Computer Applications}, - volume={33}, - number={4}, - pages={383--396}, - year={2010}, - publisher={Elsevier} -} - -@article{yardibi2010distributed, - title={A distributed activity scheduling algorithm for wireless sensor networks with partial coverage}, - author={Yardibi, Tarik and Karasan, Ezhan}, - journal={Wireless Networks}, - volume={16}, - number={1}, - pages={213--225}, - year={2010}, - publisher={Springer} -} - -@article{conti2014mobile, - title={Mobile ad hoc networking: milestones, challenges, and new research directions}, - author={Conti, Marco and Giordano, Silvia}, - journal={Communications Magazine, IEEE}, - volume={52}, - number={1}, - pages={85--96}, - year={2014}, - publisher={IEEE} -} - -@inproceedings{idrees2014coverage, - title={Coverage and Lifetime Optimization in Heterogeneous Energy Wireless Sensor Networks}, - author={Idrees, Ali Kadhum and Deschinkel, Karine and Salomon, Michel and Couturier, Rapha{\"e}l}, - booktitle={ICN 2014, The Thirteenth International Conference on Networks}, - pages={49--54}, - year={2014} -} \ No newline at end of file