Learning about primary resolve tree. Traversing data with child and parent nodes
This commit is contained in:
@@ -188,11 +188,17 @@ func AllObjectsFound():
|
|||||||
|
|
||||||
for n in AllSetsToGoal.size():
|
for n in AllSetsToGoal.size():
|
||||||
var PrimaryPlaceHolder = AllSetsToGoal[n]
|
var PrimaryPlaceHolder = AllSetsToGoal[n]
|
||||||
if n + 1 < AllSetsToGoal.size():
|
if n < AllSetsToGoal.size():
|
||||||
var SearchPlaceHolder = AllSetsToGoal[n + 1]
|
var SearchPlaceHolder = AllSetsToGoal[n]
|
||||||
print("Search Placeholder ",n, " is : ", SearchPlaceHolder )
|
print()
|
||||||
|
print("Search Placeholder ",n)#, " is : ", SearchPlaceHolder )
|
||||||
for i in SearchPlaceHolder:
|
for i in SearchPlaceHolder:
|
||||||
print("The Broken up pieces is: ",i)
|
print("The Broken up pieces is: ",i)
|
||||||
|
for index in AllSetsToGoal.size():
|
||||||
|
if n != index:
|
||||||
|
print("The Index is the ",index, " placeholder: ", AllSetsToGoal[index].find(i))
|
||||||
|
else:
|
||||||
|
print(index," Is the same as the placeholder")
|
||||||
|
|
||||||
|
|
||||||
Move_Check1 = move
|
Move_Check1 = move
|
||||||
|
|||||||
Reference in New Issue
Block a user