Strumenti Utente

Strumenti Sito


magistraleinformatica:alg2:algo2_13:start

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
Ultima revisione Entrambe le parti successive la revisione
magistraleinformatica:alg2:algo2_13:start [13/12/2013 alle 08:09 (10 anni fa)]
Roberto Grossi [Topics]
magistraleinformatica:alg2:algo2_13:start [08/02/2014 alle 13:57 (10 anni fa)]
Roberto Grossi [Announcements]
Linea 4: Linea 4:
 ==== Announcements ==== ==== Announcements ====
  
-  * The {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|list of problems}} has been updated (Dec.13).+  * Orali: martedì 11 febbraio e lunedì 17 febbraio ore 9:00, presso lo studio del docente. 
 +  * The final {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|list of problems}} has been updated (Dec.19).
   * The class lectures will be (mainly) given in English.  Tue 11-13 (aula A1), Wed 16-18 (aula C1), Thu 9-11 (aula N1).   * The class lectures will be (mainly) given in English.  Tue 11-13 (aula A1), Wed 16-18 (aula C1), Thu 9-11 (aula N1).
   * Office hours: Thu 11-14 (Dipartimento di Informatica)   * Office hours: Thu 11-14 (Dipartimento di Informatica)
Linea 30: Linea 31:
 === Enumeration, hardness and approximation of some combinatorial problems === === Enumeration, hardness and approximation of some combinatorial problems ===
  
-NP-hard problems are important but difficult to solve and no deterministic polynomial algorithms are currently known for them. Even basic problems, such as finding a simple path of vertices in a graph, are NP-hard. We discuss how to attack these problems (a) by counting and listing their solutions where the cost is proportional to the output (it can be exponential in the worst case but we only pay for what we get) and (b) by approximating their solutions when the problem requires to minimize a cost or maximize a benefit. Most of the addressed problems are on graphs, which are popular representations for modern networked data. +NP-hard problems are important but difficult to solve and no deterministic polynomial algorithms are currently known for them. Even basic problems, such as finding a simple path of vertices in a graph, are NP-hard. We discuss how to attack these problems (a) by counting and listing their solutions where the cost is proportional to the output (it can be exponential in the worst case but we only pay for what we get) and (b) by approximating their solutions with polynomial-time algorithms when the problem requires to minimize a cost or maximize a benefit. Most of the addressed problems are on graphs, which are popular representations for modern networked data. 
  
 ^ Date ^ Topics ^ References and notes ^ ^ Date ^ Topics ^ References and notes ^
Linea 75: Linea 76:
 | Dec. 10| Cache-oblivious (CO) model. Ideal cache. Motivations and simple examples: multiple scanning, inverting an array. van Emde Boas (vEB) layout of complete binary (search) trees. | [[http://erikdemaine.org/papers/BRICS2002/paper.pdf|Sect.4.1]] {{:magistraleinformatica:alg2:algo2_13:veb_layout.pdf|Notes}} | | Dec. 10| Cache-oblivious (CO) model. Ideal cache. Motivations and simple examples: multiple scanning, inverting an array. van Emde Boas (vEB) layout of complete binary (search) trees. | [[http://erikdemaine.org/papers/BRICS2002/paper.pdf|Sect.4.1]] {{:magistraleinformatica:alg2:algo2_13:veb_layout.pdf|Notes}} |
 | Dec. 11| Problem solving. Filling the details of the DC3 suffix sorting. Suffix array searching. Implicit van Emde Boas layout of binary complete search trees. | {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|list of problems}} | | Dec. 11| Problem solving. Filling the details of the DC3 suffix sorting. Suffix array searching. Implicit van Emde Boas layout of binary complete search trees. | {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|list of problems}} |
-| Dec. 12| Text indexing and searching: suffix trees and inverted lists. | [[http://en.wikipedia.org/wiki/Suffix_tree|wikipedia]] [[http://en.wikipedia.org/wiki/Inverted_index|wikipedia]] | +| Dec. 12| Text indexing and searching: suffix trees and inverted lists. | [[http://en.wikipedia.org/wiki/Suffix_tree|wikipedia]] [[http://en.wikipedia.org/wiki/Inverted_index|wikipedia]] {{:magistraleinformatica:alg2:algo2_13:trie_inverted.pdf|pp.124-128,131-135,139-143}} 
-| Dec. 17| Text compression: inverted lists and Lempel-Ziv algorithms. | TBD |+| Dec. 17| Text compression: inverted lists and Lempel-Ziv algorithms. | {{:magistraleinformatica:alg2:algo2_11:07_mg-partchap3.pdf|sect.3.2-3.3 (up to p.119)}} {{:magistraleinformatica:alg2:algo2_11:07_mg-partchap2.pdf|sect.2.6}} (up to p.81)|
    
  
Linea 82: Linea 83:
 == Excercises discussed in class == == Excercises discussed in class ==
  
-This is {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|partial list}} to be completed.+This is the {{:magistraleinformatica:alg2:algo2_13:esercitazioni2013.pdf|final list}} of problems.
  
 == Official class docs (registro) == == Official class docs (registro) ==
Linea 89: Linea 90:
   * Access to the [[https://esami.unipi.it/esami/|course evaluation form (questionario studenti)]]   * Access to the [[https://esami.unipi.it/esami/|course evaluation form (questionario studenti)]]
  
-== Examination outcomes ==+== Examination outcomes (in Italian) ==
  
-After Dec.19...+Risultati del 19.12.2013 
 + 
 +     438014    24 
 +     452465    29 
 +     465077    27 
 +     505530    28 
 +     505534    28 
 +     508454    29 
 +     509023    30 
 + 
 +Risultati del 20.01.2014 
 + 
 +     438014   29 
 +     438905   27 
 +     441808   29 
 +     443831   29 
 +     445942   28 
 +     464665   29 
 +     499487   26 
 +     505530   28 
 +     508463   20 
 + 
 +Risultati del 07.02.2014 
 + 
 +     451325   ins 
 +     472005   30 
 +     490483   28 
 +     508463   30
  
magistraleinformatica/alg2/algo2_13/start.txt · Ultima modifica: 04/10/2015 alle 10:06 (9 anni fa) da Roberto Grossi