亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? complexity.html

?? STL_doc
?? HTML
字號(hào):
<!DOCTYPE HTML PUBLIC "-//Netscape Comm. Corp.//DTD HTML//EN"><HTML><HEAD>    <!-- SGI_COMMENT COSMOCREATE -->    <!-- SGI_COMMENT VERSION NUMBER="1.0" -->    <TITLE> STL Complexity Specifications </TITLE></HEAD><BODY><IMG SRC="CorpID.gif"      ALT="SGI" HEIGHT="43" WIDTH="151"> <!--end header--><H1>STL Complexity Specifications</H1><P>STL container, algorithm, and concept specifications include asymptotic complexity specifications. For example, iterators are required to take constant time, that is the time required by an iterator operation should be no more than a fixed constant, independent of the size of the container to which it refers. </P><P>Clearly programs will still function if a program component ignores the complexity specifications. Nonetheless, these specifications are an important part of the interface between STL components and code that uses them. If they are ignored, the performance of the resulting program will often render it useless. </P><P>As an example, consider the STL <TT><AHREF="Vector.html">vector</A></TT> container. Ignoring the complexityspecification, it is possible to implement <TT>vector</TT> using thesame underlying data structure as <TT><AHREF="List.html">list</A></TT>, <I>i.e.</I> as a doubly linkedlist. But for a <TT>vector</TT> of length 10,000, this would probablyslow down an average computation of <TT>v[i]</TT> by something like afactor of 5,000. For a program that requires many <TT>vector</TT>accesses, such as a typical numerical computation, this is likely tochange an execution time of minutes to days. </P><P>This does not preclude the use of STL algorithms in conjunction with containers or iterators that do not meet the standard complexity specifications. This is occasionally quite useful, especially if the code is either not performance critical, or other requirements on the container make the performance specifications unrealizable. But this has two potential problems. First, the algorithm may no longer be the right one, or even a reasonable one, for the problem. A different algorithm may be better tailored to actual relative costs of the container operations. Second, the algorithm is, of course, unlikely to satisfy its specified complexity constraint. </P><P>The complexity specifications in STL are, of necessity, an oversimplification. A full specification would describe exactly how the running time of an operation varies with that of the operations it invokes. The result would be rather unmanageable for the user, who would have to be keep track of large amounts of irrelevent detail. It would be overly constraining on the implementor, since overall improvements on the existing algorithms may not satisfy such detailed constraints. </P><P>Concept specifications (<I>e.g.</I> <B><AHREF="ForwardIterator.html">Forward Iterator</A></B> or <B><AHREF="Container.html">Container</A></B>) specify complexityrequirements that should be met by all instances of the concept. Thisis the minimum behavior required by operations (<I>e.g.</I> <TT><AHREF="sort.html">sort</A></TT>) parameterized with respect to theconcept. Any specific instance (<I>e.g.</I> <TT><AHREF="Vector.html">vector</A></TT>) is likely to perform better in atleast some cases. </P><P>It is difficult to specify precisely when an algorithm satisfies a performance constraint. Does copying a <TT>vector</TT> on a 16-bit embedded processor take constant time? After all, the size of the <TT><A HREF="Vector.html">vector</A></TT> is limited to some value less than 65,536. Thus the number of memory operations involved in the copy operation is certainly bounded by a constant. It is even conceivable that the worst case <TT>vector</TT>copy time on this processor may be less than the worst-case time for a single memory access on a machine with paged virtual memory. Nonetheless, it would be intuitively wrong to describe a <TT>vector</TT>copy or a <TT>list</TT> traversal as being a constant time operation. Even on this machine, a <TT>vector</TT> implemented as a list is unlikely to yield satisfactory performance. (Of course, so would an implementation that looped for a second for every <TT>vector</TT> access, although that would clearly run in constant time. The point here is to communicate the proper intent between implementor and user, not to guard against malicious or silly implementations.) </P><P>Fundamentally, it is difficult to define the notion of asymptotic algorithm complexity precisely for real computer hardware instead of an abstract machine model. Thus we settle for the following guidelines: </P><OL>    <LI>    For an algorithm <I>A</I> to have running time O(<I>f(n)</I>),     there must be a corresponding algorithm <I>A'</I> that is correct     on machines with arbitrarily long pointer and <TT>size_t</TT>     types, such that <I>A</I> and <I>A'</I> perform essentially the     same sequence of operations on the actual hardware. (In simple cases <I>A</I>     and <I>A'</I> will be the same. In other cases <I>A</I> may have     been simplified with the knowledge that adresses are bounded.) For     inputs of sufficiently large size <I>n</I>, <I>A'</I> must take at     most time <I>Cf(n)</I>, where <I>C</I> is a constant, independent     of both <I>n</I> and the address size. (Pointer, <TT>size_t</TT>,     and <TT>ptrdiff_t</TT> operations are presumed to take constant     time independent of their size.)     <LI>    All container or iterator complexity specifications refer to amortized     complexity. An individual operation may take longer than specified. But     any sufficiently long sequence of operations on the same container or     iterator will take at most as long as the corresponding sum of the     specified operation costs.     <LI>    Algorithms specify either worst-case or average case performance, and     identify which. Unless otherwise stated, averages assume that container     elements are chosen from a finite type with more possible values than     the size of the container, and that container elements are     independently uniformly distributed.     <LI>    A complexity specification for an operation <I>f</I> assumes that     operations invoked by <I>f</I> require at most the specified     runtime. But algorithms generally remain appropriate if the invoked     operations are no more than a logarithmic factor slower than specified     in the expected case.     <LI>    If operations are more expensive than assumed by a function <I>F</I>     in the current STL, then <I>F</I> will slow down at most in     proportion to the added cost. Any future operations that fail to     satisfy this property will make that explicit.     <P>    To make this precise, assume <I>F</I> is specified to use time <I>f(m)</I>     for input of size <I>m</I>. <I>F</I> uses operations <I>G</I><SUB><I>k</I></sub>,     with specified running times <I>g</I><SUB><I>k</I></sub><I>(n)</I>     on input size <I>n</I>. If <I>F</I> is used in a context in which     each <I>G</I><SUB><I>k</I></sub> is slower than expected by at most     a factor <I>h(n)</I>, then <I>F</I> slows down by at most a factor <I>h(m)</I>.     This holds because none of the current algorithms ever apply the     operations <I>G</I><SUB><I>k</I></sub> to inputs significantly     larger than <I>m</I>. </P></OL><!--start footer--> <HR SIZE="6"><A href="http://www.sgi.com/"><IMG SRC="surf.gif" HEIGHT="54" WIDTH="54"         ALT="[Silicon Surf]"></A><A HREF="index.html"><IMG SRC="stl_home.gif"         HEIGHT="54" WIDTH="54" ALT="[STL Home]"></A><BR><FONT SIZE="-2"><A href="http://www.sgi.com/Misc/sgi_info.html" TARGET="_top">Copyright &copy; 1999 Silicon Graphics, Inc.</A> All Rights Reserved.</FONT><FONT SIZE="-3"><a href="http://www.sgi.com/Misc/external.list.html" TARGET="_top">TrademarkInformation</A></FONT><P></BODY></HTML> 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图在线看| 亚洲视频一区在线| 成人午夜在线播放| 亚洲最大成人综合| 欧美mv和日韩mv的网站| 99久久国产免费看| 亚洲成在人线免费| 国产精品网站在线| 69堂国产成人免费视频| 国产精品资源网| 最新热久久免费视频| 精品一区二区三区日韩| 亚洲精品一二三四区| 国产女主播一区| 欧美草草影院在线视频| 欧美在线不卡一区| 成人av网站在线观看免费| 麻豆精品国产传媒mv男同| 亚洲午夜久久久| 亚洲欧洲日本在线| 日本一二三四高清不卡| 26uuu亚洲| 欧美一区二区美女| 欧美日韩国产高清一区二区 | 色猫猫国产区一区二在线视频| 国产做a爰片久久毛片| 日本中文在线一区| 亚洲综合在线免费观看| 欧美极品另类videosde| xvideos.蜜桃一区二区| 日韩精品一区二区三区四区视频 | 成人高清视频在线| 韩国欧美国产一区| 韩国v欧美v日本v亚洲v| 麻豆精品视频在线观看视频| 奇米四色…亚洲| 免费精品99久久国产综合精品| 午夜精品久久久久久久久久久| 亚洲丝袜自拍清纯另类| 亚洲乱码国产乱码精品精小说| 18成人在线视频| 一区二区高清在线| 亚洲狠狠爱一区二区三区| 亚洲在线中文字幕| 亚洲自拍偷拍av| 日韩中文字幕麻豆| 麻豆国产精品一区二区三区 | 最新国产精品久久精品| 亚洲视频中文字幕| 中文字幕综合网| 亚洲午夜国产一区99re久久| 五月天视频一区| 日本欧美一区二区| 国产精品资源在线看| 成人福利在线看| 在线精品视频免费观看| 在线不卡的av| 精品国产99国产精品| 中文在线一区二区| 亚洲综合视频在线观看| 强制捆绑调教一区二区| 韩国av一区二区三区在线观看 | 欧美一级日韩免费不卡| 精品毛片乱码1区2区3区| 亚洲国产岛国毛片在线| 亚洲一区在线免费观看| 蜜桃视频免费观看一区| 国产福利91精品| 欧美最猛性xxxxx直播| 91精品国产黑色紧身裤美女| 久久女同性恋中文字幕| 亚洲美女区一区| 天天综合日日夜夜精品| 国产精品一二三四五| 色94色欧美sute亚洲线路二| 3d动漫精品啪啪一区二区竹菊| 久久久久久久综合日本| 一区二区三区国产豹纹内裤在线| 蜜臀国产一区二区三区在线播放| 国产suv精品一区二区三区| 日本福利一区二区| 精品国产免费人成在线观看| 亚洲欧洲精品一区二区三区不卡 | 99视频在线精品| 91精品国产aⅴ一区二区| 日本一区二区三区久久久久久久久不 | 丝袜亚洲另类欧美综合| 高清不卡一区二区在线| 欧美日韩一区二区三区在线看| 国产亚洲成年网址在线观看| 亚洲综合免费观看高清完整版| 国模套图日韩精品一区二区| 色婷婷av一区二区三区gif| 精品sm捆绑视频| 亚洲国产精品久久艾草纯爱| 国产精品白丝jk黑袜喷水| 欧美猛男男办公室激情| 国产精品久久一级| 精品一区二区三区视频在线观看| 91成人免费网站| 国产精品久久久久久久浪潮网站 | 亚洲成av人片| 99精品国产视频| 久久久亚洲欧洲日产国码αv| 婷婷综合五月天| 91国在线观看| 国产精品素人视频| 精品一区二区三区久久| 精品视频1区2区3区| 亚洲女厕所小便bbb| 粉嫩久久99精品久久久久久夜| 日韩欧美二区三区| 午夜一区二区三区视频| 色综合久久综合网欧美综合网| 国产日韩欧美制服另类| 狠狠色综合播放一区二区| 欧美一区二区三区白人 | 不卡视频在线看| 久久久精品免费观看| 久久精品国产**网站演员| 7777精品伊人久久久大香线蕉完整版| 亚洲免费在线看| 一本色道久久综合亚洲91| 国产精品福利av| 99久久免费精品| 亚洲欧洲性图库| 99久久99久久免费精品蜜臀| 国产精品久久久久久久久图文区| 国产91精品免费| 欧美韩国日本不卡| 成人性视频免费网站| 国产女同性恋一区二区| 成人永久免费视频| 综合电影一区二区三区 | 久久精品在线免费观看| 韩国v欧美v亚洲v日本v| 337p粉嫩大胆噜噜噜噜噜91av| 激情综合色丁香一区二区| 欧美成人精精品一区二区频| 国产在线国偷精品免费看| 久久夜色精品国产欧美乱极品| 久久精品国产秦先生| 26uuu另类欧美亚洲曰本| 精品夜夜嗨av一区二区三区| 久久综合成人精品亚洲另类欧美 | 欧美亚洲图片小说| 午夜成人免费电影| 欧美一级高清片| 国产美女娇喘av呻吟久久| 国产日韩精品一区二区三区在线| 国产乱对白刺激视频不卡| 国产精品午夜电影| 91传媒视频在线播放| 日日摸夜夜添夜夜添精品视频| 欧美大片一区二区| 成人小视频免费观看| 亚洲激情第一区| 欧美一区二区精美| 国产91丝袜在线18| 亚洲一区二区三区美女| 91精品国产综合久久久久久久| 激情综合网天天干| 亚洲欧美怡红院| 69堂精品视频| 成人中文字幕电影| 亚洲成人精品一区二区| 日韩一级完整毛片| 成人免费av资源| 亚洲妇熟xx妇色黄| 精品理论电影在线| 99精品久久免费看蜜臀剧情介绍| 亚洲国产欧美另类丝袜| 精品国产一区二区在线观看| 成人黄色小视频在线观看| 丝袜国产日韩另类美女| 欧美极品xxx| 91 com成人网| a亚洲天堂av| 免费视频一区二区| 国产精品国产自产拍高清av| 欧美一区日韩一区| 99久久综合色| 免费久久99精品国产| 综合久久综合久久| 精品国产精品一区二区夜夜嗨| 色综合天天天天做夜夜夜夜做| 麻豆精品一区二区av白丝在线| 综合中文字幕亚洲| 欧美精品一区二区三区久久久| 色婷婷国产精品| 国产寡妇亲子伦一区二区| 亚洲国产中文字幕| 国产精品久久久久久久久免费桃花| 56国语精品自产拍在线观看| 不卡在线观看av| 国产在线观看免费一区| 亚洲.国产.中文慕字在线| 亚洲欧洲成人精品av97| 久久久不卡影院| 日韩免费福利电影在线观看|