Hi I have a problem in identifying my AI/algorithm methodology
It could be either a Bayesian Network, Depth and Breadth First Search
from Kirupa article
for those of you who data structural masters the following has to translate in to a series of arrays that denote paths in a network
[FONT=Arial]theList ={};[/FONT]
[FONT=Arial]theList.links={}[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial][/FONT]
[FONT=Arial] [/FONT][FONT=Arial]theList.links.Object1 = new Object;[/FONT]
[FONT=Arial]theList.links.Object1.h1={h2:[“duct_1”]}[/FONT]
[FONT=Arial]theList.links.Object1.h2={h1:[“Object3”,“Object2”], h2:[]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object2=new Object;[/FONT]
[FONT=Arial]theList.links.Object2.h1={h1:[“Object3”],h2:[“Object1”]};[/FONT]
[FONT=Arial]theList.links.Object2.h2={h1:[“duct_2”]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object3=new Object;[/FONT]
[FONT=Arial]theList.links.Object3.h1={h2:[“Object1”],h1:[“Object2”]};[/FONT]
[FONT=Arial]theList.links.Object3.h2={h1:[“Object4”,“Object7”],h2:[]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object4=new Object;[/FONT]
[FONT=Arial]theList.links.Object4.h1={h2:[“Object3”],h1:[“Object7”]};[/FONT]
[FONT=Arial]theList.links.Object4.h2={h1:[“Object6”],h2:[“Object5”]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object5=new Object;[/FONT]
[FONT=Arial]theList.links.Object5.h1={h2:[“duct_3”]};[/FONT]
[FONT=Arial]theList.links.Object5.h2={h2:[“Object4”], h1:[“Object6”]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object6=new Object;[/FONT]
[FONT=Arial]theList.links.Object6.h1={h1:[], h2:[“Object4”,“Object5”]}[/FONT]
[FONT=Arial]theList.links.Object6.h2={h1:[“duct_4”]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]theList.links.Object7=new Object;[/FONT]
[FONT=Arial]theList.links.Object7.h1={h2:[“Object3”], h1:[“Object4”]};[/FONT]
[FONT=Arial]theList.links.Object7.h2={h1: [“VAV_1”]};[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial][SIZE=4] [/SIZE][/FONT][FONT=Arial][SIZE=4] [/SIZE][/FONT]
[FONT=Arial][SIZE=4]has to translate to this[/SIZE] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Duct 1 routes[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Arr_1 = [“duct_1”,“Object1”,“Object2”,“duct_2”][/FONT]
[FONT=Arial]Arr_2 = [“duct_1”,“Object1”,“Object3”,“Object4”,“Object6”,“duct_4”][/FONT]
[FONT=Arial]Arr_3 = [“duct_1”,“Object1”,“Object3”,“Object7”,“VAV_1”][/FONT]
[FONT=Arial]Arr_4 = [“duct_1”,“Object1”,“Object3”,“Object4”,“Object5”,“duct_2”][/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Duct 2 routes[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Arr_5 = [“duct_2”,“Object2”,“Object1”,“duct_1”][/FONT]
[FONT=Arial]Arr_6 = [“duct_2”,“Object2”,“Object3”,“Object4”,“Object5”,“duct_3”][/FONT]
[FONT=Arial]Arr_7 = [“duct_2”,“Object2”,“Object3”,“Object7”,“VAV_1”][/FONT]
[FONT=Arial]Arr_8 = [“duct_2”,“Object2”,“Object3”,“Object4”,“Object6”,“duct_4”][/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Duct 3 routes[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Arr_9 = [“duct_3”,“Object5”,“Object6”,“duct_4”][/FONT]
[FONT=Arial]Arr_10 = [“duct_3”,“Object5”,“Object4”,“Object3”,“Object1”,“duct_1”][/FONT]
[FONT=Arial]Arr_11 = [“duct_3”,“Object5”,“Object4”,“Object7”,“VAV_1”][/FONT]
[FONT=Arial]Arr_12 = [“duct_3”,“Object5”,“Object4”,“Object3”,“Object2”,“duct_2”][/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Duct 4 routes[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Arr_13 = [“duct_4”,“Object6”,“Object5”,“duct_3”][/FONT]
[FONT=Arial]Arr_14 = [“duct_4”,“Object6”,“Object4”,“Object3”,“Object1”,“duct_1”][/FONT]
[FONT=Arial]Arr_15 = [“duct_4”,“Object6”,“Object4”,“Object7”,“VAV_1”][/FONT]
[FONT=Arial]Arr_16 = [“duct_4”,“Object6”,“Object4”,“Object3”,“Object2”,“duct_2”][/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]///////////////////////////////////////////////////////////////////////////////////////////////////////////[/FONT]
I have uploaded an FLA showing a diagram of the whole network and an example.jpg relating to the data structures above
Thias example is most defintely AI as it needs to anlayse and log all relations and interrelations between networks and at a laterpoint give feedback
only the best will be able to understand and give help on this
best regards
Nick