Steiner Tree 4+

Reinhard MAENNER

Designad för iPad

    • Gratis

Skärmavbilder

Beskrivning

This app computes Steiner trees using an evolutionary algorithm. You can place, drag, and delete points of your tree. The optimal number and position of Steiner points is computed.

A minimal spanning tree (MST) connects a given set of points in a plane so that the sum of all edges is minimal. Often this sum of all edges can be reduced, if additional points are added. These points are called Steiner points, and the corresponding minimal spanning tree Steiner tree. If more than 3 points are given, it is a hard optimization problem to compute the optimal number and position of Steiner points.

This app uses a simple evolutionary algorithm for demonstration purposes. It uses a population of individuals. Each individual represents a MST containing some Steiner points. The population develops towards the optimal Steiner tree in an evolutionary loop: Initially, each individual sets random Steiner points, and constructs the corresponding Steiner tree. The minimal length of the Steiner tree in the population is stored. Each individual has now a fitness value, which is the higher, the closer its Steiner tree length is to the minimal length in the population. Fitter individuals have more descendants by reproduction, and less fit individuals die out. In order to explore better solutions, reproduction does not create descendants that are identical to the parent individual, i.e. do not have their Steiner points at the same position. Rather these positions are shifted randomly by mutation, using a Gaussian distribution. How far they are shifted on average is determined also by their fitness: Good individuals shift their Steiner points less than worse individuals.
How fast a good solution is found, depends thus on the population size, and the mutation strength.

Nyheter

Version 4.3

Minor internal update for newer iOS versions

Appintegritet

Utvecklaren Reinhard MAENNER har angett att appens integritetsrutiner kan inkludera hantering av data enligt beskrivningen nedan. Det finns mer information i utvecklarens integritetspolicy.

Data samlas inte in

Utvecklaren samlar inte in några data från den här appen.

Sekretessriktlinjer kan variera, till exempel utifrån de funktioner du använder eller din ålder. Läs mer

Mer från den här utvecklaren

Du kanske också gillar

RealMandelRender
Utbildning
LineAlgebrArt
Utbildning
Quarked! Baryon Blaster
Utbildning
neural networks for XOR
Utbildning
Base to Base Converter
Utbildning
Drawing with Math
Utbildning