Thanks for the suggestion(new the return vector). It worked on that part but led to another access violation on the vector that is being modified within the loop (interseccio) in the function. I remodified the function Tree::isOld a little.
It returns the access violation error on line...
Thanks for the insight. Actually, I have tried the static option and it crashes as well. I will give the "new" operator a shot. Will get back on the thread with the result.
I am doing a tree search generation but I have an issue with the 2 functions below.
The functions are used to determine old nodes on the tree in order to stop further exploration.
Function "isOld" is used to detect if there are already explored nodes with the same state information as the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.