Fischx / evomorph

Automatically exported from code.google.com/p/evomorph
1 stars 0 forks source link

Generate the morphology tree in a uniform random manner #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The random tree creation function is no good.

Today, the morphology tree is created with a greater probability to deeper
trees.

What we want is a functio that gives equal probability to create deeper or
wider trees.

The function to be fixed is:

morf_node* createRandomMorfAux( int numNodes );

This function must return a random tree with numNodes total number of nodes
in the tree.

Original issue reported on code.google.com by portava...@gmail.com on 3 Sep 2006 at 2:32