Fundamentals of Computer Science II
CSCI 136: Fundamentals of Computer Science II • Keith Vertanen
Fundamentals of Computer Science II Keith Vertanen Museum 102 - - PowerPoint PPT Presentation
Fundamentals of Computer Science II Keith Vertanen Museum 102 kvertanen@mtech.edu http://katie.mtech.edu/classes/csci136 CSCI 136: Fundamentals of Computer Science II Keith Vertanen Resources Textbook Head First Java First 5
CSCI 136: Fundamentals of Computer Science II • Keith Vertanen
2
3
4
5
6
http://www.tsp.gatech.edu/sweden/index.html
SW24978 - Sweden Computation Log Instance Created: July 29, 2001 Number of Cities: 24,978 Optimal Value: 855,597 Solution Method: Concorde, CPlex 6.5 LP Solver, LKH Solution Time: 84.8 years, Intel Xeon 2.8 GHz
7
8
9
10
11
12
13
14
15
private class Node { private int num; private Node next; }
16
% java PredictiveKeyboard 5 wiki_200k.txt % java PredictiveKeyboard 5 mobydick.txt
17
Call me Ishmael. Some years ago- never mind how long precisely- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. word count to 1 thought 1 sail 1 ago 1 and 3 the 4 … little 2
t → the th → the the → the tho → thought to → to
prefix word t the th the the the tho thought to to …
18
19
20
21
22 http://www.gotw.ca/publicatio ns/concurrency-ddj.htm
23
24
25
26