How to index a recursion loops in java -


my code has recursive method (generating_circles) generates 3 circles randomly (c1, c2, c3), each circle represented 3 parameters p1, p2, p3, circles tested 1 one according specific condition, let me say, if circle c1 didn't satisfy condition test, method (generating_circles) called again generate new 3 circles (c4, c5, c5) inside circle c1, , same procedure carried on new 3 circles , on more circles generated recursively until condition satisfied, moving work second original circle c2 , on.

my problem can't retrieve proper indexes of nested circles , parameters related each circle.

so thankful if gives me idea of how index circles , parameters future work.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -