zoukankan      html  css  js  c++  java
  • 算法导论第三章_函数的增长_读书笔记

    ]ZW1FELJNXJDD15$]O%3A@S

    )KL_]QW1BYQVF)[2E%SKTMA

    O)S9(D0R~8JL9)5T(A[X%WY

    U})F)GKV8XPH~H}GK{[E01X

    6WUIRPK]S3IFTVI]D2O)KZU

    6%~YT8TTB(MKRETANJX{1`I

    $80[WOBP(BT6S1Q(B`(SF$6

    LYKZ@XJ]91CH694CTN7S_CH

    U6AR2(JIUXN)1Y78T8~J0_G

    J@XR{WTJE1OSMUHQV[3}~RL

    H_RCZR%[ZDN`[]TEL~LH_~D

    以下是我的读书笔记,有很多的东西有可能是胡编乱造与事实相反。

    1,(Ω,Θ,O)。

    2,上述记号为标识符,为集合的标识符。

    3,T(n)=2n+3,表示对于一个算法来说,当输入规模为n的时候,算法运行的时间。

    4,T(n)=Θ(g(n)),表示T(n)作为一个函数属于集合Θ(g(n))。

    5,Θ(g(n))定义了一个集合,这个集合的元素是一些满足下列条件的函数。

    Θ(g(n)) = {f(n) : there exist positive constants c1, c2, and n0 such that 0 ≤ c1g(n) ≤ f(n) ≤ c2g(n) for all n ≥ n0}

    6,称g(n)为f(n)的渐近确界。

    7,可以这样表示:f(n)≈g(n)当n>n0

    8,可以这样表示:f(n) ∈ Θ(g(n)) 当n>n0

    9,可以这样表示:f(n) = Θ(g(n)) 当n>n0 三种表示都是第二种表示的意思。都是表示规模的。

    10,f(n)=Ω(g(n)),表示这个算法是有一个渐近下界的,这个渐近下界为g(n),算法的运行时间f(n)趋近并大于等于这个g(n)。

    11,f(n)=Θ(g(n)),表示这个算法是有一个渐近确界的,这个渐近确界为g(n),算法的运行时间f(n)趋近g(n)。

    12,f(n)=O(g(n)),表示这个算法是有一个渐近上界的,这个渐近上界为g(n),算法的运行时间f(n)趋近并小于等于这个g(n)。

    13,怎么理解最坏情况,就是说f(n)=2n+3这种情况并不多见,或者我们也没有必要作出精确的时间,很多情况都是以数量级来关心算法的效率的,于是f(n)(算法的运行时间)一般都以上述记号来表示;或者说f(n)=2n+3这种情况跟本就没有,因为对于相同的n,同一个算法的运行时间是不定的,比如插入排序对于已排序的输入,与非已排序的输入,运行时间不同。书中的算法好像就是只讨论最坏情况,或者讨论最坏情况居多。

    Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.730_1435326_656608Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.730_1435327_168363Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.730_1435320_749741Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.Shin Soo-ji poses for pictures during an interview with OSEN on January 21st in Seoul, South Korea.

    730_1363400_598097730_1363402_372837730_1363406_711020730_1389996_486666730_1389997_616714730_1389998_110446730_1389999_623802730_1390000_538655730_1390001_393904730_1390002_977272Lin Chi-ling, NOVEMBER 30, 2014 - Horse Racing : Lin Chi-Ling as presenter of Longines awards attends a ceremony of 34th Japan cup at Tokyo Racecourse Tokyo Japan on 30 Nov 2014. (Photo by Motoo Naka/AFLO)Lin Chi-ling, NOVEMBER 30, 2014 - Horse Racing : Lin Chi-Ling as presenter of Longines awards attends a ceremony of 34th Japan cup at Tokyo Racecourse Tokyo Japan on 30 Nov 2014. (Photo by Motoo Naka/AFLO)Lin Chi-ling, NOVEMBER 30, 2014 - Horse Racing : Lin Chi-Ling as presenter of Longines awards attends a ceremony of 34th Japan cup at Tokyo Racecourse Tokyo Japan on 30 Nov 2014. (Photo by Motoo Naka/AFLO)Lin Chi-ling, NOVEMBER 30, 2014 - Horse Racing : Lin Chi-Ling as presenter of Longines awards attends a ceremony of 34th Japan cup at Tokyo Racecourse Tokyo Japan on 30 Nov 2014. (Photo by Motoo Naka/AFLO)손연재가 쏜다!<YONHAP NO-1438>

  • 相关阅读:
    Nim or not Nim? hdu3032 SG值打表找规律
    Maximum 贪心
    The Super Powers
    LCM Cardinality 暴力
    Longge's problem poj2480 欧拉函数,gcd
    GCD hdu2588
    Perfect Pth Powers poj1730
    6656 Watching the Kangaroo
    yield 小用
    wpf DropDownButton 源码
  • 原文地址:https://www.cnblogs.com/sunyongjie1984/p/4253993.html
Copyright © 2011-2022 走看看