- Timestamp:
- 02/21/08 11:45:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/TreeGardener.cs
r2 r23 96 96 internal IOperator CreateRandomTree(int maxTreeSize, int maxTreeHeight, bool balanceTrees) { 97 97 if (balanceTrees) { 98 if (maxTreeHeight == 1 ) {98 if (maxTreeHeight == 1 || maxTreeSize==1) { 99 99 IOperator selectedTerminal = (IOperator)terminals[random.Next(terminals.Count())].Clone(); 100 100 return selectedTerminal;
Note: See TracChangeset
for help on using the changeset viewer.