parallel programming 0024 spring semester 2010 may 6, 2010

12
Parallel Programming Parallel Programming 0024 0024 Spring Semester 2010 Spring Semester 2010 May 6, 2010 May 6, 2010

Upload: angel-fowler

Post on 03-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Parallel ProgrammingParallel Programming00240024

Parallel ProgrammingParallel Programming00240024

Spring Semester 2010Spring Semester 2010May 6, 2010May 6, 2010

– R 9 :: 2 – 0024 Spring 2010

What we do todayWhat we do today

Primes with JSCP JCSP Übung Swing Assignment 9

Game of LifeMVC PatternSwing Tutorial Links

– R 9 :: 3 – 0024 Spring 2010

Conway‘s Game of LifeConway‘s Game of Life

Wikipedia: The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is the best-known example of a cellular automaton.

– R 9 :: 4 – 0024 Spring 2010

Assignment 9 Solution DemoAssignment 9 Solution Demo

– R 9 :: 5 – 0024 Spring 2010

GoL RulesGoL Rules

Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation.

Any live cell with more than three live neighbours dies, as if by overcrowding.

Any live cell with two or three live neighbours lives, unchanged, to the next generation.

Any dead cell with exactly three live neighbours becomes a live cell.

– R 9 :: 6 – 0024 Spring 2010

GoL: GliderGoL: Glider

– R 9 :: 7 – 0024 Spring 2010

GoL: Glider GunGoL: Glider Gun

– R 9 :: 8 – 0024 Spring 2010

GoL: BreederGoL: Breeder

– R 9 :: 9 – 0024 Spring 2010

MVC by WikipediaMVC by Wikipedia

– R 9 :: 10 – 0024 Spring 2010

MVC by SunMVC by Sun

– R 9 :: 11 – 0024 Spring 2010

Swing TutorialsSwing Tutorials

http://java.sun.com/docs/books/tutorial/uiswing/

http://java.sun.com/docs/books/tutorial/uiswing/components/index.html

http://www.mm.informatik.tu-darmstadt.de/courses/helpdesk/swing.html

– R 9 :: 12 – 0024 Spring 2010

QuestionsQuestions