#2 nesting error in matlab R2006a!!

open
nobody
None
5
2006-11-09
2006-11-09
Anonymous
No

<bebork-at-gmail.com> '-at-' = @.
(matlab 7.2.0.232 - R2006a)

While running GPLAB demo (demo command) I received
this error:

----------------------------------------------------
??? Error: Nesting of {, [, and ( cannot exceed a
depth of 32.

Error in ==> regfitness at 40
res=eval(outstr);

Error in ==> calcfitness at 47

[fitness,resultind]=feval(params.calcfitness,ind,tree,params,data,state.terminals,state.varsvals);

Error in ==> dynnodes at 41

[ind.fitness,ind.result,state]=calcfitness(ind.str,ind.tree,params,data,state);

Error in ==> validateinds at 36

[indchecked,state]=feval(params.filters{f},indtocheck,pop,params,state,data,parentindices);

Error in ==> applyoperator at 66

[validinds,state]=validateinds(newinds,pop,params,state,data,parentindices,opnum);

Error in ==> generation at 63

[tmppop,newsize,parentspool,state]=applyoperator(pop,params,state,data,tmppop,currentsize,opnum,parentspool);

Error in ==> gplab at 144

[vars.pop,vars.state]=generation(vars.pop,vars.params,vars.state,vars.data,vars.params.gengap);

Error in ==> demo at 39
[v,b]=gplab(25,50,p);
-----------------------------------------------------

this means that the algorithm generated by GPLAB is
limited in nesting to this 32 levels. how can I avoid
this error?
it is quite problematic because it is totally
unpredictable!
any hints?

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks