Changeset 16231 for branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-pge/problems/treeparams.go
- Timestamp:
- 10/17/18 04:47:09 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-pge/problems/treeparams.go
r16183 r16231 8 8 "strings" 9 9 10 expr "github.com /verdverm/go-symexpr"10 expr "github.com_del/verdverm/go-symexpr" 11 11 ) 12 12 … … 297 297 tp.TmpMinSize, tp.TmpMinDepth = tp.MinSize, tp.MinDepth 298 298 } 299 300 301 func (TP *TreeParams) CreateTreeParams(Roots string, Nodes string, NonTrig string, Leafs string, UsableVars []int, MaxSize int, MinSize int, MaxDepth int, MinDepth int) {302 TP.RootsS = strings.Fields(Roots)303 TP.RootsT, TP.Roots = fillExprStuff(TP.RootsS)304 305 TP.NodesS = strings.Fields(Nodes)306 TP.NodesT, TP.Nodes = fillExprStuff(TP.NodesS)307 308 TP.NonTrigS = strings.Fields(NonTrig)309 TP.NonTrigT, TP.NonTrig = fillExprStuff(TP.NonTrigS)310 311 TP.LeafsS = strings.Fields(Leafs)312 TP.LeafsT, TP.Leafs = fillExprStuff(TP.LeafsS)313 314 TP.UsableVars = UsableVars315 316 TP.MaxSize = MaxSize317 TP.MinSize = MinSize318 TP.MaxDepth = MaxDepth319 TP.MinDepth = MinDepth320 }
Note: See TracChangeset
for help on using the changeset viewer.