giới thiệu về ca

Giới thiệu về card sound và màn hình

Giới thiệu về card sound và màn hình

Ngày tải lên : 29/08/2012, 11:21
... TÍNH xung nh p / giây Card Video PCI 4.Các lo i Card Video + Card 16X có t c ñ 1066 MHz + Card 8X có t c ñ 533 MHz + Card 4X có t c ñ 266 MHz + Card 2X có t c ñ 133 MHz + Card 1X có t c ñ 66 MHz ... bi u hi n : Các máy có Card video r i có t l h ng cao hơn, h ng Card Các máy có Card onboard thư ng b l i Card Kh c ph c hư h ng Card Video l n t t Lưu ý : S d ng lo i Card Video có t c ñ ph ... máy Pentium T c ñ x 66MHz = 66Mhz Card Video AGP 1X Card Video AGP 1X Card PCI ñư c s d ng th h máy cũ trư c máy Pentium T c ñ Card PCI ch ñ t 33MHz Card PCI Card theo chu n cũ c m khe m r ng...
  • 11
  • 1.4K
  • 3
Giới thiệu về Case nguồn máy tính

Giới thiệu về Case nguồn máy tính

Ngày tải lên : 05/09/2012, 16:19
... Bộ nguồn ATX Case máy Pentium Case đồng Case đồng máy tính bán sẵn thị trường có đầy đủ linh kiện thiết bị ngoại vi, Việt Nam Case đồng thường xuất dạng máy tính cũ nhập từ Mỹ Case đồng IBM ... hành Lựa chọn Case lắp Máy vi tính : Khi lắp máy vi tính, bạn cần phải lựa chọn Case ( thùng máy) cho phù hợp, Case kèm với nguồn bạn cần lựa chọn theo tiêu chuẩn sau : Hình dáng Case hợp với ... tuổi thọ cao Các loại Case Bộ nguồn máy vi tính Bộ nguồn ATX dùng cho máy từ Pentium2 đến Pentium4 Đầu dây nguồn cấp điện cho Mainboard mầu dây điện áp, chức Ý nghĩa chân mầu dây Dây mầu cam chân...
  • 15
  • 1.3K
  • 3
Giới thiệu về cafe Trung Nguyên

Giới thiệu về cafe Trung Nguyên

Ngày tải lên : 30/10/2012, 14:18
... Highland Ngoài có Nescafe va Vinacafe + Quốc tế: Trong tương lai không khác đại gia cafe tiếng giới Stacksbuck va Gloria Jeans Coffee, đại gia nhượng quyền thương mại cafe tiếng giới - Trong tương ... phẩm Với nỗ lực Trung Nguyên cho đời sản phẩm café thượng hạng như: café chồn, loại cafe đắt giới giới- để xuất sang nước phát triển Hay sản phẩm café hòa tan G7 đầu tư kỹ lưỡng từ cách đặt tên,bao ... uống miễn phí 10 ngày Thông qua hoạt động Trung Nguyên giới thiệu đến khách hàng sản phẩm cafe mình,đồng thời hướng dẫn khách cách thưởng thức cafe “theo kiểu Trung Nguyên” Sáu tháng sau đó, tên...
  • 10
  • 6.5K
  • 118
Giới thiệu về các thuật toán -lec1

Giới thiệu về các thuật toán -lec1

Ngày tải lên : 15/11/2012, 10:24
... that webpage: • tottime per call(column3) is tottime(column2)/ncalls(column1) • cumtime(column4)includes subroutine calls • cumtime per call(column5) is cumtime(column4)/ncalls(column1) The profiling ... Mathematically this is expressed as: D1 · D2 = � D1 (w) · D2 (w) (1) w Angle Metric: The angle between the vectors D1 and D2 gives an indication of overlap between the documents Mathematically this ... Cube × × Shortest Paths: Caltech → MIT Dynamic Programming: Stock Market √ Numerics: Document Distance Problem Motivation Given two documents, how similar are they? • Identical - easy? • Modified...
  • 7
  • 471
  • 1
Giới thiệu về các thuật toán -lec2

Giới thiệu về các thuật toán -lec2

Ngày tải lên : 15/11/2012, 10:24
... Then, T (n) = worst case running time for input size n = X: max running time on X Input of Size n How to make this more precise? • Don’t care about T (n) for small n • Don’t care about constant ... implementation details can be accessed at this link The only big obstacle that remains is to replace Insertion Sort with something faster because it takes time Θ(n2 ) in the worst case This will be ... the other terms as n grows large, we only care about the highest order term We ignore the constant coefficient preceding this highest order term as well because we are interested in rate of growth...
  • 6
  • 494
  • 1
Giới thiệu về các thuật toán - lec3

Giới thiệu về các thuật toán - lec3

Ngày tải lên : 15/11/2012, 10:24
... sorted(R) land: t = R[0] if (t != now) return error R = R[1: ] (drop R[0] from R) Can we better? • Sorted list: A minute check can be done in O(1) It is possible to insert new time/plane rather than append ... next-larger(46) return? 49 79 41 46 Figure 4: next-larger(x) What about rank(t)? Cannot solve it efficiently with what we have but can augment the BST structure what lands before 79? 49 43 46 79 64 keep ... Figure 2: Binary Search Tree Finding the minimum element in a BST Key is to just go left till you cannot go left anymore 49 49 79 41 46 79 46 Figure 3: Delete-Min: finds minimum and eliminates it...
  • 6
  • 451
  • 2
Giới thiệu về các thuật toán - lec4

Giới thiệu về các thuật toán - lec4

Ngày tải lên : 15/11/2012, 10:24
... couple of lectures Optimality • For BSTs, cannot better than O(lg n) per search in worst case • In some cases, can better e.g – in-order traversal takes Θ(n) time for n elements – put more frequent ... left-left case Insert(23) 41 65 20 φ 11 41 50 φ 29 φ 11 φ 23 Done Insert(55) 41 41 20 65 20 50 φ 26 φ 11 29 φ φ 23 φ 23 Done 41 φ 23 20 65 26 50 φ 29 φ 41 20 65 1 26 x=65: left-right case 11 φ ... AVL trees) Height can be linear but still O(lg n) per operation “on average” (amortized) Note: We will see more on amortization in a couple of lectures Optimality • For BSTs, cannot better than...
  • 9
  • 531
  • 1
Giới thiệu về các thuật toán - lec5

Giới thiệu về các thuật toán - lec5

Ngày tải lên : 15/11/2012, 10:24
... should be called “prehash” • Ideally, x = y ⇔ hash(x) = hash (y) • Python applies some heuristics e.g hash(‘\φB ’) = 64 = hash(‘\φ \ φC’) • Object’s key should not change while in table (else cannot ... Practise: a not too close to 2(w−1) or 2w Key Lesson: Multiplication and bit extraction are faster than division w k a x } r Figure 4: Multiplication Method ... h(k ) Figure 3: Chaining in a Hash Table • Search must go through whole list T[h(key)] • Worst case: all keys in k hash to same slot =⇒ Θ(n) per operation Simple Uniform Hashing - an Assumption:...
  • 7
  • 431
  • 1
Giới thiệu về các thuật toán - lec6

Giới thiệu về các thuật toán - lec6

Ngày tải lên : 15/11/2012, 10:24
... Readings CLRS Chapter 17 and 32.2 Recall: Hashing with Chaining: all possible keys U k k k k m slots Cost : Θ (1+α) k4 k3 Figure 1: Chaining in a Hash Table Multiplication Method: h(k) = [(a · k) ... Spring 2008 w k a x ignore keep + ignore } } r ≡ w-r product as sum lots of mixing Figure 2: Multiplication Method How Large should Table be? • want m = θ(n) at all times • don’t know how large n will ... search in O(1) expected time assuming simple uniform hashing Delete: Also O(1) expected time • space can get big with respect to n e.g n× insert, n× delete • solution: when n decreases to m/4, shrink...
  • 6
  • 520
  • 1
Giới thiệu về các thuật toán -lec7

Giới thiệu về các thuật toán -lec7

