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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? complexity.html

?? 這個幫助文檔就不需要解釋了
?? HTML
字號:
<!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> 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久国产一区二区三区四区小说 | 一区二区三区四区五区视频在线观看 | 精品国产伦一区二区三区观看方式 | 精品av综合导航| 久久精品国产一区二区三区免费看| 欧美欧美午夜aⅴ在线观看| 亚洲第一av色| 日韩欧美国产电影| 国产999精品久久久久久| 国产精品欧美一区喷水| 91丨porny丨蝌蚪视频| 亚洲一区二区3| 欧美一区二区久久| 国产成人免费视频网站| 亚洲麻豆国产自偷在线| 欧美日韩国产综合久久| 秋霞电影网一区二区| 久久久久久日产精品| 99精品欧美一区二区三区小说| 亚洲一区二区三区四区在线| 欧美一二三在线| 成人看片黄a免费看在线| 亚洲国产精品久久久久婷婷884| 日韩一区二区三区在线观看| 国产盗摄精品一区二区三区在线| 《视频一区视频二区| 91.成人天堂一区| 国产成人a级片| 亚洲第一成人在线| 国产日韩精品一区二区浪潮av| 色成人在线视频| 国模娜娜一区二区三区| 亚洲综合在线第一页| 国产清纯在线一区二区www| 在线精品观看国产| 国产精品99久久久久久似苏梦涵 | 久久综合色8888| 色婷婷综合久久久中文字幕| 九九国产精品视频| 亚洲女同ⅹxx女同tv| 欧美va亚洲va在线观看蝴蝶网| gogo大胆日本视频一区| 午夜欧美视频在线观看| 久久久精品天堂| 日本丰满少妇一区二区三区| 日本欧美加勒比视频| 国产视频视频一区| 丁香婷婷综合激情五月色| 香蕉加勒比综合久久| 久久九九久久九九| 欧美视频日韩视频在线观看| 国产尤物一区二区在线| 亚洲精品欧美激情| 久久亚洲欧美国产精品乐播| 91在线免费看| 久久99国产精品久久99果冻传媒| 中文字幕在线播放不卡一区| 91精品麻豆日日躁夜夜躁| 国产成人综合网站| 午夜成人在线视频| 26uuu精品一区二区三区四区在线| 在线观看亚洲a| 国产精品99久久久久久似苏梦涵| 亚洲成年人网站在线观看| 国产日韩欧美高清| 欧美一卡二卡在线| 在线视频国产一区| 不卡电影免费在线播放一区| 卡一卡二国产精品 | 最新热久久免费视频| 日韩视频免费观看高清完整版| 99久久精品国产一区二区三区| 美女www一区二区| 亚洲成va人在线观看| 一色桃子久久精品亚洲| 欧美成人欧美edvon| 欧美精品日韩一区| 91福利精品第一导航| 日本成人在线不卡视频| 亚洲愉拍自拍另类高清精品| 国产女人aaa级久久久级 | 国产精品久久久久久久久久免费看| 制服丝袜在线91| 欧美性生活大片视频| av亚洲精华国产精华精| 成人国产亚洲欧美成人综合网| 国内成人免费视频| 黑人巨大精品欧美黑白配亚洲| 美女在线一区二区| 日韩高清电影一区| 亚洲理论在线观看| 午夜精品久久久久久久久久久| 亚洲天堂成人在线观看| 亚洲国产精品传媒在线观看| 日韩精品一区二| 欧美精品在线观看一区二区| 91片黄在线观看| 99久久99久久免费精品蜜臀| caoporen国产精品视频| www.亚洲国产| 国产福利91精品| 不卡的av电影在线观看| 狠狠色狠狠色综合日日91app| 亚洲123区在线观看| 国产精品国产a| 一区在线观看免费| 中文字幕av免费专区久久| 国产精品国产自产拍高清av王其 | 久久91精品国产91久久小草| 免费高清在线视频一区·| 久久国产精品第一页| 美腿丝袜在线亚洲一区| 国产一区二区三区在线看麻豆| 国产精品一区二区视频| 激情五月婷婷综合| 美女脱光内衣内裤视频久久网站| 久久精品99国产精品| 国产原创一区二区三区| av网站一区二区三区| 91高清在线观看| 色哟哟精品一区| 欧美一区二区三区免费在线看| 欧美疯狂做受xxxx富婆| 日韩欧美在线影院| 国产欧美一二三区| 一级精品视频在线观看宜春院| 国产精品色在线| 香蕉久久夜色精品国产使用方法| 极品少妇xxxx精品少妇偷拍| 成人免费高清在线观看| 2023国产精品自拍| 国产亚洲短视频| 亚洲一区二区三区影院| 狠狠色2019综合网| 99re这里只有精品6| 日韩一区二区影院| 欧美一区二区福利在线| 欧美高清视频在线高清观看mv色露露十八| 日韩视频免费直播| 亚洲欧洲日本在线| 毛片av一区二区| 99久久精品免费看国产| 欧美一区二区日韩| 亚洲精品中文字幕乱码三区| 日韩va亚洲va欧美va久久| 国产xxx精品视频大全| 色综合久久久久久久久| 91精品国产色综合久久ai换脸| 精品国产91久久久久久久妲己| 亚洲精品成人悠悠色影视| 国产一区高清在线| 欧美日韩激情一区二区| 欧美tickling网站挠脚心| 亚洲欧美自拍偷拍色图| 韩国成人精品a∨在线观看| 色av一区二区| 欧美激情一区二区在线| 久久精品久久综合| 99亚偷拍自图区亚洲| 欧美va亚洲va在线观看蝴蝶网| 夜夜精品视频一区二区| 日本女人一区二区三区| 高清国产一区二区| 欧美xxxxxxxx| 日日夜夜免费精品视频| 91偷拍与自偷拍精品| 国产午夜精品福利| 九九国产精品视频| 欧美老女人第四色| 亚洲国产综合视频在线观看| 99视频国产精品| 久久久激情视频| 国产精品夜夜嗨| 欧美日韩视频专区在线播放| 亚洲欧美在线观看| 成人黄页在线观看| 久久久久久久综合色一本| 免费欧美在线视频| 欧美另类久久久品| 亚洲欧洲一区二区三区| www.亚洲人| 亚洲三级电影全部在线观看高清| 懂色av一区二区三区免费看| 日韩一二三区视频| 免费日本视频一区| 日韩午夜在线观看| 蜜臀av国产精品久久久久| 欧美一区二区三区婷婷月色| 日韩精品色哟哟| 91精品国产品国语在线不卡| 久久久精品国产免费观看同学| 国产成人精品亚洲777人妖| 久久久精品日韩欧美| 丰满亚洲少妇av| 国产精品国产成人国产三级 | 1024国产精品| 色婷婷久久综合| 亚洲一区二区三区视频在线播放| 精品婷婷伊人一区三区三| 亚洲综合清纯丝袜自拍|