Top Banner
Very Natural Computing Piotr Chrząstowski
29

Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Dec 17, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Very Natural Computing

Piotr Chrząstowski

Page 2: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Mimicking the nature

• Man always tried to learn from nature some fresh ideas.

• The nature rewarded man with many interesting and useful solutions.

• Sometimes it is quite worthy to look around and discover „inventions” ready to use.

Page 3: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Helicopter

Page 4: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Submarine

Page 5: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Polartec

Page 6: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Naps

Page 7: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Planes

Page 8: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

How about algorithms?

• Is there any way to use the forces of nature in order to increase our computing abilities?

• Can we learn something just looking around us?

• Does nature compute anything? Or maybe computing is purely human attitude?

Page 9: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Natural Computing

• Genetic and evolutionary algorithms – using natural selection to find better solutions

• Quantum computing – using quantum mechanics to simulate nondeterminism

• Biological computing – DNA plays the role of a processor

• Neural computing – constructing artificial neural networks in order to mimic the learning process of human brain.

Page 10: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Very Natural Computing

• We will use pure forces of nature. No real algorithms will be needed.

• What is needed: a proper experiment setting, and physics will provide us with the solution.

Page 11: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Sorting

• Given n real numbers. List them from the largest to the smallest.

• Solution: Cut the appropriate length sticks and let them freely stand on the table. They are already sorted. What is needed is to take one after one from the tallest to the smallest.

• Gravity sorts in constant time! Only preparation of data and presenting the result takes O(n) time.

Page 12: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Convex hull

• Problem: Find the smallest polygon surrounding given set of points on Euclidean plane

• Solution: Draw the points on the plane and drive nails in perpendicularly one at each of the points. Use rubber stripe to surround the points. The polygon is formed.

• Again, regardless of the number of points given, it takes constant time for a rubber to determine the convex hull.

Page 13: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Jacob Steiner

• Jacob Steiner (1796-1863)

• Swiss mathematician• One of the greatest

geometers in the history of mathematics.

Page 14: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Steiner problem

• Given n points on the Euclidean plane. Span these points with the smallest amount of cable.

• Some extra points may be added, where cable segments meet. They are called Steiner points.

Page 15: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

First attempts

Page 16: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Some improvements

Page 17: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Yet not the best...

Page 18: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

The solution!

Page 19: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Shortest path joining vertices of a triangle

Page 20: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Discrete Steiner problem

• Find the shortest Steiner tree on a grid

• A lot of research has been done in this srea, but no satisfactory solution has been found.

• This is an NP-complete problem

Page 21: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

What is known about Steiner trees?

• Edges are segments,• In each added point (Steiner point) exactly 3 edges

meet at angles 120º• There are at most n-2 Steiner points needed to span

optimally n given points.• Steiner problem is not compositional • The ratio between the total length of the optimal Steiner

tree and the minimum spanning tree (without additional points, easily computable for instance by Kruskal or Prim algorithms) is at least √3/2≈0.87. This result known as Gilbert and Pollak hypothesis from 1968 was proven as late as in 1991 by Zhu and Hwang.

Page 22: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Related 3D problem

• 3D version of Steiner problem: find the minimal surface that connects given set of points.

• Even for such simple shape as 12 edges of cube, the shape is extremely complex. It does not contain any single piece of plane. And in fact no rigorous proof is known that this known shape is minimal.

Page 23: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Cube

Page 24: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Octahedron

Page 25: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Octahedron (2)

Page 26: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Octahedron (3)

The best!

Page 27: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Brain

• Human brain is a very natural computer

• It solves many problems incredibly fast, and we often have no idea, how it does.

• It surprises us

Page 28: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Illusions -

Page 29: Very Natural Computing Piotr Chrząstowski. Mimicking the nature Man always tried to learn from nature some fresh ideas. The nature rewarded man with many.

Our brain is sometimes an unpredictable processor