Ngày tải lên : 15/11/2012, 10:24
... + α + α2 + α3 + · · · = 1−α Open Addressing vs Chaining Open Addressing: better cache performance and rarely allocates memory Chaining: less sensitive to hash functions and α Lecture Hashing III: ... defining one hash function, define a whole family and select one at random • e.g multiplication method with random a • can prove P r (over random h) {h(x) = h(y)} = m for every (i.e not random) x �= y ... expected probes Proof: Always make a first probe With probability n/m, first slot occupied In worst case (e.g key not in table), go to next n−1 With probability , second slot occupied m−1 n−2 Then,...
  • 6
  • 496
  • 1
Giới thiệu về các thuật toán - lec8

Giới thiệu về các thuật toán - lec8

Ngày tải lên : 15/11/2012, 10:24
... 10 10 16 10 14 10 9 Exchange A[2] with A[4] Call MAX_HEAPIFY(A,4) because max_heap property is violated 16 10 14 9 Exchange A[4] with A[9] No more calls 10 Figure 5: MAX HEAPIFY Example ... the value in ith position i = i + 1, stop if i = n Iterate steps 0-3 n times Step takes O(n) time Can we improve to O(lg n)? Lecture Sorting I: Heaps 6.006 Spring 2008 5 4 i=1 θ(n ) time in-place ... array Θ(n2 ) in-place Merge Sort: Need O(n) auxiliary space Θ(n lg n) during merging Question: Can we have Θ(n lg n) in-place sorting? Selection Sort i=1 Find minimum value in list beginning...
  • 6
  • 470
  • 1
Giới thiệu về các thuật toán - lec9

Giới thiệu về các thuật toán - lec9

Ngày tải lên : 15/11/2012, 10:24
... converted to a max heap Observation: Elements A[�n/2 + 1� · · · n] are all leaves of the tree and can’t have children BUILD MAX HEAP(A): heap size(A) = length(A) O(n) times for i ← � length[A]/2� ... A[n], A[n] goes to A[1] New root could violate max heap property but children remain max heaps • Discard node n from heap (decrement heapsize) Heap Sort Algorithm O(n lg n) BUILD MAX HEAP(A): n times ... Spring 2008 1 16 10 14 8 10 14 10 heap_size = MAX_HEAPIFY (A,1) 7 10 16 not part of heap Note: cannot run MAX_HEAPIFY with heapsize of 10 1 14 10 7 10 14 10 not part of heap 16 MAX_HEAPIFY (A,1)...
  • 7
  • 468
  • 1
Giới thiệu về các thuật toán - lec10

Giới thiệu về các thuật toán - lec10

Ngày tải lên : 15/11/2012, 10:24
... Insertion sort, merge sort and heap sort are all comparison sorts The best worst case running time we know is O(n lg n) Can we better? Decision-Tree Example Sort < a1 , a2 , · · · an > 1:2 1:3 2:3 ... input size n • Running time of algo: length of path taken • Worst-case running time: height of the tree Theorem Any decision tree that can sort n elements must have height Ω(n lg n) Proof: Tree must ... 2:3 > (a1 > a3) 2:3 (a2 ≤ a3) ≤ 231 4≤ 6≤ Figure 2: Decision Tree Execution Decision Tree Model Can model execution of any comparison sort In order to sort, we need to generate a total ordering...
  • 5
  • 462
  • 1
Giới thiệu về các thuật toán - lec11

Giới thiệu về các thuật toán - lec11

Ngày tải lên : 15/11/2012, 10:24
... Gather cards bin by bin, so cards with first place punched are on top of cards with second place punched, etc 80 cols 10 places Figure 3: Punch Card MSB vs LSB? Sort on most significant digit ... Radix Sort • Herman Hollerith card-sorting machine for 1890 census • Digit by Digit sort by mechanical machine Examine given column of each card in a deck Distribute the card into one of 10 bins Lecture ... first or least significant digit first? MSB strategy: Cards in of 10 bins must be put aside, leading to a large number of intermediate piles LSB strategy: Can gather sorted cards in bins appropriately...
  • 5
  • 363
  • 1
