Steiner Tree 4+

Reinhard MAENNER

專為 iPad 設計

    • 免費

螢幕截圖

描述

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.

最新功能

版本 4.3

Minor internal update for newer iOS versions

App 私隱

開發者表明Reinhard MAENNER的私隱慣例或包括下列資料的處理。詳情請參閱開發者的私隱政策

不收集資料

開發者不會從此 App 收集任何資料。

私隱慣例或因使用的功能或年齡等因素而異。進一步了解

更多此開發者的出品

你可能也喜歡

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