Giới thiệu về các thuật toán - lec12.

Giới thiệu về các thuật toán - lec12.

Ngày tải lên : 15/11/2012, 10:24
... Searching I: Graph Search and Representations Lecture Overview: Search of • Graph Search • Applications • Graph Representations • Introduction to breadth-first and depth-first search Readings CLRS ... 22.1-22.3, B.4 Graph Search Explore a graph e.g., find a path from start vertices to a desired vertex Recall: graph G = (V, E) • V = set of vertices (arbitrary labels) • E = set of edges i.e vertex pairs ... graph terminology Lecture 12 Searching I: Graph Search & Representations 6.006 Spring 2008 Applications: There are many • web crawling (How Google finds pages) • social networking (Facebook friend...
  • 9
  • 490
  • 0
Giới thiệu về các thuật toán - lec13

Giới thiệu về các thuật toán - lec13

Ngày tải lên : 15/11/2012, 10:24
... Classification: tree edges (formed by parent) nontree edges back edge: to ancestor forward edge: to descendant cross edge (to another subtree) Figure 7: Edge Classification To compute this classification, ... Search Frontier Analysis: • vertex V enters next (& then frontier) only once (because level[v] then set) base case: v = s • =⇒ Adj[v] looped through only once � � | E | for directed graphs time ... Search of • Breadth-First Search • Shortest Paths • Depth-First Search • Edge Classification Readings CLRS 22.2-22.3 Recall: graph search: explore a graph e.g., find a path from start vertices to a desired...
  • 6
  • 351
  • 0
Giới thiệu về các thuật toán - lec14

Giới thiệu về các thuật toán - lec14

Ngày tải lên : 15/11/2012, 10:24
... 2008 Lecture 14: Searching III: Toplogical Sort and NP-completeness Lecture Overview: Search of & NP-completeness • BFS vs DFS • job scheduling • topological sort • intractable problems • P, NP, ... 22.4 and 34.1-34.3 (at a high level) Recall: • Breadth-First Search (BFS): level by level • Depth-First Search (DFS): backtrack as necc • both O(V + E) worst-case time =⇒ optimal • BFS computes ... 2008 Topological Sort Reverse of DFS finishing times (time at which node’s outgoing edges finished) Exercise: prove that no constraints are violated Intractability • DFS & BFS are worst-case optimal...
  • 6
  • 345
  • 0
Giới thiệu về các thuật toán - lec15

Giới thiệu về các thuật toán - lec15

Ngày tải lên : 15/11/2012, 10:24
... Preview: • Use Dijkstra to find shortest path from CalTech to MIT – See “CalTech Cannon Hack” photos (search web.mit.edu ) – See Google Maps from CalTech to MIT • Model as a weighted graph G(V, ... Example: Bold edges give predecessor Π relationships Negative-Weight Edges: • Natural in some applications (e.g., logarithms used for weights) • Some algorithms disallow negative weight edges (e.g., ... → D → C → B (origin) has weight −6 + + = −1 < 0! Shortest path S −→ C (or B, D, E) is undefined Can go around B → D → C as many times as you like Shortest path S −→ A is defined and has weight...
  • 7
  • 367
  • 0
Giới thiệu về các thuật toán - lec16.

Giới thiệu về các thuật toán - lec16.

Ngày tải lên : 15/11/2012, 10:24
... • Review: Notation • Generic S.P Algorithm • Bellman Ford Algorithm – Analysis – Correctness Recall: path p = < v0 , v1 , , vk > (v1 , vi+1 ) �E w(p) = k−1 � 0≤i d[u] + w(u, v) : ⎢ ⎣ d[v] ← d[u] + w(u, v) π[v] ← u until you can’t relax any more edges or you’re tired or Lecture 16 Shortest Paths II: Bellman-Ford 6.006 ... D C ∞ End of pass A D ∞ ∞ 1 -3 -2 End of pass (and and 4) Figure 5: The numbers in circles indicate the order in which the δ values are computed Lecture 16 Shortest Paths II: Bellman-Ford 6.006...
  • 5
  • 263
  • 0